1
0
mirror of https://github.com/rkujawa/rk65c02.git synced 2026-03-11 03:16:11 +00:00
Files
rk65c02/examples/idle_wait.s
Radosław Kujawa 8d532664a4 Add WAI idle-wait host integration and documentation.
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
2026-03-07 01:05:20 +01:00

14 lines
105 B
ArmAsm

.org 0xC000
start:
lda #0x00
sta 0x0200
loop:
wai
inc 0x0200
lda 0x0200
cmp #0x05
bne loop
stp