small fix
This commit is contained in:
10
main.S
10
main.S
@ -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
|
||||
|
Reference in New Issue
Block a user