MOD-11 EFFECTIVE ADDRESS CALCULATION R/M W=0 W=1 R/M MOD- 00 MOD-01 MOD= 10 00 001 010 011 100 101 AL CL DL BL AH CH DH BH AX 000 (BX) + (SI) (BX) + (SI) + D8 (BX) + (DI) + D8 (BP) + (SI) + D8 (BP) + (DI) + D8 (SI) + D8 (DI) + D8 (BP) + D8 (BX) + D8 (BX) + (SI) + D16 (BX) + (DI) + D16 (BP) + (SI) + D16 (BP) + (DI) + D16 (SI) + D16 001 010 (BP) + (SI) CX DX BX SP BP SI DI (BX) + (DI) 011 100 101 110 (BP) + (DI) (S) (DI) DIRECT ADDRESS (BX) (DI) + D16 (BP) + D16 (BX) + D16 110 111 111 Figure: R/M vs MOD Chart for MOV: 100010 instruction REGISTER SELECT (SEE FIGURE 3-7) BYTE 1 ΒΥTE 3 BYTE 4 1000 1O ОР СODE LOW DISPLACEMENT HIGH DISPLACEMENT DW MOD REG R/M OR DIRECT ADDRESS LOW BYTE DIREST ADDRESS HIGH BYTE (5 BITS) ADDRESSING MODE (SEE FIGURE 3.8) BYTEWORD DATA OBYTE 1 WORD DIRECTION TOFROM REG 0- FROM 1- TO OPERATION CODE Figure: MOV: 100010 instruction template Based on the above templates, answer the following Questions: 1) a) Convert 89806910h from machine language to its corresponding assembly language. Show all of your workings. 1) b) Suppose the instruction MOV DI,[BP+42], appears in a program. What is its machine language equivalent in octal format? Show all of your workings. '
MOD-11 EFFECTIVE ADDRESS CALCULATION R/M W=0 W=1 R/M MOD- 00 MOD-01 MOD= 10 00 001 010 011 100 101 AL CL DL BL AH CH DH BH AX 000 (BX) + (SI) (BX) + (SI) + D8 (BX) + (DI) + D8 (BP) + (SI) + D8 (BP) + (DI) + D8 (SI) + D8 (DI) + D8 (BP) + D8 (BX) + D8 (BX) + (SI) + D16 (BX) + (DI) + D16 (BP) + (SI) + D16 (BP) + (DI) + D16 (SI) + D16 001 010 (BP) + (SI) CX DX BX SP BP SI DI (BX) + (DI) 011 100 101 110 (BP) + (DI) (S) (DI) DIRECT ADDRESS (BX) (DI) + D16 (BP) + D16 (BX) + D16 110 111 111 Figure: R/M vs MOD Chart for MOV: 100010 instruction REGISTER SELECT (SEE FIGURE 3-7) BYTE 1 ΒΥTE 3 BYTE 4 1000 1O ОР СODE LOW DISPLACEMENT HIGH DISPLACEMENT DW MOD REG R/M OR DIRECT ADDRESS LOW BYTE DIREST ADDRESS HIGH BYTE (5 BITS) ADDRESSING MODE (SEE FIGURE 3.8) BYTEWORD DATA OBYTE 1 WORD DIRECTION TOFROM REG 0- FROM 1- TO OPERATION CODE Figure: MOV: 100010 instruction template Based on the above templates, answer the following Questions: 1) a) Convert 89806910h from machine language to its corresponding assembly language. Show all of your workings. 1) b) Suppose the instruction MOV DI,[BP+42], appears in a program. What is its machine language equivalent in octal format? Show all of your workings. '
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
1
![MOD= 11
EFFECTIVE ADDRESS CALCULATION
R/M
W=0
W=1
R/M
MOD = 00
MOD =01
MOD = 10
000
001
010
AL
CL
DL
BL
AX
CX
(BX) + (SI)
(BX) + (DI)
(BP) + (SI)
(BP) +(DI)
(SI)
(DI)
DIRECT ADDRESS
(BX)
000
(BX) + (SI) + D8
(BX) + (DI) + D8
(BP) + (SI) + D8
(BP) + (DI) + D8
(SI) + D8
(DI) + D8
(BP) + D8
(BX) + D8
(BX) + (SI) + D16
(BX) + (DI) + D16
(BP) + (SI) + D16
(BP) + (DI) + D16
(SI) + D16
(DI) + D16
(BP) + D16
(BX) + D16
001
DX
010
011
BX
SP
BP
011
100
101
AH
100
CH
DH
101
110
SI
DI
110
111
BH
111
Figure: R/M vs MOD Chart for MOV:
100010 instruction
REGISTER SELECT (SEE FIGURE 3-7)
ΒΥΤE 1
ΒΥΤE 3
ΒΥΤE 4
100 0 10
LOW DISPLACEMENT HIGH DISPLACEMENT
OP CODE
DW MOD REG
R/M
OR
DIRECT ADDRESS
LOW BYTE
DIREST ADDRESS
HIGH BYTE
(5 BITS) ADDRESSING MODE (SEE FIGURE 3.8)
BYTEWORD DATA O- BYTE 1 WORD
-DIRECTION TOIFROM REG 0- FROM 1- TO
OPERATION CODE
Figure: MOV: 100010 instruction template
Based on the above templates, answer the
following Questions:
1) a) Convert 89806910h from machine language
to its corresponding assembly language. Show
all of your workings.
1) b) Suppose the instruction MOV DI,[BP+42],
appears in a program. What is its machine
language equivalent in octal format? Show all of
your workings.'](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F5b2bb1ed-de34-48f7-bb59-dbfb15155a2e%2F6d6be79f-904d-4ea1-ba97-2f3be3b1c594%2Femg8v4_processed.jpeg&w=3840&q=75)
Transcribed Image Text:MOD= 11
EFFECTIVE ADDRESS CALCULATION
R/M
W=0
W=1
R/M
MOD = 00
MOD =01
MOD = 10
000
001
010
AL
CL
DL
BL
AX
CX
(BX) + (SI)
(BX) + (DI)
(BP) + (SI)
(BP) +(DI)
(SI)
(DI)
DIRECT ADDRESS
(BX)
000
(BX) + (SI) + D8
(BX) + (DI) + D8
(BP) + (SI) + D8
(BP) + (DI) + D8
(SI) + D8
(DI) + D8
(BP) + D8
(BX) + D8
(BX) + (SI) + D16
(BX) + (DI) + D16
(BP) + (SI) + D16
(BP) + (DI) + D16
(SI) + D16
(DI) + D16
(BP) + D16
(BX) + D16
001
DX
010
011
BX
SP
BP
011
100
101
AH
100
CH
DH
101
110
SI
DI
110
111
BH
111
Figure: R/M vs MOD Chart for MOV:
100010 instruction
REGISTER SELECT (SEE FIGURE 3-7)
ΒΥΤE 1
ΒΥΤE 3
ΒΥΤE 4
100 0 10
LOW DISPLACEMENT HIGH DISPLACEMENT
OP CODE
DW MOD REG
R/M
OR
DIRECT ADDRESS
LOW BYTE
DIREST ADDRESS
HIGH BYTE
(5 BITS) ADDRESSING MODE (SEE FIGURE 3.8)
BYTEWORD DATA O- BYTE 1 WORD
-DIRECTION TOIFROM REG 0- FROM 1- TO
OPERATION CODE
Figure: MOV: 100010 instruction template
Based on the above templates, answer the
following Questions:
1) a) Convert 89806910h from machine language
to its corresponding assembly language. Show
all of your workings.
1) b) Suppose the instruction MOV DI,[BP+42],
appears in a program. What is its machine
language equivalent in octal format? Show all of
your workings.'
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY