MVI c, 0fh MVI a, 0ch lxi h,0074h loop: cmp c jz time mov m,c inx h dcr c jmp loop time:mvi c,0fh lxi h,2802h loop1: cmp c jz time1 mov m,c inx h dcr c jmp loop1 time: hlt

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

MVI c, 0fh
MVI a, 0ch
lxi h,0074h
loop: cmp c
jz time
mov m,c
inx h
dcr c
jmp loop
time:mvi c,0fh
lxi h,2802h
loop1: cmp c
jz time1
mov m,c
inx h
dcr c
jmp loop1
time: hlt

 

Sim8085
Help
About
GitHub
Load at Ox0800
Registers 3
Memory View
Ox
Address
A/PSW
Ох 00 13
main.asm
0 1
3
4
5
6
7
8
9
A
B
E
F
BC
Ох 00 00
1 MVI c, ofh
060 00 00 00
00
00
00
00
00
00
00
00
00
00
00
00
00
2 MVI a, øch
061
00
00 00 00
00
00
00
00
00
00
00
00
00
00
00
00
DE
Ох 00 00
3 lxi h,0074h
062 00
00 00
00
00
00
00
00
00
00
00
00
00
00
00
00
4 loop: cmp c
5 jz time
HL
Ох 00 00
063
00 00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
6 mov m, c
064
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
SP
Ох 0000
7 inx h
8 dcr c
How solution this error
00 00 00
065 00
00
00
00
00
00
00
00
00
00
00
00
00
PC
Ох 00 00
9 jmp loop
10 time:mvi c,0fh
after correct is same
00 00 00 00
066 00 00
00
00
00
00
00
00
00
00
00
00
output in another picture
00 00 00
00 00 00
067
00
00
00
00
00
00
00
00
00
00
11 lxi h,2802h
068 00
00 00
00
00
00
00
00
00
00
00
00
00
00
00
00
Flags s
12 10оp1: стр с
13 jz timel
069
00 00 00
00
00
00
00
00
00
00
00
00
00
00
00
00
O Label timel is not defined. Also check the label definition, there
06A 00 00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
may be some issues on that line.
14 mov m, c
06B 00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
00
15 inx h
06C 00
00
00
00
00
00 00 00 00
00
00
00
00
00
00
00
16 dcr c
17 jmp loop1
00 00 00 00
06D 00 00
00
00
00
00
00
00
00
00
00
00
18 time: hlt
00 00 00
06E 00
00
00
00
00
00
00
00
00
00
00
00
00
06F 00 00
00
00
00
00
00
00
00
00
00
00
00
AC
Start Address at: 0x|0
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 88 8 8 8 8 8 8 8
o 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
m 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 : 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
• 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
» 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
* 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8
8 8 8 8 8 8 8 8 8 8 8 8 8 8
O O
Transcribed Image Text:Sim8085 Help About GitHub Load at Ox0800 Registers 3 Memory View Ox Address A/PSW Ох 00 13 main.asm 0 1 3 4 5 6 7 8 9 A B E F BC Ох 00 00 1 MVI c, ofh 060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2 MVI a, øch 061 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 DE Ох 00 00 3 lxi h,0074h 062 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 4 loop: cmp c 5 jz time HL Ох 00 00 063 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6 mov m, c 064 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 SP Ох 0000 7 inx h 8 dcr c How solution this error 00 00 00 065 00 00 00 00 00 00 00 00 00 00 00 00 00 PC Ох 00 00 9 jmp loop 10 time:mvi c,0fh after correct is same 00 00 00 00 066 00 00 00 00 00 00 00 00 00 00 00 00 output in another picture 00 00 00 00 00 00 067 00 00 00 00 00 00 00 00 00 00 11 lxi h,2802h 068 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Flags s 12 10оp1: стр с 13 jz timel 069 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 O Label timel is not defined. Also check the label definition, there 06A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 may be some issues on that line. 14 mov m, c 06B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 inx h 06C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 dcr c 17 jmp loop1 00 00 00 00 06D 00 00 00 00 00 00 00 00 00 00 00 00 18 time: hlt 00 00 00 06E 00 00 00 00 00 00 00 00 00 00 00 00 00 06F 00 00 00 00 00 00 00 00 00 00 00 00 00 AC Start Address at: 0x|0 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 88 8 8 8 8 8 8 8 o 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 m 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 : 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 • 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 » 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 * 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 O O
. Sim8085
Help
About
GitHub
Load at Ox0800
Memory
View
Registers
A/PSW Ox 0C 13
main.asm
Ox
2800
1 mvi c,0fh
2 mvi a,0ch
3 lxi h,2800h
4 loop: cmp c
5 jz time
вс
Ox 00 OE
0 1 2 3 4 5 6 7 8 9 A B C DE
DE
Ох 0000
280 OF OE OF 00 00
00 00 00 00 00 00 00 00 00
00
281 00 00 00 00 00 00 00 00 00 00 00
00
00
00
HL
Ox 28 03
6 mov m,c
00 00 00 00 00 00 00 00 00 00 00 00 00
SP
Ox FF FF
7 inx h
283 00 00 00 00 00 00 00 00 00 00 O0
00
00
8 dcr c
Ox 08 00
9 jmp loop
284 00 00 00 00 00 00 00 00 00 00 00
00 00
PC
10 time:mvi c,0fh
11 lxi h,2802h
12 loop1: cmp c
13 jz time1
14 mov m,c
285 00 00 00 00 00 00 00 00 00 00 00
00
00
286 00 00 00 00 00 00 00 00 00 00 00
00
00
Flags
00 00 00 00 00 00 00 00 00 00 00 00
287 00
00
00
288
00 00 00 00 00
00 00
00 00
00 00 00
00
00 00
15 inx h
289 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00
16 dcr c
S
28A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
17 jmp loop1
18 timel: hlt
28B 00 00 00 00 00 00 00 00 00 00 00 00 00
00
00
P
28C 00 00 00 00 00 00 00 00 00 00 00
00
00 00
28D 00 00 00
00 00
00 00 00 00 00 00
00
00
00
00
28E 00 00 00
0 00
00
00 00
00
00
00
00
00
00
00
00
AC
O O O
N
Transcribed Image Text:. Sim8085 Help About GitHub Load at Ox0800 Memory View Registers A/PSW Ox 0C 13 main.asm Ox 2800 1 mvi c,0fh 2 mvi a,0ch 3 lxi h,2800h 4 loop: cmp c 5 jz time вс Ox 00 OE 0 1 2 3 4 5 6 7 8 9 A B C DE DE Ох 0000 280 OF OE OF 00 00 00 00 00 00 00 00 00 00 00 00 281 00 00 00 00 00 00 00 00 00 00 00 00 00 00 HL Ox 28 03 6 mov m,c 00 00 00 00 00 00 00 00 00 00 00 00 00 SP Ox FF FF 7 inx h 283 00 00 00 00 00 00 00 00 00 00 O0 00 00 8 dcr c Ox 08 00 9 jmp loop 284 00 00 00 00 00 00 00 00 00 00 00 00 00 PC 10 time:mvi c,0fh 11 lxi h,2802h 12 loop1: cmp c 13 jz time1 14 mov m,c 285 00 00 00 00 00 00 00 00 00 00 00 00 00 286 00 00 00 00 00 00 00 00 00 00 00 00 00 Flags 00 00 00 00 00 00 00 00 00 00 00 00 287 00 00 00 288 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 15 inx h 289 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 16 dcr c S 28A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 17 jmp loop1 18 timel: hlt 28B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 P 28C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28D 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 28E 00 00 00 0 00 00 00 00 00 00 00 00 00 00 00 00 AC O O O N
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

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