1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-09-29 03:56:15 +00:00
kickc/src/test/ref/loophead-problem-2.sym
2020-03-29 21:00:25 +02:00

46 lines
1.8 KiB
Plaintext

(label) @1
(label) @begin
(label) @end
(const signed word*) ball_y[(number) 8] = { (signed word) $32, (signed word) $64, (signed word) -$c8, (signed word) $c, (signed word) -$64, (signed word) $4b, (signed word) 0, (signed word) -$79 }
(void()) main()
(byte~) main::$1 reg byte a 22.0
(byte~) main::$2 reg byte a 22.0
(byte~) main::$4 reg byte x 11.0
(label) main::@1
(label) main::@return
(byte) main::hit_check
(byte) main::hit_check#0 reg byte a 16.5
(const nomodify byte*) main::screen = (byte*) 1024
(byte()) scan_for_lowest()
(byte~) scan_for_lowest::$3 reg byte a 2002.0
(byte~) scan_for_lowest::$4 reg byte a 2002.0
(label) scan_for_lowest::@1
(label) scan_for_lowest::@2
(label) scan_for_lowest::@3
(label) scan_for_lowest::@4
(label) scan_for_lowest::@return
(signed word) scan_for_lowest::height
(signed word) scan_for_lowest::height#1 height zp[2]:2 1001.0
(signed word) scan_for_lowest::height#2 height zp[2]:2 750.75
(signed word) scan_for_lowest::height#4 height zp[2]:2 1501.5
(byte) scan_for_lowest::i
(byte) scan_for_lowest::i#1 reg byte x 2002.0
(byte) scan_for_lowest::i#2 reg byte x 750.75
(byte) scan_for_lowest::lowest
(byte) scan_for_lowest::lowest#2 lowest zp[1]:4 335.5
(byte) scan_for_lowest::lowest#4 lowest zp[1]:4 1501.5
(byte) scan_for_lowest::lowest#8 lowest zp[1]:4 2002.0
(byte) scan_for_lowest::return
(byte) scan_for_lowest::return#0 reg byte a 22.0
reg byte x [ scan_for_lowest::i#2 scan_for_lowest::i#1 ]
zp[2]:2 [ scan_for_lowest::height#2 scan_for_lowest::height#4 scan_for_lowest::height#1 ]
zp[1]:4 [ scan_for_lowest::lowest#2 scan_for_lowest::lowest#4 scan_for_lowest::lowest#8 ]
reg byte a [ scan_for_lowest::return#0 ]
reg byte a [ main::hit_check#0 ]
reg byte x [ main::$4 ]
reg byte a [ main::$1 ]
reg byte a [ main::$2 ]
reg byte a [ scan_for_lowest::$3 ]
reg byte a [ scan_for_lowest::$4 ]