Find out the Object code for each line of instructions. Show your work in detail. Page 81 Line 5 – 110

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
Find out the Object code for each line of instructions. Show your work in detail. Page 81 Line 5 – 110
Line
Loc/Block
Source statement
Object code
0000 0
0000 0
СОPY
START
5
10
15
20
25
30
35
RETADR
172063
FIRST
CLOOP
STL
RDREC
LENGTH
4B2021
032060
290000
332006
0003 0
JSUB
LDA
0006 0
0009 0
000C 0
000F 0
0012 0
0015 0
COMP
JEQ
JSUB
ENDFIL
WRREC
4B203B
3F2FEE
032055
40
45
50
55
60
65
70
92
95
100
103
105
106
CLOOP
=C'EOF'
BUFFER
3
ENDFIL
LDA
OF2056
0018 0
001B 0
001E O
0021 0
STA
LDA
010003
STA
OF2048
LENGTH
WRREC
JSUB
4B2029
3E203F
0024 0
0000 1
0000 1
0003
ORETADR
CDATA
USE
RESW
RETADR
1
0000 2
0000 2
LENGTH
RESW
USE
CBLKS
BUFFER
RESB
4096
1000 2
BUFEND
ĐQU
1000
BUFEND-BUFFER
107
110
115
120
МАXLEN
SUBROUTINE TO READ RECORD INTO BUFFER
USE
CLEAR
123
0027 0
125
0027 0
RDREC
B410
130
0029 0
CLEAR
B400
002B 0
B440
132
133
135
CLEAR
002D 0
0031 0
0034 0
0037 0
003A 0
0030 0
003F 0
0042 0
0044 0
+LDT
MAXLEN
75101000
INPUT
RLOOP
RLOOP
TD
E32038
140
332FFA
JEQ
RD
COMPR
145
150
155
160
INPUT
DB2032
A, S
A004
JEQ
EXIT
332008
57A02F
B850
3B2FEA
13201F
STCH
BUFFER, X
TIXR
165
170
175
180
183
185
195
200
205
208
JLT
STX
RLOOP
LENGTH
0047 0
004A O
0006 1
0006 1
EXIT
4F0000
RSUB
USE
CDATA
INPUT
ΒΥΤE
X'F1'
F1
SUBROUTINE TO WRITE RECORD FROM BUFFER
004D O
004D O
004F 0
USE
CLEAR
210
WRREC
B410
212
2017ר?
LDT
TD
LENGTH
=X'05'
215
0052 0
0055 0
0058 0
005B 0
005E 0
0060 0
0063 0
0007 1
WLOOP
E3201B
332FFA
53А016
DF2012
220
JEQ
LDCH
WLOOP
BUFFER, X
X'05
225
230
235
240
245
252
253
WD
B850
3B2FEF
4F0000
TIXR
T
WLOOP
JLT
RSUB
USE
CDATA
0007 1
000A 1
LTORG
C'EOF
=X'05'
454F46
05
255
END
FIRST
Figure 2.12 Program from Fig. 2.11 with object code.
81
Transcribed Image Text:Line Loc/Block Source statement Object code 0000 0 0000 0 СОPY START 5 10 15 20 25 30 35 RETADR 172063 FIRST CLOOP STL RDREC LENGTH 4B2021 032060 290000 332006 0003 0 JSUB LDA 0006 0 0009 0 000C 0 000F 0 0012 0 0015 0 COMP JEQ JSUB ENDFIL WRREC 4B203B 3F2FEE 032055 40 45 50 55 60 65 70 92 95 100 103 105 106 CLOOP =C'EOF' BUFFER 3 ENDFIL LDA OF2056 0018 0 001B 0 001E O 0021 0 STA LDA 010003 STA OF2048 LENGTH WRREC JSUB 4B2029 3E203F 0024 0 0000 1 0000 1 0003 ORETADR CDATA USE RESW RETADR 1 0000 2 0000 2 LENGTH RESW USE CBLKS BUFFER RESB 4096 1000 2 BUFEND ĐQU 1000 BUFEND-BUFFER 107 110 115 120 МАXLEN SUBROUTINE TO READ RECORD INTO BUFFER USE CLEAR 123 0027 0 125 0027 0 RDREC B410 130 0029 0 CLEAR B400 002B 0 B440 132 133 135 CLEAR 002D 0 0031 0 0034 0 0037 0 003A 0 0030 0 003F 0 0042 0 0044 0 +LDT MAXLEN 75101000 INPUT RLOOP RLOOP TD E32038 140 332FFA JEQ RD COMPR 145 150 155 160 INPUT DB2032 A, S A004 JEQ EXIT 332008 57A02F B850 3B2FEA 13201F STCH BUFFER, X TIXR 165 170 175 180 183 185 195 200 205 208 JLT STX RLOOP LENGTH 0047 0 004A O 0006 1 0006 1 EXIT 4F0000 RSUB USE CDATA INPUT ΒΥΤE X'F1' F1 SUBROUTINE TO WRITE RECORD FROM BUFFER 004D O 004D O 004F 0 USE CLEAR 210 WRREC B410 212 2017ר? LDT TD LENGTH =X'05' 215 0052 0 0055 0 0058 0 005B 0 005E 0 0060 0 0063 0 0007 1 WLOOP E3201B 332FFA 53А016 DF2012 220 JEQ LDCH WLOOP BUFFER, X X'05 225 230 235 240 245 252 253 WD B850 3B2FEF 4F0000 TIXR T WLOOP JLT RSUB USE CDATA 0007 1 000A 1 LTORG C'EOF =X'05' 454F46 05 255 END FIRST Figure 2.12 Program from Fig. 2.11 with object code. 81
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 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