Added Assembler Pdp11 Palx
Fixes: #568 Co-Authored-By: Lars Brinkhoff <lars.spam@nocrew.org>
This commit is contained in:
@@ -103,6 +103,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
|
||||
* [Assembler Nasm Macho64](a/assembler_nasm_macho64.asm)
|
||||
* [Assembler Nasm Win32](a/assembler_nasm_win32.asm)
|
||||
* [Assembler Pdp10 Midas](a/assembler_pdp10_midas.mid)
|
||||
* [Assembler Pdp11 Palx](a/assembler_pdp11_palx.palx)
|
||||
* [Assembler Tasm Dos](a/assembler_tasm_dos.asm)
|
||||
* [Assembler Tms9900 Ti99 4A](a/assembler_tms9900_ti99_4a.asm)
|
||||
* [Assembler Vax Ultrix](a/assembler_vax_ultrix.asm)
|
||||
@@ -112,7 +113,7 @@ Meet [FizzBuzz](https://github.com/zenware/FizzBuzz), the evolution of [hello-wo
|
||||
* [Attache](a/Attache.%40)
|
||||
* [Autohotkey](a/autohotkey.ahk)
|
||||
* [Autoit](a/autoit.au3)
|
||||
* [AviSynth](a/avisynth.avs)
|
||||
* [Avisynth](a/avisynth.avs)
|
||||
* [Awful](a/awful.yuk)
|
||||
* [Awk](a/awk.awk)
|
||||
* [B](b/B.b)
|
||||
|
||||
23
a/assembler_pdp11_palx.palx
Normal file
23
a/assembler_pdp11_palx.palx
Normal 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
|
||||
Reference in New Issue
Block a user