Curriculum
This system software program demonstrates set of instructions for SIC/XE to clear a 20-byte string to all blanks using immediate addressing and register-to-register addressing mode.
| Line Number | Code | Description |
|---|---|---|
| 1 | LDT #20 | |
| 2 | LDX #0 | |
| 3 | LOOP LDCH #0 | |
| 4 | STCH STR1,X | |
| 5 | TIXR T | |
| 6 | JLT LOOP | |
| 7 | STR1 RESW 20 |