This System Software program demonstrates set of instructions for SIC/XE to divide BETA by GAMMA, setting ALPHA to the value of the quotient, rounded to the nearest integer using the register-to-register instructions.
Line Number | Code | Description |
---|---|---|
1 | LDF BETA | |
2 | DIVF GAMMA | |
3 | FIX | |
4 | STA ALPHA | |
5 | ALPHA RESW 1 | |
6 | BETA RESW 1 | |
7 | GAMMA RESW 1 |