Docsity

8086 Architecture Exercise for CpE-310, Study notes of Microprocessors

Toggle sidebar
bg1
Name: __________________
Exercise # 3 8086 Architecture + Software CpE-310
(will not be graded as a quiz, but will be used to determine attendance)
Q1 – Complete the following architecture, use the following items : an ALU, an execution unit control, a flag
register, an adder a bus control logic, and two temporary registers. Name all registers; indicate the size of all
buses.
pf2

Partial preview of the text

Download 8086 Architecture Exercise for CpE-310 and more Study notes Microprocessors in PDF only on Docsity!

Name: __________________

Exercise # 3 8086 Architecture + Software CpE-

(will not be graded as a quiz, but will be used to determine attendance)

Q1 – Complete the following architecture, use the following items : an ALU, an execution unit control, a flag register, an adder a bus control logic, and two temporary registers. Name all registers; indicate the size of all buses.

Q2 – Assume that 8086 registers are loaded with the following values. Go through each instruction in the following list and show what effective “address” or “addresses” will be used (if any) by the CPU for executing the instruction. Also update memory or register content if needed. MOV CX, [2004H] MOV [2004H], CH MOV CX, 2004H ADD AX, [SI-8] ADD AX, SI MOV [BP+3H], DL SUB DH, [BX + 3H] ADD ES:[DI], AL MOV [BP][DI], AX address content 12000 00 12001 00 12002 11 12003 22 12004 33 12005 44 12006 55 12007 66 12008 77 12009 AA 1200A A 1200B A 1200C 12 1200D 03 1200E 01 1200F 10 12010 20 address content …. E E E E E

AX 23 55

BX 00 02

CX 11 3C

DX 00 22

SI 00 10

DI 00 02

BP 00 10

SP 00 16

DS 10 00

CS 20 00

ES 10 01

SS E0 00

(all hex numbers)