R/M 000 001 010 011 100 101 110 111 MOD = 11 W=0 AL CL DL BL AH CH DH BH W = 1 AX CX DX BX SP BP SI DI R/M EFFECTIVE ADDRESS CALCULATION MOD=00 000 (BX) + (SI) 001 (BX) + (DI) 010 011 100 101 110 DIRECT ADDRESS 111 (BX) (BP)+(SI) (BP) + (DI) (SI) (DI) MOD=01 (BX) + (SI) + D8 (BX) + (DI) + D8 (BP) + (SI) + D8 (BP)+ (DI) + D8 (SI) + D8 (DI) + D8 (BP) + D8 (BX) + D8 MOD=10 (BX) + (SI) + D16 (BX) + (DI) + D16 (BP) + (SI) + D16 (BP)+(DI)+D16 (SI) + D16 (DI) + D16 (BP) + D16 (BX) + D16

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

a) Convert 89806910h from machine language to its corresponding assembly language.
Show all of your workings. 

8.
R/M
000
001
010
011
100
101
110
111
Use the following charts to answer the questions (a) and (b)
MOD = 11
W=0
AL
CL
DL
BL
AH
CH
DH
BH
W=1
AX
CX
DX
BYTE 1
1000 10
OP CODE
BX
SP
BP
SI
DI
R/M
000
001
010
(BX) + (SI)
(BX) + (DI)
(BP) + (SI)
(BP) + (DI)
(SI)
101 (DI)
110 DIRECT ADDRESS
111 (BX)
EFFECTIVE ADDRESS CALCULATION
MOD=00
011
100
MOD=01
DW MOD REG R/M
(BX) + (SI) + D8
(BX) + (DI) + D8
(BP) + (SI) + D8
(BP)+(DI) + D8
(SI) + D8
(DI) + D8
(BP) + D8
(BX) + D8
Figure: R/M vs MOD Chart for MOV: 100010 instruction
11
OR
REGISTER SELECT (SEE FIGURE 3-7)
BYTE 3
LOW DISPLACEMENT HIGH DISPLACEMENT
DIRECT ADDRESS !
LOW BYTE
MOD=10
(BX) + (SI) + D16
(BX) + (DI) + D16
(BP) + (SI) + D16
(BP) + (DI) + D16
(SI) + D16
(DI) + D16
(BP) + D16
(BX) + D16
Figure: MOV: 100010 instruction template
BYTE 4
DIREST ADDRESS
HIGH BYTE
(5 BITS) ADDRESSING MODE (SEE FIGURE 3.8)
-BYTEWORD DATA 0 BYTE 1 = WORD
- DIRECTION TO/FROM REG 0= FROM 1 - TO
-OPERATION CODE
Transcribed Image Text:8. R/M 000 001 010 011 100 101 110 111 Use the following charts to answer the questions (a) and (b) MOD = 11 W=0 AL CL DL BL AH CH DH BH W=1 AX CX DX BYTE 1 1000 10 OP CODE BX SP BP SI DI R/M 000 001 010 (BX) + (SI) (BX) + (DI) (BP) + (SI) (BP) + (DI) (SI) 101 (DI) 110 DIRECT ADDRESS 111 (BX) EFFECTIVE ADDRESS CALCULATION MOD=00 011 100 MOD=01 DW MOD REG R/M (BX) + (SI) + D8 (BX) + (DI) + D8 (BP) + (SI) + D8 (BP)+(DI) + D8 (SI) + D8 (DI) + D8 (BP) + D8 (BX) + D8 Figure: R/M vs MOD Chart for MOV: 100010 instruction 11 OR REGISTER SELECT (SEE FIGURE 3-7) BYTE 3 LOW DISPLACEMENT HIGH DISPLACEMENT DIRECT ADDRESS ! LOW BYTE MOD=10 (BX) + (SI) + D16 (BX) + (DI) + D16 (BP) + (SI) + D16 (BP) + (DI) + D16 (SI) + D16 (DI) + D16 (BP) + D16 (BX) + D16 Figure: MOV: 100010 instruction template BYTE 4 DIREST ADDRESS HIGH BYTE (5 BITS) ADDRESSING MODE (SEE FIGURE 3.8) -BYTEWORD DATA 0 BYTE 1 = WORD - DIRECTION TO/FROM REG 0= FROM 1 - TO -OPERATION CODE
Expert Solution
Step 1

ANSWER:

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Fundamentals of Computer System
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.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education