Advanced Microprocessors and Lab – Week 2 Lab 1
Addressing Modes & Data Movement Instructions
Determine the solution to problem 31, pg.
10
9.
Write the sequence of instructions for problem 49, pg. 155.
Include the solution and instructions of 1 and 2 in a Word document entitled “Lab2_StudentID,” where your student id is substituted in the file name.
Upload file “Lab2_StudentID”.
Lab Template
– This lab template should be used for your lab reports.
Grading Criteria |
Points |
All problems or questions attempted |
30 |
Final solutions clearly indicated |
|
Correct numerical solution |
50 |
Correct units |
|
Total |
100 |
31. Suppose that DS = 1200H, BX = 0100H, and SI = 0250H. Determine the address accessed
by each of the following instructions, assuming real mode operation:
(a) MOV [100H],DL
(b) MOV [SI+100H],EAX
(c) MOV DL,[BX+100H]
49. Develop a sequence of instructions that exchanges the contents of AX with BX, ECX with
EDX, and SI with DI.