Got it to the point that it can run a simple echo test

This commit is contained in:
2023-09-12 15:39:13 +02:00
parent 0d3dfb5a37
commit 96038abeb1
12 changed files with 173 additions and 53 deletions

View File

@@ -6,11 +6,14 @@ xbuf = 177566
.psect .txt
.title echo
start:
mov #40,r3
tstb @#rcsr
bmi start
bge start
mov @#rbuf,r1
xor r1,#40
mov r1,@#xbuf
cmpb r1,#40
ble noxor
xor r3,r1
noxor: mov r1,@#xbuf
br start
.byte 123
.end start