Added Assembler Pdp11 Palx

Fixes: #568
Co-Authored-By: Lars Brinkhoff <lars.spam@nocrew.org>
This commit is contained in:
Richie Bendall
2020-04-01 05:48:31 +13:00
parent 67d3041c52
commit 02b5e04570
2 changed files with 25 additions and 1 deletions

View File

@@ -0,0 +1,23 @@
.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