* DEMO: HELLO WORLD ON TTY
\ORG\'1000
STRT\LDA\N7
\TCA
\STA\0
LC\LDA\MESS,1
\ICA
\JST\ASRO
\ICA
\JST\ASRO
\IRS\0
\JMP\LC
\HLT\\READY
\JMP\STRT\PRINT AGAIN
*
* MESSAGE TO PRINT
\BCI\6,HELLO WORLD 
\OCT\'106612\CRLF
MESS\EQU\*
N7\OCT\7\LENGTH IN WORDS
*
* TTY OUTPUT ROUTINE
ASRO\DAC\**
\SKS\'104\WAIT FOR READY
\JMP\*-1
\OCP\'104\SET OUTPUT MODE
\OTA\'4\PRINT CHARACTER
\JMP\*-1\WAIT FOR READY
\JMP*\ASRO
\END
