[2] Each of the following lines of code generates an error message when we invoke the assembler. Explain what is wrong with each line. [ espl, 4[ esp],[ eax] sh , ah 2 mov ax 3 mov 4 mov 5 mov Ох123, еах eax 6 mov dx, eax 7 mov 8[ ebp], si

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter12: Secondary Storage Management
Section: Chapter Questions
Problem 6RQ
icon
Related questions
Topic Video
Question
[1] complete table
Operand
Value
Address
Value
Ox 100
sOx104
Ox 108
ОxFF
eax
ОХАВ
[Ox104]
Ox13
Ох108
Ох10C
Ох11
[eax ]
Register
Value
4 [eax ]
%eax
Ox100
9 [%eax,%edx]
%ecx
Ox1
260 [%ecx,%edx]
%edx
Ох3
ОxFC [,%eсx, 4)
2
Dr. Ahmed EIShafee, NU : Spring 2018, Introduction To Computer Systems
www
Transcribed Image Text:[1] complete table Operand Value Address Value Ox 100 sOx104 Ox 108 ОxFF eax ОХАВ [Ox104] Ox13 Ох108 Ох10C Ох11 [eax ] Register Value 4 [eax ] %eax Ox100 9 [%eax,%edx] %ecx Ox1 260 [%ecx,%edx] %edx Ох3 ОxFC [,%eсx, 4) 2 Dr. Ahmed EIShafee, NU : Spring 2018, Introduction To Computer Systems www
[2] Each of the following lines of code generates an error
message when we invoke the assembler. Explain what is wrong
with each line.
I esp] , ax
4[ espl, [ eax]
sh , ah
Ox123,
2 mov
3 mov
4 mov
5 mov
eax
6 mov
dx,
eax
7 mov
81 ebp], si
3
Dr. Ahmed EIShafee, NU: Spring 2018,Introduction To Computer Systems
www
Transcribed Image Text:[2] Each of the following lines of code generates an error message when we invoke the assembler. Explain what is wrong with each line. I esp] , ax 4[ espl, [ eax] sh , ah Ox123, 2 mov 3 mov 4 mov 5 mov eax 6 mov dx, eax 7 mov 81 ebp], si 3 Dr. Ahmed EIShafee, NU: Spring 2018,Introduction To Computer Systems www
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Instruction Format
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning