GitHub_collection_hello-world/a/assembler_pdp11_palx.palx
Richie Bendall 02b5e04570 Added Assembler Pdp11 Palx
Fixes: #568
Co-Authored-By: Lars Brinkhoff <lars.spam@nocrew.org>
2020-04-01 05:48:31 +13:00

24 lines
231 B
Plaintext

.TITLE Hello World
R0=%0
R1=%1
TPS==177564
TPB==177566
.=400
START: MOV #1,@#TPS
MOV #HELLO,R0
LOOP: TSTB @#TPS
BPL LOOP
MOVB (R0)+,R1
BEQ STOP
MOVB R1,@#TPB
BR LOOP
STOP: HALT
HELLO: .ASCIZ /Hello World/
.END START