Object Addr code Symbol Mnemon Operand Comment 0000 120009 main 0003 0000 0005 0000 0০07 0000 bonus: examl: exam2: BR .EQUATE 10 .BLOCK 2 .BLOCK 2 .BLOCK 2 ;constant iglobal variable #2d global variable #2d iglobal variable #2d score: ;scanf ("d td", sexaml, sexam2 ) 0009 310003 main: 000c 310005 000F C10003 0012 610005 0015 0016 examl,d exam2,d examl,d exam2,d DECI DECI LDWA ADDA score - (exam1 + exam2) / 2 + bonus ASRA ADDA bonus, i score,d msg,d score,d In',i charout,d 60000A 0019 E10007 STWA STRO DECO 001c 490029 :printf("score - rd\n", score) 001F 390007 0022 DO000A LDBA STBA 0025 FIFC16 0028 00 0029 73636F msg: 726520 STOP .ASCII "score - \x00" 3D2000 0032 .END Which of the following are true for the above code? The code contains local variables ASRA is a unary Pep/9 instruction exam1 and exam2 are used to store integers O STBA sends a decinmal value to memory location FC15 O .BLOCK will generate code
Object Addr code Symbol Mnemon Operand Comment 0000 120009 main 0003 0000 0005 0000 0০07 0000 bonus: examl: exam2: BR .EQUATE 10 .BLOCK 2 .BLOCK 2 .BLOCK 2 ;constant iglobal variable #2d global variable #2d iglobal variable #2d score: ;scanf ("d td", sexaml, sexam2 ) 0009 310003 main: 000c 310005 000F C10003 0012 610005 0015 0016 examl,d exam2,d examl,d exam2,d DECI DECI LDWA ADDA score - (exam1 + exam2) / 2 + bonus ASRA ADDA bonus, i score,d msg,d score,d In',i charout,d 60000A 0019 E10007 STWA STRO DECO 001c 490029 :printf("score - rd\n", score) 001F 390007 0022 DO000A LDBA STBA 0025 FIFC16 0028 00 0029 73636F msg: 726520 STOP .ASCII "score - \x00" 3D2000 0032 .END Which of the following are true for the above code? The code contains local variables ASRA is a unary Pep/9 instruction exam1 and exam2 are used to store integers O STBA sends a decinmal value to memory location FC15 O .BLOCK will generate code
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
question in the image

Transcribed Image Text:Object
Addr code
Symbol
Mnemon Operand
Comment
main
.EQUATE 10
.BLOCK 2
0000 120009
BR
bonus:
;constant
0003 0000
0005 0000
;global variable #2d
;global variable #2d
;global variable #2d
examl:
.BLOCK 2
.BLOCK 2
exam2:
0007 0000
score:
;scanf ( "td td", sexaml, &exam2)
;score - (exam1 + exam2) / 2 + bonus
0009
310003 main:
DECI
DECI
000c 310005
c10003
610005
examl,d
exam2,d
examl,d
exam2,d
000F
0012
LDWA
ADDA
0015
0016
0019 E10007
001c 490029
001F 390007
0022 DO000A
0025
0028 00
0029 73636F msg:
ASRA
ADDA
bonus, i
score,d
msg,d
score,d
\n',i
charout,d
60000A
STWA
STRO
;printf("score - td\n", score)
DECO
LDBA
F1FC16
STBA
STOP
.ASCII "score - \x00"
726520
3D2000
0032
.END
Which of the following are true for the above code?
The code contains local variables
ASRA is a unary Pep/9 instruction
exam1 and exam2 are used to store integers
STBA sends a decinmal value to memory location FC15
.BLOCK will generate code
Expert Solution

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 2 steps

Recommended textbooks for you

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 Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

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…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

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)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY