mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-09-29 03:56:15 +00:00
50 lines
2.1 KiB
INI
50 lines
2.1 KiB
INI
@begin: scope:[] from
|
|
[0] phi()
|
|
to:@1
|
|
@1: scope:[] from @begin
|
|
[1] phi()
|
|
[2] call main
|
|
to:@end
|
|
@end: scope:[] from @1
|
|
[3] phi()
|
|
|
|
(void()) main()
|
|
main: scope:[main] from @1
|
|
[4] phi()
|
|
[5] call print_person
|
|
to:main::@1
|
|
main::@1: scope:[main] from main
|
|
[6] phi()
|
|
[7] call print_person
|
|
to:main::@return
|
|
main::@return: scope:[main] from main::@1
|
|
[8] return
|
|
to:@return
|
|
|
|
(void()) print_person((struct Person*) print_person::person)
|
|
print_person: scope:[print_person] from main main::@1
|
|
[9] (byte) idx#13 ← phi( main/(byte) 0 main::@1/(byte) idx#16 )
|
|
[9] (struct Person*) print_person::person#2 ← phi( main/(const struct Person[2]) persons main::@1/(const struct Person[2]) persons+(byte) 1*(const byte) SIZEOF_STRUCT_PERSON )
|
|
[10] *((const byte*) SCREEN + (byte) idx#13) ← *((const byte[]) DIGIT + *((byte*)(struct Person*) print_person::person#2))
|
|
[11] (byte) idx#4 ← ++ (byte) idx#13
|
|
[12] *((const byte*) SCREEN + (byte) idx#4) ← (byte) ' '
|
|
[13] (byte) idx#5 ← ++ (byte) idx#4
|
|
to:print_person::@1
|
|
print_person::@1: scope:[print_person] from print_person print_person::@2
|
|
[14] (byte) idx#14 ← phi( print_person/(byte) idx#5 print_person::@2/(byte) idx#6 )
|
|
[14] (byte) print_person::i#2 ← phi( print_person/(byte) 0 print_person::@2/(byte) print_person::i#1 )
|
|
[15] if((byte) 0!=*(*((byte**)(struct Person*) print_person::person#2 + (const byte) OFFSET_STRUCT_PERSON_NAME) + (byte) print_person::i#2)) goto print_person::@2
|
|
to:print_person::@3
|
|
print_person::@3: scope:[print_person] from print_person::@1
|
|
[16] *((const byte*) SCREEN + (byte) idx#14) ← (byte) ' '
|
|
[17] (byte) idx#16 ← ++ (byte) idx#14
|
|
to:print_person::@return
|
|
print_person::@return: scope:[print_person] from print_person::@3
|
|
[18] return
|
|
to:@return
|
|
print_person::@2: scope:[print_person] from print_person::@1
|
|
[19] *((const byte*) SCREEN + (byte) idx#14) ← *(*((byte**)(struct Person*) print_person::person#2 + (const byte) OFFSET_STRUCT_PERSON_NAME) + (byte) print_person::i#2)
|
|
[20] (byte) idx#6 ← ++ (byte) idx#14
|
|
[21] (byte) print_person::i#1 ← ++ (byte) print_person::i#2
|
|
to:print_person::@1
|