{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

HW1-3750

# HW1-3750 - copy CL into DH(b copy DS into AX(c move 4EEEH...

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

EE 3750 — Homework 1 due Wed., February 8, 2006 1. (a) Let the effective address of variable RED be 25CEH and let DS = 6A42H. What is the corresponding physical address of RED, assuming real mode operation? (b) Let the physical address of variable GREEN be 45678H and let DS = 4203H. What is the corresponding effective address of GREEN, assuming real mode operation? 2. Explain the sequence of operations performed by the 8086 while executing the instruction ADD DL, [BX-10] . (Be sure to include generation of effective and physical memory address and what happens to both the source and destination operands.) 3. Specify an 8086 assembly language instruction for each of the following tasks: (a)
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: copy CL into DH (b) copy DS into AX (c) move 4EEEH into SI (d) copy the contents of the word in memory pointed to by SI into BX 4. All integers in this problem are written in hexadecimal. Let AX = 19C3, BX = 2B01, CX = 7EE0, DI = 1888, SI = 330, CS = 500, DS = 9FF0, SS = 9876, and the contents of the word in memory to which [SI+770H] points = F809. For each instruction below, (a) identify the addressing modes of both operands, (b) indicate the contents of the destination operand after the addition, (c) give the flag settings for CF, PF, AF, ZF, SF, and OF after the addition, and (d) write the machine code (see Brey, p. 782 for formats). ADD CH, 14H ADD [SI+770H], AX...
View Full Document

{[ snackBarMessage ]}