1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-10-21 02:24:34 +00:00
kickc/src/test/ref/irq-kernel-minimal.cfg

25 lines
589 B
INI

@begin: scope:[] from
[0] phi()
to:@1
@1: scope:[] from @begin
[1] phi()
[2] call main
to:@end
@end: scope:[] from @1
[3] phi()
main: scope:[main] from @1
asm { sei }
[5] *((const void()**) KERNEL_IRQ#0) ← &interrupt(KERNEL_KEYBOARD)(void()) irq()
asm { cli }
to:main::@return
main::@return: scope:[main] from main
[7] return
to:@return
irq: scope:[irq] from
[8] *((const byte*) BGCOL#0) ← (const byte) WHITE#0
[9] *((const byte*) BGCOL#0) ← (const byte) BLACK#0
to:irq::@return
irq::@return: scope:[irq] from irq
[10] return
to:@return