HW1-3750

# HW1-3750 - 7 points = 4022 For each instruction below(a...

This preview shows page 1. Sign up to view the full content.

EE 3750 — Homework 1 due Wed., September 18, 2002 1. (a) Let the effective address of variable YELLOW be 31DEH and let DS = 2002H. What is the corresponding physical address? (b) Let the effective address of variable BLACK be 14C3H and let its physical address be 796D3H. What is the corresponding contents of segment register DS? 2. All integers in this problem are written in hexadecimal. Let AX denote the contents of register AX. Let AX = 19C3, BX = 2B11, CX = 3EE0, DI = 1988, SI = 330, CS = 500, DS =9FF0, SS = 9876, and the contents of the word in memory to which [BX][SI
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: + 7] points = 4022. For each instruction below, (a) indicate the addressing modes of the destination and source operands, (b) indicate the destination operand and its contents, (c) give the flag settings for CF, PF, AF, ZF, SF, and OF after performing the addition, (d) write the machine code, and (e) derive the number of clock cycles to perform each instruction. ADD BH, 46H ADD DI, [BX][SI+7] 3. The sequence of bytes below is the machine code for an 8086 instruction involving an ADD operation. Write the corresponding assembly language instruction. 00000011 01111100 01010011...
View Full Document

• Fall '08
• DeSouza
• Machine code, effective address, corresponding physical address, segment register DS, corresponding assembly language

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern