HW1-3750 - + 7] points = 4022. For each instruction below,...

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

View Full Document Right Arrow Icon
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
Background image of page 1
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

This note was uploaded on 01/25/2012 for the course EE 3750 taught by Professor Desouza during the Fall '08 term at LSU.

Ask a homework question - tutors are online