mirror of
https://github.com/rkujawa/rk65c02.git
synced 2026-03-11 03:16:11 +00:00
Introduce an optional WAI-only host wait callback API with interpreter/JIT loop support, add regression tests and an idle_wait example, and align Doxygen docs to describe callback and IRQ wake semantics clearly. Made-with: Cursor
14 lines
105 B
ArmAsm
14 lines
105 B
ArmAsm
.org 0xC000
|
|
|
|
start:
|
|
lda #0x00
|
|
sta 0x0200
|
|
|
|
loop:
|
|
wai
|
|
inc 0x0200
|
|
lda 0x0200
|
|
cmp #0x05
|
|
bne loop
|
|
stp
|