summaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
Diffstat (limited to 'programs')
-rw-r--r--programs/subeditor.s39
1 files changed, 20 insertions, 19 deletions
diff --git a/programs/subeditor.s b/programs/subeditor.s
index eaecab5..5e6ce08 100644
--- a/programs/subeditor.s
+++ b/programs/subeditor.s
@@ -34,43 +34,43 @@ cmd_buf:
; Initalize some variables.
-.org $0
+.org 0
scr_row:
- .byte $0
+ .byte 0
scr_col:
- .byte $0
+ .byte 0
scr_trow:
- .byte $0
+ .byte 0
scr_tcol:
- .byte $0
+ .byte 0
scr_ptr:
- .word $0
+ .word 0
scr_ptr2:
- .word $0
+ .word 0
; Registers.
a:
- .byte $0
+ .byte 0
b:
- .byte $0
+ .byte 0
c:
- .byte $0
+ .byte 0
d:
- .byte $0
+ .byte 0
e:
- .byte $0
+ .byte 0
f:
- .byte $0
+ .byte 0
; This register is always zero.
zero:
- .qword $0
+ .qword 0
; End of registers.
end:
- .byte $0
+ .byte 0
bitmask:
- .byte $0
+ .byte 0
bitabl:
- .qword $0
- .qword $0
+ .qword 0
+ .qword 0
scr_str:
.byte $0
scr_end:
@@ -1152,9 +1152,10 @@ rdrwln_done:
dec end ;
rtl ;
+
.org $FFC0
.qword reset
-r
+a
done