Question: table [ [ , . ORIG,x 3 0 0 0 ] , [ JSR , A ] , [ BR , END ] ,

\table[[,.ORIG,x3000],[JSR,A],[BR,END],[A,LD,R0, LF],[TRAP,x21],[LEA,R0, EEC345],[TRAP,x22],[LEA,RO, AWE],[TRAP,x22],[AND,R7, R7, #-1],[RET,],[END,TRAP,x25],[EEC345,.STRINGZ,"EEC345 IS"],[AWE,.STRINGZ," AWESOME"],[BUFFER,. BLKW,3],[LF,. FILL,xOA],[. END,]]
What are the machine codes at addresses x3000,x3003,x3008 and x 3009?
(20 points) Consider the assembly program below:
What are the machine codes at addresses 3000,x3003,3008 and 3009?
x31
3
x3
x3!
Generate the symbol table for the program. You may not need all of the spaces provided.
(extra 5 points) What does the program do?
\ table [ [ , . ORIG,x 3 0 0 0 ] , [ JSR , A ] ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!