1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-20 02:32:36 +00:00
kickc/src/test/ref/hex2dec.sym

154 lines
5.4 KiB
Plaintext
Raw Normal View History

(label) @1
(label) @begin
(label) @end
(byte[]) DIGITS
(const byte[]) DIGITS#0 DIGITS = (string) "0123456789abcdef@"
(word[]) UTOA10_SUB
(const word[]) UTOA10_SUB#0 UTOA10_SUB = { (word) $7530, (word) $2710, (word) $bb8, (word) $3e8, (word) $12c, (word) $64, (word) $1e, (word) $a }
(byte[]) UTOA10_VAL
(const byte[]) UTOA10_VAL#0 UTOA10_VAL = { (byte) 3, (byte) 1, (byte) 3, (byte) 1, (byte) 3, (byte) 1, (byte) 3, (byte) 1 }
(byte*) bordercol
(const byte*) bordercol#0 bordercol = (byte*) 53280
(void()) cls()
(label) cls::@1
(label) cls::@return
(byte*) cls::sc
(byte*) cls::sc#1 sc zp ZP_WORD:12 16.5
(byte*) cls::sc#2 sc zp ZP_WORD:12 16.5
(byte*) cls::screen
(const byte*) cls::screen#0 screen = (byte*) 1024
(byte*) control
(const byte*) control#0 control = (byte*) 53265
(void()) main()
(byte~) main::$1 $1 zp ZP_BYTE:14 101.0
(byte~) main::$2 reg byte a 202.0
(label) main::@1
(label) main::@2
(label) main::@3
(label) main::@4
(label) main::@5
(label) main::@6
(label) main::@7
(label) main::@8
(byte) main::i
(byte) main::i#1 reg byte x 151.5
(byte) main::i#2 reg byte x 202.0
(byte[]) main::msg
(const byte[]) main::msg#0 msg = (string) "raster lines@"
(byte) main::rst
(byte) main::rst#0 reg byte a 202.0
(byte*) main::screen
(byte) main::time
(byte) main::time#0 reg byte a 11.0
(byte) main::time_end
(byte) main::time_end#0 reg byte x 11.0
(byte) main::time_start
(byte) main::time_start#0 time_start zp ZP_BYTE:15 1.2941176470588236
(byte*) raster
(const byte*) raster#0 raster = (byte*) 53266
(void()) utoa10w((word) utoa10w::value , (byte*) utoa10w::dst)
(byte~) utoa10w::$0 reg byte a 4.0
(byte~) utoa10w::$2 reg byte a 202.0
(byte~) utoa10w::$8 reg byte a 202.0
(byte~) utoa10w::$9 reg byte a 202.0
(label) utoa10w::@1
(label) utoa10w::@2
(label) utoa10w::@3
(label) utoa10w::@4
(label) utoa10w::@5
(label) utoa10w::@6
(label) utoa10w::@7
(label) utoa10w::@8
(label) utoa10w::@return
(byte) utoa10w::bStarted
(byte) utoa10w::bStarted#2 bStarted zp ZP_BYTE:5 25.25
(byte) utoa10w::digit
(byte) utoa10w::digit#1 digit zp ZP_BYTE:4 67.33333333333333
(byte) utoa10w::digit#3 digit zp ZP_BYTE:4 84.16666666666666
(byte) utoa10w::digit#7 digit zp ZP_BYTE:4 67.33333333333333
(byte*) utoa10w::dst
(byte*) utoa10w::dst#1 dst zp ZP_WORD:6 202.0
(byte*) utoa10w::dst#11 dst zp ZP_WORD:6 70.7
(byte*) utoa10w::dst#2 dst zp ZP_WORD:6 4.0
(byte*) utoa10w::dst#4 dst zp ZP_WORD:6 61.39999999999999
(byte*) utoa10w::dst#7 dst zp ZP_WORD:6 303.0
(byte) utoa10w::i
(byte) utoa10w::i#1 reg byte x 151.5
(byte) utoa10w::i#2 reg byte x 62.153846153846146
(word) utoa10w::value
(word) utoa10w::value#0 value zp ZP_WORD:2 6.5
(word) utoa10w::value#1 value zp ZP_WORD:2 202.0
(word) utoa10w::value#10 value zp ZP_WORD:2 36.214285714285715
(byte()) utoa16n((byte) utoa16n::nybble , (word**) utoa16n::dst , (byte) utoa16n::started)
(label) utoa16n::@1
(label) utoa16n::@2
(label) utoa16n::@3
(label) utoa16n::@return
(word**) utoa16n::dst
(byte) utoa16n::nybble
(byte) utoa16n::nybble#0 reg byte a 4.0
(byte) utoa16n::nybble#1 reg byte a 2.0
(byte) utoa16n::nybble#2 reg byte a 2.0
(byte) utoa16n::nybble#3 reg byte a 4.0
(byte) utoa16n::nybble#4 reg byte a 2.4
(byte) utoa16n::return
(byte) utoa16n::return#0 reg byte x 4.0
(byte) utoa16n::return#1 reg byte x 4.0
(byte) utoa16n::return#4 reg byte x 1.1428571428571428
(byte) utoa16n::started
(byte) utoa16n::started#1 reg byte x 4.0
(byte) utoa16n::started#2 reg byte x 4.0
(byte) utoa16n::started#7 reg byte x 2.0
(void()) utoa16w((word) utoa16w::value , (byte*) utoa16w::dst)
(byte~) utoa16w::$0 reg byte a 4.0
(byte~) utoa16w::$12 reg byte a 4.0
(byte~) utoa16w::$4 reg byte a 4.0
(byte~) utoa16w::$8 reg byte a 4.0
(label) utoa16w::@1
(label) utoa16w::@2
(label) utoa16w::@3
(label) utoa16w::@4
(label) utoa16w::@return
(byte*) utoa16w::dst
(byte*) utoa16w::dst#0 dst zp ZP_WORD:10 22.0
(byte*) utoa16w::dst#1 dst zp ZP_WORD:10 22.0
(byte*) utoa16w::dst#2 dst zp ZP_WORD:10 22.0
(byte*) utoa16w::dst#3 dst zp ZP_WORD:10 22.0
(byte*) utoa16w::dst#4 dst zp ZP_WORD:10 22.0
(byte*) utoa16w::dst#5 dst zp ZP_WORD:10 2.1111111111111107
(byte) utoa16w::started
(byte) utoa16w::started#1 reg byte x 1.3333333333333333
(byte) utoa16w::started#2 reg byte x 1.3333333333333333
(word) utoa16w::value
(word) utoa16w::value#5 value zp ZP_WORD:8 0.5
reg byte x [ main::i#2 main::i#1 ]
reg byte x [ utoa10w::i#2 utoa10w::i#1 ]
zp ZP_WORD:2 [ utoa10w::value#10 utoa10w::value#0 utoa10w::value#1 ]
zp ZP_BYTE:4 [ utoa10w::digit#3 utoa10w::digit#7 utoa10w::digit#1 ]
zp ZP_BYTE:5 [ utoa10w::bStarted#2 ]
zp ZP_WORD:6 [ utoa10w::dst#7 utoa10w::dst#11 utoa10w::dst#4 utoa10w::dst#1 utoa10w::dst#2 ]
zp ZP_WORD:8 [ utoa16w::value#5 ]
zp ZP_WORD:10 [ utoa16w::dst#5 utoa16w::dst#1 utoa16w::dst#2 utoa16w::dst#3 utoa16w::dst#4 utoa16w::dst#0 ]
reg byte a [ utoa16n::nybble#4 utoa16n::nybble#0 utoa16n::nybble#1 utoa16n::nybble#2 utoa16n::nybble#3 ]
reg byte x [ utoa16n::return#4 utoa16n::started#7 utoa16n::started#1 utoa16n::started#2 ]
zp ZP_WORD:12 [ cls::sc#2 cls::sc#1 ]
zp ZP_BYTE:14 [ main::$1 ]
reg byte a [ main::$2 ]
reg byte a [ main::rst#0 ]
zp ZP_BYTE:15 [ main::time_start#0 ]
reg byte x [ main::time_end#0 ]
reg byte a [ main::time#0 ]
reg byte a [ utoa10w::$8 ]
reg byte a [ utoa10w::$2 ]
reg byte a [ utoa10w::$0 ]
reg byte a [ utoa10w::$9 ]
reg byte a [ utoa16w::$0 ]
reg byte x [ utoa16n::return#0 ]
reg byte x [ utoa16w::started#1 ]
reg byte a [ utoa16w::$4 ]
reg byte x [ utoa16n::return#1 ]
reg byte x [ utoa16w::started#2 ]
reg byte a [ utoa16w::$8 ]
reg byte a [ utoa16w::$12 ]