Curriculum
This system software program demonstrates an SIC program instructions to set ALPHA equal to the product of BETA and GAMMA.
Code | Description |
---|---|
LDA BETA | Load the value of the variable BETA in Accumulator |
MUL GAMMA | Multiply the value of the variable GAMMA with accumulator and store the result in Accumulator |
STA ALPHA | Store the result of Accumulator to the ALPHA variable |
ALPHA RESW 1 | Reserve 1 word for the ALPHA Variable |
BETA RESW 1 | Reserve 1 word for the BETA Variable |
GAMMA RESW 1 | Reserve 1 word for the GAMMA Variable |