Таблица 9.14. Варианты задания 7
№ варианта
|
|
| Номера команд программы
|
|
|
| 1
| 2
| 3
| 4
| 5
| 6
| 7
| 1
| RD #12
| WR 10
| WR @10
| ADD 12
| WR R0
| SUB 10
| PUSH R0
| 2
| RD #65
| WRR2
| MOV R4,R2
| WR 14
| PUSH R2
| POP R3
| CALL 002
| 3
| RD #16
| SUB #5
| WR 9
| WR @9
| WR R3
| PUSH R3
| POP R4
| 4
| RD #99
| WR R6
| MOV R7,R6
| ADD R7
| PUSH R7
| CALL 006
| POP R8
| 5
| RD #11
| WR R2
| WR -@R2
| PUSH R2
| CALL 005
| POP R3
| RET
| 6
| RD #19
| SUB #10
| WR9
| ADD #3
| WR @9
| CALL 006
| POPR4
|
7
| RD #6
| CALL 006
| WR11
| WRR2
| PUSH R2
| RET
| JMP 002
| 8
| RD#8
| WRR2
| WR @R2+
| PUSH R2
| POP R3
| WR -@R3
| CALL 003
| 9
| RD #13
| WR14
| WR@14
| WR@13
| ADD 13
| CALL 006
| RET
| 10
| RD #42
| SUB #54
| WR16
| WR@16
| WRR1
| ADD @R1+
| PUSH R1
| 11
| RD #10
| WRR5
| ADD R5
| WRR6
| CALL 005
| PUSH R6
| RET
| 12
| JMP 006
| RD #7 6
| WR 14
| WRR2
| PUSH R2
| RET
| CALL 001
| |