Answered step by step
Verified Expert Solution
Question
1 Approved Answer
When you run the following symbol command on the SIC machine, write the output on the screen. The output of symbol must be sorted in
When you run the following symbol command on the SIC machine, write the output on the screen. The output of symbol must be sorted in descending order based on symbol. sicsim>assemble test2.asm sicsim>assemble test1.asm sicsim>symbol test1.asm and test2.asm files are as follows. (Ignore the test1.asm and test2.asm text in the box.) test1.asm COPY START 1000 FIRST1 LDA BETA1 ADDLP1 ADD BETA1, X EOF1 BYTE C'EOF INPUT1 BYTE X'05' LDA BETA1, X STA GAMMA1, X LDX INDEX1 COMP1 COMPK1 JLT ADDLP1 BETA1 RESW 2 GAMMA1 RESN 1 K1 WORD 1 INDEX1 WORD 0 END test2.asm COPY START 2000 FIRST2 STA BETA2 ADDLP2 LDA BETA2, X ADD BETA2, X STA GAMMA2, X LDX INDEX2 EOF2 BYTE C'EOF INPUT2 BYTE X'05' COMPK2 JLT ADDLP2 INDEX2 WORD 0 BETA2 RESW 2 GAMMA2 RESW 1 WORD 1 END sicsim> assemble test1.asm sicsim> assemble test2.asm- sicsim> symbol When you run the following symbol command on the SIC machine, write the output on the screen. The output of symbol must be sorted in descending order based on symbol. sicsim>assemble test2.asm sicsim>assemble test1.asm sicsim>symbol test1.asm and test2.asm files are as follows. (Ignore the test1.asm and test2.asm text in the box.) test1.asm COPY START 1000 FIRST1 LDA BETA1 ADDLP1 ADD BETA1, X EOF1 BYTE C'EOF INPUT1 BYTE X'05' LDA BETA1, X STA GAMMA1, X LDX INDEX1 COMP1 COMPK1 JLT ADDLP1 BETA1 RESW 2 GAMMA1 RESN 1 K1 WORD 1 INDEX1 WORD 0 END test2.asm COPY START 2000 FIRST2 STA BETA2 ADDLP2 LDA BETA2, X ADD BETA2, X STA GAMMA2, X LDX INDEX2 EOF2 BYTE C'EOF INPUT2 BYTE X'05' COMPK2 JLT ADDLP2 INDEX2 WORD 0 BETA2 RESW 2 GAMMA2 RESW 1 WORD 1 END sicsim> assemble test1.asm sicsim> assemble test2.asm- sicsim> symbol
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started