7. Using the following list file, verify the forward and backward jumps address calculation. Line PC Орсode Label Instruction 01 0000 0000 ORG 0000 02 7800 MOV RO, #0 MOV A, #55H JZ 03 0002 7455 04 0004 6003 NEXT 05 0006 08 INC RO AGAIN: INC A 06 0007 04 07 0008 04 INC A 08 0009 000B 5005 2477 ΝΕXT: ADD A, #77H g JNC OVER CLR A MOV RO, A MOV R1, A MOV R2, A MOV R3, A ADD A, R3 JNC AGAIN SJMP HERE 09 10 000D E4 11 000E F8 12 000F F9 0010 FA 14 0011 FB 15 0012 2B 13 OVER: 16 0013 50F2 17 0015 80FE HERE: 18 0017 END

Systems Architecture
7th Edition
ISBN:9781305080195
Author:Stephen D. Burd
Publisher:Stephen D. Burd
Chapter8: Data And Network Communication Technology
Section: Chapter Questions
Problem 41VE
icon
Related questions
Question
How to do ? Really need help urgent
7. Using the following list file, verify the forward and backward jumps address
calculation.
Line
PC
Орсode
Label
Instruction
01
0000
ORG 0000
02
0000
7800
MOV RO, #0
MOV A, #55H
03
0002
0004
7455
04
6003
JZ
NEXT
05
0006
08
INC
AGAIN: INC A
RO
06
0007
04
07
0008
04
INC A
El
0009
000B 5005
2477
ΝΕXT :
ADD A, #77H
nog JNC OVER
nCLR A
MOV RO, A
MOV R1, A
HMOV R2, A
MOV R3, A
ADD A, R3
JNC
SJMP HERE
08
09
l10
000D E4
11
to 0E F8
12
000F F9
13
0010
FA
14
0011 FB
boe
15
0012 2B
OVER:
16 0013
50F2
AGAIN
17
0015
80FE
HERE:
18
0017
END
8. Write a code fragment to send 60H to the accumulator and Port 0 using:
(a) Their names. ngi l oma ADA b LA
(b) Their addresses.
A lA aiol O2lo onurom wolle oO
9. Write a code fragment to copy 60H into RAM memory locations 35H to 38H
using:
(a) Direct addressing mode.
(b) Register indirect addressing mode without a loop. an
(c) Register indirect addressing mode with a loop.
OM
10. Examine the following codes for addition of signed numbers and analyze the
results:
(а)
TALI
MOV A, #+96
MOV R1, #+70
ADD A, R1
MOV A, #-128
HAJUM
(b)
mA MOV RI, #-2
ADD A, RI
MOV A, #-2
MOV R1, #6
ADD A, RI
(c)
11. Modify the contents of register A from 75H to 57H using:
(a) Swap instruction.
(b) Rotate instruction.
13%
Transcribed Image Text:7. Using the following list file, verify the forward and backward jumps address calculation. Line PC Орсode Label Instruction 01 0000 ORG 0000 02 0000 7800 MOV RO, #0 MOV A, #55H 03 0002 0004 7455 04 6003 JZ NEXT 05 0006 08 INC AGAIN: INC A RO 06 0007 04 07 0008 04 INC A El 0009 000B 5005 2477 ΝΕXT : ADD A, #77H nog JNC OVER nCLR A MOV RO, A MOV R1, A HMOV R2, A MOV R3, A ADD A, R3 JNC SJMP HERE 08 09 l10 000D E4 11 to 0E F8 12 000F F9 13 0010 FA 14 0011 FB boe 15 0012 2B OVER: 16 0013 50F2 AGAIN 17 0015 80FE HERE: 18 0017 END 8. Write a code fragment to send 60H to the accumulator and Port 0 using: (a) Their names. ngi l oma ADA b LA (b) Their addresses. A lA aiol O2lo onurom wolle oO 9. Write a code fragment to copy 60H into RAM memory locations 35H to 38H using: (a) Direct addressing mode. (b) Register indirect addressing mode without a loop. an (c) Register indirect addressing mode with a loop. OM 10. Examine the following codes for addition of signed numbers and analyze the results: (а) TALI MOV A, #+96 MOV R1, #+70 ADD A, R1 MOV A, #-128 HAJUM (b) mA MOV RI, #-2 ADD A, RI MOV A, #-2 MOV R1, #6 ADD A, RI (c) 11. Modify the contents of register A from 75H to 57H using: (a) Swap instruction. (b) Rotate instruction. 13%
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Troubleshooting
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