Add original unix v6

This commit is contained in:
memnoth
2018-01-27 22:35:41 +09:00
commit 2c7099ee50
664 changed files with 106254 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
.globl allocate,putword,putchar
.globl iget
.globl succ
.globl table
table:
mov $10,r0
jsr pc,allocate
mov r1,-(sp)
clr r0
jsr pc,putword
jsr pc,putword
jsr pc,putword
jsr pc,putchar
jsr pc,iget
mov (sp)+,(r0)
jmp succ