diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/ortho.s | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/test/ortho.s b/test/ortho.s index 312c8eb..c7cdd83 100644 --- a/test/ortho.s +++ b/test/ortho.s @@ -4,6 +4,10 @@ count: .org $40000 mem: .res 256 +bitabl: + .res 8 +bits: + .res 8 .org $8000 reset: @@ -18,6 +22,16 @@ reset: cmp.qo (count), y lea.o (count), y lea mem + nop + lea d, $2000 + nop + lea d, (mem+d) + lea bitabl, mem +; mov (bitabl)+a, 0 + mov (d-128), #0 + lea s, count + mov (e), #0 + mov a, (e) loop: inc b inc.q count @@ -31,7 +45,7 @@ loop: .qword reset a -;.org reset -;v -;q +.org reset +v +q d |