Problem Statement
Write a sequence of instructions for SIC/XE to set ALPHA=GAMMA*BETA-9 using register operation.
Solution
| Line Number(ac) | Code | Description |
| 1 | LDA GAMMA | |
| 2 | MUL BETA | |
| 3 | SUB 9 | |
| 4 | STA ALPHA |
Write a sequence of instructions for SIC/XE to set ALPHA=GAMMA*BETA-9 using register operation.
| Line Number(ac) | Code | Description |
| 1 | LDA GAMMA | |
| 2 | MUL BETA | |
| 3 | SUB 9 | |
| 4 | STA ALPHA |
Leave a Reply