Got it to the point that it can run a simple echo test
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user