17 lines
458 B
Plaintext
17 lines
458 B
Plaintext
|
TITLE HELLO - Hello program in MACRO assembly language
|
||
|
|
||
|
Comment $
|
||
|
Contributed by David Meyer <papa@twenex.org>/<papa@sdf.org>
|
||
|
March 9, 2022
|
||
|
$
|
||
|
|
||
|
SEARCH MONSYM ;Add TOPS-20 symbols to MACRO
|
||
|
|
||
|
START: RESET ;RESET the state of I/O devices
|
||
|
HRROI 1,[ASCIZ "Hello, world, from MACRO!
|
||
|
"] ;Compile string (including CRLF) and put
|
||
|
; address in AC1
|
||
|
PSOUT ;Output the string
|
||
|
HALTF ;Stop execution here.
|
||
|
END START ;End of program, start at START
|