mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-25 20:32:25 +00:00
Using time-of-day in both 8 queens programs.
This commit is contained in:
parent
b82c3f0a07
commit
b10c365513
@ -5,6 +5,7 @@
|
||||
// This is a recursive solution
|
||||
|
||||
#include<stdio.h>
|
||||
#include<tod.h>
|
||||
|
||||
#define QUEENS 8
|
||||
#define PRINT_SOLUTIONS
|
||||
@ -18,8 +19,10 @@ unsigned long count = 0;
|
||||
void main() {
|
||||
printf_cls();
|
||||
printf(" - n queens problem using backtracking -");
|
||||
printf("\nNumber of queens:%u",QUEENS);
|
||||
printf("\nnumber of queens:%u",QUEENS);
|
||||
tod_init(TOD_ZERO);
|
||||
queen(1);
|
||||
printf("\nsolutions: %lu time: %s.\n",count,tod_str(tod_read()));
|
||||
}
|
||||
|
||||
// Generates all valid placements of queens on a NxN board recursively
|
||||
@ -31,10 +34,13 @@ __stackcall void queen(char row) {
|
||||
if(legal(r,column)) {
|
||||
//no conflicts so place queen
|
||||
board[r]=column;
|
||||
if(r==QUEENS)
|
||||
// we are done! Print the board configuration
|
||||
if(r==QUEENS) {
|
||||
// A solution! Print the board configuration
|
||||
count++;
|
||||
#ifdef PRINT_SOLUTIONS
|
||||
print();
|
||||
else {
|
||||
#endif
|
||||
} else {
|
||||
// Perform recussive placement on rows above
|
||||
// Push the local vars on the stack (waiting for proper recursion support)
|
||||
asm {
|
||||
@ -84,7 +90,7 @@ char diff(char a, char b) {
|
||||
|
||||
// Print the board with a legal placement. Also increments the solution count.
|
||||
void print() {
|
||||
printf("\n#%lu:\n ",++count);
|
||||
printf("\n#%lu:\n ",count);
|
||||
for(char i=1;i<=QUEENS;++i)
|
||||
printf("%x",i);
|
||||
for(char i=1;i<=QUEENS;++i) {
|
||||
|
@ -22,11 +22,9 @@ void main() {
|
||||
printf("\nnumber of queens:%u",QUEENS);
|
||||
tod_init(TOD_ZERO);
|
||||
queens();
|
||||
struct TIME_OF_DAY tod = tod_read();
|
||||
printf("\ntime: %s",tod_str(tod));
|
||||
printf("\nsolutions: %lu time: %s.\n",count,tod_str(tod_read()));
|
||||
}
|
||||
|
||||
|
||||
// Generates all valid placements of queens on a NxN board without recursion
|
||||
// Works exactly like the recursive solution by generating all legal placements af a queen for a specific row taking into consideration the queens already placed on the rows below
|
||||
// and then moving on to generating all legal placements on the rows above.
|
||||
|
@ -5,8 +5,7 @@
|
||||
void main() {
|
||||
tod_init(TOD_ZERO);
|
||||
while(1) {
|
||||
struct TIME_OF_DAY tod = tod_read();
|
||||
gotoxy(0,0);
|
||||
cputs(tod_str(tod));
|
||||
cputs(tod_str(tod_read()));
|
||||
}
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -3,8 +3,32 @@
|
||||
(label) @3
|
||||
(label) @begin
|
||||
(label) @end
|
||||
(const nomodify struct MOS6526_CIA*) CIA1 = (struct MOS6526_CIA*) 56320
|
||||
(const byte*) DIGITS[] = (byte*) "0123456789abcdef"z
|
||||
(byte) MOS6526_CIA::INTERRUPT
|
||||
(byte) MOS6526_CIA::PORT_A
|
||||
(byte) MOS6526_CIA::PORT_A_DDR
|
||||
(byte) MOS6526_CIA::PORT_B
|
||||
(byte) MOS6526_CIA::PORT_B_DDR
|
||||
(byte) MOS6526_CIA::SERIAL_DATA
|
||||
(word) MOS6526_CIA::TIMER_A
|
||||
(byte) MOS6526_CIA::TIMER_A_CONTROL
|
||||
(word) MOS6526_CIA::TIMER_B
|
||||
(byte) MOS6526_CIA::TIMER_B_CONTROL
|
||||
(byte) MOS6526_CIA::TOD_10THS
|
||||
(byte) MOS6526_CIA::TOD_HOURS
|
||||
(byte) MOS6526_CIA::TOD_MIN
|
||||
(byte) MOS6526_CIA::TOD_SEC
|
||||
(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_A_CONTROL = (byte) $e
|
||||
(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_B_CONTROL = (byte) $f
|
||||
(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_10THS = (byte) 8
|
||||
(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_HOURS = (byte) $b
|
||||
(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_MIN = (byte) $a
|
||||
(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_SEC = (byte) 9
|
||||
(const byte) OFFSET_STRUCT_PRINTF_BUFFER_NUMBER_DIGITS = (byte) 1
|
||||
(const byte) OFFSET_STRUCT_TIME_OF_DAY_HOURS = (byte) 3
|
||||
(const byte) OFFSET_STRUCT_TIME_OF_DAY_MIN = (byte) 2
|
||||
(const byte) OFFSET_STRUCT_TIME_OF_DAY_SEC = (byte) 1
|
||||
(const byte) RADIX::BINARY = (number) 2
|
||||
(const byte) RADIX::DECIMAL = (number) $a
|
||||
(const byte) RADIX::HEXADECIMAL = (number) $10
|
||||
@ -14,30 +38,35 @@
|
||||
(const byte*) RADIX_HEXADECIMAL_VALUES_CHAR[] = { (byte) $10 }
|
||||
(const byte) SIZEOF_STRUCT_PRINTF_BUFFER_NUMBER = (byte) $c
|
||||
(const word) STACK_BASE = (word) $103
|
||||
(byte) TIME_OF_DAY::HOURS
|
||||
(byte) TIME_OF_DAY::MIN
|
||||
(byte) TIME_OF_DAY::SEC
|
||||
(byte) TIME_OF_DAY::TENTHS
|
||||
(struct TIME_OF_DAY) TOD_ZERO loadstore mem[4] = { TENTHS: (byte) 0, SEC: (byte) 0, MIN: (byte) 0, HOURS: (byte) 0 }
|
||||
(const byte*) board[(number) $14] = { fill( $14, 0) }
|
||||
(dword) count loadstore zp[4]:20 0.5833333333333333
|
||||
(dword) count loadstore zp[4]:2 2.5316455699493675E9
|
||||
(byte()) diff((byte) diff::a , (byte) diff::b)
|
||||
(label) diff::@1
|
||||
(label) diff::@2
|
||||
(label) diff::@return
|
||||
(byte) diff::a
|
||||
(byte) diff::a#0 a zp[1]:29 1.000000000001E12
|
||||
(byte) diff::a#1 a zp[1]:29 1.000000000001E12
|
||||
(byte) diff::a#2 a zp[1]:29 1.60000000000025E13
|
||||
(byte) diff::a#0 a zp[1]:15 1.000000000001E12
|
||||
(byte) diff::a#1 a zp[1]:15 1.000000000001E12
|
||||
(byte) diff::a#2 a zp[1]:15 1.60000000000025E13
|
||||
(byte) diff::b
|
||||
(byte) diff::b#0 b zp[1]:24 2.000000000002E12
|
||||
(byte) diff::b#1 b zp[1]:24 2.000000000002E12
|
||||
(byte) diff::b#2 b zp[1]:24 1.60000000000025E13
|
||||
(byte) diff::b#0 b zp[1]:16 2.000000000002E12
|
||||
(byte) diff::b#1 b zp[1]:16 2.000000000002E12
|
||||
(byte) diff::b#2 b zp[1]:16 1.60000000000025E13
|
||||
(byte) diff::return
|
||||
(byte) diff::return#0 return zp[1]:35 2.000000000002E12
|
||||
(byte) diff::return#1 return_1 zp[1]:29 2.000000000002E12
|
||||
(byte) diff::return#2 return_1 zp[1]:29 2.0000000000002E13
|
||||
(byte) diff::return#3 return_1 zp[1]:29 2.0000000000002E13
|
||||
(byte) diff::return#4 return_1 zp[1]:29 5.500000000001E12
|
||||
(byte) diff::return#0 return zp[1]:36 2.000000000002E12
|
||||
(byte) diff::return#1 return_1 zp[1]:15 2.000000000002E12
|
||||
(byte) diff::return#2 return_1 zp[1]:15 2.0000000000002E13
|
||||
(byte) diff::return#3 return_1 zp[1]:15 2.0000000000002E13
|
||||
(byte) diff::return#4 return_1 zp[1]:15 5.500000000001E12
|
||||
(byte()) legal((byte) legal::row , (byte) legal::column)
|
||||
(byte~) legal::$0 zp[1]:34 2.000000000002E12
|
||||
(byte~) legal::$3 zp[1]:35 3.333333333336667E11
|
||||
(byte~) legal::$4 zp[1]:29 2.000000000002E12
|
||||
(byte~) legal::$0 zp[1]:35 2.000000000002E12
|
||||
(byte~) legal::$3 zp[1]:36 3.333333333336667E11
|
||||
(byte~) legal::$4 zp[1]:15 2.000000000002E12
|
||||
(label) legal::@1
|
||||
(label) legal::@2
|
||||
(label) legal::@3
|
||||
@ -46,24 +75,36 @@
|
||||
(label) legal::@6
|
||||
(label) legal::@return
|
||||
(byte) legal::column
|
||||
(byte) legal::column#0 column zp[1]:28 1.1666666666683334E11
|
||||
(byte) legal::column#0 column zp[1]:34 1.1666666666683334E11
|
||||
(byte) legal::i
|
||||
(byte) legal::i#1 i zp[1]:14 2.000000000002E12
|
||||
(byte) legal::i#2 i zp[1]:14 4.0000000000039996E11
|
||||
(byte) legal::i#1 i zp[1]:30 2.000000000002E12
|
||||
(byte) legal::i#2 i zp[1]:30 4.0000000000039996E11
|
||||
(byte) legal::return
|
||||
(byte) legal::return#0 return zp[1]:15 2.00000000002E11
|
||||
(byte) legal::return#4 return zp[1]:15 3.3333333333666668E10
|
||||
(byte) legal::return#0 return zp[1]:14 2.00000000002E11
|
||||
(byte) legal::return#4 return zp[1]:14 3.3333333333666668E10
|
||||
(byte) legal::row
|
||||
(byte) legal::row#0 row zp[1]:27 1.1052631578963158E11
|
||||
(byte) legal::row#0 row zp[1]:33 1.1052631578963158E11
|
||||
(void()) main()
|
||||
(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
|
||||
(const byte*) main::str[(byte) $29] = (byte*) " - n queens problem using backtracking -"
|
||||
(const byte*) main::str1[(byte) $13] = (byte*) "
|
||||
Number of queens:"
|
||||
number of queens:"
|
||||
(const byte*) main::str2[(byte) $d] = (byte*) "
|
||||
solutions: "
|
||||
(const byte*) main::str3[(byte) 8] = (byte*) " time: "
|
||||
(const byte*) main::str4[(byte) 3] = (byte*) ".
|
||||
"
|
||||
(void*()) memcpy((void*) memcpy::destination , (void*) memcpy::source , (word) memcpy::num)
|
||||
(label) memcpy::@1
|
||||
(label) memcpy::@2
|
||||
@ -71,16 +112,16 @@ Number of queens:"
|
||||
(void*) memcpy::destination
|
||||
(const void*) memcpy::destination#0 destination = (void*) 1024
|
||||
(byte*) memcpy::dst
|
||||
(byte*) memcpy::dst#1 dst zp[2]:2 1.0E43
|
||||
(byte*) memcpy::dst#2 dst zp[2]:2 1.0E43
|
||||
(byte*) memcpy::dst#1 dst zp[2]:10 1.0E43
|
||||
(byte*) memcpy::dst#2 dst zp[2]:10 1.0E43
|
||||
(word) memcpy::num
|
||||
(const word) memcpy::num#0 num = (word)(number) $28*(number) $19-(number) $28
|
||||
(void*) memcpy::return
|
||||
(void*) memcpy::source
|
||||
(const void*) memcpy::source#0 source = (void*)(number) $400+(number) $28
|
||||
(byte*) memcpy::src
|
||||
(byte*) memcpy::src#1 src zp[2]:25 2.0E43
|
||||
(byte*) memcpy::src#2 src zp[2]:25 1.0E43
|
||||
(byte*) memcpy::src#1 src zp[2]:31 2.0E43
|
||||
(byte*) memcpy::src#2 src zp[2]:31 1.0E43
|
||||
(byte*) memcpy::src_end
|
||||
(const byte*) memcpy::src_end#0 src_end = (byte*)(const void*) memcpy::source#0+(const word) memcpy::num#0
|
||||
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
|
||||
@ -89,18 +130,18 @@ Number of queens:"
|
||||
(label) memset::@3
|
||||
(label) memset::@return
|
||||
(byte) memset::c
|
||||
(byte) memset::c#4 c zp[1]:7 1.25E42
|
||||
(byte) memset::c#4 c zp[1]:14 1.25E42
|
||||
(byte*) memset::dst
|
||||
(byte*) memset::dst#1 dst zp[2]:2 2.0E43
|
||||
(byte*) memset::dst#2 dst zp[2]:2 1.3333333333333668E43
|
||||
(byte*) memset::dst#4 dst zp[2]:2 2.0E30
|
||||
(byte*) memset::dst#1 dst zp[2]:10 2.0E43
|
||||
(byte*) memset::dst#2 dst zp[2]:10 1.3333333333333668E43
|
||||
(byte*) memset::dst#4 dst zp[2]:10 2.0E30
|
||||
(byte*) memset::end
|
||||
(byte*) memset::end#0 end zp[2]:25 1.6666666666668335E42
|
||||
(byte*) memset::end#0 end zp[2]:31 1.6666666666668335E42
|
||||
(word) memset::num
|
||||
(word) memset::num#2 num zp[2]:25 1.0E30
|
||||
(word) memset::num#2 num zp[2]:31 1.0E30
|
||||
(void*) memset::return
|
||||
(void*) memset::str
|
||||
(void*) memset::str#3 str zp[2]:2
|
||||
(void*) memset::str#3 str zp[2]:10
|
||||
(void()) print()
|
||||
(label) print::@1
|
||||
(label) print::@10
|
||||
@ -118,14 +159,14 @@ Number of queens:"
|
||||
(label) print::@9
|
||||
(label) print::@return
|
||||
(byte) print::i
|
||||
(byte) print::i#1 i zp[1]:14 2.000000000002E12
|
||||
(byte) print::i#2 i zp[1]:14 1.000000000001E12
|
||||
(byte) print::i#1 i zp[1]:30 2.000000000002E12
|
||||
(byte) print::i#2 i zp[1]:30 1.000000000001E12
|
||||
(byte) print::i1
|
||||
(byte) print::i1#1 i1 zp[1]:14 2.000000000002E12
|
||||
(byte) print::i1#2 i1 zp[1]:14 1.0000000000003572E12
|
||||
(byte) print::i1#1 i1 zp[1]:30 2.000000000002E12
|
||||
(byte) print::i1#2 i1 zp[1]:30 1.0000000000003572E12
|
||||
(byte) print::j
|
||||
(byte) print::j#1 j zp[1]:35 2.0000000000002E13
|
||||
(byte) print::j#2 j zp[1]:35 5.714285714286286E12
|
||||
(byte) print::j#1 j zp[1]:29 2.0000000000002E13
|
||||
(byte) print::j#2 j zp[1]:29 5.714285714286286E12
|
||||
(const byte*) print::str[(byte) 3] = (byte*) "
|
||||
#"
|
||||
(const byte*) print::str1[(byte) 4] = (byte*) ":
|
||||
@ -141,16 +182,16 @@ Number of queens:"
|
||||
(label) printf_char::@1
|
||||
(label) printf_char::@return
|
||||
(byte) printf_char::ch
|
||||
(byte) printf_char::ch#0 ch zp[1]:5 2.0E27
|
||||
(byte) printf_char::ch#1 ch zp[1]:5 2.0E26
|
||||
(byte) printf_char::ch#2 ch zp[1]:5 2.00000000000002E14
|
||||
(byte) printf_char::ch#3 ch zp[1]:5 1.11000000000001E28
|
||||
(byte) printf_char::ch#0 ch zp[1]:15 2.0E27
|
||||
(byte) printf_char::ch#1 ch zp[1]:15 2.0E26
|
||||
(byte) printf_char::ch#2 ch zp[1]:15 2.00000000000002E14
|
||||
(byte) printf_char::ch#3 ch zp[1]:15 1.11000000000001E28
|
||||
(void()) printf_cls()
|
||||
(label) printf_cls::@1
|
||||
(label) printf_cls::@return
|
||||
(byte*) printf_cursor_ptr loadstore zp[2]:18 1.4683544303797465E27
|
||||
(byte) printf_cursor_x loadstore zp[1]:16 2.837837837837838E26
|
||||
(byte) printf_cursor_y loadstore zp[1]:17 2.0251572327044023E27
|
||||
(byte*) printf_cursor_ptr loadstore zp[2]:19 1.2340425531914892E27
|
||||
(byte) printf_cursor_x loadstore zp[1]:17 2.359550561797753E26
|
||||
(byte) printf_cursor_y loadstore zp[1]:18 1.7037037037037037E27
|
||||
(byte) printf_format_number::justify_left
|
||||
(byte) printf_format_number::min_length
|
||||
(byte) printf_format_number::radix
|
||||
@ -160,11 +201,11 @@ Number of queens:"
|
||||
(byte) printf_format_string::justify_left
|
||||
(byte) printf_format_string::min_length
|
||||
(void()) printf_ln()
|
||||
(byte*~) printf_ln::$0 zp[2]:18 2.0E27
|
||||
(byte*~) printf_ln::$1 zp[2]:18 2.0E27
|
||||
(byte*~) printf_ln::$0 zp[2]:19 2.0E27
|
||||
(byte*~) printf_ln::$1 zp[2]:19 2.0E27
|
||||
(label) printf_ln::@return
|
||||
(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)
|
||||
(word~) printf_number_buffer::$19 zp[2]:2 1.00000000000001E14
|
||||
(word~) printf_number_buffer::$19 zp[2]:10 1.00000000000001E14
|
||||
(label) printf_number_buffer::@1
|
||||
(label) printf_number_buffer::@10
|
||||
(label) printf_number_buffer::@11
|
||||
@ -191,45 +232,45 @@ Number of queens:"
|
||||
(byte*) printf_number_buffer::buffer_digits
|
||||
(byte*) printf_number_buffer::buffer_digits#10 buffer_digits zp[2]:12 1.0344827586207E13
|
||||
(byte) printf_number_buffer::buffer_sign
|
||||
(byte) printf_number_buffer::buffer_sign#0 buffer_sign zp[1]:35 202.0
|
||||
(byte) printf_number_buffer::buffer_sign#1 buffer_sign zp[1]:35 202.0
|
||||
(byte) printf_number_buffer::buffer_sign#10 buffer_sign zp[1]:35 1.55000000000103E13
|
||||
(byte) printf_number_buffer::buffer_sign#2 buffer_sign zp[1]:35 2.0000000000002E13
|
||||
(byte) printf_number_buffer::buffer_sign#0 buffer_sign zp[1]:22 202.0
|
||||
(byte) printf_number_buffer::buffer_sign#1 buffer_sign zp[1]:22 202.0
|
||||
(byte) printf_number_buffer::buffer_sign#10 buffer_sign zp[1]:22 1.55000000000103E13
|
||||
(byte) printf_number_buffer::buffer_sign#2 buffer_sign zp[1]:22 2.0000000000002E13
|
||||
(struct printf_format_number) printf_number_buffer::format
|
||||
(byte) printf_number_buffer::format_justify_left
|
||||
(byte) printf_number_buffer::format_justify_left#10 format_justify_left zp[1]:29 6.451612903225871E12
|
||||
(byte) printf_number_buffer::format_justify_left#10 format_justify_left zp[1]:36 6.451612903225871E12
|
||||
(byte) printf_number_buffer::format_min_length
|
||||
(byte) printf_number_buffer::format_min_length#3 format_min_length zp[1]:15 1.00000000000001E13
|
||||
(byte) printf_number_buffer::format_min_length#3 format_min_length zp[1]:16 1.00000000000001E13
|
||||
(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_upper_case#10 format_upper_case zp[1]:34 3.846153846153885E12
|
||||
(byte) printf_number_buffer::format_upper_case#10 format_upper_case zp[1]:23 3.846153846153885E12
|
||||
(byte) printf_number_buffer::format_zero_padding
|
||||
(byte) printf_number_buffer::format_zero_padding#10 format_zero_padding zp[1]:24 9.375000000000094E12
|
||||
(byte) printf_number_buffer::format_zero_padding#10 format_zero_padding zp[1]:21 9.375000000000094E12
|
||||
(signed byte) printf_number_buffer::len
|
||||
(signed byte) printf_number_buffer::len#0 len zp[1]:4 1.500000000000015E14
|
||||
(signed byte) printf_number_buffer::len#1 len zp[1]:4 2.00000000000002E14
|
||||
(signed byte) printf_number_buffer::len#2 len zp[1]:4 3.00000000000003E14
|
||||
(signed byte) printf_number_buffer::len#0 len zp[1]:14 1.500000000000015E14
|
||||
(signed byte) printf_number_buffer::len#1 len zp[1]:14 2.00000000000002E14
|
||||
(signed byte) printf_number_buffer::len#2 len zp[1]:14 3.00000000000003E14
|
||||
(signed byte) printf_number_buffer::padding
|
||||
(signed byte) printf_number_buffer::padding#1 padding zp[1]:15 1.00000000000001E14
|
||||
(signed byte) printf_number_buffer::padding#10 padding zp[1]:15 1.904761904761924E13
|
||||
(signed byte) printf_number_buffer::padding#1 padding zp[1]:16 1.00000000000001E14
|
||||
(signed byte) printf_number_buffer::padding#10 padding zp[1]:16 1.904761904761924E13
|
||||
(void()) printf_padding((byte) printf_padding::pad , (byte) printf_padding::length)
|
||||
(label) printf_padding::@1
|
||||
(label) printf_padding::@2
|
||||
(label) printf_padding::@3
|
||||
(label) printf_padding::@return
|
||||
(byte) printf_padding::i
|
||||
(byte) printf_padding::i#1 i zp[1]:6 2.0E27
|
||||
(byte) printf_padding::i#2 i zp[1]:6 7.500000000000001E26
|
||||
(byte) printf_padding::i#1 i zp[1]:29 2.0E27
|
||||
(byte) printf_padding::i#2 i zp[1]:29 7.500000000000001E26
|
||||
(byte) printf_padding::length
|
||||
(byte) printf_padding::length#0 length zp[1]:4 2.00000000000002E14
|
||||
(byte) printf_padding::length#1 length zp[1]:4 2.00000000000002E14
|
||||
(byte) printf_padding::length#2 length zp[1]:4 2.00000000000002E14
|
||||
(byte) printf_padding::length#4 length zp[1]:4 1.6666666666671665E26
|
||||
(byte) printf_padding::length#0 length zp[1]:24 2.00000000000002E14
|
||||
(byte) printf_padding::length#1 length zp[1]:24 2.00000000000002E14
|
||||
(byte) printf_padding::length#2 length zp[1]:24 2.00000000000002E14
|
||||
(byte) printf_padding::length#6 length zp[1]:24 1.6666666666671665E26
|
||||
(byte) printf_padding::pad
|
||||
(byte) printf_padding::pad#5 pad zp[1]:5 1.6666666666666666E26
|
||||
(byte) printf_padding::pad#7 pad zp[1]:15 1.6666666666666666E26
|
||||
(void()) printf_scroll()
|
||||
(byte*~) printf_scroll::$4 zp[2]:18 2.0E29
|
||||
(byte*~) printf_scroll::$4 zp[2]:19 2.0E29
|
||||
(label) printf_scroll::@1
|
||||
(label) printf_scroll::@2
|
||||
(label) printf_scroll::@3
|
||||
@ -242,12 +283,21 @@ Number of queens:"
|
||||
(label) printf_str::@5
|
||||
(label) printf_str::@return
|
||||
(byte) printf_str::ch
|
||||
(byte) printf_str::ch#0 ch zp[1]:5 1.0E26
|
||||
(byte) printf_str::ch#0 ch zp[1]:15 1.0E26
|
||||
(byte*) printf_str::str
|
||||
(byte*) printf_str::str#0 str zp[2]:12 4.285714285714285E25
|
||||
(byte*) printf_str::str#1 str zp[2]:12 2.00000000000002E14
|
||||
(byte*) printf_str::str#10 str zp[2]:12 2.000000000005E26
|
||||
(byte*) printf_str::str#11 str zp[2]:12 1.100000000000002E15
|
||||
(byte*) printf_str::str#13 str zp[2]:12 2.000000000005E26
|
||||
(byte*) printf_str::str#15 str zp[2]:12 1.100000000000002E15
|
||||
(void()) printf_string((byte*) printf_string::str , (byte) printf_string::format_min_length , (byte) printf_string::format_justify_left)
|
||||
(label) printf_string::@1
|
||||
(label) printf_string::@return
|
||||
(struct printf_format_string) printf_string::format
|
||||
(byte) printf_string::format_justify_left
|
||||
(byte) printf_string::format_min_length
|
||||
(signed byte) printf_string::len
|
||||
(signed byte) printf_string::padding
|
||||
(byte*) printf_string::str
|
||||
(void()) printf_uchar((byte) printf_uchar::uvalue , (byte) printf_uchar::format_min_length , (byte) printf_uchar::format_justify_left , (byte) printf_uchar::format_sign_always , (byte) printf_uchar::format_zero_padding , (byte) printf_uchar::format_upper_case , (byte) printf_uchar::format_radix)
|
||||
(label) printf_uchar::@1
|
||||
(label) printf_uchar::@2
|
||||
@ -260,9 +310,9 @@ Number of queens:"
|
||||
(byte) printf_uchar::format_upper_case
|
||||
(byte) printf_uchar::format_zero_padding
|
||||
(byte) printf_uchar::uvalue
|
||||
(byte) printf_uchar::uvalue#0 uvalue zp[1]:14 2.000000000002E12
|
||||
(byte) printf_uchar::uvalue#1 uvalue zp[1]:14 2.000000000002E12
|
||||
(byte) printf_uchar::uvalue#2 uvalue zp[1]:14 6.0000000000015E12
|
||||
(byte) printf_uchar::uvalue#0 uvalue zp[1]:30 2.000000000002E12
|
||||
(byte) printf_uchar::uvalue#1 uvalue zp[1]:30 2.000000000002E12
|
||||
(byte) printf_uchar::uvalue#2 uvalue zp[1]:30 6.0000000000015E12
|
||||
(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
|
||||
@ -286,20 +336,18 @@ Number of queens:"
|
||||
(label) printf_ulong::@return
|
||||
(struct printf_format_number) printf_ulong::format
|
||||
(byte) printf_ulong::format_justify_left
|
||||
(const byte) printf_ulong::format_justify_left#0 format_justify_left = (byte) 0
|
||||
(byte) printf_ulong::format_min_length
|
||||
(const byte) printf_ulong::format_min_length#0 format_min_length = (byte) 0
|
||||
(byte) printf_ulong::format_radix
|
||||
(byte) printf_ulong::format_sign_always
|
||||
(byte) printf_ulong::format_upper_case
|
||||
(const byte) printf_ulong::format_upper_case#0 format_upper_case = (byte) 0
|
||||
(byte) printf_ulong::format_zero_padding
|
||||
(const byte) printf_ulong::format_zero_padding#0 format_zero_padding = (byte) 0
|
||||
(dword) printf_ulong::uvalue
|
||||
(dword) printf_ulong::uvalue#0 uvalue zp[4]:8 37.33333333333333
|
||||
(dword) printf_ulong::uvalue#0 uvalue zp[4]:2 22.0
|
||||
(dword) printf_ulong::uvalue#1 uvalue zp[4]:2 22.0
|
||||
(dword) printf_ulong::uvalue#2 uvalue zp[4]:2 61.5
|
||||
__stackcall (void()) queen((byte) queen::row)
|
||||
(byte~) queen::$1 zp[1]:15 2.00000000002E11
|
||||
(byte~) queen::$4 zp[1]:27 2.00000000002E11
|
||||
(byte~) queen::$1 zp[1]:14 2.00000000002E11
|
||||
(byte~) queen::$4 zp[1]:33 2.00000000002E11
|
||||
(label) queen::@1
|
||||
(label) queen::@2
|
||||
(label) queen::@3
|
||||
@ -309,45 +357,108 @@ __stackcall (void()) queen((byte) queen::row)
|
||||
(label) queen::@7
|
||||
(label) queen::@return
|
||||
(const byte) queen::OFFSET_STACK_ROW = (byte) 0
|
||||
(byte) queen::column loadstore zp[1]:28 2.9411764706823532E10
|
||||
(byte) queen::r loadstore zp[1]:27 2.1052631579736843E10
|
||||
(byte) queen::column loadstore zp[1]:34 2.9411764706823532E10
|
||||
(byte) queen::r loadstore zp[1]:33 2.1052631579736843E10
|
||||
(byte) queen::row
|
||||
(byte) queen::row#0 row zp[1]:27 22.0
|
||||
(byte) queen::row#0 row zp[1]:33 22.0
|
||||
(word()) strlen((byte*) strlen::str)
|
||||
(label) strlen::@1
|
||||
(label) strlen::@2
|
||||
(label) strlen::@return
|
||||
(word) strlen::len
|
||||
(word) strlen::len#1 len zp[2]:2 1.0E27
|
||||
(word) strlen::len#2 len zp[2]:2 5.00000000000025E26
|
||||
(word) strlen::len#1 len zp[2]:10 1.0E27
|
||||
(word) strlen::len#2 len zp[2]:10 5.00000000000025E26
|
||||
(word) strlen::return
|
||||
(word) strlen::return#2 return zp[2]:2 2.00000000000002E14
|
||||
(word) strlen::return#2 return zp[2]:10 2.00000000000002E14
|
||||
(byte*) strlen::str
|
||||
(byte*) strlen::str#0 str zp[2]:25 2.0E27
|
||||
(byte*) strlen::str#1 str zp[2]:25 5.50000000000001E14
|
||||
(byte*) strlen::str#2 str zp[2]:25 1.0000000000003332E27
|
||||
(byte*) strlen::str#0 str zp[2]:31 2.0E27
|
||||
(byte*) strlen::str#1 str zp[2]:31 5.50000000000001E14
|
||||
(byte*) strlen::str#3 str zp[2]:31 1.0000000000003332E27
|
||||
(byte*()) strupr((byte*) strupr::str)
|
||||
(byte~) strupr::$0 zp[1]:4 2.0E27
|
||||
(byte~) strupr::$0 zp[1]:15 2.0E27
|
||||
(label) strupr::@1
|
||||
(label) strupr::@2
|
||||
(label) strupr::@3
|
||||
(label) strupr::@return
|
||||
(byte*) strupr::return
|
||||
(byte*) strupr::src
|
||||
(byte*) strupr::src#1 src zp[2]:25 2.0E27
|
||||
(byte*) strupr::src#2 src zp[2]:25 7.142857142858572E26
|
||||
(byte*) strupr::src#1 src zp[2]:31 2.0E27
|
||||
(byte*) strupr::src#2 src zp[2]:31 7.142857142858572E26
|
||||
(byte*) strupr::str
|
||||
(byte*) strupr::str#0 str zp[2]:25 5.50000000000001E14
|
||||
(byte*) strupr::str#0 str zp[2]:31 5.50000000000001E14
|
||||
(const byte*) tod_buffer[] = (byte*) "00:00:00:00"
|
||||
(void()) tod_init((byte) tod_init::tod_TENTHS , (byte) tod_init::tod_SEC , (byte) tod_init::tod_MIN , (byte) tod_init::tod_HOURS)
|
||||
(label) tod_init::@return
|
||||
(struct TIME_OF_DAY) tod_init::tod
|
||||
(byte) tod_init::tod_HOURS
|
||||
(byte) tod_init::tod_HOURS#0 tod_HOURS zp[1]:23 37.33333333333333
|
||||
(byte) tod_init::tod_MIN
|
||||
(byte) tod_init::tod_MIN#0 tod_MIN zp[1]:22 22.4
|
||||
(byte) tod_init::tod_SEC
|
||||
(byte) tod_init::tod_SEC#0 tod_SEC zp[1]:21 16.0
|
||||
(byte) tod_init::tod_TENTHS
|
||||
(byte) tod_init::tod_TENTHS#0 tod_TENTHS zp[1]:36 12.444444444444443
|
||||
(struct TIME_OF_DAY()) tod_read()
|
||||
(label) tod_read::@return
|
||||
(byte) tod_read::hours
|
||||
(byte) tod_read::mins
|
||||
(struct TIME_OF_DAY) tod_read::return
|
||||
(byte) tod_read::return_HOURS
|
||||
(byte) tod_read::return_HOURS#0 return_HOURS zp[1]:24 12.444444444444443
|
||||
(byte) tod_read::return_HOURS#2 return_HOURS zp[1]:24 5.5
|
||||
(byte) tod_read::return_MIN
|
||||
(byte) tod_read::return_MIN#0 return_MIN zp[1]:23 16.0
|
||||
(byte) tod_read::return_MIN#2 return_MIN zp[1]:23 5.5
|
||||
(byte) tod_read::return_SEC
|
||||
(byte) tod_read::return_SEC#0 return_SEC zp[1]:22 22.4
|
||||
(byte) tod_read::return_SEC#2 return_SEC zp[1]:22 5.5
|
||||
(byte) tod_read::return_TENTHS
|
||||
(byte) tod_read::return_TENTHS#0 return_TENTHS zp[1]:21 37.33333333333333
|
||||
(byte) tod_read::return_TENTHS#2 return_TENTHS zp[1]:21 5.5
|
||||
(byte) tod_read::secs
|
||||
(byte) tod_read::tenths
|
||||
(byte) tod_read::tod_HOURS
|
||||
(byte) tod_read::tod_MIN
|
||||
(byte) tod_read::tod_SEC
|
||||
(byte) tod_read::tod_TENTHS
|
||||
(byte*()) tod_str((byte) tod_str::tod_TENTHS , (byte) tod_str::tod_SEC , (byte) tod_str::tod_MIN , (byte) tod_str::tod_HOURS)
|
||||
(byte~) tod_str::$0 zp[1]:35 202.0
|
||||
(byte~) tod_str::$1 zp[1]:35 202.0
|
||||
(byte~) tod_str::$10 zp[1]:22 202.0
|
||||
(byte~) tod_str::$11 zp[1]:22 202.0
|
||||
(byte~) tod_str::$12 zp[1]:33 202.0
|
||||
(byte~) tod_str::$13 zp[1]:33 202.0
|
||||
(byte~) tod_str::$14 zp[1]:21 202.0
|
||||
(byte~) tod_str::$15 zp[1]:21 202.0
|
||||
(byte~) tod_str::$2 zp[1]:24 202.0
|
||||
(byte~) tod_str::$3 zp[1]:24 202.0
|
||||
(byte~) tod_str::$4 zp[1]:29 202.0
|
||||
(byte~) tod_str::$5 zp[1]:29 202.0
|
||||
(byte~) tod_str::$6 zp[1]:23 202.0
|
||||
(byte~) tod_str::$7 zp[1]:23 202.0
|
||||
(byte~) tod_str::$8 zp[1]:30 202.0
|
||||
(byte~) tod_str::$9 zp[1]:30 202.0
|
||||
(label) tod_str::@return
|
||||
(byte*) tod_str::return
|
||||
(struct TIME_OF_DAY) tod_str::tod
|
||||
(byte) tod_str::tod_HOURS
|
||||
(byte) tod_str::tod_HOURS#0 tod_HOURS zp[1]:24 53.25
|
||||
(byte) tod_str::tod_MIN
|
||||
(byte) tod_str::tod_MIN#0 tod_MIN zp[1]:23 19.363636363636363
|
||||
(byte) tod_str::tod_SEC
|
||||
(byte) tod_str::tod_SEC#0 tod_SEC zp[1]:22 11.833333333333332
|
||||
(byte) tod_str::tod_TENTHS
|
||||
(byte) tod_str::tod_TENTHS#0 tod_TENTHS zp[1]:21 8.52
|
||||
(byte()) toupper((byte) toupper::ch)
|
||||
(label) toupper::@1
|
||||
(label) toupper::@2
|
||||
(label) toupper::@return
|
||||
(byte) toupper::ch
|
||||
(byte) toupper::ch#0 ch zp[1]:4 1.6999999999999998E28
|
||||
(byte) toupper::ch#0 ch zp[1]:15 1.6999999999999998E28
|
||||
(byte) toupper::return
|
||||
(byte) toupper::return#0 return zp[1]:4 2.0E28
|
||||
(byte) toupper::return#2 return zp[1]:4 1.0333333333333333E28
|
||||
(byte) toupper::return#3 return zp[1]:4 2.0E27
|
||||
(byte) toupper::return#0 return zp[1]:15 2.0E28
|
||||
(byte) toupper::return#2 return zp[1]:15 1.0333333333333333E28
|
||||
(byte) toupper::return#3 return zp[1]:15 2.0E27
|
||||
(void()) uctoa((byte) uctoa::value , (byte*) uctoa::buffer , (byte) uctoa::radix)
|
||||
(label) uctoa::@1
|
||||
(label) uctoa::@2
|
||||
@ -363,21 +474,21 @@ __stackcall (void()) queen((byte) queen::row)
|
||||
(byte*) uctoa::buffer#3 buffer zp[2]:12 2.00000000000002E14
|
||||
(byte*) uctoa::buffer#4 buffer zp[2]:12 2.0E26
|
||||
(byte) uctoa::digit
|
||||
(byte) uctoa::digit#1 digit zp[1]:34 2.0E26
|
||||
(byte) uctoa::digit#2 digit zp[1]:34 3.076923076923077E25
|
||||
(byte) uctoa::digit#1 digit zp[1]:14 2.0E26
|
||||
(byte) uctoa::digit#2 digit zp[1]:14 3.076923076923077E25
|
||||
(byte) uctoa::digit_value
|
||||
(byte) uctoa::digit_value#0 digit_value zp[1]:29 6.000000000000001E25
|
||||
(byte) uctoa::digit_value#0 digit_value zp[1]:35 6.000000000000001E25
|
||||
(byte*) uctoa::digit_values
|
||||
(byte) uctoa::max_digits
|
||||
(byte) uctoa::radix
|
||||
(byte) uctoa::started
|
||||
(byte) uctoa::started#2 started zp[1]:5 6.000000000000001E25
|
||||
(byte) uctoa::started#4 started zp[1]:5 1.0E26
|
||||
(byte) uctoa::started#2 started zp[1]:16 6.000000000000001E25
|
||||
(byte) uctoa::started#4 started zp[1]:16 1.0E26
|
||||
(byte) uctoa::value
|
||||
(byte) uctoa::value#0 value zp[1]:4 1.0E26
|
||||
(byte) uctoa::value#1 value zp[1]:4 5.5000000000001E13
|
||||
(byte) uctoa::value#2 value zp[1]:4 6.666666666670001E25
|
||||
(byte) uctoa::value#6 value zp[1]:4 1.5000000000000002E26
|
||||
(byte) uctoa::value#0 value zp[1]:15 1.0E26
|
||||
(byte) uctoa::value#1 value zp[1]:15 5.5000000000001E13
|
||||
(byte) uctoa::value#2 value zp[1]:15 6.666666666670001E25
|
||||
(byte) uctoa::value#6 value zp[1]:15 1.5000000000000002E26
|
||||
(byte()) uctoa_append((byte*) uctoa_append::buffer , (byte) uctoa_append::value , (byte) uctoa_append::sub)
|
||||
(label) uctoa_append::@1
|
||||
(label) uctoa_append::@2
|
||||
@ -386,19 +497,19 @@ __stackcall (void()) queen((byte) queen::row)
|
||||
(byte*) uctoa_append::buffer
|
||||
(byte*) uctoa_append::buffer#0 buffer zp[2]:12 1.3750000000000001E26
|
||||
(byte) uctoa_append::digit
|
||||
(byte) uctoa_append::digit#1 digit zp[1]:6 1.0E40
|
||||
(byte) uctoa_append::digit#2 digit zp[1]:6 1.00000000000005E40
|
||||
(byte) uctoa_append::digit#1 digit zp[1]:36 1.0E40
|
||||
(byte) uctoa_append::digit#2 digit zp[1]:36 1.00000000000005E40
|
||||
(byte) uctoa_append::return
|
||||
(byte) uctoa_append::return#0 return zp[1]:4 2.0E26
|
||||
(byte) uctoa_append::return#0 return zp[1]:15 2.0E26
|
||||
(byte) uctoa_append::sub
|
||||
(byte) uctoa_append::sub#0 sub zp[1]:29 3.33333333333335E39
|
||||
(byte) uctoa_append::sub#0 sub zp[1]:35 3.33333333333335E39
|
||||
(byte) uctoa_append::value
|
||||
(byte) uctoa_append::value#0 value zp[1]:4 3.666666666666667E26
|
||||
(byte) uctoa_append::value#1 value zp[1]:4 2.0E40
|
||||
(byte) uctoa_append::value#2 value zp[1]:4 5.0000000000001833E39
|
||||
(byte) uctoa_append::value#0 value zp[1]:15 3.666666666666667E26
|
||||
(byte) uctoa_append::value#1 value zp[1]:15 2.0E40
|
||||
(byte) uctoa_append::value#2 value zp[1]:15 5.0000000000001833E39
|
||||
(void()) ultoa((dword) ultoa::value , (byte*) ultoa::buffer , (byte) ultoa::radix)
|
||||
(byte~) ultoa::$10 zp[1]:34 2.00000000000002E14
|
||||
(byte~) ultoa::$11 zp[1]:29 2002.0
|
||||
(byte~) ultoa::$10 zp[1]:35 2.00000000000002E14
|
||||
(byte~) ultoa::$11 zp[1]:24 2002.0
|
||||
(label) ultoa::@1
|
||||
(label) ultoa::@2
|
||||
(label) ultoa::@3
|
||||
@ -413,22 +524,21 @@ __stackcall (void()) queen((byte) queen::row)
|
||||
(byte*) ultoa::buffer#3 buffer zp[2]:12 2002.0
|
||||
(byte*) ultoa::buffer#4 buffer zp[2]:12 2.00000000000002E14
|
||||
(byte) ultoa::digit
|
||||
(byte) ultoa::digit#1 digit zp[1]:7 2.00000000000002E14
|
||||
(byte) ultoa::digit#2 digit zp[1]:7 2.8571428571428855E13
|
||||
(byte) ultoa::digit#1 digit zp[1]:16 2.00000000000002E14
|
||||
(byte) ultoa::digit#2 digit zp[1]:16 2.8571428571428855E13
|
||||
(dword) ultoa::digit_value
|
||||
(dword) ultoa::digit_value#0 digit_value zp[4]:30 6.000000000000059E13
|
||||
(dword) ultoa::digit_value#0 digit_value zp[4]:25 6.000000000000059E13
|
||||
(dword*) ultoa::digit_values
|
||||
(byte) ultoa::max_digits
|
||||
(const byte) ultoa::max_digits#1 max_digits = (byte) $a
|
||||
(byte) ultoa::radix
|
||||
(byte) ultoa::started
|
||||
(byte) ultoa::started#2 started zp[1]:15 5.00000000000005E13
|
||||
(byte) ultoa::started#4 started zp[1]:15 1.00000000000001E14
|
||||
(byte) ultoa::started#2 started zp[1]:36 5.00000000000005E13
|
||||
(byte) ultoa::started#4 started zp[1]:36 1.00000000000001E14
|
||||
(dword) ultoa::value
|
||||
(dword) ultoa::value#0 value zp[4]:8 1.00000000000001E14
|
||||
(dword) ultoa::value#1 value zp[4]:8 551.0
|
||||
(dword) ultoa::value#2 value zp[4]:8 5.714285714300071E13
|
||||
(dword) ultoa::value#6 value zp[4]:8 1.500000000000015E14
|
||||
(dword) ultoa::value#0 value zp[4]:6 1.00000000000001E14
|
||||
(dword) ultoa::value#1 value zp[4]:6 551.0
|
||||
(dword) ultoa::value#2 value zp[4]:6 5.714285714300071E13
|
||||
(dword) ultoa::value#6 value zp[4]:6 1.500000000000015E14
|
||||
(dword()) ultoa_append((byte*) ultoa_append::buffer , (dword) ultoa_append::value , (dword) ultoa_append::sub)
|
||||
(label) ultoa_append::@1
|
||||
(label) ultoa_append::@2
|
||||
@ -437,19 +547,19 @@ __stackcall (void()) queen((byte) queen::row)
|
||||
(byte*) ultoa_append::buffer
|
||||
(byte*) ultoa_append::buffer#0 buffer zp[2]:12 1.3750000000000025E14
|
||||
(byte) ultoa_append::digit
|
||||
(byte) ultoa_append::digit#1 digit zp[1]:29 1.0E27
|
||||
(byte) ultoa_append::digit#2 digit zp[1]:29 1.0000000000005E27
|
||||
(byte) ultoa_append::digit#1 digit zp[1]:21 1.0E27
|
||||
(byte) ultoa_append::digit#2 digit zp[1]:21 1.0000000000005E27
|
||||
(dword) ultoa_append::return
|
||||
(dword) ultoa_append::return#0 return zp[4]:8 2.00000000000002E14
|
||||
(dword) ultoa_append::return#0 return zp[4]:6 2.00000000000002E14
|
||||
(dword) ultoa_append::sub
|
||||
(dword) ultoa_append::sub#0 sub zp[4]:30 3.3333333333335E26
|
||||
(dword) ultoa_append::sub#0 sub zp[4]:25 3.3333333333335E26
|
||||
(dword) ultoa_append::value
|
||||
(dword) ultoa_append::value#0 value zp[4]:8 3.666666666666674E14
|
||||
(dword) ultoa_append::value#1 value zp[4]:8 2.0E27
|
||||
(dword) ultoa_append::value#2 value zp[4]:8 5.0000000000018335E26
|
||||
(dword) ultoa_append::value#0 value zp[4]:6 3.666666666666674E14
|
||||
(dword) ultoa_append::value#1 value zp[4]:6 2.0E27
|
||||
(dword) ultoa_append::value#2 value zp[4]:6 5.0000000000018335E26
|
||||
(void()) utoa((word) utoa::value , (byte*) utoa::buffer , (byte) utoa::radix)
|
||||
(byte~) utoa::$10 zp[1]:27 20002.0
|
||||
(byte~) utoa::$11 zp[1]:24 2002.0
|
||||
(byte~) utoa::$10 zp[1]:30 20002.0
|
||||
(byte~) utoa::$11 zp[1]:29 2002.0
|
||||
(label) utoa::@1
|
||||
(label) utoa::@2
|
||||
(label) utoa::@3
|
||||
@ -459,64 +569,66 @@ __stackcall (void()) queen((byte) queen::row)
|
||||
(label) utoa::@7
|
||||
(label) utoa::@return
|
||||
(byte*) utoa::buffer
|
||||
(byte*) utoa::buffer#11 buffer zp[2]:2 3000.4285714285716
|
||||
(byte*) utoa::buffer#14 buffer zp[2]:2 15001.5
|
||||
(byte*) utoa::buffer#3 buffer zp[2]:2 2002.0
|
||||
(byte*) utoa::buffer#4 buffer zp[2]:2 20002.0
|
||||
(byte*) utoa::buffer#11 buffer zp[2]:12 3000.4285714285716
|
||||
(byte*) utoa::buffer#14 buffer zp[2]:12 15001.5
|
||||
(byte*) utoa::buffer#3 buffer zp[2]:12 2002.0
|
||||
(byte*) utoa::buffer#4 buffer zp[2]:12 20002.0
|
||||
(byte) utoa::digit
|
||||
(byte) utoa::digit#1 digit zp[1]:15 20002.0
|
||||
(byte) utoa::digit#2 digit zp[1]:15 2857.4285714285716
|
||||
(byte) utoa::digit#1 digit zp[1]:22 20002.0
|
||||
(byte) utoa::digit#2 digit zp[1]:22 2857.4285714285716
|
||||
(word) utoa::digit_value
|
||||
(word) utoa::digit_value#0 digit_value zp[2]:25 6000.6
|
||||
(word) utoa::digit_value#0 digit_value zp[2]:31 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 started zp[1]:29 5000.5
|
||||
(byte) utoa::started#4 started zp[1]:29 10001.0
|
||||
(byte) utoa::started#2 started zp[1]:23 5000.5
|
||||
(byte) utoa::started#4 started zp[1]:23 10001.0
|
||||
(word) utoa::value
|
||||
(word) utoa::value#0 value zp[2]:12 10001.0
|
||||
(word) utoa::value#2 value zp[2]:12 5714.857142857143
|
||||
(word) utoa::value#6 value zp[2]:12 15001.5
|
||||
(word) utoa::value#0 value zp[2]:10 10001.0
|
||||
(word) utoa::value#2 value zp[2]:10 5714.857142857143
|
||||
(word) utoa::value#6 value zp[2]:10 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]:2 13750.25
|
||||
(byte*) utoa_append::buffer#0 buffer zp[2]:12 13750.25
|
||||
(byte) utoa_append::digit
|
||||
(byte) utoa_append::digit#1 digit zp[1]:24 1.0000001E7
|
||||
(byte) utoa_append::digit#2 digit zp[1]:24 1.00500015E7
|
||||
(word) utoa_append::return
|
||||
(word) utoa_append::return#0 return zp[2]:12 20002.0
|
||||
(word) utoa_append::return#0 return zp[2]:10 20002.0
|
||||
(word) utoa_append::sub
|
||||
(word) utoa_append::sub#0 sub zp[2]:25 3335000.5
|
||||
(word) utoa_append::sub#0 sub zp[2]:31 3335000.5
|
||||
(word) utoa_append::value
|
||||
(word) utoa_append::value#0 value zp[2]:12 36667.33333333333
|
||||
(word) utoa_append::value#1 value zp[2]:12 2.0000002E7
|
||||
(word) utoa_append::value#2 value zp[2]:12 5018334.166666666
|
||||
(word) utoa_append::value#0 value zp[2]:10 36667.33333333333
|
||||
(word) utoa_append::value#1 value zp[2]:10 2.0000002E7
|
||||
(word) utoa_append::value#2 value zp[2]:10 5018334.166666666
|
||||
|
||||
zp[2]:2 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 strlen::len#2 strlen::len#1 strlen::return#2 printf_number_buffer::$19 memcpy::dst#2 memcpy::dst#1 memset::str#3 memset::dst#2 memset::dst#4 memset::dst#1 ]
|
||||
zp[1]:4 [ uctoa::value#2 uctoa::value#6 uctoa::value#1 uctoa::value#0 uctoa_append::value#2 uctoa_append::value#0 uctoa_append::value#1 uctoa_append::return#0 printf_number_buffer::len#2 printf_number_buffer::len#0 printf_number_buffer::len#1 toupper::return#2 toupper::return#0 toupper::ch#0 toupper::return#3 strupr::$0 printf_padding::length#4 printf_padding::length#1 printf_padding::length#2 printf_padding::length#0 ]
|
||||
zp[1]:5 [ uctoa::started#2 uctoa::started#4 printf_padding::pad#5 printf_char::ch#3 printf_char::ch#2 printf_char::ch#0 printf_char::ch#1 printf_str::ch#0 ]
|
||||
zp[1]:6 [ uctoa_append::digit#2 uctoa_append::digit#1 printf_padding::i#2 printf_padding::i#1 ]
|
||||
zp[1]:7 [ ultoa::digit#2 ultoa::digit#1 memset::c#4 ]
|
||||
zp[4]:8 [ ultoa::value#2 ultoa::value#6 ultoa::value#1 ultoa::value#0 ultoa_append::value#2 ultoa_append::value#0 ultoa_append::value#1 printf_ulong::uvalue#0 ultoa_append::return#0 ]
|
||||
zp[2]:12 [ ultoa::buffer#11 ultoa::buffer#14 ultoa::buffer#4 ultoa::buffer#3 ultoa_append::buffer#0 uctoa::buffer#11 uctoa::buffer#14 uctoa::buffer#4 uctoa::buffer#3 uctoa_append::buffer#0 utoa::value#2 utoa::value#6 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 printf_number_buffer::buffer_digits#10 printf_str::str#10 printf_str::str#11 printf_str::str#1 printf_str::str#0 ]
|
||||
zp[1]:14 [ legal::i#2 legal::i#1 print::i#2 print::i#1 printf_uchar::uvalue#2 printf_uchar::uvalue#1 printf_uchar::uvalue#0 print::i1#2 print::i1#1 ]
|
||||
zp[1]:15 [ legal::return#4 legal::return#0 queen::$1 ultoa::started#2 ultoa::started#4 utoa::digit#2 utoa::digit#1 printf_number_buffer::format_min_length#3 printf_number_buffer::padding#10 printf_number_buffer::padding#1 ]
|
||||
zp[1]:16 [ printf_cursor_x ]
|
||||
zp[1]:17 [ printf_cursor_y ]
|
||||
zp[2]:18 [ printf_cursor_ptr printf_scroll::$4 printf_ln::$0 printf_ln::$1 ]
|
||||
zp[4]:20 [ count ]
|
||||
zp[1]:24 [ utoa::$11 diff::b#2 diff::b#0 diff::b#1 utoa_append::digit#2 utoa_append::digit#1 printf_number_buffer::format_zero_padding#10 ]
|
||||
zp[2]:25 [ utoa::digit_value#0 utoa_append::sub#0 strlen::str#2 strlen::str#1 strlen::str#0 strupr::src#2 strupr::str#0 strupr::src#1 memcpy::src#2 memcpy::src#1 memset::num#2 memset::end#0 ]
|
||||
zp[1]:27 [ queen::row#0 queen::r legal::row#0 queen::$4 utoa::$10 ]
|
||||
zp[1]:28 [ queen::column legal::column#0 ]
|
||||
zp[1]:29 [ ultoa::$11 uctoa::digit_value#0 uctoa_append::sub#0 diff::a#2 diff::a#0 diff::a#1 diff::return#4 diff::return#2 diff::return#3 diff::return#1 legal::$4 ultoa_append::digit#2 ultoa_append::digit#1 utoa::started#2 utoa::started#4 printf_number_buffer::format_justify_left#10 ]
|
||||
zp[4]:30 [ ultoa::digit_value#0 ultoa_append::sub#0 ]
|
||||
zp[1]:34 [ legal::$0 ultoa::$10 uctoa::digit#2 uctoa::digit#1 printf_number_buffer::format_upper_case#10 ]
|
||||
zp[1]:35 [ diff::return#0 legal::$3 print::j#2 print::j#1 printf_number_buffer::buffer_sign#10 printf_number_buffer::buffer_sign#2 printf_number_buffer::buffer_sign#1 printf_number_buffer::buffer_sign#0 ]
|
||||
zp[4]:2 [ printf_ulong::uvalue#2 printf_ulong::uvalue#0 printf_ulong::uvalue#1 count ]
|
||||
zp[4]:6 [ ultoa::value#2 ultoa::value#6 ultoa::value#1 ultoa::value#0 ultoa_append::value#2 ultoa_append::value#0 ultoa_append::value#1 ultoa_append::return#0 ]
|
||||
zp[2]:10 [ utoa::value#2 utoa::value#6 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 strlen::len#2 strlen::len#1 strlen::return#2 printf_number_buffer::$19 memcpy::dst#2 memcpy::dst#1 memset::str#3 memset::dst#2 memset::dst#4 memset::dst#1 ]
|
||||
zp[2]:12 [ uctoa::buffer#11 uctoa::buffer#14 uctoa::buffer#4 uctoa::buffer#3 uctoa_append::buffer#0 utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 ultoa::buffer#11 ultoa::buffer#14 ultoa::buffer#4 ultoa::buffer#3 ultoa_append::buffer#0 printf_str::str#13 printf_str::str#15 printf_str::str#1 printf_str::str#0 printf_number_buffer::buffer_digits#10 ]
|
||||
zp[1]:14 [ legal::return#4 legal::return#0 queen::$1 uctoa::digit#2 uctoa::digit#1 printf_number_buffer::len#2 printf_number_buffer::len#0 printf_number_buffer::len#1 memset::c#4 ]
|
||||
zp[1]:15 [ diff::a#2 diff::a#0 diff::a#1 diff::return#4 diff::return#2 diff::return#3 diff::return#1 legal::$4 uctoa::value#2 uctoa::value#6 uctoa::value#1 uctoa::value#0 uctoa_append::value#2 uctoa_append::value#0 uctoa_append::value#1 uctoa_append::return#0 toupper::return#2 toupper::return#0 toupper::ch#0 toupper::return#3 strupr::$0 printf_char::ch#3 printf_char::ch#2 printf_char::ch#0 printf_char::ch#1 printf_padding::pad#7 printf_str::ch#0 ]
|
||||
zp[1]:16 [ diff::b#2 diff::b#0 diff::b#1 uctoa::started#2 uctoa::started#4 ultoa::digit#2 ultoa::digit#1 printf_number_buffer::format_min_length#3 printf_number_buffer::padding#10 printf_number_buffer::padding#1 ]
|
||||
zp[1]:17 [ printf_cursor_x ]
|
||||
zp[1]:18 [ printf_cursor_y ]
|
||||
zp[2]:19 [ printf_cursor_ptr printf_scroll::$4 printf_ln::$0 printf_ln::$1 ]
|
||||
zp[1]:21 [ tod_read::return_TENTHS#2 tod_str::tod_TENTHS#0 tod_read::return_TENTHS#0 tod_str::$14 tod_str::$15 tod_init::tod_SEC#0 ultoa_append::digit#2 ultoa_append::digit#1 printf_number_buffer::format_zero_padding#10 ]
|
||||
zp[1]:22 [ tod_read::return_SEC#2 tod_str::tod_SEC#0 tod_read::return_SEC#0 tod_str::$10 tod_str::$11 tod_init::tod_MIN#0 utoa::digit#2 utoa::digit#1 printf_number_buffer::buffer_sign#10 printf_number_buffer::buffer_sign#2 printf_number_buffer::buffer_sign#1 printf_number_buffer::buffer_sign#0 ]
|
||||
zp[1]:23 [ tod_read::return_MIN#2 tod_str::tod_MIN#0 tod_read::return_MIN#0 tod_str::$6 tod_str::$7 tod_init::tod_HOURS#0 utoa::started#2 utoa::started#4 printf_number_buffer::format_upper_case#10 ]
|
||||
zp[1]:24 [ ultoa::$11 tod_read::return_HOURS#2 tod_str::tod_HOURS#0 tod_read::return_HOURS#0 tod_str::$2 tod_str::$3 utoa_append::digit#2 utoa_append::digit#1 printf_padding::length#6 printf_padding::length#1 printf_padding::length#2 printf_padding::length#0 ]
|
||||
zp[4]:25 [ ultoa::digit_value#0 ultoa_append::sub#0 ]
|
||||
zp[1]:29 [ utoa::$11 tod_str::$4 tod_str::$5 print::j#2 print::j#1 printf_padding::i#2 printf_padding::i#1 ]
|
||||
zp[1]:30 [ utoa::$10 tod_str::$8 tod_str::$9 legal::i#2 legal::i#1 print::i#2 print::i#1 printf_uchar::uvalue#2 printf_uchar::uvalue#1 printf_uchar::uvalue#0 print::i1#2 print::i1#1 ]
|
||||
zp[2]:31 [ utoa::digit_value#0 utoa_append::sub#0 strlen::str#3 strlen::str#1 strlen::str#0 strupr::src#2 strupr::str#0 strupr::src#1 memcpy::src#2 memcpy::src#1 memset::num#2 memset::end#0 ]
|
||||
zp[1]:33 [ queen::row#0 queen::r legal::row#0 queen::$4 tod_str::$12 tod_str::$13 ]
|
||||
zp[1]:34 [ queen::column legal::column#0 ]
|
||||
zp[1]:35 [ legal::$0 uctoa::digit_value#0 uctoa_append::sub#0 tod_str::$0 tod_str::$1 ultoa::$10 ]
|
||||
zp[1]:36 [ diff::return#0 legal::$3 tod_init::tod_TENTHS#0 uctoa_append::digit#2 uctoa_append::digit#1 ultoa::started#2 ultoa::started#4 printf_number_buffer::format_justify_left#10 ]
|
||||
mem[12] [ printf_buffer ]
|
||||
mem[4] [ TOD_ZERO ]
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -43,8 +43,8 @@
|
||||
(struct TIME_OF_DAY) TOD_ZERO loadstore mem[4] = { TENTHS: (byte) 0, SEC: (byte) 0, MIN: (byte) 0, HOURS: (byte) 0 }
|
||||
(const byte*) board[(number) $14] = { fill( $14, 0) }
|
||||
(dword) count
|
||||
(dword) count#14 count zp[4]:2 572.0
|
||||
(dword) count#22 count zp[4]:2 413.89655172413796
|
||||
(dword) count#10 count zp[4]:2 276.51724137931035
|
||||
(dword) count#25 count zp[4]:2 413.89655172413796
|
||||
(byte()) legal((byte) legal::row , (byte) legal::column)
|
||||
(byte~) legal::$0 reg byte x 2000002.0
|
||||
(label) legal::@1
|
||||
@ -54,7 +54,7 @@
|
||||
(label) legal::@5
|
||||
(label) legal::@return
|
||||
(byte) legal::column
|
||||
(byte) legal::column#0 column zp[1]:27 235353.23529411765
|
||||
(byte) legal::column#0 column zp[1]:31 235353.23529411765
|
||||
(label) legal::diff1
|
||||
(label) legal::diff1_@1
|
||||
(label) legal::diff1_@3
|
||||
@ -63,9 +63,9 @@
|
||||
(byte) legal::diff1_a#0 reg byte a 2000002.0
|
||||
(byte) legal::diff1_b
|
||||
(byte) legal::diff1_return
|
||||
(byte) legal::diff1_return#0 diff1_return zp[1]:11 2000002.0
|
||||
(byte) legal::diff1_return#1 diff1_return zp[1]:11 2000002.0
|
||||
(byte) legal::diff1_return#2 diff1_return zp[1]:11 600000.6000000001
|
||||
(byte) legal::diff1_return#0 diff1_return zp[1]:32 2000002.0
|
||||
(byte) legal::diff1_return#1 diff1_return zp[1]:32 2000002.0
|
||||
(byte) legal::diff1_return#2 diff1_return zp[1]:32 600000.6000000001
|
||||
(label) legal::diff2
|
||||
(label) legal::diff2_@1
|
||||
(label) legal::diff2_@3
|
||||
@ -83,9 +83,12 @@
|
||||
(byte) legal::return#0 reg byte a 2002.0
|
||||
(byte) legal::return#4 reg byte a 333.6666666666667
|
||||
(byte) legal::row
|
||||
(byte) legal::row#0 row zp[1]:12 222278.05555555556
|
||||
(byte) legal::row#0 row zp[1]:24 222278.05555555556
|
||||
(void()) main()
|
||||
(label) main::@1
|
||||
(label) main::@10
|
||||
(label) main::@11
|
||||
(label) main::@12
|
||||
(label) main::@2
|
||||
(label) main::@3
|
||||
(label) main::@4
|
||||
@ -98,16 +101,11 @@
|
||||
(const byte*) main::str[(byte) $29] = (byte*) " - n queens problem using backtracking -"
|
||||
(const byte*) main::str1[(byte) $13] = (byte*) "
|
||||
number of queens:"
|
||||
(const byte*) main::str2[(byte) 8] = (byte*) "
|
||||
time: "
|
||||
(byte) main::tod_HOURS
|
||||
(byte) main::tod_HOURS#0 reg byte a 5.5
|
||||
(byte) main::tod_MIN
|
||||
(byte) main::tod_MIN#0 tod_MIN zp[1]:23 5.5
|
||||
(byte) main::tod_SEC
|
||||
(byte) main::tod_SEC#0 reg byte x 5.5
|
||||
(byte) main::tod_TENTHS
|
||||
(byte) main::tod_TENTHS#0 reg byte y 5.5
|
||||
(const byte*) main::str2[(byte) $d] = (byte*) "
|
||||
solutions: "
|
||||
(const byte*) main::str3[(byte) 8] = (byte*) " time: "
|
||||
(const byte*) main::str4[(byte) 3] = (byte*) ".
|
||||
"
|
||||
(void*()) memcpy((void*) memcpy::destination , (void*) memcpy::source , (word) memcpy::num)
|
||||
(label) memcpy::@1
|
||||
(label) memcpy::@2
|
||||
@ -123,8 +121,8 @@ time: "
|
||||
(void*) memcpy::source
|
||||
(const void*) memcpy::source#0 source = (void*)(number) $400+(number) $28
|
||||
(byte*) memcpy::src
|
||||
(byte*) memcpy::src#1 src zp[2]:15 2.0E19
|
||||
(byte*) memcpy::src#2 src zp[2]:15 1.0E19
|
||||
(byte*) memcpy::src#1 src zp[2]:16 2.0E19
|
||||
(byte*) memcpy::src#2 src zp[2]:16 1.0E19
|
||||
(byte*) memcpy::src_end
|
||||
(const byte*) memcpy::src_end#0 src_end = (byte*)(const void*) memcpy::source#0+(const word) memcpy::num#0
|
||||
(void*()) memset((void*) memset::str , (byte) memset::c , (word) memset::num)
|
||||
@ -139,9 +137,9 @@ time: "
|
||||
(byte*) memset::dst#2 dst zp[2]:33 1.33666666666666656E17
|
||||
(byte*) memset::dst#4 dst zp[2]:33 2.000000000000002E15
|
||||
(byte*) memset::end
|
||||
(byte*) memset::end#0 end zp[2]:15 1.6833333333333332E16
|
||||
(byte*) memset::end#0 end zp[2]:16 1.6833333333333332E16
|
||||
(word) memset::num
|
||||
(word) memset::num#2 num zp[2]:15 1.000000000000001E15
|
||||
(word) memset::num#2 num zp[2]:16 1.000000000000001E15
|
||||
(void*) memset::return
|
||||
(void*) memset::str
|
||||
(void*) memset::str#3 str zp[2]:33
|
||||
@ -162,14 +160,14 @@ time: "
|
||||
(label) print::@9
|
||||
(label) print::@return
|
||||
(byte) print::i
|
||||
(byte) print::i#1 i zp[1]:11 2000002.0
|
||||
(byte) print::i#2 i zp[1]:11 1000001.0
|
||||
(byte) print::i#1 i zp[1]:25 2000002.0
|
||||
(byte) print::i#2 i zp[1]:25 1000001.0
|
||||
(byte) print::i1
|
||||
(byte) print::i1#1 i1 zp[1]:21 2000002.0
|
||||
(byte) print::i1#2 i1 zp[1]:21 1000000.357142857
|
||||
(byte) print::i1#1 i1 zp[1]:26 2000002.0
|
||||
(byte) print::i1#2 i1 zp[1]:26 1000000.357142857
|
||||
(byte) print::j
|
||||
(byte) print::j#1 j zp[1]:22 2.0000002E7
|
||||
(byte) print::j#2 j zp[1]:22 5714286.285714285
|
||||
(byte) print::j#1 j zp[1]:10 2.0000002E7
|
||||
(byte) print::j#2 j zp[1]:10 5714286.285714285
|
||||
(const byte*) print::str[(byte) 3] = (byte*) "
|
||||
#"
|
||||
(const byte*) print::str1[(byte) 4] = (byte*) ":
|
||||
@ -192,9 +190,9 @@ time: "
|
||||
(void()) printf_cls()
|
||||
(label) printf_cls::@1
|
||||
(label) printf_cls::@return
|
||||
(byte*) printf_cursor_ptr loadstore zp[2]:19 1.2788888888894998E12
|
||||
(byte) printf_cursor_x loadstore zp[1]:17 2.3647058823593533E11
|
||||
(byte) printf_cursor_y loadstore zp[1]:18 1.769060773481271E12
|
||||
(byte*) printf_cursor_ptr loadstore zp[2]:20 1.251086956522337E12
|
||||
(byte) printf_cursor_x loadstore zp[1]:18 2.3103448275924713E11
|
||||
(byte) printf_cursor_y loadstore zp[1]:19 1.7308108108114055E12
|
||||
(byte) printf_format_number::justify_left
|
||||
(byte) printf_format_number::min_length
|
||||
(byte) printf_format_number::radix
|
||||
@ -204,8 +202,8 @@ time: "
|
||||
(byte) printf_format_string::justify_left
|
||||
(byte) printf_format_string::min_length
|
||||
(void()) printf_ln()
|
||||
(byte*~) printf_ln::$0 zp[2]:19 2.00000000002E11
|
||||
(byte*~) printf_ln::$1 zp[2]:19 2.00000000002E11
|
||||
(byte*~) printf_ln::$0 zp[2]:20 2.00000000002E11
|
||||
(byte*~) printf_ln::$1 zp[2]:20 2.00000000002E11
|
||||
(label) printf_ln::@return
|
||||
(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)
|
||||
(word~) printf_number_buffer::$19 zp[2]:33 1.00000001E8
|
||||
@ -233,47 +231,47 @@ time: "
|
||||
(label) printf_number_buffer::@return
|
||||
(struct printf_buffer_number) printf_number_buffer::buffer
|
||||
(byte*) printf_number_buffer::buffer_digits
|
||||
(byte*) printf_number_buffer::buffer_digits#10 buffer_digits zp[2]:13 1.0344827689655172E7
|
||||
(byte*) printf_number_buffer::buffer_digits#10 buffer_digits zp[2]:14 1.0344827689655172E7
|
||||
(byte) printf_number_buffer::buffer_sign
|
||||
(byte) printf_number_buffer::buffer_sign#0 buffer_sign zp[1]:28 200002.0
|
||||
(byte) printf_number_buffer::buffer_sign#1 buffer_sign zp[1]:28 202.0
|
||||
(byte) printf_number_buffer::buffer_sign#10 buffer_sign zp[1]:28 1.55050053E7
|
||||
(byte) printf_number_buffer::buffer_sign#2 buffer_sign zp[1]:28 2.0000002E7
|
||||
(byte) printf_number_buffer::buffer_sign#0 buffer_sign zp[1]:11 200002.0
|
||||
(byte) printf_number_buffer::buffer_sign#1 buffer_sign zp[1]:11 202.0
|
||||
(byte) printf_number_buffer::buffer_sign#10 buffer_sign zp[1]:11 1.55050053E7
|
||||
(byte) printf_number_buffer::buffer_sign#2 buffer_sign zp[1]:11 2.0000002E7
|
||||
(struct printf_format_number) printf_number_buffer::format
|
||||
(byte) printf_number_buffer::format_justify_left
|
||||
(byte) printf_number_buffer::format_justify_left#10 format_justify_left zp[1]:22 6451612.9677419355
|
||||
(byte) printf_number_buffer::format_justify_left#10 format_justify_left zp[1]:31 6451612.9677419355
|
||||
(byte) printf_number_buffer::format_min_length
|
||||
(byte) printf_number_buffer::format_min_length#3 reg byte x 1.00000001E7
|
||||
(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_upper_case#10 format_upper_case zp[1]:23 3846153.8846153845
|
||||
(byte) printf_number_buffer::format_upper_case#10 format_upper_case zp[1]:12 3846153.8846153845
|
||||
(byte) printf_number_buffer::format_zero_padding
|
||||
(byte) printf_number_buffer::format_zero_padding#10 format_zero_padding zp[1]:6 9375000.09375
|
||||
(byte) printf_number_buffer::format_zero_padding#10 format_zero_padding zp[1]:10 9375000.09375
|
||||
(signed byte) printf_number_buffer::len
|
||||
(signed byte) printf_number_buffer::len#0 reg byte y 1.500000015E8
|
||||
(signed byte) printf_number_buffer::len#1 reg byte y 2.00000002E8
|
||||
(signed byte) printf_number_buffer::len#2 reg byte y 3.00000003E8
|
||||
(signed byte) printf_number_buffer::padding
|
||||
(signed byte) printf_number_buffer::padding#1 padding zp[1]:24 1.00000001E8
|
||||
(signed byte) printf_number_buffer::padding#10 padding zp[1]:24 1.904761923809524E7
|
||||
(signed byte) printf_number_buffer::padding#1 padding zp[1]:32 1.00000001E8
|
||||
(signed byte) printf_number_buffer::padding#10 padding zp[1]:32 1.904761923809524E7
|
||||
(void()) printf_padding((byte) printf_padding::pad , (byte) printf_padding::length)
|
||||
(label) printf_padding::@1
|
||||
(label) printf_padding::@2
|
||||
(label) printf_padding::@3
|
||||
(label) printf_padding::@return
|
||||
(byte) printf_padding::i
|
||||
(byte) printf_padding::i#1 i zp[1]:27 2.000000000002E12
|
||||
(byte) printf_padding::i#2 i zp[1]:27 7.5000000000075E11
|
||||
(byte) printf_padding::i#1 i zp[1]:23 2.000000000002E12
|
||||
(byte) printf_padding::i#2 i zp[1]:23 7.5000000000075E11
|
||||
(byte) printf_padding::length
|
||||
(byte) printf_padding::length#0 length zp[1]:25 2.00000002E8
|
||||
(byte) printf_padding::length#1 length zp[1]:25 2.00000002E8
|
||||
(byte) printf_padding::length#2 length zp[1]:25 2.00000002E8
|
||||
(byte) printf_padding::length#6 length zp[1]:25 1.6671666666733334E11
|
||||
(byte) printf_padding::length#0 length zp[1]:13 2.00000002E8
|
||||
(byte) printf_padding::length#1 length zp[1]:13 2.00000002E8
|
||||
(byte) printf_padding::length#2 length zp[1]:13 2.00000002E8
|
||||
(byte) printf_padding::length#6 length zp[1]:13 1.6671666666733334E11
|
||||
(byte) printf_padding::pad
|
||||
(byte) printf_padding::pad#7 pad zp[1]:26 1.6666666666683334E11
|
||||
(byte) printf_padding::pad#7 pad zp[1]:22 1.6666666666683334E11
|
||||
(void()) printf_scroll()
|
||||
(byte*~) printf_scroll::$4 zp[2]:19 2.00000000000002E14
|
||||
(byte*~) printf_scroll::$4 zp[2]:20 2.00000000000002E14
|
||||
(label) printf_scroll::@1
|
||||
(label) printf_scroll::@2
|
||||
(label) printf_scroll::@3
|
||||
@ -288,10 +286,10 @@ time: "
|
||||
(byte) printf_str::ch
|
||||
(byte) printf_str::ch#0 reg byte a 1.0000000001E10
|
||||
(byte*) printf_str::str
|
||||
(byte*) printf_str::str#0 str zp[2]:13 4.2857142861428566E9
|
||||
(byte*) printf_str::str#1 str zp[2]:13 2.00000002E8
|
||||
(byte*) printf_str::str#11 str zp[2]:13 2.05000000025E10
|
||||
(byte*) printf_str::str#13 str zp[2]:13 1.100000002E9
|
||||
(byte*) printf_str::str#0 str zp[2]:14 4.2857142861428566E9
|
||||
(byte*) printf_str::str#1 str zp[2]:14 2.00000002E8
|
||||
(byte*) printf_str::str#13 str zp[2]:14 2.05000000025E10
|
||||
(byte*) printf_str::str#15 str zp[2]:14 1.100000002E9
|
||||
(void()) printf_string((byte*) printf_string::str , (byte) printf_string::format_min_length , (byte) printf_string::format_justify_left)
|
||||
(label) printf_string::@1
|
||||
(label) printf_string::@return
|
||||
@ -339,17 +337,15 @@ time: "
|
||||
(label) printf_ulong::@return
|
||||
(struct printf_format_number) printf_ulong::format
|
||||
(byte) printf_ulong::format_justify_left
|
||||
(const byte) printf_ulong::format_justify_left#0 format_justify_left = (byte) 0
|
||||
(byte) printf_ulong::format_min_length
|
||||
(const byte) printf_ulong::format_min_length#0 format_min_length = (byte) 0
|
||||
(byte) printf_ulong::format_radix
|
||||
(byte) printf_ulong::format_sign_always
|
||||
(byte) printf_ulong::format_upper_case
|
||||
(const byte) printf_ulong::format_upper_case#0 format_upper_case = (byte) 0
|
||||
(byte) printf_ulong::format_zero_padding
|
||||
(const byte) printf_ulong::format_zero_padding#0 format_zero_padding = (byte) 0
|
||||
(dword) printf_ulong::uvalue
|
||||
(dword) printf_ulong::uvalue#0 uvalue zp[4]:2 36667.33333333333
|
||||
(dword) printf_ulong::uvalue#0 uvalue zp[4]:2 22.0
|
||||
(dword) printf_ulong::uvalue#1 uvalue zp[4]:2 20002.0
|
||||
(dword) printf_ulong::uvalue#2 uvalue zp[4]:2 55006.5
|
||||
(void()) queens()
|
||||
(byte~) queens::$2 reg byte a 2002.0
|
||||
(label) queens::@1
|
||||
@ -363,9 +359,9 @@ time: "
|
||||
(label) queens::@9
|
||||
(label) queens::@return
|
||||
(byte) queens::row
|
||||
(byte) queens::row#1 row zp[1]:12 2002.0
|
||||
(byte) queens::row#10 row zp[1]:12 1144.0
|
||||
(byte) queens::row#2 row zp[1]:12 2002.0
|
||||
(byte) queens::row#1 row zp[1]:24 2002.0
|
||||
(byte) queens::row#10 row zp[1]:24 1144.0
|
||||
(byte) queens::row#2 row zp[1]:24 2002.0
|
||||
(word()) strlen((byte*) strlen::str)
|
||||
(label) strlen::@1
|
||||
(label) strlen::@2
|
||||
@ -376,9 +372,9 @@ time: "
|
||||
(word) strlen::return
|
||||
(word) strlen::return#2 return zp[2]:33 2.00000002E8
|
||||
(byte*) strlen::str
|
||||
(byte*) strlen::str#0 str zp[2]:15 2.000000000002E12
|
||||
(byte*) strlen::str#1 str zp[2]:15 5.50000001E8
|
||||
(byte*) strlen::str#3 str zp[2]:15 1.0003333333346667E12
|
||||
(byte*) strlen::str#0 str zp[2]:16 2.000000000002E12
|
||||
(byte*) strlen::str#1 str zp[2]:16 5.50000001E8
|
||||
(byte*) strlen::str#3 str zp[2]:16 1.0003333333346667E12
|
||||
(byte*()) strupr((byte*) strupr::str)
|
||||
(byte~) strupr::$0 reg byte a 2.000000000002E12
|
||||
(label) strupr::@1
|
||||
@ -387,10 +383,10 @@ time: "
|
||||
(label) strupr::@return
|
||||
(byte*) strupr::return
|
||||
(byte*) strupr::src
|
||||
(byte*) strupr::src#1 src zp[2]:15 2.000000000002E12
|
||||
(byte*) strupr::src#2 src zp[2]:15 7.144285714294285E11
|
||||
(byte*) strupr::src#1 src zp[2]:16 2.000000000002E12
|
||||
(byte*) strupr::src#2 src zp[2]:16 7.144285714294285E11
|
||||
(byte*) strupr::str
|
||||
(byte*) strupr::str#0 str zp[2]:15 5.50000001E8
|
||||
(byte*) strupr::str#0 str zp[2]:16 5.50000001E8
|
||||
(const byte*) tod_buffer[] = (byte*) "00:00:00:00"
|
||||
(void()) tod_init((byte) tod_init::tod_TENTHS , (byte) tod_init::tod_SEC , (byte) tod_init::tod_MIN , (byte) tod_init::tod_HOURS)
|
||||
(label) tod_init::@return
|
||||
@ -400,20 +396,20 @@ time: "
|
||||
(byte) tod_init::tod_MIN
|
||||
(byte) tod_init::tod_MIN#0 reg byte x 22.4
|
||||
(byte) tod_init::tod_SEC
|
||||
(byte) tod_init::tod_SEC#0 tod_SEC zp[1]:22 16.0
|
||||
(byte) tod_init::tod_SEC#0 tod_SEC zp[1]:23 16.0
|
||||
(byte) tod_init::tod_TENTHS
|
||||
(byte) tod_init::tod_TENTHS#0 tod_TENTHS zp[1]:21 12.444444444444443
|
||||
(byte) tod_init::tod_TENTHS#0 tod_TENTHS zp[1]:22 12.444444444444443
|
||||
(struct TIME_OF_DAY()) tod_read()
|
||||
(label) tod_read::@return
|
||||
(byte) tod_read::hours
|
||||
(byte) tod_read::mins
|
||||
(struct TIME_OF_DAY) tod_read::return
|
||||
(byte) tod_read::return_HOURS
|
||||
(byte) tod_read::return_HOURS#0 return_HOURS zp[1]:24 12.444444444444443
|
||||
(byte) tod_read::return_HOURS#2 return_HOURS zp[1]:24 5.5
|
||||
(byte) tod_read::return_HOURS#0 return_HOURS zp[1]:31 12.444444444444443
|
||||
(byte) tod_read::return_HOURS#2 reg byte a 5.5
|
||||
(byte) tod_read::return_MIN
|
||||
(byte) tod_read::return_MIN#0 reg byte a 16.0
|
||||
(byte) tod_read::return_MIN#2 return_MIN zp[1]:23 5.5
|
||||
(byte) tod_read::return_MIN#2 return_MIN zp[1]:24 5.5
|
||||
(byte) tod_read::return_SEC
|
||||
(byte) tod_read::return_SEC#0 reg byte x 22.4
|
||||
(byte) tod_read::return_SEC#2 reg byte x 5.5
|
||||
@ -474,21 +470,21 @@ time: "
|
||||
(label) uctoa::@7
|
||||
(label) uctoa::@return
|
||||
(byte*) uctoa::buffer
|
||||
(byte*) uctoa::buffer#11 buffer zp[2]:13 3.3350000000500004E10
|
||||
(byte*) uctoa::buffer#14 buffer zp[2]:13 1.500000000015E11
|
||||
(byte*) uctoa::buffer#3 buffer zp[2]:13 2.00000002E8
|
||||
(byte*) uctoa::buffer#4 buffer zp[2]:13 2.00000000002E11
|
||||
(byte*) uctoa::buffer#11 buffer zp[2]:33 3.3350000000500004E10
|
||||
(byte*) uctoa::buffer#14 buffer zp[2]:33 1.500000000015E11
|
||||
(byte*) uctoa::buffer#3 buffer zp[2]:33 2.00000002E8
|
||||
(byte*) uctoa::buffer#4 buffer zp[2]:33 2.00000000002E11
|
||||
(byte) uctoa::digit
|
||||
(byte) uctoa::digit#1 digit zp[1]:22 2.00000000002E11
|
||||
(byte) uctoa::digit#2 digit zp[1]:22 3.076923076953846E10
|
||||
(byte) uctoa::digit#1 digit zp[1]:11 2.00000000002E11
|
||||
(byte) uctoa::digit#2 digit zp[1]:11 3.076923076953846E10
|
||||
(byte) uctoa::digit_value
|
||||
(byte) uctoa::digit_value#0 digit_value zp[1]:28 6.0000000000600006E10
|
||||
(byte) uctoa::digit_value#0 digit_value zp[1]:32 6.0000000000600006E10
|
||||
(byte*) uctoa::digit_values
|
||||
(byte) uctoa::max_digits
|
||||
(byte) uctoa::radix
|
||||
(byte) uctoa::started
|
||||
(byte) uctoa::started#2 started zp[1]:6 6.0000000000600006E10
|
||||
(byte) uctoa::started#4 started zp[1]:6 1.00000000001E11
|
||||
(byte) uctoa::started#2 started zp[1]:12 6.0000000000600006E10
|
||||
(byte) uctoa::started#4 started zp[1]:12 1.00000000001E11
|
||||
(byte) uctoa::value
|
||||
(byte) uctoa::value#0 reg byte x 1.00000000001E11
|
||||
(byte) uctoa::value#1 reg byte x 5.5000001E7
|
||||
@ -500,14 +496,14 @@ time: "
|
||||
(label) uctoa_append::@3
|
||||
(label) uctoa_append::@return
|
||||
(byte*) uctoa_append::buffer
|
||||
(byte*) uctoa_append::buffer#0 buffer zp[2]:13 1.3750000000025E11
|
||||
(byte*) uctoa_append::buffer#0 buffer zp[2]:33 1.3750000000025E11
|
||||
(byte) uctoa_append::digit
|
||||
(byte) uctoa_append::digit#1 reg byte y 1.0E16
|
||||
(byte) uctoa_append::digit#2 reg byte y 1.00005E16
|
||||
(byte) uctoa_append::return
|
||||
(byte) uctoa_append::return#0 reg byte x 2.00000000002E11
|
||||
(byte) uctoa_append::sub
|
||||
(byte) uctoa_append::sub#0 sub zp[1]:28 3.33335E15
|
||||
(byte) uctoa_append::sub#0 sub zp[1]:32 3.33335E15
|
||||
(byte) uctoa_append::value
|
||||
(byte) uctoa_append::value#0 reg byte x 3.666666666673334E11
|
||||
(byte) uctoa_append::value#1 reg byte x 2.0E16
|
||||
@ -524,45 +520,44 @@ time: "
|
||||
(label) ultoa::@7
|
||||
(label) ultoa::@return
|
||||
(byte*) ultoa::buffer
|
||||
(byte*) ultoa::buffer#11 buffer zp[2]:33 2.871428614285714E7
|
||||
(byte*) ultoa::buffer#14 buffer zp[2]:33 1.500000015E8
|
||||
(byte*) ultoa::buffer#3 buffer zp[2]:33 2000002.0
|
||||
(byte*) ultoa::buffer#4 buffer zp[2]:33 2.00000002E8
|
||||
(byte*) ultoa::buffer#11 buffer zp[2]:14 2.871428614285714E7
|
||||
(byte*) ultoa::buffer#14 buffer zp[2]:14 1.500000015E8
|
||||
(byte*) ultoa::buffer#3 buffer zp[2]:14 2000002.0
|
||||
(byte*) ultoa::buffer#4 buffer zp[2]:14 2.00000002E8
|
||||
(byte) ultoa::digit
|
||||
(byte) ultoa::digit#1 digit zp[1]:28 2.00000002E8
|
||||
(byte) ultoa::digit#2 digit zp[1]:28 2.857142885714286E7
|
||||
(byte) ultoa::digit#1 digit zp[1]:31 2.00000002E8
|
||||
(byte) ultoa::digit#2 digit zp[1]:31 2.857142885714286E7
|
||||
(dword) ultoa::digit_value
|
||||
(dword) ultoa::digit_value#0 digit_value zp[4]:29 6.0000000599999994E7
|
||||
(dword) ultoa::digit_value#0 digit_value zp[4]:27 6.0000000599999994E7
|
||||
(dword*) ultoa::digit_values
|
||||
(byte) ultoa::max_digits
|
||||
(const byte) ultoa::max_digits#1 max_digits = (byte) $a
|
||||
(byte) ultoa::radix
|
||||
(byte) ultoa::started
|
||||
(byte) ultoa::started#2 reg byte x 5.00000005E7
|
||||
(byte) ultoa::started#4 reg byte x 1.00000001E8
|
||||
(dword) ultoa::value
|
||||
(dword) ultoa::value#0 value zp[4]:7 1.00000001E8
|
||||
(dword) ultoa::value#1 value zp[4]:7 550001.0
|
||||
(dword) ultoa::value#2 value zp[4]:7 5.7285715E7
|
||||
(dword) ultoa::value#6 value zp[4]:7 1.500000015E8
|
||||
(dword) ultoa::value#0 value zp[4]:6 1.00000001E8
|
||||
(dword) ultoa::value#1 value zp[4]:6 550001.0
|
||||
(dword) ultoa::value#2 value zp[4]:6 5.7285715E7
|
||||
(dword) ultoa::value#6 value zp[4]:6 1.500000015E8
|
||||
(dword()) ultoa_append((byte*) ultoa_append::buffer , (dword) ultoa_append::value , (dword) ultoa_append::sub)
|
||||
(label) ultoa_append::@1
|
||||
(label) ultoa_append::@2
|
||||
(label) ultoa_append::@3
|
||||
(label) ultoa_append::@return
|
||||
(byte*) ultoa_append::buffer
|
||||
(byte*) ultoa_append::buffer#0 buffer zp[2]:33 1.3750000025E8
|
||||
(byte*) ultoa_append::buffer#0 buffer zp[2]:14 1.3750000025E8
|
||||
(byte) ultoa_append::digit
|
||||
(byte) ultoa_append::digit#1 reg byte x 1.000000000001E12
|
||||
(byte) ultoa_append::digit#2 reg byte x 1.0005000000015E12
|
||||
(dword) ultoa_append::return
|
||||
(dword) ultoa_append::return#0 return zp[4]:7 2.00000002E8
|
||||
(dword) ultoa_append::return#0 return zp[4]:6 2.00000002E8
|
||||
(dword) ultoa_append::sub
|
||||
(dword) ultoa_append::sub#0 sub zp[4]:29 3.333500000005E11
|
||||
(dword) ultoa_append::sub#0 sub zp[4]:27 3.333500000005E11
|
||||
(dword) ultoa_append::value
|
||||
(dword) ultoa_append::value#0 value zp[4]:7 3.666666673333334E8
|
||||
(dword) ultoa_append::value#1 value zp[4]:7 2.000000000002E12
|
||||
(dword) ultoa_append::value#2 value zp[4]:7 5.0018333333416675E11
|
||||
(dword) ultoa_append::value#0 value zp[4]:6 3.666666673333334E8
|
||||
(dword) ultoa_append::value#1 value zp[4]:6 2.000000000002E12
|
||||
(dword) ultoa_append::value#2 value zp[4]:6 5.0018333333416675E11
|
||||
(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
|
||||
@ -575,13 +570,13 @@ time: "
|
||||
(label) utoa::@7
|
||||
(label) utoa::@return
|
||||
(byte*) utoa::buffer
|
||||
(byte*) utoa::buffer#11 buffer zp[2]:15 3000.4285714285716
|
||||
(byte*) utoa::buffer#14 buffer zp[2]:15 15001.5
|
||||
(byte*) utoa::buffer#3 buffer zp[2]:15 2002.0
|
||||
(byte*) utoa::buffer#4 buffer zp[2]:15 20002.0
|
||||
(byte*) utoa::buffer#11 buffer zp[2]:16 3000.4285714285716
|
||||
(byte*) utoa::buffer#14 buffer zp[2]:16 15001.5
|
||||
(byte*) utoa::buffer#3 buffer zp[2]:16 2002.0
|
||||
(byte*) utoa::buffer#4 buffer zp[2]:16 20002.0
|
||||
(byte) utoa::digit
|
||||
(byte) utoa::digit#1 digit zp[1]:12 20002.0
|
||||
(byte) utoa::digit#2 digit zp[1]:12 2857.4285714285716
|
||||
(byte) utoa::digit#1 digit zp[1]:13 20002.0
|
||||
(byte) utoa::digit#2 digit zp[1]:13 2857.4285714285716
|
||||
(word) utoa::digit_value
|
||||
(word) utoa::digit_value#0 digit_value zp[2]:33 6000.6
|
||||
(word*) utoa::digit_values
|
||||
@ -592,70 +587,73 @@ time: "
|
||||
(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]:13 10001.0
|
||||
(word) utoa::value#2 value zp[2]:13 5714.857142857143
|
||||
(word) utoa::value#6 value zp[2]:13 15001.5
|
||||
(word) utoa::value#0 value zp[2]:14 10001.0
|
||||
(word) utoa::value#2 value zp[2]:14 5714.857142857143
|
||||
(word) utoa::value#6 value zp[2]:14 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]:15 13750.25
|
||||
(byte*) utoa_append::buffer#0 buffer zp[2]:16 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]:13 20002.0
|
||||
(word) utoa_append::return#0 return zp[2]:14 20002.0
|
||||
(word) utoa_append::sub
|
||||
(word) utoa_append::sub#0 sub zp[2]:33 3335000.5
|
||||
(word) utoa_append::value
|
||||
(word) utoa_append::value#0 value zp[2]:13 36667.33333333333
|
||||
(word) utoa_append::value#1 value zp[2]:13 2.0000002E7
|
||||
(word) utoa_append::value#2 value zp[2]:13 5018334.166666666
|
||||
(word) utoa_append::value#0 value zp[2]:14 36667.33333333333
|
||||
(word) utoa_append::value#1 value zp[2]:14 2.0000002E7
|
||||
(word) utoa_append::value#2 value zp[2]:14 5018334.166666666
|
||||
|
||||
reg byte x [ memset::c#4 ]
|
||||
reg byte a [ printf_char::ch#3 printf_char::ch#2 printf_char::ch#0 printf_char::ch#1 ]
|
||||
zp[4]:2 [ count#14 count#22 printf_ulong::uvalue#0 ]
|
||||
reg byte x [ printf_uchar::uvalue#2 printf_uchar::uvalue#1 printf_uchar::uvalue#0 ]
|
||||
zp[4]:2 [ printf_ulong::uvalue#2 printf_ulong::uvalue#0 printf_ulong::uvalue#1 count#10 count#25 ]
|
||||
reg byte x [ printf_number_buffer::format_min_length#3 ]
|
||||
reg byte y [ printf_number_buffer::len#2 printf_number_buffer::len#0 printf_number_buffer::len#1 ]
|
||||
reg byte a [ toupper::return#2 toupper::return#0 toupper::ch#0 ]
|
||||
reg byte x [ uctoa::value#2 uctoa::value#6 uctoa::value#1 uctoa::value#0 ]
|
||||
zp[1]:6 [ uctoa::started#2 uctoa::started#4 printf_number_buffer::format_zero_padding#10 ]
|
||||
reg byte x [ uctoa_append::value#2 uctoa_append::value#0 uctoa_append::value#1 ]
|
||||
reg byte y [ uctoa_append::digit#2 uctoa_append::digit#1 ]
|
||||
zp[4]:7 [ ultoa::value#2 ultoa::value#6 ultoa::value#1 ultoa::value#0 ultoa_append::value#2 ultoa_append::value#0 ultoa_append::value#1 ultoa_append::return#0 ]
|
||||
zp[4]:6 [ ultoa::value#2 ultoa::value#6 ultoa::value#1 ultoa::value#0 ultoa_append::value#2 ultoa_append::value#0 ultoa_append::value#1 ultoa_append::return#0 ]
|
||||
reg byte x [ ultoa::started#2 ultoa::started#4 ]
|
||||
reg byte x [ ultoa_append::digit#2 ultoa_append::digit#1 ]
|
||||
zp[1]:10 [ print::j#2 print::j#1 printf_number_buffer::format_zero_padding#10 ]
|
||||
reg byte x [ printf_uchar::uvalue#2 printf_uchar::uvalue#1 printf_uchar::uvalue#0 ]
|
||||
zp[1]:11 [ uctoa::digit#2 uctoa::digit#1 printf_number_buffer::buffer_sign#10 printf_number_buffer::buffer_sign#2 printf_number_buffer::buffer_sign#1 printf_number_buffer::buffer_sign#0 ]
|
||||
reg byte x [ uctoa::value#2 uctoa::value#6 uctoa::value#1 uctoa::value#0 ]
|
||||
zp[1]:12 [ uctoa::started#2 uctoa::started#4 printf_number_buffer::format_upper_case#10 ]
|
||||
reg byte x [ uctoa_append::value#2 uctoa_append::value#0 uctoa_append::value#1 ]
|
||||
reg byte y [ uctoa_append::digit#2 uctoa_append::digit#1 ]
|
||||
reg byte y [ legal::i#10 legal::i#1 ]
|
||||
reg byte a [ legal::return#4 ]
|
||||
zp[1]:11 [ legal::diff1_return#2 legal::diff1_return#0 legal::diff1_return#1 print::i#2 print::i#1 ]
|
||||
reg byte a [ legal::diff2_return#2 legal::diff2_return#0 legal::diff2_return#1 ]
|
||||
zp[1]:12 [ utoa::digit#2 utoa::digit#1 queens::row#10 queens::row#1 queens::row#2 legal::row#0 ]
|
||||
zp[2]:13 [ utoa::value#2 utoa::value#6 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 uctoa::buffer#11 uctoa::buffer#14 uctoa::buffer#4 uctoa::buffer#3 uctoa_append::buffer#0 printf_str::str#11 printf_str::str#13 printf_str::str#1 printf_str::str#0 printf_number_buffer::buffer_digits#10 ]
|
||||
zp[1]:13 [ utoa::digit#2 utoa::digit#1 printf_padding::length#6 printf_padding::length#1 printf_padding::length#2 printf_padding::length#0 ]
|
||||
zp[2]:14 [ utoa::value#2 utoa::value#6 utoa::value#0 utoa_append::value#2 utoa_append::value#0 utoa_append::value#1 utoa_append::return#0 ultoa::buffer#11 ultoa::buffer#14 ultoa::buffer#4 ultoa::buffer#3 ultoa_append::buffer#0 printf_str::str#13 printf_str::str#15 printf_str::str#1 printf_str::str#0 printf_number_buffer::buffer_digits#10 ]
|
||||
reg byte x [ utoa::started#2 utoa::started#4 ]
|
||||
zp[2]:15 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 strlen::str#3 strlen::str#1 strlen::str#0 strupr::src#2 strupr::str#0 strupr::src#1 memcpy::src#2 memcpy::src#1 memset::num#2 memset::end#0 ]
|
||||
zp[2]:16 [ utoa::buffer#11 utoa::buffer#14 utoa::buffer#4 utoa::buffer#3 utoa_append::buffer#0 strlen::str#3 strlen::str#1 strlen::str#0 strupr::src#2 strupr::str#0 strupr::src#1 memcpy::src#2 memcpy::src#1 memset::num#2 memset::end#0 ]
|
||||
reg byte x [ utoa_append::digit#2 utoa_append::digit#1 ]
|
||||
zp[1]:17 [ printf_cursor_x ]
|
||||
zp[1]:18 [ printf_cursor_y ]
|
||||
zp[2]:19 [ printf_cursor_ptr printf_scroll::$4 printf_ln::$0 printf_ln::$1 ]
|
||||
zp[1]:21 [ tod_init::tod_TENTHS#0 print::i1#2 print::i1#1 ]
|
||||
zp[1]:22 [ tod_init::tod_SEC#0 print::j#2 print::j#1 uctoa::digit#2 uctoa::digit#1 printf_number_buffer::format_justify_left#10 ]
|
||||
zp[1]:18 [ printf_cursor_x ]
|
||||
zp[1]:19 [ printf_cursor_y ]
|
||||
zp[2]:20 [ printf_cursor_ptr printf_scroll::$4 printf_ln::$0 printf_ln::$1 ]
|
||||
zp[1]:22 [ tod_init::tod_TENTHS#0 printf_padding::pad#7 ]
|
||||
zp[1]:23 [ tod_init::tod_SEC#0 printf_padding::i#2 printf_padding::i#1 ]
|
||||
reg byte x [ tod_init::tod_MIN#0 ]
|
||||
reg byte y [ tod_init::tod_HOURS#0 ]
|
||||
reg byte y [ tod_read::return_TENTHS#2 ]
|
||||
reg byte x [ tod_read::return_SEC#2 ]
|
||||
zp[1]:23 [ tod_read::return_MIN#2 main::tod_MIN#0 printf_number_buffer::format_upper_case#10 ]
|
||||
zp[1]:24 [ tod_read::return_HOURS#2 tod_read::return_HOURS#0 printf_number_buffer::padding#10 printf_number_buffer::padding#1 ]
|
||||
reg byte y [ main::tod_TENTHS#0 ]
|
||||
reg byte x [ main::tod_SEC#0 ]
|
||||
reg byte a [ main::tod_HOURS#0 ]
|
||||
zp[1]:25 [ tod_str::tod_TENTHS#0 printf_padding::length#6 printf_padding::length#1 printf_padding::length#2 printf_padding::length#0 ]
|
||||
zp[1]:26 [ tod_str::tod_SEC#0 printf_padding::pad#7 ]
|
||||
zp[1]:24 [ tod_read::return_MIN#2 queens::row#10 queens::row#1 queens::row#2 legal::row#0 ]
|
||||
reg byte a [ tod_read::return_HOURS#2 ]
|
||||
zp[1]:25 [ tod_str::tod_TENTHS#0 print::i#2 print::i#1 ]
|
||||
zp[1]:26 [ tod_str::tod_SEC#0 print::i1#2 print::i1#1 ]
|
||||
reg byte y [ tod_str::tod_MIN#0 ]
|
||||
reg byte x [ tod_str::tod_HOURS#0 ]
|
||||
reg byte a [ printf_str::ch#0 ]
|
||||
reg byte a [ toupper::return#3 ]
|
||||
reg byte a [ strupr::$0 ]
|
||||
reg byte a [ ultoa::$11 ]
|
||||
reg byte a [ ultoa::$10 ]
|
||||
zp[4]:27 [ ultoa::digit_value#0 ultoa_append::sub#0 ]
|
||||
reg byte a [ tod_str::$0 ]
|
||||
reg byte a [ tod_str::$1 ]
|
||||
reg byte a [ tod_str::$2 ]
|
||||
@ -675,20 +673,15 @@ reg byte a [ tod_str::$15 ]
|
||||
reg byte a [ tod_read::return_MIN#0 ]
|
||||
reg byte x [ tod_read::return_SEC#0 ]
|
||||
reg byte y [ tod_read::return_TENTHS#0 ]
|
||||
zp[1]:27 [ legal::column#0 printf_padding::i#2 printf_padding::i#1 ]
|
||||
zp[1]:31 [ legal::column#0 tod_read::return_HOURS#0 ultoa::digit#2 ultoa::digit#1 printf_number_buffer::format_justify_left#10 ]
|
||||
reg byte a [ legal::return#0 ]
|
||||
reg byte a [ queens::$2 ]
|
||||
reg byte a [ toupper::return#3 ]
|
||||
reg byte a [ strupr::$0 ]
|
||||
zp[1]:28 [ uctoa::digit_value#0 uctoa_append::sub#0 ultoa::digit#2 ultoa::digit#1 printf_number_buffer::buffer_sign#10 printf_number_buffer::buffer_sign#2 printf_number_buffer::buffer_sign#1 printf_number_buffer::buffer_sign#0 ]
|
||||
zp[1]:32 [ uctoa::digit_value#0 uctoa_append::sub#0 legal::diff1_return#2 legal::diff1_return#0 legal::diff1_return#1 printf_number_buffer::padding#10 printf_number_buffer::padding#1 ]
|
||||
reg byte x [ uctoa_append::return#0 ]
|
||||
reg byte a [ ultoa::$11 ]
|
||||
reg byte a [ ultoa::$10 ]
|
||||
zp[4]:29 [ ultoa::digit_value#0 ultoa_append::sub#0 ]
|
||||
reg byte x [ legal::$0 ]
|
||||
reg byte a [ legal::diff1_a#0 ]
|
||||
reg byte a [ utoa::$11 ]
|
||||
reg byte a [ utoa::$10 ]
|
||||
zp[2]:33 [ utoa::digit_value#0 utoa_append::sub#0 ultoa::buffer#11 ultoa::buffer#14 ultoa::buffer#4 ultoa::buffer#3 ultoa_append::buffer#0 strlen::len#2 strlen::len#1 strlen::return#2 printf_number_buffer::$19 memcpy::dst#2 memcpy::dst#1 memset::str#3 memset::dst#2 memset::dst#4 memset::dst#1 ]
|
||||
zp[2]:33 [ utoa::digit_value#0 utoa_append::sub#0 uctoa::buffer#11 uctoa::buffer#14 uctoa::buffer#4 uctoa::buffer#3 uctoa_append::buffer#0 strlen::len#2 strlen::len#1 strlen::return#2 printf_number_buffer::$19 memcpy::dst#2 memcpy::dst#1 memset::str#3 memset::dst#2 memset::dst#4 memset::dst#1 ]
|
||||
mem[12] [ printf_buffer ]
|
||||
mem[4] [ TOD_ZERO ]
|
||||
|
@ -30,8 +30,6 @@
|
||||
// The current cursor address
|
||||
.label conio_cursor_color = 7
|
||||
main: {
|
||||
.label tod_MIN = 9
|
||||
.label tod_HOURS = $a
|
||||
// tod_init(TOD_ZERO)
|
||||
lda TOD_ZERO
|
||||
sta.z tod_init.tod_TENTHS
|
||||
@ -41,20 +39,20 @@ main: {
|
||||
ldy TOD_ZERO+OFFSET_STRUCT_TIME_OF_DAY_HOURS
|
||||
jsr tod_init
|
||||
__b1:
|
||||
// tod_read()
|
||||
jsr tod_read
|
||||
sta.z tod_read.return_MIN
|
||||
// tod = tod_read()
|
||||
// gotoxy(0,0)
|
||||
lda #0
|
||||
jsr gotoxy
|
||||
// tod_str(tod)
|
||||
// tod_read()
|
||||
jsr tod_read
|
||||
sta.z tod_read.return_MIN
|
||||
lda.z tod_read.return_HOURS
|
||||
// tod_str(tod_read())
|
||||
sty.z tod_str.tod_TENTHS
|
||||
stx.z tod_str.tod_SEC
|
||||
ldy.z tod_MIN
|
||||
ldx.z tod_HOURS
|
||||
ldy.z tod_read.return_MIN
|
||||
tax
|
||||
jsr tod_str
|
||||
// cputs(tod_str(tod))
|
||||
// cputs(tod_str(tod_read()))
|
||||
jsr cputs
|
||||
jmp __b1
|
||||
}
|
||||
@ -140,7 +138,7 @@ cputc: {
|
||||
gotoxy: {
|
||||
.label __8 = 7
|
||||
.label offset = 7
|
||||
.label __9 = $d
|
||||
.label __9 = $b
|
||||
.label __10 = 7
|
||||
// if(y>=CONIO_HEIGHT)
|
||||
cmp #CONIO_HEIGHT
|
||||
@ -195,10 +193,10 @@ gotoxy: {
|
||||
rts
|
||||
}
|
||||
// Convert time of day to a human-readable string "hh:mm:ss:10"
|
||||
// tod_str(byte zp($b) tod_TENTHS, byte zp($c) tod_SEC, byte register(Y) tod_MIN, byte register(X) tod_HOURS)
|
||||
// tod_str(byte zp($a) tod_TENTHS, byte zp($d) tod_SEC, byte register(Y) tod_MIN, byte register(X) tod_HOURS)
|
||||
tod_str: {
|
||||
.label tod_TENTHS = $b
|
||||
.label tod_SEC = $c
|
||||
.label tod_TENTHS = $a
|
||||
.label tod_SEC = $d
|
||||
// tod.HOURS>>4
|
||||
txa
|
||||
lsr
|
||||
@ -280,7 +278,7 @@ tod_str: {
|
||||
}
|
||||
// Read time of day
|
||||
tod_read: {
|
||||
.label return_HOURS = $a
|
||||
.label return_HOURS = $d
|
||||
.label return_MIN = 9
|
||||
// hours = CIA1->TOD_HOURS
|
||||
// Reading sequence is important. TOD latches on reading hours until 10ths is read.
|
||||
|
@ -18,161 +18,158 @@ main: scope:[main] from @1
|
||||
to:main::@1
|
||||
main::@1: scope:[main] from main main::@4
|
||||
[9] phi()
|
||||
[10] call tod_read
|
||||
[11] (byte) tod_read::return_TENTHS#2 ← (byte) tod_read::return_TENTHS#0
|
||||
[12] (byte) tod_read::return_SEC#2 ← (byte) tod_read::return_SEC#0
|
||||
[13] (byte) tod_read::return_MIN#2 ← (byte) tod_read::return_MIN#0
|
||||
[14] (byte) tod_read::return_HOURS#2 ← (byte) tod_read::return_HOURS#0
|
||||
[10] call gotoxy
|
||||
to:main::@2
|
||||
main::@2: scope:[main] from main::@1
|
||||
[15] (byte) main::tod_TENTHS#0 ← (byte) tod_read::return_TENTHS#2
|
||||
[16] (byte) main::tod_SEC#0 ← (byte) tod_read::return_SEC#2
|
||||
[17] (byte) main::tod_MIN#0 ← (byte) tod_read::return_MIN#2
|
||||
[18] (byte) main::tod_HOURS#0 ← (byte) tod_read::return_HOURS#2
|
||||
[19] call gotoxy
|
||||
[11] phi()
|
||||
[12] call tod_read
|
||||
[13] (byte) tod_read::return_TENTHS#2 ← (byte) tod_read::return_TENTHS#0
|
||||
[14] (byte) tod_read::return_SEC#2 ← (byte) tod_read::return_SEC#0
|
||||
[15] (byte) tod_read::return_MIN#2 ← (byte) tod_read::return_MIN#0
|
||||
[16] (byte) tod_read::return_HOURS#2 ← (byte) tod_read::return_HOURS#0
|
||||
to:main::@3
|
||||
main::@3: scope:[main] from main::@2
|
||||
[20] (byte) tod_str::tod_TENTHS#0 ← (byte) main::tod_TENTHS#0
|
||||
[21] (byte) tod_str::tod_SEC#0 ← (byte) main::tod_SEC#0
|
||||
[22] (byte) tod_str::tod_MIN#0 ← (byte) main::tod_MIN#0
|
||||
[23] (byte) tod_str::tod_HOURS#0 ← (byte) main::tod_HOURS#0
|
||||
[24] call tod_str
|
||||
[17] (byte) tod_str::tod_TENTHS#0 ← (byte) tod_read::return_TENTHS#2
|
||||
[18] (byte) tod_str::tod_SEC#0 ← (byte) tod_read::return_SEC#2
|
||||
[19] (byte) tod_str::tod_MIN#0 ← (byte) tod_read::return_MIN#2
|
||||
[20] (byte) tod_str::tod_HOURS#0 ← (byte) tod_read::return_HOURS#2
|
||||
[21] call tod_str
|
||||
to:main::@4
|
||||
main::@4: scope:[main] from main::@3
|
||||
[25] phi()
|
||||
[26] call cputs
|
||||
[22] phi()
|
||||
[23] call cputs
|
||||
to:main::@1
|
||||
|
||||
(void()) cputs((to_nomodify byte*) cputs::s)
|
||||
cputs: scope:[cputs] from main::@4
|
||||
[27] phi()
|
||||
[24] phi()
|
||||
to:cputs::@1
|
||||
cputs::@1: scope:[cputs] from cputs cputs::@2
|
||||
[28] (byte*) conio_cursor_color#19 ← phi( cputs/(byte*) conio_cursor_color#1 cputs::@2/(byte*) conio_cursor_color#17 )
|
||||
[28] (byte*) conio_cursor_text#19 ← phi( cputs/(byte*) conio_cursor_text#1 cputs::@2/(byte*) conio_cursor_text#17 )
|
||||
[28] (byte) conio_cursor_y#20 ← phi( cputs/(byte) conio_cursor_y#1 cputs::@2/(byte) conio_cursor_y#18 )
|
||||
[28] (byte) conio_cursor_x#20 ← phi( cputs/(byte) 0 cputs::@2/(byte) conio_cursor_x#18 )
|
||||
[28] (to_nomodify byte*) cputs::s#2 ← phi( cputs/(const byte*) tod_buffer cputs::@2/(to_nomodify byte*) cputs::s#0 )
|
||||
[29] (byte) cputs::c#1 ← *((to_nomodify byte*) cputs::s#2)
|
||||
[30] (to_nomodify byte*) cputs::s#0 ← ++ (to_nomodify byte*) cputs::s#2
|
||||
[31] if((byte) 0!=(byte) cputs::c#1) goto cputs::@2
|
||||
[25] (byte*) conio_cursor_color#19 ← phi( cputs/(byte*) conio_cursor_color#1 cputs::@2/(byte*) conio_cursor_color#17 )
|
||||
[25] (byte*) conio_cursor_text#19 ← phi( cputs/(byte*) conio_cursor_text#1 cputs::@2/(byte*) conio_cursor_text#17 )
|
||||
[25] (byte) conio_cursor_y#20 ← phi( cputs/(byte) conio_cursor_y#1 cputs::@2/(byte) conio_cursor_y#18 )
|
||||
[25] (byte) conio_cursor_x#20 ← phi( cputs/(byte) 0 cputs::@2/(byte) conio_cursor_x#18 )
|
||||
[25] (to_nomodify byte*) cputs::s#2 ← phi( cputs/(const byte*) tod_buffer cputs::@2/(to_nomodify byte*) cputs::s#0 )
|
||||
[26] (byte) cputs::c#1 ← *((to_nomodify byte*) cputs::s#2)
|
||||
[27] (to_nomodify byte*) cputs::s#0 ← ++ (to_nomodify byte*) cputs::s#2
|
||||
[28] if((byte) 0!=(byte) cputs::c#1) goto cputs::@2
|
||||
to:cputs::@return
|
||||
cputs::@return: scope:[cputs] from cputs::@1
|
||||
[32] return
|
||||
[29] return
|
||||
to:@return
|
||||
cputs::@2: scope:[cputs] from cputs::@1
|
||||
[33] (byte) cputc::c#0 ← (byte) cputs::c#1
|
||||
[34] call cputc
|
||||
[30] (byte) cputc::c#0 ← (byte) cputs::c#1
|
||||
[31] call cputc
|
||||
to:cputs::@1
|
||||
|
||||
(void()) cputc((byte) cputc::c)
|
||||
cputc: scope:[cputc] from cputs::@2
|
||||
[35] if((byte) cputc::c#0==(byte) '
|
||||
[32] if((byte) cputc::c#0==(byte) '
|
||||
') goto cputc::@1
|
||||
to:cputc::@2
|
||||
cputc::@2: scope:[cputc] from cputc
|
||||
[36] *((byte*) conio_cursor_text#19) ← (byte) cputc::c#0
|
||||
[37] (byte*) conio_cursor_text#26 ← ++ (byte*) conio_cursor_text#19
|
||||
[38] *((byte*) conio_cursor_color#19) ← (const nomodify byte) CONIO_TEXTCOLOR_DEFAULT
|
||||
[39] (byte*) conio_cursor_color#26 ← ++ (byte*) conio_cursor_color#19
|
||||
[40] (byte) conio_cursor_x#4 ← ++ (byte) conio_cursor_x#20
|
||||
[41] if((byte) conio_cursor_x#4!=(const nomodify byte) CONIO_WIDTH) goto cputc::@return
|
||||
[33] *((byte*) conio_cursor_text#19) ← (byte) cputc::c#0
|
||||
[34] (byte*) conio_cursor_text#26 ← ++ (byte*) conio_cursor_text#19
|
||||
[35] *((byte*) conio_cursor_color#19) ← (const nomodify byte) CONIO_TEXTCOLOR_DEFAULT
|
||||
[36] (byte*) conio_cursor_color#26 ← ++ (byte*) conio_cursor_color#19
|
||||
[37] (byte) conio_cursor_x#4 ← ++ (byte) conio_cursor_x#20
|
||||
[38] if((byte) conio_cursor_x#4!=(const nomodify byte) CONIO_WIDTH) goto cputc::@return
|
||||
to:cputc::@3
|
||||
cputc::@3: scope:[cputc] from cputc::@2
|
||||
[42] (byte) conio_cursor_y#27 ← ++ (byte) conio_cursor_y#20
|
||||
[43] if((byte) conio_cursor_y#27!=(const nomodify byte) CONIO_HEIGHT) goto cputc::@return
|
||||
[39] (byte) conio_cursor_y#27 ← ++ (byte) conio_cursor_y#20
|
||||
[40] if((byte) conio_cursor_y#27!=(const nomodify byte) CONIO_HEIGHT) goto cputc::@return
|
||||
to:cputc::@4
|
||||
cputc::@4: scope:[cputc] from cputc::@3
|
||||
[44] phi()
|
||||
[45] call gotoxy
|
||||
[41] phi()
|
||||
[42] call gotoxy
|
||||
to:cputc::@return
|
||||
cputc::@return: scope:[cputc] from cputc::@1 cputc::@2 cputc::@3 cputc::@4
|
||||
[46] (byte*) conio_cursor_color#17 ← phi( cputc::@2/(byte*) conio_cursor_color#26 cputc::@3/(byte*) conio_cursor_color#26 cputc::@1/(byte*) conio_cursor_color#1 cputc::@4/(byte*) conio_cursor_color#1 )
|
||||
[46] (byte*) conio_cursor_text#17 ← phi( cputc::@2/(byte*) conio_cursor_text#26 cputc::@3/(byte*) conio_cursor_text#26 cputc::@1/(byte*) conio_cursor_text#1 cputc::@4/(byte*) conio_cursor_text#1 )
|
||||
[46] (byte) conio_cursor_y#18 ← phi( cputc::@2/(byte) conio_cursor_y#20 cputc::@3/(byte) conio_cursor_y#27 cputc::@1/(byte) conio_cursor_y#1 cputc::@4/(byte) conio_cursor_y#1 )
|
||||
[46] (byte) conio_cursor_x#18 ← phi( cputc::@2/(byte) conio_cursor_x#4 cputc::@3/(byte) 0 cputc::@1/(byte) 0 cputc::@4/(byte) 0 )
|
||||
[47] return
|
||||
[43] (byte*) conio_cursor_color#17 ← phi( cputc::@2/(byte*) conio_cursor_color#26 cputc::@3/(byte*) conio_cursor_color#26 cputc::@1/(byte*) conio_cursor_color#1 cputc::@4/(byte*) conio_cursor_color#1 )
|
||||
[43] (byte*) conio_cursor_text#17 ← phi( cputc::@2/(byte*) conio_cursor_text#26 cputc::@3/(byte*) conio_cursor_text#26 cputc::@1/(byte*) conio_cursor_text#1 cputc::@4/(byte*) conio_cursor_text#1 )
|
||||
[43] (byte) conio_cursor_y#18 ← phi( cputc::@2/(byte) conio_cursor_y#20 cputc::@3/(byte) conio_cursor_y#27 cputc::@1/(byte) conio_cursor_y#1 cputc::@4/(byte) conio_cursor_y#1 )
|
||||
[43] (byte) conio_cursor_x#18 ← phi( cputc::@2/(byte) conio_cursor_x#4 cputc::@3/(byte) 0 cputc::@1/(byte) 0 cputc::@4/(byte) 0 )
|
||||
[44] return
|
||||
to:@return
|
||||
cputc::@1: scope:[cputc] from cputc
|
||||
[48] (byte) gotoxy::y#1 ← (byte) conio_cursor_y#20 + (byte) 1
|
||||
[49] call gotoxy
|
||||
[45] (byte) gotoxy::y#1 ← (byte) conio_cursor_y#20 + (byte) 1
|
||||
[46] call gotoxy
|
||||
to:cputc::@return
|
||||
|
||||
(void()) gotoxy((byte) gotoxy::x , (byte) gotoxy::y)
|
||||
gotoxy: scope:[gotoxy] from cputc::@1 cputc::@4 main::@2
|
||||
[50] (byte) gotoxy::y#4 ← phi( cputc::@1/(byte) gotoxy::y#1 cputc::@4/(byte) 0 main::@2/(byte) 0 )
|
||||
gotoxy: scope:[gotoxy] from cputc::@1 cputc::@4 main::@1
|
||||
[47] (byte) gotoxy::y#4 ← phi( cputc::@1/(byte) gotoxy::y#1 cputc::@4/(byte) 0 main::@1/(byte) 0 )
|
||||
to:gotoxy::@1
|
||||
gotoxy::@1: scope:[gotoxy] from gotoxy
|
||||
[51] if((byte) gotoxy::y#4<(const nomodify byte) CONIO_HEIGHT) goto gotoxy::@3
|
||||
[48] if((byte) gotoxy::y#4<(const nomodify byte) CONIO_HEIGHT) goto gotoxy::@3
|
||||
to:gotoxy::@2
|
||||
gotoxy::@3: scope:[gotoxy] from gotoxy::@1
|
||||
[52] phi()
|
||||
[49] phi()
|
||||
to:gotoxy::@2
|
||||
gotoxy::@2: scope:[gotoxy] from gotoxy::@1 gotoxy::@3
|
||||
[53] (byte) gotoxy::y#5 ← phi( gotoxy::@3/(byte) gotoxy::y#4 gotoxy::@1/(byte) 0 )
|
||||
[54] (byte) conio_cursor_y#1 ← (byte) gotoxy::y#5
|
||||
[55] (word~) gotoxy::$8 ← (word)(byte) gotoxy::y#5
|
||||
[56] (word~) gotoxy::$9 ← (word~) gotoxy::$8 << (byte) 2
|
||||
[57] (word~) gotoxy::$10 ← (word~) gotoxy::$9 + (word~) gotoxy::$8
|
||||
[58] (word) gotoxy::offset#0 ← (word~) gotoxy::$10 << (byte) 3
|
||||
[59] (byte*) conio_cursor_text#1 ← (const nomodify byte*) CONIO_SCREEN_TEXT + (word) gotoxy::offset#0
|
||||
[60] (byte*) conio_cursor_color#1 ← (const nomodify byte*) CONIO_SCREEN_COLORS + (word) gotoxy::offset#0
|
||||
[50] (byte) gotoxy::y#5 ← phi( gotoxy::@3/(byte) gotoxy::y#4 gotoxy::@1/(byte) 0 )
|
||||
[51] (byte) conio_cursor_y#1 ← (byte) gotoxy::y#5
|
||||
[52] (word~) gotoxy::$8 ← (word)(byte) gotoxy::y#5
|
||||
[53] (word~) gotoxy::$9 ← (word~) gotoxy::$8 << (byte) 2
|
||||
[54] (word~) gotoxy::$10 ← (word~) gotoxy::$9 + (word~) gotoxy::$8
|
||||
[55] (word) gotoxy::offset#0 ← (word~) gotoxy::$10 << (byte) 3
|
||||
[56] (byte*) conio_cursor_text#1 ← (const nomodify byte*) CONIO_SCREEN_TEXT + (word) gotoxy::offset#0
|
||||
[57] (byte*) conio_cursor_color#1 ← (const nomodify byte*) CONIO_SCREEN_COLORS + (word) gotoxy::offset#0
|
||||
to:gotoxy::@return
|
||||
gotoxy::@return: scope:[gotoxy] from gotoxy::@2
|
||||
[61] return
|
||||
[58] return
|
||||
to:@return
|
||||
|
||||
(byte*()) tod_str((byte) tod_str::tod_TENTHS , (byte) tod_str::tod_SEC , (byte) tod_str::tod_MIN , (byte) tod_str::tod_HOURS)
|
||||
tod_str: scope:[tod_str] from main::@3
|
||||
[62] (byte~) tod_str::$0 ← (byte) tod_str::tod_HOURS#0 >> (byte) 4
|
||||
[63] (byte~) tod_str::$1 ← (byte) '0' + (byte~) tod_str::$0
|
||||
[64] *((const byte*) tod_buffer) ← (byte~) tod_str::$1
|
||||
[65] (byte~) tod_str::$2 ← (byte) tod_str::tod_HOURS#0 & (byte) $f
|
||||
[66] (byte~) tod_str::$3 ← (byte) '0' + (byte~) tod_str::$2
|
||||
[67] *((const byte*) tod_buffer+(byte) 1) ← (byte~) tod_str::$3
|
||||
[68] (byte~) tod_str::$4 ← (byte) tod_str::tod_MIN#0 >> (byte) 4
|
||||
[69] (byte~) tod_str::$5 ← (byte) '0' + (byte~) tod_str::$4
|
||||
[70] *((const byte*) tod_buffer+(byte) 3) ← (byte~) tod_str::$5
|
||||
[71] (byte~) tod_str::$6 ← (byte) tod_str::tod_MIN#0 & (byte) $f
|
||||
[72] (byte~) tod_str::$7 ← (byte) '0' + (byte~) tod_str::$6
|
||||
[73] *((const byte*) tod_buffer+(byte) 4) ← (byte~) tod_str::$7
|
||||
[74] (byte~) tod_str::$8 ← (byte) tod_str::tod_SEC#0 >> (byte) 4
|
||||
[75] (byte~) tod_str::$9 ← (byte) '0' + (byte~) tod_str::$8
|
||||
[76] *((const byte*) tod_buffer+(byte) 6) ← (byte~) tod_str::$9
|
||||
[77] (byte~) tod_str::$10 ← (byte) tod_str::tod_SEC#0 & (byte) $f
|
||||
[78] (byte~) tod_str::$11 ← (byte) '0' + (byte~) tod_str::$10
|
||||
[79] *((const byte*) tod_buffer+(byte) 7) ← (byte~) tod_str::$11
|
||||
[80] (byte~) tod_str::$12 ← (byte) tod_str::tod_TENTHS#0 >> (byte) 4
|
||||
[81] (byte~) tod_str::$13 ← (byte) '0' + (byte~) tod_str::$12
|
||||
[82] *((const byte*) tod_buffer+(byte) 9) ← (byte~) tod_str::$13
|
||||
[83] (byte~) tod_str::$14 ← (byte) tod_str::tod_TENTHS#0 & (byte) $f
|
||||
[84] (byte~) tod_str::$15 ← (byte) '0' + (byte~) tod_str::$14
|
||||
[85] *((const byte*) tod_buffer+(byte) $a) ← (byte~) tod_str::$15
|
||||
[59] (byte~) tod_str::$0 ← (byte) tod_str::tod_HOURS#0 >> (byte) 4
|
||||
[60] (byte~) tod_str::$1 ← (byte) '0' + (byte~) tod_str::$0
|
||||
[61] *((const byte*) tod_buffer) ← (byte~) tod_str::$1
|
||||
[62] (byte~) tod_str::$2 ← (byte) tod_str::tod_HOURS#0 & (byte) $f
|
||||
[63] (byte~) tod_str::$3 ← (byte) '0' + (byte~) tod_str::$2
|
||||
[64] *((const byte*) tod_buffer+(byte) 1) ← (byte~) tod_str::$3
|
||||
[65] (byte~) tod_str::$4 ← (byte) tod_str::tod_MIN#0 >> (byte) 4
|
||||
[66] (byte~) tod_str::$5 ← (byte) '0' + (byte~) tod_str::$4
|
||||
[67] *((const byte*) tod_buffer+(byte) 3) ← (byte~) tod_str::$5
|
||||
[68] (byte~) tod_str::$6 ← (byte) tod_str::tod_MIN#0 & (byte) $f
|
||||
[69] (byte~) tod_str::$7 ← (byte) '0' + (byte~) tod_str::$6
|
||||
[70] *((const byte*) tod_buffer+(byte) 4) ← (byte~) tod_str::$7
|
||||
[71] (byte~) tod_str::$8 ← (byte) tod_str::tod_SEC#0 >> (byte) 4
|
||||
[72] (byte~) tod_str::$9 ← (byte) '0' + (byte~) tod_str::$8
|
||||
[73] *((const byte*) tod_buffer+(byte) 6) ← (byte~) tod_str::$9
|
||||
[74] (byte~) tod_str::$10 ← (byte) tod_str::tod_SEC#0 & (byte) $f
|
||||
[75] (byte~) tod_str::$11 ← (byte) '0' + (byte~) tod_str::$10
|
||||
[76] *((const byte*) tod_buffer+(byte) 7) ← (byte~) tod_str::$11
|
||||
[77] (byte~) tod_str::$12 ← (byte) tod_str::tod_TENTHS#0 >> (byte) 4
|
||||
[78] (byte~) tod_str::$13 ← (byte) '0' + (byte~) tod_str::$12
|
||||
[79] *((const byte*) tod_buffer+(byte) 9) ← (byte~) tod_str::$13
|
||||
[80] (byte~) tod_str::$14 ← (byte) tod_str::tod_TENTHS#0 & (byte) $f
|
||||
[81] (byte~) tod_str::$15 ← (byte) '0' + (byte~) tod_str::$14
|
||||
[82] *((const byte*) tod_buffer+(byte) $a) ← (byte~) tod_str::$15
|
||||
to:tod_str::@return
|
||||
tod_str::@return: scope:[tod_str] from tod_str
|
||||
[86] return
|
||||
[83] return
|
||||
to:@return
|
||||
|
||||
(struct TIME_OF_DAY()) tod_read()
|
||||
tod_read: scope:[tod_read] from main::@1
|
||||
[87] (byte) tod_read::return_HOURS#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_HOURS)
|
||||
[88] (byte) tod_read::return_MIN#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_MIN)
|
||||
[89] (byte) tod_read::return_SEC#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_SEC)
|
||||
[90] (byte) tod_read::return_TENTHS#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_10THS)
|
||||
tod_read: scope:[tod_read] from main::@2
|
||||
[84] (byte) tod_read::return_HOURS#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_HOURS)
|
||||
[85] (byte) tod_read::return_MIN#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_MIN)
|
||||
[86] (byte) tod_read::return_SEC#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_SEC)
|
||||
[87] (byte) tod_read::return_TENTHS#0 ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_10THS)
|
||||
to:tod_read::@return
|
||||
tod_read::@return: scope:[tod_read] from tod_read
|
||||
[91] return
|
||||
[88] return
|
||||
to:@return
|
||||
|
||||
(void()) tod_init((byte) tod_init::tod_TENTHS , (byte) tod_init::tod_SEC , (byte) tod_init::tod_MIN , (byte) tod_init::tod_HOURS)
|
||||
tod_init: scope:[tod_init] from main
|
||||
[92] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_A_CONTROL) ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_A_CONTROL) | (byte) $80
|
||||
[93] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_B_CONTROL) ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_B_CONTROL) & (byte) $7f
|
||||
[94] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_HOURS) ← (byte) tod_init::tod_HOURS#0
|
||||
[95] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_MIN) ← (byte) tod_init::tod_MIN#0
|
||||
[96] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_SEC) ← (byte) tod_init::tod_SEC#0
|
||||
[97] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_10THS) ← (byte) tod_init::tod_TENTHS#0
|
||||
[89] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_A_CONTROL) ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_A_CONTROL) | (byte) $80
|
||||
[90] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_B_CONTROL) ← *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TIMER_B_CONTROL) & (byte) $7f
|
||||
[91] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_HOURS) ← (byte) tod_init::tod_HOURS#0
|
||||
[92] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_MIN) ← (byte) tod_init::tod_MIN#0
|
||||
[93] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_SEC) ← (byte) tod_init::tod_SEC#0
|
||||
[94] *((byte*)(const nomodify struct MOS6526_CIA*) CIA1+(const byte) OFFSET_STRUCT_MOS6526_CIA_TOD_10THS) ← (byte) tod_init::tod_TENTHS#0
|
||||
to:tod_init::@return
|
||||
tod_init::@return: scope:[tod_init] from tod_init
|
||||
[98] return
|
||||
[95] return
|
||||
to:@return
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -36,12 +36,12 @@
|
||||
(byte) TIME_OF_DAY::TENTHS
|
||||
(struct TIME_OF_DAY) TOD_ZERO loadstore mem[4] = { TENTHS: (byte) 0, SEC: (byte) 0, MIN: (byte) 0, HOURS: (byte) 0 }
|
||||
(byte*) conio_cursor_color
|
||||
(byte*) conio_cursor_color#1 conio_cursor_color zp[2]:7 1000083.6666666666
|
||||
(byte*) conio_cursor_color#1 conio_cursor_color zp[2]:7 666722.4444444445
|
||||
(byte*) conio_cursor_color#17 conio_cursor_color zp[2]:7 1366668.3333333335
|
||||
(byte*) conio_cursor_color#19 conio_cursor_color zp[2]:7 233444.88888888888
|
||||
(byte*) conio_cursor_color#26 conio_cursor_color zp[2]:7 600000.6000000001
|
||||
(byte*) conio_cursor_text
|
||||
(byte*) conio_cursor_text#1 conio_cursor_text zp[2]:5 923154.1538461538
|
||||
(byte*) conio_cursor_text#1 conio_cursor_text zp[2]:5 631631.7894736842
|
||||
(byte*) conio_cursor_text#17 conio_cursor_text zp[2]:5 1366668.3333333335
|
||||
(byte*) conio_cursor_text#19 conio_cursor_text zp[2]:5 300143.4285714285
|
||||
(byte*) conio_cursor_text#26 conio_cursor_text zp[2]:5 428571.85714285716
|
||||
@ -50,7 +50,7 @@
|
||||
(byte) conio_cursor_x#20 reg byte x 110000.20000000001
|
||||
(byte) conio_cursor_x#4 reg byte x 1500001.5
|
||||
(byte) conio_cursor_y
|
||||
(byte) conio_cursor_y#1 conio_cursor_y zp[1]:4 666722.4444444445
|
||||
(byte) conio_cursor_y#1 conio_cursor_y zp[1]:4 500041.8333333333
|
||||
(byte) conio_cursor_y#18 conio_cursor_y zp[1]:4 1366668.3333333335
|
||||
(byte) conio_cursor_y#20 conio_cursor_y zp[1]:4 258417.08333333337
|
||||
(byte) conio_cursor_y#27 conio_cursor_y zp[1]:4 1500001.5
|
||||
@ -75,7 +75,7 @@
|
||||
(void()) gotoxy((byte) gotoxy::x , (byte) gotoxy::y)
|
||||
(word~) gotoxy::$10 zp[2]:7 2.0000002E7
|
||||
(word~) gotoxy::$8 zp[2]:7 1.50000015E7
|
||||
(word~) gotoxy::$9 zp[2]:13 2.0000002E7
|
||||
(word~) gotoxy::$9 zp[2]:11 2.0000002E7
|
||||
(label) gotoxy::@1
|
||||
(label) gotoxy::@2
|
||||
(label) gotoxy::@3
|
||||
@ -92,14 +92,6 @@
|
||||
(label) main::@2
|
||||
(label) main::@3
|
||||
(label) main::@4
|
||||
(byte) main::tod_HOURS
|
||||
(byte) main::tod_HOURS#0 tod_HOURS zp[1]:10 40.4
|
||||
(byte) main::tod_MIN
|
||||
(byte) main::tod_MIN#0 tod_MIN zp[1]:9 40.4
|
||||
(byte) main::tod_SEC
|
||||
(byte) main::tod_SEC#0 reg byte x 40.4
|
||||
(byte) main::tod_TENTHS
|
||||
(byte) main::tod_TENTHS#0 reg byte y 40.4
|
||||
(const byte*) tod_buffer[] = (byte*) "00:00:00:00"
|
||||
(void()) tod_init((byte) tod_init::tod_TENTHS , (byte) tod_init::tod_SEC , (byte) tod_init::tod_MIN , (byte) tod_init::tod_HOURS)
|
||||
(label) tod_init::@return
|
||||
@ -118,8 +110,8 @@
|
||||
(byte) tod_read::mins
|
||||
(struct TIME_OF_DAY) tod_read::return
|
||||
(byte) tod_read::return_HOURS
|
||||
(byte) tod_read::return_HOURS#0 return_HOURS zp[1]:10 122.44444444444446
|
||||
(byte) tod_read::return_HOURS#2 return_HOURS zp[1]:10 50.5
|
||||
(byte) tod_read::return_HOURS#0 return_HOURS zp[1]:13 122.44444444444446
|
||||
(byte) tod_read::return_HOURS#2 reg byte a 50.5
|
||||
(byte) tod_read::return_MIN
|
||||
(byte) tod_read::return_MIN#0 reg byte a 157.42857142857142
|
||||
(byte) tod_read::return_MIN#2 return_MIN zp[1]:9 50.5
|
||||
@ -160,9 +152,9 @@
|
||||
(byte) tod_str::tod_MIN
|
||||
(byte) tod_str::tod_MIN#0 reg byte y 191.1818181818182
|
||||
(byte) tod_str::tod_SEC
|
||||
(byte) tod_str::tod_SEC#0 tod_SEC zp[1]:12 116.83333333333334
|
||||
(byte) tod_str::tod_SEC#0 tod_SEC zp[1]:13 116.83333333333334
|
||||
(byte) tod_str::tod_TENTHS
|
||||
(byte) tod_str::tod_TENTHS#0 tod_TENTHS zp[1]:11 84.12
|
||||
(byte) tod_str::tod_TENTHS#0 tod_TENTHS zp[1]:10 84.12
|
||||
|
||||
zp[2]:2 [ cputs::s#2 cputs::s#0 ]
|
||||
reg byte x [ conio_cursor_x#20 conio_cursor_x#18 conio_cursor_x#4 ]
|
||||
@ -174,17 +166,14 @@ reg byte x [ tod_init::tod_MIN#0 ]
|
||||
reg byte y [ tod_init::tod_HOURS#0 ]
|
||||
reg byte y [ tod_read::return_TENTHS#2 ]
|
||||
reg byte x [ tod_read::return_SEC#2 ]
|
||||
zp[1]:9 [ tod_read::return_MIN#2 main::tod_MIN#0 tod_init::tod_TENTHS#0 ]
|
||||
zp[1]:10 [ tod_read::return_HOURS#2 main::tod_HOURS#0 tod_read::return_HOURS#0 tod_init::tod_SEC#0 ]
|
||||
reg byte y [ main::tod_TENTHS#0 ]
|
||||
reg byte x [ main::tod_SEC#0 ]
|
||||
zp[1]:11 [ tod_str::tod_TENTHS#0 ]
|
||||
zp[1]:12 [ tod_str::tod_SEC#0 ]
|
||||
zp[1]:9 [ tod_read::return_MIN#2 tod_init::tod_TENTHS#0 ]
|
||||
reg byte a [ tod_read::return_HOURS#2 ]
|
||||
zp[1]:10 [ tod_str::tod_TENTHS#0 tod_init::tod_SEC#0 ]
|
||||
reg byte y [ tod_str::tod_MIN#0 ]
|
||||
reg byte x [ tod_str::tod_HOURS#0 ]
|
||||
reg byte a [ cputs::c#1 ]
|
||||
reg byte a [ cputc::c#0 ]
|
||||
zp[2]:13 [ gotoxy::$9 ]
|
||||
zp[2]:11 [ gotoxy::$9 ]
|
||||
reg byte a [ tod_str::$0 ]
|
||||
reg byte a [ tod_str::$1 ]
|
||||
reg byte a [ tod_str::$2 ]
|
||||
@ -201,6 +190,7 @@ reg byte a [ tod_str::$12 ]
|
||||
reg byte a [ tod_str::$13 ]
|
||||
reg byte a [ tod_str::$14 ]
|
||||
reg byte a [ tod_str::$15 ]
|
||||
zp[1]:13 [ tod_read::return_HOURS#0 tod_str::tod_SEC#0 ]
|
||||
reg byte a [ tod_read::return_MIN#0 ]
|
||||
reg byte x [ tod_read::return_SEC#0 ]
|
||||
reg byte y [ tod_read::return_TENTHS#0 ]
|
||||
|
Loading…
Reference in New Issue
Block a user