spo/ass1/vhod_izhod/hello.asm
2025-10-30 12:58:15 +01:00

13 lines
No EOL
232 B
NASM

hello START 0
CLEAR X
loop LDCH txt, X
WD #1
TIX #txtlen
JLT loop
halt J halt
txt BYTE C'Hello world'
txtend EQU *
txtlen EQU txtend-txt
END hello