
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Exercise 5 Material Type: Notes; Class: Microprocessor Systems; Subject: Computer Engineering; University: West Virginia University; Term: Spring 2015;
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Q1 – 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. Step 1: convert your student ID to HEX, copy that to memory, starting from location 12000H. Make sure to follow byte swapping rules, the lowest byte goes first (example, ID = 70000000000 => 104C533C Step2 : execute the following program ADD BYTE PTR [SI], FFH ADD WORD PTR [SI], FFH ADD AX, [2002H] SUB BX,[2002H] MOV AX, 3401H MOV BL, 04H MUL BL address content 12000 00 12001 3C 12002 53 12003 4C 12004 10 12005 44 12006 55 12007 66 12008 77 12009 AA 1200A A 1200B A 1200C 12 1200D 03 1200E 00 1200F 01 12010 10 address content …. E E E E E E E
(all hex numbers)