HW1-3750

HW1-3750 - (c) add 1776H to AX (d) add DX to the contents...

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., February 11, 2004 1. (a) Let the effective address of variable BLUE be 1A0FH and let DS = 8725H. What is the corresponding physical address? (b) Let the physical address of variable GREEN be 480CH and let DS = 308H. What is the corresponding effective address of GREEN? 2. Explain the sequence of operations performed by the 8086 while executing the instruction ADD [SI], CL. (Be sure to include the generation of effective and physical memory addresses and what happens to both the source and destination operands.) 3. Specify an 8086 assembly language instruction for each of the following tasks: (a) add 8086 to SI (b) add DL to the contents of the byte in memory pointed to by the sum of BX and DI
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (c) add 1776H to AX (d) add DX to the contents of the word in memory pointed to by the sum of BP, SI, and 48 4. All integers in this problem are written in hexadecimal. Let AX = 2AA0, BX = 0CC91, CX = 33E, DI = 9B07, SI = 560, CS = 4002, DS = 850, SS = 9876, and the contents of the word in memory to which [SI+276] points = 4EB7. 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. 883 for formats). ADD [SI+276H], BL ADD CX, 45H...
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