2018-12-24 13:14:29 +00:00
|
|
|
@begin: scope:[] from
|
2019-05-30 20:29:04 +00:00
|
|
|
[0] (byte) col1#0 ← (byte) 0
|
2019-03-31 15:10:41 +00:00
|
|
|
to:@1
|
|
|
|
@1: scope:[] from @begin
|
2018-12-24 13:14:29 +00:00
|
|
|
[1] phi()
|
|
|
|
[2] call main
|
|
|
|
to:@end
|
2019-03-31 15:10:41 +00:00
|
|
|
@end: scope:[] from @1
|
2018-12-24 13:14:29 +00:00
|
|
|
[3] phi()
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
(void()) main()
|
2019-03-31 15:10:41 +00:00
|
|
|
main: scope:[main] from @1
|
2019-09-29 18:57:23 +00:00
|
|
|
[4] *((const void()**) KERNEL_IRQ) ← &interrupt(KERNEL_MIN)(void()) irq()
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@1
|
|
|
|
main::@1: scope:[main] from main main::@5 main::@6
|
2019-05-30 20:29:04 +00:00
|
|
|
[5] (byte) main::x#6 ← phi( main/(byte) 0 main::@6/(byte) main::x#1 main::@5/(byte) 0 )
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@2
|
|
|
|
main::@2: scope:[main] from main::@1 main::@4
|
2019-05-30 20:29:04 +00:00
|
|
|
[6] (byte) main::y#4 ← phi( main::@1/(byte) 0 main::@4/(byte) main::y#1 )
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@3
|
|
|
|
main::@3: scope:[main] from main::@2 main::@3
|
2019-05-30 20:29:04 +00:00
|
|
|
[7] (byte) main::a#2 ← phi( main::@2/(byte) 0 main::@3/(byte) main::a#1 )
|
2018-12-24 13:14:29 +00:00
|
|
|
[8] (byte~) main::$1 ← (byte) main::a#2 + (byte) main::y#4
|
2019-09-29 18:57:23 +00:00
|
|
|
[9] *((const byte*) SCREEN + (byte) main::x#6) ← (byte~) main::$1
|
2018-12-24 13:14:29 +00:00
|
|
|
[10] (byte) main::a#1 ← ++ (byte) main::a#2
|
2019-05-30 20:29:04 +00:00
|
|
|
[11] if((byte) main::a#1!=(byte) $b) goto main::@3
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@4
|
|
|
|
main::@4: scope:[main] from main::@3
|
2018-12-24 13:14:29 +00:00
|
|
|
[12] (byte) main::y#1 ← ++ (byte) main::y#4
|
2019-05-30 20:29:04 +00:00
|
|
|
[13] if((byte) main::y#1!=(byte) $b) goto main::@2
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@5
|
|
|
|
main::@5: scope:[main] from main::@4
|
2018-12-24 13:14:29 +00:00
|
|
|
[14] (byte) main::x#1 ← ++ (byte) main::x#6
|
2019-05-30 20:29:04 +00:00
|
|
|
[15] if((byte) main::x#1!=(byte) $b) goto main::@6
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@1
|
|
|
|
main::@6: scope:[main] from main::@5
|
2018-12-24 13:14:29 +00:00
|
|
|
[16] phi()
|
2019-03-31 15:10:41 +00:00
|
|
|
to:main::@1
|
2019-09-18 21:00:30 +00:00
|
|
|
|
|
|
|
interrupt(KERNEL_MIN)(void()) irq()
|
2018-12-24 13:14:29 +00:00
|
|
|
irq: scope:[irq] from
|
2019-09-29 18:57:23 +00:00
|
|
|
[17] *((const byte*) IRQ_STATUS) ← (byte) 1
|
2018-12-24 13:14:29 +00:00
|
|
|
asm { lda$dc0d }
|
2019-09-29 18:57:23 +00:00
|
|
|
[19] *((const byte*) SCREEN+(byte) $28) ← (byte) col1#0
|
2018-12-24 13:14:29 +00:00
|
|
|
[20] (byte) col1#1 ← ++ (byte) col1#0
|
|
|
|
to:irq::@return
|
|
|
|
irq::@return: scope:[irq] from irq
|
|
|
|
[21] return
|
|
|
|
to:@return
|