mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-08-09 04:25:12 +00:00
317 lines
12 KiB
Plaintext
317 lines
12 KiB
Plaintext
(label) @1
|
|
(label) @2
|
|
(label) @begin
|
|
(label) @end
|
|
(const nomodify byte*) CONIO_SCREEN_COLORS = (byte*) 55296
|
|
(const nomodify byte*) CONIO_SCREEN_TEXT = (byte*) 1024
|
|
(const nomodify byte) CONIO_TEXTCOLOR_DEFAULT = (byte) $e
|
|
(const byte*) DIGITS[] = (byte*) "0123456789abcdef"z
|
|
(const byte) OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS = (byte) 1
|
|
(const byte) RADIX::BINARY = (number) 2
|
|
(const byte) RADIX::DECIMAL = (number) $a
|
|
(const byte) RADIX::HEXADECIMAL = (number) $10
|
|
(const byte) RADIX::OCTAL = (number) 8
|
|
(const word*) RADIX_DECIMAL_VALUES[] = { (word) $2710, (word) $3e8, (word) $64, (word) $a }
|
|
(const nomodify byte*) SCREEN = (byte*) 1024
|
|
(const byte) SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER = (byte) $c
|
|
(byte*) conio_cursor_color loadstore zp[2]:15 3484376.71875
|
|
(byte*) conio_cursor_text loadstore zp[2]:13 3430770.9230769235
|
|
(byte) conio_cursor_x loadstore zp[1]:11 489798.1428571429
|
|
(byte) conio_cursor_y loadstore zp[1]:12 4735295.735294118
|
|
(void()) cputc((byte) cputc::c)
|
|
(label) cputc::@1
|
|
(label) cputc::@2
|
|
(label) cputc::@3
|
|
(label) cputc::@return
|
|
(byte) cputc::c
|
|
(byte) cputc::c#0 reg byte a 200002.0
|
|
(byte) cputc::c#2 reg byte a 2002.0
|
|
(byte) cputc::c#3 reg byte a 1050502.0
|
|
(void()) cputln()
|
|
(byte*~) cputln::$1 zp[2]:13 2.0000002E7
|
|
(byte*~) cputln::$2 zp[2]:15 2.0000002E7
|
|
(label) cputln::@return
|
|
(word) cputln::ln_offset
|
|
(word) cputln::ln_offset#0 ln_offset zp[2]:22 1.0000001E7
|
|
(void()) cputs((to_nomodify byte*) cputs::s)
|
|
(label) cputs::@1
|
|
(label) cputs::@2
|
|
(label) cputs::@return
|
|
(byte) cputs::c
|
|
(byte) cputs::c#1 reg byte a 100001.0
|
|
(to_nomodify byte*) cputs::s
|
|
(to_nomodify byte*) cputs::s#0 s zp[2]:8 50000.5
|
|
(to_nomodify byte*) cputs::s#3 s zp[2]:8 155002.0
|
|
(to_nomodify byte*) cputs::s#4 s zp[2]:8 10001.0
|
|
(void()) cscroll()
|
|
(byte*~) cscroll::$7 zp[2]:13 2.00000002E8
|
|
(byte*~) cscroll::$8 zp[2]:15 2.00000002E8
|
|
(label) cscroll::@1
|
|
(label) cscroll::@2
|
|
(label) cscroll::@3
|
|
(label) cscroll::@4
|
|
(label) cscroll::@5
|
|
(label) cscroll::@return
|
|
(void()) gotoxy((byte) gotoxy::x , (byte) gotoxy::y)
|
|
(label) gotoxy::@1
|
|
(label) gotoxy::@return
|
|
(word) gotoxy::offset
|
|
(byte) gotoxy::x
|
|
(const byte) gotoxy::x#2 x = (byte) 0
|
|
(byte) gotoxy::y
|
|
(const byte) gotoxy::y#2 y = (byte) 0
|
|
(void()) main()
|
|
(signed word~) main::$10 zp[2]:6 2002.0
|
|
(signed byte~) main::$5 reg byte a 2002.0
|
|
(signed byte~) main::$7 reg byte a 2002.0
|
|
(signed word~) main::$9 zp[2]:18 400.4
|
|
(label) main::@1
|
|
(label) main::@10
|
|
(label) main::@11
|
|
(label) main::@2
|
|
(label) main::@3
|
|
(label) main::@4
|
|
(label) main::@5
|
|
(label) main::@6
|
|
(label) main::@7
|
|
(label) main::@8
|
|
(label) main::@9
|
|
(label) main::@return
|
|
(word) main::count
|
|
(word) main::count#1 count zp[2]:2 2002.0
|
|
(word) main::count#10 count zp[2]:2 178.05555555555557
|
|
(word) main::count#11 count zp[2]:2 53.25
|
|
(word) main::count#12 count zp[2]:2 1001.0
|
|
(signed word) main::dist_sq
|
|
(signed word) main::dist_sq#0 dist_sq zp[2]:18 2002.0
|
|
(const byte*) main::s[(byte) 7] = (byte*) " chars"
|
|
(byte*) main::sc
|
|
(byte*) main::sc#1 sc zp[2]:4 1001.0
|
|
(byte*) main::sc#10 sc zp[2]:4 160.25
|
|
(byte*) main::sc#8 sc zp[2]:4 101.0
|
|
(byte) main::x
|
|
(byte) main::x#1 x zp[1]:12 2002.0
|
|
(byte) main::x#2 x zp[1]:12 150.14999999999998
|
|
(signed byte) main::xd
|
|
(signed byte) main::xd#0 reg byte x 750.75
|
|
(byte) main::y
|
|
(byte) main::y#1 y zp[1]:11 202.0
|
|
(byte) main::y#2 y zp[1]:11 13.173913043478262
|
|
(signed byte) main::yd
|
|
(signed byte) main::yd#0 yd zp[1]:17 500.5
|
|
(void*()) memcpy((void*) memcpy::destination , (void*) memcpy::source , (word) memcpy::num)
|
|
(label) memcpy::@1
|
|
(label) memcpy::@2
|
|
(label) memcpy::@return
|
|
(void*) memcpy::destination
|
|
(void*) memcpy::destination#2 destination zp[2]:22
|
|
(byte*) memcpy::dst
|
|
(byte*) memcpy::dst#1 dst zp[2]:22 1.00000000001E11
|
|
(byte*) memcpy::dst#2 dst zp[2]:22 1.0033333333466667E11
|
|
(byte*) memcpy::dst#4 dst zp[2]:22 2.000000002E9
|
|
(word) memcpy::num
|
|
(void*) memcpy::return
|
|
(void*) memcpy::source
|
|
(void*) memcpy::source#2 source zp[2]:18
|
|
(byte*) memcpy::src
|
|
(byte*) memcpy::src#1 src zp[2]:18 2.00000000002E11
|
|
(byte*) memcpy::src#2 src zp[2]:18 1.0025000000125E11
|
|
(byte*) memcpy::src#4 src zp[2]:18 1.000000001E9
|
|
(byte*) memcpy::src_end
|
|
(byte*) memcpy::src_end#0 src_end zp[2]:20 1.262500000025E10
|
|
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
|
|
(label) memset::@1
|
|
(label) memset::@2
|
|
(label) memset::@3
|
|
(label) memset::@return
|
|
(byte) memset::c
|
|
(byte) memset::c#5 reg byte x 1.250000000125E9
|
|
(byte*) memset::dst
|
|
(byte*) memset::dst#1 dst zp[2]:22 2.0000000002E10
|
|
(byte*) memset::dst#2 dst zp[2]:22 1.3666666668333332E10
|
|
(byte*) memset::dst#4 dst zp[2]:22 2.000000002E9
|
|
(byte*) memset::end
|
|
(byte*) memset::end#0 end zp[2]:18 1.8333333336666665E9
|
|
(word) memset::num
|
|
(word) memset::num#3 num zp[2]:18 1.000000001E9
|
|
(void*) memset::return
|
|
(void*) memset::str
|
|
(void*) memset::str#4 str zp[2]:22
|
|
(signed word()) mul8s((signed byte) mul8s::a , (signed byte) mul8s::b)
|
|
(byte~) mul8s::$11 reg byte a 20002.0
|
|
(byte~) mul8s::$12 reg byte a 20002.0
|
|
(byte~) mul8s::$6 reg byte a 20002.0
|
|
(byte~) mul8s::$9 reg byte a 20002.0
|
|
(label) mul8s::@1
|
|
(label) mul8s::@2
|
|
(label) mul8s::@3
|
|
(label) mul8s::@4
|
|
(label) mul8s::@5
|
|
(label) mul8s::@return
|
|
(signed byte) mul8s::a
|
|
(signed byte) mul8s::a#0 a zp[1]:10 1001.0
|
|
(signed byte) mul8s::a#1 a zp[1]:10 1001.0
|
|
(signed byte) mul8s::a#2 a zp[1]:10 923.3076923076923
|
|
(signed byte) mul8s::b
|
|
(signed byte) mul8s::b#0 reg byte y 2002.0
|
|
(signed byte) mul8s::b#1 reg byte y 2002.0
|
|
(signed byte) mul8s::b#2 reg byte y 1091.181818181818
|
|
(word) mul8s::m
|
|
(word) mul8s::m#0 m zp[2]:6 10001.0
|
|
(word) mul8s::m#1 m zp[2]:6 20002.0
|
|
(word) mul8s::m#2 m zp[2]:6 20002.0
|
|
(word) mul8s::m#4 m zp[2]:6 5000.5
|
|
(word) mul8s::m#5 m zp[2]:6 12501.25
|
|
(signed word) mul8s::return
|
|
(word()) mul8u((byte) mul8u::a , (byte) mul8u::b)
|
|
(byte~) mul8u::$1 reg byte a 2.00000002E8
|
|
(label) mul8u::@1
|
|
(label) mul8u::@2
|
|
(label) mul8u::@3
|
|
(label) mul8u::@4
|
|
(label) mul8u::@return
|
|
(byte) mul8u::a
|
|
(byte) mul8u::a#0 reg byte x 1.00000001E8
|
|
(byte) mul8u::a#1 reg byte x 36667.33333333333
|
|
(byte) mul8u::a#2 reg byte x 6.668333416666667E7
|
|
(byte) mul8u::b
|
|
(byte) mul8u::b#0 reg byte a 10001.0
|
|
(word) mul8u::mb
|
|
(word) mul8u::mb#0 mb zp[2]:8 200002.0
|
|
(word) mul8u::mb#1 mb zp[2]:8 2.00000002E8
|
|
(word) mul8u::mb#2 mb zp[2]:8 4.287142914285715E7
|
|
(word) mul8u::res
|
|
(word) mul8u::res#1 res zp[2]:6 2.00000002E8
|
|
(word) mul8u::res#2 res zp[2]:6 5.0001667333333336E7
|
|
(word) mul8u::res#6 res zp[2]:6 1.00000001E8
|
|
(word) mul8u::return
|
|
(word) mul8u::return#2 return zp[2]:6 20002.0
|
|
(struct printf_buffer_number) printf_buffer loadstore mem[12] = {}
|
|
(const byte*) printf_buffer_number::digits[(number) $b] = { fill( $b, 0) }
|
|
(byte) printf_buffer_number::sign
|
|
(byte) printf_format_number::justify_left
|
|
(byte) printf_format_number::min_length
|
|
(byte) printf_format_number::radix
|
|
(byte) printf_format_number::sign_always
|
|
(byte) printf_format_number::upper_case
|
|
(byte) printf_format_number::zero_padding
|
|
(byte) printf_format_string::justify_left
|
|
(byte) printf_format_string::min_length
|
|
(void()) printf_number_buffer((byte) printf_number_buffer::buffer_sign , (byte*) printf_number_buffer::buffer_digits , (byte) printf_number_buffer::format_min_length , (byte) printf_number_buffer::format_justify_left , (byte) printf_number_buffer::format_sign_always , (byte) printf_number_buffer::format_zero_padding , (byte) printf_number_buffer::format_upper_case , (byte) printf_number_buffer::format_radix)
|
|
(label) printf_number_buffer::@1
|
|
(label) printf_number_buffer::@2
|
|
(label) printf_number_buffer::@3
|
|
(label) printf_number_buffer::@return
|
|
(struct printf_buffer_number) printf_number_buffer::buffer
|
|
(byte*) printf_number_buffer::buffer_digits
|
|
(const byte*) printf_number_buffer::buffer_digits#0 buffer_digits = (byte*)&(struct printf_buffer_number) printf_buffer+(const byte) OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS
|
|
(byte) printf_number_buffer::buffer_sign
|
|
(byte) printf_number_buffer::buffer_sign#0 reg byte a 701.0
|
|
(struct printf_format_number) printf_number_buffer::format
|
|
(byte) printf_number_buffer::format_justify_left
|
|
(byte) printf_number_buffer::format_min_length
|
|
(byte) printf_number_buffer::format_radix
|
|
(byte) printf_number_buffer::format_sign_always
|
|
(byte) printf_number_buffer::format_upper_case
|
|
(byte) printf_number_buffer::format_zero_padding
|
|
(signed byte) printf_number_buffer::len
|
|
(signed byte) printf_number_buffer::padding
|
|
(void()) printf_uint((word) printf_uint::uvalue , (byte) printf_uint::format_min_length , (byte) printf_uint::format_justify_left , (byte) printf_uint::format_sign_always , (byte) printf_uint::format_zero_padding , (byte) printf_uint::format_upper_case , (byte) printf_uint::format_radix)
|
|
(label) printf_uint::@1
|
|
(label) printf_uint::@2
|
|
(label) printf_uint::@return
|
|
(struct printf_format_number) printf_uint::format
|
|
(byte) printf_uint::format_justify_left
|
|
(byte) printf_uint::format_min_length
|
|
(byte) printf_uint::format_radix
|
|
(byte) printf_uint::format_sign_always
|
|
(byte) printf_uint::format_upper_case
|
|
(byte) printf_uint::format_zero_padding
|
|
(word) printf_uint::uvalue
|
|
(word) printf_uint::uvalue#0 uvalue zp[2]:2 37.33333333333333
|
|
(void()) utoa((word) utoa::value , (byte*) utoa::buffer , (byte) utoa::radix)
|
|
(byte~) utoa::$10 reg byte a 20002.0
|
|
(byte~) utoa::$11 reg byte a 2002.0
|
|
(label) utoa::@1
|
|
(label) utoa::@2
|
|
(label) utoa::@3
|
|
(label) utoa::@4
|
|
(label) utoa::@5
|
|
(label) utoa::@6
|
|
(label) utoa::@7
|
|
(label) utoa::@return
|
|
(byte*) utoa::buffer
|
|
(byte*) utoa::buffer#11 buffer zp[2]:18 3000.4285714285716
|
|
(byte*) utoa::buffer#14 buffer zp[2]:18 15001.5
|
|
(byte*) utoa::buffer#3 buffer zp[2]:18 2002.0
|
|
(byte*) utoa::buffer#4 buffer zp[2]:18 20002.0
|
|
(byte) utoa::digit
|
|
(byte) utoa::digit#1 digit zp[1]:10 20002.0
|
|
(byte) utoa::digit#2 digit zp[1]:10 2857.4285714285716
|
|
(word) utoa::digit_value
|
|
(word) utoa::digit_value#0 digit_value zp[2]:22 6000.6
|
|
(word*) utoa::digit_values
|
|
(byte) utoa::max_digits
|
|
(const byte) utoa::max_digits#1 max_digits = (byte) 5
|
|
(byte) utoa::radix
|
|
(byte) utoa::started
|
|
(byte) utoa::started#2 reg byte x 5000.5
|
|
(byte) utoa::started#4 reg byte x 10001.0
|
|
(word) utoa::value
|
|
(word) utoa::value#0 value zp[2]:2 10001.0
|
|
(word) utoa::value#1 value zp[2]:2 551.0
|
|
(word) utoa::value#2 value zp[2]:2 5857.857142857143
|
|
(word) utoa::value#6 value zp[2]:2 15001.5
|
|
(word()) utoa_append((byte*) utoa_append::buffer , (word) utoa_append::value , (word) utoa_append::sub)
|
|
(label) utoa_append::@1
|
|
(label) utoa_append::@2
|
|
(label) utoa_append::@3
|
|
(label) utoa_append::@return
|
|
(byte*) utoa_append::buffer
|
|
(byte*) utoa_append::buffer#0 buffer zp[2]:18 13750.25
|
|
(byte) utoa_append::digit
|
|
(byte) utoa_append::digit#1 reg byte x 1.0000001E7
|
|
(byte) utoa_append::digit#2 reg byte x 1.00500015E7
|
|
(word) utoa_append::return
|
|
(word) utoa_append::return#0 return zp[2]:2 20002.0
|
|
(word) utoa_append::sub
|
|
(word) utoa_append::sub#0 sub zp[2]:22 3335000.5
|
|
(word) utoa_append::value
|
|
(word) utoa_append::value#0 value zp[2]:2 36667.33333333333
|
|
(word) utoa_append::value#1 value zp[2]:2 2.0000002E7
|
|
(word) utoa_append::value#2 value zp[2]:2 5018334.166666666
|
|
|
|
zp[2]:2 [ main::count#11 main::count#10 main::count#12 main::count#1 printf_uint::uvalue#0 utoa::value#2 utoa::value#6 utoa::value#1 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 ]
|
|
zp[2]:4 [ main::sc#8 main::sc#10 main::sc#1 ]
|
|
reg byte y [ mul8s::b#2 mul8s::b#1 mul8s::b#0 ]
|
|
zp[2]:6 [ mul8s::m#4 mul8s::m#5 mul8s::m#1 mul8s::m#0 mul8s::m#2 main::$10 mul8u::return#2 mul8u::res#2 mul8u::res#6 mul8u::res#1 ]
|
|
reg byte x [ mul8u::a#2 mul8u::a#1 mul8u::a#0 ]
|
|
zp[2]:8 [ cputs::s#3 cputs::s#4 cputs::s#0 mul8u::mb#2 mul8u::mb#0 mul8u::mb#1 ]
|
|
reg byte a [ cputc::c#3 cputc::c#0 cputc::c#2 ]
|
|
reg byte x [ memset::c#5 ]
|
|
zp[1]:10 [ utoa::digit#2 utoa::digit#1 mul8s::a#2 mul8s::a#1 mul8s::a#0 ]
|
|
reg byte x [ utoa::started#2 utoa::started#4 ]
|
|
reg byte x [ utoa_append::digit#2 utoa_append::digit#1 ]
|
|
zp[1]:11 [ conio_cursor_x main::y#2 main::y#1 ]
|
|
zp[1]:12 [ conio_cursor_y main::x#2 main::x#1 ]
|
|
zp[2]:13 [ conio_cursor_text cputln::$1 cscroll::$7 ]
|
|
zp[2]:15 [ conio_cursor_color cputln::$2 cscroll::$8 ]
|
|
reg byte a [ main::$5 ]
|
|
reg byte x [ main::xd#0 ]
|
|
reg byte a [ main::$7 ]
|
|
zp[1]:17 [ main::yd#0 ]
|
|
zp[2]:18 [ main::$9 main::dist_sq#0 utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 memcpy::source#2 memcpy::src#2 memcpy::src#4 memcpy::src#1 memset::num#3 memset::end#0 ]
|
|
reg byte a [ mul8u::b#0 ]
|
|
reg byte a [ mul8s::$6 ]
|
|
reg byte a [ mul8s::$11 ]
|
|
reg byte a [ mul8s::$9 ]
|
|
reg byte a [ mul8s::$12 ]
|
|
reg byte a [ mul8u::$1 ]
|
|
reg byte a [ cputs::c#1 ]
|
|
zp[2]:20 [ memcpy::src_end#0 ]
|
|
reg byte a [ printf_number_buffer::buffer_sign#0 ]
|
|
reg byte a [ utoa::$11 ]
|
|
reg byte a [ utoa::$10 ]
|
|
zp[2]:22 [ utoa::digit_value#0 utoa_append::sub#0 cputln::ln_offset#0 memcpy::destination#2 memcpy::dst#2 memcpy::dst#4 memcpy::dst#1 memset::str#4 memset::dst#2 memset::dst#4 memset::dst#1 ]
|
|
mem[12] [ printf_buffer ]
|