small fix

This commit is contained in:
2024-02-23 21:57:39 +01:00
parent fd801003a8
commit 3f7d73d2fc

10
main.S
View File

@ -10,10 +10,10 @@
.section ".rodata","a"
screendata:
.byte 0x00
.byte 0x01
.byte 0x02
.byte 0x03
.byte 0b00000001
.byte 0b00000011
.byte 0b00000111
.byte 0b00001111
screendataend:
.byte 0xff
red:
@ -104,7 +104,7 @@ mainloop:
;; prepare next byte to handle by isr
cmp.w r7,r8
jnz mainloop_prepare_next_byte
mov.w &screendata,r7
mov.w #screendata,r7
mainloop_prepare_next_byte:
mov.b @r7,r9
inc.w r7