100012700MOV #1, R0
102000001
104060027ADD R0, (R7)+
106060027ADD R0, (R7)+
110062700ADD (R7)+, R0
112060027ADD R0, (R7)+
114000240NOP
116000000HALT

The ADD at word 104 adds 1 into word 106, then increments the PC to skip this instruction. Then the ADD at word 110 adds [112] into R0, and also increments the PC, skipping the instruction at 112. Thus the final contents of R0 is 060030 (base 8).


[on to problem #7]