Following are independent instructions. The initial contents of the registers and selected memory locations are specified below in hexadecimal representation. Determine final contents of the registers and memory locations in hexadecimal representation You must show your work for each instruction below for full credit. (a) CMP.W (A2)+, D7 (b) BSET.B (c) ASR.W (d) ROXR.W #4, D5 (assume initial {X=1}) D1, -(AS) D2, D6

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...
icon
Related questions
Question

Use MC68000 (MC68K) Programming language 

 

Following are independent instructions. The initial contents of the registers and selected
memory locations are specified below in hexadecimal representation.
Determine final contents of the registers and memory locations in hexadecimal representation.
You must show your work for each instruction below for full credit.
(a) CMP.W (A2)+, D7
(b) BSET.B D1, -(A5)
(c) ASR.W
(d) ROXR.W #4, DS (assume initial {X=1})
D2, D6
Register
current
new
Register
current
new
DO
$4452
AO
$8002
D1
$0006
A1
$800F
$0003
$800A
D2
A2
D3
$0005
АЗ
$8004
D4
$A6AA
A4
$8010
D5
$8422
A5
$800E
D6
$A124
A6
$8002
D7
$1FD2
A7
$8000
Memory
current
Status Register (CCR)
new
$8000
$A832
V
$8002
$B302
(a)
$8004
$C020
(b)
$8006
$800A
(c)
$8008
$0002
(d)
$800A
$1CDE
$800C
$FFFE
$800E
$1529
Transcribed Image Text:Following are independent instructions. The initial contents of the registers and selected memory locations are specified below in hexadecimal representation. Determine final contents of the registers and memory locations in hexadecimal representation. You must show your work for each instruction below for full credit. (a) CMP.W (A2)+, D7 (b) BSET.B D1, -(A5) (c) ASR.W (d) ROXR.W #4, DS (assume initial {X=1}) D2, D6 Register current new Register current new DO $4452 AO $8002 D1 $0006 A1 $800F $0003 $800A D2 A2 D3 $0005 АЗ $8004 D4 $A6AA A4 $8010 D5 $8422 A5 $800E D6 $A124 A6 $8002 D7 $1FD2 A7 $8000 Memory current Status Register (CCR) new $8000 $A832 V $8002 $B302 (a) $8004 $C020 (b) $8006 $800A (c) $8008 $0002 (d) $800A $1CDE $800C $FFFE $800E $1529
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
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…
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)
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
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY