1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-16 21:07:56 +00:00
kickc/src/test/ref/loophead-problem-2.sym

46 lines
1.8 KiB
Plaintext
Raw Normal View History

(label) @1
(label) @begin
(label) @end
2019-12-21 09:38:44 +00:00
(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 ]
2019-10-12 09:40:36 +00:00
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 ]