1
0
mirror of https://github.com/aap/pdp6.git synced 2026-01-26 12:12:49 +00:00

various changes

This commit is contained in:
aap
2016-10-21 15:09:01 +02:00
parent bdf5fad41d
commit c80dce6e90
35 changed files with 7362 additions and 39 deletions

29
code/main.s Normal file
View File

@@ -0,0 +1,29 @@
AC0==0
AC1==1
AC2==2
PDP==17
EXTERNAL PUTC,PUTS
EXTERNAL GETCH,GETC
ENTRY: JRST START
PDL: BLOCK 100
SP: XWD -100,PDL-1
START:
MOVE PDP,SP
MOVSI AC2,440700
HRRI AC2,MSG
PUSHJ PDP,PUTS
PUSHJ PDP,GETC
; JRST .-1
HALT
MSG: ASCIZ /Hello, world!
yo! > /
END ENTRY