Curriculum
This System Software program demonstrates the sequence of instructions in SIC to set ALPHA equal to the integer portion of BETA / GAMMA.
| Line Number | Code | Description |
|---|---|---|
| 1 | LDA BETA | Load the value of BETA to accumulator |
| 2 | DIV GAMMA | Divide the value of accumulator by GAMMA |
| 3 | STA ALPHA | Store the value of accumulator to ALPHA |
| 4 | ALPHA RESW 1 | Reserve 1 word for ALPHA |
| 5 | BETA RESW 1 | Reserve 1 word for BETA |
| 6 | GAMMA RESW 1 | Reserve 1 word for GAMMA |