hexsha
stringlengths 40
40
| size
int64 6
1.05M
| ext
stringclasses 3
values | lang
stringclasses 1
value | max_stars_repo_path
stringlengths 4
232
| max_stars_repo_name
stringlengths 7
106
| max_stars_repo_head_hexsha
stringlengths 40
40
| max_stars_repo_licenses
listlengths 1
7
| max_stars_count
int64 1
33.5k
⌀ | max_stars_repo_stars_event_min_datetime
stringlengths 24
24
⌀ | max_stars_repo_stars_event_max_datetime
stringlengths 24
24
⌀ | max_issues_repo_path
stringlengths 4
232
| max_issues_repo_name
stringlengths 7
106
| max_issues_repo_head_hexsha
stringlengths 40
40
| max_issues_repo_licenses
listlengths 1
7
| max_issues_count
int64 1
37.5k
⌀ | max_issues_repo_issues_event_min_datetime
stringlengths 24
24
⌀ | max_issues_repo_issues_event_max_datetime
stringlengths 24
24
⌀ | max_forks_repo_path
stringlengths 4
232
| max_forks_repo_name
stringlengths 7
106
| max_forks_repo_head_hexsha
stringlengths 40
40
| max_forks_repo_licenses
listlengths 1
7
| max_forks_count
int64 1
12.6k
⌀ | max_forks_repo_forks_event_min_datetime
stringlengths 24
24
⌀ | max_forks_repo_forks_event_max_datetime
stringlengths 24
24
⌀ | content
stringlengths 6
1.05M
| avg_line_length
float64 1.16
19.7k
| max_line_length
int64 2
938k
| alphanum_fraction
float64 0
1
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a930232b803b27681ec9f7b18e510aa4fd12a19a
| 141
|
asm
|
Assembly
|
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/bank7.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/bank7.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/NEWS.7z/NEWS/テープリストア/NEWS_05/NEWS_05.tar/home/kimura/polygon.lzh/polygon/sf2/bank7.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: bank7.asm
Type: file
Size: 365
Last-Modified: '1993-01-07T04:42:27Z'
SHA-1: 5146FEB3C68AA44B029AB3584747B5FE5A0EA3C6
Description: null
| 20.142857
| 47
| 0.808511
|
0711aff87564b8a523c7d5f79ba582c034c01682
| 875
|
asm
|
Assembly
|
programs/oeis/022/A022408.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/022/A022408.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/022/A022408.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A022408: a(n) = a(n-1) + a(n-2) + 1, with a(0)=3, a(1)=9.
; 3,9,13,23,37,61,99,161,261,423,685,1109,1795,2905,4701,7607,12309,19917,32227,52145,84373,136519,220893,357413,578307,935721,1514029,2449751,3963781,6413533,10377315,16790849,27168165,43959015,71127181,115086197,186213379,301299577,487512957,788812535,1276325493,2065138029,3341463523,5406601553,8748065077,14154666631,22902731709,37057398341,59960130051,97017528393,156977658445,253995186839,410972845285,664968032125,1075940877411,1740908909537,2816849786949,4557758696487,7374608483437,11932367179925,19306975663363,31239342843289,50546318506653,81785661349943,132331979856597,214117641206541,346449621063139,560567262269681,907016883332821,1467584145602503,2374601028935325,3842185174537829,6216786203473155
mov $1,4
mov $2,10
lpb $0,1
sub $0,1
add $1,$2
mov $3,$2
mov $2,$1
mov $1,$3
lpe
sub $1,1
| 62.5
| 713
| 0.816
|
69e48ed674bf7296324e69ddee8c3b5e0c859003
| 340
|
asm
|
Assembly
|
Logical/Main.asm
|
GZYangKui/assembly
|
0af4d180f48094e9e6e568b4d09717a7e70579ae
|
[
"Apache-2.0"
] | null | null | null |
Logical/Main.asm
|
GZYangKui/assembly
|
0af4d180f48094e9e6e568b4d09717a7e70579ae
|
[
"Apache-2.0"
] | null | null | null |
Logical/Main.asm
|
GZYangKui/assembly
|
0af4d180f48094e9e6e568b4d09717a7e70579ae
|
[
"Apache-2.0"
] | null | null | null |
extern exit_app
extern print_num
section .data
op db 10
op1 db 25
section .text
global _start
_start:
mov al,byte[op]
mov bl,byte[op1]
;与(&)运算
and al,bl
push rax
call print_num
;或(|)运算
or al,bl
push rax
call print_num
;异或(^)
xor al,bl
push rax
call print_num
last:
call exit_app
| 10.30303
| 35
| 0.614706
|
e947ecb4c39ddeee73129060db4b9ce22c50b9c8
| 150
|
asm
|
Assembly
|
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n2/mn_hp_sminit.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n2/mn_hp_sminit.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n2/mn_hp_sminit.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: mn_hp_sminit.asm
Type: file
Size: 81911
Last-Modified: '1993-08-25T07:34:46Z'
SHA-1: F71FB10549BFE189125C864447523F04A5334B1C
Description: null
| 21.428571
| 47
| 0.82
|
4852ed4675238ec8ba240cc07704374d17223109
| 617
|
asm
|
Assembly
|
oeis/081/A081518.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/081/A081518.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/081/A081518.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A081518: Final term in row n of A081520.
; Submitted by Jon Maiga
; 1,2,6,6,20,8,42,14,24,15,110,16,156,22,30,30,272,26,342,32,48,38,506,34,120,46,78,48,812,39,930,62,81,62,110,52,1332,70,99,65,1640,57,1806,78,95,86,2162,70,336,82,135,94,2756,80,198,96,152,110,3422,81,3660,118,144,126,245,93,4422,126,186,105,4970,106,5256,142,159,142,343,111,6162,132,240,158,6806,117,340,166,240,160,7832,122,429,174,258,182,390,142,9312,170,249,165
mov $1,1
add $1,$0
mov $2,1
lpb $0
mov $3,$2
mul $3,$0
lpb $3
add $2,1
mov $4,$1
gcd $4,$2
cmp $4,1
sub $3,$4
lpe
sub $0,1
add $2,1
lpe
mov $0,$2
| 28.045455
| 369
| 0.643436
|
3f486595f99d0e9032ee02b5d2c00d7bc62fa37b
| 472,728
|
asm
|
Assembly
|
bugs/PENDING_SUBMIT/0433-BAD-IMAGE-Pixel5-29b7a44e-no-opt-test/unreduced_result/variant/1_spirv_asm/shader.frag.asm
|
asuonpaa/ShaderTests
|
6a3672040dcfa0d164d313224446496d1775a15e
|
[
"Apache-2.0"
] | null | null | null |
bugs/PENDING_SUBMIT/0433-BAD-IMAGE-Pixel5-29b7a44e-no-opt-test/unreduced_result/variant/1_spirv_asm/shader.frag.asm
|
asuonpaa/ShaderTests
|
6a3672040dcfa0d164d313224446496d1775a15e
|
[
"Apache-2.0"
] | 47
|
2021-03-11T07:42:51.000Z
|
2022-03-14T06:30:14.000Z
|
bugs/PENDING_SUBMIT/0433-BAD-IMAGE-Pixel5-29b7a44e-no-opt-test/unreduced_result/variant/1_spirv_asm/shader.frag.asm
|
asuonpaa/ShaderTests
|
6a3672040dcfa0d164d313224446496d1775a15e
|
[
"Apache-2.0"
] | 4
|
2021-03-09T13:37:19.000Z
|
2022-02-25T07:32:11.000Z
|
; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 8055
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %35 %7648
OpExecutionMode %4 OriginUpperLeft
OpSource ESSL 320
OpName %4 "main"
OpName %11 "ReallyApproxNormalizedAtan2(vf2;"
OpName %10 "v"
OpName %15 "polarize(vf2;"
OpName %14 "coord"
OpName %18 "pi2"
OpName %35 "gl_FragCoord"
OpName %51 "buf_push"
OpMemberName %51 0 "injectionSwitch"
OpName %53 ""
OpName %77 "_injected_loop_counter"
OpName %106 "_injected_loop_counter"
OpName %119 "_injected_loop_counter"
OpName %158 "_injected_loop_counter"
OpName %168 "_injected_loop_counter"
OpName %176 "_injected_loop_counter"
OpName %218 "a"
OpName %325 "_injected_loop_counter"
OpName %397 "_injected_loop_counter"
OpName %484 "_injected_loop_counter"
OpName %492 "_injected_loop_counter"
OpName %584 "_injected_loop_counter"
OpName %598 "_injected_loop_counter"
OpName %622 "_injected_loop_counter"
OpName %633 "_injected_loop_counter"
OpName %717 "_injected_loop_counter"
OpName %725 "_injected_loop_counter"
OpName %933 "_injected_loop_counter"
OpName %944 "z"
OpName %962 "_injected_loop_counter"
OpName %1006 "_injected_loop_counter"
OpName %1070 "_injected_loop_counter"
OpName %1114 "_injected_loop_counter"
OpName %1126 "_injected_loop_counter"
OpName %1238 "_injected_loop_counter"
OpName %1296 "_injected_loop_counter"
OpName %1319 "_injected_loop_counter"
OpName %1371 "_injected_loop_counter"
OpName %1383 "_injected_loop_counter"
OpName %1415 "_injected_loop_counter"
OpName %1494 "_injected_loop_counter"
OpName %1513 "_injected_loop_counter"
OpName %1612 "_injected_loop_counter"
OpName %1773 "_injected_loop_counter"
OpName %1829 "_injected_loop_counter"
OpName %1900 "_injected_loop_counter"
OpName %1932 "_injected_loop_counter"
OpName %1979 "_injected_loop_counter"
OpName %1997 "_injected_loop_counter"
OpName %2026 "_injected_loop_counter"
OpName %2037 "_injected_loop_counter"
OpName %2071 "_injected_loop_counter"
OpName %2130 "_injected_loop_counter"
OpName %2155 "_injected_loop_counter"
OpName %2163 "_injected_loop_counter"
OpName %2192 "th"
OpName %2294 "_injected_loop_counter"
OpName %2318 "_injected_loop_counter"
OpName %2329 "_injected_loop_counter"
OpName %2355 "_injected_loop_counter"
OpName %2374 "_injected_loop_counter"
OpName %2486 "_injected_loop_counter"
OpName %2494 "_injected_loop_counter"
OpName %2567 "_injected_loop_counter"
OpName %2596 "_injected_loop_counter"
OpName %2634 "_injected_loop_counter"
OpName %2651 "_injected_loop_counter"
OpName %2667 "_injected_loop_counter"
OpName %2721 "_injected_loop_counter"
OpName %2770 "_injected_loop_counter"
OpName %2849 "_injected_loop_counter"
OpName %2903 "_injected_loop_counter"
OpName %2931 "_injected_loop_counter"
OpName %2941 "_injected_loop_counter"
OpName %2986 "_injected_loop_counter"
OpName %3015 "_injected_loop_counter"
OpName %3032 "_injected_loop_counter"
OpName %3042 "_injected_loop_counter"
OpName %3197 "_injected_loop_counter"
OpName %3212 "_injected_loop_counter"
OpName %3249 "_injected_loop_counter"
OpName %3276 "_injected_loop_counter"
OpName %3286 "_injected_loop_counter"
OpName %3347 "_injected_loop_counter"
OpName %3420 "_injected_loop_counter"
OpName %3441 "_injected_loop_counter"
OpName %3457 "_injected_loop_counter"
OpName %3479 "_injected_loop_counter"
OpName %3514 "_injected_loop_counter"
OpName %3569 "_injected_loop_counter"
OpName %3630 "_injected_loop_counter"
OpName %3653 "_injected_loop_counter"
OpName %3763 "_injected_loop_counter"
OpName %3822 "_injected_loop_counter"
OpName %3847 "_injected_loop_counter"
OpName %3879 "_injected_loop_counter"
OpName %3887 "_injected_loop_counter"
OpName %3961 "_injected_loop_counter"
OpName %4014 "_injected_loop_counter"
OpName %4029 "_injected_loop_counter"
OpName %4149 "_injected_loop_counter"
OpName %4209 "_injected_loop_counter"
OpName %4250 "_injected_loop_counter"
OpName %4276 "_injected_loop_counter"
OpName %4317 "_injected_loop_counter"
OpName %4348 "_injected_loop_counter"
OpName %4356 "_injected_loop_counter"
OpName %4392 "_injected_loop_counter"
OpName %4420 "_injected_loop_counter"
OpName %4482 "_injected_loop_counter"
OpName %4621 "_injected_loop_counter"
OpName %4649 "_injected_loop_counter"
OpName %4694 "_injected_loop_counter"
OpName %4751 "_injected_loop_counter"
OpName %4817 "_injected_loop_counter"
OpName %4858 "_injected_loop_counter"
OpName %4866 "_injected_loop_counter"
OpName %4927 "_injected_loop_counter"
OpName %4951 "_injected_loop_counter"
OpName %4976 "_injected_loop_counter"
OpName %5001 "_injected_loop_counter"
OpName %5019 "_injected_loop_counter"
OpName %5035 "_injected_loop_counter"
OpName %5043 "_injected_loop_counter"
OpName %5092 "_injected_loop_counter"
OpName %5123 "_injected_loop_counter"
OpName %5171 "_injected_loop_counter"
OpName %5203 "_injected_loop_counter"
OpName %5233 "_injected_loop_counter"
OpName %5243 "_injected_loop_counter"
OpName %5266 "_injected_loop_counter"
OpName %5323 "_injected_loop_counter"
OpName %5346 "_injected_loop_counter"
OpName %5378 "_GLF_struct_0"
OpMemberName %5378 0 "pi"
OpMemberName %5378 1 "_f0"
OpName %5380 "_GLF_struct_replacement_0"
OpName %5384 "center"
OpName %5395 "dist"
OpName %5398 "angle"
OpName %5399 "param"
OpName %5440 "_injected_loop_counter"
OpName %5453 "_injected_loop_counter"
OpName %5539 "_injected_loop_counter"
OpName %5620 "_injected_loop_counter"
OpName %5726 "_injected_loop_counter"
OpName %5751 "_injected_loop_counter"
OpName %5799 "_injected_loop_counter"
OpName %5826 "_injected_loop_counter"
OpName %5929 "_injected_loop_counter"
OpName %5951 "_injected_loop_counter"
OpName %5967 "_injected_loop_counter"
OpName %6014 "_injected_loop_counter"
OpName %6026 "_injected_loop_counter"
OpName %6042 "_injected_loop_counter"
OpName %6076 "_injected_loop_counter"
OpName %6163 "_injected_loop_counter"
OpName %6221 "_injected_loop_counter"
OpName %6235 "_injected_loop_counter"
OpName %6298 "_injected_loop_counter"
OpName %6395 "coord"
OpName %6400 "_injected_loop_counter"
OpName %6415 "_injected_loop_counter"
OpName %6434 "_GLF_struct_1"
OpMemberName %6434 0 "_f0"
OpMemberName %6434 1 "_f1"
OpMemberName %6434 2 "coord1"
OpMemberName %6434 3 "_f2"
OpMemberName %6434 4 "_f3"
OpName %6435 "_GLF_struct_2"
OpMemberName %6435 0 "_f0"
OpName %6436 "_GLF_struct_3"
OpMemberName %6436 0 "_f0"
OpMemberName %6436 1 "_f1"
OpMemberName %6436 2 "_f2"
OpMemberName %6436 3 "_f3"
OpMemberName %6436 4 "_f4"
OpName %6437 "_GLF_struct_4"
OpMemberName %6437 0 "_f0"
OpMemberName %6437 1 "_f1"
OpMemberName %6437 2 "_f2"
OpMemberName %6437 3 "_f3"
OpName %6439 "_GLF_struct_replacement_4"
OpName %6447 "param"
OpName %6492 "coord2"
OpName %6498 "param"
OpName %6561 "_injected_loop_counter"
OpName %6569 "_injected_loop_counter"
OpName %6620 "_injected_loop_counter"
OpName %6633 "_injected_loop_counter"
OpName %6683 "_injected_loop_counter"
OpName %6725 "_injected_loop_counter"
OpName %6776 "_injected_loop_counter"
OpName %6790 "_injected_loop_counter"
OpName %6815 "_injected_loop_counter"
OpName %6826 "_injected_loop_counter"
OpName %6858 "_injected_loop_counter"
OpName %6884 "_injected_loop_counter"
OpName %6933 "_injected_loop_counter"
OpName %6975 "_injected_loop_counter"
OpName %7018 "_injected_loop_counter"
OpName %7026 "_injected_loop_counter"
OpName %7058 "_injected_loop_counter"
OpName %7130 "_injected_loop_counter"
OpName %7201 "_injected_loop_counter"
OpName %7247 "_injected_loop_counter"
OpName %7275 "_GLF_struct_5"
OpMemberName %7275 0 "_f0"
OpMemberName %7275 1 "_f1"
OpMemberName %7275 2 "_f2"
OpName %7277 "_GLF_struct_6"
OpMemberName %7277 0 "_f0"
OpMemberName %7277 1 "_f1"
OpMemberName %7277 2 "_f2"
OpMemberName %7277 3 "_f3"
OpName %7278 "_GLF_struct_7"
OpMemberName %7278 0 "_f0"
OpMemberName %7278 1 "_f1"
OpMemberName %7278 2 "_f2"
OpMemberName %7278 3 "_f3"
OpMemberName %7278 4 "_f4"
OpName %7280 "_GLF_struct_8"
OpMemberName %7280 0 "_f0"
OpName %7281 "_GLF_struct_9"
OpMemberName %7281 0 "_f0"
OpMemberName %7281 1 "_f1"
OpMemberName %7281 2 "_f2"
OpMemberName %7281 3 "_f3"
OpName %7282 "_GLF_struct_10"
OpMemberName %7282 0 "_f0"
OpMemberName %7282 1 "_f1"
OpMemberName %7282 2 "_f2"
OpMemberName %7282 3 "coord3"
OpMemberName %7282 4 "_f3"
OpMemberName %7282 5 "_f4"
OpMemberName %7282 6 "_f5"
OpName %7284 "_GLF_struct_replacement_10"
OpName %7294 "param"
OpName %7301 "_injected_loop_counter"
OpName %7322 "_injected_loop_counter"
OpName %7347 "_injected_loop_counter"
OpName %7355 "_injected_loop_counter"
OpName %7397 "_injected_loop_counter"
OpName %7416 "_injected_loop_counter"
OpName %7576 "_injected_loop_counter"
OpName %7632 "_injected_loop_counter"
OpName %7648 "_GLF_color"
OpName %7652 "tex"
OpName %7689 "_injected_loop_counter"
OpName %7708 "_injected_loop_counter"
OpName %7716 "_injected_loop_counter"
OpName %7729 "_injected_loop_counter"
OpName %7742 "_injected_loop_counter"
OpName %7772 "_injected_loop_counter"
OpName %7875 "_injected_loop_counter"
OpName %8033 "_injected_loop_counter"
OpDecorate %35 BuiltIn FragCoord
OpMemberDecorate %51 0 Offset 0
OpDecorate %51 Block
OpDecorate %77 RelaxedPrecision
OpDecorate %83 RelaxedPrecision
OpDecorate %106 RelaxedPrecision
OpDecorate %112 RelaxedPrecision
OpDecorate %117 RelaxedPrecision
OpDecorate %118 RelaxedPrecision
OpDecorate %119 RelaxedPrecision
OpDecorate %125 RelaxedPrecision
OpDecorate %135 RelaxedPrecision
OpDecorate %136 RelaxedPrecision
OpDecorate %156 RelaxedPrecision
OpDecorate %157 RelaxedPrecision
OpDecorate %158 RelaxedPrecision
OpDecorate %164 RelaxedPrecision
OpDecorate %168 RelaxedPrecision
OpDecorate %174 RelaxedPrecision
OpDecorate %176 RelaxedPrecision
OpDecorate %182 RelaxedPrecision
OpDecorate %193 RelaxedPrecision
OpDecorate %194 RelaxedPrecision
OpDecorate %195 RelaxedPrecision
OpDecorate %196 RelaxedPrecision
OpDecorate %199 RelaxedPrecision
OpDecorate %200 RelaxedPrecision
OpDecorate %325 RelaxedPrecision
OpDecorate %328 RelaxedPrecision
OpDecorate %334 RelaxedPrecision
OpDecorate %368 RelaxedPrecision
OpDecorate %369 RelaxedPrecision
OpDecorate %397 RelaxedPrecision
OpDecorate %403 RelaxedPrecision
OpDecorate %484 RelaxedPrecision
OpDecorate %490 RelaxedPrecision
OpDecorate %492 RelaxedPrecision
OpDecorate %498 RelaxedPrecision
OpDecorate %517 RelaxedPrecision
OpDecorate %518 RelaxedPrecision
OpDecorate %519 RelaxedPrecision
OpDecorate %520 RelaxedPrecision
OpDecorate %584 RelaxedPrecision
OpDecorate %590 RelaxedPrecision
OpDecorate %598 RelaxedPrecision
OpDecorate %604 RelaxedPrecision
OpDecorate %618 RelaxedPrecision
OpDecorate %619 RelaxedPrecision
OpDecorate %620 RelaxedPrecision
OpDecorate %621 RelaxedPrecision
OpDecorate %622 RelaxedPrecision
OpDecorate %628 RelaxedPrecision
OpDecorate %633 RelaxedPrecision
OpDecorate %636 RelaxedPrecision
OpDecorate %642 RelaxedPrecision
OpDecorate %717 RelaxedPrecision
OpDecorate %723 RelaxedPrecision
OpDecorate %725 RelaxedPrecision
OpDecorate %728 RelaxedPrecision
OpDecorate %734 RelaxedPrecision
OpDecorate %800 RelaxedPrecision
OpDecorate %801 RelaxedPrecision
OpDecorate %802 RelaxedPrecision
OpDecorate %803 RelaxedPrecision
OpDecorate %933 RelaxedPrecision
OpDecorate %939 RelaxedPrecision
OpDecorate %950 RelaxedPrecision
OpDecorate %951 RelaxedPrecision
OpDecorate %962 RelaxedPrecision
OpDecorate %968 RelaxedPrecision
OpDecorate %1006 RelaxedPrecision
OpDecorate %1012 RelaxedPrecision
OpDecorate %1020 RelaxedPrecision
OpDecorate %1021 RelaxedPrecision
OpDecorate %1070 RelaxedPrecision
OpDecorate %1076 RelaxedPrecision
OpDecorate %1114 RelaxedPrecision
OpDecorate %1120 RelaxedPrecision
OpDecorate %1126 RelaxedPrecision
OpDecorate %1132 RelaxedPrecision
OpDecorate %1154 RelaxedPrecision
OpDecorate %1155 RelaxedPrecision
OpDecorate %1238 RelaxedPrecision
OpDecorate %1296 RelaxedPrecision
OpDecorate %1302 RelaxedPrecision
OpDecorate %1307 RelaxedPrecision
OpDecorate %1308 RelaxedPrecision
OpDecorate %1319 RelaxedPrecision
OpDecorate %1325 RelaxedPrecision
OpDecorate %1360 RelaxedPrecision
OpDecorate %1361 RelaxedPrecision
OpDecorate %1371 RelaxedPrecision
OpDecorate %1377 RelaxedPrecision
OpDecorate %1383 RelaxedPrecision
OpDecorate %1386 RelaxedPrecision
OpDecorate %1392 RelaxedPrecision
OpDecorate %1413 RelaxedPrecision
OpDecorate %1414 RelaxedPrecision
OpDecorate %1415 RelaxedPrecision
OpDecorate %1421 RelaxedPrecision
OpDecorate %1435 RelaxedPrecision
OpDecorate %1436 RelaxedPrecision
OpDecorate %1494 RelaxedPrecision
OpDecorate %1500 RelaxedPrecision
OpDecorate %1513 RelaxedPrecision
OpDecorate %1519 RelaxedPrecision
OpDecorate %1534 RelaxedPrecision
OpDecorate %1535 RelaxedPrecision
OpDecorate %1536 RelaxedPrecision
OpDecorate %1537 RelaxedPrecision
OpDecorate %1612 RelaxedPrecision
OpDecorate %1618 RelaxedPrecision
OpDecorate %1645 RelaxedPrecision
OpDecorate %1646 RelaxedPrecision
OpDecorate %1773 RelaxedPrecision
OpDecorate %1779 RelaxedPrecision
OpDecorate %1789 RelaxedPrecision
OpDecorate %1790 RelaxedPrecision
OpDecorate %1829 RelaxedPrecision
OpDecorate %1835 RelaxedPrecision
OpDecorate %1858 RelaxedPrecision
OpDecorate %1859 RelaxedPrecision
OpDecorate %1900 RelaxedPrecision
OpDecorate %1906 RelaxedPrecision
OpDecorate %1913 RelaxedPrecision
OpDecorate %1914 RelaxedPrecision
OpDecorate %1932 RelaxedPrecision
OpDecorate %1938 RelaxedPrecision
OpDecorate %1943 RelaxedPrecision
OpDecorate %1944 RelaxedPrecision
OpDecorate %1945 RelaxedPrecision
OpDecorate %1946 RelaxedPrecision
OpDecorate %1979 RelaxedPrecision
OpDecorate %1985 RelaxedPrecision
OpDecorate %1997 RelaxedPrecision
OpDecorate %2003 RelaxedPrecision
OpDecorate %2008 RelaxedPrecision
OpDecorate %2009 RelaxedPrecision
OpDecorate %2026 RelaxedPrecision
OpDecorate %2032 RelaxedPrecision
OpDecorate %2037 RelaxedPrecision
OpDecorate %2043 RelaxedPrecision
OpDecorate %2071 RelaxedPrecision
OpDecorate %2077 RelaxedPrecision
OpDecorate %2115 RelaxedPrecision
OpDecorate %2116 RelaxedPrecision
OpDecorate %2130 RelaxedPrecision
OpDecorate %2136 RelaxedPrecision
OpDecorate %2155 RelaxedPrecision
OpDecorate %2161 RelaxedPrecision
OpDecorate %2163 RelaxedPrecision
OpDecorate %2169 RelaxedPrecision
OpDecorate %2184 RelaxedPrecision
OpDecorate %2185 RelaxedPrecision
OpDecorate %2294 RelaxedPrecision
OpDecorate %2300 RelaxedPrecision
OpDecorate %2307 RelaxedPrecision
OpDecorate %2308 RelaxedPrecision
OpDecorate %2318 RelaxedPrecision
OpDecorate %2324 RelaxedPrecision
OpDecorate %2329 RelaxedPrecision
OpDecorate %2332 RelaxedPrecision
OpDecorate %2333 RelaxedPrecision
OpDecorate %2339 RelaxedPrecision
OpDecorate %2355 RelaxedPrecision
OpDecorate %2361 RelaxedPrecision
OpDecorate %2374 RelaxedPrecision
OpDecorate %2380 RelaxedPrecision
OpDecorate %2414 RelaxedPrecision
OpDecorate %2415 RelaxedPrecision
OpDecorate %2438 RelaxedPrecision
OpDecorate %2439 RelaxedPrecision
OpDecorate %2440 RelaxedPrecision
OpDecorate %2441 RelaxedPrecision
OpDecorate %2486 RelaxedPrecision
OpDecorate %2492 RelaxedPrecision
OpDecorate %2494 RelaxedPrecision
OpDecorate %2497 RelaxedPrecision
OpDecorate %2503 RelaxedPrecision
OpDecorate %2511 RelaxedPrecision
OpDecorate %2512 RelaxedPrecision
OpDecorate %2567 RelaxedPrecision
OpDecorate %2573 RelaxedPrecision
OpDecorate %2596 RelaxedPrecision
OpDecorate %2602 RelaxedPrecision
OpDecorate %2617 RelaxedPrecision
OpDecorate %2618 RelaxedPrecision
OpDecorate %2634 RelaxedPrecision
OpDecorate %2637 RelaxedPrecision
OpDecorate %2643 RelaxedPrecision
OpDecorate %2651 RelaxedPrecision
OpDecorate %2657 RelaxedPrecision
OpDecorate %2667 RelaxedPrecision
OpDecorate %2673 RelaxedPrecision
OpDecorate %2701 RelaxedPrecision
OpDecorate %2702 RelaxedPrecision
OpDecorate %2721 RelaxedPrecision
OpDecorate %2727 RelaxedPrecision
OpDecorate %2747 RelaxedPrecision
OpDecorate %2748 RelaxedPrecision
OpDecorate %2749 RelaxedPrecision
OpDecorate %2750 RelaxedPrecision
OpDecorate %2770 RelaxedPrecision
OpDecorate %2776 RelaxedPrecision
OpDecorate %2784 RelaxedPrecision
OpDecorate %2785 RelaxedPrecision
OpDecorate %2808 RelaxedPrecision
OpDecorate %2809 RelaxedPrecision
OpDecorate %2849 RelaxedPrecision
OpDecorate %2855 RelaxedPrecision
OpDecorate %2864 RelaxedPrecision
OpDecorate %2865 RelaxedPrecision
OpDecorate %2903 RelaxedPrecision
OpDecorate %2909 RelaxedPrecision
OpDecorate %2931 RelaxedPrecision
OpDecorate %2937 RelaxedPrecision
OpDecorate %2941 RelaxedPrecision
OpDecorate %2944 RelaxedPrecision
OpDecorate %2950 RelaxedPrecision
OpDecorate %2986 RelaxedPrecision
OpDecorate %2992 RelaxedPrecision
OpDecorate %3003 RelaxedPrecision
OpDecorate %3004 RelaxedPrecision
OpDecorate %3015 RelaxedPrecision
OpDecorate %3021 RelaxedPrecision
OpDecorate %3032 RelaxedPrecision
OpDecorate %3038 RelaxedPrecision
OpDecorate %3042 RelaxedPrecision
OpDecorate %3048 RelaxedPrecision
OpDecorate %3053 RelaxedPrecision
OpDecorate %3054 RelaxedPrecision
OpDecorate %3058 RelaxedPrecision
OpDecorate %3059 RelaxedPrecision
OpDecorate %3146 RelaxedPrecision
OpDecorate %3147 RelaxedPrecision
OpDecorate %3197 RelaxedPrecision
OpDecorate %3203 RelaxedPrecision
OpDecorate %3212 RelaxedPrecision
OpDecorate %3218 RelaxedPrecision
OpDecorate %3226 RelaxedPrecision
OpDecorate %3227 RelaxedPrecision
OpDecorate %3249 RelaxedPrecision
OpDecorate %3252 RelaxedPrecision
OpDecorate %3258 RelaxedPrecision
OpDecorate %3267 RelaxedPrecision
OpDecorate %3268 RelaxedPrecision
OpDecorate %3276 RelaxedPrecision
OpDecorate %3282 RelaxedPrecision
OpDecorate %3286 RelaxedPrecision
OpDecorate %3292 RelaxedPrecision
OpDecorate %3339 RelaxedPrecision
OpDecorate %3340 RelaxedPrecision
OpDecorate %3341 RelaxedPrecision
OpDecorate %3342 RelaxedPrecision
OpDecorate %3347 RelaxedPrecision
OpDecorate %3353 RelaxedPrecision
OpDecorate %3375 RelaxedPrecision
OpDecorate %3376 RelaxedPrecision
OpDecorate %3420 RelaxedPrecision
OpDecorate %3426 RelaxedPrecision
OpDecorate %3441 RelaxedPrecision
OpDecorate %3444 RelaxedPrecision
OpDecorate %3450 RelaxedPrecision
OpDecorate %3457 RelaxedPrecision
OpDecorate %3463 RelaxedPrecision
OpDecorate %3471 RelaxedPrecision
OpDecorate %3472 RelaxedPrecision
OpDecorate %3479 RelaxedPrecision
OpDecorate %3482 RelaxedPrecision
OpDecorate %3488 RelaxedPrecision
OpDecorate %3506 RelaxedPrecision
OpDecorate %3507 RelaxedPrecision
OpDecorate %3514 RelaxedPrecision
OpDecorate %3517 RelaxedPrecision
OpDecorate %3523 RelaxedPrecision
OpDecorate %3569 RelaxedPrecision
OpDecorate %3575 RelaxedPrecision
OpDecorate %3630 RelaxedPrecision
OpDecorate %3636 RelaxedPrecision
OpDecorate %3646 RelaxedPrecision
OpDecorate %3647 RelaxedPrecision
OpDecorate %3653 RelaxedPrecision
OpDecorate %3659 RelaxedPrecision
OpDecorate %3763 RelaxedPrecision
OpDecorate %3769 RelaxedPrecision
OpDecorate %3774 RelaxedPrecision
OpDecorate %3775 RelaxedPrecision
OpDecorate %3822 RelaxedPrecision
OpDecorate %3828 RelaxedPrecision
OpDecorate %3847 RelaxedPrecision
OpDecorate %3853 RelaxedPrecision
OpDecorate %3868 RelaxedPrecision
OpDecorate %3869 RelaxedPrecision
OpDecorate %3879 RelaxedPrecision
OpDecorate %3885 RelaxedPrecision
OpDecorate %3887 RelaxedPrecision
OpDecorate %3893 RelaxedPrecision
OpDecorate %3898 RelaxedPrecision
OpDecorate %3899 RelaxedPrecision
OpDecorate %3961 RelaxedPrecision
OpDecorate %3967 RelaxedPrecision
OpDecorate %3975 RelaxedPrecision
OpDecorate %3976 RelaxedPrecision
OpDecorate %4014 RelaxedPrecision
OpDecorate %4017 RelaxedPrecision
OpDecorate %4018 RelaxedPrecision
OpDecorate %4024 RelaxedPrecision
OpDecorate %4029 RelaxedPrecision
OpDecorate %4032 RelaxedPrecision
OpDecorate %4033 RelaxedPrecision
OpDecorate %4039 RelaxedPrecision
OpDecorate %4149 RelaxedPrecision
OpDecorate %4155 RelaxedPrecision
OpDecorate %4186 RelaxedPrecision
OpDecorate %4187 RelaxedPrecision
OpDecorate %4209 RelaxedPrecision
OpDecorate %4215 RelaxedPrecision
OpDecorate %4236 RelaxedPrecision
OpDecorate %4237 RelaxedPrecision
OpDecorate %4250 RelaxedPrecision
OpDecorate %4256 RelaxedPrecision
OpDecorate %4276 RelaxedPrecision
OpDecorate %4282 RelaxedPrecision
OpDecorate %4317 RelaxedPrecision
OpDecorate %4323 RelaxedPrecision
OpDecorate %4348 RelaxedPrecision
OpDecorate %4354 RelaxedPrecision
OpDecorate %4356 RelaxedPrecision
OpDecorate %4362 RelaxedPrecision
OpDecorate %4371 RelaxedPrecision
OpDecorate %4372 RelaxedPrecision
OpDecorate %4373 RelaxedPrecision
OpDecorate %4374 RelaxedPrecision
OpDecorate %4384 RelaxedPrecision
OpDecorate %4385 RelaxedPrecision
OpDecorate %4392 RelaxedPrecision
OpDecorate %4398 RelaxedPrecision
OpDecorate %4413 RelaxedPrecision
OpDecorate %4414 RelaxedPrecision
OpDecorate %4420 RelaxedPrecision
OpDecorate %4426 RelaxedPrecision
OpDecorate %4482 RelaxedPrecision
OpDecorate %4488 RelaxedPrecision
OpDecorate %4537 RelaxedPrecision
OpDecorate %4538 RelaxedPrecision
OpDecorate %4621 RelaxedPrecision
OpDecorate %4627 RelaxedPrecision
OpDecorate %4649 RelaxedPrecision
OpDecorate %4655 RelaxedPrecision
OpDecorate %4694 RelaxedPrecision
OpDecorate %4700 RelaxedPrecision
OpDecorate %4724 RelaxedPrecision
OpDecorate %4725 RelaxedPrecision
OpDecorate %4751 RelaxedPrecision
OpDecorate %4757 RelaxedPrecision
OpDecorate %4815 RelaxedPrecision
OpDecorate %4816 RelaxedPrecision
OpDecorate %4817 RelaxedPrecision
OpDecorate %4823 RelaxedPrecision
OpDecorate %4858 RelaxedPrecision
OpDecorate %4864 RelaxedPrecision
OpDecorate %4866 RelaxedPrecision
OpDecorate %4872 RelaxedPrecision
OpDecorate %4890 RelaxedPrecision
OpDecorate %4891 RelaxedPrecision
OpDecorate %4892 RelaxedPrecision
OpDecorate %4893 RelaxedPrecision
OpDecorate %4894 RelaxedPrecision
OpDecorate %4895 RelaxedPrecision
OpDecorate %4923 RelaxedPrecision
OpDecorate %4924 RelaxedPrecision
OpDecorate %4927 RelaxedPrecision
OpDecorate %4933 RelaxedPrecision
OpDecorate %4951 RelaxedPrecision
OpDecorate %4957 RelaxedPrecision
OpDecorate %4976 RelaxedPrecision
OpDecorate %4982 RelaxedPrecision
OpDecorate %4987 RelaxedPrecision
OpDecorate %4988 RelaxedPrecision
OpDecorate %4992 RelaxedPrecision
OpDecorate %4993 RelaxedPrecision
OpDecorate %5001 RelaxedPrecision
OpDecorate %5004 RelaxedPrecision
OpDecorate %5010 RelaxedPrecision
OpDecorate %5019 RelaxedPrecision
OpDecorate %5022 RelaxedPrecision
OpDecorate %5023 RelaxedPrecision
OpDecorate %5029 RelaxedPrecision
OpDecorate %5035 RelaxedPrecision
OpDecorate %5041 RelaxedPrecision
OpDecorate %5043 RelaxedPrecision
OpDecorate %5049 RelaxedPrecision
OpDecorate %5092 RelaxedPrecision
OpDecorate %5106 RelaxedPrecision
OpDecorate %5107 RelaxedPrecision
OpDecorate %5108 RelaxedPrecision
OpDecorate %5109 RelaxedPrecision
OpDecorate %5110 RelaxedPrecision
OpDecorate %5111 RelaxedPrecision
OpDecorate %5112 RelaxedPrecision
OpDecorate %5113 RelaxedPrecision
OpDecorate %5123 RelaxedPrecision
OpDecorate %5129 RelaxedPrecision
OpDecorate %5171 RelaxedPrecision
OpDecorate %5177 RelaxedPrecision
OpDecorate %5203 RelaxedPrecision
OpDecorate %5209 RelaxedPrecision
OpDecorate %5222 RelaxedPrecision
OpDecorate %5223 RelaxedPrecision
OpDecorate %5229 RelaxedPrecision
OpDecorate %5230 RelaxedPrecision
OpDecorate %5231 RelaxedPrecision
OpDecorate %5232 RelaxedPrecision
OpDecorate %5233 RelaxedPrecision
OpDecorate %5239 RelaxedPrecision
OpDecorate %5243 RelaxedPrecision
OpDecorate %5249 RelaxedPrecision
OpDecorate %5266 RelaxedPrecision
OpDecorate %5272 RelaxedPrecision
OpDecorate %5303 RelaxedPrecision
OpDecorate %5304 RelaxedPrecision
OpDecorate %5319 RelaxedPrecision
OpDecorate %5320 RelaxedPrecision
OpDecorate %5323 RelaxedPrecision
OpDecorate %5329 RelaxedPrecision
OpDecorate %5346 RelaxedPrecision
OpDecorate %5349 RelaxedPrecision
OpDecorate %5355 RelaxedPrecision
OpDecorate %5369 RelaxedPrecision
OpDecorate %5370 RelaxedPrecision
OpDecorate %5440 RelaxedPrecision
OpDecorate %5446 RelaxedPrecision
OpDecorate %5453 RelaxedPrecision
OpDecorate %5459 RelaxedPrecision
OpDecorate %5539 RelaxedPrecision
OpDecorate %5545 RelaxedPrecision
OpDecorate %5620 RelaxedPrecision
OpDecorate %5626 RelaxedPrecision
OpDecorate %5726 RelaxedPrecision
OpDecorate %5751 RelaxedPrecision
OpDecorate %5799 RelaxedPrecision
OpDecorate %5816 RelaxedPrecision
OpDecorate %5817 RelaxedPrecision
OpDecorate %5826 RelaxedPrecision
OpDecorate %5832 RelaxedPrecision
OpDecorate %5837 RelaxedPrecision
OpDecorate %5838 RelaxedPrecision
OpDecorate %5929 RelaxedPrecision
OpDecorate %5935 RelaxedPrecision
OpDecorate %5951 RelaxedPrecision
OpDecorate %5957 RelaxedPrecision
OpDecorate %5967 RelaxedPrecision
OpDecorate %5973 RelaxedPrecision
OpDecorate %5988 RelaxedPrecision
OpDecorate %5989 RelaxedPrecision
OpDecorate %5990 RelaxedPrecision
OpDecorate %5991 RelaxedPrecision
OpDecorate %5995 RelaxedPrecision
OpDecorate %5996 RelaxedPrecision
OpDecorate %6014 RelaxedPrecision
OpDecorate %6020 RelaxedPrecision
OpDecorate %6026 RelaxedPrecision
OpDecorate %6032 RelaxedPrecision
OpDecorate %6042 RelaxedPrecision
OpDecorate %6048 RelaxedPrecision
OpDecorate %6067 RelaxedPrecision
OpDecorate %6068 RelaxedPrecision
OpDecorate %6072 RelaxedPrecision
OpDecorate %6073 RelaxedPrecision
OpDecorate %6074 RelaxedPrecision
OpDecorate %6075 RelaxedPrecision
OpDecorate %6076 RelaxedPrecision
OpDecorate %6082 RelaxedPrecision
OpDecorate %6090 RelaxedPrecision
OpDecorate %6091 RelaxedPrecision
OpDecorate %6163 RelaxedPrecision
OpDecorate %6169 RelaxedPrecision
OpDecorate %6221 RelaxedPrecision
OpDecorate %6227 RelaxedPrecision
OpDecorate %6235 RelaxedPrecision
OpDecorate %6238 RelaxedPrecision
OpDecorate %6244 RelaxedPrecision
OpDecorate %6275 RelaxedPrecision
OpDecorate %6276 RelaxedPrecision
OpDecorate %6280 RelaxedPrecision
OpDecorate %6281 RelaxedPrecision
OpDecorate %6298 RelaxedPrecision
OpDecorate %6301 RelaxedPrecision
OpDecorate %6307 RelaxedPrecision
OpDecorate %6374 RelaxedPrecision
OpDecorate %6375 RelaxedPrecision
OpDecorate %6400 RelaxedPrecision
OpDecorate %6406 RelaxedPrecision
OpDecorate %6415 RelaxedPrecision
OpDecorate %6418 RelaxedPrecision
OpDecorate %6424 RelaxedPrecision
OpDecorate %6429 RelaxedPrecision
OpDecorate %6430 RelaxedPrecision
OpDecorate %6431 RelaxedPrecision
OpDecorate %6432 RelaxedPrecision
OpMemberDecorate %6434 4 RelaxedPrecision
OpDecorate %6561 RelaxedPrecision
OpDecorate %6567 RelaxedPrecision
OpDecorate %6569 RelaxedPrecision
OpDecorate %6575 RelaxedPrecision
OpDecorate %6592 RelaxedPrecision
OpDecorate %6593 RelaxedPrecision
OpDecorate %6594 RelaxedPrecision
OpDecorate %6595 RelaxedPrecision
OpDecorate %6620 RelaxedPrecision
OpDecorate %6633 RelaxedPrecision
OpDecorate %6639 RelaxedPrecision
OpDecorate %6683 RelaxedPrecision
OpDecorate %6689 RelaxedPrecision
OpDecorate %6725 RelaxedPrecision
OpDecorate %6731 RelaxedPrecision
OpDecorate %6740 RelaxedPrecision
OpDecorate %6741 RelaxedPrecision
OpDecorate %6776 RelaxedPrecision
OpDecorate %6782 RelaxedPrecision
OpDecorate %6790 RelaxedPrecision
OpDecorate %6793 RelaxedPrecision
OpDecorate %6799 RelaxedPrecision
OpDecorate %6815 RelaxedPrecision
OpDecorate %6818 RelaxedPrecision
OpDecorate %6824 RelaxedPrecision
OpDecorate %6826 RelaxedPrecision
OpDecorate %6832 RelaxedPrecision
OpDecorate %6858 RelaxedPrecision
OpDecorate %6864 RelaxedPrecision
OpDecorate %6872 RelaxedPrecision
OpDecorate %6873 RelaxedPrecision
OpDecorate %6884 RelaxedPrecision
OpDecorate %6887 RelaxedPrecision
OpDecorate %6893 RelaxedPrecision
OpDecorate %6920 RelaxedPrecision
OpDecorate %6921 RelaxedPrecision
OpDecorate %6933 RelaxedPrecision
OpDecorate %6939 RelaxedPrecision
OpDecorate %6971 RelaxedPrecision
OpDecorate %6972 RelaxedPrecision
OpDecorate %6973 RelaxedPrecision
OpDecorate %6974 RelaxedPrecision
OpDecorate %6975 RelaxedPrecision
OpDecorate %6981 RelaxedPrecision
OpDecorate %6986 RelaxedPrecision
OpDecorate %6987 RelaxedPrecision
OpDecorate %7018 RelaxedPrecision
OpDecorate %7024 RelaxedPrecision
OpDecorate %7026 RelaxedPrecision
OpDecorate %7032 RelaxedPrecision
OpDecorate %7046 RelaxedPrecision
OpDecorate %7047 RelaxedPrecision
OpDecorate %7048 RelaxedPrecision
OpDecorate %7049 RelaxedPrecision
OpDecorate %7058 RelaxedPrecision
OpDecorate %7061 RelaxedPrecision
OpDecorate %7067 RelaxedPrecision
OpDecorate %7089 RelaxedPrecision
OpDecorate %7090 RelaxedPrecision
OpDecorate %7130 RelaxedPrecision
OpDecorate %7134 RelaxedPrecision
OpDecorate %7135 RelaxedPrecision
OpDecorate %7141 RelaxedPrecision
OpDecorate %7201 RelaxedPrecision
OpDecorate %7207 RelaxedPrecision
OpDecorate %7228 RelaxedPrecision
OpDecorate %7229 RelaxedPrecision
OpDecorate %7247 RelaxedPrecision
OpDecorate %7253 RelaxedPrecision
OpDecorate %7269 RelaxedPrecision
OpDecorate %7270 RelaxedPrecision
OpDecorate %7271 RelaxedPrecision
OpDecorate %7272 RelaxedPrecision
OpMemberDecorate %7275 2 RelaxedPrecision
OpMemberDecorate %7277 1 RelaxedPrecision
OpMemberDecorate %7278 0 RelaxedPrecision
OpMemberDecorate %7278 2 RelaxedPrecision
OpMemberDecorate %7281 1 RelaxedPrecision
OpDecorate %7301 RelaxedPrecision
OpDecorate %7307 RelaxedPrecision
OpDecorate %7320 RelaxedPrecision
OpDecorate %7321 RelaxedPrecision
OpDecorate %7322 RelaxedPrecision
OpDecorate %7328 RelaxedPrecision
OpDecorate %7336 RelaxedPrecision
OpDecorate %7337 RelaxedPrecision
OpDecorate %7347 RelaxedPrecision
OpDecorate %7353 RelaxedPrecision
OpDecorate %7355 RelaxedPrecision
OpDecorate %7361 RelaxedPrecision
OpDecorate %7372 RelaxedPrecision
OpDecorate %7373 RelaxedPrecision
OpDecorate %7374 RelaxedPrecision
OpDecorate %7375 RelaxedPrecision
OpDecorate %7397 RelaxedPrecision
OpDecorate %7403 RelaxedPrecision
OpDecorate %7416 RelaxedPrecision
OpDecorate %7422 RelaxedPrecision
OpDecorate %7437 RelaxedPrecision
OpDecorate %7438 RelaxedPrecision
OpDecorate %7576 RelaxedPrecision
OpDecorate %7582 RelaxedPrecision
OpDecorate %7632 RelaxedPrecision
OpDecorate %7635 RelaxedPrecision
OpDecorate %7641 RelaxedPrecision
OpDecorate %7648 Location 0
OpDecorate %7652 RelaxedPrecision
OpDecorate %7652 DescriptorSet 0
OpDecorate %7652 Binding 0
OpDecorate %7653 RelaxedPrecision
OpDecorate %7655 RelaxedPrecision
OpDecorate %7656 RelaxedPrecision
OpDecorate %7661 RelaxedPrecision
OpDecorate %7662 RelaxedPrecision
OpDecorate %7684 RelaxedPrecision
OpDecorate %7685 RelaxedPrecision
OpDecorate %7689 RelaxedPrecision
OpDecorate %7695 RelaxedPrecision
OpDecorate %7708 RelaxedPrecision
OpDecorate %7714 RelaxedPrecision
OpDecorate %7716 RelaxedPrecision
OpDecorate %7719 RelaxedPrecision
OpDecorate %7725 RelaxedPrecision
OpDecorate %7729 RelaxedPrecision
OpDecorate %7735 RelaxedPrecision
OpDecorate %7742 RelaxedPrecision
OpDecorate %7745 RelaxedPrecision
OpDecorate %7751 RelaxedPrecision
OpDecorate %7759 RelaxedPrecision
OpDecorate %7760 RelaxedPrecision
OpDecorate %7772 RelaxedPrecision
OpDecorate %7778 RelaxedPrecision
OpDecorate %7819 RelaxedPrecision
OpDecorate %7820 RelaxedPrecision
OpDecorate %7875 RelaxedPrecision
OpDecorate %7881 RelaxedPrecision
OpDecorate %7903 RelaxedPrecision
OpDecorate %7904 RelaxedPrecision
OpDecorate %7905 RelaxedPrecision
OpDecorate %7906 RelaxedPrecision
OpDecorate %7907 RelaxedPrecision
OpDecorate %7908 RelaxedPrecision
OpDecorate %7912 RelaxedPrecision
OpDecorate %7913 RelaxedPrecision
OpDecorate %8033 RelaxedPrecision
OpDecorate %8039 RelaxedPrecision
OpDecorate %8050 RelaxedPrecision
OpDecorate %8051 RelaxedPrecision
%2 = OpTypeVoid
%3 = OpTypeFunction %2
%6 = OpTypeFloat 32
%7 = OpTypeVector %6 2
%8 = OpTypePointer Function %7
%9 = OpTypeFunction %6 %8
%13 = OpTypeFunction %7 %8
%17 = OpTypePointer Function %6
%19 = OpConstant %6 0.318309873
%20 = OpTypeBool
%21 = OpConstantFalse %20
%24 = OpConstant %6 1
%26 = OpConstantTrue %20
%33 = OpTypeVector %6 4
%34 = OpTypePointer Input %33
%35 = OpVariable %34 Input
%36 = OpTypeInt 32 0
%37 = OpConstant %36 0
%38 = OpTypePointer Input %6
%41 = OpConstant %6 0
%51 = OpTypeStruct %7
%52 = OpTypePointer PushConstant %51
%53 = OpVariable %52 PushConstant
%54 = OpTypeInt 32 1
%55 = OpConstant %54 0
%56 = OpTypePointer PushConstant %6
%65 = OpConstant %6 0.00100000005
%76 = OpTypePointer Function %54
%84 = OpConstant %54 1
%88 = OpConstant %36 1
%735 = OpConstant %54 128
%736 = OpConstant %54 7
%740 = OpTypeVector %54 4
%742 = OpConstantComposite %740 %55 %55 %55 %55
%1033 = OpTypeMatrix %33 4
%1171 = OpTypeVector %20 4
%1479 = OpTypeVector %20 2
%1747 = OpConstantComposite %33 %41 %24 %24 %24
%2193 = OpConstant %6 0.970000029
%2194 = OpConstant %6 0.189999998
%2387 = OpConstantComposite %33 %41 %41 %41 %41
%2388 = OpConstantComposite %33 %24 %41 %41 %41
%2389 = OpConstantComposite %33 %24 %24 %41 %41
%2390 = OpConstantComposite %33 %41 %41 %24 %41
%2391 = OpConstantComposite %1033 %2387 %2388 %2389 %2390
%2744 = OpConstant %6 0.5
%2799 = OpTypeMatrix %7 2
%2800 = OpConstantComposite %7 %41 %41
%2801 = OpConstantComposite %2799 %2800 %2800
%3115 = OpTypeVector %20 3
%3379 = OpConstantComposite %33 %41 %41 %24 %24
%3380 = OpConstantComposite %1033 %3379 %2387 %2387 %2387
%4107 = OpTypeVector %6 3
%4108 = OpTypeMatrix %4107 3
%4109 = OpConstantComposite %4107 %41 %41 %41
%4110 = OpConstantComposite %4107 %41 %24 %41
%4111 = OpConstantComposite %4108 %4109 %4109 %4110
%4744 = OpConstantComposite %33 %41 %24 %24 %41
%4745 = OpConstantComposite %1033 %2387 %2388 %2388 %4744
%4961 = OpConstant %54 4
%5378 = OpTypeStruct %6 %3115
%5379 = OpTypePointer Function %5378
%5381 = OpConstant %6 3.14159298
%5382 = OpConstantComposite %3115 %26 %26 %26
%5383 = OpConstantComposite %5378 %5381 %5382
%5386 = OpConstantComposite %7 %2744 %2744
%5393 = OpConstantComposite %7 %24 %24
%6177 = OpConstantComposite %7 %24 %41
%6178 = OpConstantComposite %2799 %2800 %6177
%6264 = OpConstantComposite %4107 %41 %24 %24
%6398 = OpConstant %6 0.00390625
%6433 = OpTypeMatrix %7 3
%6434 = OpTypeStruct %6433 %6433 %7 %4107 %54
%6435 = OpTypeStruct %1171
%6436 = OpTypeStruct %6434 %6 %1479 %6435 %20
%6437 = OpTypeStruct %7 %6436 %1033 %1033
%6438 = OpTypePointer Function %6437
%6440 = OpConstantComposite %7 %41 %24
%6441 = OpConstantComposite %6433 %6177 %6440 %2800
%6443 = OpConstant %6 0.078125
%6444 = OpConstant %6 -0.3125
%6445 = OpConstantComposite %7 %6443 %6444
%6449 = OpConstantComposite %4107 %24 %24 %24
%6451 = OpConstantComposite %1479 %26 %26
%6452 = OpConstantComposite %1171 %26 %26 %26 %26
%6453 = OpConstantComposite %6435 %6452
%6455 = OpConstantComposite %33 %41 %24 %41 %41
%6456 = OpConstantComposite %33 %41 %41 %41 %24
%6457 = OpConstantComposite %1033 %2388 %6455 %2390 %6456
%6494 = OpConstant %6 -0.234375
%6495 = OpConstant %6 0.15625
%6496 = OpConstantComposite %7 %6494 %6495
%6849 = OpConstantComposite %1033 %2390 %3379 %6456 %2387
%6993 = OpConstantComposite %33 %24 %24 %24 %41
%6994 = OpConstantComposite %1033 %6993 %4744 %2390 %6456
%7131 = OpConstant %54 -5935
%7273 = OpTypeVector %36 4
%7274 = OpTypeMatrix %4107 2
%7275 = OpTypeStruct %1033 %7274 %36
%7276 = OpTypeMatrix %33 2
%7277 = OpTypeStruct %1171 %740 %4107 %7276
%7278 = OpTypeStruct %7273 %2799 %54 %7275 %7277
%7279 = OpTypeMatrix %7 4
%7280 = OpTypeStruct %7279
%7281 = OpTypeStruct %1171 %740 %4107 %2799
%7282 = OpTypeStruct %1171 %20 %7278 %7 %7280 %7281 %1171
%7283 = OpTypePointer Function %7282
%7285 = OpConstantComposite %7273 %88 %88 %88 %88
%7286 = OpConstantComposite %2799 %6177 %6440
%7287 = OpConstantComposite %4107 %24 %41 %41
%7288 = OpConstantComposite %7274 %7287 %4110
%7289 = OpConstantComposite %7275 %6457 %7288 %88
%7290 = OpConstantComposite %740 %84 %84 %84 %84
%7291 = OpConstantComposite %7276 %2388 %6455
%7292 = OpConstantComposite %7277 %6452 %7290 %6449 %7291
%7293 = OpConstantComposite %7278 %7285 %7286 %84 %7289 %7292
%7297 = OpConstantComposite %7279 %6177 %6440 %2800 %6177
%7298 = OpConstantComposite %7280 %7297
%7299 = OpConstantComposite %7281 %6452 %7290 %6449 %7286
%7363 = OpConstant %54 2
%7368 = OpConstant %54 3
%7494 = OpConstant %6 256
%7647 = OpTypePointer Output %33
%7648 = OpVariable %7647 Output
%7649 = OpTypeImage %6 2D 0 0 0 1 Unknown
%7650 = OpTypeSampledImage %7649
%7651 = OpTypePointer UniformConstant %7650
%7652 = OpVariable %7651 UniformConstant
%4 = OpFunction %2 None %3
%5 = OpLabel
%6395 = OpVariable %8 Function
%6400 = OpVariable %76 Function
%6415 = OpVariable %76 Function
%6439 = OpVariable %6438 Function
%6447 = OpVariable %8 Function
%6492 = OpVariable %8 Function
%6498 = OpVariable %8 Function
%6561 = OpVariable %76 Function
%6569 = OpVariable %76 Function
%6620 = OpVariable %76 Function
%6633 = OpVariable %76 Function
%6683 = OpVariable %76 Function
%6725 = OpVariable %76 Function
%6776 = OpVariable %76 Function
%6790 = OpVariable %76 Function
%6815 = OpVariable %76 Function
%6826 = OpVariable %76 Function
%6858 = OpVariable %76 Function
%6884 = OpVariable %76 Function
%6933 = OpVariable %76 Function
%6975 = OpVariable %76 Function
%7018 = OpVariable %76 Function
%7026 = OpVariable %76 Function
%7058 = OpVariable %76 Function
%7130 = OpVariable %76 Function
%7201 = OpVariable %76 Function
%7247 = OpVariable %76 Function
%7284 = OpVariable %7283 Function
%7294 = OpVariable %8 Function
%7301 = OpVariable %76 Function
%7322 = OpVariable %76 Function
%7347 = OpVariable %76 Function
%7355 = OpVariable %76 Function
%7397 = OpVariable %76 Function
%7416 = OpVariable %76 Function
%7576 = OpVariable %76 Function
%7632 = OpVariable %76 Function
%7689 = OpVariable %76 Function
%7708 = OpVariable %76 Function
%7716 = OpVariable %76 Function
%7729 = OpVariable %76 Function
%7742 = OpVariable %76 Function
%7772 = OpVariable %76 Function
%7875 = OpVariable %76 Function
%8033 = OpVariable %76 Function
%6396 = OpLoad %33 %35
%6397 = OpVectorShuffle %7 %6396 %6396 0 1
%6399 = OpVectorTimesScalar %7 %6397 %6398
OpStore %6395 %6399
OpStore %6400 %55
OpBranch %6401
%6401 = OpLabel
OpLoopMerge %6403 %6404 None
OpBranch %6405
%6405 = OpLabel
%6406 = OpLoad %54 %6400
%6407 = OpINotEqual %20 %6406 %84
OpBranchConditional %6407 %6402 %6403
%6402 = OpLabel
%6408 = OpAccessChain %56 %53 %55 %37
%6409 = OpLoad %6 %6408
%6410 = OpAccessChain %56 %53 %55 %88
%6411 = OpLoad %6 %6410
%6412 = OpFOrdGreaterThan %20 %6409 %6411
OpSelectionMerge %6414 None
OpBranchConditional %6412 %6413 %6414
%6413 = OpLabel
%6416 = OpAccessChain %56 %53 %55 %37
%6417 = OpLoad %6 %6416
%6418 = OpConvertFToS %54 %6417
OpStore %6415 %6418
OpBranch %6419
%6419 = OpLabel
OpLoopMerge %6421 %6422 None
OpBranch %6423
%6423 = OpLabel
%6424 = OpLoad %54 %6415
%6425 = OpSLessThan %20 %6424 %84
OpBranchConditional %6425 %6420 %6421
%6420 = OpLabel
OpSelectionMerge %6427 None
OpBranchConditional %26 %6426 %6427
%6426 = OpLabel
OpReturn
%6427 = OpLabel
OpBranch %6422
%6422 = OpLabel
%6429 = OpLoad %54 %6415
%6430 = OpIAdd %54 %6429 %84
OpStore %6415 %6430
OpBranch %6419
%6421 = OpLabel
OpBranch %6414
%6414 = OpLabel
OpBranch %6404
%6404 = OpLabel
%6431 = OpLoad %54 %6400
%6432 = OpIAdd %54 %6431 %84
OpStore %6400 %6432
OpBranch %6401
%6403 = OpLabel
%6442 = OpLoad %7 %6395
%6446 = OpFAdd %7 %6442 %6445
OpStore %6447 %6446
%6448 = OpFunctionCall %7 %15 %6447
%6450 = OpCompositeConstruct %6434 %6441 %6441 %6448 %6449 %84
%6454 = OpCompositeConstruct %6436 %6450 %24 %6451 %6453 %26
%6458 = OpCompositeConstruct %6437 %5393 %6454 %6457 %6457
OpStore %6439 %6458
OpBranch %6459
%6459 = OpLabel
OpLoopMerge %6461 %6462 None
OpBranch %6460
%6460 = OpLabel
%6463 = OpAccessChain %56 %53 %55 %37
%6464 = OpLoad %6 %6463
%6465 = OpAccessChain %56 %53 %55 %88
%6466 = OpLoad %6 %6465
%6467 = OpFOrdGreaterThan %20 %6464 %6466
OpSelectionMerge %6469 None
OpBranchConditional %6467 %6468 %6469
%6468 = OpLabel
OpReturn
%6469 = OpLabel
OpBranch %6462
%6462 = OpLabel
%6471 = OpAccessChain %38 %35 %37
%6472 = OpLoad %6 %6471
%6473 = OpFOrdLessThan %20 %6472 %41
OpBranchConditional %6473 %6459 %6461
%6461 = OpLabel
OpBranch %6474
%6474 = OpLabel
OpLoopMerge %6476 %6477 None
OpBranch %6475
%6475 = OpLabel
OpSelectionMerge %6479 None
OpBranchConditional %26 %6478 %6479
%6478 = OpLabel
OpSelectionMerge %6481 None
OpBranchConditional %21 %6480 %6481
%6480 = OpLabel
OpBranch %6482
%6482 = OpLabel
OpLoopMerge %6484 %6485 None
OpBranch %6483
%6483 = OpLabel
%6486 = OpAccessChain %38 %35 %37
%6487 = OpLoad %6 %6486
%6488 = OpFOrdGreaterThanEqual %20 %6487 %41
OpSelectionMerge %6490 None
OpBranchConditional %6488 %6489 %6490
%6489 = OpLabel
OpReturn
%6490 = OpLabel
OpBranch %6485
%6485 = OpLabel
OpBranchConditional %21 %6482 %6484
%6484 = OpLabel
OpBranch %6481
%6481 = OpLabel
OpBranch %6479
%6479 = OpLabel
OpBranch %6477
%6477 = OpLabel
OpBranchConditional %21 %6474 %6476
%6476 = OpLabel
%6493 = OpLoad %7 %6395
%6497 = OpFAdd %7 %6493 %6496
OpStore %6498 %6497
%6499 = OpFunctionCall %7 %15 %6498
OpStore %6492 %6499
OpBranch %6500
%6500 = OpLabel
OpLoopMerge %6502 %6503 None
OpBranch %6501
%6501 = OpLabel
%6504 = OpAccessChain %38 %35 %88
%6505 = OpLoad %6 %6504
%6506 = OpFOrdLessThan %20 %6505 %41
OpSelectionMerge %6508 None
OpBranchConditional %6506 %6507 %6539
%6507 = OpLabel
OpSelectionMerge %6510 None
OpBranchConditional %21 %6509 %6510
%6509 = OpLabel
OpReturn
%6510 = OpLabel
%6512 = OpAccessChain %56 %53 %55 %37
%6513 = OpLoad %6 %6512
%6514 = OpAccessChain %56 %53 %55 %88
%6515 = OpLoad %6 %6514
%6516 = OpFOrdLessThan %20 %6513 %6515
%6517 = OpLogicalAnd %20 %6516 %26
OpSelectionMerge %6519 None
OpBranchConditional %6517 %6518 %6519
%6518 = OpLabel
OpBranch %6520
%6520 = OpLabel
OpLoopMerge %6522 %6523 None
OpBranch %6521
%6521 = OpLabel
%6524 = OpAccessChain %38 %35 %88
%6525 = OpLoad %6 %6524
%6526 = OpFOrdLessThan %20 %6525 %41
OpSelectionMerge %6528 None
OpBranchConditional %6526 %6527 %6528
%6527 = OpLabel
OpReturn
%6528 = OpLabel
OpBranch %6523
%6523 = OpLabel
%6530 = OpAccessChain %38 %35 %37
%6531 = OpLoad %6 %6530
%6532 = OpFOrdLessThan %20 %6531 %41
OpBranchConditional %6532 %6520 %6522
%6522 = OpLabel
OpBranch %6519
%6519 = OpLabel
%6533 = OpAccessChain %38 %35 %37
%6534 = OpLoad %6 %6533
%6535 = OpFOrdLessThan %20 %6534 %41
OpSelectionMerge %6537 None
OpBranchConditional %6535 %6536 %6537
%6536 = OpLabel
OpReturn
%6537 = OpLabel
OpBranch %6508
%6539 = OpLabel
%6540 = OpAccessChain %38 %35 %37
%6541 = OpLoad %6 %6540
%6542 = OpFOrdLessThan %20 %6541 %41
OpSelectionMerge %6544 None
OpBranchConditional %6542 %6543 %6544
%6543 = OpLabel
OpSelectionMerge %6546 None
OpBranchConditional %21 %6545 %6546
%6545 = OpLabel
OpBranch %6547
%6547 = OpLabel
OpLoopMerge %6549 %6550 None
OpBranch %6548
%6548 = OpLabel
OpReturn
%6550 = OpLabel
OpBranch %6547
%6549 = OpLabel
OpUnreachable
%6546 = OpLabel
%6555 = OpAccessChain %38 %35 %88
%6556 = OpLoad %6 %6555
%6557 = OpFOrdLessThan %20 %6556 %41
OpSelectionMerge %6559 None
OpBranchConditional %6557 %6558 %6560
%6558 = OpLabel
OpBranch %6559
%6560 = OpLabel
OpStore %6561 %84
OpBranch %6562
%6562 = OpLabel
OpLoopMerge %6564 %6565 None
OpBranch %6566
%6566 = OpLabel
%6567 = OpLoad %54 %6561
%6568 = OpINotEqual %20 %6567 %55
OpBranchConditional %6568 %6563 %6564
%6563 = OpLabel
OpStore %6569 %55
OpBranch %6570
%6570 = OpLabel
OpLoopMerge %6572 %6573 None
OpBranch %6574
%6574 = OpLabel
%6575 = OpLoad %54 %6569
%6576 = OpAccessChain %56 %53 %55 %88
%6577 = OpLoad %6 %6576
%6578 = OpConvertFToS %54 %6577
%6579 = OpSLessThan %20 %6575 %6578
OpBranchConditional %6579 %6571 %6572
%6571 = OpLabel
OpBranch %6580
%6580 = OpLabel
OpLoopMerge %6582 %6583 None
OpBranch %6581
%6581 = OpLabel
OpSelectionMerge %6585 None
OpBranchConditional %26 %6584 %6585
%6584 = OpLabel
OpReturn
%6585 = OpLabel
OpBranch %6583
%6583 = OpLabel
%6587 = OpAccessChain %56 %53 %55 %37
%6588 = OpLoad %6 %6587
%6589 = OpAccessChain %56 %53 %55 %88
%6590 = OpLoad %6 %6589
%6591 = OpFOrdGreaterThan %20 %6588 %6590
OpBranchConditional %6591 %6580 %6582
%6582 = OpLabel
OpBranch %6573
%6573 = OpLabel
%6592 = OpLoad %54 %6569
%6593 = OpIAdd %54 %6592 %84
OpStore %6569 %6593
OpBranch %6570
%6572 = OpLabel
OpBranch %6565
%6565 = OpLabel
%6594 = OpLoad %54 %6561
%6595 = OpISub %54 %6594 %84
OpStore %6561 %6595
OpBranch %6562
%6564 = OpLabel
OpBranch %6559
%6559 = OpLabel
%6596 = OpAccessChain %38 %35 %37
%6597 = OpLoad %6 %6596
%6598 = OpFOrdLessThan %20 %6597 %41
OpSelectionMerge %6600 None
OpBranchConditional %6598 %6599 %6600
%6599 = OpLabel
OpReturn
%6600 = OpLabel
OpSelectionMerge %6603 None
OpBranchConditional %21 %6602 %6603
%6602 = OpLabel
OpReturn
%6603 = OpLabel
OpBranch %6544
%6544 = OpLabel
OpSelectionMerge %6606 None
OpBranchConditional %21 %6605 %6606
%6605 = OpLabel
OpBranch %6607
%6607 = OpLabel
OpLoopMerge %6609 %6610 None
OpBranch %6608
%6608 = OpLabel
OpReturn
%6610 = OpLabel
OpBranch %6607
%6609 = OpLabel
OpUnreachable
%6606 = OpLabel
OpStore %6633 %84
OpBranch %6634
%6634 = OpLabel
OpLoopMerge %6636 %6637 None
OpBranch %6638
%6638 = OpLabel
%6639 = OpLoad %54 %6633
%6640 = OpSGreaterThan %20 %6639 %55
OpBranchConditional %6640 %6635 %6636
%6635 = OpLabel
%6641 = OpAccessChain %38 %35 %88
%6642 = OpLoad %6 %6641
%6643 = OpFOrdLessThan %20 %6642 %41
%6644 = OpLogicalNot %20 %6643
%6645 = OpLogicalNot %20 %6644
%6646 = OpLogicalAnd %20 %6645 %26
OpSelectionMerge %6648 None
OpBranchConditional %6646 %6647 %6649
%6647 = OpLabel
OpBranch %6648
%6649 = OpLabel
OpSelectionMerge %6651 None
OpBranchConditional %21 %6650 %6652
%6650 = OpLabel
OpBranch %6651
%6652 = OpLabel
%6653 = OpAccessChain %38 %35 %37
%6654 = OpLoad %6 %6653
%6655 = OpFOrdLessThan %20 %6654 %41
OpSelectionMerge %6657 None
OpBranchConditional %6655 %6656 %6658
%6656 = OpLabel
OpBranch %6657
%6658 = OpLabel
OpBranch %6659
%6659 = OpLabel
OpLoopMerge %6661 %6662 None
OpBranch %6660
%6660 = OpLabel
OpSelectionMerge %6664 None
OpBranchConditional %21 %6663 %6665
%6663 = OpLabel
OpBranch %6664
%6665 = OpLabel
%6666 = OpAccessChain %38 %35 %88
%6667 = OpLoad %6 %6666
%6668 = OpFOrdLessThan %20 %6667 %41
OpSelectionMerge %6670 None
OpBranchConditional %6668 %6669 %6670
%6669 = OpLabel
OpBranch %6671
%6671 = OpLabel
OpLoopMerge %6673 %6674 None
OpBranch %6672
%6672 = OpLabel
%6675 = OpAccessChain %38 %35 %37
%6676 = OpLoad %6 %6675
%6677 = OpFOrdGreaterThanEqual %20 %6676 %41
OpSelectionMerge %6679 None
OpBranchConditional %6677 %6678 %6679
%6678 = OpLabel
OpReturn
%6679 = OpLabel
OpBranch %6674
%6674 = OpLabel
OpBranchConditional %21 %6671 %6673
%6673 = OpLabel
OpBranch %6670
%6670 = OpLabel
OpBranch %6664
%6664 = OpLabel
OpSelectionMerge %6682 None
OpBranchConditional %26 %6681 %6682
%6681 = OpLabel
OpStore %6683 %55
OpBranch %6684
%6684 = OpLabel
OpLoopMerge %6686 %6687 None
OpBranch %6688
%6688 = OpLabel
%6689 = OpLoad %54 %6683
%6690 = OpSLessThan %20 %6689 %84
OpBranchConditional %6690 %6685 %6686
%6685 = OpLabel
OpSelectionMerge %6692 None
OpBranchConditional %21 %6691 %6692
%6691 = OpLabel
OpBranch %6686
%6692 = OpLabel
OpSelectionMerge %6695 None
OpBranchConditional %21 %6694 %6695
%6694 = OpLabel
OpSelectionMerge %6697 None
OpBranchConditional %21 %6696 %6697
%6696 = OpLabel
OpSelectionMerge %6699 None
OpBranchConditional %21 %6698 %6699
%6698 = OpLabel
OpBranch %6687
%6699 = OpLabel
OpSelectionMerge %6702 None
OpBranchConditional %21 %6701 %6702
%6701 = OpLabel
OpBranch %6686
%6702 = OpLabel
OpSelectionMerge %6705 None
OpBranchConditional %21 %6704 %6706
%6704 = OpLabel
OpBranch %6705
%6706 = OpLabel
OpBranch %6707
%6707 = OpLabel
OpLoopMerge %6709 %6710 None
OpBranch %6708
%6708 = OpLabel
OpBranch %6711
%6711 = OpLabel
OpLoopMerge %6713 %6714 None
OpBranch %6712
%6712 = OpLabel
OpSelectionMerge %6716 None
OpBranchConditional %26 %6715 %6716
%6715 = OpLabel
OpBranch %6717
%6717 = OpLabel
OpLoopMerge %6719 %6720 None
OpBranch %6718
%6718 = OpLabel
OpBranch %6721
%6721 = OpLabel
OpLoopMerge %6723 %6724 None
OpBranch %6722
%6722 = OpLabel
OpStore %6725 %55
OpBranch %6726
%6726 = OpLabel
OpLoopMerge %6728 %6729 None
OpBranch %6730
%6730 = OpLabel
%6731 = OpLoad %54 %6725
%6732 = OpINotEqual %20 %6731 %84
OpBranchConditional %6732 %6727 %6728
%6727 = OpLabel
OpSelectionMerge %6734 None
OpBranchConditional %26 %6733 %6734
%6733 = OpLabel
OpBranch %6735
%6735 = OpLabel
OpLoopMerge %6737 %6738 None
OpBranch %6736
%6736 = OpLabel
OpReturn
%6738 = OpLabel
OpBranch %6735
%6737 = OpLabel
OpUnreachable
%6734 = OpLabel
OpBranch %6729
%6729 = OpLabel
%6740 = OpLoad %54 %6725
%6741 = OpIAdd %54 %6740 %84
OpStore %6725 %6741
OpBranch %6726
%6728 = OpLabel
OpBranch %6724
%6724 = OpLabel
%6742 = OpAccessChain %56 %53 %55 %37
%6743 = OpLoad %6 %6742
%6744 = OpAccessChain %56 %53 %55 %88
%6745 = OpLoad %6 %6744
%6746 = OpFOrdGreaterThan %20 %6743 %6745
OpBranchConditional %6746 %6721 %6723
%6723 = OpLabel
OpBranch %6720
%6720 = OpLabel
OpBranchConditional %21 %6717 %6719
%6719 = OpLabel
OpBranch %6716
%6716 = OpLabel
OpBranch %6714
%6714 = OpLabel
%6747 = OpAccessChain %56 %53 %55 %37
%6748 = OpLoad %6 %6747
%6749 = OpAccessChain %56 %53 %55 %88
%6750 = OpLoad %6 %6749
%6751 = OpFOrdGreaterThan %20 %6748 %6750
OpBranchConditional %6751 %6711 %6713
%6713 = OpLabel
OpBranch %6710
%6710 = OpLabel
OpBranchConditional %21 %6707 %6709
%6709 = OpLabel
OpBranch %6705
%6705 = OpLabel
OpBranch %6697
%6697 = OpLabel
OpSelectionMerge %6753 None
OpBranchConditional %21 %6752 %6754
%6752 = OpLabel
OpBranch %6753
%6754 = OpLabel
%6755 = OpAccessChain %38 %35 %88
%6756 = OpLoad %6 %6755
%6757 = OpFOrdLessThan %20 %6756 %41
OpSelectionMerge %6759 None
OpBranchConditional %6757 %6758 %6759
%6758 = OpLabel
OpSelectionMerge %6761 None
OpBranchConditional %21 %6760 %6761
%6760 = OpLabel
OpBranch %6687
%6761 = OpLabel
OpBranch %6687
%6759 = OpLabel
OpSelectionMerge %6765 None
OpBranchConditional %21 %6764 %6765
%6764 = OpLabel
OpBranch %6686
%6765 = OpLabel
OpBranch %6767
%6767 = OpLabel
OpLoopMerge %6769 %6770 None
OpBranch %6768
%6768 = OpLabel
%6771 = OpAccessChain %38 %35 %88
%6772 = OpLoad %6 %6771
%6773 = OpFOrdLessThan %20 %6772 %41
OpSelectionMerge %6775 None
OpBranchConditional %6773 %6774 %6775
%6774 = OpLabel
OpStore %6776 %84
OpBranch %6777
%6777 = OpLabel
OpLoopMerge %6779 %6780 None
OpBranch %6781
%6781 = OpLabel
%6782 = OpLoad %54 %6776
%6783 = OpINotEqual %20 %6782 %55
OpBranchConditional %6783 %6778 %6779
%6778 = OpLabel
OpKill
%6780 = OpLabel
OpBranch %6777
%6779 = OpLabel
OpBranch %6775
%6775 = OpLabel
OpBranch %6770
%6770 = OpLabel
OpBranchConditional %21 %6767 %6769
%6769 = OpLabel
OpSelectionMerge %6788 None
OpBranchConditional %21 %6787 %6789
%6787 = OpLabel
OpBranch %6788
%6789 = OpLabel
%6791 = OpAccessChain %56 %53 %55 %88
%6792 = OpLoad %6 %6791
%6793 = OpConvertFToS %54 %6792
OpStore %6790 %6793
OpBranch %6794
%6794 = OpLabel
OpLoopMerge %6796 %6797 None
OpBranch %6798
%6798 = OpLabel
%6799 = OpLoad %54 %6790
%6800 = OpINotEqual %20 %6799 %55
OpBranchConditional %6800 %6795 %6796
%6795 = OpLabel
OpSelectionMerge %6802 None
OpBranchConditional %21 %6801 %6803
%6801 = OpLabel
OpBranch %6802
%6803 = OpLabel
%6804 = OpAccessChain %38 %35 %88
%6805 = OpLoad %6 %6804
%6806 = OpFOrdLessThan %20 %6805 %41
OpSelectionMerge %6808 None
OpBranchConditional %6806 %6807 %6809
%6807 = OpLabel
OpBranch %6808
%6809 = OpLabel
OpSelectionMerge %6811 None
OpBranchConditional %21 %6810 %6812
%6810 = OpLabel
OpBranch %6811
%6812 = OpLabel
OpSelectionMerge %6814 None
OpBranchConditional %26 %6813 %6814
%6813 = OpLabel
%6816 = OpAccessChain %56 %53 %55 %37
%6817 = OpLoad %6 %6816
%6818 = OpConvertFToS %54 %6817
OpStore %6815 %6818
OpBranch %6819
%6819 = OpLabel
OpLoopMerge %6821 %6822 None
OpBranch %6823
%6823 = OpLabel
%6824 = OpLoad %54 %6815
%6825 = OpINotEqual %20 %6824 %84
OpBranchConditional %6825 %6820 %6821
%6820 = OpLabel
OpStore %6826 %55
OpBranch %6827
%6827 = OpLabel
OpLoopMerge %6829 %6830 None
OpBranch %6831
%6831 = OpLabel
%6832 = OpLoad %54 %6826
%6833 = OpINotEqual %20 %6832 %84
OpBranchConditional %6833 %6828 %6829
%6828 = OpLabel
OpSelectionMerge %6835 None
OpBranchConditional %26 %6834 %6835
%6834 = OpLabel
OpSelectionMerge %6837 None
OpBranchConditional %21 %6836 %6837
%6836 = OpLabel
OpReturn
%6837 = OpLabel
%6839 = OpAccessChain %38 %35 %37
%6840 = OpLoad %6 %6839
%6841 = OpAccessChain %56 %53 %55 %37
%6842 = OpLoad %6 %6841
%6843 = OpFOrdLessThan %20 %6840 %6842
OpSelectionMerge %6845 None
OpBranchConditional %6843 %6844 %6846
%6844 = OpLabel
OpBranch %6845
%6846 = OpLabel
%6847 = OpAccessChain %38 %35 %88
%6848 = OpLoad %6 %6847
%6850 = OpExtInst %6 %1 Determinant %6849
%6851 = OpFOrdLessThan %20 %6848 %6850
OpSelectionMerge %6853 None
OpBranchConditional %6851 %6852 %6853
%6852 = OpLabel
OpSelectionMerge %6855 None
OpBranchConditional %21 %6854 %6856
%6854 = OpLabel
OpBranch %6855
%6856 = OpLabel
OpReturn
%6855 = OpLabel
OpBranch %6853
%6853 = OpLabel
OpBranch %6845
%6845 = OpLabel
OpBranch %6835
%6835 = OpLabel
OpStore %6858 %55
OpBranch %6859
%6859 = OpLabel
OpLoopMerge %6861 %6862 None
OpBranch %6863
%6863 = OpLabel
%6864 = OpLoad %54 %6858
%6865 = OpAccessChain %56 %53 %55 %88
%6866 = OpLoad %6 %6865
%6867 = OpConvertFToS %54 %6866
%6868 = OpINotEqual %20 %6864 %6867
OpBranchConditional %6868 %6860 %6861
%6860 = OpLabel
OpReturn
%6862 = OpLabel
OpBranch %6859
%6861 = OpLabel
OpBranch %6830
%6830 = OpLabel
%6872 = OpLoad %54 %6826
%6873 = OpIAdd %54 %6872 %84
OpStore %6826 %6873
OpBranch %6827
%6829 = OpLabel
OpSelectionMerge %6875 None
OpBranchConditional %21 %6874 %6875
%6874 = OpLabel
OpKill
%6875 = OpLabel
OpSelectionMerge %6878 None
OpBranchConditional %26 %6877 %6964
%6877 = OpLabel
OpSelectionMerge %6880 None
OpBranchConditional %21 %6879 %6880
%6879 = OpLabel
OpReturn
%6880 = OpLabel
OpSelectionMerge %6883 None
OpBranchConditional %21 %6882 %6883
%6882 = OpLabel
%6885 = OpAccessChain %56 %53 %55 %88
%6886 = OpLoad %6 %6885
%6887 = OpConvertFToS %54 %6886
OpStore %6884 %6887
OpBranch %6888
%6888 = OpLabel
OpLoopMerge %6890 %6891 None
OpBranch %6892
%6892 = OpLabel
%6893 = OpLoad %54 %6884
%6894 = OpINotEqual %20 %6893 %55
OpBranchConditional %6894 %6889 %6890
%6889 = OpLabel
%6895 = OpAccessChain %38 %35 %37
%6896 = OpLoad %6 %6895
%6897 = OpFOrdLessThan %20 %6896 %41
OpSelectionMerge %6899 None
OpBranchConditional %6897 %6898 %6899
%6898 = OpLabel
OpSelectionMerge %6901 None
OpBranchConditional %21 %6900 %6902
%6900 = OpLabel
OpBranch %6901
%6902 = OpLabel
%6903 = OpAccessChain %56 %53 %55 %37
%6904 = OpLoad %6 %6903
%6905 = OpAccessChain %56 %53 %55 %88
%6906 = OpLoad %6 %6905
%6907 = OpFOrdGreaterThan %20 %6904 %6906
OpSelectionMerge %6909 None
OpBranchConditional %6907 %6908 %6910
%6908 = OpLabel
OpBranch %6909
%6910 = OpLabel
OpKill
%6909 = OpLabel
OpBranch %6901
%6901 = OpLabel
%6912 = OpAccessChain %38 %35 %37
%6913 = OpLoad %6 %6912
%6914 = OpFOrdGreaterThanEqual %20 %6913 %41
OpSelectionMerge %6916 None
OpBranchConditional %6914 %6915 %6916
%6915 = OpLabel
OpSelectionMerge %6918 None
OpBranchConditional %21 %6917 %6918
%6917 = OpLabel
OpReturn
%6918 = OpLabel
OpBranch %6916
%6916 = OpLabel
OpBranch %6899
%6899 = OpLabel
OpBranch %6891
%6891 = OpLabel
%6920 = OpLoad %54 %6884
%6921 = OpISub %54 %6920 %84
OpStore %6884 %6921
OpBranch %6888
%6890 = OpLabel
OpSelectionMerge %6923 None
OpBranchConditional %21 %6922 %6923
%6922 = OpLabel
OpSelectionMerge %6925 None
OpBranchConditional %21 %6924 %6925
%6924 = OpLabel
OpKill
%6925 = OpLabel
OpBranch %6822
%6923 = OpLabel
%6928 = OpAccessChain %38 %35 %88
%6929 = OpLoad %6 %6928
%6930 = OpFOrdGreaterThanEqual %20 %6929 %41
OpSelectionMerge %6932 None
OpBranchConditional %6930 %6931 %6932
%6931 = OpLabel
OpStore %6933 %84
OpBranch %6934
%6934 = OpLabel
OpLoopMerge %6936 %6937 None
OpBranch %6938
%6938 = OpLabel
%6939 = OpLoad %54 %6933
%6940 = OpINotEqual %20 %6939 %55
OpBranchConditional %6940 %6935 %6936
%6935 = OpLabel
OpKill
%6937 = OpLabel
OpBranch %6934
%6936 = OpLabel
OpSelectionMerge %6945 None
OpBranchConditional %21 %6944 %6945
%6944 = OpLabel
OpBranch %6821
%6945 = OpLabel
OpSelectionMerge %6948 None
OpBranchConditional %21 %6947 %6948
%6947 = OpLabel
%6949 = OpAccessChain %38 %35 %37
%6950 = OpLoad %6 %6949
%6951 = OpFOrdLessThan %20 %6950 %41
OpSelectionMerge %6953 None
OpBranchConditional %6951 %6952 %6953
%6952 = OpLabel
OpKill
%6953 = OpLabel
OpBranch %6822
%6948 = OpLabel
OpBranch %6932
%6932 = OpLabel
OpBranch %6883
%6883 = OpLabel
%6956 = OpAccessChain %56 %53 %55 %37
%6957 = OpLoad %6 %6956
%6958 = OpAccessChain %56 %53 %55 %88
%6959 = OpLoad %6 %6958
%6960 = OpFOrdGreaterThan %20 %6957 %6959
OpSelectionMerge %6962 None
OpBranchConditional %6960 %6961 %6962
%6961 = OpLabel
OpBranch %6822
%6962 = OpLabel
OpBranch %6878
%6964 = OpLabel
%6965 = OpAccessChain %38 %35 %37
%6966 = OpLoad %6 %6965
%6967 = OpFOrdLessThan %20 %6966 %41
OpSelectionMerge %6969 None
OpBranchConditional %6967 %6968 %6969
%6968 = OpLabel
OpBranch %6821
%6969 = OpLabel
OpBranch %6878
%6878 = OpLabel
OpBranch %6822
%6822 = OpLabel
%6971 = OpLoad %54 %6815
%6972 = OpIAdd %54 %6971 %84
OpStore %6815 %6972
OpBranch %6819
%6821 = OpLabel
OpBranch %6814
%6814 = OpLabel
OpBranch %6811
%6811 = OpLabel
OpBranch %6808
%6808 = OpLabel
OpBranch %6802
%6802 = OpLabel
OpBranch %6797
%6797 = OpLabel
%6973 = OpLoad %54 %6790
%6974 = OpISub %54 %6973 %84
OpStore %6790 %6974
OpBranch %6794
%6796 = OpLabel
OpBranch %6788
%6788 = OpLabel
OpStore %6975 %84
OpBranch %6976
%6976 = OpLabel
OpLoopMerge %6978 %6979 None
OpBranch %6980
%6980 = OpLabel
%6981 = OpLoad %54 %6975
%6982 = OpSGreaterThan %20 %6981 %55
OpBranchConditional %6982 %6977 %6978
%6977 = OpLabel
OpSelectionMerge %6984 None
OpBranchConditional %21 %6983 %6984
%6983 = OpLabel
OpReturn
%6984 = OpLabel
OpBranch %6979
%6979 = OpLabel
%6986 = OpLoad %54 %6975
%6987 = OpISub %54 %6986 %84
OpStore %6975 %6987
OpBranch %6976
%6978 = OpLabel
OpSelectionMerge %6989 None
OpBranchConditional %21 %6988 %6989
%6988 = OpLabel
OpBranch %6687
%6989 = OpLabel
%6991 = OpAccessChain %38 %35 %37
%6992 = OpLoad %6 %6991
%6995 = OpExtInst %6 %1 Determinant %6994
%6996 = OpExtInst %6 %1 Log %6995
%6997 = OpFOrdGreaterThanEqual %20 %6992 %6996
OpSelectionMerge %6999 None
OpBranchConditional %6997 %6998 %6999
%6998 = OpLabel
OpBranch %7000
%7000 = OpLabel
OpLoopMerge %7002 %7003 None
OpBranch %7001
%7001 = OpLabel
OpSelectionMerge %7005 None
OpBranchConditional %26 %7004 %7005
%7004 = OpLabel
OpSelectionMerge %7007 None
OpBranchConditional %21 %7006 %7007
%7006 = OpLabel
%7008 = OpAccessChain %56 %53 %55 %37
%7009 = OpLoad %6 %7008
%7010 = OpAccessChain %56 %53 %55 %88
%7011 = OpLoad %6 %7010
%7012 = OpFOrdGreaterThan %20 %7009 %7011
%7013 = OpCompositeConstruct %1479 %7012 %21
%7014 = OpCompositeExtract %20 %7013 0
OpSelectionMerge %7016 None
OpBranchConditional %7014 %7015 %7017
%7015 = OpLabel
OpBranch %7016
%7017 = OpLabel
OpStore %7018 %55
OpBranch %7019
%7019 = OpLabel
OpLoopMerge %7021 %7022 None
OpBranch %7023
%7023 = OpLabel
%7024 = OpLoad %54 %7018
%7025 = OpINotEqual %20 %7024 %84
OpBranchConditional %7025 %7020 %7021
%7020 = OpLabel
OpStore %7026 %55
OpBranch %7027
%7027 = OpLabel
OpLoopMerge %7029 %7030 None
OpBranch %7031
%7031 = OpLabel
%7032 = OpLoad %54 %7026
%7033 = OpINotEqual %20 %7032 %84
OpBranchConditional %7033 %7028 %7029
%7028 = OpLabel
%7034 = OpAccessChain %56 %53 %55 %37
%7035 = OpLoad %6 %7034
%7036 = OpAccessChain %56 %53 %55 %88
%7037 = OpLoad %6 %7036
%7038 = OpFOrdGreaterThan %20 %7035 %7037
OpSelectionMerge %7040 None
OpBranchConditional %7038 %7039 %7040
%7039 = OpLabel
OpBranch %7030
%7040 = OpLabel
OpSelectionMerge %7043 None
OpBranchConditional %21 %7042 %7043
%7042 = OpLabel
OpBranch %7029
%7043 = OpLabel
OpReturn
%7030 = OpLabel
%7046 = OpLoad %54 %7026
%7047 = OpIAdd %54 %7046 %84
OpStore %7026 %7047
OpBranch %7027
%7029 = OpLabel
OpBranch %7022
%7022 = OpLabel
%7048 = OpLoad %54 %7018
%7049 = OpIAdd %54 %7048 %84
OpStore %7018 %7049
OpBranch %7019
%7021 = OpLabel
OpBranch %7016
%7016 = OpLabel
%7050 = OpAccessChain %56 %53 %55 %37
%7051 = OpLoad %6 %7050
%7052 = OpAccessChain %56 %53 %55 %88
%7053 = OpLoad %6 %7052
%7054 = OpFOrdGreaterThan %20 %7051 %7053
OpSelectionMerge %7056 None
OpBranchConditional %7054 %7055 %7056
%7055 = OpLabel
OpBranch %7003
%7056 = OpLabel
OpBranch %7007
%7007 = OpLabel
OpBranch %7005
%7005 = OpLabel
OpBranch %7003
%7003 = OpLabel
OpBranchConditional %21 %7000 %7002
%7002 = OpLabel
OpBranch %6999
%6999 = OpLabel
OpBranch %6753
%6753 = OpLabel
%7059 = OpAccessChain %56 %53 %55 %88
%7060 = OpLoad %6 %7059
%7061 = OpConvertFToS %54 %7060
OpStore %7058 %7061
OpBranch %7062
%7062 = OpLabel
OpLoopMerge %7064 %7065 None
OpBranch %7066
%7066 = OpLabel
%7067 = OpLoad %54 %7058
%7068 = OpSGreaterThan %20 %7067 %55
OpBranchConditional %7068 %7063 %7064
%7063 = OpLabel
OpSelectionMerge %7070 None
OpBranchConditional %21 %7069 %7070
%7069 = OpLabel
OpBranch %7071
%7071 = OpLabel
OpLoopMerge %7073 %7074 None
OpBranch %7072
%7072 = OpLabel
OpReturn
%7074 = OpLabel
OpBranch %7071
%7073 = OpLabel
OpUnreachable
%7070 = OpLabel
OpBranch %7065
%7065 = OpLabel
%7089 = OpLoad %54 %7058
%7090 = OpISub %54 %7089 %84
OpStore %7058 %7090
OpBranch %7062
%7064 = OpLabel
OpSelectionMerge %7092 None
OpBranchConditional %21 %7091 %7092
%7091 = OpLabel
OpBranch %6687
%7092 = OpLabel
%7094 = OpAccessChain %38 %35 %88
%7095 = OpLoad %6 %7094
%7096 = OpFOrdLessThan %20 %7095 %41
OpSelectionMerge %7098 None
OpBranchConditional %7096 %7097 %7114
%7097 = OpLabel
%7099 = OpAccessChain %38 %35 %37
%7100 = OpLoad %6 %7099
%7101 = OpFOrdLessThan %20 %7100 %41
OpSelectionMerge %7103 None
OpBranchConditional %7101 %7102 %7103
%7102 = OpLabel
OpBranch %6687
%7103 = OpLabel
OpSelectionMerge %7106 None
OpBranchConditional %21 %7105 %7106
%7105 = OpLabel
%7107 = OpAccessChain %38 %35 %88
%7108 = OpLoad %6 %7107
%7109 = OpFOrdLessThan %20 %7108 %41
OpSelectionMerge %7111 None
OpBranchConditional %7109 %7110 %7111
%7110 = OpLabel
OpBranch %6686
%7111 = OpLabel
OpBranch %6687
%7106 = OpLabel
OpBranch %7098
%7114 = OpLabel
%7115 = OpAccessChain %56 %53 %55 %37
%7116 = OpLoad %6 %7115
%7117 = OpAccessChain %56 %53 %55 %88
%7118 = OpLoad %6 %7117
%7119 = OpFOrdGreaterThan %20 %7116 %7118
OpSelectionMerge %7121 None
OpBranchConditional %7119 %7120 %7121
%7120 = OpLabel
%7122 = OpAccessChain %56 %53 %55 %37
%7123 = OpLoad %6 %7122
%7124 = OpAccessChain %56 %53 %55 %88
%7125 = OpLoad %6 %7124
%7126 = OpFOrdGreaterThan %20 %7123 %7125
OpSelectionMerge %7128 None
OpBranchConditional %7126 %7127 %7128
%7127 = OpLabel
OpBranch %6687
%7128 = OpLabel
%7132 = OpAccessChain %56 %53 %55 %37
%7133 = OpLoad %6 %7132
%7134 = OpConvertFToS %54 %7133
%7135 = OpBitwiseAnd %54 %7131 %7134
OpStore %7130 %7135
OpBranch %7136
%7136 = OpLabel
OpLoopMerge %7138 %7139 None
OpBranch %7140
%7140 = OpLabel
%7141 = OpLoad %54 %7130
%7142 = OpAccessChain %56 %53 %55 %88
%7143 = OpLoad %6 %7142
%7144 = OpConvertFToS %54 %7143
%7145 = OpBitwiseXor %54 %55 %7144
%7146 = OpSLessThan %20 %7141 %7145
OpBranchConditional %7146 %7137 %7138
%7137 = OpLabel
OpBranch %7147
%7147 = OpLabel
OpLoopMerge %7149 %7150 None
OpBranch %7148
%7148 = OpLabel
OpBranch %7151
%7151 = OpLabel
OpLoopMerge %7153 %7154 None
OpBranch %7152
%7152 = OpLabel
OpReturn
%7154 = OpLabel
OpBranch %7151
%7153 = OpLabel
OpUnreachable
%7150 = OpLabel
OpBranch %7147
%7149 = OpLabel
OpUnreachable
%7139 = OpLabel
OpBranch %7136
%7138 = OpLabel
OpBranch %7121
%7121 = OpLabel
%7158 = OpAccessChain %38 %35 %37
%7159 = OpLoad %6 %7158
%7160 = OpFOrdLessThan %20 %7159 %41
OpSelectionMerge %7162 None
OpBranchConditional %7160 %7161 %7163
%7161 = OpLabel
OpBranch %7162
%7163 = OpLabel
OpSelectionMerge %7165 None
OpBranchConditional %21 %7164 %7169
%7164 = OpLabel
OpSelectionMerge %7167 None
OpBranchConditional %21 %7166 %7167
%7166 = OpLabel
OpKill
%7167 = OpLabel
OpBranch %7165
%7169 = OpLabel
OpSelectionMerge %7171 None
OpBranchConditional %21 %7170 %7171
%7170 = OpLabel
%7172 = OpAccessChain %38 %35 %37
%7173 = OpLoad %6 %7172
%7174 = OpFOrdGreaterThanEqual %20 %7173 %41
OpSelectionMerge %7176 None
OpBranchConditional %7174 %7175 %7176
%7175 = OpLabel
OpBranch %7177
%7177 = OpLabel
OpLoopMerge %7179 %7180 None
OpBranch %7178
%7178 = OpLabel
%7181 = OpAccessChain %38 %35 %88
%7182 = OpLoad %6 %7181
%7183 = OpFOrdLessThan %20 %7182 %41
OpSelectionMerge %7185 None
OpBranchConditional %7183 %7184 %7185
%7184 = OpLabel
OpBranch %7186
%7186 = OpLabel
OpLoopMerge %7188 %7189 None
OpBranch %7187
%7187 = OpLabel
OpReturn
%7189 = OpLabel
OpBranch %7186
%7188 = OpLabel
OpUnreachable
%7185 = OpLabel
OpSelectionMerge %7195 None
OpBranchConditional %21 %7194 %7195
%7194 = OpLabel
%7196 = OpAccessChain %38 %35 %88
%7197 = OpLoad %6 %7196
%7198 = OpFOrdGreaterThanEqual %20 %7197 %41
OpSelectionMerge %7200 None
OpBranchConditional %7198 %7199 %7200
%7199 = OpLabel
OpStore %7201 %84
OpBranch %7202
%7202 = OpLabel
OpLoopMerge %7204 %7205 None
OpBranch %7206
%7206 = OpLabel
%7207 = OpLoad %54 %7201
%7208 = OpSGreaterThan %20 %7207 %55
OpBranchConditional %7208 %7203 %7204
%7203 = OpLabel
OpSelectionMerge %7210 None
OpBranchConditional %21 %7209 %7211
%7209 = OpLabel
OpBranch %7210
%7211 = OpLabel
OpSelectionMerge %7213 None
OpBranchConditional %21 %7212 %7213
%7212 = OpLabel
%7214 = OpAccessChain %56 %53 %55 %37
%7215 = OpLoad %6 %7214
%7216 = OpAccessChain %56 %53 %55 %88
%7217 = OpLoad %6 %7216
%7218 = OpFOrdLessThan %20 %7215 %7217
OpSelectionMerge %7220 None
OpBranchConditional %7218 %7219 %7220
%7219 = OpLabel
%7221 = OpAccessChain %38 %35 %88
%7222 = OpLoad %6 %7221
%7223 = OpFOrdLessThan %20 %7222 %41
OpSelectionMerge %7225 None
OpBranchConditional %7223 %7224 %7225
%7224 = OpLabel
OpReturn
%7225 = OpLabel
OpBranch %7220
%7220 = OpLabel
OpReturn
%7213 = OpLabel
OpBranch %7210
%7210 = OpLabel
OpBranch %7205
%7205 = OpLabel
%7228 = OpLoad %54 %7201
%7229 = OpISub %54 %7228 %84
OpStore %7201 %7229
OpBranch %7202
%7204 = OpLabel
OpKill
%7200 = OpLabel
OpBranch %7195
%7195 = OpLabel
OpBranch %7180
%7180 = OpLabel
%7234 = OpAccessChain %38 %35 %37
%7235 = OpLoad %6 %7234
%7236 = OpFOrdLessThan %20 %7235 %41
OpBranchConditional %7236 %7177 %7179
%7179 = OpLabel
OpBranch %7176
%7176 = OpLabel
OpBranch %7237
%7237 = OpLabel
OpLoopMerge %7239 %7240 None
OpBranch %7238
%7238 = OpLabel
OpBranch %7241
%7241 = OpLabel
OpLoopMerge %7243 %7244 None
OpBranch %7242
%7242 = OpLabel
OpSelectionMerge %7246 None
OpBranchConditional %26 %7245 %7246
%7245 = OpLabel
OpStore %7247 %84
OpBranch %7248
%7248 = OpLabel
OpLoopMerge %7250 %7251 None
OpBranch %7252
%7252 = OpLabel
%7253 = OpLoad %54 %7247
%7254 = OpSGreaterThan %20 %7253 %55
OpBranchConditional %7254 %7249 %7250
%7249 = OpLabel
OpBranch %7255
%7255 = OpLabel
OpLoopMerge %7257 %7258 None
OpBranch %7256
%7256 = OpLabel
OpBranch %7259
%7259 = OpLabel
OpLoopMerge %7261 %7262 None
OpBranch %7260
%7260 = OpLabel
OpReturn
%7262 = OpLabel
OpBranch %7259
%7261 = OpLabel
OpUnreachable
%7258 = OpLabel
OpBranch %7255
%7257 = OpLabel
OpUnreachable
%7251 = OpLabel
OpBranch %7248
%7250 = OpLabel
OpBranch %7246
%7246 = OpLabel
OpBranch %7244
%7244 = OpLabel
OpBranchConditional %21 %7241 %7243
%7243 = OpLabel
OpBranch %7240
%7240 = OpLabel
OpBranchConditional %21 %7237 %7239
%7239 = OpLabel
OpBranch %7171
%7171 = OpLabel
OpBranch %7165
%7165 = OpLabel
OpBranch %7162
%7162 = OpLabel
OpBranch %7098
%7098 = OpLabel
OpBranch %6695
%6695 = OpLabel
OpBranch %6687
%6687 = OpLabel
%7269 = OpLoad %54 %6683
%7270 = OpIAdd %54 %7269 %84
OpStore %6683 %7270
OpBranch %6684
%6686 = OpLabel
OpBranch %6682
%6682 = OpLabel
OpBranch %6662
%6662 = OpLabel
OpBranchConditional %21 %6659 %6661
%6661 = OpLabel
OpBranch %6657
%6657 = OpLabel
OpBranch %6651
%6651 = OpLabel
OpBranch %6648
%6648 = OpLabel
OpBranch %6637
%6637 = OpLabel
%7271 = OpLoad %54 %6633
%7272 = OpISub %54 %7271 %84
OpStore %6633 %7272
OpBranch %6634
%6636 = OpLabel
OpBranch %6508
%6508 = OpLabel
OpBranch %6503
%6503 = OpLabel
OpBranchConditional %21 %6500 %6502
%6502 = OpLabel
%7295 = OpLoad %7 %6395
OpStore %7294 %7295
%7296 = OpFunctionCall %7 %15 %7294
%7300 = OpCompositeConstruct %7282 %6452 %26 %7293 %7296 %7298 %7299 %6452
OpStore %7284 %7300
OpStore %7301 %84
OpBranch %7302
%7302 = OpLabel
OpLoopMerge %7304 %7305 None
OpBranch %7306
%7306 = OpLabel
%7307 = OpLoad %54 %7301
%7308 = OpINotEqual %20 %7307 %55
OpBranchConditional %7308 %7303 %7304
%7303 = OpLabel
OpSelectionMerge %7310 None
OpBranchConditional %26 %7309 %7310
%7309 = OpLabel
%7311 = OpAccessChain %38 %35 %88
%7312 = OpLoad %6 %7311
%7313 = OpFOrdLessThan %20 %7312 %41
OpSelectionMerge %7315 None
OpBranchConditional %7313 %7314 %7315
%7314 = OpLabel
OpReturn
%7315 = OpLabel
OpBranch %7310
%7310 = OpLabel
OpSelectionMerge %7318 None
OpBranchConditional %21 %7317 %7318
%7317 = OpLabel
OpBranch %7305
%7318 = OpLabel
OpBranch %7305
%7305 = OpLabel
%7320 = OpLoad %54 %7301
%7321 = OpISub %54 %7320 %84
OpStore %7301 %7321
OpBranch %7302
%7304 = OpLabel
OpStore %7322 %84
OpBranch %7323
%7323 = OpLabel
OpLoopMerge %7325 %7326 None
OpBranch %7327
%7327 = OpLabel
%7328 = OpLoad %54 %7322
%7329 = OpSGreaterThan %20 %7328 %55
OpBranchConditional %7329 %7324 %7325
%7324 = OpLabel
%7330 = OpAccessChain %38 %35 %88
%7331 = OpLoad %6 %7330
%7332 = OpFOrdLessThan %20 %7331 %41
OpSelectionMerge %7334 None
OpBranchConditional %7332 %7333 %7334
%7333 = OpLabel
OpReturn
%7334 = OpLabel
OpBranch %7326
%7326 = OpLabel
%7336 = OpLoad %54 %7322
%7337 = OpISub %54 %7336 %84
OpStore %7322 %7337
OpBranch %7323
%7325 = OpLabel
OpSelectionMerge %7339 None
OpBranchConditional %26 %7338 %7339
%7338 = OpLabel
OpBranch %7340
%7340 = OpLabel
OpLoopMerge %7342 %7343 None
OpBranch %7341
%7341 = OpLabel
OpSelectionMerge %7345 None
OpBranchConditional %21 %7344 %7346
%7344 = OpLabel
OpBranch %7345
%7346 = OpLabel
OpStore %7347 %55
OpBranch %7348
%7348 = OpLabel
OpLoopMerge %7350 %7351 None
OpBranch %7352
%7352 = OpLabel
%7353 = OpLoad %54 %7347
%7354 = OpSLessThan %20 %7353 %84
OpBranchConditional %7354 %7349 %7350
%7349 = OpLabel
OpStore %7355 %55
OpBranch %7356
%7356 = OpLabel
OpLoopMerge %7358 %7359 None
OpBranch %7360
%7360 = OpLabel
%7361 = OpLoad %54 %7355
%7362 = OpSLessThan %20 %7361 %84
OpBranchConditional %7362 %7357 %7358
%7357 = OpLabel
%7364 = OpAccessChain %8 %6439 %84 %55 %7363
%7365 = OpLoad %7 %7364
%7366 = OpLoad %7 %6492
%7367 = OpFSub %7 %7365 %7366
%7369 = OpAccessChain %8 %7284 %7368
%7370 = OpLoad %7 %7369
%7371 = OpFAdd %7 %7367 %7370
OpStore %6395 %7371
OpBranch %7359
%7359 = OpLabel
%7372 = OpLoad %54 %7355
%7373 = OpIAdd %54 %7372 %84
OpStore %7355 %7373
OpBranch %7356
%7358 = OpLabel
OpBranch %7351
%7351 = OpLabel
%7374 = OpLoad %54 %7347
%7375 = OpIAdd %54 %7374 %84
OpStore %7347 %7375
OpBranch %7348
%7350 = OpLabel
OpSelectionMerge %7377 None
OpBranchConditional %21 %7376 %7384
%7376 = OpLabel
%7378 = OpAccessChain %38 %35 %37
%7379 = OpLoad %6 %7378
%7380 = OpFOrdLessThan %20 %7379 %41
OpSelectionMerge %7382 None
OpBranchConditional %7380 %7381 %7382
%7381 = OpLabel
OpReturn
%7382 = OpLabel
OpBranch %7377
%7384 = OpLabel
OpBranch %7385
%7385 = OpLabel
OpLoopMerge %7387 %7388 None
OpBranch %7386
%7386 = OpLabel
OpSelectionMerge %7390 None
OpBranchConditional %21 %7389 %7390
%7389 = OpLabel
OpReturn
%7390 = OpLabel
OpSelectionMerge %7393 None
OpBranchConditional %21 %7392 %7393
%7392 = OpLabel
OpSelectionMerge %7395 None
OpBranchConditional %21 %7394 %7396
%7394 = OpLabel
OpBranch %7395
%7396 = OpLabel
OpStore %7397 %55
OpBranch %7398
%7398 = OpLabel
OpLoopMerge %7400 %7401 None
OpBranch %7402
%7402 = OpLabel
%7403 = OpLoad %54 %7397
%7404 = OpINotEqual %20 %7403 %84
OpBranchConditional %7404 %7399 %7400
%7399 = OpLabel
OpKill
%7401 = OpLabel
OpBranch %7398
%7400 = OpLabel
OpBranch %7395
%7395 = OpLabel
OpBranch %7393
%7393 = OpLabel
%7408 = OpAccessChain %38 %35 %37
%7409 = OpLoad %6 %7408
%7410 = OpFOrdLessThan %20 %7409 %41
OpSelectionMerge %7412 None
OpBranchConditional %7410 %7411 %7412
%7411 = OpLabel
OpSelectionMerge %7414 None
OpBranchConditional %21 %7413 %7414
%7413 = OpLabel
OpBranch %7387
%7414 = OpLabel
OpStore %7416 %55
OpBranch %7417
%7417 = OpLabel
OpLoopMerge %7419 %7420 None
OpBranch %7421
%7421 = OpLabel
%7422 = OpLoad %54 %7416
%7423 = OpSLessThan %20 %7422 %84
OpBranchConditional %7423 %7418 %7419
%7418 = OpLabel
OpBranch %7424
%7424 = OpLabel
OpLoopMerge %7426 %7427 None
OpBranch %7425
%7425 = OpLabel
OpSelectionMerge %7429 None
OpBranchConditional %21 %7428 %7430
%7428 = OpLabel
OpBranch %7429
%7430 = OpLabel
%7431 = OpAccessChain %38 %35 %37
%7432 = OpLoad %6 %7431
%7433 = OpFOrdGreaterThanEqual %20 %7432 %41
OpSelectionMerge %7435 None
OpBranchConditional %7433 %7434 %7435
%7434 = OpLabel
OpReturn
%7435 = OpLabel
OpBranch %7429
%7429 = OpLabel
OpBranch %7427
%7427 = OpLabel
OpBranchConditional %21 %7424 %7426
%7426 = OpLabel
OpBranch %7420
%7420 = OpLabel
%7437 = OpLoad %54 %7416
%7438 = OpIAdd %54 %7437 %84
OpStore %7416 %7438
OpBranch %7417
%7419 = OpLabel
OpBranch %7412
%7412 = OpLabel
OpBranch %7388
%7388 = OpLabel
OpBranchConditional %21 %7385 %7387
%7387 = OpLabel
OpBranch %7377
%7377 = OpLabel
OpBranch %7345
%7345 = OpLabel
OpBranch %7343
%7343 = OpLabel
OpBranchConditional %21 %7340 %7342
%7342 = OpLabel
OpBranch %7339
%7339 = OpLabel
%7439 = OpAccessChain %38 %35 %88
%7440 = OpLoad %6 %7439
%7441 = OpFOrdGreaterThanEqual %20 %7440 %41
OpSelectionMerge %7443 None
OpBranchConditional %7441 %7442 %7443
%7442 = OpLabel
OpSelectionMerge %7445 None
OpBranchConditional %21 %7444 %7446
%7444 = OpLabel
OpBranch %7445
%7446 = OpLabel
OpSelectionMerge %7448 None
OpBranchConditional %26 %7447 %7448
%7447 = OpLabel
%7449 = OpAccessChain %38 %35 %88
%7450 = OpLoad %6 %7449
%7451 = OpFOrdGreaterThanEqual %20 %7450 %41
OpSelectionMerge %7453 None
OpBranchConditional %7451 %7452 %7538
%7452 = OpLabel
%7454 = OpAccessChain %38 %35 %88
%7455 = OpLoad %6 %7454
%7456 = OpFOrdLessThan %20 %7455 %41
OpSelectionMerge %7458 None
OpBranchConditional %7456 %7457 %7458
%7457 = OpLabel
OpReturn
%7458 = OpLabel
OpSelectionMerge %7461 None
OpBranchConditional %21 %7460 %7461
%7460 = OpLabel
OpSelectionMerge %7463 None
OpBranchConditional %21 %7462 %7463
%7462 = OpLabel
OpBranch %7464
%7464 = OpLabel
OpLoopMerge %7466 %7467 None
OpBranch %7465
%7465 = OpLabel
OpReturn
%7467 = OpLabel
OpBranch %7464
%7466 = OpLabel
OpUnreachable
%7463 = OpLabel
OpSelectionMerge %7473 None
OpBranchConditional %21 %7472 %7474
%7472 = OpLabel
OpBranch %7473
%7474 = OpLabel
OpReturn
%7473 = OpLabel
OpBranch %7461
%7461 = OpLabel
%7476 = OpAccessChain %38 %35 %88
%7477 = OpLoad %6 %7476
%7478 = OpFOrdLessThan %20 %7477 %41
OpSelectionMerge %7480 None
OpBranchConditional %7478 %7479 %7481
%7479 = OpLabel
OpBranch %7480
%7481 = OpLabel
OpSelectionMerge %7483 None
OpBranchConditional %21 %7482 %7484
%7482 = OpLabel
OpBranch %7483
%7484 = OpLabel
OpBranch %7485
%7485 = OpLabel
OpLoopMerge %7487 %7488 None
OpBranch %7486
%7486 = OpLabel
OpSelectionMerge %7490 None
OpBranchConditional %26 %7489 %7490
%7489 = OpLabel
OpSelectionMerge %7492 None
OpBranchConditional %26 %7491 %7517
%7491 = OpLabel
%7493 = OpLoad %7 %6395
%7495 = OpVectorTimesScalar %7 %7493 %7494
%7496 = OpExtInst %7 %1 Floor %7495
%7497 = OpCompositeConstruct %7 %7494 %7494
%7498 = OpFDiv %7 %7496 %7497
OpStore %6395 %7498
%7499 = OpAccessChain %38 %35 %37
%7500 = OpLoad %6 %7499
%7501 = OpFOrdLessThan %20 %7500 %41
OpSelectionMerge %7503 None
OpBranchConditional %7501 %7502 %7503
%7502 = OpLabel
OpBranch %7504
%7504 = OpLabel
OpLoopMerge %7506 %7507 None
OpBranch %7505
%7505 = OpLabel
OpReturn
%7507 = OpLabel
OpBranch %7504
%7506 = OpLabel
OpUnreachable
%7503 = OpLabel
OpSelectionMerge %7513 None
OpBranchConditional %21 %7512 %7513
%7512 = OpLabel
OpSelectionMerge %7515 None
OpBranchConditional %26 %7514 %7515
%7514 = OpLabel
OpReturn
%7515 = OpLabel
OpBranch %7513
%7513 = OpLabel
OpBranch %7492
%7517 = OpLabel
%7518 = OpAccessChain %38 %35 %37
%7519 = OpLoad %6 %7518
%7520 = OpFOrdGreaterThanEqual %20 %7519 %41
OpSelectionMerge %7522 None
OpBranchConditional %7520 %7521 %7522
%7521 = OpLabel
OpBranch %7523
%7523 = OpLabel
OpLoopMerge %7525 %7526 None
OpBranch %7524
%7524 = OpLabel
%7527 = OpAccessChain %56 %53 %55 %37
%7528 = OpLoad %6 %7527
%7529 = OpAccessChain %56 %53 %55 %88
%7530 = OpLoad %6 %7529
%7531 = OpFOrdGreaterThan %20 %7528 %7530
OpSelectionMerge %7533 None
OpBranchConditional %7531 %7532 %7533
%7532 = OpLabel
OpReturn
%7533 = OpLabel
OpBranch %7526
%7526 = OpLabel
OpBranchConditional %21 %7523 %7525
%7525 = OpLabel
OpBranch %7522
%7522 = OpLabel
OpBranch %7492
%7492 = OpLabel
OpBranch %7490
%7490 = OpLabel
OpBranch %7488
%7488 = OpLabel
%7535 = OpAccessChain %38 %35 %37
%7536 = OpLoad %6 %7535
%7537 = OpFOrdLessThan %20 %7536 %41
OpBranchConditional %7537 %7485 %7487
%7487 = OpLabel
OpBranch %7483
%7483 = OpLabel
OpBranch %7480
%7480 = OpLabel
OpBranch %7453
%7538 = OpLabel
OpSelectionMerge %7540 None
OpBranchConditional %26 %7539 %7540
%7539 = OpLabel
OpBranch %7541
%7541 = OpLabel
OpLoopMerge %7543 %7544 None
OpBranch %7542
%7542 = OpLabel
OpBranch %7545
%7545 = OpLabel
OpLoopMerge %7547 %7548 None
OpBranch %7546
%7546 = OpLabel
OpSelectionMerge %7550 None
OpBranchConditional %21 %7549 %7550
%7549 = OpLabel
OpSelectionMerge %7552 None
OpBranchConditional %21 %7551 %7552
%7551 = OpLabel
OpKill
%7552 = OpLabel
%7554 = OpAccessChain %56 %53 %55 %37
%7555 = OpLoad %6 %7554
%7556 = OpAccessChain %56 %53 %55 %88
%7557 = OpLoad %6 %7556
%7558 = OpFOrdGreaterThan %20 %7555 %7557
OpSelectionMerge %7560 None
OpBranchConditional %7558 %7559 %7561
%7559 = OpLabel
OpBranch %7560
%7561 = OpLabel
OpSelectionMerge %7563 None
OpBranchConditional %21 %7562 %7564
%7562 = OpLabel
OpBranch %7563
%7564 = OpLabel
OpReturn
%7563 = OpLabel
OpBranch %7560
%7560 = OpLabel
OpBranch %7550
%7550 = OpLabel
OpBranch %7548
%7548 = OpLabel
OpBranchConditional %21 %7545 %7547
%7547 = OpLabel
OpBranch %7544
%7544 = OpLabel
OpBranchConditional %21 %7541 %7543
%7543 = OpLabel
OpBranch %7540
%7540 = OpLabel
OpBranch %7453
%7453 = OpLabel
%7566 = OpAccessChain %38 %35 %37
%7567 = OpLoad %6 %7566
%7568 = OpFOrdGreaterThanEqual %20 %7567 %41
OpSelectionMerge %7570 None
OpBranchConditional %7568 %7569 %7570
%7569 = OpLabel
OpSelectionMerge %7572 None
OpBranchConditional %26 %7571 %7572
%7571 = OpLabel
OpSelectionMerge %7574 None
OpBranchConditional %21 %7573 %7574
%7573 = OpLabel
OpReturn
%7574 = OpLabel
OpBranch %7572
%7572 = OpLabel
OpBranch %7570
%7570 = OpLabel
OpBranch %7448
%7448 = OpLabel
OpBranch %7445
%7445 = OpLabel
OpBranch %7443
%7443 = OpLabel
OpStore %7576 %55
OpBranch %7577
%7577 = OpLabel
OpLoopMerge %7579 %7580 None
OpBranch %7581
%7581 = OpLabel
%7582 = OpLoad %54 %7576
%7583 = OpINotEqual %20 %7582 %84
OpBranchConditional %7583 %7578 %7579
%7578 = OpLabel
OpSelectionMerge %7585 None
OpBranchConditional %21 %7584 %7619
%7584 = OpLabel
OpSelectionMerge %7587 None
OpBranchConditional %21 %7586 %7587
%7586 = OpLabel
OpSelectionMerge %7589 None
OpBranchConditional %26 %7588 %7589
%7588 = OpLabel
OpSelectionMerge %7591 None
OpBranchConditional %21 %7590 %7592
%7590 = OpLabel
OpBranch %7591
%7592 = OpLabel
OpSelectionMerge %7594 None
OpBranchConditional %26 %7593 %7610
%7593 = OpLabel
%7595 = OpAccessChain %38 %35 %88
%7596 = OpLoad %6 %7595
%7597 = OpFOrdLessThan %20 %7596 %41
OpSelectionMerge %7599 None
OpBranchConditional %7597 %7598 %7599
%7598 = OpLabel
%7600 = OpAccessChain %38 %35 %88
%7601 = OpLoad %6 %7600
%7602 = OpFOrdGreaterThanEqual %20 %7601 %41
OpSelectionMerge %7604 None
OpBranchConditional %7602 %7603 %7604
%7603 = OpLabel
OpReturn
%7604 = OpLabel
OpBranch %7599
%7599 = OpLabel
OpReturn
%7610 = OpLabel
OpSelectionMerge %7612 None
OpBranchConditional %26 %7611 %7612
%7611 = OpLabel
OpSelectionMerge %7614 None
OpBranchConditional %21 %7613 %7614
%7613 = OpLabel
OpSelectionMerge %7616 None
OpBranchConditional %21 %7615 %7617
%7615 = OpLabel
OpBranch %7616
%7617 = OpLabel
OpReturn
%7616 = OpLabel
OpBranch %7614
%7614 = OpLabel
OpBranch %7612
%7612 = OpLabel
OpBranch %7594
%7594 = OpLabel
OpBranch %7591
%7591 = OpLabel
OpBranch %7589
%7589 = OpLabel
OpBranch %7587
%7587 = OpLabel
OpBranch %7585
%7619 = OpLabel
%7620 = OpAccessChain %38 %35 %37
%7621 = OpLoad %6 %7620
%7622 = OpFOrdGreaterThanEqual %20 %7621 %41
OpSelectionMerge %7624 None
OpBranchConditional %7622 %7623 %7624
%7623 = OpLabel
OpBranch %7625
%7625 = OpLabel
OpLoopMerge %7627 %7628 None
OpBranch %7626
%7626 = OpLabel
OpSelectionMerge %7630 None
OpBranchConditional %21 %7629 %7631
%7629 = OpLabel
OpBranch %7630
%7631 = OpLabel
%7633 = OpAccessChain %56 %53 %55 %37
%7634 = OpLoad %6 %7633
%7635 = OpConvertFToS %54 %7634
OpStore %7632 %7635
OpBranch %7636
%7636 = OpLabel
OpLoopMerge %7638 %7639 None
OpBranch %7640
%7640 = OpLabel
%7641 = OpLoad %54 %7632
%7642 = OpAccessChain %56 %53 %55 %88
%7643 = OpLoad %6 %7642
%7644 = OpConvertFToS %54 %7643
%7645 = OpBitwiseOr %54 %7644 %84
%7646 = OpINotEqual %20 %7641 %7645
OpBranchConditional %7646 %7637 %7638
%7637 = OpLabel
%7653 = OpLoad %7650 %7652
%7654 = OpLoad %7 %6395
%7655 = OpImageSampleImplicitLod %33 %7653 %7654
%7656 = OpVectorShuffle %4107 %7655 %7655 0 1 2
%7657 = OpCompositeExtract %6 %7656 0
%7658 = OpCompositeExtract %6 %7656 1
%7659 = OpCompositeExtract %6 %7656 2
%7660 = OpCompositeConstruct %33 %7657 %7658 %7659 %24
OpStore %7648 %7660
OpBranch %7639
%7639 = OpLabel
%7661 = OpLoad %54 %7632
%7662 = OpIAdd %54 %7661 %84
OpStore %7632 %7662
OpBranch %7636
%7638 = OpLabel
OpBranch %7630
%7630 = OpLabel
%7663 = OpAccessChain %38 %35 %88
%7664 = OpLoad %6 %7663
%7665 = OpFOrdLessThan %20 %7664 %41
OpSelectionMerge %7667 None
OpBranchConditional %7665 %7666 %7667
%7666 = OpLabel
%7668 = OpAccessChain %38 %35 %88
%7669 = OpLoad %6 %7668
%7670 = OpFOrdLessThan %20 %7669 %41
OpSelectionMerge %7672 None
OpBranchConditional %7670 %7671 %7672
%7671 = OpLabel
%7673 = OpAccessChain %38 %35 %88
%7674 = OpLoad %6 %7673
%7675 = OpFOrdLessThan %20 %7674 %41
OpSelectionMerge %7677 None
OpBranchConditional %7675 %7676 %7677
%7676 = OpLabel
OpKill
%7677 = OpLabel
OpBranch %7627
%7672 = OpLabel
OpBranch %7627
%7667 = OpLabel
OpSelectionMerge %7682 None
OpBranchConditional %21 %7681 %7682
%7681 = OpLabel
OpKill
%7682 = OpLabel
OpBranch %7628
%7628 = OpLabel
OpBranchConditional %21 %7625 %7627
%7627 = OpLabel
OpBranch %7624
%7624 = OpLabel
OpBranch %7585
%7585 = OpLabel
OpBranch %7580
%7580 = OpLabel
%7684 = OpLoad %54 %7576
%7685 = OpIAdd %54 %7684 %84
OpStore %7576 %7685
OpBranch %7577
%7579 = OpLabel
OpSelectionMerge %7687 None
OpBranchConditional %21 %7686 %7688
%7686 = OpLabel
OpBranch %7687
%7688 = OpLabel
OpStore %7689 %84
OpBranch %7690
%7690 = OpLabel
OpLoopMerge %7692 %7693 None
OpBranch %7694
%7694 = OpLabel
%7695 = OpLoad %54 %7689
%7696 = OpINotEqual %20 %7695 %55
OpBranchConditional %7696 %7691 %7692
%7691 = OpLabel
OpSelectionMerge %7698 None
OpBranchConditional %26 %7697 %7698
%7697 = OpLabel
OpSelectionMerge %7700 None
OpBranchConditional %21 %7699 %7700
%7699 = OpLabel
%7701 = OpAccessChain %38 %35 %88
%7702 = OpLoad %6 %7701
%7703 = OpFOrdLessThan %20 %7702 %41
OpSelectionMerge %7705 None
OpBranchConditional %7703 %7704 %7706
%7704 = OpLabel
OpBranch %7705
%7706 = OpLabel
OpReturn
%7705 = OpLabel
OpBranch %7700
%7700 = OpLabel
OpStore %7708 %84
OpBranch %7709
%7709 = OpLabel
OpLoopMerge %7711 %7712 None
OpBranch %7713
%7713 = OpLabel
%7714 = OpLoad %54 %7708
%7715 = OpSGreaterThan %20 %7714 %55
OpBranchConditional %7715 %7710 %7711
%7710 = OpLabel
%7717 = OpAccessChain %56 %53 %55 %37
%7718 = OpLoad %6 %7717
%7719 = OpConvertFToS %54 %7718
OpStore %7716 %7719
OpBranch %7720
%7720 = OpLabel
OpLoopMerge %7722 %7723 None
OpBranch %7724
%7724 = OpLabel
%7725 = OpLoad %54 %7716
%7726 = OpSLessThan %20 %7725 %84
OpBranchConditional %7726 %7721 %7722
%7721 = OpLabel
OpSelectionMerge %7728 None
OpBranchConditional %26 %7727 %7728
%7727 = OpLabel
OpStore %7729 %55
OpBranch %7730
%7730 = OpLabel
OpLoopMerge %7732 %7733 None
OpBranch %7734
%7734 = OpLabel
%7735 = OpLoad %54 %7729
%7736 = OpAccessChain %56 %53 %55 %88
%7737 = OpLoad %6 %7736
%7738 = OpConvertFToS %54 %7737
%7739 = OpINotEqual %20 %7735 %7738
OpBranchConditional %7739 %7731 %7732
%7731 = OpLabel
OpSelectionMerge %7741 None
OpBranchConditional %21 %7740 %7741
%7740 = OpLabel
%7743 = OpAccessChain %56 %53 %55 %88
%7744 = OpLoad %6 %7743
%7745 = OpConvertFToS %54 %7744
OpStore %7742 %7745
OpBranch %7746
%7746 = OpLabel
OpLoopMerge %7748 %7749 None
OpBranch %7750
%7750 = OpLabel
%7751 = OpLoad %54 %7742
%7752 = OpSGreaterThan %20 %7751 %55
OpBranchConditional %7752 %7747 %7748
%7747 = OpLabel
%7753 = OpAccessChain %38 %35 %88
%7754 = OpLoad %6 %7753
%7755 = OpFOrdGreaterThanEqual %20 %7754 %41
OpSelectionMerge %7757 None
OpBranchConditional %7755 %7756 %7757
%7756 = OpLabel
OpKill
%7757 = OpLabel
OpBranch %7749
%7749 = OpLabel
%7759 = OpLoad %54 %7742
%7760 = OpISub %54 %7759 %84
OpStore %7742 %7760
OpBranch %7746
%7748 = OpLabel
OpBranch %7741
%7741 = OpLabel
%7761 = OpAccessChain %38 %35 %88
%7762 = OpLoad %6 %7761
%7763 = OpAccessChain %56 %53 %55 %37
%7764 = OpLoad %6 %7763
%7765 = OpFOrdLessThan %20 %7762 %7764
OpSelectionMerge %7767 None
OpBranchConditional %7765 %7766 %7768
%7766 = OpLabel
OpBranch %7767
%7768 = OpLabel
OpSelectionMerge %7770 None
OpBranchConditional %21 %7769 %7770
%7769 = OpLabel
OpReturn
%7770 = OpLabel
OpBranch %7767
%7767 = OpLabel
OpStore %7772 %55
OpBranch %7773
%7773 = OpLabel
OpLoopMerge %7775 %7776 None
OpBranch %7777
%7777 = OpLabel
%7778 = OpLoad %54 %7772
%7779 = OpSLessThan %20 %7778 %84
OpBranchConditional %7779 %7774 %7775
%7774 = OpLabel
OpBranch %7780
%7780 = OpLabel
OpLoopMerge %7782 %7783 None
OpBranch %7781
%7781 = OpLabel
OpBranch %7784
%7784 = OpLabel
OpLoopMerge %7786 %7787 None
OpBranch %7785
%7785 = OpLabel
OpSelectionMerge %7789 None
OpBranchConditional %26 %7788 %7789
%7788 = OpLabel
OpSelectionMerge %7791 None
OpBranchConditional %21 %7790 %7791
%7790 = OpLabel
OpReturn
%7791 = OpLabel
OpBranch %7789
%7789 = OpLabel
OpSelectionMerge %7794 None
OpBranchConditional %21 %7793 %7795
%7793 = OpLabel
OpBranch %7794
%7795 = OpLabel
OpSelectionMerge %7797 None
OpBranchConditional %21 %7796 %7797
%7796 = OpLabel
OpReturn
%7797 = OpLabel
OpBranch %7794
%7794 = OpLabel
%7799 = OpAccessChain %38 %35 %88
%7800 = OpLoad %6 %7799
%7801 = OpFOrdLessThan %20 %7800 %41
OpSelectionMerge %7803 None
OpBranchConditional %7801 %7802 %7803
%7802 = OpLabel
OpReturn
%7803 = OpLabel
OpSelectionMerge %7806 None
OpBranchConditional %21 %7805 %7806
%7805 = OpLabel
OpBranch %7787
%7806 = OpLabel
OpBranch %7787
%7787 = OpLabel
%7808 = OpAccessChain %56 %53 %55 %37
%7809 = OpLoad %6 %7808
%7810 = OpAccessChain %56 %53 %55 %88
%7811 = OpLoad %6 %7810
%7812 = OpFOrdGreaterThan %20 %7809 %7811
OpBranchConditional %7812 %7784 %7786
%7786 = OpLabel
OpBranch %7783
%7783 = OpLabel
OpBranchConditional %21 %7780 %7782
%7782 = OpLabel
%7813 = OpAccessChain %38 %35 %88
%7814 = OpLoad %6 %7813
%7815 = OpFOrdLessThan %20 %7814 %41
OpSelectionMerge %7817 None
OpBranchConditional %7815 %7816 %7817
%7816 = OpLabel
OpKill
%7817 = OpLabel
OpBranch %7776
%7776 = OpLabel
%7819 = OpLoad %54 %7772
%7820 = OpIAdd %54 %7819 %84
OpStore %7772 %7820
OpBranch %7773
%7775 = OpLabel
OpSelectionMerge %7822 None
OpBranchConditional %26 %7821 %7822
%7821 = OpLabel
%7823 = OpAccessChain %56 %53 %55 %37
%7824 = OpLoad %6 %7823
%7825 = OpAccessChain %56 %53 %55 %88
%7826 = OpLoad %6 %7825
%7827 = OpFOrdGreaterThan %20 %7824 %7826
OpSelectionMerge %7829 None
OpBranchConditional %7827 %7828 %7829
%7828 = OpLabel
OpBranch %7732
%7829 = OpLabel
%7831 = OpAccessChain %38 %35 %37
%7832 = OpLoad %6 %7831
%7833 = OpFOrdLessThan %20 %7832 %41
OpSelectionMerge %7835 None
OpBranchConditional %7833 %7834 %7836
%7834 = OpLabel
OpBranch %7835
%7836 = OpLabel
%7837 = OpAccessChain %38 %35 %88
%7838 = OpLoad %6 %7837
%7839 = OpFOrdLessThan %20 %7838 %41
OpSelectionMerge %7841 None
OpBranchConditional %7839 %7840 %7841
%7840 = OpLabel
OpSelectionMerge %7843 None
OpBranchConditional %21 %7842 %7843
%7842 = OpLabel
OpBranch %7733
%7843 = OpLabel
OpBranch %7732
%7841 = OpLabel
OpSelectionMerge %7847 None
OpBranchConditional %21 %7846 %7847
%7846 = OpLabel
%7848 = OpAccessChain %56 %53 %55 %37
%7849 = OpLoad %6 %7848
%7850 = OpAccessChain %56 %53 %55 %88
%7851 = OpLoad %6 %7850
%7852 = OpFOrdGreaterThan %20 %7849 %7851
OpSelectionMerge %7854 None
OpBranchConditional %7852 %7853 %7864
%7853 = OpLabel
OpSelectionMerge %7856 None
OpBranchConditional %21 %7855 %7856
%7855 = OpLabel
%7857 = OpAccessChain %38 %35 %37
%7858 = OpLoad %6 %7857
%7859 = OpFOrdLessThan %20 %7858 %41
OpSelectionMerge %7861 None
OpBranchConditional %7859 %7860 %7861
%7860 = OpLabel
OpKill
%7861 = OpLabel
OpBranch %7732
%7856 = OpLabel
OpBranch %7854
%7864 = OpLabel
OpSelectionMerge %7866 None
OpBranchConditional %21 %7865 %7866
%7865 = OpLabel
OpSelectionMerge %7868 None
OpBranchConditional %21 %7867 %7868
%7867 = OpLabel
OpBranch %7733
%7868 = OpLabel
OpBranch %7733
%7866 = OpLabel
OpBranch %7871
%7871 = OpLabel
OpLoopMerge %7873 %7874 None
OpBranch %7872
%7872 = OpLabel
OpStore %7875 %84
OpBranch %7876
%7876 = OpLabel
OpLoopMerge %7878 %7879 None
OpBranch %7880
%7880 = OpLabel
%7881 = OpLoad %54 %7875
%7882 = OpINotEqual %20 %7881 %55
OpBranchConditional %7882 %7877 %7878
%7877 = OpLabel
OpKill
%7879 = OpLabel
OpBranch %7876
%7878 = OpLabel
OpBranch %7874
%7874 = OpLabel
%7886 = OpAccessChain %38 %35 %88
%7887 = OpLoad %6 %7886
%7888 = OpFOrdLessThan %20 %7887 %41
OpBranchConditional %7888 %7871 %7873
%7873 = OpLabel
OpBranch %7854
%7854 = OpLabel
OpBranch %7847
%7847 = OpLabel
OpBranch %7835
%7835 = OpLabel
%7889 = OpAccessChain %38 %35 %88
%7890 = OpLoad %6 %7889
%7891 = OpFOrdGreaterThanEqual %20 %7890 %41
OpSelectionMerge %7893 None
OpBranchConditional %7891 %7892 %7893
%7892 = OpLabel
OpSelectionMerge %7895 None
OpBranchConditional %21 %7894 %7895
%7894 = OpLabel
OpReturn
%7895 = OpLabel
OpBranch %7893
%7893 = OpLabel
OpBranch %7822
%7822 = OpLabel
OpSelectionMerge %7898 None
OpBranchConditional %21 %7897 %7898
%7897 = OpLabel
OpBranch %7732
%7898 = OpLabel
OpSelectionMerge %7901 None
OpBranchConditional %21 %7900 %7901
%7900 = OpLabel
OpBranch %7733
%7901 = OpLabel
OpBranch %7733
%7733 = OpLabel
%7903 = OpLoad %54 %7729
%7904 = OpIAdd %54 %7903 %84
OpStore %7729 %7904
OpBranch %7730
%7732 = OpLabel
OpBranch %7728
%7728 = OpLabel
OpBranch %7723
%7723 = OpLabel
%7905 = OpLoad %54 %7716
%7906 = OpIAdd %54 %7905 %84
OpStore %7716 %7906
OpBranch %7720
%7722 = OpLabel
OpBranch %7712
%7712 = OpLabel
%7907 = OpLoad %54 %7708
%7908 = OpISub %54 %7907 %84
OpStore %7708 %7908
OpBranch %7709
%7711 = OpLabel
OpSelectionMerge %7910 None
OpBranchConditional %21 %7909 %7910
%7909 = OpLabel
OpBranch %7693
%7910 = OpLabel
OpBranch %7698
%7698 = OpLabel
OpBranch %7693
%7693 = OpLabel
%7912 = OpLoad %54 %7689
%7913 = OpISub %54 %7912 %84
OpStore %7689 %7913
OpBranch %7690
%7692 = OpLabel
OpBranch %7687
%7687 = OpLabel
%7914 = OpAccessChain %56 %53 %55 %37
%7915 = OpLoad %6 %7914
%7916 = OpAccessChain %56 %53 %55 %88
%7917 = OpLoad %6 %7916
%7918 = OpFOrdLessThan %20 %7915 %7917
OpSelectionMerge %7920 None
OpBranchConditional %7918 %7919 %7920
%7919 = OpLabel
OpBranch %7921
%7921 = OpLabel
OpLoopMerge %7923 %7924 None
OpBranch %7922
%7922 = OpLabel
OpSelectionMerge %7926 None
OpBranchConditional %21 %7925 %7926
%7925 = OpLabel
OpBranch %7924
%7926 = OpLabel
OpSelectionMerge %7929 None
OpBranchConditional %21 %7928 %7929
%7928 = OpLabel
%7930 = OpAccessChain %56 %53 %55 %37
%7931 = OpLoad %6 %7930
%7932 = OpAccessChain %56 %53 %55 %88
%7933 = OpLoad %6 %7932
%7934 = OpFOrdLessThan %20 %7931 %7933
%7935 = OpLogicalAnd %20 %7934 %26
OpSelectionMerge %7937 None
OpBranchConditional %7935 %7936 %7937
%7936 = OpLabel
%7938 = OpAccessChain %38 %35 %88
%7939 = OpLoad %6 %7938
%7940 = OpFOrdLessThan %20 %7939 %41
OpSelectionMerge %7942 None
OpBranchConditional %7940 %7941 %7942
%7941 = OpLabel
OpKill
%7942 = OpLabel
OpSelectionMerge %7945 None
OpBranchConditional %26 %7944 %7945
%7944 = OpLabel
%7946 = OpAccessChain %38 %35 %37
%7947 = OpLoad %6 %7946
%7948 = OpFOrdGreaterThanEqual %20 %7947 %41
OpSelectionMerge %7950 None
OpBranchConditional %7948 %7949 %7980
%7949 = OpLabel
%7951 = OpAccessChain %56 %53 %55 %37
%7952 = OpLoad %6 %7951
%7953 = OpAccessChain %56 %53 %55 %88
%7954 = OpLoad %6 %7953
%7955 = OpFOrdLessThan %20 %7952 %7954
OpSelectionMerge %7957 None
OpBranchConditional %7955 %7956 %7957
%7956 = OpLabel
OpBranch %7958
%7958 = OpLabel
OpLoopMerge %7960 %7961 None
OpBranch %7959
%7959 = OpLabel
%7962 = OpAccessChain %56 %53 %55 %37
%7963 = OpLoad %6 %7962
%7964 = OpAccessChain %56 %53 %55 %88
%7965 = OpLoad %6 %7964
%7966 = OpFOrdGreaterThan %20 %7963 %7965
OpSelectionMerge %7968 None
OpBranchConditional %7966 %7967 %7968
%7967 = OpLabel
OpSelectionMerge %7970 None
OpBranchConditional %21 %7969 %7970
%7969 = OpLabel
OpBranch %7961
%7970 = OpLabel
OpKill
%7968 = OpLabel
OpBranch %7961
%7961 = OpLabel
OpBranchConditional %21 %7958 %7960
%7960 = OpLabel
OpBranch %7957
%7957 = OpLabel
OpSelectionMerge %7974 None
OpBranchConditional %26 %7973 %7974
%7973 = OpLabel
OpBranch %7975
%7975 = OpLabel
OpLoopMerge %7977 %7978 None
OpBranch %7976
%7976 = OpLabel
OpReturn
%7978 = OpLabel
OpBranch %7975
%7977 = OpLabel
OpUnreachable
%7974 = OpLabel
OpBranch %7950
%7980 = OpLabel
OpSelectionMerge %7982 None
OpBranchConditional %21 %7981 %7982
%7981 = OpLabel
OpBranch %7983
%7983 = OpLabel
OpLoopMerge %7985 %7986 None
OpBranch %7984
%7984 = OpLabel
OpReturn
%7986 = OpLabel
OpBranch %7983
%7985 = OpLabel
OpUnreachable
%7982 = OpLabel
%7997 = OpAccessChain %38 %35 %37
%7998 = OpLoad %6 %7997
%7999 = OpFOrdLessThan %20 %7998 %41
OpSelectionMerge %8001 None
OpBranchConditional %7999 %8000 %8001
%8000 = OpLabel
OpKill
%8001 = OpLabel
OpBranch %7950
%7950 = OpLabel
OpBranch %7945
%7945 = OpLabel
OpSelectionMerge %8004 None
OpBranchConditional %21 %8003 %8004
%8003 = OpLabel
%8005 = OpAccessChain %56 %53 %55 %37
%8006 = OpLoad %6 %8005
%8007 = OpAccessChain %56 %53 %55 %88
%8008 = OpLoad %6 %8007
%8009 = OpFOrdGreaterThan %20 %8006 %8008
OpSelectionMerge %8011 None
OpBranchConditional %8009 %8010 %8011
%8010 = OpLabel
OpBranch %7924
%8011 = OpLabel
OpBranch %7923
%8004 = OpLabel
OpSelectionMerge %8015 None
OpBranchConditional %21 %8014 %8015
%8014 = OpLabel
%8016 = OpAccessChain %56 %53 %55 %37
%8017 = OpLoad %6 %8016
%8018 = OpAccessChain %56 %53 %55 %88
%8019 = OpLoad %6 %8018
%8020 = OpFOrdGreaterThan %20 %8017 %8019
OpSelectionMerge %8022 None
OpBranchConditional %8020 %8021 %8022
%8021 = OpLabel
OpBranch %7924
%8022 = OpLabel
OpSelectionMerge %8025 None
OpBranchConditional %21 %8024 %8025
%8024 = OpLabel
OpBranch %7924
%8025 = OpLabel
OpBranch %7924
%8015 = OpLabel
OpSelectionMerge %8029 None
OpBranchConditional %26 %8028 %8029
%8028 = OpLabel
OpSelectionMerge %8031 None
OpBranchConditional %21 %8030 %8031
%8030 = OpLabel
OpBranch %7924
%8031 = OpLabel
OpStore %8033 %55
OpBranch %8034
%8034 = OpLabel
OpLoopMerge %8036 %8037 None
OpBranch %8038
%8038 = OpLabel
%8039 = OpLoad %54 %8033
%8040 = OpAccessChain %56 %53 %55 %88
%8041 = OpLoad %6 %8040
%8042 = OpConvertFToS %54 %8041
%8043 = OpINotEqual %20 %8039 %8042
OpBranchConditional %8043 %8035 %8036
%8035 = OpLabel
%8044 = OpAccessChain %38 %35 %37
%8045 = OpLoad %6 %8044
%8046 = OpFOrdLessThan %20 %8045 %41
OpSelectionMerge %8048 None
OpBranchConditional %8046 %8047 %8048
%8047 = OpLabel
OpReturn
%8048 = OpLabel
OpBranch %8037
%8037 = OpLabel
%8050 = OpLoad %54 %8033
%8051 = OpIAdd %54 %8050 %84
OpStore %8033 %8051
OpBranch %8034
%8036 = OpLabel
OpBranch %8029
%8029 = OpLabel
OpBranch %7937
%7937 = OpLabel
OpSelectionMerge %8053 None
OpBranchConditional %21 %8052 %8053
%8052 = OpLabel
OpKill
%8053 = OpLabel
OpBranch %7929
%7929 = OpLabel
OpBranch %7924
%7924 = OpLabel
OpBranchConditional %21 %7921 %7923
%7923 = OpLabel
OpBranch %7920
%7920 = OpLabel
OpReturn
OpFunctionEnd
%11 = OpFunction %6 None %9
%10 = OpFunctionParameter %8
%12 = OpLabel
%18 = OpVariable %17 Function
%77 = OpVariable %76 Function
%106 = OpVariable %76 Function
%119 = OpVariable %76 Function
%158 = OpVariable %76 Function
%168 = OpVariable %76 Function
%176 = OpVariable %76 Function
%218 = OpVariable %8 Function
%325 = OpVariable %76 Function
%397 = OpVariable %76 Function
%484 = OpVariable %76 Function
%492 = OpVariable %76 Function
%584 = OpVariable %76 Function
%598 = OpVariable %76 Function
%622 = OpVariable %76 Function
%633 = OpVariable %76 Function
%717 = OpVariable %76 Function
%725 = OpVariable %76 Function
%933 = OpVariable %76 Function
%944 = OpVariable %17 Function
%962 = OpVariable %76 Function
%1006 = OpVariable %76 Function
%1070 = OpVariable %76 Function
%1114 = OpVariable %76 Function
%1126 = OpVariable %76 Function
%1238 = OpVariable %76 Function
%1296 = OpVariable %76 Function
%1319 = OpVariable %76 Function
%1371 = OpVariable %76 Function
%1383 = OpVariable %76 Function
%1415 = OpVariable %76 Function
%1494 = OpVariable %76 Function
%1513 = OpVariable %76 Function
%1612 = OpVariable %76 Function
%1773 = OpVariable %76 Function
%1829 = OpVariable %76 Function
%1900 = OpVariable %76 Function
%1932 = OpVariable %76 Function
%1979 = OpVariable %76 Function
%1997 = OpVariable %76 Function
%2026 = OpVariable %76 Function
%2037 = OpVariable %76 Function
%2071 = OpVariable %76 Function
%2130 = OpVariable %76 Function
%2155 = OpVariable %76 Function
%2163 = OpVariable %76 Function
%2192 = OpVariable %17 Function
%2294 = OpVariable %76 Function
%2318 = OpVariable %76 Function
%2329 = OpVariable %76 Function
%2355 = OpVariable %76 Function
%2374 = OpVariable %76 Function
%2486 = OpVariable %76 Function
%2494 = OpVariable %76 Function
%2567 = OpVariable %76 Function
%2596 = OpVariable %76 Function
%2634 = OpVariable %76 Function
%2651 = OpVariable %76 Function
%2667 = OpVariable %76 Function
%2721 = OpVariable %76 Function
%2770 = OpVariable %76 Function
%2849 = OpVariable %76 Function
%2903 = OpVariable %76 Function
%2931 = OpVariable %76 Function
%2941 = OpVariable %76 Function
%2986 = OpVariable %76 Function
%3015 = OpVariable %76 Function
%3032 = OpVariable %76 Function
%3042 = OpVariable %76 Function
%3197 = OpVariable %76 Function
%3212 = OpVariable %76 Function
%3249 = OpVariable %76 Function
%3276 = OpVariable %76 Function
%3286 = OpVariable %76 Function
%3347 = OpVariable %76 Function
%3420 = OpVariable %76 Function
%3441 = OpVariable %76 Function
%3457 = OpVariable %76 Function
%3479 = OpVariable %76 Function
%3514 = OpVariable %76 Function
%3569 = OpVariable %76 Function
%3630 = OpVariable %76 Function
%3653 = OpVariable %76 Function
%3763 = OpVariable %76 Function
%3822 = OpVariable %76 Function
%3847 = OpVariable %76 Function
%3879 = OpVariable %76 Function
%3887 = OpVariable %76 Function
%3961 = OpVariable %76 Function
%4014 = OpVariable %76 Function
%4029 = OpVariable %76 Function
%4149 = OpVariable %76 Function
%4209 = OpVariable %76 Function
%4250 = OpVariable %76 Function
%4276 = OpVariable %76 Function
%4317 = OpVariable %76 Function
%4348 = OpVariable %76 Function
%4356 = OpVariable %76 Function
%4392 = OpVariable %76 Function
%4420 = OpVariable %76 Function
%4482 = OpVariable %76 Function
%4621 = OpVariable %76 Function
%4649 = OpVariable %76 Function
%4694 = OpVariable %76 Function
%4751 = OpVariable %76 Function
%4817 = OpVariable %76 Function
%4858 = OpVariable %76 Function
%4866 = OpVariable %76 Function
%4927 = OpVariable %76 Function
%4951 = OpVariable %76 Function
%4976 = OpVariable %76 Function
%5001 = OpVariable %76 Function
%5019 = OpVariable %76 Function
%5035 = OpVariable %76 Function
%5043 = OpVariable %76 Function
%5092 = OpVariable %76 Function
%5123 = OpVariable %76 Function
%5171 = OpVariable %76 Function
%5203 = OpVariable %76 Function
%5233 = OpVariable %76 Function
%5243 = OpVariable %76 Function
%5266 = OpVariable %76 Function
%5323 = OpVariable %76 Function
%5346 = OpVariable %76 Function
OpStore %18 %19
OpSelectionMerge %23 None
OpBranchConditional %21 %22 %23
%22 = OpLabel
OpReturnValue %24
%23 = OpLabel
OpSelectionMerge %28 None
OpBranchConditional %26 %27 %28
%27 = OpLabel
OpBranch %29
%29 = OpLabel
OpLoopMerge %31 %32 None
OpBranch %30
%30 = OpLabel
%39 = OpAccessChain %38 %35 %37
%40 = OpLoad %6 %39
%42 = OpFOrdLessThan %20 %40 %41
OpSelectionMerge %44 None
OpBranchConditional %42 %43 %45
%43 = OpLabel
OpBranch %44
%45 = OpLabel
OpSelectionMerge %47 None
OpBranchConditional %21 %46 %47
%46 = OpLabel
OpReturnValue %24
%47 = OpLabel
OpBranch %44
%44 = OpLabel
OpBranch %32
%32 = OpLabel
%49 = OpAccessChain %38 %35 %37
%50 = OpLoad %6 %49
%57 = OpAccessChain %56 %53 %55 %37
%58 = OpLoad %6 %57
%59 = OpFOrdLessThan %20 %50 %58
OpBranchConditional %59 %29 %31
%31 = OpLabel
OpBranch %28
%28 = OpLabel
OpSelectionMerge %61 None
OpBranchConditional %21 %60 %61
%60 = OpLabel
OpReturnValue %24
%61 = OpLabel
%63 = OpLoad %7 %10
%64 = OpExtInst %6 %1 Length %63
%66 = OpFOrdLessThan %20 %64 %65
OpSelectionMerge %68 None
OpBranchConditional %66 %67 %68
%67 = OpLabel
OpBranch %69
%69 = OpLabel
OpLoopMerge %71 %72 None
OpBranch %70
%70 = OpLabel
OpSelectionMerge %74 None
OpBranchConditional %21 %73 %75
%73 = OpLabel
OpBranch %74
%75 = OpLabel
OpStore %77 %55
OpBranch %78
%78 = OpLabel
OpLoopMerge %80 %81 None
OpBranch %82
%82 = OpLabel
%83 = OpLoad %54 %77
%85 = OpINotEqual %20 %83 %84
OpBranchConditional %85 %79 %80
%79 = OpLabel
%86 = OpAccessChain %56 %53 %55 %37
%87 = OpLoad %6 %86
%89 = OpAccessChain %56 %53 %55 %88
%90 = OpLoad %6 %89
%91 = OpFOrdGreaterThan %20 %87 %90
OpSelectionMerge %93 None
OpBranchConditional %91 %92 %94
%92 = OpLabel
OpBranch %93
%94 = OpLabel
%95 = OpAccessChain %38 %35 %88
%96 = OpLoad %6 %95
%97 = OpAccessChain %56 %53 %55 %37
%98 = OpLoad %6 %97
%99 = OpFOrdLessThan %20 %96 %98
OpSelectionMerge %101 None
OpBranchConditional %99 %100 %105
%100 = OpLabel
OpSelectionMerge %103 None
OpBranchConditional %21 %102 %103
%102 = OpLabel
OpReturnValue %24
%103 = OpLabel
OpBranch %101
%105 = OpLabel
OpStore %106 %84
OpBranch %107
%107 = OpLabel
OpLoopMerge %109 %110 None
OpBranch %111
%111 = OpLabel
%112 = OpLoad %54 %106
%113 = OpINotEqual %20 %112 %55
OpBranchConditional %113 %108 %109
%108 = OpLabel
OpSelectionMerge %115 None
OpBranchConditional %21 %114 %115
%114 = OpLabel
OpReturnValue %24
%115 = OpLabel
OpBranch %110
%110 = OpLabel
%117 = OpLoad %54 %106
%118 = OpISub %54 %117 %84
OpStore %106 %118
OpBranch %107
%109 = OpLabel
OpStore %119 %55
OpBranch %120
%120 = OpLabel
OpLoopMerge %122 %123 None
OpBranch %124
%124 = OpLabel
%125 = OpLoad %54 %119
%126 = OpSLessThan %20 %125 %84
OpBranchConditional %126 %121 %122
%121 = OpLabel
%127 = OpAccessChain %56 %53 %55 %37
%128 = OpLoad %6 %127
%129 = OpAccessChain %56 %53 %55 %88
%130 = OpLoad %6 %129
%131 = OpFOrdGreaterThan %20 %128 %130
OpSelectionMerge %133 None
OpBranchConditional %131 %132 %133
%132 = OpLabel
OpReturnValue %24
%133 = OpLabel
OpBranch %123
%123 = OpLabel
%135 = OpLoad %54 %119
%136 = OpIAdd %54 %135 %84
OpStore %119 %136
OpBranch %120
%122 = OpLabel
OpSelectionMerge %138 None
OpBranchConditional %21 %137 %138
%137 = OpLabel
%139 = OpAccessChain %38 %35 %37
%140 = OpLoad %6 %139
%141 = OpFOrdLessThan %20 %140 %41
OpSelectionMerge %143 None
OpBranchConditional %141 %142 %144
%142 = OpLabel
OpBranch %143
%144 = OpLabel
OpReturnValue %24
%143 = OpLabel
OpBranch %138
%138 = OpLabel
OpSelectionMerge %147 None
OpBranchConditional %26 %146 %147
%146 = OpLabel
%148 = OpAccessChain %56 %53 %55 %37
%149 = OpLoad %6 %148
%150 = OpAccessChain %56 %53 %55 %88
%151 = OpLoad %6 %150
%152 = OpFOrdGreaterThan %20 %149 %151
OpSelectionMerge %154 None
OpBranchConditional %152 %153 %154
%153 = OpLabel
OpReturnValue %24
%154 = OpLabel
OpBranch %147
%147 = OpLabel
OpBranch %101
%101 = OpLabel
OpBranch %93
%93 = OpLabel
OpBranch %81
%81 = OpLabel
%156 = OpLoad %54 %77
%157 = OpIAdd %54 %156 %84
OpStore %77 %157
OpBranch %78
%80 = OpLabel
OpBranch %74
%74 = OpLabel
OpBranch %72
%72 = OpLabel
OpBranchConditional %21 %69 %71
%71 = OpLabel
OpStore %158 %84
OpBranch %159
%159 = OpLabel
OpLoopMerge %161 %162 None
OpBranch %163
%163 = OpLabel
%164 = OpLoad %54 %158
%165 = OpINotEqual %20 %164 %55
OpBranchConditional %165 %160 %161
%160 = OpLabel
OpSelectionMerge %167 None
OpBranchConditional %21 %166 %197
%166 = OpLabel
OpStore %168 %55
OpBranch %169
%169 = OpLabel
OpLoopMerge %171 %172 None
OpBranch %173
%173 = OpLabel
%174 = OpLoad %54 %168
%175 = OpINotEqual %20 %174 %84
OpBranchConditional %175 %170 %171
%170 = OpLabel
OpStore %176 %84
OpBranch %177
%177 = OpLabel
OpLoopMerge %179 %180 None
OpBranch %181
%181 = OpLabel
%182 = OpLoad %54 %176
%183 = OpAccessChain %56 %53 %55 %37
%184 = OpLoad %6 %183
%185 = OpConvertFToS %54 %184
%186 = OpSGreaterThan %20 %182 %185
OpBranchConditional %186 %178 %179
%178 = OpLabel
%187 = OpAccessChain %38 %35 %37
%188 = OpLoad %6 %187
%189 = OpFOrdLessThan %20 %188 %41
OpSelectionMerge %191 None
OpBranchConditional %189 %190 %191
%190 = OpLabel
OpReturnValue %24
%191 = OpLabel
OpBranch %180
%180 = OpLabel
%193 = OpLoad %54 %176
%194 = OpISub %54 %193 %84
OpStore %176 %194
OpBranch %177
%179 = OpLabel
OpBranch %172
%172 = OpLabel
%195 = OpLoad %54 %168
%196 = OpIAdd %54 %195 %84
OpStore %168 %196
OpBranch %169
%171 = OpLabel
OpBranch %167
%197 = OpLabel
OpReturnValue %41
%167 = OpLabel
OpBranch %162
%162 = OpLabel
%199 = OpLoad %54 %158
%200 = OpISub %54 %199 %84
OpStore %158 %200
OpBranch %159
%161 = OpLabel
OpSelectionMerge %202 None
OpBranchConditional %21 %201 %202
%201 = OpLabel
OpSelectionMerge %204 None
OpBranchConditional %26 %203 %204
%203 = OpLabel
OpBranch %205
%205 = OpLabel
OpLoopMerge %207 %208 None
OpBranch %206
%206 = OpLabel
OpReturnValue %24
%208 = OpLabel
OpBranch %205
%207 = OpLabel
OpUnreachable
%204 = OpLabel
OpBranch %202
%202 = OpLabel
OpBranch %68
%68 = OpLabel
%210 = OpAccessChain %56 %53 %55 %37
%211 = OpLoad %6 %210
%212 = OpAccessChain %56 %53 %55 %88
%213 = OpLoad %6 %212
%214 = OpFOrdGreaterThan %20 %211 %213
OpSelectionMerge %216 None
OpBranchConditional %214 %215 %216
%215 = OpLabel
OpReturnValue %24
%216 = OpLabel
%219 = OpLoad %7 %10
%220 = OpExtInst %7 %1 FAbs %219
OpStore %218 %220
OpSelectionMerge %222 None
OpBranchConditional %21 %221 %222
%221 = OpLabel
%223 = OpAccessChain %38 %35 %37
%224 = OpLoad %6 %223
%225 = OpFOrdLessThan %20 %224 %41
OpSelectionMerge %227 None
OpBranchConditional %225 %226 %227
%226 = OpLabel
OpBranch %228
%228 = OpLabel
OpLoopMerge %230 %231 None
OpBranch %229
%229 = OpLabel
OpSelectionMerge %233 None
OpBranchConditional %21 %232 %266
%232 = OpLabel
OpSelectionMerge %235 None
OpBranchConditional %21 %234 %235
%234 = OpLabel
OpBranch %231
%235 = OpLabel
OpSelectionMerge %238 None
OpBranchConditional %21 %237 %239
%237 = OpLabel
OpBranch %238
%239 = OpLabel
OpSelectionMerge %241 None
OpBranchConditional %21 %240 %242
%240 = OpLabel
OpBranch %241
%242 = OpLabel
%243 = OpAccessChain %56 %53 %55 %37
%244 = OpLoad %6 %243
%245 = OpAccessChain %56 %53 %55 %88
%246 = OpLoad %6 %245
%247 = OpFOrdLessThan %20 %244 %246
OpSelectionMerge %249 None
OpBranchConditional %247 %248 %249
%248 = OpLabel
OpSelectionMerge %251 None
OpBranchConditional %21 %250 %251
%250 = OpLabel
OpBranch %252
%252 = OpLabel
OpLoopMerge %254 %255 None
OpBranch %253
%253 = OpLabel
OpKill
%255 = OpLabel
OpBranch %252
%254 = OpLabel
OpUnreachable
%251 = OpLabel
OpBranch %249
%249 = OpLabel
OpBranch %241
%241 = OpLabel
OpSelectionMerge %258 None
OpBranchConditional %21 %257 %258
%257 = OpLabel
OpReturnValue %24
%258 = OpLabel
OpBranch %238
%238 = OpLabel
%260 = OpAccessChain %38 %35 %88
%261 = OpLoad %6 %260
%262 = OpFOrdLessThan %20 %261 %41
OpSelectionMerge %264 None
OpBranchConditional %262 %263 %264
%263 = OpLabel
OpKill
%264 = OpLabel
OpBranch %233
%266 = OpLabel
OpBranch %267
%267 = OpLabel
OpLoopMerge %269 %270 None
OpBranch %268
%268 = OpLabel
OpSelectionMerge %272 None
OpBranchConditional %21 %271 %273
%271 = OpLabel
OpBranch %272
%273 = OpLabel
%274 = OpAccessChain %38 %35 %88
%275 = OpLoad %6 %274
%276 = OpFOrdGreaterThanEqual %20 %275 %41
OpSelectionMerge %278 None
OpBranchConditional %276 %277 %278
%277 = OpLabel
OpReturnValue %24
%278 = OpLabel
OpBranch %272
%272 = OpLabel
OpBranch %270
%270 = OpLabel
OpBranchConditional %21 %267 %269
%269 = OpLabel
OpSelectionMerge %281 None
OpBranchConditional %21 %280 %281
%280 = OpLabel
OpBranch %282
%282 = OpLabel
OpLoopMerge %284 %285 None
OpBranch %283
%283 = OpLabel
OpSelectionMerge %287 None
OpBranchConditional %26 %286 %287
%286 = OpLabel
OpReturnValue %24
%287 = OpLabel
OpBranch %285
%285 = OpLabel
OpBranchConditional %21 %282 %284
%284 = OpLabel
OpBranch %281
%281 = OpLabel
OpBranch %289
%289 = OpLabel
OpLoopMerge %291 %292 None
OpBranch %290
%290 = OpLabel
OpSelectionMerge %294 None
OpBranchConditional %21 %293 %294
%293 = OpLabel
OpReturnValue %24
%294 = OpLabel
OpBranch %292
%292 = OpLabel
OpBranchConditional %21 %289 %291
%291 = OpLabel
OpSelectionMerge %297 None
OpBranchConditional %21 %296 %298
%296 = OpLabel
OpBranch %297
%298 = OpLabel
OpSelectionMerge %300 None
OpBranchConditional %21 %299 %300
%299 = OpLabel
OpSelectionMerge %302 None
OpBranchConditional %21 %301 %303
%301 = OpLabel
OpBranch %302
%303 = OpLabel
OpReturnValue %24
%302 = OpLabel
OpBranch %300
%300 = OpLabel
OpBranch %297
%297 = OpLabel
OpBranch %233
%233 = OpLabel
OpBranch %231
%231 = OpLabel
%305 = OpAccessChain %38 %35 %37
%306 = OpLoad %6 %305
%307 = OpFOrdLessThan %20 %306 %41
OpBranchConditional %307 %228 %230
%230 = OpLabel
OpSelectionMerge %309 None
OpBranchConditional %21 %308 %309
%308 = OpLabel
OpSelectionMerge %311 None
OpBranchConditional %21 %310 %312
%310 = OpLabel
OpBranch %311
%312 = OpLabel
OpReturnValue %24
%311 = OpLabel
OpBranch %309
%309 = OpLabel
OpSelectionMerge %315 None
OpBranchConditional %21 %314 %315
%314 = OpLabel
OpReturnValue %24
%315 = OpLabel
OpBranch %227
%227 = OpLabel
%317 = OpAccessChain %56 %53 %55 %37
%318 = OpLoad %6 %317
%319 = OpAccessChain %56 %53 %55 %88
%320 = OpLoad %6 %319
%321 = OpFOrdGreaterThan %20 %318 %320
OpSelectionMerge %323 None
OpBranchConditional %321 %322 %324
%322 = OpLabel
OpBranch %323
%324 = OpLabel
%326 = OpAccessChain %56 %53 %55 %88
%327 = OpLoad %6 %326
%328 = OpConvertFToS %54 %327
OpStore %325 %328
OpBranch %329
%329 = OpLabel
OpLoopMerge %331 %332 None
OpBranch %333
%333 = OpLabel
%334 = OpLoad %54 %325
%335 = OpSGreaterThan %20 %334 %55
OpBranchConditional %335 %330 %331
%330 = OpLabel
OpBranch %336
%336 = OpLabel
OpLoopMerge %338 %339 None
OpBranch %337
%337 = OpLabel
%340 = OpAccessChain %56 %53 %55 %37
%341 = OpLoad %6 %340
%342 = OpAccessChain %56 %53 %55 %88
%343 = OpLoad %6 %342
%344 = OpFOrdGreaterThan %20 %341 %343
OpSelectionMerge %346 None
OpBranchConditional %344 %345 %353
%345 = OpLabel
%347 = OpAccessChain %38 %35 %37
%348 = OpLoad %6 %347
%349 = OpFOrdLessThan %20 %348 %41
OpSelectionMerge %351 None
OpBranchConditional %349 %350 %351
%350 = OpLabel
OpKill
%351 = OpLabel
OpBranch %346
%353 = OpLabel
%354 = OpAccessChain %38 %35 %37
%355 = OpLoad %6 %354
%356 = OpFOrdLessThan %20 %355 %41
OpSelectionMerge %358 None
OpBranchConditional %356 %357 %358
%357 = OpLabel
OpBranch %338
%358 = OpLabel
OpBranch %360
%360 = OpLabel
OpLoopMerge %362 %363 None
OpBranch %361
%361 = OpLabel
OpReturnValue %24
%363 = OpLabel
OpBranch %360
%362 = OpLabel
OpUnreachable
%346 = OpLabel
OpBranch %339
%339 = OpLabel
OpBranchConditional %21 %336 %338
%338 = OpLabel
OpBranch %332
%332 = OpLabel
%368 = OpLoad %54 %325
%369 = OpISub %54 %368 %84
OpStore %325 %369
OpBranch %329
%331 = OpLabel
%370 = OpAccessChain %38 %35 %88
%371 = OpLoad %6 %370
%372 = OpFOrdLessThan %20 %371 %41
OpSelectionMerge %374 None
OpBranchConditional %372 %373 %374
%373 = OpLabel
OpReturnValue %24
%374 = OpLabel
%376 = OpAccessChain %56 %53 %55 %37
%377 = OpLoad %6 %376
%378 = OpAccessChain %56 %53 %55 %88
%379 = OpLoad %6 %378
%380 = OpFOrdLessThan %20 %377 %379
OpSelectionMerge %382 None
OpBranchConditional %380 %381 %382
%381 = OpLabel
OpSelectionMerge %384 None
OpBranchConditional %26 %383 %472
%383 = OpLabel
OpBranch %385
%385 = OpLabel
OpLoopMerge %387 %388 None
OpBranch %386
%386 = OpLabel
OpSelectionMerge %390 None
OpBranchConditional %21 %389 %390
%389 = OpLabel
OpBranch %391
%391 = OpLabel
OpLoopMerge %393 %394 None
OpBranch %392
%392 = OpLabel
OpSelectionMerge %396 None
OpBranchConditional %21 %395 %396
%395 = OpLabel
OpStore %397 %55
OpBranch %398
%398 = OpLabel
OpLoopMerge %400 %401 None
OpBranch %402
%402 = OpLabel
%403 = OpLoad %54 %397
%404 = OpSLessThan %20 %403 %84
OpBranchConditional %404 %399 %400
%399 = OpLabel
OpReturnValue %24
%401 = OpLabel
OpBranch %398
%400 = OpLabel
OpBranch %396
%396 = OpLabel
OpBranch %394
%394 = OpLabel
OpBranchConditional %21 %391 %393
%393 = OpLabel
OpReturnValue %24
%390 = OpLabel
OpBranch %388
%388 = OpLabel
%409 = OpAccessChain %56 %53 %55 %37
%410 = OpLoad %6 %409
%411 = OpAccessChain %56 %53 %55 %88
%412 = OpLoad %6 %411
%413 = OpFOrdGreaterThan %20 %410 %412
OpBranchConditional %413 %385 %387
%387 = OpLabel
OpSelectionMerge %415 None
OpBranchConditional %21 %414 %415
%414 = OpLabel
OpReturnValue %24
%415 = OpLabel
OpBranch %417
%417 = OpLabel
OpLoopMerge %419 %420 None
OpBranch %418
%418 = OpLabel
%421 = OpAccessChain %38 %35 %37
%422 = OpLoad %6 %421
%423 = OpFOrdLessThan %20 %422 %41
OpSelectionMerge %425 None
OpBranchConditional %423 %424 %425
%424 = OpLabel
%426 = OpAccessChain %38 %35 %88
%427 = OpLoad %6 %426
%428 = OpFOrdLessThan %20 %427 %41
OpSelectionMerge %430 None
OpBranchConditional %428 %429 %431
%429 = OpLabel
OpBranch %430
%431 = OpLabel
%432 = OpAccessChain %56 %53 %55 %37
%433 = OpLoad %6 %432
%434 = OpAccessChain %56 %53 %55 %88
%435 = OpLoad %6 %434
%436 = OpFOrdLessThan %20 %433 %435
OpSelectionMerge %438 None
OpBranchConditional %436 %437 %438
%437 = OpLabel
OpBranch %439
%439 = OpLabel
OpLoopMerge %441 %442 None
OpBranch %440
%440 = OpLabel
%443 = OpAccessChain %56 %53 %55 %37
%444 = OpLoad %6 %443
%445 = OpAccessChain %56 %53 %55 %88
%446 = OpLoad %6 %445
%447 = OpFOrdGreaterThan %20 %444 %446
OpSelectionMerge %449 None
OpBranchConditional %447 %448 %449
%448 = OpLabel
OpReturnValue %24
%449 = OpLabel
OpBranch %442
%442 = OpLabel
%451 = OpAccessChain %38 %35 %37
%452 = OpLoad %6 %451
%453 = OpFOrdLessThan %20 %452 %41
OpBranchConditional %453 %439 %441
%441 = OpLabel
OpBranch %454
%454 = OpLabel
OpLoopMerge %456 %457 None
OpBranch %455
%455 = OpLabel
OpReturnValue %24
%457 = OpLabel
OpBranch %454
%456 = OpLabel
OpUnreachable
%438 = OpLabel
OpBranch %430
%430 = OpLabel
OpBranch %425
%425 = OpLabel
OpBranch %420
%420 = OpLabel
OpBranchConditional %21 %417 %419
%419 = OpLabel
OpBranch %384
%472 = OpLabel
OpSelectionMerge %474 None
OpBranchConditional %21 %473 %474
%473 = OpLabel
OpSelectionMerge %476 None
OpBranchConditional %26 %475 %476
%475 = OpLabel
OpSelectionMerge %478 None
OpBranchConditional %21 %477 %478
%477 = OpLabel
OpReturnValue %24
%478 = OpLabel
OpBranch %476
%476 = OpLabel
OpReturnValue %24
%474 = OpLabel
OpSelectionMerge %482 None
OpBranchConditional %21 %481 %482
%481 = OpLabel
OpReturnValue %24
%482 = OpLabel
OpBranch %384
%384 = OpLabel
OpBranch %382
%382 = OpLabel
OpStore %484 %84
OpBranch %485
%485 = OpLabel
OpLoopMerge %487 %488 None
OpBranch %489
%489 = OpLabel
%490 = OpLoad %54 %484
%491 = OpINotEqual %20 %490 %55
OpBranchConditional %491 %486 %487
%486 = OpLabel
OpStore %492 %55
OpBranch %493
%493 = OpLabel
OpLoopMerge %495 %496 None
OpBranch %497
%497 = OpLabel
%498 = OpLoad %54 %492
%499 = OpAccessChain %56 %53 %55 %88
%500 = OpLoad %6 %499
%501 = OpConvertFToS %54 %500
%502 = OpSLessThan %20 %498 %501
OpBranchConditional %502 %494 %495
%494 = OpLabel
%503 = OpAccessChain %56 %53 %55 %37
%504 = OpLoad %6 %503
%505 = OpAccessChain %56 %53 %55 %88
%506 = OpLoad %6 %505
%507 = OpFOrdGreaterThan %20 %504 %506
OpSelectionMerge %509 None
OpBranchConditional %507 %508 %509
%508 = OpLabel
OpSelectionMerge %511 None
OpBranchConditional %21 %510 %512
%510 = OpLabel
OpBranch %511
%512 = OpLabel
OpSelectionMerge %514 None
OpBranchConditional %21 %513 %515
%513 = OpLabel
OpBranch %514
%515 = OpLabel
OpReturnValue %24
%514 = OpLabel
OpBranch %511
%511 = OpLabel
OpBranch %509
%509 = OpLabel
OpBranch %496
%496 = OpLabel
%517 = OpLoad %54 %492
%518 = OpIAdd %54 %517 %84
OpStore %492 %518
OpBranch %493
%495 = OpLabel
OpBranch %488
%488 = OpLabel
%519 = OpLoad %54 %484
%520 = OpISub %54 %519 %84
OpStore %484 %520
OpBranch %485
%487 = OpLabel
OpBranch %323
%323 = OpLabel
OpBranch %222
%222 = OpLabel
OpBranch %521
%521 = OpLabel
OpLoopMerge %523 %524 None
OpBranch %522
%522 = OpLabel
%525 = OpAccessChain %38 %35 %37
%526 = OpLoad %6 %525
%527 = OpFOrdLessThan %20 %526 %41
OpSelectionMerge %529 None
OpBranchConditional %527 %528 %530
%528 = OpLabel
OpBranch %529
%530 = OpLabel
OpSelectionMerge %532 None
OpBranchConditional %26 %531 %532
%531 = OpLabel
OpSelectionMerge %534 None
OpBranchConditional %21 %533 %534
%533 = OpLabel
OpBranch %523
%534 = OpLabel
OpSelectionMerge %537 None
OpBranchConditional %26 %536 %537
%536 = OpLabel
%538 = OpAccessChain %56 %53 %55 %37
%539 = OpLoad %6 %538
%540 = OpAccessChain %56 %53 %55 %88
%541 = OpLoad %6 %540
%542 = OpFOrdGreaterThan %20 %539 %541
OpSelectionMerge %544 None
OpBranchConditional %542 %543 %544
%543 = OpLabel
OpReturnValue %24
%544 = OpLabel
%546 = OpAccessChain %38 %35 %88
%547 = OpLoad %6 %546
%548 = OpFOrdLessThan %20 %547 %41
OpSelectionMerge %550 None
OpBranchConditional %548 %549 %550
%549 = OpLabel
OpBranch %524
%550 = OpLabel
OpBranch %537
%537 = OpLabel
OpSelectionMerge %553 None
OpBranchConditional %21 %552 %553
%552 = OpLabel
OpBranch %523
%553 = OpLabel
OpBranch %532
%532 = OpLabel
OpBranch %529
%529 = OpLabel
OpBranch %524
%524 = OpLabel
OpBranchConditional %21 %521 %523
%523 = OpLabel
OpSelectionMerge %556 None
OpBranchConditional %21 %555 %565
%555 = OpLabel
%557 = OpAccessChain %56 %53 %55 %37
%558 = OpLoad %6 %557
%559 = OpAccessChain %56 %53 %55 %88
%560 = OpLoad %6 %559
%561 = OpFOrdGreaterThan %20 %558 %560
OpSelectionMerge %563 None
OpBranchConditional %561 %562 %563
%562 = OpLabel
OpReturnValue %24
%563 = OpLabel
OpBranch %556
%565 = OpLabel
%566 = OpAccessChain %38 %35 %37
%567 = OpLoad %6 %566
%568 = OpFOrdGreaterThanEqual %20 %567 %41
OpSelectionMerge %570 None
OpBranchConditional %568 %569 %1953
%569 = OpLabel
OpSelectionMerge %572 None
OpBranchConditional %21 %571 %572
%571 = OpLabel
OpBranch %573
%573 = OpLabel
OpLoopMerge %575 %576 None
OpBranch %574
%574 = OpLabel
OpReturnValue %24
%576 = OpLabel
OpBranch %573
%575 = OpLabel
OpUnreachable
%572 = OpLabel
OpSelectionMerge %579 None
OpBranchConditional %21 %578 %579
%578 = OpLabel
OpReturnValue %24
%579 = OpLabel
OpSelectionMerge %582 None
OpBranchConditional %21 %581 %583
%581 = OpLabel
OpBranch %582
%583 = OpLabel
OpStore %584 %55
OpBranch %585
%585 = OpLabel
OpLoopMerge %587 %588 None
OpBranch %589
%589 = OpLabel
%590 = OpLoad %54 %584
%591 = OpINotEqual %20 %590 %84
OpBranchConditional %591 %586 %587
%586 = OpLabel
%592 = OpAccessChain %38 %35 %88
%593 = OpLoad %6 %592
%594 = OpFOrdLessThan %20 %593 %41
OpSelectionMerge %596 None
OpBranchConditional %594 %595 %596
%595 = OpLabel
OpBranch %587
%596 = OpLabel
OpStore %598 %55
OpBranch %599
%599 = OpLabel
OpLoopMerge %601 %602 None
OpBranch %603
%603 = OpLabel
%604 = OpLoad %54 %598
%605 = OpINotEqual %20 %604 %84
OpBranchConditional %605 %600 %601
%600 = OpLabel
%606 = OpAccessChain %38 %35 %37
%607 = OpLoad %6 %606
%608 = OpFOrdLessThan %20 %607 %41
OpSelectionMerge %610 None
OpBranchConditional %608 %609 %610
%609 = OpLabel
%611 = OpAccessChain %38 %35 %37
%612 = OpLoad %6 %611
%613 = OpFOrdLessThan %20 %612 %41
OpSelectionMerge %615 None
OpBranchConditional %613 %614 %615
%614 = OpLabel
OpKill
%615 = OpLabel
OpReturnValue %24
%610 = OpLabel
OpBranch %602
%602 = OpLabel
%618 = OpLoad %54 %598
%619 = OpIAdd %54 %618 %84
OpStore %598 %619
OpBranch %599
%601 = OpLabel
OpBranch %588
%588 = OpLabel
%620 = OpLoad %54 %584
%621 = OpIAdd %54 %620 %84
OpStore %584 %621
OpBranch %585
%587 = OpLabel
OpBranch %582
%582 = OpLabel
OpStore %622 %55
OpBranch %623
%623 = OpLabel
OpLoopMerge %625 %626 None
OpBranch %627
%627 = OpLabel
%628 = OpLoad %54 %622
%629 = OpAccessChain %56 %53 %55 %88
%630 = OpLoad %6 %629
%631 = OpConvertFToS %54 %630
%632 = OpINotEqual %20 %628 %631
OpBranchConditional %632 %624 %625
%624 = OpLabel
%634 = OpAccessChain %56 %53 %55 %37
%635 = OpLoad %6 %634
%636 = OpConvertFToS %54 %635
OpStore %633 %636
OpBranch %637
%637 = OpLabel
OpLoopMerge %639 %640 None
OpBranch %641
%641 = OpLabel
%642 = OpLoad %54 %633
%643 = OpINotEqual %20 %642 %84
OpBranchConditional %643 %638 %639
%638 = OpLabel
OpSelectionMerge %645 None
OpBranchConditional %21 %644 %664
%644 = OpLabel
%646 = OpAccessChain %38 %35 %37
%647 = OpLoad %6 %646
%648 = OpFOrdLessThan %20 %647 %41
OpSelectionMerge %650 None
OpBranchConditional %648 %649 %650
%649 = OpLabel
OpReturnValue %24
%650 = OpLabel
%652 = OpLogicalNot %20 %21
OpSelectionMerge %654 None
OpBranchConditional %652 %653 %654
%653 = OpLabel
%655 = OpAccessChain %56 %53 %55 %37
%656 = OpLoad %6 %655
%657 = OpAccessChain %56 %53 %55 %88
%658 = OpLoad %6 %657
%659 = OpFOrdGreaterThan %20 %656 %658
OpBranch %654
%654 = OpLabel
%660 = OpPhi %20 %21 %650 %659 %653
OpSelectionMerge %662 None
OpBranchConditional %660 %661 %662
%661 = OpLabel
OpBranch %639
%662 = OpLabel
OpBranch %645
%664 = OpLabel
%665 = OpAccessChain %38 %35 %88
%666 = OpLoad %6 %665
%667 = OpAccessChain %56 %53 %55 %37
%668 = OpLoad %6 %667
%669 = OpFOrdLessThan %20 %666 %668
OpSelectionMerge %671 None
OpBranchConditional %669 %670 %672
%670 = OpLabel
OpBranch %671
%672 = OpLabel
%673 = OpAccessChain %38 %35 %88
%674 = OpLoad %6 %673
%675 = OpFOrdLessThan %20 %674 %41
OpSelectionMerge %677 None
OpBranchConditional %675 %676 %677
%676 = OpLabel
OpSelectionMerge %679 None
OpBranchConditional %21 %678 %679
%678 = OpLabel
OpBranch %640
%679 = OpLabel
OpBranch %681
%681 = OpLabel
OpLoopMerge %683 %684 None
OpBranch %682
%682 = OpLabel
%685 = OpAccessChain %38 %35 %37
%686 = OpLoad %6 %685
%687 = OpFOrdLessThan %20 %686 %41
OpSelectionMerge %689 None
OpBranchConditional %687 %688 %689
%688 = OpLabel
OpSelectionMerge %691 None
OpBranchConditional %21 %690 %691
%690 = OpLabel
OpKill
%691 = OpLabel
OpBranch %683
%689 = OpLabel
OpKill
%684 = OpLabel
OpBranch %681
%683 = OpLabel
OpBranch %677
%677 = OpLabel
%695 = OpAccessChain %38 %35 %37
%696 = OpLoad %6 %695
%697 = OpFOrdLessThan %20 %696 %41
OpSelectionMerge %699 None
OpBranchConditional %697 %698 %699
%698 = OpLabel
OpBranch %639
%699 = OpLabel
OpBranch %671
%671 = OpLabel
%701 = OpAccessChain %56 %53 %55 %37
%702 = OpLoad %6 %701
%703 = OpAccessChain %56 %53 %55 %88
%704 = OpLoad %6 %703
%705 = OpFOrdGreaterThan %20 %702 %704
OpSelectionMerge %707 None
OpBranchConditional %705 %706 %865
%706 = OpLabel
OpSelectionMerge %709 None
OpBranchConditional %21 %708 %709
%708 = OpLabel
OpSelectionMerge %711 None
OpBranchConditional %21 %710 %711
%710 = OpLabel
OpBranch %640
%711 = OpLabel
OpBranch %713
%713 = OpLabel
OpLoopMerge %715 %716 None
OpBranch %714
%714 = OpLabel
OpStore %717 %84
OpBranch %718
%718 = OpLabel
OpLoopMerge %720 %721 None
OpBranch %722
%722 = OpLabel
%723 = OpLoad %54 %717
%724 = OpSGreaterThan %20 %723 %55
OpBranchConditional %724 %719 %720
%719 = OpLabel
%726 = OpAccessChain %56 %53 %55 %37
%727 = OpLoad %6 %726
%728 = OpConvertFToS %54 %727
OpStore %725 %728
OpBranch %729
%729 = OpLabel
OpLoopMerge %731 %732 None
OpBranch %733
%733 = OpLabel
%734 = OpLoad %54 %725
%737 = OpAccessChain %56 %53 %55 %37
%738 = OpLoad %6 %737
%739 = OpConvertFToS %54 %738
%741 = OpCompositeConstruct %740 %736 %84 %739 %55
%743 = OpBitwiseOr %740 %741 %742
%744 = OpCompositeExtract %54 %743 0
%745 = OpShiftRightArithmetic %54 %735 %744
%746 = OpINotEqual %20 %734 %745
OpBranchConditional %746 %730 %731
%730 = OpLabel
%747 = OpAccessChain %56 %53 %55 %37
%748 = OpLoad %6 %747
%749 = OpAccessChain %56 %53 %55 %88
%750 = OpLoad %6 %749
%751 = OpFOrdGreaterThan %20 %748 %750
OpSelectionMerge %753 None
OpBranchConditional %751 %752 %753
%752 = OpLabel
OpBranch %732
%753 = OpLabel
%755 = OpAccessChain %38 %35 %37
%756 = OpLoad %6 %755
%757 = OpFOrdLessThan %20 %756 %41
OpSelectionMerge %759 None
OpBranchConditional %757 %758 %759
%758 = OpLabel
OpBranch %732
%759 = OpLabel
%761 = OpAccessChain %38 %35 %37
%762 = OpLoad %6 %761
%763 = OpFOrdLessThan %20 %762 %41
OpSelectionMerge %765 None
OpBranchConditional %763 %764 %766
%764 = OpLabel
OpBranch %765
%766 = OpLabel
OpSelectionMerge %768 None
OpBranchConditional %26 %767 %768
%767 = OpLabel
OpKill
%768 = OpLabel
%776 = OpAccessChain %56 %53 %55 %37
%777 = OpLoad %6 %776
%778 = OpAccessChain %56 %53 %55 %88
%779 = OpLoad %6 %778
%780 = OpFOrdGreaterThan %20 %777 %779
OpSelectionMerge %782 None
OpBranchConditional %780 %781 %782
%781 = OpLabel
OpBranch %731
%782 = OpLabel
OpSelectionMerge %785 None
OpBranchConditional %26 %784 %785
%784 = OpLabel
OpSelectionMerge %787 None
OpBranchConditional %21 %786 %787
%786 = OpLabel
OpReturnValue %24
%787 = OpLabel
OpBranch %785
%785 = OpLabel
OpBranch %765
%765 = OpLabel
OpSelectionMerge %790 None
OpBranchConditional %21 %789 %791
%789 = OpLabel
OpBranch %790
%791 = OpLabel
%792 = OpAccessChain %56 %53 %55 %37
%793 = OpLoad %6 %792
%794 = OpAccessChain %56 %53 %55 %88
%795 = OpLoad %6 %794
%796 = OpFOrdGreaterThan %20 %793 %795
OpSelectionMerge %798 None
OpBranchConditional %796 %797 %798
%797 = OpLabel
OpReturnValue %24
%798 = OpLabel
OpBranch %790
%790 = OpLabel
OpBranch %732
%732 = OpLabel
%800 = OpLoad %54 %725
%801 = OpIAdd %54 %800 %84
OpStore %725 %801
OpBranch %729
%731 = OpLabel
OpBranch %721
%721 = OpLabel
%802 = OpLoad %54 %717
%803 = OpISub %54 %802 %84
OpStore %717 %803
OpBranch %718
%720 = OpLabel
OpBranch %716
%716 = OpLabel
OpBranchConditional %21 %713 %715
%715 = OpLabel
%804 = OpAccessChain %38 %35 %37
%805 = OpLoad %6 %804
%806 = OpFOrdLessThan %20 %805 %41
OpSelectionMerge %808 None
OpBranchConditional %806 %807 %808
%807 = OpLabel
%809 = OpAccessChain %38 %35 %37
%810 = OpLoad %6 %809
%811 = OpFOrdGreaterThanEqual %20 %810 %41
OpSelectionMerge %813 None
OpBranchConditional %811 %812 %813
%812 = OpLabel
OpKill
%813 = OpLabel
OpBranch %808
%808 = OpLabel
%815 = OpAccessChain %38 %35 %88
%816 = OpLoad %6 %815
%817 = OpFOrdLessThan %20 %816 %41
OpSelectionMerge %819 None
OpBranchConditional %817 %818 %819
%818 = OpLabel
OpSelectionMerge %821 None
OpBranchConditional %21 %820 %821
%820 = OpLabel
OpReturnValue %24
%821 = OpLabel
OpBranch %639
%819 = OpLabel
OpBranch %709
%709 = OpLabel
%824 = OpAccessChain %38 %35 %37
%825 = OpLoad %6 %824
%826 = OpFOrdLessThan %20 %825 %41
OpSelectionMerge %828 None
OpBranchConditional %826 %827 %828
%827 = OpLabel
OpBranch %639
%828 = OpLabel
OpSelectionMerge %831 None
OpBranchConditional %26 %830 %831
%830 = OpLabel
%832 = OpAccessChain %38 %35 %88
%833 = OpLoad %6 %832
%834 = OpFOrdGreaterThanEqual %20 %833 %41
OpSelectionMerge %836 None
OpBranchConditional %834 %835 %858
%835 = OpLabel
OpSelectionMerge %838 None
OpBranchConditional %21 %837 %839
%837 = OpLabel
OpBranch %838
%839 = OpLabel
OpSelectionMerge %841 None
OpBranchConditional %21 %840 %841
%840 = OpLabel
OpBranch %842
%842 = OpLabel
OpLoopMerge %844 %845 None
OpBranch %843
%843 = OpLabel
OpSelectionMerge %847 None
OpBranchConditional %21 %846 %848
%846 = OpLabel
OpBranch %847
%848 = OpLabel
OpKill
%847 = OpLabel
OpBranch %845
%845 = OpLabel
%850 = OpAccessChain %38 %35 %88
%851 = OpLoad %6 %850
%852 = OpAccessChain %56 %53 %55 %37
%853 = OpLoad %6 %852
%854 = OpFOrdLessThan %20 %851 %853
OpBranchConditional %854 %842 %844
%844 = OpLabel
OpSelectionMerge %856 None
OpBranchConditional %21 %855 %856
%855 = OpLabel
OpKill
%856 = OpLabel
OpBranch %841
%841 = OpLabel
OpBranch %838
%838 = OpLabel
OpBranch %836
%858 = OpLabel
%859 = OpAccessChain %38 %35 %37
%860 = OpLoad %6 %859
%861 = OpFOrdLessThan %20 %860 %41
OpSelectionMerge %863 None
OpBranchConditional %861 %862 %863
%862 = OpLabel
OpBranch %639
%863 = OpLabel
OpBranch %836
%836 = OpLabel
OpBranch %831
%831 = OpLabel
OpBranch %707
%865 = OpLabel
%866 = OpAccessChain %17 %218 %88
%867 = OpLoad %6 %866
%868 = OpAccessChain %17 %218 %37
%869 = OpLoad %6 %868
%870 = OpFOrdGreaterThan %20 %867 %869
OpSelectionMerge %872 None
OpBranchConditional %870 %871 %986
%871 = OpLabel
OpSelectionMerge %874 None
OpBranchConditional %21 %873 %875
%873 = OpLabel
OpBranch %874
%875 = OpLabel
OpSelectionMerge %877 None
OpBranchConditional %21 %876 %877
%876 = OpLabel
%878 = OpAccessChain %38 %35 %37
%879 = OpLoad %6 %878
%880 = OpFOrdGreaterThanEqual %20 %879 %41
OpSelectionMerge %882 None
OpBranchConditional %880 %881 %891
%881 = OpLabel
OpBranch %883
%883 = OpLabel
OpLoopMerge %885 %886 None
OpBranch %884
%884 = OpLabel
OpSelectionMerge %888 None
OpBranchConditional %21 %887 %888
%887 = OpLabel
OpReturnValue %24
%888 = OpLabel
OpBranch %886
%886 = OpLabel
OpBranchConditional %21 %883 %885
%885 = OpLabel
OpReturnValue %24
%891 = OpLabel
OpSelectionMerge %893 None
OpBranchConditional %21 %892 %893
%892 = OpLabel
OpBranch %640
%893 = OpLabel
OpSelectionMerge %896 None
OpBranchConditional %21 %895 %896
%895 = OpLabel
OpBranch %639
%896 = OpLabel
OpBranch %882
%882 = OpLabel
OpBranch %877
%877 = OpLabel
OpBranch %874
%874 = OpLabel
%898 = OpAccessChain %38 %35 %88
%899 = OpLoad %6 %898
%900 = OpFOrdLessThan %20 %899 %41
OpSelectionMerge %902 None
OpBranchConditional %900 %901 %902
%901 = OpLabel
OpBranch %639
%902 = OpLabel
%904 = OpAccessChain %56 %53 %55 %37
%905 = OpLoad %6 %904
%906 = OpAccessChain %56 %53 %55 %88
%907 = OpLoad %6 %906
%908 = OpFOrdLessThan %20 %905 %907
OpSelectionMerge %910 None
OpBranchConditional %908 %909 %910
%909 = OpLabel
OpSelectionMerge %912 None
OpBranchConditional %21 %911 %912
%911 = OpLabel
OpKill
%912 = OpLabel
OpSelectionMerge %915 None
OpBranchConditional %26 %914 %915
%914 = OpLabel
OpSelectionMerge %917 None
OpBranchConditional %21 %916 %918
%916 = OpLabel
OpBranch %917
%918 = OpLabel
OpBranch %919
%919 = OpLabel
OpLoopMerge %921 %922 None
OpBranch %920
%920 = OpLabel
OpSelectionMerge %924 None
OpBranchConditional %21 %923 %924
%923 = OpLabel
OpSelectionMerge %926 None
OpBranchConditional %21 %925 %926
%925 = OpLabel
OpReturnValue %24
%926 = OpLabel
OpBranch %922
%924 = OpLabel
OpBranch %929
%929 = OpLabel
OpLoopMerge %931 %932 None
OpBranch %930
%930 = OpLabel
OpStore %933 %55
OpBranch %934
%934 = OpLabel
OpLoopMerge %936 %937 None
OpBranch %938
%938 = OpLabel
%939 = OpLoad %54 %933
%940 = OpINotEqual %20 %939 %84
OpBranchConditional %940 %935 %936
%935 = OpLabel
OpSelectionMerge %942 None
OpBranchConditional %21 %941 %942
%941 = OpLabel
OpReturnValue %24
%942 = OpLabel
%945 = OpAccessChain %17 %218 %37
%946 = OpLoad %6 %945
%947 = OpAccessChain %17 %218 %88
%948 = OpLoad %6 %947
%949 = OpFDiv %6 %946 %948
OpStore %944 %949
OpBranch %937
%937 = OpLabel
%950 = OpLoad %54 %933
%951 = OpIAdd %54 %950 %84
OpStore %933 %951
OpBranch %934
%936 = OpLabel
OpBranch %932
%932 = OpLabel
%952 = OpAccessChain %38 %35 %37
%953 = OpLoad %6 %952
%954 = OpFOrdLessThan %20 %953 %41
OpBranchConditional %954 %929 %931
%931 = OpLabel
%955 = OpAccessChain %38 %35 %37
%956 = OpLoad %6 %955
%957 = OpFOrdLessThan %20 %956 %41
OpSelectionMerge %959 None
OpBranchConditional %957 %958 %959
%958 = OpLabel
OpSelectionMerge %961 None
OpBranchConditional %21 %960 %961
%960 = OpLabel
OpStore %962 %84
OpBranch %963
%963 = OpLabel
OpLoopMerge %965 %966 None
OpBranch %967
%967 = OpLabel
%968 = OpLoad %54 %962
%969 = OpSGreaterThan %20 %968 %55
OpBranchConditional %969 %964 %965
%964 = OpLabel
OpKill
%966 = OpLabel
OpBranch %963
%965 = OpLabel
OpBranch %961
%961 = OpLabel
OpKill
%959 = OpLabel
OpSelectionMerge %975 None
OpBranchConditional %21 %974 %975
%974 = OpLabel
OpBranch %922
%975 = OpLabel
OpBranch %922
%922 = OpLabel
OpBranchConditional %21 %919 %921
%921 = OpLabel
%977 = OpAccessChain %38 %35 %88
%978 = OpLoad %6 %977
%979 = OpFOrdLessThan %20 %978 %41
OpSelectionMerge %981 None
OpBranchConditional %979 %980 %981
%980 = OpLabel
OpBranch %639
%981 = OpLabel
OpBranch %917
%917 = OpLabel
OpBranch %915
%915 = OpLabel
OpBranch %910
%910 = OpLabel
OpSelectionMerge %984 None
OpBranchConditional %21 %983 %984
%983 = OpLabel
OpBranch %640
%984 = OpLabel
OpBranch %872
%986 = OpLabel
OpSelectionMerge %988 None
OpBranchConditional %21 %987 %988
%987 = OpLabel
OpBranch %640
%988 = OpLabel
OpSelectionMerge %991 None
OpBranchConditional %21 %990 %991
%990 = OpLabel
OpBranch %640
%991 = OpLabel
OpSelectionMerge %994 None
OpBranchConditional %21 %993 %994
%993 = OpLabel
%995 = OpAccessChain %38 %35 %88
%996 = OpLoad %6 %995
%997 = OpAccessChain %56 %53 %55 %37
%998 = OpLoad %6 %997
%999 = OpFOrdLessThan %20 %996 %998
OpSelectionMerge %1001 None
OpBranchConditional %999 %1000 %1002
%1000 = OpLabel
OpBranch %1001
%1002 = OpLabel
OpSelectionMerge %1004 None
OpBranchConditional %21 %1003 %1005
%1003 = OpLabel
OpBranch %1004
%1005 = OpLabel
OpStore %1006 %55
OpBranch %1007
%1007 = OpLabel
OpLoopMerge %1009 %1010 None
OpBranch %1011
%1011 = OpLabel
%1012 = OpLoad %54 %1006
%1013 = OpAccessChain %56 %53 %55 %88
%1014 = OpLoad %6 %1013
%1015 = OpConvertFToS %54 %1014
%1016 = OpINotEqual %20 %1012 %1015
OpBranchConditional %1016 %1008 %1009
%1008 = OpLabel
OpSelectionMerge %1018 None
OpBranchConditional %21 %1017 %1018
%1017 = OpLabel
OpKill
%1018 = OpLabel
OpBranch %1010
%1010 = OpLabel
%1020 = OpLoad %54 %1006
%1021 = OpIAdd %54 %1020 %84
OpStore %1006 %1021
OpBranch %1007
%1009 = OpLabel
OpBranch %1004
%1004 = OpLabel
OpBranch %1001
%1001 = OpLabel
OpBranch %639
%994 = OpLabel
%1023 = OpAccessChain %38 %35 %37
%1024 = OpLoad %6 %1023
%1025 = OpFOrdLessThan %20 %1024 %41
OpSelectionMerge %1027 None
OpBranchConditional %1025 %1026 %1027
%1026 = OpLabel
OpBranch %640
%1027 = OpLabel
%1029 = OpAccessChain %38 %35 %37
%1030 = OpLoad %6 %1029
%1031 = OpAccessChain %56 %53 %55 %37
%1032 = OpLoad %6 %1031
%1034 = OpCompositeConstruct %33 %41 %41 %41 %41
%1035 = OpCompositeConstruct %33 %24 %41 %41 %41
%1036 = OpCompositeConstruct %33 %24 %1032 %41 %41
%1037 = OpCompositeConstruct %33 %41 %41 %24 %41
%1038 = OpCompositeConstruct %1033 %1034 %1035 %1036 %1037
%1039 = OpExtInst %6 %1 Determinant %1038
%1040 = OpFOrdLessThan %20 %1030 %1039
OpSelectionMerge %1042 None
OpBranchConditional %1040 %1041 %1042
%1041 = OpLabel
OpKill
%1042 = OpLabel
%1044 = OpAccessChain %38 %35 %37
%1045 = OpLoad %6 %1044
%1046 = OpFOrdLessThan %20 %1045 %41
OpSelectionMerge %1048 None
OpBranchConditional %1046 %1047 %1049
%1047 = OpLabel
OpBranch %1048
%1049 = OpLabel
OpSelectionMerge %1051 None
OpBranchConditional %21 %1050 %1051
%1050 = OpLabel
OpBranch %640
%1051 = OpLabel
OpSelectionMerge %1054 None
OpBranchConditional %26 %1053 %1054
%1053 = OpLabel
OpSelectionMerge %1056 None
OpBranchConditional %26 %1055 %1056
%1055 = OpLabel
OpSelectionMerge %1058 None
OpBranchConditional %21 %1057 %1058
%1057 = OpLabel
OpBranch %1059
%1059 = OpLabel
OpLoopMerge %1061 %1062 None
OpBranch %1060
%1060 = OpLabel
OpSelectionMerge %1064 None
OpBranchConditional %21 %1063 %1064
%1063 = OpLabel
OpBranch %1061
%1064 = OpLabel
OpBranch %1066
%1066 = OpLabel
OpLoopMerge %1068 %1069 None
OpBranch %1067
%1067 = OpLabel
OpStore %1070 %55
OpBranch %1071
%1071 = OpLabel
OpLoopMerge %1073 %1074 None
OpBranch %1075
%1075 = OpLabel
%1076 = OpLoad %54 %1070
%1077 = OpINotEqual %20 %1076 %84
OpBranchConditional %1077 %1072 %1073
%1072 = OpLabel
OpKill
%1074 = OpLabel
OpBranch %1071
%1073 = OpLabel
OpBranch %1069
%1069 = OpLabel
%1081 = OpAccessChain %38 %35 %37
%1082 = OpLoad %6 %1081
%1083 = OpFOrdLessThan %20 %1082 %41
OpBranchConditional %1083 %1066 %1068
%1068 = OpLabel
OpBranch %1062
%1062 = OpLabel
%1084 = OpAccessChain %38 %35 %88
%1085 = OpLoad %6 %1084
%1086 = OpFOrdLessThan %20 %1085 %41
OpBranchConditional %1086 %1059 %1061
%1061 = OpLabel
OpBranch %1058
%1058 = OpLabel
OpBranch %1056
%1056 = OpLabel
%1087 = OpAccessChain %56 %53 %55 %37
%1088 = OpLoad %6 %1087
%1089 = OpAccessChain %56 %53 %55 %88
%1090 = OpLoad %6 %1089
%1091 = OpFOrdGreaterThan %20 %1088 %1090
OpSelectionMerge %1093 None
OpBranchConditional %1091 %1092 %1093
%1092 = OpLabel
OpSelectionMerge %1095 None
OpBranchConditional %21 %1094 %1095
%1094 = OpLabel
OpBranch %640
%1095 = OpLabel
%1097 = OpAccessChain %38 %35 %88
%1098 = OpLoad %6 %1097
%1099 = OpFOrdLessThan %20 %1098 %41
OpSelectionMerge %1101 None
OpBranchConditional %1099 %1100 %1101
%1100 = OpLabel
OpBranch %639
%1101 = OpLabel
OpBranch %640
%1093 = OpLabel
OpBranch %1104
%1104 = OpLabel
OpLoopMerge %1106 %1107 None
OpBranch %1105
%1105 = OpLabel
%1108 = OpAccessChain %38 %35 %37
%1109 = OpLoad %6 %1108
%1110 = OpFOrdLessThan %20 %1109 %41
OpSelectionMerge %1112 None
OpBranchConditional %1110 %1111 %1113
%1111 = OpLabel
OpBranch %1112
%1113 = OpLabel
OpStore %1114 %55
OpBranch %1115
%1115 = OpLabel
OpLoopMerge %1117 %1118 None
OpBranch %1119
%1119 = OpLabel
%1120 = OpLoad %54 %1114
%1121 = OpINotEqual %20 %1120 %84
OpBranchConditional %1121 %1116 %1117
%1116 = OpLabel
OpSelectionMerge %1123 None
OpBranchConditional %21 %1122 %1123
%1122 = OpLabel
OpSelectionMerge %1125 None
OpBranchConditional %21 %1124 %1125
%1124 = OpLabel
OpStore %1126 %55
OpBranch %1127
%1127 = OpLabel
OpLoopMerge %1129 %1130 None
OpBranch %1131
%1131 = OpLabel
%1132 = OpLoad %54 %1126
%1133 = OpSLessThan %20 %1132 %84
OpBranchConditional %1133 %1128 %1129
%1128 = OpLabel
OpReturnValue %24
%1130 = OpLabel
OpBranch %1127
%1129 = OpLabel
OpBranch %1125
%1125 = OpLabel
OpSelectionMerge %1138 None
OpBranchConditional %21 %1137 %1138
%1137 = OpLabel
OpBranch %1118
%1138 = OpLabel
OpKill
%1123 = OpLabel
OpBranch %1118
%1118 = OpLabel
%1154 = OpLoad %54 %1114
%1155 = OpIAdd %54 %1154 %84
OpStore %1114 %1155
OpBranch %1115
%1117 = OpLabel
OpBranch %1112
%1112 = OpLabel
OpBranch %1107
%1107 = OpLabel
%1156 = OpAccessChain %56 %53 %55 %37
%1157 = OpLoad %6 %1156
%1158 = OpAccessChain %56 %53 %55 %88
%1159 = OpLoad %6 %1158
%1160 = OpFOrdGreaterThan %20 %1157 %1159
OpBranchConditional %1160 %1104 %1106
%1106 = OpLabel
%1161 = OpAccessChain %38 %35 %88
%1162 = OpLoad %6 %1161
%1163 = OpFOrdLessThan %20 %1162 %41
OpSelectionMerge %1165 None
OpBranchConditional %1163 %1164 %1440
%1164 = OpLabel
OpSelectionMerge %1167 None
OpBranchConditional %26 %1166 %1167
%1166 = OpLabel
%1168 = OpAccessChain %38 %35 %37
%1169 = OpLoad %6 %1168
%1170 = OpFOrdGreaterThanEqual %20 %1169 %41
%1172 = OpCompositeConstruct %1171 %1170 %26 %26 %21
%1173 = OpCompositeExtract %20 %1172 0
OpBranch %1167
%1167 = OpLabel
%1174 = OpPhi %20 %26 %1164 %1173 %1166
OpSelectionMerge %1176 None
OpBranchConditional %1174 %1175 %1287
%1175 = OpLabel
OpSelectionMerge %1178 None
OpBranchConditional %21 %1177 %1178
%1177 = OpLabel
%1179 = OpAccessChain %38 %35 %37
%1180 = OpLoad %6 %1179
%1181 = OpFOrdLessThan %20 %1180 %41
OpSelectionMerge %1183 None
OpBranchConditional %1181 %1182 %1183
%1182 = OpLabel
OpBranch %639
%1183 = OpLabel
OpBranch %639
%1178 = OpLabel
%1186 = OpAccessChain %38 %35 %37
%1187 = OpLoad %6 %1186
%1188 = OpFOrdLessThan %20 %1187 %41
OpSelectionMerge %1190 None
OpBranchConditional %1188 %1189 %1190
%1189 = OpLabel
OpKill
%1190 = OpLabel
%1192 = OpAccessChain %38 %35 %37
%1193 = OpLoad %6 %1192
%1194 = OpFOrdGreaterThanEqual %20 %1193 %41
%1195 = OpLogicalAnd %20 %1194 %21
OpSelectionMerge %1197 None
OpBranchConditional %1195 %1196 %1197
%1196 = OpLabel
OpBranch %639
%1197 = OpLabel
%1199 = OpAccessChain %56 %53 %55 %37
%1200 = OpLoad %6 %1199
%1201 = OpAccessChain %56 %53 %55 %88
%1202 = OpLoad %6 %1201
%1203 = OpFOrdGreaterThan %20 %1200 %1202
%1204 = OpLogicalAnd %20 %1203 %26
OpSelectionMerge %1206 None
OpBranchConditional %1204 %1205 %1207
%1205 = OpLabel
OpBranch %1206
%1207 = OpLabel
%1208 = OpAccessChain %38 %35 %37
%1209 = OpLoad %6 %1208
%1210 = OpFOrdLessThan %20 %1209 %41
OpSelectionMerge %1212 None
OpBranchConditional %1210 %1211 %1212
%1211 = OpLabel
OpSelectionMerge %1214 None
OpBranchConditional %26 %1213 %1214
%1213 = OpLabel
%1215 = OpAccessChain %56 %53 %55 %37
%1216 = OpLoad %6 %1215
%1217 = OpAccessChain %56 %53 %55 %88
%1218 = OpLoad %6 %1217
%1219 = OpFOrdGreaterThan %20 %1216 %1218
OpSelectionMerge %1221 None
OpBranchConditional %1219 %1220 %1221
%1220 = OpLabel
OpReturnValue %24
%1221 = OpLabel
OpBranch %1223
%1223 = OpLabel
OpLoopMerge %1225 %1226 None
OpBranch %1224
%1224 = OpLabel
OpReturnValue %24
%1226 = OpLabel
OpBranch %1223
%1225 = OpLabel
OpUnreachable
%1214 = OpLabel
%1249 = OpAccessChain %56 %53 %55 %37
%1250 = OpLoad %6 %1249
%1251 = OpAccessChain %56 %53 %55 %88
%1252 = OpLoad %6 %1251
%1253 = OpFOrdGreaterThan %20 %1250 %1252
OpSelectionMerge %1255 None
OpBranchConditional %1253 %1254 %1255
%1254 = OpLabel
%1256 = OpAccessChain %38 %35 %37
%1257 = OpLoad %6 %1256
%1258 = OpFOrdLessThan %20 %1257 %41
OpSelectionMerge %1260 None
OpBranchConditional %1258 %1259 %1260
%1259 = OpLabel
OpReturnValue %24
%1260 = OpLabel
%1262 = OpAccessChain %56 %53 %55 %37
%1263 = OpLoad %6 %1262
%1264 = OpAccessChain %56 %53 %55 %88
%1265 = OpLoad %6 %1264
%1266 = OpFOrdLessThan %20 %1263 %1265
OpSelectionMerge %1268 None
OpBranchConditional %1266 %1267 %1268
%1267 = OpLabel
OpReturnValue %24
%1268 = OpLabel
OpBranch %1255
%1255 = OpLabel
OpBranch %1270
%1270 = OpLabel
OpLoopMerge %1272 %1273 None
OpBranch %1271
%1271 = OpLabel
OpSelectionMerge %1275 None
OpBranchConditional %21 %1274 %1275
%1274 = OpLabel
OpBranch %1276
%1276 = OpLabel
OpLoopMerge %1278 %1279 None
OpBranch %1277
%1277 = OpLabel
OpSelectionMerge %1281 None
OpBranchConditional %21 %1280 %1282
%1280 = OpLabel
OpBranch %1281
%1282 = OpLabel
OpKill
%1281 = OpLabel
OpSelectionMerge %1285 None
OpBranchConditional %21 %1284 %1285
%1284 = OpLabel
OpBranch %1278
%1285 = OpLabel
OpBranch %1279
%1279 = OpLabel
OpBranchConditional %21 %1276 %1278
%1278 = OpLabel
OpBranch %1275
%1275 = OpLabel
OpBranch %1273
%1273 = OpLabel
OpBranchConditional %21 %1270 %1272
%1272 = OpLabel
OpBranch %1212
%1212 = OpLabel
OpBranch %1206
%1206 = OpLabel
OpBranch %1176
%1287 = OpLabel
OpSelectionMerge %1289 None
OpBranchConditional %21 %1288 %1289
%1288 = OpLabel
OpKill
%1289 = OpLabel
OpBranch %1176
%1176 = OpLabel
OpSelectionMerge %1292 None
OpBranchConditional %21 %1291 %1292
%1291 = OpLabel
OpBranch %639
%1292 = OpLabel
OpSelectionMerge %1295 None
OpBranchConditional %21 %1294 %1295
%1294 = OpLabel
OpStore %1296 %84
OpBranch %1297
%1297 = OpLabel
OpLoopMerge %1299 %1300 None
OpBranch %1301
%1301 = OpLabel
%1302 = OpLoad %54 %1296
%1303 = OpINotEqual %20 %1302 %55
OpBranchConditional %1303 %1298 %1299
%1298 = OpLabel
OpSelectionMerge %1305 None
OpBranchConditional %21 %1304 %1305
%1304 = OpLabel
OpKill
%1305 = OpLabel
OpBranch %1300
%1300 = OpLabel
%1307 = OpLoad %54 %1296
%1308 = OpISub %54 %1307 %84
OpStore %1296 %1308
OpBranch %1297
%1299 = OpLabel
OpBranch %640
%1295 = OpLabel
OpSelectionMerge %1311 None
OpBranchConditional %21 %1310 %1311
%1310 = OpLabel
%1312 = OpAccessChain %56 %53 %55 %37
%1313 = OpLoad %6 %1312
%1314 = OpAccessChain %56 %53 %55 %88
%1315 = OpLoad %6 %1314
%1316 = OpFOrdLessThan %20 %1313 %1315
OpSelectionMerge %1318 None
OpBranchConditional %1316 %1317 %1318
%1317 = OpLabel
OpStore %1319 %55
OpBranch %1320
%1320 = OpLabel
OpLoopMerge %1322 %1323 None
OpBranch %1324
%1324 = OpLabel
%1325 = OpLoad %54 %1319
%1326 = OpINotEqual %20 %1325 %84
OpBranchConditional %1326 %1321 %1322
%1321 = OpLabel
%1327 = OpAccessChain %56 %53 %55 %37
%1328 = OpLoad %6 %1327
%1329 = OpAccessChain %56 %53 %55 %88
%1330 = OpLoad %6 %1329
%1331 = OpFOrdGreaterThan %20 %1328 %1330
OpSelectionMerge %1333 None
OpBranchConditional %1331 %1332 %1333
%1332 = OpLabel
%1334 = OpAccessChain %38 %35 %37
%1335 = OpLoad %6 %1334
%1336 = OpFOrdLessThan %20 %1335 %41
OpSelectionMerge %1338 None
OpBranchConditional %1336 %1337 %1339
%1337 = OpLabel
OpBranch %1338
%1339 = OpLabel
OpSelectionMerge %1341 None
OpBranchConditional %26 %1340 %1341
%1340 = OpLabel
OpBranch %1342
%1342 = OpLabel
OpLoopMerge %1344 %1345 None
OpBranch %1343
%1343 = OpLabel
%1346 = OpAccessChain %38 %35 %37
%1347 = OpLoad %6 %1346
%1348 = OpFOrdLessThan %20 %1347 %41
OpSelectionMerge %1350 None
OpBranchConditional %1348 %1349 %1350
%1349 = OpLabel
OpReturnValue %24
%1350 = OpLabel
OpBranch %1345
%1345 = OpLabel
OpBranchConditional %21 %1342 %1344
%1344 = OpLabel
OpBranch %1341
%1341 = OpLabel
OpBranch %1338
%1338 = OpLabel
OpBranch %1352
%1352 = OpLabel
OpLoopMerge %1354 %1355 None
OpBranch %1353
%1353 = OpLabel
OpKill
%1355 = OpLabel
OpBranch %1352
%1354 = OpLabel
OpUnreachable
%1333 = OpLabel
OpBranch %1323
%1323 = OpLabel
%1360 = OpLoad %54 %1319
%1361 = OpIAdd %54 %1360 %84
OpStore %1319 %1361
OpBranch %1320
%1322 = OpLabel
OpBranch %1318
%1318 = OpLabel
OpSelectionMerge %1363 None
OpBranchConditional %26 %1362 %1367
%1362 = OpLabel
OpSelectionMerge %1365 None
OpBranchConditional %21 %1364 %1365
%1364 = OpLabel
OpKill
%1365 = OpLabel
OpBranch %1363
%1367 = OpLabel
OpSelectionMerge %1369 None
OpBranchConditional %21 %1368 %1369
%1368 = OpLabel
OpReturnValue %24
%1369 = OpLabel
OpBranch %1363
%1363 = OpLabel
OpStore %1371 %55
OpBranch %1372
%1372 = OpLabel
OpLoopMerge %1374 %1375 None
OpBranch %1376
%1376 = OpLabel
%1377 = OpLoad %54 %1371
%1378 = OpINotEqual %20 %1377 %84
OpBranchConditional %1378 %1373 %1374
%1373 = OpLabel
OpBranch %1379
%1379 = OpLabel
OpLoopMerge %1381 %1382 None
OpBranch %1380
%1380 = OpLabel
%1384 = OpAccessChain %56 %53 %55 %37
%1385 = OpLoad %6 %1384
%1386 = OpConvertFToS %54 %1385
OpStore %1383 %1386
OpBranch %1387
%1387 = OpLabel
OpLoopMerge %1389 %1390 None
OpBranch %1391
%1391 = OpLabel
%1392 = OpLoad %54 %1383
%1393 = OpAccessChain %56 %53 %55 %88
%1394 = OpLoad %6 %1393
%1395 = OpConvertFToS %54 %1394
%1396 = OpINotEqual %20 %1392 %1395
OpBranchConditional %1396 %1388 %1389
%1388 = OpLabel
%1397 = OpAccessChain %56 %53 %55 %37
%1398 = OpLoad %6 %1397
%1399 = OpAccessChain %56 %53 %55 %88
%1400 = OpLoad %6 %1399
%1401 = OpFOrdGreaterThan %20 %1398 %1400
OpSelectionMerge %1403 None
OpBranchConditional %1401 %1402 %1404
%1402 = OpLabel
OpBranch %1403
%1404 = OpLabel
OpSelectionMerge %1406 None
OpBranchConditional %26 %1405 %1406
%1405 = OpLabel
%1407 = OpAccessChain %38 %35 %88
%1408 = OpLoad %6 %1407
%1409 = OpFOrdLessThan %20 %1408 %41
OpSelectionMerge %1411 None
OpBranchConditional %1409 %1410 %1411
%1410 = OpLabel
OpReturnValue %24
%1411 = OpLabel
OpBranch %1406
%1406 = OpLabel
OpBranch %1403
%1403 = OpLabel
OpBranch %1390
%1390 = OpLabel
%1413 = OpLoad %54 %1383
%1414 = OpIAdd %54 %1413 %84
OpStore %1383 %1414
OpBranch %1387
%1389 = OpLabel
OpBranch %1382
%1382 = OpLabel
OpBranchConditional %21 %1379 %1381
%1381 = OpLabel
OpStore %1415 %84
OpBranch %1416
%1416 = OpLabel
OpLoopMerge %1418 %1419 None
OpBranch %1420
%1420 = OpLabel
%1421 = OpLoad %54 %1415
%1422 = OpSGreaterThan %20 %1421 %55
OpBranchConditional %1422 %1417 %1418
%1417 = OpLabel
OpBranch %1423
%1423 = OpLabel
OpLoopMerge %1425 %1426 None
OpBranch %1424
%1424 = OpLabel
OpSelectionMerge %1428 None
OpBranchConditional %26 %1427 %1428
%1427 = OpLabel
OpSelectionMerge %1430 None
OpBranchConditional %21 %1429 %1430
%1429 = OpLabel
OpReturnValue %24
%1430 = OpLabel
OpBranch %1428
%1428 = OpLabel
OpReturnValue %24
%1426 = OpLabel
OpBranch %1423
%1425 = OpLabel
OpUnreachable
%1419 = OpLabel
OpBranch %1416
%1418 = OpLabel
OpBranch %1375
%1375 = OpLabel
%1435 = OpLoad %54 %1371
%1436 = OpIAdd %54 %1435 %84
OpStore %1371 %1436
OpBranch %1372
%1374 = OpLabel
OpBranch %1311
%1311 = OpLabel
OpSelectionMerge %1438 None
OpBranchConditional %21 %1437 %1438
%1437 = OpLabel
OpBranch %639
%1438 = OpLabel
OpBranch %1165
%1440 = OpLabel
OpSelectionMerge %1442 None
OpBranchConditional %21 %1441 %1443
%1441 = OpLabel
OpBranch %1442
%1443 = OpLabel
OpBranch %1444
%1444 = OpLabel
OpLoopMerge %1446 %1447 None
OpBranch %1445
%1445 = OpLabel
OpBranch %1448
%1448 = OpLabel
OpLoopMerge %1450 %1451 None
OpBranch %1449
%1449 = OpLabel
OpBranch %1452
%1452 = OpLabel
OpLoopMerge %1454 %1455 None
OpBranch %1453
%1453 = OpLabel
%1456 = OpAccessChain %38 %35 %88
%1457 = OpLoad %6 %1456
%1458 = OpFOrdGreaterThanEqual %20 %1457 %41
OpSelectionMerge %1460 None
OpBranchConditional %1458 %1459 %1460
%1459 = OpLabel
%1461 = OpAccessChain %38 %35 %88
%1462 = OpLoad %6 %1461
%1463 = OpFOrdLessThan %20 %1462 %41
OpSelectionMerge %1465 None
OpBranchConditional %1463 %1464 %1465
%1464 = OpLabel
OpSelectionMerge %1467 None
OpBranchConditional %26 %1466 %1467
%1466 = OpLabel
OpBranch %1468
%1468 = OpLabel
OpLoopMerge %1470 %1471 None
OpBranch %1469
%1469 = OpLabel
OpKill
%1471 = OpLabel
OpBranch %1468
%1470 = OpLabel
OpUnreachable
%1467 = OpLabel
OpBranch %1465
%1465 = OpLabel
OpSelectionMerge %1483 None
OpBranchConditional %21 %1482 %1483
%1482 = OpLabel
OpBranch %1455
%1483 = OpLabel
OpBranch %1485
%1485 = OpLabel
OpLoopMerge %1487 %1488 None
OpBranch %1486
%1486 = OpLabel
%1489 = OpAccessChain %38 %35 %88
%1490 = OpLoad %6 %1489
%1491 = OpFOrdGreaterThanEqual %20 %1490 %41
OpSelectionMerge %1493 None
OpBranchConditional %1491 %1492 %1541
%1492 = OpLabel
OpStore %1494 %55
OpBranch %1495
%1495 = OpLabel
OpLoopMerge %1497 %1498 None
OpBranch %1499
%1499 = OpLabel
%1500 = OpLoad %54 %1494
%1501 = OpINotEqual %20 %1500 %84
OpBranchConditional %1501 %1496 %1497
%1496 = OpLabel
OpSelectionMerge %1503 None
OpBranchConditional %21 %1502 %1503
%1502 = OpLabel
OpBranch %1497
%1503 = OpLabel
OpSelectionMerge %1506 None
OpBranchConditional %21 %1505 %1507
%1505 = OpLabel
OpBranch %1506
%1507 = OpLabel
%1508 = OpAccessChain %17 %218 %88
%1509 = OpLoad %6 %1508
%1510 = OpAccessChain %17 %218 %37
%1511 = OpLoad %6 %1510
%1512 = OpFDiv %6 %1509 %1511
OpStore %944 %1512
OpBranch %1506
%1506 = OpLabel
OpStore %1513 %55
OpBranch %1514
%1514 = OpLabel
OpLoopMerge %1516 %1517 None
OpBranch %1518
%1518 = OpLabel
%1519 = OpLoad %54 %1513
%1520 = OpINotEqual %20 %1519 %84
OpBranchConditional %1520 %1515 %1516
%1515 = OpLabel
%1521 = OpAccessChain %38 %35 %37
%1522 = OpLoad %6 %1521
%1523 = OpFOrdLessThan %20 %1522 %41
OpSelectionMerge %1525 None
OpBranchConditional %1523 %1524 %1525
%1524 = OpLabel
%1526 = OpAccessChain %56 %53 %55 %37
%1527 = OpLoad %6 %1526
%1528 = OpAccessChain %56 %53 %55 %88
%1529 = OpLoad %6 %1528
%1530 = OpFOrdLessThan %20 %1527 %1529
OpSelectionMerge %1532 None
OpBranchConditional %1530 %1531 %1532
%1531 = OpLabel
OpKill
%1532 = OpLabel
OpBranch %1525
%1525 = OpLabel
OpBranch %1517
%1517 = OpLabel
%1534 = OpLoad %54 %1513
%1535 = OpIAdd %54 %1534 %84
OpStore %1513 %1535
OpBranch %1514
%1516 = OpLabel
OpBranch %1498
%1498 = OpLabel
%1536 = OpLoad %54 %1494
%1537 = OpIAdd %54 %1536 %84
OpStore %1494 %1537
OpBranch %1495
%1497 = OpLabel
OpSelectionMerge %1539 None
OpBranchConditional %21 %1538 %1539
%1538 = OpLabel
OpBranch %1488
%1539 = OpLabel
OpBranch %1493
%1541 = OpLabel
OpSelectionMerge %1543 None
OpBranchConditional %21 %1542 %1543
%1542 = OpLabel
OpSelectionMerge %1545 None
OpBranchConditional %21 %1544 %1545
%1544 = OpLabel
OpReturnValue %24
%1545 = OpLabel
OpKill
%1543 = OpLabel
OpBranch %1493
%1493 = OpLabel
OpSelectionMerge %1549 None
OpBranchConditional %21 %1548 %1549
%1548 = OpLabel
OpBranch %1488
%1549 = OpLabel
OpBranch %1488
%1488 = OpLabel
%1551 = OpAccessChain %38 %35 %37
%1552 = OpLoad %6 %1551
%1553 = OpFOrdLessThan %20 %1552 %41
OpBranchConditional %1553 %1485 %1487
%1487 = OpLabel
OpSelectionMerge %1555 None
OpBranchConditional %21 %1554 %1555
%1554 = OpLabel
OpBranch %1454
%1555 = OpLabel
OpBranch %1460
%1460 = OpLabel
OpBranch %1455
%1455 = OpLabel
OpBranchConditional %21 %1452 %1454
%1454 = OpLabel
OpBranch %1451
%1451 = OpLabel
%1557 = OpAccessChain %38 %35 %88
%1558 = OpLoad %6 %1557
%1559 = OpFOrdLessThan %20 %1558 %41
OpBranchConditional %1559 %1448 %1450
%1450 = OpLabel
OpBranch %1447
%1447 = OpLabel
OpBranchConditional %21 %1444 %1446
%1446 = OpLabel
OpBranch %1442
%1442 = OpLabel
OpBranch %1165
%1165 = OpLabel
OpSelectionMerge %1561 None
OpBranchConditional %21 %1560 %1561
%1560 = OpLabel
%1562 = OpAccessChain %38 %35 %88
%1563 = OpLoad %6 %1562
%1564 = OpFOrdLessThan %20 %1563 %41
OpSelectionMerge %1566 None
OpBranchConditional %1564 %1565 %1566
%1565 = OpLabel
%1567 = OpAccessChain %38 %35 %37
%1568 = OpLoad %6 %1567
%1569 = OpFOrdLessThan %20 %1568 %41
OpSelectionMerge %1571 None
OpBranchConditional %1569 %1570 %1571
%1570 = OpLabel
OpBranch %640
%1571 = OpLabel
OpBranch %640
%1566 = OpLabel
OpBranch %639
%1561 = OpLabel
OpBranch %1054
%1054 = OpLabel
OpBranch %1048
%1048 = OpLabel
OpBranch %872
%872 = OpLabel
OpBranch %707
%707 = OpLabel
OpSelectionMerge %1576 None
OpBranchConditional %21 %1575 %1576
%1575 = OpLabel
OpBranch %639
%1576 = OpLabel
OpSelectionMerge %1579 None
OpBranchConditional %21 %1578 %1580
%1578 = OpLabel
OpBranch %1579
%1580 = OpLabel
OpBranch %1581
%1581 = OpLabel
OpLoopMerge %1583 %1584 None
OpBranch %1582
%1582 = OpLabel
OpSelectionMerge %1586 None
OpBranchConditional %21 %1585 %1586
%1585 = OpLabel
OpSelectionMerge %1588 None
OpBranchConditional %21 %1587 %1595
%1587 = OpLabel
%1589 = OpAccessChain %38 %35 %88
%1590 = OpLoad %6 %1589
%1591 = OpFOrdLessThan %20 %1590 %41
OpSelectionMerge %1593 None
OpBranchConditional %1591 %1592 %1593
%1592 = OpLabel
OpReturnValue %24
%1593 = OpLabel
OpBranch %1588
%1595 = OpLabel
OpKill
%1588 = OpLabel
OpSelectionMerge %1598 None
OpBranchConditional %21 %1597 %1598
%1597 = OpLabel
OpBranch %1583
%1598 = OpLabel
OpBranch %1586
%1586 = OpLabel
OpSelectionMerge %1601 None
OpBranchConditional %21 %1600 %1601
%1600 = OpLabel
OpSelectionMerge %1603 None
OpBranchConditional %21 %1602 %1603
%1602 = OpLabel
OpBranch %1583
%1603 = OpLabel
OpBranch %1583
%1601 = OpLabel
OpBranch %1606
%1606 = OpLabel
OpLoopMerge %1608 %1609 None
OpBranch %1607
%1607 = OpLabel
OpSelectionMerge %1611 None
OpBranchConditional %21 %1610 %1611
%1610 = OpLabel
OpStore %1612 %84
OpBranch %1613
%1613 = OpLabel
OpLoopMerge %1615 %1616 None
OpBranch %1617
%1617 = OpLabel
%1618 = OpLoad %54 %1612
%1619 = OpINotEqual %20 %1618 %55
OpBranchConditional %1619 %1614 %1615
%1614 = OpLabel
%1620 = OpAccessChain %38 %35 %37
%1621 = OpLoad %6 %1620
%1622 = OpFOrdLessThan %20 %1621 %41
OpSelectionMerge %1624 None
OpBranchConditional %1622 %1623 %1624
%1623 = OpLabel
OpSelectionMerge %1626 None
OpBranchConditional %21 %1625 %1627
%1625 = OpLabel
OpBranch %1626
%1627 = OpLabel
OpSelectionMerge %1629 None
OpBranchConditional %21 %1628 %1629
%1628 = OpLabel
OpBranch %1616
%1629 = OpLabel
OpBranch %1631
%1631 = OpLabel
OpLoopMerge %1633 %1634 None
OpBranch %1632
%1632 = OpLabel
OpReturnValue %24
%1634 = OpLabel
OpBranch %1631
%1633 = OpLabel
OpUnreachable
%1626 = OpLabel
OpBranch %1624
%1624 = OpLabel
OpSelectionMerge %1643 None
OpBranchConditional %21 %1642 %1643
%1642 = OpLabel
OpKill
%1643 = OpLabel
OpBranch %1616
%1616 = OpLabel
%1645 = OpLoad %54 %1612
%1646 = OpISub %54 %1645 %84
OpStore %1612 %1646
OpBranch %1613
%1615 = OpLabel
OpSelectionMerge %1648 None
OpBranchConditional %26 %1647 %1648
%1647 = OpLabel
%1649 = OpAccessChain %38 %35 %37
%1650 = OpLoad %6 %1649
%1651 = OpFOrdLessThan %20 %1650 %41
OpBranch %1648
%1648 = OpLabel
%1652 = OpPhi %20 %26 %1615 %1651 %1647
OpSelectionMerge %1654 None
OpBranchConditional %1652 %1653 %1654
%1653 = OpLabel
OpReturnValue %24
%1654 = OpLabel
OpSelectionMerge %1657 None
OpBranchConditional %21 %1656 %1657
%1656 = OpLabel
OpReturnValue %24
%1657 = OpLabel
OpSelectionMerge %1660 None
OpBranchConditional %21 %1659 %1661
%1659 = OpLabel
OpBranch %1660
%1661 = OpLabel
OpReturnValue %24
%1660 = OpLabel
OpBranch %1611
%1611 = OpLabel
OpBranch %1609
%1609 = OpLabel
OpBranchConditional %21 %1606 %1608
%1608 = OpLabel
OpBranch %1584
%1584 = OpLabel
OpBranchConditional %21 %1581 %1583
%1583 = OpLabel
OpSelectionMerge %1664 None
OpBranchConditional %21 %1663 %1664
%1663 = OpLabel
OpSelectionMerge %1666 None
OpBranchConditional %21 %1665 %1666
%1665 = OpLabel
OpBranch %639
%1666 = OpLabel
OpKill
%1664 = OpLabel
%1677 = OpAccessChain %38 %35 %88
%1678 = OpLoad %6 %1677
%1679 = OpFOrdLessThan %20 %1678 %41
OpSelectionMerge %1681 None
OpBranchConditional %1679 %1680 %1681
%1680 = OpLabel
OpBranch %639
%1681 = OpLabel
OpSelectionMerge %1684 None
OpBranchConditional %21 %1683 %1685
%1683 = OpLabel
OpBranch %1684
%1685 = OpLabel
%1686 = OpAccessChain %38 %35 %88
%1687 = OpLoad %6 %1686
%1688 = OpFOrdLessThan %20 %1687 %41
OpSelectionMerge %1690 None
OpBranchConditional %1688 %1689 %1690
%1689 = OpLabel
OpReturnValue %24
%1690 = OpLabel
OpBranch %1684
%1684 = OpLabel
%1692 = OpAccessChain %56 %53 %55 %37
%1693 = OpLoad %6 %1692
%1694 = OpAccessChain %56 %53 %55 %88
%1695 = OpLoad %6 %1694
%1696 = OpFOrdGreaterThan %20 %1693 %1695
OpSelectionMerge %1698 None
OpBranchConditional %1696 %1697 %1698
%1697 = OpLabel
%1699 = OpAccessChain %38 %35 %37
%1700 = OpLoad %6 %1699
%1701 = OpFOrdGreaterThanEqual %20 %1700 %41
OpSelectionMerge %1703 None
OpBranchConditional %1701 %1702 %1767
%1702 = OpLabel
%1704 = OpAccessChain %56 %53 %55 %37
%1705 = OpLoad %6 %1704
%1706 = OpAccessChain %56 %53 %55 %88
%1707 = OpLoad %6 %1706
%1708 = OpFOrdGreaterThan %20 %1705 %1707
OpSelectionMerge %1710 None
OpBranchConditional %1708 %1709 %1710
%1709 = OpLabel
OpSelectionMerge %1712 None
OpBranchConditional %21 %1711 %1713
%1711 = OpLabel
OpBranch %1712
%1713 = OpLabel
OpSelectionMerge %1715 None
OpBranchConditional %21 %1714 %1715
%1714 = OpLabel
OpKill
%1715 = OpLabel
OpBranch %1712
%1712 = OpLabel
OpSelectionMerge %1718 None
OpBranchConditional %21 %1717 %1718
%1717 = OpLabel
OpKill
%1718 = OpLabel
OpReturnValue %24
%1710 = OpLabel
OpSelectionMerge %1722 None
OpBranchConditional %21 %1721 %1723
%1721 = OpLabel
OpBranch %1722
%1723 = OpLabel
OpSelectionMerge %1725 None
OpBranchConditional %21 %1724 %1725
%1724 = OpLabel
%1726 = OpAccessChain %56 %53 %55 %37
%1727 = OpLoad %6 %1726
%1728 = OpAccessChain %56 %53 %55 %88
%1729 = OpLoad %6 %1728
%1730 = OpFOrdGreaterThan %20 %1727 %1729
OpSelectionMerge %1732 None
OpBranchConditional %1730 %1731 %1732
%1731 = OpLabel
OpBranch %639
%1732 = OpLabel
OpReturnValue %24
%1725 = OpLabel
OpBranch %1722
%1722 = OpLabel
OpSelectionMerge %1736 None
OpBranchConditional %21 %1735 %1736
%1735 = OpLabel
OpBranch %640
%1736 = OpLabel
OpSelectionMerge %1739 None
OpBranchConditional %21 %1738 %1739
%1738 = OpLabel
OpBranch %639
%1739 = OpLabel
OpSelectionMerge %1742 None
OpBranchConditional %21 %1741 %1742
%1741 = OpLabel
OpSelectionMerge %1744 None
OpBranchConditional %26 %1743 %1744
%1743 = OpLabel
%1745 = OpAccessChain %38 %35 %37
%1746 = OpLoad %6 %1745
%1748 = OpAccessChain %56 %53 %55 %37
%1749 = OpLoad %6 %1748
%1750 = OpCompositeConstruct %33 %24 %41 %1749 %41
%1751 = OpDot %6 %1747 %1750
%1752 = OpFOrdGreaterThanEqual %20 %1746 %1751
OpSelectionMerge %1754 None
OpBranchConditional %1752 %1753 %1754
%1753 = OpLabel
%1755 = OpAccessChain %38 %35 %88
%1756 = OpLoad %6 %1755
%1757 = OpFOrdLessThan %20 %1756 %41
OpSelectionMerge %1759 None
OpBranchConditional %1757 %1758 %1759
%1758 = OpLabel
%1760 = OpAccessChain %38 %35 %88
%1761 = OpLoad %6 %1760
%1762 = OpFOrdGreaterThanEqual %20 %1761 %41
OpSelectionMerge %1764 None
OpBranchConditional %1762 %1763 %1764
%1763 = OpLabel
OpReturnValue %24
%1764 = OpLabel
OpBranch %1759
%1759 = OpLabel
OpBranch %1754
%1754 = OpLabel
OpBranch %1744
%1744 = OpLabel
OpBranch %639
%1742 = OpLabel
OpBranch %1703
%1767 = OpLabel
%1768 = OpAccessChain %38 %35 %37
%1769 = OpLoad %6 %1768
%1770 = OpFOrdLessThan %20 %1769 %41
OpSelectionMerge %1772 None
OpBranchConditional %1770 %1771 %1772
%1771 = OpLabel
OpStore %1773 %84
OpBranch %1774
%1774 = OpLabel
OpLoopMerge %1776 %1777 None
OpBranch %1778
%1778 = OpLabel
%1779 = OpLoad %54 %1773
%1780 = OpSGreaterThan %20 %1779 %55
OpBranchConditional %1780 %1775 %1776
%1775 = OpLabel
%1781 = OpAccessChain %56 %53 %55 %37
%1782 = OpLoad %6 %1781
%1783 = OpAccessChain %56 %53 %55 %88
%1784 = OpLoad %6 %1783
%1785 = OpFOrdGreaterThan %20 %1782 %1784
OpSelectionMerge %1787 None
OpBranchConditional %1785 %1786 %1787
%1786 = OpLabel
OpKill
%1787 = OpLabel
OpBranch %1777
%1777 = OpLabel
%1789 = OpLoad %54 %1773
%1790 = OpISub %54 %1789 %84
OpStore %1773 %1790
OpBranch %1774
%1776 = OpLabel
OpBranch %639
%1772 = OpLabel
OpBranch %1703
%1703 = OpLabel
OpSelectionMerge %1793 None
OpBranchConditional %21 %1792 %1793
%1792 = OpLabel
OpSelectionMerge %1795 None
OpBranchConditional %21 %1794 %1795
%1794 = OpLabel
OpBranch %640
%1795 = OpLabel
OpKill
%1793 = OpLabel
OpBranch %1798
%1798 = OpLabel
OpLoopMerge %1800 %1801 None
OpBranch %1799
%1799 = OpLabel
%1802 = OpAccessChain %38 %35 %37
%1803 = OpLoad %6 %1802
%1804 = OpFOrdLessThan %20 %1803 %41
OpSelectionMerge %1806 None
OpBranchConditional %1804 %1805 %1807
%1805 = OpLabel
OpBranch %1806
%1807 = OpLabel
%1808 = OpAccessChain %38 %35 %37
%1809 = OpLoad %6 %1808
%1810 = OpFOrdLessThan %20 %1809 %41
OpSelectionMerge %1812 None
OpBranchConditional %1810 %1811 %1812
%1811 = OpLabel
OpReturnValue %24
%1812 = OpLabel
OpBranch %1806
%1806 = OpLabel
OpBranch %1801
%1801 = OpLabel
OpBranchConditional %21 %1798 %1800
%1800 = OpLabel
OpSelectionMerge %1815 None
OpBranchConditional %21 %1814 %1815
%1814 = OpLabel
OpReturnValue %24
%1815 = OpLabel
%1817 = OpAccessChain %38 %35 %37
%1818 = OpLoad %6 %1817
%1819 = OpFOrdLessThan %20 %1818 %41
OpSelectionMerge %1821 None
OpBranchConditional %1819 %1820 %1821
%1820 = OpLabel
OpKill
%1821 = OpLabel
OpSelectionMerge %1824 None
OpBranchConditional %21 %1823 %1824
%1823 = OpLabel
OpBranch %640
%1824 = OpLabel
OpSelectionMerge %1827 None
OpBranchConditional %21 %1826 %1828
%1826 = OpLabel
OpBranch %1827
%1828 = OpLabel
OpStore %1829 %84
OpBranch %1830
%1830 = OpLabel
OpLoopMerge %1832 %1833 None
OpBranch %1834
%1834 = OpLabel
%1835 = OpLoad %54 %1829
%1836 = OpINotEqual %20 %1835 %55
OpBranchConditional %1836 %1831 %1832
%1831 = OpLabel
OpBranch %1837
%1837 = OpLabel
OpLoopMerge %1839 %1840 None
OpBranch %1838
%1838 = OpLabel
%1841 = OpAccessChain %38 %35 %88
%1842 = OpLoad %6 %1841
%1843 = OpFOrdLessThan %20 %1842 %41
OpSelectionMerge %1845 None
OpBranchConditional %1843 %1844 %1845
%1844 = OpLabel
OpSelectionMerge %1847 None
OpBranchConditional %21 %1846 %1847
%1846 = OpLabel
OpBranch %1840
%1847 = OpLabel
OpBranch %1839
%1845 = OpLabel
OpSelectionMerge %1851 None
OpBranchConditional %26 %1850 %1851
%1850 = OpLabel
OpSelectionMerge %1853 None
OpBranchConditional %26 %1852 %1853
%1852 = OpLabel
OpReturnValue %24
%1853 = OpLabel
OpBranch %1851
%1851 = OpLabel
OpBranch %1840
%1840 = OpLabel
%1855 = OpAccessChain %38 %35 %37
%1856 = OpLoad %6 %1855
%1857 = OpFOrdLessThan %20 %1856 %41
OpBranchConditional %1857 %1837 %1839
%1839 = OpLabel
OpBranch %1833
%1833 = OpLabel
%1858 = OpLoad %54 %1829
%1859 = OpISub %54 %1858 %84
OpStore %1829 %1859
OpBranch %1830
%1832 = OpLabel
OpSelectionMerge %1861 None
OpBranchConditional %21 %1860 %1861
%1860 = OpLabel
OpBranch %640
%1861 = OpLabel
OpSelectionMerge %1864 None
OpBranchConditional %21 %1863 %1864
%1863 = OpLabel
OpBranch %640
%1864 = OpLabel
OpSelectionMerge %1867 None
OpBranchConditional %21 %1866 %1867
%1866 = OpLabel
OpSelectionMerge %1869 None
OpBranchConditional %21 %1868 %1869
%1868 = OpLabel
OpBranch %639
%1869 = OpLabel
OpSelectionMerge %1872 None
OpBranchConditional %21 %1871 %1872
%1871 = OpLabel
OpBranch %640
%1872 = OpLabel
OpSelectionMerge %1875 None
OpBranchConditional %21 %1874 %1875
%1874 = OpLabel
OpBranch %639
%1875 = OpLabel
OpReturnValue %24
%1867 = OpLabel
OpBranch %1827
%1827 = OpLabel
OpBranch %1698
%1698 = OpLabel
OpSelectionMerge %1879 None
OpBranchConditional %21 %1878 %1896
%1878 = OpLabel
OpSelectionMerge %1881 None
OpBranchConditional %21 %1880 %1881
%1880 = OpLabel
OpBranch %639
%1881 = OpLabel
OpSelectionMerge %1884 None
OpBranchConditional %21 %1883 %1884
%1883 = OpLabel
OpReturnValue %24
%1884 = OpLabel
OpSelectionMerge %1887 None
OpBranchConditional %21 %1886 %1887
%1886 = OpLabel
OpBranch %640
%1887 = OpLabel
OpBranch %1889
%1889 = OpLabel
OpLoopMerge %1891 %1892 None
OpBranch %1890
%1890 = OpLabel
OpSelectionMerge %1894 None
OpBranchConditional %21 %1893 %1894
%1893 = OpLabel
OpKill
%1894 = OpLabel
OpBranch %1892
%1892 = OpLabel
OpBranchConditional %21 %1889 %1891
%1891 = OpLabel
OpBranch %1879
%1896 = OpLabel
OpSelectionMerge %1898 None
OpBranchConditional %21 %1897 %1898
%1897 = OpLabel
OpBranch %640
%1898 = OpLabel
OpStore %1900 %84
OpBranch %1901
%1901 = OpLabel
OpLoopMerge %1903 %1904 None
OpBranch %1905
%1905 = OpLabel
%1906 = OpLoad %54 %1900
%1907 = OpSGreaterThan %20 %1906 %55
OpBranchConditional %1907 %1902 %1903
%1902 = OpLabel
OpSelectionMerge %1909 None
OpBranchConditional %26 %1908 %1909
%1908 = OpLabel
OpSelectionMerge %1911 None
OpBranchConditional %21 %1910 %1911
%1910 = OpLabel
OpReturnValue %24
%1911 = OpLabel
OpBranch %1909
%1909 = OpLabel
OpBranch %1904
%1904 = OpLabel
%1913 = OpLoad %54 %1900
%1914 = OpISub %54 %1913 %84
OpStore %1900 %1914
OpBranch %1901
%1903 = OpLabel
OpSelectionMerge %1916 None
OpBranchConditional %21 %1915 %1916
%1915 = OpLabel
OpReturnValue %24
%1916 = OpLabel
OpBranch %1879
%1879 = OpLabel
%1918 = OpAccessChain %38 %35 %88
%1919 = OpLoad %6 %1918
%1920 = OpFOrdLessThan %20 %1919 %41
OpSelectionMerge %1922 None
OpBranchConditional %1920 %1921 %1922
%1921 = OpLabel
OpBranch %639
%1922 = OpLabel
OpBranch %1579
%1579 = OpLabel
%1924 = OpAccessChain %38 %35 %37
%1925 = OpLoad %6 %1924
%1926 = OpFOrdLessThan %20 %1925 %41
OpSelectionMerge %1928 None
OpBranchConditional %1926 %1927 %1928
%1927 = OpLabel
OpBranch %640
%1928 = OpLabel
OpBranch %645
%645 = OpLabel
OpSelectionMerge %1931 None
OpBranchConditional %21 %1930 %1931
%1930 = OpLabel
OpStore %1932 %84
OpBranch %1933
%1933 = OpLabel
OpLoopMerge %1935 %1936 None
OpBranch %1937
%1937 = OpLabel
%1938 = OpLoad %54 %1932
%1939 = OpSGreaterThan %20 %1938 %55
OpBranchConditional %1939 %1934 %1935
%1934 = OpLabel
OpKill
%1936 = OpLabel
OpBranch %1933
%1935 = OpLabel
OpBranch %1931
%1931 = OpLabel
OpBranch %640
%640 = OpLabel
%1943 = OpLoad %54 %633
%1944 = OpIAdd %54 %1943 %84
OpStore %633 %1944
OpBranch %637
%639 = OpLabel
OpBranch %626
%626 = OpLabel
%1945 = OpLoad %54 %622
%1946 = OpIAdd %54 %1945 %84
OpStore %622 %1946
OpBranch %623
%625 = OpLabel
OpSelectionMerge %1948 None
OpBranchConditional %21 %1947 %1948
%1947 = OpLabel
OpReturnValue %24
%1948 = OpLabel
OpSelectionMerge %1951 None
OpBranchConditional %21 %1950 %1951
%1950 = OpLabel
OpReturnValue %24
%1951 = OpLabel
OpBranch %570
%1953 = OpLabel
OpSelectionMerge %1955 None
OpBranchConditional %21 %1954 %1955
%1954 = OpLabel
OpSelectionMerge %1957 None
OpBranchConditional %21 %1956 %1958
%1956 = OpLabel
OpBranch %1957
%1958 = OpLabel
OpBranch %1959
%1959 = OpLabel
OpLoopMerge %1961 %1962 None
OpBranch %1960
%1960 = OpLabel
%1963 = OpAccessChain %38 %35 %37
%1964 = OpLoad %6 %1963
%1965 = OpFOrdLessThan %20 %1964 %41
OpSelectionMerge %1967 None
OpBranchConditional %1965 %1966 %1967
%1966 = OpLabel
OpReturnValue %24
%1967 = OpLabel
OpBranch %1962
%1962 = OpLabel
%1969 = OpAccessChain %38 %35 %37
%1970 = OpLoad %6 %1969
%1971 = OpFOrdLessThan %20 %1970 %41
OpBranchConditional %1971 %1959 %1961
%1961 = OpLabel
OpBranch %1957
%1957 = OpLabel
OpSelectionMerge %1973 None
OpBranchConditional %26 %1972 %1973
%1972 = OpLabel
%1974 = OpAccessChain %38 %35 %37
%1975 = OpLoad %6 %1974
%1976 = OpFOrdLessThan %20 %1975 %41
OpSelectionMerge %1978 None
OpBranchConditional %1976 %1977 %1978
%1977 = OpLabel
OpStore %1979 %55
OpBranch %1980
%1980 = OpLabel
OpLoopMerge %1982 %1983 None
OpBranch %1984
%1984 = OpLabel
%1985 = OpLoad %54 %1979
%1986 = OpINotEqual %20 %1985 %84
OpBranchConditional %1986 %1981 %1982
%1981 = OpLabel
OpReturnValue %24
%1983 = OpLabel
OpBranch %1980
%1982 = OpLabel
OpBranch %1978
%1978 = OpLabel
%1990 = OpAccessChain %56 %53 %55 %37
%1991 = OpLoad %6 %1990
%1992 = OpAccessChain %56 %53 %55 %88
%1993 = OpLoad %6 %1992
%1994 = OpFOrdLessThan %20 %1991 %1993
OpSelectionMerge %1996 None
OpBranchConditional %1994 %1995 %2010
%1995 = OpLabel
OpStore %1997 %55
OpBranch %1998
%1998 = OpLabel
OpLoopMerge %2000 %2001 None
OpBranch %2002
%2002 = OpLabel
%2003 = OpLoad %54 %1997
%2004 = OpSLessThan %20 %2003 %84
OpBranchConditional %2004 %1999 %2000
%1999 = OpLabel
OpSelectionMerge %2006 None
OpBranchConditional %26 %2005 %2006
%2005 = OpLabel
OpReturnValue %24
%2006 = OpLabel
OpBranch %2001
%2001 = OpLabel
%2008 = OpLoad %54 %1997
%2009 = OpIAdd %54 %2008 %84
OpStore %1997 %2009
OpBranch %1998
%2000 = OpLabel
OpBranch %1996
%2010 = OpLabel
OpBranch %2011
%2011 = OpLabel
OpLoopMerge %2013 %2014 None
OpBranch %2012
%2012 = OpLabel
%2015 = OpAccessChain %38 %35 %37
%2016 = OpLoad %6 %2015
%2017 = OpFOrdLessThan %20 %2016 %41
OpSelectionMerge %2019 None
OpBranchConditional %2017 %2018 %2019
%2018 = OpLabel
OpBranch %2014
%2019 = OpLabel
%2021 = OpAccessChain %38 %35 %88
%2022 = OpLoad %6 %2021
%2023 = OpFOrdLessThan %20 %2022 %41
OpSelectionMerge %2025 None
OpBranchConditional %2023 %2024 %2025
%2024 = OpLabel
OpStore %2026 %55
OpBranch %2027
%2027 = OpLabel
OpLoopMerge %2029 %2030 None
OpBranch %2031
%2031 = OpLabel
%2032 = OpLoad %54 %2026
%2033 = OpSLessThan %20 %2032 %84
OpBranchConditional %2033 %2028 %2029
%2028 = OpLabel
OpReturnValue %24
%2030 = OpLabel
OpBranch %2027
%2029 = OpLabel
OpBranch %2025
%2025 = OpLabel
OpBranch %2014
%2014 = OpLabel
OpBranchConditional %21 %2011 %2013
%2013 = OpLabel
OpBranch %1996
%1996 = OpLabel
OpBranch %1973
%1973 = OpLabel
OpBranch %1955
%1955 = OpLabel
OpStore %2037 %55
OpBranch %2038
%2038 = OpLabel
OpLoopMerge %2040 %2041 None
OpBranch %2042
%2042 = OpLabel
%2043 = OpLoad %54 %2037
%2044 = OpINotEqual %20 %2043 %84
OpBranchConditional %2044 %2039 %2040
%2039 = OpLabel
%2045 = OpAccessChain %38 %35 %37
%2046 = OpLoad %6 %2045
%2047 = OpFOrdGreaterThanEqual %20 %2046 %41
OpSelectionMerge %2049 None
OpBranchConditional %2047 %2048 %2049
%2048 = OpLabel
OpSelectionMerge %2051 None
OpBranchConditional %21 %2050 %2051
%2050 = OpLabel
OpBranch %2052
%2052 = OpLabel
OpLoopMerge %2054 %2055 None
OpBranch %2053
%2053 = OpLabel
OpSelectionMerge %2057 None
OpBranchConditional %21 %2056 %2058
%2056 = OpLabel
OpBranch %2057
%2058 = OpLabel
%2059 = OpAccessChain %56 %53 %55 %37
%2060 = OpLoad %6 %2059
%2061 = OpAccessChain %56 %53 %55 %88
%2062 = OpLoad %6 %2061
%2063 = OpFOrdGreaterThan %20 %2060 %2062
OpSelectionMerge %2065 None
OpBranchConditional %2063 %2064 %2089
%2064 = OpLabel
%2066 = OpAccessChain %38 %35 %37
%2067 = OpLoad %6 %2066
%2068 = OpFOrdLessThan %20 %2067 %41
OpSelectionMerge %2070 None
OpBranchConditional %2068 %2069 %2070
%2069 = OpLabel
OpStore %2071 %84
OpBranch %2072
%2072 = OpLabel
OpLoopMerge %2074 %2075 None
OpBranch %2076
%2076 = OpLabel
%2077 = OpLoad %54 %2071
%2078 = OpINotEqual %20 %2077 %55
OpBranchConditional %2078 %2073 %2074
%2073 = OpLabel
OpBranch %2079
%2079 = OpLabel
OpLoopMerge %2081 %2082 None
OpBranch %2080
%2080 = OpLabel
OpKill
%2082 = OpLabel
OpBranch %2079
%2081 = OpLabel
OpUnreachable
%2075 = OpLabel
OpBranch %2072
%2074 = OpLabel
OpBranch %2070
%2070 = OpLabel
OpBranch %2065
%2089 = OpLabel
OpBranch %2090
%2090 = OpLabel
OpLoopMerge %2092 %2093 None
OpBranch %2091
%2091 = OpLabel
OpSelectionMerge %2095 None
OpBranchConditional %21 %2094 %2095
%2094 = OpLabel
OpKill
%2095 = OpLabel
OpBranch %2093
%2093 = OpLabel
OpBranchConditional %21 %2090 %2092
%2092 = OpLabel
%2097 = OpAccessChain %56 %53 %55 %37
%2098 = OpLoad %6 %2097
%2099 = OpAccessChain %56 %53 %55 %88
%2100 = OpLoad %6 %2099
%2101 = OpFOrdGreaterThan %20 %2098 %2100
OpSelectionMerge %2103 None
OpBranchConditional %2101 %2102 %2103
%2102 = OpLabel
OpSelectionMerge %2105 None
OpBranchConditional %21 %2104 %2106
%2104 = OpLabel
OpBranch %2105
%2106 = OpLabel
OpKill
%2105 = OpLabel
OpBranch %2103
%2103 = OpLabel
OpReturnValue %24
%2065 = OpLabel
OpBranch %2057
%2057 = OpLabel
OpSelectionMerge %2110 None
OpBranchConditional %21 %2109 %2110
%2109 = OpLabel
OpKill
%2110 = OpLabel
OpBranch %2055
%2055 = OpLabel
%2112 = OpAccessChain %38 %35 %37
%2113 = OpLoad %6 %2112
%2114 = OpFOrdLessThan %20 %2113 %41
OpBranchConditional %2114 %2052 %2054
%2054 = OpLabel
OpBranch %2051
%2051 = OpLabel
OpBranch %2049
%2049 = OpLabel
OpBranch %2041
%2041 = OpLabel
%2115 = OpLoad %54 %2037
%2116 = OpIAdd %54 %2115 %84
OpStore %2037 %2116
OpBranch %2038
%2040 = OpLabel
OpSelectionMerge %2118 None
OpBranchConditional %26 %2117 %2118
%2117 = OpLabel
OpSelectionMerge %2120 None
OpBranchConditional %21 %2119 %2120
%2119 = OpLabel
OpReturnValue %24
%2120 = OpLabel
OpBranch %2118
%2118 = OpLabel
OpBranch %570
%570 = OpLabel
%2122 = OpAccessChain %38 %35 %88
%2123 = OpLoad %6 %2122
%2124 = OpFOrdLessThan %20 %2123 %41
OpSelectionMerge %2126 None
OpBranchConditional %2124 %2125 %2126
%2125 = OpLabel
OpSelectionMerge %2128 None
OpBranchConditional %21 %2127 %2129
%2127 = OpLabel
OpBranch %2128
%2129 = OpLabel
OpStore %2130 %55
OpBranch %2131
%2131 = OpLabel
OpLoopMerge %2133 %2134 None
OpBranch %2135
%2135 = OpLabel
%2136 = OpLoad %54 %2130
%2137 = OpINotEqual %20 %2136 %84
OpBranchConditional %2137 %2132 %2133
%2132 = OpLabel
OpReturnValue %24
%2134 = OpLabel
OpBranch %2131
%2133 = OpLabel
OpBranch %2128
%2128 = OpLabel
OpBranch %2126
%2126 = OpLabel
OpBranch %556
%556 = OpLabel
OpSelectionMerge %2142 None
OpBranchConditional %21 %2141 %2142
%2141 = OpLabel
OpReturnValue %24
%2142 = OpLabel
%2144 = OpAccessChain %38 %35 %88
%2145 = OpLoad %6 %2144
%2146 = OpFOrdLessThan %20 %2145 %41
OpSelectionMerge %2148 None
OpBranchConditional %2146 %2147 %2149
%2147 = OpLabel
OpBranch %2148
%2149 = OpLabel
%2150 = OpAccessChain %38 %35 %37
%2151 = OpLoad %6 %2150
%2152 = OpFOrdLessThan %20 %2151 %41
OpSelectionMerge %2154 None
OpBranchConditional %2152 %2153 %2154
%2153 = OpLabel
OpStore %2155 %55
OpBranch %2156
%2156 = OpLabel
OpLoopMerge %2158 %2159 None
OpBranch %2160
%2160 = OpLabel
%2161 = OpLoad %54 %2155
%2162 = OpSLessThan %20 %2161 %84
OpBranchConditional %2162 %2157 %2158
%2157 = OpLabel
OpStore %2163 %55
OpBranch %2164
%2164 = OpLabel
OpLoopMerge %2166 %2167 None
OpBranch %2168
%2168 = OpLabel
%2169 = OpLoad %54 %2163
%2170 = OpSLessThan %20 %2169 %84
OpBranchConditional %2170 %2165 %2166
%2165 = OpLabel
OpBranch %2171
%2171 = OpLabel
OpLoopMerge %2173 %2174 None
OpBranch %2172
%2172 = OpLabel
%2175 = OpAccessChain %38 %35 %37
%2176 = OpLoad %6 %2175
%2177 = OpFOrdLessThan %20 %2176 %41
OpSelectionMerge %2179 None
OpBranchConditional %2177 %2178 %2179
%2178 = OpLabel
OpKill
%2179 = OpLabel
OpReturnValue %24
%2174 = OpLabel
OpBranch %2171
%2173 = OpLabel
OpUnreachable
%2167 = OpLabel
OpBranch %2164
%2166 = OpLabel
OpBranch %2159
%2159 = OpLabel
%2184 = OpLoad %54 %2155
%2185 = OpIAdd %54 %2184 %84
OpStore %2155 %2185
OpBranch %2156
%2158 = OpLabel
OpBranch %2154
%2154 = OpLabel
OpBranch %2148
%2148 = OpLabel
OpSelectionMerge %2187 None
OpBranchConditional %21 %2186 %2187
%2186 = OpLabel
OpReturnValue %24
%2187 = OpLabel
OpSelectionMerge %2190 None
OpBranchConditional %21 %2189 %2190
%2189 = OpLabel
OpReturnValue %24
%2190 = OpLabel
%2195 = OpLoad %6 %944
%2196 = OpFMul %6 %2194 %2195
%2197 = OpLoad %6 %944
%2198 = OpFMul %6 %2196 %2197
%2199 = OpFSub %6 %2193 %2198
%2200 = OpLoad %6 %944
%2201 = OpFMul %6 %2199 %2200
%2202 = OpLoad %6 %18
%2203 = OpFMul %6 %2201 %2202
OpStore %2192 %2203
%2204 = OpAccessChain %56 %53 %55 %37
%2205 = OpLoad %6 %2204
%2206 = OpAccessChain %56 %53 %55 %88
%2207 = OpLoad %6 %2206
%2208 = OpFOrdLessThan %20 %2205 %2207
OpSelectionMerge %2210 None
OpBranchConditional %2208 %2209 %2210
%2209 = OpLabel
%2211 = OpAccessChain %38 %35 %88
%2212 = OpLoad %6 %2211
%2213 = OpFOrdLessThan %20 %2212 %41
OpSelectionMerge %2215 None
OpBranchConditional %2213 %2214 %2215
%2214 = OpLabel
%2216 = OpAccessChain %38 %35 %88
%2217 = OpLoad %6 %2216
%2218 = OpFOrdGreaterThanEqual %20 %2217 %41
OpSelectionMerge %2220 None
OpBranchConditional %2218 %2219 %2220
%2219 = OpLabel
OpReturnValue %24
%2220 = OpLabel
OpBranch %2215
%2215 = OpLabel
OpBranch %2210
%2210 = OpLabel
OpBranch %2222
%2222 = OpLabel
OpLoopMerge %2224 %2225 None
OpBranch %2223
%2223 = OpLabel
OpSelectionMerge %2227 None
OpBranchConditional %21 %2226 %2228
%2226 = OpLabel
OpBranch %2227
%2228 = OpLabel
%2229 = OpAccessChain %17 %218 %88
%2230 = OpLoad %6 %2229
%2231 = OpAccessChain %17 %218 %37
%2232 = OpLoad %6 %2231
%2233 = OpFOrdLessThan %20 %2230 %2232
OpSelectionMerge %2235 None
OpBranchConditional %2233 %2234 %2235
%2234 = OpLabel
%2236 = OpAccessChain %38 %35 %37
%2237 = OpLoad %6 %2236
%2238 = OpFOrdLessThan %20 %2237 %41
OpSelectionMerge %2240 None
OpBranchConditional %2238 %2239 %2240
%2239 = OpLabel
OpReturnValue %24
%2240 = OpLabel
OpBranch %2242
%2242 = OpLabel
OpLoopMerge %2244 %2245 None
OpBranch %2243
%2243 = OpLabel
%2246 = OpAccessChain %38 %35 %37
%2247 = OpLoad %6 %2246
%2248 = OpFOrdLessThan %20 %2247 %41
OpSelectionMerge %2250 None
OpBranchConditional %2248 %2249 %2251
%2249 = OpLabel
OpBranch %2250
%2251 = OpLabel
OpBranch %2252
%2252 = OpLabel
OpLoopMerge %2254 %2255 None
OpBranch %2253
%2253 = OpLabel
OpSelectionMerge %2257 None
OpBranchConditional %21 %2256 %2257
%2256 = OpLabel
%2258 = OpAccessChain %56 %53 %55 %37
%2259 = OpLoad %6 %2258
%2260 = OpAccessChain %56 %53 %55 %88
%2261 = OpLoad %6 %2260
%2262 = OpFOrdGreaterThan %20 %2259 %2261
OpSelectionMerge %2264 None
OpBranchConditional %2262 %2263 %2309
%2263 = OpLabel
OpSelectionMerge %2266 None
OpBranchConditional %26 %2265 %2285
%2265 = OpLabel
OpSelectionMerge %2268 None
OpBranchConditional %21 %2267 %2269
%2267 = OpLabel
OpBranch %2268
%2269 = OpLabel
%2270 = OpAccessChain %38 %35 %37
%2271 = OpLoad %6 %2270
%2272 = OpFOrdLessThan %20 %2271 %41
OpSelectionMerge %2274 None
OpBranchConditional %2272 %2273 %2274
%2273 = OpLabel
OpKill
%2274 = OpLabel
OpSelectionMerge %2277 None
OpBranchConditional %21 %2276 %2277
%2276 = OpLabel
OpBranch %2254
%2277 = OpLabel
OpBranch %2268
%2268 = OpLabel
OpSelectionMerge %2280 None
OpBranchConditional %21 %2279 %2280
%2279 = OpLabel
OpReturnValue %24
%2280 = OpLabel
OpSelectionMerge %2283 None
OpBranchConditional %21 %2282 %2283
%2282 = OpLabel
OpKill
%2283 = OpLabel
OpBranch %2266
%2285 = OpLabel
%2286 = OpAccessChain %38 %35 %88
%2287 = OpLoad %6 %2286
%2288 = OpFOrdLessThan %20 %2287 %41
OpSelectionMerge %2290 None
OpBranchConditional %2288 %2289 %2291
%2289 = OpLabel
OpBranch %2290
%2291 = OpLabel
OpSelectionMerge %2293 None
OpBranchConditional %26 %2292 %2293
%2292 = OpLabel
OpStore %2294 %84
OpBranch %2295
%2295 = OpLabel
OpLoopMerge %2297 %2298 None
OpBranch %2299
%2299 = OpLabel
%2300 = OpLoad %54 %2294
%2301 = OpINotEqual %20 %2300 %55
OpBranchConditional %2301 %2296 %2297
%2296 = OpLabel
OpSelectionMerge %2303 None
OpBranchConditional %26 %2302 %2303
%2302 = OpLabel
OpSelectionMerge %2305 None
OpBranchConditional %21 %2304 %2305
%2304 = OpLabel
OpReturnValue %24
%2305 = OpLabel
OpBranch %2303
%2303 = OpLabel
OpBranch %2298
%2298 = OpLabel
%2307 = OpLoad %54 %2294
%2308 = OpISub %54 %2307 %84
OpStore %2294 %2308
OpBranch %2295
%2297 = OpLabel
OpBranch %2293
%2293 = OpLabel
OpBranch %2290
%2290 = OpLabel
OpBranch %2266
%2266 = OpLabel
OpBranch %2264
%2309 = OpLabel
OpReturnValue %24
%2264 = OpLabel
OpBranch %2257
%2257 = OpLabel
%2311 = OpAccessChain %56 %53 %55 %37
%2312 = OpLoad %6 %2311
%2313 = OpAccessChain %56 %53 %55 %88
%2314 = OpLoad %6 %2313
%2315 = OpFOrdLessThan %20 %2312 %2314
OpSelectionMerge %2317 None
OpBranchConditional %2315 %2316 %2317
%2316 = OpLabel
OpStore %2318 %84
OpBranch %2319
%2319 = OpLabel
OpLoopMerge %2321 %2322 None
OpBranch %2323
%2323 = OpLabel
%2324 = OpLoad %54 %2318
%2325 = OpAccessChain %56 %53 %55 %37
%2326 = OpLoad %6 %2325
%2327 = OpConvertFToS %54 %2326
%2328 = OpSGreaterThan %20 %2324 %2327
OpBranchConditional %2328 %2320 %2321
%2320 = OpLabel
%2330 = OpAccessChain %56 %53 %55 %88
%2331 = OpLoad %6 %2330
%2332 = OpConvertFToS %54 %2331
%2333 = OpBitwiseXor %54 %55 %2332
OpStore %2329 %2333
OpBranch %2334
%2334 = OpLabel
OpLoopMerge %2336 %2337 None
OpBranch %2338
%2338 = OpLabel
%2339 = OpLoad %54 %2329
%2340 = OpSGreaterThan %20 %2339 %55
OpBranchConditional %2340 %2335 %2336
%2335 = OpLabel
OpSelectionMerge %2342 None
OpBranchConditional %26 %2341 %2342
%2341 = OpLabel
OpSelectionMerge %2344 None
OpBranchConditional %21 %2343 %2344
%2343 = OpLabel
%2345 = OpAccessChain %38 %35 %37
%2346 = OpLoad %6 %2345
%2347 = OpFOrdLessThan %20 %2346 %41
OpSelectionMerge %2349 None
OpBranchConditional %2347 %2348 %2349
%2348 = OpLabel
OpBranch %2337
%2349 = OpLabel
OpKill
%2344 = OpLabel
OpBranch %2342
%2342 = OpLabel
OpSelectionMerge %2353 None
OpBranchConditional %21 %2352 %2353
%2352 = OpLabel
OpBranch %2337
%2353 = OpLabel
OpStore %2355 %84
OpBranch %2356
%2356 = OpLabel
OpLoopMerge %2358 %2359 None
OpBranch %2360
%2360 = OpLabel
%2361 = OpLoad %54 %2355
%2362 = OpINotEqual %20 %2361 %55
OpBranchConditional %2362 %2357 %2358
%2357 = OpLabel
OpSelectionMerge %2364 None
OpBranchConditional %21 %2363 %2364
%2363 = OpLabel
OpBranch %2365
%2365 = OpLabel
OpLoopMerge %2367 %2368 None
OpBranch %2366
%2366 = OpLabel
OpSelectionMerge %2370 None
OpBranchConditional %21 %2369 %2371
%2369 = OpLabel
OpBranch %2370
%2371 = OpLabel
OpSelectionMerge %2373 None
OpBranchConditional %21 %2372 %2373
%2372 = OpLabel
OpStore %2374 %84
OpBranch %2375
%2375 = OpLabel
OpLoopMerge %2377 %2378 None
OpBranch %2379
%2379 = OpLabel
%2380 = OpLoad %54 %2374
%2381 = OpINotEqual %20 %2380 %55
OpBranchConditional %2381 %2376 %2377
%2376 = OpLabel
OpKill
%2378 = OpLabel
OpBranch %2375
%2377 = OpLabel
OpBranch %2373
%2373 = OpLabel
OpBranch %2370
%2370 = OpLabel
%2385 = OpAccessChain %38 %35 %88
%2386 = OpLoad %6 %2385
%2392 = OpExtInst %6 %1 Determinant %2391
%2393 = OpFOrdLessThan %20 %2386 %2392
OpSelectionMerge %2395 None
OpBranchConditional %2393 %2394 %2395
%2394 = OpLabel
OpBranch %2367
%2395 = OpLabel
OpSelectionMerge %2398 None
OpBranchConditional %21 %2397 %2398
%2397 = OpLabel
OpBranch %2368
%2398 = OpLabel
%2400 = OpAccessChain %38 %35 %37
%2401 = OpLoad %6 %2400
%2402 = OpFOrdLessThan %20 %2401 %41
OpSelectionMerge %2404 None
OpBranchConditional %2402 %2403 %2405
%2403 = OpLabel
OpBranch %2404
%2405 = OpLabel
OpBranch %2406
%2406 = OpLabel
OpLoopMerge %2408 %2409 None
OpBranch %2407
%2407 = OpLabel
OpKill
%2409 = OpLabel
OpBranch %2406
%2408 = OpLabel
OpUnreachable
%2404 = OpLabel
OpBranch %2368
%2368 = OpLabel
OpBranchConditional %21 %2365 %2367
%2367 = OpLabel
OpBranch %2364
%2364 = OpLabel
OpBranch %2359
%2359 = OpLabel
%2414 = OpLoad %54 %2355
%2415 = OpISub %54 %2414 %84
OpStore %2355 %2415
OpBranch %2356
%2358 = OpLabel
OpSelectionMerge %2417 None
OpBranchConditional %26 %2416 %2417
%2416 = OpLabel
%2418 = OpAccessChain %38 %35 %37
%2419 = OpLoad %6 %2418
%2420 = OpFOrdLessThan %20 %2419 %41
OpSelectionMerge %2422 None
OpBranchConditional %2420 %2421 %2422
%2421 = OpLabel
OpSelectionMerge %2424 None
OpBranchConditional %21 %2423 %2424
%2423 = OpLabel
OpBranch %2425
%2425 = OpLabel
OpLoopMerge %2427 %2428 None
OpBranch %2426
%2426 = OpLabel
OpBranch %2429
%2429 = OpLabel
OpLoopMerge %2431 %2432 None
OpBranch %2430
%2430 = OpLabel
OpKill
%2432 = OpLabel
OpBranch %2429
%2431 = OpLabel
OpUnreachable
%2428 = OpLabel
OpBranch %2425
%2427 = OpLabel
OpUnreachable
%2424 = OpLabel
OpKill
%2422 = OpLabel
OpBranch %2417
%2417 = OpLabel
OpSelectionMerge %2436 None
OpBranchConditional %21 %2435 %2436
%2435 = OpLabel
OpBranch %2336
%2436 = OpLabel
OpBranch %2337
%2337 = OpLabel
%2438 = OpLoad %54 %2329
%2439 = OpISub %54 %2438 %84
OpStore %2329 %2439
OpBranch %2334
%2336 = OpLabel
OpBranch %2322
%2322 = OpLabel
%2440 = OpLoad %54 %2318
%2441 = OpISub %54 %2440 %84
OpStore %2318 %2441
OpBranch %2319
%2321 = OpLabel
OpBranch %2317
%2317 = OpLabel
%2442 = OpAccessChain %38 %35 %37
%2443 = OpLoad %6 %2442
%2444 = OpFOrdLessThan %20 %2443 %41
OpSelectionMerge %2446 None
OpBranchConditional %2444 %2445 %2446
%2445 = OpLabel
%2447 = OpAccessChain %38 %35 %37
%2448 = OpLoad %6 %2447
%2449 = OpFOrdLessThan %20 %2448 %41
OpSelectionMerge %2451 None
OpBranchConditional %2449 %2450 %2451
%2450 = OpLabel
OpSelectionMerge %2453 None
OpBranchConditional %26 %2452 %2453
%2452 = OpLabel
%2454 = OpAccessChain %38 %35 %37
%2455 = OpLoad %6 %2454
%2456 = OpFOrdGreaterThanEqual %20 %2455 %41
OpSelectionMerge %2458 None
OpBranchConditional %2456 %2457 %2458
%2457 = OpLabel
OpKill
%2458 = OpLabel
OpBranch %2453
%2453 = OpLabel
OpBranch %2451
%2451 = OpLabel
OpBranch %2460
%2460 = OpLabel
OpLoopMerge %2462 %2463 None
OpBranch %2461
%2461 = OpLabel
%2464 = OpAccessChain %38 %35 %37
%2465 = OpLoad %6 %2464
%2466 = OpFOrdLessThan %20 %2465 %41
OpSelectionMerge %2468 None
OpBranchConditional %2466 %2467 %2468
%2467 = OpLabel
OpKill
%2468 = OpLabel
OpBranch %2463
%2463 = OpLabel
%2470 = OpAccessChain %56 %53 %55 %37
%2471 = OpLoad %6 %2470
%2472 = OpAccessChain %56 %53 %55 %88
%2473 = OpLoad %6 %2472
%2474 = OpFOrdGreaterThan %20 %2471 %2473
OpBranchConditional %2474 %2460 %2462
%2462 = OpLabel
%2475 = OpAccessChain %38 %35 %37
%2476 = OpLoad %6 %2475
%2477 = OpFOrdLessThan %20 %2476 %41
OpSelectionMerge %2479 None
OpBranchConditional %2477 %2478 %2480
%2478 = OpLabel
OpBranch %2479
%2480 = OpLabel
OpSelectionMerge %2482 None
OpBranchConditional %21 %2481 %2482
%2481 = OpLabel
OpSelectionMerge %2484 None
OpBranchConditional %21 %2483 %2485
%2483 = OpLabel
OpBranch %2484
%2485 = OpLabel
OpStore %2486 %55
OpBranch %2487
%2487 = OpLabel
OpLoopMerge %2489 %2490 None
OpBranch %2491
%2491 = OpLabel
%2492 = OpLoad %54 %2486
%2493 = OpINotEqual %20 %2492 %84
OpBranchConditional %2493 %2488 %2489
%2488 = OpLabel
%2495 = OpAccessChain %56 %53 %55 %88
%2496 = OpLoad %6 %2495
%2497 = OpConvertFToS %54 %2496
OpStore %2494 %2497
OpBranch %2498
%2498 = OpLabel
OpLoopMerge %2500 %2501 None
OpBranch %2502
%2502 = OpLabel
%2503 = OpLoad %54 %2494
%2504 = OpINotEqual %20 %2503 %55
OpBranchConditional %2504 %2499 %2500
%2499 = OpLabel
OpReturnValue %24
%2501 = OpLabel
OpBranch %2498
%2500 = OpLabel
OpSelectionMerge %2509 None
OpBranchConditional %21 %2508 %2509
%2508 = OpLabel
OpBranch %2490
%2509 = OpLabel
OpBranch %2490
%2490 = OpLabel
%2511 = OpLoad %54 %2486
%2512 = OpIAdd %54 %2511 %84
OpStore %2486 %2512
OpBranch %2487
%2489 = OpLabel
OpBranch %2484
%2484 = OpLabel
OpSelectionMerge %2514 None
OpBranchConditional %21 %2513 %2514
%2513 = OpLabel
OpReturnValue %24
%2514 = OpLabel
OpBranch %2482
%2482 = OpLabel
OpBranch %2479
%2479 = OpLabel
%2516 = OpAccessChain %56 %53 %55 %37
%2517 = OpLoad %6 %2516
%2518 = OpAccessChain %56 %53 %55 %88
%2519 = OpLoad %6 %2518
%2520 = OpFOrdGreaterThan %20 %2517 %2519
OpSelectionMerge %2522 None
OpBranchConditional %2520 %2521 %2522
%2521 = OpLabel
OpBranch %2254
%2522 = OpLabel
OpSelectionMerge %2525 None
OpBranchConditional %21 %2524 %2525
%2524 = OpLabel
OpSelectionMerge %2527 None
OpBranchConditional %21 %2526 %2528
%2526 = OpLabel
OpBranch %2527
%2528 = OpLabel
OpReturnValue %24
%2527 = OpLabel
OpBranch %2525
%2525 = OpLabel
OpReturnValue %24
%2446 = OpLabel
OpSelectionMerge %2532 None
OpBranchConditional %21 %2531 %2532
%2531 = OpLabel
OpBranch %2254
%2532 = OpLabel
OpSelectionMerge %2535 None
OpBranchConditional %26 %2534 %2535
%2534 = OpLabel
OpSelectionMerge %2537 None
OpBranchConditional %26 %2536 %2537
%2536 = OpLabel
%2538 = OpAccessChain %38 %35 %88
%2539 = OpLoad %6 %2538
%2540 = OpFOrdLessThan %20 %2539 %41
OpSelectionMerge %2542 None
OpBranchConditional %2540 %2541 %2542
%2541 = OpLabel
OpKill
%2542 = OpLabel
OpBranch %2537
%2537 = OpLabel
OpBranch %2535
%2535 = OpLabel
OpSelectionMerge %2545 None
OpBranchConditional %21 %2544 %2546
%2544 = OpLabel
OpBranch %2545
%2546 = OpLabel
%2547 = OpAccessChain %38 %35 %37
%2548 = OpLoad %6 %2547
%2549 = OpFOrdLessThan %20 %2548 %41
OpSelectionMerge %2551 None
OpBranchConditional %2549 %2550 %2551
%2550 = OpLabel
OpKill
%2551 = OpLabel
OpSelectionMerge %2554 None
OpBranchConditional %21 %2553 %2554
%2553 = OpLabel
OpSelectionMerge %2556 None
OpBranchConditional %21 %2555 %2556
%2555 = OpLabel
OpReturnValue %24
%2556 = OpLabel
%2558 = OpAccessChain %56 %53 %55 %37
%2559 = OpLoad %6 %2558
%2560 = OpAccessChain %56 %53 %55 %88
%2561 = OpLoad %6 %2560
%2562 = OpFOrdLessThan %20 %2559 %2561
OpSelectionMerge %2564 None
OpBranchConditional %2562 %2563 %2564
%2563 = OpLabel
OpSelectionMerge %2566 None
OpBranchConditional %26 %2565 %2595
%2565 = OpLabel
OpStore %2567 %84
OpBranch %2568
%2568 = OpLabel
OpLoopMerge %2570 %2571 None
OpBranch %2572
%2572 = OpLabel
%2573 = OpLoad %54 %2567
%2574 = OpAccessChain %56 %53 %55 %37
%2575 = OpLoad %6 %2574
%2576 = OpConvertFToS %54 %2575
%2577 = OpBitwiseXor %54 %55 %2576
%2578 = OpSGreaterThan %20 %2573 %2577
OpBranchConditional %2578 %2569 %2570
%2569 = OpLabel
OpSelectionMerge %2580 None
OpBranchConditional %21 %2579 %2580
%2579 = OpLabel
OpBranch %2570
%2580 = OpLabel
OpBranch %2582
%2582 = OpLabel
OpLoopMerge %2584 %2585 None
OpBranch %2583
%2583 = OpLabel
OpReturnValue %24
%2585 = OpLabel
OpBranch %2582
%2584 = OpLabel
OpUnreachable
%2571 = OpLabel
OpBranch %2568
%2570 = OpLabel
OpSelectionMerge %2590 None
OpBranchConditional %21 %2589 %2590
%2589 = OpLabel
OpBranch %2255
%2590 = OpLabel
OpSelectionMerge %2593 None
OpBranchConditional %21 %2592 %2593
%2592 = OpLabel
OpReturnValue %24
%2593 = OpLabel
OpBranch %2566
%2595 = OpLabel
OpStore %2596 %55
OpBranch %2597
%2597 = OpLabel
OpLoopMerge %2599 %2600 None
OpBranch %2601
%2601 = OpLabel
%2602 = OpLoad %54 %2596
%2603 = OpINotEqual %20 %2602 %84
OpBranchConditional %2603 %2598 %2599
%2598 = OpLabel
OpSelectionMerge %2605 None
OpBranchConditional %26 %2604 %2605
%2604 = OpLabel
%2606 = OpAccessChain %38 %35 %88
%2607 = OpLoad %6 %2606
%2608 = OpAccessChain %56 %53 %55 %37
%2609 = OpLoad %6 %2608
%2610 = OpFOrdLessThan %20 %2607 %2609
OpSelectionMerge %2612 None
OpBranchConditional %2610 %2611 %2612
%2611 = OpLabel
OpSelectionMerge %2614 None
OpBranchConditional %21 %2613 %2615
%2613 = OpLabel
OpBranch %2614
%2615 = OpLabel
OpReturnValue %24
%2614 = OpLabel
OpBranch %2612
%2612 = OpLabel
OpBranch %2605
%2605 = OpLabel
OpBranch %2600
%2600 = OpLabel
%2617 = OpLoad %54 %2596
%2618 = OpIAdd %54 %2617 %84
OpStore %2596 %2618
OpBranch %2597
%2599 = OpLabel
OpBranch %2566
%2566 = OpLabel
OpBranch %2564
%2564 = OpLabel
OpBranch %2554
%2554 = OpLabel
OpSelectionMerge %2620 None
OpBranchConditional %21 %2619 %2620
%2619 = OpLabel
OpBranch %2255
%2620 = OpLabel
%2622 = OpAccessChain %38 %35 %88
%2623 = OpLoad %6 %2622
%2624 = OpFOrdLessThan %20 %2623 %41
OpSelectionMerge %2626 None
OpBranchConditional %2624 %2625 %2626
%2625 = OpLabel
OpBranch %2255
%2626 = OpLabel
OpSelectionMerge %2629 None
OpBranchConditional %26 %2628 %2629
%2628 = OpLabel
OpBranch %2630
%2630 = OpLabel
OpLoopMerge %2632 %2633 None
OpBranch %2631
%2631 = OpLabel
%2635 = OpAccessChain %56 %53 %55 %37
%2636 = OpLoad %6 %2635
%2637 = OpConvertFToS %54 %2636
OpStore %2634 %2637
OpBranch %2638
%2638 = OpLabel
OpLoopMerge %2640 %2641 None
OpBranch %2642
%2642 = OpLabel
%2643 = OpLoad %54 %2634
%2644 = OpSLessThan %20 %2643 %84
OpBranchConditional %2644 %2639 %2640
%2639 = OpLabel
%2645 = OpAccessChain %38 %35 %37
%2646 = OpLoad %6 %2645
%2647 = OpFOrdLessThan %20 %2646 %41
OpSelectionMerge %2649 None
OpBranchConditional %2647 %2648 %2650
%2648 = OpLabel
OpBranch %2649
%2650 = OpLabel
OpStore %2651 %84
OpBranch %2652
%2652 = OpLabel
OpLoopMerge %2654 %2655 None
OpBranch %2656
%2656 = OpLabel
%2657 = OpLoad %54 %2651
%2658 = OpAccessChain %56 %53 %55 %37
%2659 = OpLoad %6 %2658
%2660 = OpConvertFToS %54 %2659
%2661 = OpSGreaterThan %20 %2657 %2660
OpBranchConditional %2661 %2653 %2654
%2653 = OpLabel
%2662 = OpAccessChain %38 %35 %88
%2663 = OpLoad %6 %2662
%2664 = OpFOrdLessThan %20 %2663 %41
OpSelectionMerge %2666 None
OpBranchConditional %2664 %2665 %2666
%2665 = OpLabel
OpStore %2667 %84
OpBranch %2668
%2668 = OpLabel
OpLoopMerge %2670 %2671 None
OpBranch %2672
%2672 = OpLabel
%2673 = OpLoad %54 %2667
%2674 = OpSGreaterThan %20 %2673 %55
OpBranchConditional %2674 %2669 %2670
%2669 = OpLabel
OpBranch %2675
%2675 = OpLabel
OpLoopMerge %2677 %2678 None
OpBranch %2676
%2676 = OpLabel
%2679 = OpAccessChain %38 %35 %88
%2680 = OpLoad %6 %2679
%2681 = OpFOrdLessThan %20 %2680 %41
OpSelectionMerge %2683 None
OpBranchConditional %2681 %2682 %2683
%2682 = OpLabel
OpBranch %2678
%2683 = OpLabel
%2685 = OpAccessChain %56 %53 %55 %37
%2686 = OpLoad %6 %2685
%2687 = OpAccessChain %56 %53 %55 %88
%2688 = OpLoad %6 %2687
%2689 = OpFOrdGreaterThan %20 %2686 %2688
OpSelectionMerge %2691 None
OpBranchConditional %2689 %2690 %2692
%2690 = OpLabel
OpBranch %2691
%2692 = OpLabel
OpSelectionMerge %2694 None
OpBranchConditional %21 %2693 %2694
%2693 = OpLabel
OpKill
%2694 = OpLabel
OpBranch %2691
%2691 = OpLabel
OpBranch %2678
%2678 = OpLabel
%2696 = OpAccessChain %56 %53 %55 %37
%2697 = OpLoad %6 %2696
%2698 = OpAccessChain %56 %53 %55 %88
%2699 = OpLoad %6 %2698
%2700 = OpFOrdGreaterThan %20 %2697 %2699
OpBranchConditional %2700 %2675 %2677
%2677 = OpLabel
OpBranch %2671
%2671 = OpLabel
%2701 = OpLoad %54 %2667
%2702 = OpISub %54 %2701 %84
OpStore %2667 %2702
OpBranch %2668
%2670 = OpLabel
%2703 = OpAccessChain %56 %53 %55 %37
%2704 = OpLoad %6 %2703
%2705 = OpAccessChain %56 %53 %55 %88
%2706 = OpLoad %6 %2705
%2707 = OpFOrdGreaterThan %20 %2704 %2706
OpSelectionMerge %2709 None
OpBranchConditional %2707 %2708 %2709
%2708 = OpLabel
OpBranch %2655
%2709 = OpLabel
OpSelectionMerge %2712 None
OpBranchConditional %21 %2711 %2712
%2711 = OpLabel
OpBranch %2655
%2712 = OpLabel
OpReturnValue %24
%2666 = OpLabel
OpSelectionMerge %2716 None
OpBranchConditional %21 %2715 %2716
%2715 = OpLabel
OpKill
%2716 = OpLabel
OpSelectionMerge %2719 None
OpBranchConditional %21 %2718 %2719
%2718 = OpLabel
OpBranch %2655
%2719 = OpLabel
OpStore %2721 %84
OpBranch %2722
%2722 = OpLabel
OpLoopMerge %2724 %2725 None
OpBranch %2726
%2726 = OpLabel
%2727 = OpLoad %54 %2721
%2728 = OpINotEqual %20 %2727 %55
OpBranchConditional %2728 %2723 %2724
%2723 = OpLabel
OpBranch %2729
%2729 = OpLabel
OpLoopMerge %2731 %2732 None
OpBranch %2730
%2730 = OpLabel
OpSelectionMerge %2734 None
OpBranchConditional %26 %2733 %2734
%2733 = OpLabel
%2735 = OpAccessChain %38 %35 %37
%2736 = OpLoad %6 %2735
%2737 = OpFOrdLessThan %20 %2736 %41
OpSelectionMerge %2739 None
OpBranchConditional %2737 %2738 %2740
%2738 = OpLabel
OpBranch %2739
%2740 = OpLabel
OpSelectionMerge %2742 None
OpBranchConditional %21 %2741 %2743
%2741 = OpLabel
OpBranch %2742
%2743 = OpLabel
%2745 = OpLoad %6 %2192
%2746 = OpFSub %6 %2744 %2745
OpStore %2192 %2746
OpBranch %2742
%2742 = OpLabel
OpBranch %2739
%2739 = OpLabel
OpBranch %2734
%2734 = OpLabel
OpBranch %2732
%2732 = OpLabel
OpBranchConditional %21 %2729 %2731
%2731 = OpLabel
OpBranch %2725
%2725 = OpLabel
%2747 = OpLoad %54 %2721
%2748 = OpISub %54 %2747 %84
OpStore %2721 %2748
OpBranch %2722
%2724 = OpLabel
OpBranch %2655
%2655 = OpLabel
%2749 = OpLoad %54 %2651
%2750 = OpISub %54 %2749 %84
OpStore %2651 %2750
OpBranch %2652
%2654 = OpLabel
OpBranch %2649
%2649 = OpLabel
OpSelectionMerge %2752 None
OpBranchConditional %21 %2751 %2752
%2751 = OpLabel
%2753 = OpAccessChain %56 %53 %55 %37
%2754 = OpLoad %6 %2753
%2755 = OpAccessChain %56 %53 %55 %88
%2756 = OpLoad %6 %2755
%2757 = OpFOrdGreaterThan %20 %2754 %2756
OpSelectionMerge %2759 None
OpBranchConditional %2757 %2758 %2759
%2758 = OpLabel
%2760 = OpAccessChain %38 %35 %37
%2761 = OpLoad %6 %2760
%2762 = OpFOrdLessThan %20 %2761 %41
OpSelectionMerge %2764 None
OpBranchConditional %2762 %2763 %2764
%2763 = OpLabel
OpBranch %2641
%2764 = OpLabel
OpKill
%2759 = OpLabel
OpSelectionMerge %2768 None
OpBranchConditional %21 %2767 %2769
%2767 = OpLabel
OpBranch %2768
%2769 = OpLabel
OpStore %2770 %84
OpBranch %2771
%2771 = OpLabel
OpLoopMerge %2773 %2774 None
OpBranch %2775
%2775 = OpLabel
%2776 = OpLoad %54 %2770
%2777 = OpINotEqual %20 %2776 %55
OpBranchConditional %2777 %2772 %2773
%2772 = OpLabel
%2778 = OpAccessChain %38 %35 %37
%2779 = OpLoad %6 %2778
%2780 = OpFOrdLessThan %20 %2779 %41
OpSelectionMerge %2782 None
OpBranchConditional %2780 %2781 %2782
%2781 = OpLabel
OpKill
%2782 = OpLabel
OpBranch %2774
%2774 = OpLabel
%2784 = OpLoad %54 %2770
%2785 = OpISub %54 %2784 %84
OpStore %2770 %2785
OpBranch %2771
%2773 = OpLabel
OpBranch %2768
%2768 = OpLabel
%2786 = OpAccessChain %38 %35 %37
%2787 = OpLoad %6 %2786
%2788 = OpFOrdLessThan %20 %2787 %41
OpSelectionMerge %2790 None
OpBranchConditional %2788 %2789 %2790
%2789 = OpLabel
OpBranch %2640
%2790 = OpLabel
%2792 = OpAccessChain %38 %35 %88
%2793 = OpLoad %6 %2792
%2794 = OpFOrdGreaterThanEqual %20 %2793 %41
OpSelectionMerge %2796 None
OpBranchConditional %2794 %2795 %2796
%2795 = OpLabel
%2797 = OpAccessChain %38 %35 %37
%2798 = OpLoad %6 %2797
%2802 = OpExtInst %6 %1 Determinant %2801
%2803 = OpFOrdLessThan %20 %2798 %2802
OpSelectionMerge %2805 None
OpBranchConditional %2803 %2804 %2805
%2804 = OpLabel
OpReturnValue %24
%2805 = OpLabel
OpBranch %2796
%2796 = OpLabel
OpBranch %2640
%2752 = OpLabel
OpBranch %2641
%2641 = OpLabel
%2808 = OpLoad %54 %2634
%2809 = OpIAdd %54 %2808 %84
OpStore %2634 %2809
OpBranch %2638
%2640 = OpLabel
OpBranch %2633
%2633 = OpLabel
%2810 = OpAccessChain %56 %53 %55 %37
%2811 = OpLoad %6 %2810
%2812 = OpAccessChain %56 %53 %55 %88
%2813 = OpLoad %6 %2812
%2814 = OpFOrdGreaterThan %20 %2811 %2813
OpBranchConditional %2814 %2630 %2632
%2632 = OpLabel
OpBranch %2629
%2629 = OpLabel
OpSelectionMerge %2816 None
OpBranchConditional %21 %2815 %2816
%2815 = OpLabel
%2817 = OpAccessChain %38 %35 %37
%2818 = OpLoad %6 %2817
%2819 = OpFOrdLessThan %20 %2818 %41
OpSelectionMerge %2821 None
OpBranchConditional %2819 %2820 %2821
%2820 = OpLabel
OpBranch %2255
%2821 = OpLabel
OpBranch %2254
%2816 = OpLabel
OpBranch %2545
%2545 = OpLabel
%2824 = OpAccessChain %56 %53 %55 %37
%2825 = OpLoad %6 %2824
%2826 = OpAccessChain %56 %53 %55 %88
%2827 = OpLoad %6 %2826
%2828 = OpFOrdGreaterThan %20 %2825 %2827
OpSelectionMerge %2830 None
OpBranchConditional %2828 %2829 %2830
%2829 = OpLabel
OpBranch %2831
%2831 = OpLabel
OpLoopMerge %2833 %2834 None
OpBranch %2832
%2832 = OpLabel
OpSelectionMerge %2836 None
OpBranchConditional %21 %2835 %2836
%2835 = OpLabel
OpKill
%2836 = OpLabel
OpBranch %2834
%2834 = OpLabel
%2838 = OpAccessChain %38 %35 %88
%2839 = OpLoad %6 %2838
%2840 = OpFOrdLessThan %20 %2839 %41
OpBranchConditional %2840 %2831 %2833
%2833 = OpLabel
%2841 = OpAccessChain %56 %53 %55 %37
%2842 = OpLoad %6 %2841
%2843 = OpAccessChain %56 %53 %55 %88
%2844 = OpLoad %6 %2843
%2845 = OpFOrdGreaterThan %20 %2842 %2844
OpSelectionMerge %2847 None
OpBranchConditional %2845 %2846 %2847
%2846 = OpLabel
OpBranch %2254
%2847 = OpLabel
OpStore %2849 %55
OpBranch %2850
%2850 = OpLabel
OpLoopMerge %2852 %2853 None
OpBranch %2854
%2854 = OpLabel
%2855 = OpLoad %54 %2849
%2856 = OpINotEqual %20 %2855 %84
OpBranchConditional %2856 %2851 %2852
%2851 = OpLabel
%2857 = OpAccessChain %38 %35 %37
%2858 = OpLoad %6 %2857
%2859 = OpFOrdLessThan %20 %2858 %41
OpSelectionMerge %2861 None
OpBranchConditional %2859 %2860 %2862
%2860 = OpLabel
OpBranch %2861
%2862 = OpLabel
OpKill
%2861 = OpLabel
OpBranch %2853
%2853 = OpLabel
%2864 = OpLoad %54 %2849
%2865 = OpIAdd %54 %2864 %84
OpStore %2849 %2865
OpBranch %2850
%2852 = OpLabel
OpBranch %2830
%2830 = OpLabel
OpBranch %2255
%2255 = OpLabel
OpBranchConditional %21 %2252 %2254
%2254 = OpLabel
OpBranch %2250
%2250 = OpLabel
OpBranch %2245
%2245 = OpLabel
%2866 = OpAccessChain %38 %35 %88
%2867 = OpLoad %6 %2866
%2868 = OpFOrdLessThan %20 %2867 %41
OpBranchConditional %2868 %2242 %2244
%2244 = OpLabel
OpBranch %2235
%2235 = OpLabel
OpBranch %2227
%2227 = OpLabel
OpBranch %2225
%2225 = OpLabel
%2869 = OpAccessChain %38 %35 %37
%2870 = OpLoad %6 %2869
%2871 = OpFOrdLessThan %20 %2870 %41
OpBranchConditional %2871 %2222 %2224
%2224 = OpLabel
OpSelectionMerge %2873 None
OpBranchConditional %26 %2872 %2873
%2872 = OpLabel
OpBranch %2874
%2874 = OpLabel
OpLoopMerge %2876 %2877 None
OpBranch %2875
%2875 = OpLabel
%2878 = OpAccessChain %38 %35 %88
%2879 = OpLoad %6 %2878
%2880 = OpFOrdLessThan %20 %2879 %41
OpSelectionMerge %2882 None
OpBranchConditional %2880 %2881 %2882
%2881 = OpLabel
OpReturnValue %24
%2882 = OpLabel
OpBranch %2877
%2877 = OpLabel
OpBranchConditional %21 %2874 %2876
%2876 = OpLabel
OpBranch %2884
%2884 = OpLabel
OpLoopMerge %2886 %2887 None
OpBranch %2885
%2885 = OpLabel
OpSelectionMerge %2889 None
OpBranchConditional %21 %2888 %2889
%2888 = OpLabel
OpKill
%2889 = OpLabel
%2891 = OpAccessChain %38 %35 %37
%2892 = OpLoad %6 %2891
%2893 = OpFOrdGreaterThanEqual %20 %2892 %41
OpSelectionMerge %2895 None
OpBranchConditional %2893 %2894 %2895
%2894 = OpLabel
OpBranch %2896
%2896 = OpLabel
OpLoopMerge %2898 %2899 None
OpBranch %2897
%2897 = OpLabel
OpSelectionMerge %2901 None
OpBranchConditional %21 %2900 %2902
%2900 = OpLabel
OpBranch %2901
%2902 = OpLabel
OpStore %2903 %55
OpBranch %2904
%2904 = OpLabel
OpLoopMerge %2906 %2907 None
OpBranch %2908
%2908 = OpLabel
%2909 = OpLoad %54 %2903
%2910 = OpINotEqual %20 %2909 %84
OpBranchConditional %2910 %2905 %2906
%2905 = OpLabel
OpBranch %2911
%2911 = OpLabel
OpLoopMerge %2913 %2914 None
OpBranch %2912
%2912 = OpLabel
OpBranch %2915
%2915 = OpLabel
OpLoopMerge %2917 %2918 None
OpBranch %2916
%2916 = OpLabel
OpSelectionMerge %2920 None
OpBranchConditional %21 %2919 %2920
%2919 = OpLabel
OpSelectionMerge %2922 None
OpBranchConditional %26 %2921 %3111
%2921 = OpLabel
OpBranch %2923
%2923 = OpLabel
OpLoopMerge %2925 %2926 None
OpBranch %2924
%2924 = OpLabel
OpBranch %2927
%2927 = OpLabel
OpLoopMerge %2929 %2930 None
OpBranch %2928
%2928 = OpLabel
OpStore %2931 %84
OpBranch %2932
%2932 = OpLabel
OpLoopMerge %2934 %2935 None
OpBranch %2936
%2936 = OpLabel
%2937 = OpLoad %54 %2931
%2938 = OpINotEqual %20 %2937 %55
OpBranchConditional %2938 %2933 %2934
%2933 = OpLabel
OpSelectionMerge %2940 None
OpBranchConditional %21 %2939 %2940
%2939 = OpLabel
%2942 = OpAccessChain %56 %53 %55 %37
%2943 = OpLoad %6 %2942
%2944 = OpConvertFToS %54 %2943
OpStore %2941 %2944
OpBranch %2945
%2945 = OpLabel
OpLoopMerge %2947 %2948 None
OpBranch %2949
%2949 = OpLabel
%2950 = OpLoad %54 %2941
%2951 = OpSLessThan %20 %2950 %84
OpBranchConditional %2951 %2946 %2947
%2946 = OpLabel
OpKill
%2948 = OpLabel
OpBranch %2945
%2947 = OpLabel
OpBranch %2940
%2940 = OpLabel
%2955 = OpAccessChain %38 %35 %88
%2956 = OpLoad %6 %2955
%2957 = OpFOrdLessThan %20 %2956 %41
OpSelectionMerge %2959 None
OpBranchConditional %2957 %2958 %2960
%2958 = OpLabel
OpBranch %2959
%2960 = OpLabel
OpSelectionMerge %2962 None
OpBranchConditional %21 %2961 %2962
%2961 = OpLabel
OpReturnValue %24
%2962 = OpLabel
%2964 = OpAccessChain %38 %35 %88
%2965 = OpLoad %6 %2964
%2966 = OpFOrdLessThan %20 %2965 %41
OpSelectionMerge %2968 None
OpBranchConditional %2966 %2967 %2968
%2967 = OpLabel
OpReturnValue %24
%2968 = OpLabel
OpBranch %2970
%2970 = OpLabel
OpLoopMerge %2972 %2973 None
OpBranch %2971
%2971 = OpLabel
OpSelectionMerge %2975 None
OpBranchConditional %21 %2974 %2976
%2974 = OpLabel
OpBranch %2975
%2976 = OpLabel
OpSelectionMerge %2978 None
OpBranchConditional %21 %2977 %2979
%2977 = OpLabel
OpBranch %2978
%2979 = OpLabel
OpSelectionMerge %2981 None
OpBranchConditional %21 %2980 %2985
%2980 = OpLabel
OpSelectionMerge %2983 None
OpBranchConditional %21 %2982 %2983
%2982 = OpLabel
OpReturnValue %24
%2983 = OpLabel
OpBranch %2981
%2985 = OpLabel
OpStore %2986 %55
OpBranch %2987
%2987 = OpLabel
OpLoopMerge %2989 %2990 None
OpBranch %2991
%2991 = OpLabel
%2992 = OpLoad %54 %2986
%2993 = OpSLessThan %20 %2992 %84
OpBranchConditional %2993 %2988 %2989
%2988 = OpLabel
OpSelectionMerge %2995 None
OpBranchConditional %26 %2994 %2995
%2994 = OpLabel
OpReturnValue %24
%2995 = OpLabel
%2997 = OpAccessChain %38 %35 %88
%2998 = OpLoad %6 %2997
%2999 = OpFOrdLessThan %20 %2998 %41
OpSelectionMerge %3001 None
OpBranchConditional %2999 %3000 %3001
%3000 = OpLabel
OpBranch %2990
%3001 = OpLabel
OpBranch %2990
%2990 = OpLabel
%3003 = OpLoad %54 %2986
%3004 = OpIAdd %54 %3003 %84
OpStore %2986 %3004
OpBranch %2987
%2989 = OpLabel
OpBranch %2981
%2981 = OpLabel
OpSelectionMerge %3006 None
OpBranchConditional %21 %3005 %3006
%3005 = OpLabel
OpBranch %2973
%3006 = OpLabel
OpSelectionMerge %3009 None
OpBranchConditional %26 %3008 %3009
%3008 = OpLabel
%3010 = OpAccessChain %38 %35 %37
%3011 = OpLoad %6 %3010
%3012 = OpFOrdLessThan %20 %3011 %41
OpSelectionMerge %3014 None
OpBranchConditional %3012 %3013 %3014
%3013 = OpLabel
OpStore %3015 %84
OpBranch %3016
%3016 = OpLabel
OpLoopMerge %3018 %3019 None
OpBranch %3020
%3020 = OpLabel
%3021 = OpLoad %54 %3015
%3022 = OpSGreaterThan %20 %3021 %55
OpBranchConditional %3022 %3017 %3018
%3017 = OpLabel
OpReturnValue %24
%3019 = OpLabel
OpBranch %3016
%3018 = OpLabel
OpBranch %3014
%3014 = OpLabel
OpBranch %3009
%3009 = OpLabel
%3026 = OpAccessChain %38 %35 %88
%3027 = OpLoad %6 %3026
%3028 = OpFOrdLessThan %20 %3027 %41
OpSelectionMerge %3030 None
OpBranchConditional %3028 %3029 %3030
%3029 = OpLabel
OpBranch %2973
%3030 = OpLabel
OpBranch %2978
%2978 = OpLabel
OpBranch %2975
%2975 = OpLabel
OpStore %3032 %84
OpBranch %3033
%3033 = OpLabel
OpLoopMerge %3035 %3036 None
OpBranch %3037
%3037 = OpLabel
%3038 = OpLoad %54 %3032
%3039 = OpSGreaterThan %20 %3038 %55
OpBranchConditional %3039 %3034 %3035
%3034 = OpLabel
OpSelectionMerge %3041 None
OpBranchConditional %21 %3040 %3041
%3040 = OpLabel
OpStore %3042 %55
OpBranch %3043
%3043 = OpLabel
OpLoopMerge %3045 %3046 None
OpBranch %3047
%3047 = OpLabel
%3048 = OpLoad %54 %3042
%3049 = OpINotEqual %20 %3048 %84
OpBranchConditional %3049 %3044 %3045
%3044 = OpLabel
OpReturnValue %24
%3046 = OpLabel
OpBranch %3043
%3045 = OpLabel
OpBranch %3041
%3041 = OpLabel
OpBranch %3036
%3036 = OpLabel
%3053 = OpLoad %54 %3032
%3054 = OpISub %54 %3053 %84
OpStore %3032 %3054
OpBranch %3033
%3035 = OpLabel
OpBranch %2973
%2973 = OpLabel
OpBranchConditional %21 %2970 %2972
%2972 = OpLabel
OpBranch %2959
%2959 = OpLabel
OpSelectionMerge %3056 None
OpBranchConditional %21 %3055 %3056
%3055 = OpLabel
OpBranch %2935
%3056 = OpLabel
OpBranch %2935
%2935 = OpLabel
%3058 = OpLoad %54 %2931
%3059 = OpISub %54 %3058 %84
OpStore %2931 %3059
OpBranch %2932
%2934 = OpLabel
OpSelectionMerge %3061 None
OpBranchConditional %21 %3060 %3062
%3060 = OpLabel
OpBranch %3061
%3062 = OpLabel
OpSelectionMerge %3064 None
OpBranchConditional %21 %3063 %3064
%3063 = OpLabel
OpBranch %3065
%3065 = OpLabel
OpLoopMerge %3067 %3068 None
OpBranch %3066
%3066 = OpLabel
OpReturnValue %24
%3068 = OpLabel
OpBranch %3065
%3067 = OpLabel
OpUnreachable
%3064 = OpLabel
OpBranch %3061
%3061 = OpLabel
OpBranch %2930
%2930 = OpLabel
OpBranchConditional %21 %2927 %2929
%2929 = OpLabel
OpBranch %2926
%2926 = OpLabel
OpBranchConditional %21 %2923 %2925
%2925 = OpLabel
%3070 = OpAccessChain %38 %35 %88
%3071 = OpLoad %6 %3070
%3072 = OpFOrdLessThan %20 %3071 %41
OpSelectionMerge %3074 None
OpBranchConditional %3072 %3073 %3084
%3073 = OpLabel
OpSelectionMerge %3076 None
OpBranchConditional %21 %3075 %3076
%3075 = OpLabel
%3077 = OpAccessChain %38 %35 %37
%3078 = OpLoad %6 %3077
%3079 = OpFOrdLessThan %20 %3078 %41
OpSelectionMerge %3081 None
OpBranchConditional %3079 %3080 %3081
%3080 = OpLabel
OpBranch %2918
%3081 = OpLabel
OpKill
%3076 = OpLabel
OpBranch %3074
%3084 = OpLabel
OpSelectionMerge %3086 None
OpBranchConditional %21 %3085 %3086
%3085 = OpLabel
OpKill
%3086 = OpLabel
OpSelectionMerge %3089 None
OpBranchConditional %21 %3088 %3089
%3088 = OpLabel
%3090 = OpAccessChain %56 %53 %55 %37
%3091 = OpLoad %6 %3090
%3092 = OpAccessChain %56 %53 %55 %88
%3093 = OpLoad %6 %3092
%3094 = OpFOrdGreaterThan %20 %3091 %3093
OpSelectionMerge %3096 None
OpBranchConditional %3094 %3095 %3097
%3095 = OpLabel
OpBranch %3096
%3097 = OpLabel
OpKill
%3096 = OpLabel
OpBranch %3089
%3089 = OpLabel
OpSelectionMerge %3100 None
OpBranchConditional %21 %3099 %3100
%3099 = OpLabel
OpReturnValue %24
%3100 = OpLabel
%3102 = OpAccessChain %38 %35 %88
%3103 = OpLoad %6 %3102
%3104 = OpFOrdLessThan %20 %3103 %41
OpSelectionMerge %3106 None
OpBranchConditional %3104 %3105 %3106
%3105 = OpLabel
OpSelectionMerge %3108 None
OpBranchConditional %21 %3107 %3108
%3107 = OpLabel
OpReturnValue %24
%3108 = OpLabel
OpKill
%3106 = OpLabel
OpBranch %3074
%3074 = OpLabel
OpBranch %2922
%3111 = OpLabel
%3112 = OpAccessChain %38 %35 %88
%3113 = OpLoad %6 %3112
%3114 = OpFOrdGreaterThanEqual %20 %3113 %41
%3116 = OpCompositeConstruct %3115 %21 %21 %3114
%3117 = OpCompositeExtract %20 %3116 0
OpSelectionMerge %3119 None
OpBranchConditional %3117 %3118 %3119
%3118 = OpLabel
OpBranch %3120
%3120 = OpLabel
OpLoopMerge %3122 %3123 None
OpBranch %3121
%3121 = OpLabel
OpReturnValue %24
%3123 = OpLabel
OpBranch %3120
%3122 = OpLabel
OpUnreachable
%3119 = OpLabel
%3125 = OpAccessChain %38 %35 %37
%3126 = OpLoad %6 %3125
%3127 = OpFOrdLessThan %20 %3126 %41
OpSelectionMerge %3129 None
OpBranchConditional %3127 %3128 %3129
%3128 = OpLabel
OpSelectionMerge %3131 None
OpBranchConditional %21 %3130 %3132
%3130 = OpLabel
OpBranch %3131
%3132 = OpLabel
OpReturnValue %24
%3131 = OpLabel
OpBranch %3129
%3129 = OpLabel
%3137 = OpAccessChain %38 %35 %37
%3138 = OpLoad %6 %3137
%3139 = OpFOrdLessThan %20 %3138 %41
OpSelectionMerge %3141 None
OpBranchConditional %3139 %3140 %3141
%3140 = OpLabel
OpBranch %2917
%3141 = OpLabel
OpBranch %2922
%2922 = OpLabel
OpBranch %2920
%2920 = OpLabel
OpBranch %2918
%2918 = OpLabel
%3143 = OpAccessChain %38 %35 %37
%3144 = OpLoad %6 %3143
%3145 = OpFOrdLessThan %20 %3144 %41
OpBranchConditional %3145 %2915 %2917
%2917 = OpLabel
OpBranch %2914
%2914 = OpLabel
OpBranchConditional %21 %2911 %2913
%2913 = OpLabel
OpBranch %2907
%2907 = OpLabel
%3146 = OpLoad %54 %2903
%3147 = OpIAdd %54 %3146 %84
OpStore %2903 %3147
OpBranch %2904
%2906 = OpLabel
%3148 = OpAccessChain %17 %10 %37
%3149 = OpLoad %6 %3148
%3150 = OpFOrdLessThan %20 %3149 %41
OpSelectionMerge %3152 None
OpBranchConditional %3150 %3151 %3152
%3151 = OpLabel
OpSelectionMerge %3154 None
OpBranchConditional %26 %3153 %3154
%3153 = OpLabel
OpSelectionMerge %3156 None
OpBranchConditional %21 %3155 %3157
%3155 = OpLabel
OpBranch %3156
%3157 = OpLabel
%3158 = OpAccessChain %38 %35 %37
%3159 = OpLoad %6 %3158
%3160 = OpFOrdGreaterThanEqual %20 %3159 %41
OpSelectionMerge %3162 None
OpBranchConditional %3160 %3161 %3162
%3161 = OpLabel
OpSelectionMerge %3164 None
OpBranchConditional %21 %3163 %3164
%3163 = OpLabel
OpSelectionMerge %3166 None
OpBranchConditional %21 %3165 %3167
%3165 = OpLabel
OpBranch %3166
%3167 = OpLabel
OpSelectionMerge %3169 None
OpBranchConditional %21 %3168 %3170
%3168 = OpLabel
OpBranch %3169
%3170 = OpLabel
OpSelectionMerge %3172 None
OpBranchConditional %21 %3171 %3172
%3171 = OpLabel
OpSelectionMerge %3174 None
OpBranchConditional %26 %3173 %3174
%3173 = OpLabel
OpKill
%3174 = OpLabel
OpBranch %3172
%3172 = OpLabel
OpBranch %3169
%3169 = OpLabel
OpBranch %3166
%3166 = OpLabel
OpSelectionMerge %3177 None
OpBranchConditional %26 %3176 %3211
%3176 = OpLabel
%3178 = OpAccessChain %38 %35 %88
%3179 = OpLoad %6 %3178
%3180 = OpFOrdLessThan %20 %3179 %41
OpSelectionMerge %3182 None
OpBranchConditional %3180 %3181 %3182
%3181 = OpLabel
OpKill
%3182 = OpLabel
OpSelectionMerge %3185 None
OpBranchConditional %26 %3184 %3194
%3184 = OpLabel
OpSelectionMerge %3187 None
OpBranchConditional %21 %3186 %3187
%3186 = OpLabel
OpBranch %2899
%3187 = OpLabel
OpBranch %3189
%3189 = OpLabel
OpLoopMerge %3191 %3192 None
OpBranch %3190
%3190 = OpLabel
OpReturnValue %24
%3192 = OpLabel
OpBranch %3189
%3191 = OpLabel
OpUnreachable
%3194 = OpLabel
OpSelectionMerge %3196 None
OpBranchConditional %21 %3195 %3196
%3195 = OpLabel
OpStore %3197 %84
OpBranch %3198
%3198 = OpLabel
OpLoopMerge %3200 %3201 None
OpBranch %3202
%3202 = OpLabel
%3203 = OpLoad %54 %3197
%3204 = OpINotEqual %20 %3203 %55
OpBranchConditional %3204 %3199 %3200
%3199 = OpLabel
OpKill
%3201 = OpLabel
OpBranch %3198
%3200 = OpLabel
OpBranch %3196
%3196 = OpLabel
OpBranch %3185
%3185 = OpLabel
OpSelectionMerge %3209 None
OpBranchConditional %21 %3208 %3209
%3208 = OpLabel
OpKill
%3209 = OpLabel
OpBranch %3177
%3211 = OpLabel
OpStore %3212 %84
OpBranch %3213
%3213 = OpLabel
OpLoopMerge %3215 %3216 None
OpBranch %3217
%3217 = OpLabel
%3218 = OpLoad %54 %3212
%3219 = OpAccessChain %56 %53 %55 %37
%3220 = OpLoad %6 %3219
%3221 = OpConvertFToS %54 %3220
%3222 = OpSGreaterThan %20 %3218 %3221
OpBranchConditional %3222 %3214 %3215
%3214 = OpLabel
OpSelectionMerge %3224 None
OpBranchConditional %21 %3223 %3224
%3223 = OpLabel
OpReturnValue %24
%3224 = OpLabel
OpBranch %3216
%3216 = OpLabel
%3226 = OpLoad %54 %3212
%3227 = OpISub %54 %3226 %84
OpStore %3212 %3227
OpBranch %3213
%3215 = OpLabel
%3228 = OpAccessChain %38 %35 %88
%3229 = OpLoad %6 %3228
%3230 = OpFOrdLessThan %20 %3229 %41
OpSelectionMerge %3232 None
OpBranchConditional %3230 %3231 %3232
%3231 = OpLabel
OpBranch %2898
%3232 = OpLabel
OpBranch %3177
%3177 = OpLabel
OpBranch %3164
%3164 = OpLabel
OpSelectionMerge %3235 None
OpBranchConditional %21 %3234 %3235
%3234 = OpLabel
OpBranch %2899
%3235 = OpLabel
OpBranch %3162
%3162 = OpLabel
%3237 = OpAccessChain %56 %53 %55 %37
%3238 = OpLoad %6 %3237
%3239 = OpAccessChain %56 %53 %55 %88
%3240 = OpLoad %6 %3239
%3241 = OpFOrdGreaterThan %20 %3238 %3240
OpSelectionMerge %3243 None
OpBranchConditional %3241 %3242 %3243
%3242 = OpLabel
OpBranch %2898
%3243 = OpLabel
OpBranch %3156
%3156 = OpLabel
OpBranch %3154
%3154 = OpLabel
OpSelectionMerge %3246 None
OpBranchConditional %26 %3245 %3246
%3245 = OpLabel
OpSelectionMerge %3248 None
OpBranchConditional %21 %3247 %3275
%3247 = OpLabel
%3250 = OpAccessChain %56 %53 %55 %88
%3251 = OpLoad %6 %3250
%3252 = OpConvertFToS %54 %3251
OpStore %3249 %3252
OpBranch %3253
%3253 = OpLabel
OpLoopMerge %3255 %3256 None
OpBranch %3257
%3257 = OpLabel
%3258 = OpLoad %54 %3249
%3259 = OpINotEqual %20 %3258 %55
OpBranchConditional %3259 %3254 %3255
%3254 = OpLabel
OpSelectionMerge %3261 None
OpBranchConditional %21 %3260 %3261
%3260 = OpLabel
OpBranch %3262
%3262 = OpLabel
OpLoopMerge %3264 %3265 None
OpBranch %3263
%3263 = OpLabel
OpKill
%3265 = OpLabel
OpBranch %3262
%3264 = OpLabel
OpUnreachable
%3261 = OpLabel
OpBranch %3256
%3256 = OpLabel
%3267 = OpLoad %54 %3249
%3268 = OpISub %54 %3267 %84
OpStore %3249 %3268
OpBranch %3253
%3255 = OpLabel
%3269 = OpAccessChain %38 %35 %37
%3270 = OpLoad %6 %3269
%3271 = OpFOrdLessThan %20 %3270 %41
OpSelectionMerge %3273 None
OpBranchConditional %3271 %3272 %3273
%3272 = OpLabel
OpBranch %2898
%3273 = OpLabel
OpBranch %3248
%3275 = OpLabel
OpStore %3276 %84
OpBranch %3277
%3277 = OpLabel
OpLoopMerge %3279 %3280 None
OpBranch %3281
%3281 = OpLabel
%3282 = OpLoad %54 %3276
%3283 = OpINotEqual %20 %3282 %55
OpBranchConditional %3283 %3278 %3279
%3278 = OpLabel
OpSelectionMerge %3285 None
OpBranchConditional %26 %3284 %3285
%3284 = OpLabel
OpStore %3286 %55
OpBranch %3287
%3287 = OpLabel
OpLoopMerge %3289 %3290 None
OpBranch %3291
%3291 = OpLabel
%3292 = OpLoad %54 %3286
%3293 = OpINotEqual %20 %3292 %84
OpBranchConditional %3293 %3288 %3289
%3288 = OpLabel
OpBranch %3294
%3294 = OpLabel
OpLoopMerge %3296 %3297 None
OpBranch %3295
%3295 = OpLabel
OpSelectionMerge %3299 None
OpBranchConditional %26 %3298 %3299
%3298 = OpLabel
%3300 = OpLoad %6 %2192
%3301 = OpFSub %6 %24 %3300
OpStore %2192 %3301
OpBranch %3299
%3299 = OpLabel
OpSelectionMerge %3303 None
OpBranchConditional %21 %3302 %3303
%3302 = OpLabel
OpReturnValue %24
%3303 = OpLabel
OpBranch %3305
%3305 = OpLabel
OpLoopMerge %3307 %3308 None
OpBranch %3306
%3306 = OpLabel
%3309 = OpAccessChain %56 %53 %55 %37
%3310 = OpLoad %6 %3309
%3311 = OpAccessChain %56 %53 %55 %88
%3312 = OpLoad %6 %3311
%3313 = OpFOrdLessThan %20 %3310 %3312
OpSelectionMerge %3315 None
OpBranchConditional %3313 %3314 %3315
%3314 = OpLabel
%3316 = OpAccessChain %38 %35 %88
%3317 = OpLoad %6 %3316
%3318 = OpFOrdLessThan %20 %3317 %41
OpSelectionMerge %3320 None
OpBranchConditional %3318 %3319 %3320
%3319 = OpLabel
OpSelectionMerge %3322 None
OpBranchConditional %21 %3321 %3322
%3321 = OpLabel
OpReturnValue %24
%3322 = OpLabel
OpSelectionMerge %3325 None
OpBranchConditional %26 %3324 %3325
%3324 = OpLabel
%3326 = OpAccessChain %38 %35 %37
%3327 = OpLoad %6 %3326
%3328 = OpFOrdLessThan %20 %3327 %41
OpSelectionMerge %3330 None
OpBranchConditional %3328 %3329 %3330
%3329 = OpLabel
OpReturnValue %24
%3330 = OpLabel
%3332 = OpAccessChain %38 %35 %37
%3333 = OpLoad %6 %3332
%3334 = OpFOrdLessThan %20 %3333 %41
OpSelectionMerge %3336 None
OpBranchConditional %3334 %3335 %3337
%3335 = OpLabel
OpBranch %3336
%3337 = OpLabel
OpKill
%3336 = OpLabel
OpBranch %3325
%3325 = OpLabel
OpBranch %3320
%3320 = OpLabel
OpBranch %3315
%3315 = OpLabel
OpBranch %3308
%3308 = OpLabel
OpBranchConditional %21 %3305 %3307
%3307 = OpLabel
OpBranch %3297
%3297 = OpLabel
OpBranchConditional %21 %3294 %3296
%3296 = OpLabel
OpBranch %3290
%3290 = OpLabel
%3339 = OpLoad %54 %3286
%3340 = OpIAdd %54 %3339 %84
OpStore %3286 %3340
OpBranch %3287
%3289 = OpLabel
OpBranch %3285
%3285 = OpLabel
OpBranch %3280
%3280 = OpLabel
%3341 = OpLoad %54 %3276
%3342 = OpISub %54 %3341 %84
OpStore %3276 %3342
OpBranch %3277
%3279 = OpLabel
OpBranch %3248
%3248 = OpLabel
OpSelectionMerge %3344 None
OpBranchConditional %21 %3343 %3344
%3343 = OpLabel
OpSelectionMerge %3346 None
OpBranchConditional %26 %3345 %3397
%3345 = OpLabel
OpStore %3347 %84
OpBranch %3348
%3348 = OpLabel
OpLoopMerge %3350 %3351 None
OpBranch %3352
%3352 = OpLabel
%3353 = OpLoad %54 %3347
%3354 = OpSGreaterThan %20 %3353 %55
OpBranchConditional %3354 %3349 %3350
%3349 = OpLabel
OpSelectionMerge %3356 None
OpBranchConditional %21 %3355 %3356
%3355 = OpLabel
OpBranch %3351
%3356 = OpLabel
OpBranch %3358
%3358 = OpLabel
OpLoopMerge %3360 %3361 None
OpBranch %3359
%3359 = OpLabel
OpBranch %3362
%3362 = OpLabel
OpLoopMerge %3364 %3365 None
OpBranch %3363
%3363 = OpLabel
OpKill
%3365 = OpLabel
OpBranch %3362
%3364 = OpLabel
OpUnreachable
%3361 = OpLabel
OpBranch %3358
%3360 = OpLabel
OpUnreachable
%3351 = OpLabel
%3375 = OpLoad %54 %3347
%3376 = OpISub %54 %3375 %84
OpStore %3347 %3376
OpBranch %3348
%3350 = OpLabel
%3377 = OpAccessChain %38 %35 %37
%3378 = OpLoad %6 %3377
%3381 = OpExtInst %6 %1 Determinant %3380
%3382 = OpFOrdLessThan %20 %3378 %3381
OpSelectionMerge %3384 None
OpBranchConditional %3382 %3383 %3384
%3383 = OpLabel
OpSelectionMerge %3386 None
OpBranchConditional %21 %3385 %3386
%3385 = OpLabel
OpBranch %2898
%3386 = OpLabel
OpBranch %2898
%3384 = OpLabel
%3389 = OpAccessChain %56 %53 %55 %37
%3390 = OpLoad %6 %3389
%3391 = OpAccessChain %56 %53 %55 %88
%3392 = OpLoad %6 %3391
%3393 = OpFOrdGreaterThan %20 %3390 %3392
OpSelectionMerge %3395 None
OpBranchConditional %3393 %3394 %3395
%3394 = OpLabel
OpBranch %2899
%3395 = OpLabel
OpBranch %3346
%3397 = OpLabel
%3398 = OpAccessChain %38 %35 %88
%3399 = OpLoad %6 %3398
%3400 = OpFOrdLessThan %20 %3399 %41
OpSelectionMerge %3402 None
OpBranchConditional %3400 %3401 %3402
%3401 = OpLabel
OpBranch %2898
%3402 = OpLabel
OpBranch %3346
%3346 = OpLabel
OpBranch %3344
%3344 = OpLabel
OpBranch %3246
%3246 = OpLabel
OpSelectionMerge %3405 None
OpBranchConditional %21 %3404 %3405
%3404 = OpLabel
OpSelectionMerge %3407 None
OpBranchConditional %21 %3406 %3407
%3406 = OpLabel
OpBranch %2898
%3407 = OpLabel
OpBranch %2899
%3405 = OpLabel
%3410 = OpAccessChain %38 %35 %37
%3411 = OpLoad %6 %3410
%3412 = OpFOrdLessThan %20 %3411 %41
OpSelectionMerge %3414 None
OpBranchConditional %3412 %3413 %3414
%3413 = OpLabel
%3415 = OpAccessChain %38 %35 %88
%3416 = OpLoad %6 %3415
%3417 = OpFOrdLessThan %20 %3416 %41
OpSelectionMerge %3419 None
OpBranchConditional %3417 %3418 %3419
%3418 = OpLabel
OpStore %3420 %55
OpBranch %3421
%3421 = OpLabel
OpLoopMerge %3423 %3424 None
OpBranch %3425
%3425 = OpLabel
%3426 = OpLoad %54 %3420
%3427 = OpSLessThan %20 %3426 %84
OpBranchConditional %3427 %3422 %3423
%3422 = OpLabel
OpBranch %3428
%3428 = OpLabel
OpLoopMerge %3430 %3431 None
OpBranch %3429
%3429 = OpLabel
OpReturnValue %24
%3431 = OpLabel
OpBranch %3428
%3430 = OpLabel
OpUnreachable
%3424 = OpLabel
OpBranch %3421
%3423 = OpLabel
OpBranch %3419
%3419 = OpLabel
%3435 = OpAccessChain %38 %35 %37
%3436 = OpLoad %6 %3435
%3437 = OpFOrdLessThan %20 %3436 %41
OpSelectionMerge %3439 None
OpBranchConditional %3437 %3438 %3439
%3438 = OpLabel
OpBranch %2898
%3439 = OpLabel
%3442 = OpAccessChain %56 %53 %55 %88
%3443 = OpLoad %6 %3442
%3444 = OpConvertFToS %54 %3443
OpStore %3441 %3444
OpBranch %3445
%3445 = OpLabel
OpLoopMerge %3447 %3448 None
OpBranch %3449
%3449 = OpLabel
%3450 = OpLoad %54 %3441
%3451 = OpAccessChain %56 %53 %55 %37
%3452 = OpLoad %6 %3451
%3453 = OpConvertFToS %54 %3452
%3454 = OpINotEqual %20 %3450 %3453
OpBranchConditional %3454 %3446 %3447
%3446 = OpLabel
OpSelectionMerge %3456 None
OpBranchConditional %21 %3455 %3456
%3455 = OpLabel
OpStore %3457 %55
OpBranch %3458
%3458 = OpLabel
OpLoopMerge %3460 %3461 None
OpBranch %3462
%3462 = OpLabel
%3463 = OpLoad %54 %3457
%3464 = OpAccessChain %56 %53 %55 %88
%3465 = OpLoad %6 %3464
%3466 = OpConvertFToS %54 %3465
%3467 = OpINotEqual %20 %3463 %3466
OpBranchConditional %3467 %3459 %3460
%3459 = OpLabel
OpReturnValue %24
%3461 = OpLabel
OpBranch %3458
%3460 = OpLabel
OpBranch %3456
%3456 = OpLabel
OpBranch %3448
%3448 = OpLabel
%3471 = OpLoad %54 %3441
%3472 = OpISub %54 %3471 %84
OpStore %3441 %3472
OpBranch %3445
%3447 = OpLabel
OpSelectionMerge %3474 None
OpBranchConditional %26 %3473 %3776
%3473 = OpLabel
OpBranch %3475
%3475 = OpLabel
OpLoopMerge %3477 %3478 None
OpBranch %3476
%3476 = OpLabel
%3480 = OpAccessChain %56 %53 %55 %88
%3481 = OpLoad %6 %3480
%3482 = OpConvertFToS %54 %3481
OpStore %3479 %3482
OpBranch %3483
%3483 = OpLabel
OpLoopMerge %3485 %3486 None
OpBranch %3487
%3487 = OpLabel
%3488 = OpLoad %54 %3479
%3489 = OpINotEqual %20 %3488 %55
OpBranchConditional %3489 %3484 %3485
%3484 = OpLabel
OpSelectionMerge %3491 None
OpBranchConditional %21 %3490 %3491
%3490 = OpLabel
OpSelectionMerge %3493 None
OpBranchConditional %21 %3492 %3494
%3492 = OpLabel
OpBranch %3493
%3494 = OpLabel
OpSelectionMerge %3496 None
OpBranchConditional %21 %3495 %3496
%3495 = OpLabel
OpBranch %3497
%3497 = OpLabel
OpLoopMerge %3499 %3500 None
OpBranch %3498
%3498 = OpLabel
OpReturnValue %24
%3500 = OpLabel
OpBranch %3497
%3499 = OpLabel
OpUnreachable
%3496 = OpLabel
OpBranch %3493
%3493 = OpLabel
OpReturnValue %24
%3491 = OpLabel
OpBranch %3486
%3486 = OpLabel
%3506 = OpLoad %54 %3479
%3507 = OpISub %54 %3506 %84
OpStore %3479 %3507
OpBranch %3483
%3485 = OpLabel
OpSelectionMerge %3509 None
OpBranchConditional %21 %3508 %3509
%3508 = OpLabel
OpBranch %3510
%3510 = OpLabel
OpLoopMerge %3512 %3513 None
OpBranch %3511
%3511 = OpLabel
%3515 = OpAccessChain %56 %53 %55 %37
%3516 = OpLoad %6 %3515
%3517 = OpConvertFToS %54 %3516
OpStore %3514 %3517
OpBranch %3518
%3518 = OpLabel
OpLoopMerge %3520 %3521 None
OpBranch %3522
%3522 = OpLabel
%3523 = OpLoad %54 %3514
%3524 = OpSLessThan %20 %3523 %84
OpBranchConditional %3524 %3519 %3520
%3519 = OpLabel
OpReturnValue %24
%3521 = OpLabel
OpBranch %3518
%3520 = OpLabel
OpBranch %3513
%3513 = OpLabel
%3528 = OpAccessChain %38 %35 %88
%3529 = OpLoad %6 %3528
%3530 = OpFOrdLessThan %20 %3529 %41
OpBranchConditional %3530 %3510 %3512
%3512 = OpLabel
OpBranch %3509
%3509 = OpLabel
OpBranch %3478
%3478 = OpLabel
OpBranchConditional %21 %3475 %3477
%3477 = OpLabel
OpSelectionMerge %3532 None
OpBranchConditional %21 %3531 %3566
%3531 = OpLabel
OpSelectionMerge %3534 None
OpBranchConditional %21 %3533 %3534
%3533 = OpLabel
OpBranch %2898
%3534 = OpLabel
OpBranch %3536
%3536 = OpLabel
OpLoopMerge %3538 %3539 None
OpBranch %3537
%3537 = OpLabel
OpSelectionMerge %3541 None
OpBranchConditional %21 %3540 %3542
%3540 = OpLabel
OpBranch %3541
%3542 = OpLabel
%3543 = OpAccessChain %56 %53 %55 %37
%3544 = OpLoad %6 %3543
%3545 = OpAccessChain %56 %53 %55 %88
%3546 = OpLoad %6 %3545
%3547 = OpFOrdLessThan %20 %3544 %3546
OpSelectionMerge %3549 None
OpBranchConditional %3547 %3548 %3549
%3548 = OpLabel
%3550 = OpAccessChain %56 %53 %55 %37
%3551 = OpLoad %6 %3550
%3552 = OpAccessChain %56 %53 %55 %88
%3553 = OpLoad %6 %3552
%3554 = OpFOrdGreaterThan %20 %3551 %3553
OpSelectionMerge %3556 None
OpBranchConditional %3554 %3555 %3556
%3555 = OpLabel
OpReturnValue %24
%3556 = OpLabel
OpBranch %3549
%3549 = OpLabel
OpBranch %3541
%3541 = OpLabel
OpBranch %3539
%3539 = OpLabel
OpBranchConditional %21 %3536 %3538
%3538 = OpLabel
%3558 = OpAccessChain %56 %53 %55 %37
%3559 = OpLoad %6 %3558
%3560 = OpAccessChain %56 %53 %55 %88
%3561 = OpLoad %6 %3560
%3562 = OpFOrdGreaterThan %20 %3559 %3561
OpSelectionMerge %3564 None
OpBranchConditional %3562 %3563 %3564
%3563 = OpLabel
OpReturnValue %24
%3564 = OpLabel
OpBranch %3532
%3566 = OpLabel
OpSelectionMerge %3568 None
OpBranchConditional %21 %3567 %3568
%3567 = OpLabel
OpStore %3569 %55
OpBranch %3570
%3570 = OpLabel
OpLoopMerge %3572 %3573 None
OpBranch %3574
%3574 = OpLabel
%3575 = OpLoad %54 %3569
%3576 = OpSLessThan %20 %3575 %84
OpBranchConditional %3576 %3571 %3572
%3571 = OpLabel
OpReturnValue %24
%3573 = OpLabel
OpBranch %3570
%3572 = OpLabel
OpBranch %3568
%3568 = OpLabel
OpSelectionMerge %3581 None
OpBranchConditional %21 %3580 %3581
%3580 = OpLabel
OpSelectionMerge %3583 None
OpBranchConditional %21 %3582 %3583
%3582 = OpLabel
OpBranch %2899
%3583 = OpLabel
OpBranch %2899
%3581 = OpLabel
%3586 = OpAccessChain %38 %35 %37
%3587 = OpLoad %6 %3586
%3588 = OpFOrdLessThan %20 %3587 %41
OpSelectionMerge %3590 None
OpBranchConditional %3588 %3589 %3590
%3589 = OpLabel
OpKill
%3590 = OpLabel
OpBranch %3532
%3532 = OpLabel
OpSelectionMerge %3593 None
OpBranchConditional %21 %3592 %3593
%3592 = OpLabel
OpBranch %2899
%3593 = OpLabel
OpSelectionMerge %3596 None
OpBranchConditional %21 %3595 %3596
%3595 = OpLabel
OpBranch %2899
%3596 = OpLabel
OpSelectionMerge %3599 None
OpBranchConditional %21 %3598 %3599
%3598 = OpLabel
OpKill
%3599 = OpLabel
OpBranch %3601
%3601 = OpLabel
OpLoopMerge %3603 %3604 None
OpBranch %3602
%3602 = OpLabel
OpSelectionMerge %3606 None
OpBranchConditional %21 %3605 %3607
%3605 = OpLabel
OpBranch %3606
%3607 = OpLabel
%3608 = OpAccessChain %38 %35 %37
%3609 = OpLoad %6 %3608
%3610 = OpFOrdLessThan %20 %3609 %41
OpSelectionMerge %3612 None
OpBranchConditional %3610 %3611 %3612
%3611 = OpLabel
OpSelectionMerge %3614 None
OpBranchConditional %21 %3613 %3614
%3613 = OpLabel
OpReturnValue %24
%3614 = OpLabel
%3616 = OpAccessChain %38 %35 %88
%3617 = OpLoad %6 %3616
%3618 = OpFOrdGreaterThanEqual %20 %3617 %41
OpSelectionMerge %3620 None
OpBranchConditional %3618 %3619 %3620
%3619 = OpLabel
OpSelectionMerge %3622 None
OpBranchConditional %21 %3621 %3622
%3621 = OpLabel
OpSelectionMerge %3624 None
OpBranchConditional %26 %3623 %3624
%3623 = OpLabel
OpKill
%3624 = OpLabel
OpBranch %3622
%3622 = OpLabel
OpBranch %3620
%3620 = OpLabel
OpBranch %3626
%3626 = OpLabel
OpLoopMerge %3628 %3629 None
OpBranch %3627
%3627 = OpLabel
OpStore %3630 %55
OpBranch %3631
%3631 = OpLabel
OpLoopMerge %3633 %3634 None
OpBranch %3635
%3635 = OpLabel
%3636 = OpLoad %54 %3630
%3637 = OpINotEqual %20 %3636 %84
OpBranchConditional %3637 %3632 %3633
%3632 = OpLabel
%3638 = OpAccessChain %56 %53 %55 %37
%3639 = OpLoad %6 %3638
%3640 = OpAccessChain %56 %53 %55 %88
%3641 = OpLoad %6 %3640
%3642 = OpFOrdGreaterThan %20 %3639 %3641
OpSelectionMerge %3644 None
OpBranchConditional %3642 %3643 %3644
%3643 = OpLabel
OpKill
%3644 = OpLabel
OpBranch %3634
%3634 = OpLabel
%3646 = OpLoad %54 %3630
%3647 = OpIAdd %54 %3646 %84
OpStore %3630 %3647
OpBranch %3631
%3633 = OpLabel
OpBranch %3629
%3629 = OpLabel
OpBranchConditional %21 %3626 %3628
%3628 = OpLabel
%3648 = OpAccessChain %38 %35 %88
%3649 = OpLoad %6 %3648
%3650 = OpFOrdGreaterThanEqual %20 %3649 %41
OpSelectionMerge %3652 None
OpBranchConditional %3650 %3651 %3652
%3651 = OpLabel
OpStore %3653 %55
OpBranch %3654
%3654 = OpLabel
OpLoopMerge %3656 %3657 None
OpBranch %3658
%3658 = OpLabel
%3659 = OpLoad %54 %3653
%3660 = OpSLessThan %20 %3659 %84
OpBranchConditional %3660 %3655 %3656
%3655 = OpLabel
OpKill
%3657 = OpLabel
OpBranch %3654
%3656 = OpLabel
OpBranch %3652
%3652 = OpLabel
OpBranch %3612
%3612 = OpLabel
OpBranch %3606
%3606 = OpLabel
OpSelectionMerge %3665 None
OpBranchConditional %21 %3664 %3665
%3664 = OpLabel
OpBranch %3604
%3665 = OpLabel
%3667 = OpAccessChain %38 %35 %37
%3668 = OpLoad %6 %3667
%3669 = OpFOrdGreaterThanEqual %20 %3668 %41
OpSelectionMerge %3671 None
OpBranchConditional %3669 %3670 %3692
%3670 = OpLabel
%3672 = OpAccessChain %38 %35 %37
%3673 = OpLoad %6 %3672
%3674 = OpFOrdLessThan %20 %3673 %41
OpSelectionMerge %3676 None
OpBranchConditional %3674 %3675 %3676
%3675 = OpLabel
OpBranch %3603
%3676 = OpLabel
%3678 = OpAccessChain %38 %35 %37
%3679 = OpLoad %6 %3678
%3680 = OpFOrdGreaterThanEqual %20 %3679 %41
OpSelectionMerge %3682 None
OpBranchConditional %3680 %3681 %3682
%3681 = OpLabel
%3683 = OpAccessChain %56 %53 %55 %37
%3684 = OpLoad %6 %3683
%3685 = OpAccessChain %56 %53 %55 %88
%3686 = OpLoad %6 %3685
%3687 = OpFOrdGreaterThan %20 %3684 %3686
OpSelectionMerge %3689 None
OpBranchConditional %3687 %3688 %3689
%3688 = OpLabel
OpBranch %3604
%3689 = OpLabel
OpReturnValue %24
%3682 = OpLabel
OpBranch %3671
%3692 = OpLabel
OpSelectionMerge %3694 None
OpBranchConditional %21 %3693 %3694
%3693 = OpLabel
OpKill
%3694 = OpLabel
OpBranch %3671
%3671 = OpLabel
OpSelectionMerge %3697 None
OpBranchConditional %26 %3696 %3697
%3696 = OpLabel
OpSelectionMerge %3699 None
OpBranchConditional %21 %3698 %3699
%3698 = OpLabel
%3700 = OpAccessChain %38 %35 %88
%3701 = OpLoad %6 %3700
%3702 = OpAccessChain %56 %53 %55 %37
%3703 = OpLoad %6 %3702
%3704 = OpFOrdLessThan %20 %3701 %3703
OpSelectionMerge %3706 None
OpBranchConditional %3704 %3705 %3707
%3705 = OpLabel
OpBranch %3706
%3707 = OpLabel
OpBranch %3708
%3708 = OpLabel
OpLoopMerge %3710 %3711 None
OpBranch %3709
%3709 = OpLabel
OpKill
%3711 = OpLabel
OpBranch %3708
%3710 = OpLabel
OpUnreachable
%3706 = OpLabel
OpBranch %3699
%3699 = OpLabel
OpBranch %3697
%3697 = OpLabel
OpBranch %3713
%3713 = OpLabel
OpLoopMerge %3715 %3716 None
OpBranch %3714
%3714 = OpLabel
OpSelectionMerge %3718 None
OpBranchConditional %21 %3717 %3718
%3717 = OpLabel
%3719 = OpAccessChain %38 %35 %88
%3720 = OpLoad %6 %3719
%3721 = OpFOrdGreaterThanEqual %20 %3720 %41
OpSelectionMerge %3723 None
OpBranchConditional %3721 %3722 %3725
%3722 = OpLabel
OpReturnValue %24
%3725 = OpLabel
OpSelectionMerge %3727 None
OpBranchConditional %21 %3726 %3727
%3726 = OpLabel
OpBranch %3715
%3727 = OpLabel
OpBranch %3723
%3723 = OpLabel
OpSelectionMerge %3730 None
OpBranchConditional %21 %3729 %3730
%3729 = OpLabel
OpKill
%3730 = OpLabel
OpBranch %3718
%3718 = OpLabel
%3732 = OpAccessChain %38 %35 %37
%3733 = OpLoad %6 %3732
%3734 = OpFOrdLessThan %20 %3733 %41
OpSelectionMerge %3736 None
OpBranchConditional %3734 %3735 %3736
%3735 = OpLabel
OpSelectionMerge %3738 None
OpBranchConditional %26 %3737 %3738
%3737 = OpLabel
OpKill
%3738 = OpLabel
OpBranch %3736
%3736 = OpLabel
OpBranch %3716
%3716 = OpLabel
OpBranchConditional %21 %3713 %3715
%3715 = OpLabel
OpBranch %3740
%3740 = OpLabel
OpLoopMerge %3742 %3743 None
OpBranch %3741
%3741 = OpLabel
OpSelectionMerge %3745 None
OpBranchConditional %26 %3744 %3745
%3744 = OpLabel
OpBranch %3746
%3746 = OpLabel
OpLoopMerge %3748 %3749 None
OpBranch %3747
%3747 = OpLabel
OpSelectionMerge %3751 None
OpBranchConditional %21 %3750 %3751
%3750 = OpLabel
%3752 = OpAccessChain %56 %53 %55 %37
%3753 = OpLoad %6 %3752
%3754 = OpAccessChain %56 %53 %55 %88
%3755 = OpLoad %6 %3754
%3756 = OpFOrdLessThan %20 %3753 %3755
OpSelectionMerge %3758 None
OpBranchConditional %3756 %3757 %3758
%3757 = OpLabel
OpKill
%3758 = OpLabel
OpBranch %3751
%3751 = OpLabel
OpBranch %3749
%3749 = OpLabel
OpBranchConditional %21 %3746 %3748
%3748 = OpLabel
OpBranch %3745
%3745 = OpLabel
OpBranch %3743
%3743 = OpLabel
OpBranchConditional %21 %3740 %3742
%3742 = OpLabel
OpSelectionMerge %3761 None
OpBranchConditional %21 %3760 %3761
%3760 = OpLabel
OpBranch %3603
%3761 = OpLabel
OpStore %3763 %55
OpBranch %3764
%3764 = OpLabel
OpLoopMerge %3766 %3767 None
OpBranch %3768
%3768 = OpLabel
%3769 = OpLoad %54 %3763
%3770 = OpSLessThan %20 %3769 %84
OpBranchConditional %3770 %3765 %3766
%3765 = OpLabel
OpSelectionMerge %3772 None
OpBranchConditional %21 %3771 %3772
%3771 = OpLabel
OpKill
%3772 = OpLabel
OpBranch %3767
%3767 = OpLabel
%3774 = OpLoad %54 %3763
%3775 = OpIAdd %54 %3774 %84
OpStore %3763 %3775
OpBranch %3764
%3766 = OpLabel
OpBranch %3604
%3604 = OpLabel
OpBranchConditional %21 %3601 %3603
%3603 = OpLabel
OpBranch %3474
%3776 = OpLabel
%3777 = OpAccessChain %38 %35 %88
%3778 = OpLoad %6 %3777
%3779 = OpFOrdLessThan %20 %3778 %41
OpSelectionMerge %3781 None
OpBranchConditional %3779 %3780 %3781
%3780 = OpLabel
OpBranch %2899
%3781 = OpLabel
%3783 = OpAccessChain %38 %35 %37
%3784 = OpLoad %6 %3783
%3785 = OpFOrdLessThan %20 %3784 %41
OpSelectionMerge %3787 None
OpBranchConditional %3785 %3786 %3787
%3786 = OpLabel
OpBranch %2898
%3787 = OpLabel
OpBranch %3474
%3474 = OpLabel
OpBranch %3414
%3414 = OpLabel
OpSelectionMerge %3790 None
OpBranchConditional %21 %3789 %3790
%3789 = OpLabel
OpBranch %3791
%3791 = OpLabel
OpLoopMerge %3793 %3794 None
OpBranch %3792
%3792 = OpLabel
OpSelectionMerge %3796 None
OpBranchConditional %21 %3795 %3796
%3795 = OpLabel
OpBranch %3794
%3796 = OpLabel
%3798 = OpAccessChain %38 %35 %88
%3799 = OpLoad %6 %3798
%3800 = OpFOrdLessThan %20 %3799 %41
OpSelectionMerge %3802 None
OpBranchConditional %3800 %3801 %3802
%3801 = OpLabel
OpKill
%3802 = OpLabel
OpBranch %3794
%3794 = OpLabel
%3804 = OpAccessChain %38 %35 %88
%3805 = OpLoad %6 %3804
%3806 = OpFOrdLessThan %20 %3805 %41
OpBranchConditional %3806 %3791 %3793
%3793 = OpLabel
OpSelectionMerge %3808 None
OpBranchConditional %21 %3807 %3808
%3807 = OpLabel
%3809 = OpAccessChain %38 %35 %37
%3810 = OpLoad %6 %3809
%3811 = OpFOrdLessThan %20 %3810 %41
OpSelectionMerge %3813 None
OpBranchConditional %3811 %3812 %3813
%3812 = OpLabel
%3814 = OpAccessChain %56 %53 %55 %37
%3815 = OpLoad %6 %3814
%3816 = OpAccessChain %56 %53 %55 %88
%3817 = OpLoad %6 %3816
%3818 = OpFOrdGreaterThan %20 %3815 %3817
OpSelectionMerge %3820 None
OpBranchConditional %3818 %3819 %3821
%3819 = OpLabel
OpBranch %3820
%3821 = OpLabel
OpStore %3822 %55
OpBranch %3823
%3823 = OpLabel
OpLoopMerge %3825 %3826 None
OpBranch %3827
%3827 = OpLabel
%3828 = OpLoad %54 %3822
%3829 = OpSLessThan %20 %3828 %84
OpBranchConditional %3829 %3824 %3825
%3824 = OpLabel
OpReturnValue %24
%3826 = OpLabel
OpBranch %3823
%3825 = OpLabel
OpBranch %3820
%3820 = OpLabel
OpSelectionMerge %3834 None
OpBranchConditional %21 %3833 %3834
%3833 = OpLabel
OpKill
%3834 = OpLabel
OpBranch %3813
%3813 = OpLabel
OpBranch %3836
%3836 = OpLabel
OpLoopMerge %3838 %3839 None
OpBranch %3837
%3837 = OpLabel
OpSelectionMerge %3841 None
OpBranchConditional %21 %3840 %3842
%3840 = OpLabel
OpBranch %3841
%3842 = OpLabel
OpSelectionMerge %3844 None
OpBranchConditional %21 %3843 %3844
%3843 = OpLabel
OpReturnValue %24
%3844 = OpLabel
OpBranch %3841
%3841 = OpLabel
OpBranch %3839
%3839 = OpLabel
OpBranchConditional %21 %3836 %3838
%3838 = OpLabel
OpBranch %2898
%3808 = OpLabel
OpStore %3847 %84
OpBranch %3848
%3848 = OpLabel
OpLoopMerge %3850 %3851 None
OpBranch %3852
%3852 = OpLabel
%3853 = OpLoad %54 %3847
%3854 = OpINotEqual %20 %3853 %55
OpBranchConditional %3854 %3849 %3850
%3849 = OpLabel
%3855 = OpAccessChain %38 %35 %37
%3856 = OpLoad %6 %3855
%3857 = OpFOrdLessThan %20 %3856 %41
OpSelectionMerge %3859 None
OpBranchConditional %3857 %3858 %3859
%3858 = OpLabel
OpBranch %3860
%3860 = OpLabel
OpLoopMerge %3862 %3863 None
OpBranch %3861
%3861 = OpLabel
OpReturnValue %24
%3863 = OpLabel
OpBranch %3860
%3862 = OpLabel
OpUnreachable
%3859 = OpLabel
OpBranch %3851
%3851 = OpLabel
%3868 = OpLoad %54 %3847
%3869 = OpISub %54 %3868 %84
OpStore %3847 %3869
OpBranch %3848
%3850 = OpLabel
%3870 = OpAccessChain %38 %35 %88
%3871 = OpLoad %6 %3870
%3872 = OpFOrdLessThan %20 %3871 %41
OpSelectionMerge %3874 None
OpBranchConditional %3872 %3873 %3878
%3873 = OpLabel
OpSelectionMerge %3876 None
OpBranchConditional %21 %3875 %3876
%3875 = OpLabel
OpBranch %2898
%3876 = OpLabel
OpBranch %3874
%3878 = OpLabel
OpStore %3879 %84
OpBranch %3880
%3880 = OpLabel
OpLoopMerge %3882 %3883 None
OpBranch %3884
%3884 = OpLabel
%3885 = OpLoad %54 %3879
%3886 = OpINotEqual %20 %3885 %55
OpBranchConditional %3886 %3881 %3882
%3881 = OpLabel
OpStore %3887 %84
OpBranch %3888
%3888 = OpLabel
OpLoopMerge %3890 %3891 None
OpBranch %3892
%3892 = OpLabel
%3893 = OpLoad %54 %3887
%3894 = OpINotEqual %20 %3893 %55
OpBranchConditional %3894 %3889 %3890
%3889 = OpLabel
OpReturnValue %24
%3891 = OpLabel
OpBranch %3888
%3890 = OpLabel
OpBranch %3883
%3883 = OpLabel
%3898 = OpLoad %54 %3879
%3899 = OpISub %54 %3898 %84
OpStore %3879 %3899
OpBranch %3880
%3882 = OpLabel
%3900 = OpAccessChain %38 %35 %88
%3901 = OpLoad %6 %3900
%3902 = OpFOrdLessThan %20 %3901 %41
OpSelectionMerge %3904 None
OpBranchConditional %3902 %3903 %3904
%3903 = OpLabel
OpSelectionMerge %3906 None
OpBranchConditional %21 %3905 %3906
%3905 = OpLabel
OpKill
%3906 = OpLabel
%3908 = OpAccessChain %38 %35 %88
%3909 = OpLoad %6 %3908
%3910 = OpFOrdLessThan %20 %3909 %41
OpSelectionMerge %3912 None
OpBranchConditional %3910 %3911 %3913
%3911 = OpLabel
OpBranch %3912
%3913 = OpLabel
%3914 = OpAccessChain %38 %35 %88
%3915 = OpLoad %6 %3914
%3916 = OpFOrdLessThan %20 %3915 %41
OpSelectionMerge %3918 None
OpBranchConditional %3916 %3917 %3919
%3917 = OpLabel
OpBranch %3918
%3919 = OpLabel
OpReturnValue %24
%3918 = OpLabel
OpBranch %3912
%3912 = OpLabel
OpBranch %3904
%3904 = OpLabel
OpSelectionMerge %3922 None
OpBranchConditional %21 %3921 %3922
%3921 = OpLabel
OpBranch %2898
%3922 = OpLabel
OpBranch %3874
%3874 = OpLabel
OpBranch %3790
%3790 = OpLabel
OpBranch %3924
%3924 = OpLabel
OpLoopMerge %3926 %3927 None
OpBranch %3925
%3925 = OpLabel
OpSelectionMerge %3929 None
OpBranchConditional %21 %3928 %3929
%3928 = OpLabel
%3930 = OpAccessChain %56 %53 %55 %37
%3931 = OpLoad %6 %3930
%3932 = OpAccessChain %56 %53 %55 %88
%3933 = OpLoad %6 %3932
%3934 = OpFOrdGreaterThan %20 %3931 %3933
OpSelectionMerge %3936 None
OpBranchConditional %3934 %3935 %3936
%3935 = OpLabel
%3937 = OpAccessChain %38 %35 %88
%3938 = OpLoad %6 %3937
%3939 = OpFOrdLessThan %20 %3938 %41
OpSelectionMerge %3941 None
OpBranchConditional %3939 %3940 %3941
%3940 = OpLabel
OpBranch %3927
%3941 = OpLabel
OpSelectionMerge %3944 None
OpBranchConditional %26 %3943 %3944
%3943 = OpLabel
OpSelectionMerge %3946 None
OpBranchConditional %21 %3945 %3946
%3945 = OpLabel
OpBranch %3947
%3947 = OpLabel
OpLoopMerge %3949 %3950 None
OpBranch %3948
%3948 = OpLabel
OpReturnValue %24
%3950 = OpLabel
OpBranch %3947
%3949 = OpLabel
OpUnreachable
%3946 = OpLabel
OpSelectionMerge %3956 None
OpBranchConditional %21 %3955 %3960
%3955 = OpLabel
OpSelectionMerge %3958 None
OpBranchConditional %21 %3957 %3958
%3957 = OpLabel
OpBranch %3927
%3958 = OpLabel
OpBranch %3956
%3960 = OpLabel
OpStore %3961 %55
OpBranch %3962
%3962 = OpLabel
OpLoopMerge %3964 %3965 None
OpBranch %3966
%3966 = OpLabel
%3967 = OpLoad %54 %3961
%3968 = OpSLessThan %20 %3967 %84
OpBranchConditional %3968 %3963 %3964
%3963 = OpLabel
%3969 = OpAccessChain %38 %35 %88
%3970 = OpLoad %6 %3969
%3971 = OpFOrdGreaterThanEqual %20 %3970 %41
OpSelectionMerge %3973 None
OpBranchConditional %3971 %3972 %3973
%3972 = OpLabel
OpReturnValue %24
%3973 = OpLabel
OpBranch %3965
%3965 = OpLabel
%3975 = OpLoad %54 %3961
%3976 = OpIAdd %54 %3975 %84
OpStore %3961 %3976
OpBranch %3962
%3964 = OpLabel
OpSelectionMerge %3978 None
OpBranchConditional %21 %3977 %3978
%3977 = OpLabel
OpKill
%3978 = OpLabel
OpBranch %3956
%3956 = OpLabel
OpBranch %3944
%3944 = OpLabel
OpBranch %3936
%3936 = OpLabel
%3980 = OpAccessChain %38 %35 %88
%3981 = OpLoad %6 %3980
%3982 = OpFOrdLessThan %20 %3981 %41
OpSelectionMerge %3984 None
OpBranchConditional %3982 %3983 %3984
%3983 = OpLabel
OpBranch %3926
%3984 = OpLabel
OpBranch %3986
%3986 = OpLabel
OpLoopMerge %3988 %3989 None
OpBranch %3987
%3987 = OpLabel
OpSelectionMerge %3991 None
OpBranchConditional %26 %3990 %3991
%3990 = OpLabel
OpSelectionMerge %3993 None
OpBranchConditional %21 %3992 %3993
%3992 = OpLabel
OpReturnValue %24
%3993 = OpLabel
OpBranch %3991
%3991 = OpLabel
OpSelectionMerge %3996 None
OpBranchConditional %21 %3995 %3997
%3995 = OpLabel
OpBranch %3996
%3997 = OpLabel
OpSelectionMerge %3999 None
OpBranchConditional %21 %3998 %3999
%3998 = OpLabel
OpBranch %3988
%3999 = OpLabel
OpReturnValue %24
%3996 = OpLabel
OpBranch %3989
%3989 = OpLabel
OpBranchConditional %21 %3986 %3988
%3988 = OpLabel
OpBranch %3929
%3929 = OpLabel
OpBranch %3927
%3927 = OpLabel
OpBranchConditional %21 %3924 %3926
%3926 = OpLabel
OpSelectionMerge %4003 None
OpBranchConditional %21 %4002 %4003
%4002 = OpLabel
OpSelectionMerge %4005 None
OpBranchConditional %21 %4004 %4005
%4004 = OpLabel
OpBranch %2899
%4005 = OpLabel
OpSelectionMerge %4008 None
OpBranchConditional %21 %4007 %4008
%4007 = OpLabel
OpBranch %2899
%4008 = OpLabel
OpBranch %4010
%4010 = OpLabel
OpLoopMerge %4012 %4013 None
OpBranch %4011
%4011 = OpLabel
%4015 = OpAccessChain %56 %53 %55 %88
%4016 = OpLoad %6 %4015
%4017 = OpConvertFToS %54 %4016
%4018 = OpBitwiseOr %54 %55 %4017
OpStore %4014 %4018
OpBranch %4019
%4019 = OpLabel
OpLoopMerge %4021 %4022 None
OpBranch %4023
%4023 = OpLabel
%4024 = OpLoad %54 %4014
%4025 = OpSGreaterThan %20 %4024 %55
OpBranchConditional %4025 %4020 %4021
%4020 = OpLabel
OpReturnValue %24
%4022 = OpLabel
OpBranch %4019
%4021 = OpLabel
OpBranch %4013
%4013 = OpLabel
OpBranchConditional %21 %4010 %4012
%4012 = OpLabel
OpBranch %4003
%4003 = OpLabel
%4030 = OpAccessChain %56 %53 %55 %37
%4031 = OpLoad %6 %4030
%4032 = OpConvertFToS %54 %4031
%4033 = OpShiftLeftLogical %54 %4032 %55
OpStore %4029 %4033
OpBranch %4034
%4034 = OpLabel
OpLoopMerge %4036 %4037 None
OpBranch %4038
%4038 = OpLabel
%4039 = OpLoad %54 %4029
%4040 = OpAccessChain %56 %53 %55 %88
%4041 = OpLoad %6 %4040
%4042 = OpConvertFToS %54 %4041
%4043 = OpSLessThan %20 %4039 %4042
OpBranchConditional %4043 %4035 %4036
%4035 = OpLabel
OpSelectionMerge %4045 None
OpBranchConditional %21 %4044 %4046
%4044 = OpLabel
OpBranch %4045
%4046 = OpLabel
%4047 = OpAccessChain %56 %53 %55 %37
%4048 = OpLoad %6 %4047
%4049 = OpAccessChain %56 %53 %55 %88
%4050 = OpLoad %6 %4049
%4051 = OpFOrdGreaterThan %20 %4048 %4050
OpSelectionMerge %4053 None
OpBranchConditional %4051 %4052 %4053
%4052 = OpLabel
%4054 = OpAccessChain %56 %53 %55 %37
%4055 = OpLoad %6 %4054
%4056 = OpAccessChain %56 %53 %55 %88
%4057 = OpLoad %6 %4056
%4058 = OpFOrdGreaterThan %20 %4055 %4057
OpSelectionMerge %4060 None
OpBranchConditional %4058 %4059 %4060
%4059 = OpLabel
OpKill
%4060 = OpLabel
OpKill
%4053 = OpLabel
OpBranch %4045
%4045 = OpLabel
%4063 = OpAccessChain %38 %35 %37
%4064 = OpLoad %6 %4063
%4065 = OpFOrdLessThan %20 %4064 %41
OpSelectionMerge %4067 None
OpBranchConditional %4065 %4066 %4068
%4066 = OpLabel
OpBranch %4067
%4068 = OpLabel
OpBranch %4069
%4069 = OpLabel
OpLoopMerge %4071 %4072 None
OpBranch %4070
%4070 = OpLabel
OpSelectionMerge %4074 None
OpBranchConditional %21 %4073 %4074
%4073 = OpLabel
OpBranch %4072
%4074 = OpLabel
%4076 = OpAccessChain %38 %35 %37
%4077 = OpLoad %6 %4076
%4078 = OpFOrdLessThan %20 %4077 %41
OpSelectionMerge %4080 None
OpBranchConditional %4078 %4079 %4080
%4079 = OpLabel
OpSelectionMerge %4082 None
OpBranchConditional %21 %4081 %4083
%4081 = OpLabel
OpBranch %4082
%4083 = OpLabel
OpSelectionMerge %4085 None
OpBranchConditional %21 %4084 %4086
%4084 = OpLabel
OpBranch %4085
%4086 = OpLabel
OpBranch %4087
%4087 = OpLabel
OpLoopMerge %4089 %4090 None
OpBranch %4088
%4088 = OpLabel
OpBranch %4091
%4091 = OpLabel
OpLoopMerge %4093 %4094 None
OpBranch %4092
%4092 = OpLabel
%4095 = OpAccessChain %38 %35 %37
%4096 = OpLoad %6 %4095
%4097 = OpFOrdLessThan %20 %4096 %41
OpSelectionMerge %4099 None
OpBranchConditional %4097 %4098 %4099
%4098 = OpLabel
OpKill
%4099 = OpLabel
OpKill
%4094 = OpLabel
OpBranch %4091
%4093 = OpLabel
OpUnreachable
%4090 = OpLabel
OpBranch %4087
%4089 = OpLabel
OpUnreachable
%4085 = OpLabel
OpBranch %4082
%4082 = OpLabel
%4105 = OpAccessChain %38 %35 %37
%4106 = OpLoad %6 %4105
%4112 = OpExtInst %6 %1 Determinant %4111
%4113 = OpFOrdLessThan %20 %4106 %4112
OpSelectionMerge %4115 None
OpBranchConditional %4113 %4114 %4115
%4114 = OpLabel
%4116 = OpAccessChain %38 %35 %37
%4117 = OpLoad %6 %4116
%4118 = OpFOrdGreaterThanEqual %20 %4117 %41
OpSelectionMerge %4120 None
OpBranchConditional %4118 %4119 %4120
%4119 = OpLabel
OpSelectionMerge %4122 None
OpBranchConditional %21 %4121 %4122
%4121 = OpLabel
OpReturnValue %24
%4122 = OpLabel
OpBranch %4120
%4120 = OpLabel
OpReturnValue %24
%4115 = OpLabel
OpBranch %4080
%4080 = OpLabel
OpBranch %4072
%4072 = OpLabel
OpBranchConditional %21 %4069 %4071
%4071 = OpLabel
OpBranch %4067
%4067 = OpLabel
%4125 = OpAccessChain %38 %35 %37
%4126 = OpLoad %6 %4125
%4127 = OpFOrdLessThan %20 %4126 %41
OpSelectionMerge %4129 None
OpBranchConditional %4127 %4128 %4129
%4128 = OpLabel
%4130 = OpAccessChain %38 %35 %88
%4131 = OpLoad %6 %4130
%4132 = OpFOrdLessThan %20 %4131 %41
OpSelectionMerge %4134 None
OpBranchConditional %4132 %4133 %4134
%4133 = OpLabel
OpBranch %4036
%4134 = OpLabel
%4136 = OpAccessChain %38 %35 %88
%4137 = OpLoad %6 %4136
%4138 = OpFOrdGreaterThanEqual %20 %4137 %41
OpSelectionMerge %4140 None
OpBranchConditional %4138 %4139 %4160
%4139 = OpLabel
%4141 = OpAccessChain %56 %53 %55 %37
%4142 = OpLoad %6 %4141
%4143 = OpAccessChain %56 %53 %55 %88
%4144 = OpLoad %6 %4143
%4145 = OpFOrdGreaterThan %20 %4142 %4144
OpSelectionMerge %4147 None
OpBranchConditional %4145 %4146 %4147
%4146 = OpLabel
OpBranch %4037
%4147 = OpLabel
OpStore %4149 %84
OpBranch %4150
%4150 = OpLabel
OpLoopMerge %4152 %4153 None
OpBranch %4154
%4154 = OpLabel
%4155 = OpLoad %54 %4149
%4156 = OpINotEqual %20 %4155 %55
OpBranchConditional %4156 %4151 %4152
%4151 = OpLabel
OpReturnValue %24
%4153 = OpLabel
OpBranch %4150
%4152 = OpLabel
OpBranch %4140
%4160 = OpLabel
%4161 = OpAccessChain %38 %35 %88
%4162 = OpLoad %6 %4161
%4163 = OpFOrdLessThan %20 %4162 %41
OpSelectionMerge %4165 None
OpBranchConditional %4163 %4164 %4165
%4164 = OpLabel
OpBranch %4037
%4165 = OpLabel
OpBranch %4140
%4140 = OpLabel
OpSelectionMerge %4168 None
OpBranchConditional %21 %4167 %4168
%4167 = OpLabel
OpKill
%4168 = OpLabel
OpBranch %4129
%4129 = OpLabel
%4170 = OpAccessChain %56 %53 %55 %37
%4171 = OpLoad %6 %4170
%4172 = OpAccessChain %56 %53 %55 %88
%4173 = OpLoad %6 %4172
%4174 = OpFOrdGreaterThan %20 %4171 %4173
OpSelectionMerge %4176 None
OpBranchConditional %4174 %4175 %4176
%4175 = OpLabel
OpBranch %4036
%4176 = OpLabel
%4178 = OpAccessChain %56 %53 %55 %37
%4179 = OpLoad %6 %4178
%4180 = OpAccessChain %56 %53 %55 %88
%4181 = OpLoad %6 %4180
%4182 = OpFOrdGreaterThan %20 %4179 %4181
OpSelectionMerge %4184 None
OpBranchConditional %4182 %4183 %4184
%4183 = OpLabel
OpBranch %4036
%4184 = OpLabel
OpBranch %4037
%4037 = OpLabel
%4186 = OpLoad %54 %4029
%4187 = OpIAdd %54 %4186 %84
OpStore %4029 %4187
OpBranch %4034
%4036 = OpLabel
OpSelectionMerge %4189 None
OpBranchConditional %21 %4188 %4189
%4188 = OpLabel
%4190 = OpAccessChain %56 %53 %55 %37
%4191 = OpLoad %6 %4190
%4192 = OpAccessChain %56 %53 %55 %88
%4193 = OpLoad %6 %4192
%4194 = OpFOrdGreaterThan %20 %4191 %4193
OpSelectionMerge %4196 None
OpBranchConditional %4194 %4195 %4196
%4195 = OpLabel
OpSelectionMerge %4198 None
OpBranchConditional %21 %4197 %4199
%4197 = OpLabel
OpBranch %4198
%4199 = OpLabel
OpSelectionMerge %4201 None
OpBranchConditional %21 %4200 %4201
%4200 = OpLabel
OpBranch %2899
%4201 = OpLabel
OpKill
%4198 = OpLabel
OpBranch %4196
%4196 = OpLabel
OpBranch %2899
%4189 = OpLabel
OpBranch %3152
%3152 = OpLabel
OpSelectionMerge %4206 None
OpBranchConditional %26 %4205 %4206
%4205 = OpLabel
OpSelectionMerge %4208 None
OpBranchConditional %26 %4207 %4208
%4207 = OpLabel
OpStore %4209 %84
OpBranch %4210
%4210 = OpLabel
OpLoopMerge %4212 %4213 None
OpBranch %4214
%4214 = OpLabel
%4215 = OpLoad %54 %4209
%4216 = OpAccessChain %56 %53 %55 %37
%4217 = OpLoad %6 %4216
%4218 = OpConvertFToS %54 %4217
%4219 = OpINotEqual %20 %4215 %4218
OpBranchConditional %4219 %4211 %4212
%4211 = OpLabel
OpSelectionMerge %4221 None
OpBranchConditional %21 %4220 %4222
%4220 = OpLabel
OpBranch %4221
%4222 = OpLabel
OpSelectionMerge %4224 None
OpBranchConditional %21 %4223 %4224
%4223 = OpLabel
OpBranch %4225
%4225 = OpLabel
OpLoopMerge %4227 %4228 None
OpBranch %4226
%4226 = OpLabel
OpSelectionMerge %4230 None
OpBranchConditional %21 %4229 %4231
%4229 = OpLabel
OpBranch %4230
%4231 = OpLabel
OpSelectionMerge %4233 None
OpBranchConditional %21 %4232 %4234
%4232 = OpLabel
OpBranch %4233
%4234 = OpLabel
OpReturnValue %24
%4233 = OpLabel
OpBranch %4230
%4230 = OpLabel
OpBranch %4228
%4228 = OpLabel
OpBranchConditional %21 %4225 %4227
%4227 = OpLabel
OpBranch %4224
%4224 = OpLabel
OpBranch %4221
%4221 = OpLabel
OpBranch %4213
%4213 = OpLabel
%4236 = OpLoad %54 %4209
%4237 = OpISub %54 %4236 %84
OpStore %4209 %4237
OpBranch %4210
%4212 = OpLabel
OpBranch %4208
%4208 = OpLabel
OpBranch %4206
%4206 = OpLabel
OpBranch %4238
%4238 = OpLabel
OpLoopMerge %4240 %4241 None
OpBranch %4239
%4239 = OpLabel
OpSelectionMerge %4243 None
OpBranchConditional %21 %4242 %4244
%4242 = OpLabel
OpBranch %4243
%4244 = OpLabel
%4245 = OpAccessChain %38 %35 %88
%4246 = OpLoad %6 %4245
%4247 = OpFOrdLessThan %20 %4246 %41
OpSelectionMerge %4249 None
OpBranchConditional %4247 %4248 %4249
%4248 = OpLabel
OpStore %4250 %84
OpBranch %4251
%4251 = OpLabel
OpLoopMerge %4253 %4254 None
OpBranch %4255
%4255 = OpLabel
%4256 = OpLoad %54 %4250
%4257 = OpINotEqual %20 %4256 %55
OpBranchConditional %4257 %4252 %4253
%4252 = OpLabel
OpReturnValue %24
%4254 = OpLabel
OpBranch %4251
%4253 = OpLabel
OpBranch %4249
%4249 = OpLabel
OpBranch %4243
%4243 = OpLabel
OpBranch %4241
%4241 = OpLabel
%4261 = OpAccessChain %38 %35 %88
%4262 = OpLoad %6 %4261
%4263 = OpFOrdLessThan %20 %4262 %41
OpBranchConditional %4263 %4238 %4240
%4240 = OpLabel
OpBranch %2901
%2901 = OpLabel
OpBranch %2899
%2899 = OpLabel
%4264 = OpAccessChain %56 %53 %55 %37
%4265 = OpLoad %6 %4264
%4266 = OpAccessChain %56 %53 %55 %88
%4267 = OpLoad %6 %4266
%4268 = OpFOrdGreaterThan %20 %4265 %4267
OpBranchConditional %4268 %2896 %2898
%2898 = OpLabel
OpBranch %2895
%2895 = OpLabel
OpBranch %2887
%2887 = OpLabel
%4269 = OpAccessChain %56 %53 %55 %37
%4270 = OpLoad %6 %4269
%4271 = OpAccessChain %56 %53 %55 %88
%4272 = OpLoad %6 %4271
%4273 = OpFOrdGreaterThan %20 %4270 %4272
OpBranchConditional %4273 %2884 %2886
%2886 = OpLabel
OpBranch %2873
%2873 = OpLabel
OpSelectionMerge %4275 None
OpBranchConditional %21 %4274 %4275
%4274 = OpLabel
OpStore %4276 %84
OpBranch %4277
%4277 = OpLabel
OpLoopMerge %4279 %4280 None
OpBranch %4281
%4281 = OpLabel
%4282 = OpLoad %54 %4276
%4283 = OpAccessChain %56 %53 %55 %37
%4284 = OpLoad %6 %4283
%4285 = OpConvertFToS %54 %4284
%4286 = OpINotEqual %20 %4282 %4285
OpBranchConditional %4286 %4278 %4279
%4278 = OpLabel
OpReturnValue %24
%4280 = OpLabel
OpBranch %4277
%4279 = OpLabel
OpBranch %4275
%4275 = OpLabel
OpBranch %4290
%4290 = OpLabel
OpLoopMerge %4292 %4293 None
OpBranch %4291
%4291 = OpLabel
%4294 = OpAccessChain %56 %53 %55 %37
%4295 = OpLoad %6 %4294
%4296 = OpAccessChain %56 %53 %55 %88
%4297 = OpLoad %6 %4296
%4298 = OpFOrdGreaterThan %20 %4295 %4297
OpSelectionMerge %4300 None
OpBranchConditional %4298 %4299 %4300
%4299 = OpLabel
OpBranch %4293
%4300 = OpLabel
OpSelectionMerge %4303 None
OpBranchConditional %21 %4302 %4307
%4302 = OpLabel
OpSelectionMerge %4305 None
OpBranchConditional %21 %4304 %4305
%4304 = OpLabel
OpBranch %4292
%4305 = OpLabel
OpBranch %4303
%4307 = OpLabel
%4308 = OpAccessChain %38 %35 %37
%4309 = OpLoad %6 %4308
%4310 = OpFOrdLessThan %20 %4309 %41
OpSelectionMerge %4312 None
OpBranchConditional %4310 %4311 %4312
%4311 = OpLabel
OpBranch %4313
%4313 = OpLabel
OpLoopMerge %4315 %4316 None
OpBranch %4314
%4314 = OpLabel
OpStore %4317 %84
OpBranch %4318
%4318 = OpLabel
OpLoopMerge %4320 %4321 None
OpBranch %4322
%4322 = OpLabel
%4323 = OpLoad %54 %4317
%4324 = OpSGreaterThan %20 %4323 %55
OpBranchConditional %4324 %4319 %4320
%4319 = OpLabel
OpSelectionMerge %4326 None
OpBranchConditional %21 %4325 %4326
%4325 = OpLabel
OpSelectionMerge %4328 None
OpBranchConditional %21 %4327 %4328
%4327 = OpLabel
OpBranch %4320
%4328 = OpLabel
OpBranch %4321
%4326 = OpLabel
%4331 = OpAccessChain %56 %53 %55 %37
%4332 = OpLoad %6 %4331
%4333 = OpAccessChain %56 %53 %55 %88
%4334 = OpLoad %6 %4333
%4335 = OpFOrdGreaterThan %20 %4332 %4334
OpSelectionMerge %4337 None
OpBranchConditional %4335 %4336 %4338
%4336 = OpLabel
OpBranch %4337
%4338 = OpLabel
OpReturnValue %24
%4337 = OpLabel
%4340 = OpAccessChain %38 %35 %88
%4341 = OpLoad %6 %4340
%4342 = OpFOrdLessThan %20 %4341 %41
OpSelectionMerge %4344 None
OpBranchConditional %4342 %4343 %4344
%4343 = OpLabel
OpSelectionMerge %4346 None
OpBranchConditional %21 %4345 %4346
%4345 = OpLabel
OpReturnValue %24
%4346 = OpLabel
OpStore %4348 %84
OpBranch %4349
%4349 = OpLabel
OpLoopMerge %4351 %4352 None
OpBranch %4353
%4353 = OpLabel
%4354 = OpLoad %54 %4348
%4355 = OpINotEqual %20 %4354 %55
OpBranchConditional %4355 %4350 %4351
%4350 = OpLabel
OpStore %4356 %55
OpBranch %4357
%4357 = OpLabel
OpLoopMerge %4359 %4360 None
OpBranch %4361
%4361 = OpLabel
%4362 = OpLoad %54 %4356
%4363 = OpAccessChain %56 %53 %55 %88
%4364 = OpLoad %6 %4363
%4365 = OpConvertFToS %54 %4364
%4366 = OpSLessThan %20 %4362 %4365
OpBranchConditional %4366 %4358 %4359
%4358 = OpLabel
OpSelectionMerge %4368 None
OpBranchConditional %21 %4367 %4369
%4367 = OpLabel
OpBranch %4368
%4369 = OpLabel
OpReturnValue %24
%4368 = OpLabel
OpBranch %4360
%4360 = OpLabel
%4371 = OpLoad %54 %4356
%4372 = OpIAdd %54 %4371 %84
OpStore %4356 %4372
OpBranch %4357
%4359 = OpLabel
OpBranch %4352
%4352 = OpLabel
%4373 = OpLoad %54 %4348
%4374 = OpISub %54 %4373 %84
OpStore %4348 %4374
OpBranch %4349
%4351 = OpLabel
OpBranch %4344
%4344 = OpLabel
OpSelectionMerge %4376 None
OpBranchConditional %21 %4375 %4376
%4375 = OpLabel
%4377 = OpAccessChain %38 %35 %37
%4378 = OpLoad %6 %4377
%4379 = OpFOrdLessThan %20 %4378 %41
OpSelectionMerge %4381 None
OpBranchConditional %4379 %4380 %4381
%4380 = OpLabel
OpBranch %4320
%4381 = OpLabel
OpBranch %4320
%4376 = OpLabel
OpBranch %4321
%4321 = OpLabel
%4384 = OpLoad %54 %4317
%4385 = OpISub %54 %4384 %84
OpStore %4317 %4385
OpBranch %4318
%4320 = OpLabel
OpBranch %4316
%4316 = OpLabel
%4386 = OpAccessChain %38 %35 %88
%4387 = OpLoad %6 %4386
%4388 = OpFOrdLessThan %20 %4387 %41
OpBranchConditional %4388 %4313 %4315
%4315 = OpLabel
OpSelectionMerge %4390 None
OpBranchConditional %21 %4389 %4390
%4389 = OpLabel
OpReturnValue %24
%4390 = OpLabel
OpBranch %4312
%4312 = OpLabel
OpStore %4392 %84
OpBranch %4393
%4393 = OpLabel
OpLoopMerge %4395 %4396 None
OpBranch %4397
%4397 = OpLabel
%4398 = OpLoad %54 %4392
%4399 = OpAccessChain %56 %53 %55 %37
%4400 = OpLoad %6 %4399
%4401 = OpConvertFToS %54 %4400
%4402 = OpSGreaterThan %20 %4398 %4401
OpBranchConditional %4402 %4394 %4395
%4394 = OpLabel
OpSelectionMerge %4404 None
OpBranchConditional %21 %4403 %4404
%4403 = OpLabel
%4405 = OpAccessChain %56 %53 %55 %37
%4406 = OpLoad %6 %4405
%4407 = OpAccessChain %56 %53 %55 %88
%4408 = OpLoad %6 %4407
%4409 = OpFOrdLessThan %20 %4406 %4408
OpSelectionMerge %4411 None
OpBranchConditional %4409 %4410 %4411
%4410 = OpLabel
OpReturnValue %24
%4411 = OpLabel
OpBranch %4404
%4404 = OpLabel
OpBranch %4396
%4396 = OpLabel
%4413 = OpLoad %54 %4392
%4414 = OpISub %54 %4413 %84
OpStore %4392 %4414
OpBranch %4393
%4395 = OpLabel
OpBranch %4303
%4303 = OpLabel
OpBranch %4293
%4293 = OpLabel
%4415 = OpAccessChain %56 %53 %55 %37
%4416 = OpLoad %6 %4415
%4417 = OpAccessChain %56 %53 %55 %88
%4418 = OpLoad %6 %4417
%4419 = OpFOrdGreaterThan %20 %4416 %4418
OpBranchConditional %4419 %4290 %4292
%4292 = OpLabel
OpStore %4420 %84
OpBranch %4421
%4421 = OpLabel
OpLoopMerge %4423 %4424 None
OpBranch %4425
%4425 = OpLabel
%4426 = OpLoad %54 %4420
%4427 = OpINotEqual %20 %4426 %55
OpBranchConditional %4427 %4422 %4423
%4422 = OpLabel
OpSelectionMerge %4429 None
OpBranchConditional %21 %4428 %4430
%4428 = OpLabel
OpBranch %4429
%4430 = OpLabel
%4431 = OpAccessChain %38 %35 %88
%4432 = OpLoad %6 %4431
%4433 = OpFOrdLessThan %20 %4432 %41
OpSelectionMerge %4435 None
OpBranchConditional %4433 %4434 %4435
%4434 = OpLabel
OpSelectionMerge %4437 None
OpBranchConditional %21 %4436 %4438
%4436 = OpLabel
OpBranch %4437
%4438 = OpLabel
OpBranch %4439
%4439 = OpLabel
OpLoopMerge %4441 %4442 None
OpBranch %4440
%4440 = OpLabel
OpReturnValue %24
%4442 = OpLabel
OpBranch %4439
%4441 = OpLabel
OpUnreachable
%4437 = OpLabel
OpSelectionMerge %4445 None
OpBranchConditional %21 %4444 %4445
%4444 = OpLabel
OpReturnValue %24
%4445 = OpLabel
OpBranch %4435
%4435 = OpLabel
%4447 = OpAccessChain %38 %35 %88
%4448 = OpLoad %6 %4447
%4449 = OpFOrdLessThan %20 %4448 %41
OpSelectionMerge %4451 None
OpBranchConditional %4449 %4450 %4452
%4450 = OpLabel
OpBranch %4451
%4452 = OpLabel
%4453 = OpAccessChain %38 %35 %88
%4454 = OpLoad %6 %4453
%4455 = OpFOrdGreaterThanEqual %20 %4454 %41
OpSelectionMerge %4457 None
OpBranchConditional %4455 %4456 %4457
%4456 = OpLabel
%4458 = OpAccessChain %17 %10 %88
%4459 = OpLoad %6 %4458
%4460 = OpFOrdLessThan %20 %4459 %41
OpSelectionMerge %4462 None
OpBranchConditional %4460 %4461 %4462
%4461 = OpLabel
%4463 = OpAccessChain %38 %35 %88
%4464 = OpLoad %6 %4463
%4465 = OpFOrdLessThan %20 %4464 %41
OpSelectionMerge %4467 None
OpBranchConditional %4465 %4466 %4467
%4466 = OpLabel
OpBranch %4468
%4468 = OpLabel
OpLoopMerge %4470 %4471 None
OpBranch %4469
%4469 = OpLabel
OpReturnValue %24
%4471 = OpLabel
OpBranch %4468
%4470 = OpLabel
OpUnreachable
%4467 = OpLabel
%4473 = OpAccessChain %38 %35 %88
%4474 = OpLoad %6 %4473
%4475 = OpFOrdLessThan %20 %4474 %41
OpSelectionMerge %4477 None
OpBranchConditional %4475 %4476 %4477
%4476 = OpLabel
OpBranch %4478
%4478 = OpLabel
OpLoopMerge %4480 %4481 None
OpBranch %4479
%4479 = OpLabel
OpStore %4482 %55
OpBranch %4483
%4483 = OpLabel
OpLoopMerge %4485 %4486 None
OpBranch %4487
%4487 = OpLabel
%4488 = OpLoad %54 %4482
%4489 = OpINotEqual %20 %4488 %84
OpBranchConditional %4489 %4484 %4485
%4484 = OpLabel
OpSelectionMerge %4491 None
OpBranchConditional %21 %4490 %4491
%4490 = OpLabel
OpReturnValue %24
%4491 = OpLabel
%4493 = OpAccessChain %38 %35 %88
%4494 = OpLoad %6 %4493
%4495 = OpFOrdGreaterThanEqual %20 %4494 %41
OpSelectionMerge %4497 None
OpBranchConditional %4495 %4496 %4497
%4496 = OpLabel
OpSelectionMerge %4499 None
OpBranchConditional %26 %4498 %4499
%4498 = OpLabel
%4500 = OpAccessChain %56 %53 %55 %37
%4501 = OpLoad %6 %4500
%4502 = OpAccessChain %56 %53 %55 %88
%4503 = OpLoad %6 %4502
%4504 = OpFOrdGreaterThan %20 %4501 %4503
OpSelectionMerge %4506 None
OpBranchConditional %4504 %4505 %4507
%4505 = OpLabel
OpBranch %4506
%4507 = OpLabel
OpBranch %4508
%4508 = OpLabel
OpLoopMerge %4510 %4511 None
OpBranch %4509
%4509 = OpLabel
OpBranch %4512
%4512 = OpLabel
OpLoopMerge %4514 %4515 None
OpBranch %4513
%4513 = OpLabel
OpSelectionMerge %4517 None
OpBranchConditional %21 %4516 %4517
%4516 = OpLabel
OpBranch %4518
%4518 = OpLabel
OpLoopMerge %4520 %4521 None
OpBranch %4519
%4519 = OpLabel
%4522 = OpAccessChain %56 %53 %55 %37
%4523 = OpLoad %6 %4522
%4524 = OpAccessChain %56 %53 %55 %88
%4525 = OpLoad %6 %4524
%4526 = OpFOrdLessThan %20 %4523 %4525
OpSelectionMerge %4528 None
OpBranchConditional %4526 %4527 %4528
%4527 = OpLabel
OpKill
%4528 = OpLabel
OpBranch %4521
%4521 = OpLabel
OpBranchConditional %21 %4518 %4520
%4520 = OpLabel
OpBranch %4517
%4517 = OpLabel
OpReturnValue %24
%4515 = OpLabel
OpBranch %4512
%4514 = OpLabel
OpUnreachable
%4511 = OpLabel
OpBranch %4508
%4510 = OpLabel
OpUnreachable
%4506 = OpLabel
OpBranch %4499
%4499 = OpLabel
OpSelectionMerge %4535 None
OpBranchConditional %21 %4534 %4535
%4534 = OpLabel
OpBranch %4486
%4535 = OpLabel
OpBranch %4497
%4497 = OpLabel
OpBranch %4486
%4486 = OpLabel
%4537 = OpLoad %54 %4482
%4538 = OpIAdd %54 %4537 %84
OpStore %4482 %4538
OpBranch %4483
%4485 = OpLabel
OpBranch %4481
%4481 = OpLabel
OpBranchConditional %21 %4478 %4480
%4480 = OpLabel
OpSelectionMerge %4540 None
OpBranchConditional %26 %4539 %4540
%4539 = OpLabel
%4541 = OpAccessChain %56 %53 %55 %37
%4542 = OpLoad %6 %4541
%4543 = OpAccessChain %56 %53 %55 %88
%4544 = OpLoad %6 %4543
%4545 = OpFOrdGreaterThan %20 %4542 %4544
OpSelectionMerge %4547 None
OpBranchConditional %4545 %4546 %4547
%4546 = OpLabel
OpReturnValue %24
%4547 = OpLabel
OpBranch %4540
%4540 = OpLabel
OpSelectionMerge %4550 None
OpBranchConditional %21 %4549 %4550
%4549 = OpLabel
OpSelectionMerge %4552 None
OpBranchConditional %26 %4551 %4552
%4551 = OpLabel
OpReturnValue %24
%4552 = OpLabel
OpBranch %4550
%4550 = OpLabel
OpBranch %4477
%4477 = OpLabel
%4554 = OpLoad %6 %2192
%4555 = OpFNegate %6 %4554
OpStore %2192 %4555
%4556 = OpAccessChain %56 %53 %55 %37
%4557 = OpLoad %6 %4556
%4558 = OpAccessChain %56 %53 %55 %88
%4559 = OpLoad %6 %4558
%4560 = OpFOrdGreaterThan %20 %4557 %4559
OpSelectionMerge %4562 None
OpBranchConditional %4560 %4561 %4563
%4561 = OpLabel
OpBranch %4562
%4563 = OpLabel
%4564 = OpAccessChain %38 %35 %88
%4565 = OpLoad %6 %4564
%4566 = OpFOrdGreaterThanEqual %20 %4565 %41
OpSelectionMerge %4568 None
OpBranchConditional %4566 %4567 %4568
%4567 = OpLabel
%4569 = OpAccessChain %38 %35 %37
%4570 = OpLoad %6 %4569
%4571 = OpFOrdLessThan %20 %4570 %41
OpSelectionMerge %4573 None
OpBranchConditional %4571 %4572 %4573
%4572 = OpLabel
OpBranch %4574
%4574 = OpLabel
OpLoopMerge %4576 %4577 None
OpBranch %4575
%4575 = OpLabel
OpBranch %4578
%4578 = OpLabel
OpLoopMerge %4580 %4581 None
OpBranch %4579
%4579 = OpLabel
OpBranch %4582
%4582 = OpLabel
OpLoopMerge %4584 %4585 None
OpBranch %4583
%4583 = OpLabel
OpSelectionMerge %4587 None
OpBranchConditional %21 %4586 %4587
%4586 = OpLabel
OpReturnValue %24
%4587 = OpLabel
OpBranch %4585
%4585 = OpLabel
%4589 = OpAccessChain %38 %35 %88
%4590 = OpLoad %6 %4589
%4591 = OpFOrdLessThan %20 %4590 %41
OpBranchConditional %4591 %4582 %4584
%4584 = OpLabel
%4592 = OpAccessChain %38 %35 %37
%4593 = OpLoad %6 %4592
%4594 = OpFOrdLessThan %20 %4593 %41
OpSelectionMerge %4596 None
OpBranchConditional %4594 %4595 %4597
%4595 = OpLabel
OpBranch %4596
%4597 = OpLabel
OpBranch %4598
%4598 = OpLabel
OpLoopMerge %4600 %4601 None
OpBranch %4599
%4599 = OpLabel
%4602 = OpAccessChain %38 %35 %88
%4603 = OpLoad %6 %4602
%4604 = OpFOrdLessThan %20 %4603 %41
OpSelectionMerge %4606 None
OpBranchConditional %4604 %4605 %4607
%4605 = OpLabel
OpBranch %4606
%4607 = OpLabel
OpBranch %4608
%4608 = OpLabel
OpLoopMerge %4610 %4611 None
OpBranch %4609
%4609 = OpLabel
OpBranch %4612
%4612 = OpLabel
OpLoopMerge %4614 %4615 None
OpBranch %4613
%4613 = OpLabel
OpSelectionMerge %4617 None
OpBranchConditional %21 %4616 %4618
%4616 = OpLabel
OpBranch %4617
%4618 = OpLabel
OpSelectionMerge %4620 None
OpBranchConditional %26 %4619 %4620
%4619 = OpLabel
OpStore %4621 %55
OpBranch %4622
%4622 = OpLabel
OpLoopMerge %4624 %4625 None
OpBranch %4626
%4626 = OpLabel
%4627 = OpLoad %54 %4621
%4628 = OpINotEqual %20 %4627 %84
OpBranchConditional %4628 %4623 %4624
%4623 = OpLabel
OpReturnValue %24
%4625 = OpLabel
OpBranch %4622
%4624 = OpLabel
OpBranch %4620
%4620 = OpLabel
OpBranch %4617
%4617 = OpLabel
OpBranch %4615
%4615 = OpLabel
%4632 = OpAccessChain %38 %35 %88
%4633 = OpLoad %6 %4632
%4634 = OpFOrdLessThan %20 %4633 %41
OpBranchConditional %4634 %4612 %4614
%4614 = OpLabel
OpBranch %4611
%4611 = OpLabel
%4635 = OpAccessChain %38 %35 %88
%4636 = OpLoad %6 %4635
%4637 = OpFOrdLessThan %20 %4636 %41
OpBranchConditional %4637 %4608 %4610
%4610 = OpLabel
OpBranch %4606
%4606 = OpLabel
OpBranch %4601
%4601 = OpLabel
OpBranchConditional %21 %4598 %4600
%4600 = OpLabel
OpBranch %4596
%4596 = OpLabel
OpBranch %4581
%4581 = OpLabel
%4638 = OpAccessChain %56 %53 %55 %37
%4639 = OpLoad %6 %4638
%4640 = OpAccessChain %56 %53 %55 %88
%4641 = OpLoad %6 %4640
%4642 = OpFOrdGreaterThan %20 %4639 %4641
OpBranchConditional %4642 %4578 %4580
%4580 = OpLabel
OpBranch %4577
%4577 = OpLabel
OpBranchConditional %21 %4574 %4576
%4576 = OpLabel
OpBranch %4573
%4573 = OpLabel
OpBranch %4568
%4568 = OpLabel
OpBranch %4562
%4562 = OpLabel
%4643 = OpAccessChain %38 %35 %88
%4644 = OpLoad %6 %4643
%4645 = OpFOrdLessThan %20 %4644 %41
OpSelectionMerge %4647 None
OpBranchConditional %4645 %4646 %4647
%4646 = OpLabel
OpReturnValue %24
%4647 = OpLabel
OpStore %4649 %84
OpBranch %4650
%4650 = OpLabel
OpLoopMerge %4652 %4653 None
OpBranch %4654
%4654 = OpLabel
%4655 = OpLoad %54 %4649
%4656 = OpAccessChain %56 %53 %55 %37
%4657 = OpLoad %6 %4656
%4658 = OpConvertFToS %54 %4657
%4659 = OpIMul %54 %84 %4658
%4660 = OpINotEqual %20 %4655 %4659
OpBranchConditional %4660 %4651 %4652
%4651 = OpLabel
%4661 = OpAccessChain %38 %35 %88
%4662 = OpLoad %6 %4661
%4663 = OpFOrdLessThan %20 %4662 %41
OpSelectionMerge %4665 None
OpBranchConditional %4663 %4664 %4665
%4664 = OpLabel
%4666 = OpAccessChain %56 %53 %55 %37
%4667 = OpLoad %6 %4666
%4668 = OpAccessChain %56 %53 %55 %88
%4669 = OpLoad %6 %4668
%4670 = OpFOrdGreaterThan %20 %4667 %4669
OpSelectionMerge %4672 None
OpBranchConditional %4670 %4671 %4672
%4671 = OpLabel
OpSelectionMerge %4674 None
OpBranchConditional %26 %4673 %4674
%4673 = OpLabel
OpSelectionMerge %4676 None
OpBranchConditional %26 %4675 %4676
%4675 = OpLabel
%4677 = OpAccessChain %56 %53 %55 %37
%4678 = OpLoad %6 %4677
%4679 = OpAccessChain %56 %53 %55 %88
%4680 = OpLoad %6 %4679
%4681 = OpFOrdGreaterThan %20 %4678 %4680
OpSelectionMerge %4683 None
OpBranchConditional %4681 %4682 %4683
%4682 = OpLabel
OpKill
%4683 = OpLabel
OpBranch %4676
%4676 = OpLabel
OpBranch %4674
%4674 = OpLabel
%4685 = OpAccessChain %56 %53 %55 %37
%4686 = OpLoad %6 %4685
%4687 = OpAccessChain %56 %53 %55 %88
%4688 = OpLoad %6 %4687
%4689 = OpFOrdGreaterThan %20 %4686 %4688
OpSelectionMerge %4691 None
OpBranchConditional %4689 %4690 %4691
%4690 = OpLabel
OpBranch %4652
%4691 = OpLabel
OpBranch %4653
%4672 = OpLabel
OpStore %4694 %55
OpBranch %4695
%4695 = OpLabel
OpLoopMerge %4697 %4698 None
OpBranch %4699
%4699 = OpLabel
%4700 = OpLoad %54 %4694
%4701 = OpAccessChain %56 %53 %55 %88
%4702 = OpLoad %6 %4701
%4703 = OpConvertFToS %54 %4702
%4704 = OpSLessThan %20 %4700 %4703
OpBranchConditional %4704 %4696 %4697
%4696 = OpLabel
OpBranch %4705
%4705 = OpLabel
OpLoopMerge %4707 %4708 None
OpBranch %4706
%4706 = OpLabel
%4709 = OpAccessChain %38 %35 %37
%4710 = OpLoad %6 %4709
%4711 = OpFOrdLessThan %20 %4710 %41
OpSelectionMerge %4713 None
OpBranchConditional %4711 %4712 %4713
%4712 = OpLabel
OpSelectionMerge %4715 None
OpBranchConditional %21 %4714 %4715
%4714 = OpLabel
OpBranch %4707
%4715 = OpLabel
OpSelectionMerge %4718 None
OpBranchConditional %21 %4717 %4718
%4717 = OpLabel
OpSelectionMerge %4720 None
OpBranchConditional %21 %4719 %4720
%4719 = OpLabel
OpReturnValue %24
%4720 = OpLabel
OpKill
%4718 = OpLabel
OpReturnValue %24
%4713 = OpLabel
OpBranch %4708
%4708 = OpLabel
OpBranchConditional %21 %4705 %4707
%4707 = OpLabel
OpBranch %4698
%4698 = OpLabel
%4724 = OpLoad %54 %4694
%4725 = OpIAdd %54 %4724 %84
OpStore %4694 %4725
OpBranch %4695
%4697 = OpLabel
OpSelectionMerge %4727 None
OpBranchConditional %21 %4726 %4727
%4726 = OpLabel
OpBranch %4653
%4727 = OpLabel
%4729 = OpAccessChain %38 %35 %88
%4730 = OpLoad %6 %4729
%4731 = OpFOrdLessThan %20 %4730 %41
OpSelectionMerge %4733 None
OpBranchConditional %4731 %4732 %4734
%4732 = OpLabel
OpBranch %4733
%4734 = OpLabel
%4735 = OpAccessChain %38 %35 %37
%4736 = OpLoad %6 %4735
%4737 = OpFOrdLessThan %20 %4736 %41
OpSelectionMerge %4739 None
OpBranchConditional %4737 %4738 %4762
%4738 = OpLabel
OpSelectionMerge %4741 None
OpBranchConditional %21 %4740 %4741
%4740 = OpLabel
%4742 = OpAccessChain %38 %35 %37
%4743 = OpLoad %6 %4742
%4746 = OpExtInst %6 %1 Determinant %4745
%4747 = OpFOrdLessThan %20 %4743 %4746
OpSelectionMerge %4749 None
OpBranchConditional %4747 %4748 %4750
%4748 = OpLabel
OpBranch %4749
%4750 = OpLabel
OpStore %4751 %84
OpBranch %4752
%4752 = OpLabel
OpLoopMerge %4754 %4755 None
OpBranch %4756
%4756 = OpLabel
%4757 = OpLoad %54 %4751
%4758 = OpSGreaterThan %20 %4757 %55
OpBranchConditional %4758 %4753 %4754
%4753 = OpLabel
OpReturnValue %24
%4755 = OpLabel
OpBranch %4752
%4754 = OpLabel
OpBranch %4749
%4749 = OpLabel
OpBranch %4741
%4741 = OpLabel
OpBranch %4739
%4762 = OpLabel
%4763 = OpAccessChain %38 %35 %88
%4764 = OpLoad %6 %4763
%4765 = OpFOrdLessThan %20 %4764 %41
OpSelectionMerge %4767 None
OpBranchConditional %4765 %4766 %4767
%4766 = OpLabel
OpReturnValue %24
%4767 = OpLabel
OpBranch %4739
%4739 = OpLabel
OpBranch %4733
%4733 = OpLabel
%4769 = OpAccessChain %56 %53 %55 %37
%4770 = OpLoad %6 %4769
%4771 = OpAccessChain %56 %53 %55 %88
%4772 = OpLoad %6 %4771
%4773 = OpFOrdGreaterThan %20 %4770 %4772
OpSelectionMerge %4775 None
OpBranchConditional %4773 %4774 %4776
%4774 = OpLabel
OpBranch %4775
%4776 = OpLabel
OpSelectionMerge %4778 None
OpBranchConditional %21 %4777 %4779
%4777 = OpLabel
OpBranch %4778
%4779 = OpLabel
OpSelectionMerge %4781 None
OpBranchConditional %26 %4780 %4781
%4780 = OpLabel
OpReturnValue %24
%4781 = OpLabel
OpBranch %4778
%4778 = OpLabel
OpBranch %4775
%4775 = OpLabel
OpSelectionMerge %4784 None
OpBranchConditional %21 %4783 %4784
%4783 = OpLabel
OpSelectionMerge %4786 None
OpBranchConditional %21 %4785 %4786
%4785 = OpLabel
OpSelectionMerge %4788 None
OpBranchConditional %21 %4787 %4788
%4787 = OpLabel
OpBranch %4789
%4789 = OpLabel
OpLoopMerge %4791 %4792 None
OpBranch %4790
%4790 = OpLabel
OpReturnValue %24
%4792 = OpLabel
OpBranch %4789
%4791 = OpLabel
OpUnreachable
%4788 = OpLabel
OpBranch %4653
%4786 = OpLabel
OpReturnValue %24
%4784 = OpLabel
OpBranch %4665
%4665 = OpLabel
OpSelectionMerge %4797 None
OpBranchConditional %21 %4796 %4797
%4796 = OpLabel
%4798 = OpAccessChain %38 %35 %88
%4799 = OpLoad %6 %4798
%4800 = OpAccessChain %56 %53 %55 %37
%4801 = OpLoad %6 %4800
%4802 = OpFOrdLessThan %20 %4799 %4801
OpSelectionMerge %4804 None
OpBranchConditional %4802 %4803 %4804
%4803 = OpLabel
OpBranch %4652
%4804 = OpLabel
OpKill
%4797 = OpLabel
OpBranch %4653
%4653 = OpLabel
%4815 = OpLoad %54 %4649
%4816 = OpISub %54 %4815 %84
OpStore %4649 %4816
OpBranch %4650
%4652 = OpLabel
OpStore %4817 %84
OpBranch %4818
%4818 = OpLabel
OpLoopMerge %4820 %4821 None
OpBranch %4822
%4822 = OpLabel
%4823 = OpLoad %54 %4817
%4824 = OpINotEqual %20 %4823 %55
OpBranchConditional %4824 %4819 %4820
%4819 = OpLabel
%4825 = OpAccessChain %38 %35 %37
%4826 = OpLoad %6 %4825
%4827 = OpFOrdLessThan %20 %4826 %41
OpSelectionMerge %4829 None
OpBranchConditional %4827 %4828 %4849
%4828 = OpLabel
OpSelectionMerge %4831 None
OpBranchConditional %21 %4830 %4831
%4830 = OpLabel
OpBranch %4832
%4832 = OpLabel
OpLoopMerge %4834 %4835 None
OpBranch %4833
%4833 = OpLabel
OpBranch %4836
%4836 = OpLabel
OpLoopMerge %4838 %4839 None
OpBranch %4837
%4837 = OpLabel
OpReturnValue %24
%4839 = OpLabel
OpBranch %4836
%4838 = OpLabel
OpUnreachable
%4835 = OpLabel
OpBranch %4832
%4834 = OpLabel
OpUnreachable
%4831 = OpLabel
OpSelectionMerge %4847 None
OpBranchConditional %21 %4846 %4847
%4846 = OpLabel
OpReturnValue %24
%4847 = OpLabel
OpBranch %4829
%4849 = OpLabel
%4850 = OpAccessChain %38 %35 %88
%4851 = OpLoad %6 %4850
%4852 = OpAccessChain %56 %53 %55 %37
%4853 = OpLoad %6 %4852
%4854 = OpExtInst %6 %1 FAbs %4853
%4855 = OpFOrdLessThan %20 %4851 %4854
OpSelectionMerge %4857 None
OpBranchConditional %4855 %4856 %4857
%4856 = OpLabel
OpStore %4858 %55
OpBranch %4859
%4859 = OpLabel
OpLoopMerge %4861 %4862 None
OpBranch %4863
%4863 = OpLabel
%4864 = OpLoad %54 %4858
%4865 = OpINotEqual %20 %4864 %84
OpBranchConditional %4865 %4860 %4861
%4860 = OpLabel
OpStore %4866 %55
OpBranch %4867
%4867 = OpLabel
OpLoopMerge %4869 %4870 None
OpBranch %4871
%4871 = OpLabel
%4872 = OpLoad %54 %4866
%4873 = OpINotEqual %20 %4872 %84
OpBranchConditional %4873 %4868 %4869
%4868 = OpLabel
OpSelectionMerge %4875 None
OpBranchConditional %26 %4874 %4875
%4874 = OpLabel
OpSelectionMerge %4877 None
OpBranchConditional %21 %4876 %4878
%4876 = OpLabel
OpBranch %4877
%4878 = OpLabel
OpReturnValue %24
%4877 = OpLabel
OpBranch %4875
%4875 = OpLabel
OpBranch %4870
%4870 = OpLabel
%4890 = OpLoad %54 %4866
%4891 = OpIAdd %54 %4890 %84
OpStore %4866 %4891
OpBranch %4867
%4869 = OpLabel
OpBranch %4862
%4862 = OpLabel
%4892 = OpLoad %54 %4858
%4893 = OpIAdd %54 %4892 %84
OpStore %4858 %4893
OpBranch %4859
%4861 = OpLabel
OpBranch %4857
%4857 = OpLabel
OpBranch %4829
%4829 = OpLabel
OpBranch %4821
%4821 = OpLabel
%4894 = OpLoad %54 %4817
%4895 = OpISub %54 %4894 %84
OpStore %4817 %4895
OpBranch %4818
%4820 = OpLabel
OpBranch %4462
%4462 = OpLabel
OpBranch %4457
%4457 = OpLabel
OpBranch %4451
%4451 = OpLabel
OpSelectionMerge %4897 None
OpBranchConditional %26 %4896 %4897
%4896 = OpLabel
OpBranch %4898
%4898 = OpLabel
OpLoopMerge %4900 %4901 None
OpBranch %4899
%4899 = OpLabel
%4902 = OpAccessChain %56 %53 %55 %37
%4903 = OpLoad %6 %4902
%4904 = OpAccessChain %56 %53 %55 %88
%4905 = OpLoad %6 %4904
%4906 = OpFOrdGreaterThan %20 %4903 %4905
OpSelectionMerge %4908 None
OpBranchConditional %4906 %4907 %4908
%4907 = OpLabel
OpReturnValue %24
%4908 = OpLabel
OpBranch %4901
%4901 = OpLabel
OpBranchConditional %21 %4898 %4900
%4900 = OpLabel
OpBranch %4897
%4897 = OpLabel
OpSelectionMerge %4911 None
OpBranchConditional %21 %4910 %4911
%4910 = OpLabel
OpBranch %4912
%4912 = OpLabel
OpLoopMerge %4914 %4915 None
OpBranch %4913
%4913 = OpLabel
OpSelectionMerge %4917 None
OpBranchConditional %21 %4916 %4918
%4916 = OpLabel
OpBranch %4917
%4918 = OpLabel
OpReturnValue %24
%4917 = OpLabel
OpBranch %4915
%4915 = OpLabel
%4920 = OpAccessChain %38 %35 %88
%4921 = OpLoad %6 %4920
%4922 = OpFOrdLessThan %20 %4921 %41
OpBranchConditional %4922 %4912 %4914
%4914 = OpLabel
OpBranch %4911
%4911 = OpLabel
OpBranch %4429
%4429 = OpLabel
OpBranch %4424
%4424 = OpLabel
%4923 = OpLoad %54 %4420
%4924 = OpISub %54 %4923 %84
OpStore %4420 %4924
OpBranch %4421
%4423 = OpLabel
OpSelectionMerge %4926 None
OpBranchConditional %21 %4925 %4926
%4925 = OpLabel
OpStore %4927 %55
OpBranch %4928
%4928 = OpLabel
OpLoopMerge %4930 %4931 None
OpBranch %4932
%4932 = OpLabel
%4933 = OpLoad %54 %4927
%4934 = OpSLessThan %20 %4933 %84
OpBranchConditional %4934 %4929 %4930
%4929 = OpLabel
OpSelectionMerge %4936 None
OpBranchConditional %26 %4935 %4938
%4935 = OpLabel
OpReturnValue %24
%4938 = OpLabel
OpSelectionMerge %4940 None
OpBranchConditional %21 %4939 %4940
%4939 = OpLabel
OpSelectionMerge %4942 None
OpBranchConditional %21 %4941 %4943
%4941 = OpLabel
OpBranch %4942
%4943 = OpLabel
OpSelectionMerge %4945 None
OpBranchConditional %26 %4944 %4945
%4944 = OpLabel
OpKill
%4945 = OpLabel
OpBranch %4942
%4942 = OpLabel
OpBranch %4940
%4940 = OpLabel
OpBranch %4947
%4947 = OpLabel
OpLoopMerge %4949 %4950 None
OpBranch %4948
%4948 = OpLabel
OpStore %4951 %84
OpBranch %4952
%4952 = OpLabel
OpLoopMerge %4954 %4955 None
OpBranch %4956
%4956 = OpLabel
%4957 = OpLoad %54 %4951
%4958 = OpAccessChain %56 %53 %55 %37
%4959 = OpLoad %6 %4958
%4960 = OpConvertFToS %54 %4959
%4962 = OpShiftRightArithmetic %54 %4960 %4961
%4963 = OpBitwiseXor %54 %55 %4962
%4964 = OpSGreaterThan %20 %4957 %4963
OpBranchConditional %4964 %4953 %4954
%4953 = OpLabel
OpBranch %4965
%4965 = OpLabel
OpLoopMerge %4967 %4968 None
OpBranch %4966
%4966 = OpLabel
%4969 = OpAccessChain %56 %53 %55 %37
%4970 = OpLoad %6 %4969
%4971 = OpAccessChain %56 %53 %55 %88
%4972 = OpLoad %6 %4971
%4973 = OpFOrdGreaterThan %20 %4970 %4972
OpSelectionMerge %4975 None
OpBranchConditional %4973 %4974 %4975
%4974 = OpLabel
OpStore %4976 %55
OpBranch %4977
%4977 = OpLabel
OpLoopMerge %4979 %4980 None
OpBranch %4981
%4981 = OpLabel
%4982 = OpLoad %54 %4976
%4983 = OpSLessThan %20 %4982 %84
OpBranchConditional %4983 %4978 %4979
%4978 = OpLabel
OpSelectionMerge %4985 None
OpBranchConditional %26 %4984 %4985
%4984 = OpLabel
OpReturnValue %24
%4985 = OpLabel
OpBranch %4980
%4980 = OpLabel
%4987 = OpLoad %54 %4976
%4988 = OpIAdd %54 %4987 %84
OpStore %4976 %4988
OpBranch %4977
%4979 = OpLabel
OpSelectionMerge %4990 None
OpBranchConditional %21 %4989 %4990
%4989 = OpLabel
OpBranch %4968
%4990 = OpLabel
OpBranch %4975
%4975 = OpLabel
OpBranch %4968
%4968 = OpLabel
OpBranchConditional %21 %4965 %4967
%4967 = OpLabel
OpBranch %4955
%4955 = OpLabel
%4992 = OpLoad %54 %4951
%4993 = OpISub %54 %4992 %84
OpStore %4951 %4993
OpBranch %4952
%4954 = OpLabel
OpBranch %4950
%4950 = OpLabel
OpBranchConditional %21 %4947 %4949
%4949 = OpLabel
%4994 = OpAccessChain %56 %53 %55 %37
%4995 = OpLoad %6 %4994
%4996 = OpAccessChain %56 %53 %55 %88
%4997 = OpLoad %6 %4996
%4998 = OpFOrdGreaterThan %20 %4995 %4997
OpSelectionMerge %5000 None
OpBranchConditional %4998 %4999 %5000
%4999 = OpLabel
%5002 = OpAccessChain %56 %53 %55 %88
%5003 = OpLoad %6 %5002
%5004 = OpConvertFToS %54 %5003
OpStore %5001 %5004
OpBranch %5005
%5005 = OpLabel
OpLoopMerge %5007 %5008 None
OpBranch %5009
%5009 = OpLabel
%5010 = OpLoad %54 %5001
%5011 = OpSGreaterThan %20 %5010 %55
OpBranchConditional %5011 %5006 %5007
%5006 = OpLabel
%5012 = OpAccessChain %56 %53 %55 %37
%5013 = OpLoad %6 %5012
%5014 = OpAccessChain %56 %53 %55 %88
%5015 = OpLoad %6 %5014
%5016 = OpFOrdGreaterThan %20 %5013 %5015
OpSelectionMerge %5018 None
OpBranchConditional %5016 %5017 %5018
%5017 = OpLabel
%5020 = OpAccessChain %56 %53 %55 %88
%5021 = OpLoad %6 %5020
%5022 = OpConvertFToS %54 %5021
%5023 = OpBitwiseAnd %54 %84 %5022
OpStore %5019 %5023
OpBranch %5024
%5024 = OpLabel
OpLoopMerge %5026 %5027 None
OpBranch %5028
%5028 = OpLabel
%5029 = OpLoad %54 %5019
%5030 = OpINotEqual %20 %5029 %55
OpBranchConditional %5030 %5025 %5026
%5025 = OpLabel
OpBranch %5031
%5031 = OpLabel
OpLoopMerge %5033 %5034 None
OpBranch %5032
%5032 = OpLabel
OpStore %5035 %55
OpBranch %5036
%5036 = OpLabel
OpLoopMerge %5038 %5039 None
OpBranch %5040
%5040 = OpLabel
%5041 = OpLoad %54 %5035
%5042 = OpSLessThan %20 %5041 %84
OpBranchConditional %5042 %5037 %5038
%5037 = OpLabel
OpStore %5043 %55
OpBranch %5044
%5044 = OpLabel
OpLoopMerge %5046 %5047 None
OpBranch %5048
%5048 = OpLabel
%5049 = OpLoad %54 %5043
%5050 = OpINotEqual %20 %5049 %84
OpBranchConditional %5050 %5045 %5046
%5045 = OpLabel
%5051 = OpAccessChain %56 %53 %55 %37
%5052 = OpLoad %6 %5051
%5053 = OpAccessChain %56 %53 %55 %88
%5054 = OpLoad %6 %5053
%5055 = OpFOrdGreaterThan %20 %5052 %5054
OpSelectionMerge %5057 None
OpBranchConditional %5055 %5056 %5057
%5056 = OpLabel
OpSelectionMerge %5059 None
OpBranchConditional %21 %5058 %5059
%5058 = OpLabel
OpBranch %5047
%5059 = OpLabel
OpReturnValue %24
%5057 = OpLabel
OpSelectionMerge %5072 None
OpBranchConditional %26 %5071 %5072
%5071 = OpLabel
%5073 = OpAccessChain %56 %53 %55 %37
%5074 = OpLoad %6 %5073
%5075 = OpAccessChain %56 %53 %55 %88
%5076 = OpLoad %6 %5075
%5077 = OpFOrdLessThan %20 %5074 %5076
OpSelectionMerge %5079 None
OpBranchConditional %5077 %5078 %5079
%5078 = OpLabel
OpReturnValue %24
%5079 = OpLabel
OpSelectionMerge %5104 None
OpBranchConditional %21 %5103 %5104
%5103 = OpLabel
OpBranch %5047
%5104 = OpLabel
OpBranch %5072
%5072 = OpLabel
OpBranch %5047
%5047 = OpLabel
%5106 = OpLoad %54 %5043
%5107 = OpIAdd %54 %5106 %84
OpStore %5043 %5107
OpBranch %5044
%5046 = OpLabel
OpBranch %5039
%5039 = OpLabel
%5108 = OpLoad %54 %5035
%5109 = OpIAdd %54 %5108 %84
OpStore %5035 %5109
OpBranch %5036
%5038 = OpLabel
OpBranch %5034
%5034 = OpLabel
OpBranchConditional %21 %5031 %5033
%5033 = OpLabel
OpBranch %5027
%5027 = OpLabel
%5110 = OpLoad %54 %5019
%5111 = OpISub %54 %5110 %84
OpStore %5019 %5111
OpBranch %5024
%5026 = OpLabel
OpBranch %5018
%5018 = OpLabel
OpBranch %5008
%5008 = OpLabel
%5112 = OpLoad %54 %5001
%5113 = OpISub %54 %5112 %84
OpStore %5001 %5113
OpBranch %5005
%5007 = OpLabel
OpSelectionMerge %5115 None
OpBranchConditional %21 %5114 %5115
%5114 = OpLabel
OpSelectionMerge %5117 None
OpBranchConditional %21 %5116 %5117
%5116 = OpLabel
OpBranch %4930
%5117 = OpLabel
OpBranch %4930
%5115 = OpLabel
OpSelectionMerge %5121 None
OpBranchConditional %21 %5120 %5122
%5120 = OpLabel
OpBranch %5121
%5122 = OpLabel
OpStore %5123 %84
OpBranch %5124
%5124 = OpLabel
OpLoopMerge %5126 %5127 None
OpBranch %5128
%5128 = OpLabel
%5129 = OpLoad %54 %5123
%5130 = OpINotEqual %20 %5129 %55
OpBranchConditional %5130 %5125 %5126
%5125 = OpLabel
OpReturnValue %24
%5127 = OpLabel
OpBranch %5124
%5126 = OpLabel
OpSelectionMerge %5135 None
OpBranchConditional %26 %5134 %5135
%5134 = OpLabel
%5136 = OpAccessChain %56 %53 %55 %37
%5137 = OpLoad %6 %5136
%5138 = OpAccessChain %56 %53 %55 %88
%5139 = OpLoad %6 %5138
%5140 = OpFOrdGreaterThan %20 %5137 %5139
OpSelectionMerge %5142 None
OpBranchConditional %5140 %5141 %5143
%5141 = OpLabel
OpBranch %5142
%5143 = OpLabel
OpSelectionMerge %5145 None
OpBranchConditional %26 %5144 %5145
%5144 = OpLabel
%5146 = OpAccessChain %38 %35 %88
%5147 = OpLoad %6 %5146
%5148 = OpFOrdGreaterThanEqual %20 %5147 %41
OpSelectionMerge %5150 None
OpBranchConditional %5148 %5149 %5150
%5149 = OpLabel
%5151 = OpAccessChain %38 %35 %37
%5152 = OpLoad %6 %5151
%5153 = OpFOrdLessThan %20 %5152 %41
OpSelectionMerge %5155 None
OpBranchConditional %5153 %5154 %5155
%5154 = OpLabel
%5156 = OpAccessChain %38 %35 %88
%5157 = OpLoad %6 %5156
%5158 = OpFOrdGreaterThanEqual %20 %5157 %41
OpSelectionMerge %5160 None
OpBranchConditional %5158 %5159 %5160
%5159 = OpLabel
%5161 = OpAccessChain %38 %35 %88
%5162 = OpLoad %6 %5161
%5163 = OpFOrdLessThan %20 %5162 %41
OpSelectionMerge %5165 None
OpBranchConditional %5163 %5164 %5165
%5164 = OpLabel
OpReturnValue %24
%5165 = OpLabel
OpBranch %5160
%5160 = OpLabel
OpReturnValue %24
%5155 = OpLabel
OpBranch %5150
%5150 = OpLabel
OpBranch %5145
%5145 = OpLabel
OpBranch %5142
%5142 = OpLabel
OpBranch %5135
%5135 = OpLabel
OpBranch %5121
%5121 = OpLabel
OpBranch %5000
%5000 = OpLabel
OpSelectionMerge %5169 None
OpBranchConditional %21 %5168 %5169
%5168 = OpLabel
OpKill
%5169 = OpLabel
OpStore %5171 %55
OpBranch %5172
%5172 = OpLabel
OpLoopMerge %5174 %5175 None
OpBranch %5176
%5176 = OpLabel
%5177 = OpLoad %54 %5171
%5178 = OpSLessThan %20 %5177 %84
OpBranchConditional %5178 %5173 %5174
%5173 = OpLabel
%5179 = OpAccessChain %38 %35 %88
%5180 = OpLoad %6 %5179
%5181 = OpFOrdLessThan %20 %5180 %41
OpSelectionMerge %5183 None
OpBranchConditional %5181 %5182 %5183
%5182 = OpLabel
%5184 = OpAccessChain %38 %35 %88
%5185 = OpLoad %6 %5184
%5186 = OpFOrdGreaterThanEqual %20 %5185 %41
OpSelectionMerge %5188 None
OpBranchConditional %5186 %5187 %5188
%5187 = OpLabel
OpKill
%5188 = OpLabel
OpBranch %5183
%5183 = OpLabel
%5190 = OpAccessChain %38 %35 %37
%5191 = OpLoad %6 %5190
%5192 = OpFOrdLessThan %20 %5191 %41
OpSelectionMerge %5194 None
OpBranchConditional %5192 %5193 %5194
%5193 = OpLabel
OpBranch %5174
%5194 = OpLabel
OpSelectionMerge %5197 None
OpBranchConditional %21 %5196 %5197
%5196 = OpLabel
OpReturnValue %24
%5197 = OpLabel
OpBranch %5199
%5199 = OpLabel
OpLoopMerge %5201 %5202 None
OpBranch %5200
%5200 = OpLabel
OpStore %5203 %84
OpBranch %5204
%5204 = OpLabel
OpLoopMerge %5206 %5207 None
OpBranch %5208
%5208 = OpLabel
%5209 = OpLoad %54 %5203
%5210 = OpSGreaterThan %20 %5209 %55
OpBranchConditional %5210 %5205 %5206
%5205 = OpLabel
OpSelectionMerge %5212 None
OpBranchConditional %21 %5211 %5213
%5211 = OpLabel
OpBranch %5212
%5213 = OpLabel
%5214 = OpAccessChain %38 %35 %37
%5215 = OpLoad %6 %5214
%5216 = OpFOrdGreaterThanEqual %20 %5215 %41
OpSelectionMerge %5218 None
OpBranchConditional %5216 %5217 %5218
%5217 = OpLabel
OpSelectionMerge %5220 None
OpBranchConditional %21 %5219 %5220
%5219 = OpLabel
OpReturnValue %24
%5220 = OpLabel
OpBranch %5218
%5218 = OpLabel
OpBranch %5212
%5212 = OpLabel
OpBranch %5207
%5207 = OpLabel
%5222 = OpLoad %54 %5203
%5223 = OpISub %54 %5222 %84
OpStore %5203 %5223
OpBranch %5204
%5206 = OpLabel
OpBranch %5202
%5202 = OpLabel
%5224 = OpAccessChain %56 %53 %55 %37
%5225 = OpLoad %6 %5224
%5226 = OpAccessChain %56 %53 %55 %88
%5227 = OpLoad %6 %5226
%5228 = OpFOrdGreaterThan %20 %5225 %5227
OpBranchConditional %5228 %5199 %5201
%5201 = OpLabel
OpBranch %5175
%5175 = OpLabel
%5229 = OpLoad %54 %5171
%5230 = OpIAdd %54 %5229 %84
OpStore %5171 %5230
OpBranch %5172
%5174 = OpLabel
OpBranch %4936
%4936 = OpLabel
OpBranch %4931
%4931 = OpLabel
%5231 = OpLoad %54 %4927
%5232 = OpIAdd %54 %5231 %84
OpStore %4927 %5232
OpBranch %4928
%4930 = OpLabel
OpBranch %4926
%4926 = OpLabel
OpStore %5233 %84
OpBranch %5234
%5234 = OpLabel
OpLoopMerge %5236 %5237 None
OpBranch %5238
%5238 = OpLabel
%5239 = OpLoad %54 %5233
%5240 = OpINotEqual %20 %5239 %55
OpBranchConditional %5240 %5235 %5236
%5235 = OpLabel
OpSelectionMerge %5242 None
OpBranchConditional %26 %5241 %5242
%5241 = OpLabel
OpStore %5243 %84
OpBranch %5244
%5244 = OpLabel
OpLoopMerge %5246 %5247 None
OpBranch %5248
%5248 = OpLabel
%5249 = OpLoad %54 %5243
%5250 = OpSGreaterThan %20 %5249 %55
OpBranchConditional %5250 %5245 %5246
%5245 = OpLabel
%5251 = OpAccessChain %38 %35 %88
%5252 = OpLoad %6 %5251
%5253 = OpFOrdLessThan %20 %5252 %41
OpSelectionMerge %5255 None
OpBranchConditional %5253 %5254 %5255
%5254 = OpLabel
%5256 = OpAccessChain %38 %35 %88
%5257 = OpLoad %6 %5256
%5258 = OpFOrdLessThan %20 %5257 %41
OpSelectionMerge %5260 None
OpBranchConditional %5258 %5259 %5261
%5259 = OpLabel
OpBranch %5260
%5261 = OpLabel
OpBranch %5262
%5262 = OpLabel
OpLoopMerge %5264 %5265 None
OpBranch %5263
%5263 = OpLabel
OpStore %5266 %84
OpBranch %5267
%5267 = OpLabel
OpLoopMerge %5269 %5270 None
OpBranch %5271
%5271 = OpLabel
%5272 = OpLoad %54 %5266
%5273 = OpSGreaterThan %20 %5272 %55
OpBranchConditional %5273 %5268 %5269
%5268 = OpLabel
OpBranch %5274
%5274 = OpLabel
OpLoopMerge %5276 %5277 None
OpBranch %5275
%5275 = OpLabel
%5278 = OpAccessChain %38 %35 %88
%5279 = OpLoad %6 %5278
%5280 = OpFOrdLessThan %20 %5279 %41
OpSelectionMerge %5282 None
OpBranchConditional %5280 %5281 %5282
%5281 = OpLabel
OpSelectionMerge %5284 None
OpBranchConditional %21 %5283 %5284
%5283 = OpLabel
OpKill
%5284 = OpLabel
OpReturnValue %24
%5282 = OpLabel
OpBranch %5287
%5287 = OpLabel
OpLoopMerge %5289 %5290 None
OpBranch %5288
%5288 = OpLabel
OpSelectionMerge %5292 None
OpBranchConditional %21 %5291 %5292
%5291 = OpLabel
OpKill
%5292 = OpLabel
OpReturnValue %24
%5290 = OpLabel
OpBranch %5287
%5289 = OpLabel
OpUnreachable
%5277 = OpLabel
OpBranch %5274
%5276 = OpLabel
OpUnreachable
%5270 = OpLabel
OpBranch %5267
%5269 = OpLabel
OpBranch %5265
%5265 = OpLabel
OpBranchConditional %21 %5262 %5264
%5264 = OpLabel
OpBranch %5260
%5260 = OpLabel
OpSelectionMerge %5301 None
OpBranchConditional %21 %5300 %5301
%5300 = OpLabel
OpBranch %5247
%5301 = OpLabel
OpBranch %5255
%5255 = OpLabel
OpBranch %5247
%5247 = OpLabel
%5303 = OpLoad %54 %5243
%5304 = OpISub %54 %5303 %84
OpStore %5243 %5304
OpBranch %5244
%5246 = OpLabel
%5305 = OpAccessChain %56 %53 %55 %37
%5306 = OpLoad %6 %5305
%5307 = OpAccessChain %56 %53 %55 %88
%5308 = OpLoad %6 %5307
%5309 = OpFOrdGreaterThan %20 %5306 %5308
OpSelectionMerge %5311 None
OpBranchConditional %5309 %5310 %5312
%5310 = OpLabel
OpBranch %5311
%5312 = OpLabel
OpSelectionMerge %5314 None
OpBranchConditional %21 %5313 %5314
%5313 = OpLabel
OpReturnValue %24
%5314 = OpLabel
OpBranch %5311
%5311 = OpLabel
OpBranch %5242
%5242 = OpLabel
OpSelectionMerge %5317 None
OpBranchConditional %21 %5316 %5317
%5316 = OpLabel
OpBranch %5237
%5317 = OpLabel
OpBranch %5237
%5237 = OpLabel
%5319 = OpLoad %54 %5233
%5320 = OpISub %54 %5319 %84
OpStore %5233 %5320
OpBranch %5234
%5236 = OpLabel
OpSelectionMerge %5322 None
OpBranchConditional %26 %5321 %5371
%5321 = OpLabel
OpStore %5323 %84
OpBranch %5324
%5324 = OpLabel
OpLoopMerge %5326 %5327 None
OpBranch %5328
%5328 = OpLabel
%5329 = OpLoad %54 %5323
%5330 = OpSGreaterThan %20 %5329 %55
OpBranchConditional %5330 %5325 %5326
%5325 = OpLabel
OpSelectionMerge %5332 None
OpBranchConditional %21 %5331 %5332
%5331 = OpLabel
OpBranch %5327
%5332 = OpLabel
OpSelectionMerge %5335 None
OpBranchConditional %21 %5334 %5335
%5334 = OpLabel
OpKill
%5335 = OpLabel
OpSelectionMerge %5338 None
OpBranchConditional %26 %5337 %5338
%5337 = OpLabel
%5339 = OpAccessChain %56 %53 %55 %37
%5340 = OpLoad %6 %5339
%5341 = OpAccessChain %56 %53 %55 %88
%5342 = OpLoad %6 %5341
%5343 = OpFOrdGreaterThan %20 %5340 %5342
OpSelectionMerge %5345 None
OpBranchConditional %5343 %5344 %5345
%5344 = OpLabel
%5347 = OpAccessChain %56 %53 %55 %37
%5348 = OpLoad %6 %5347
%5349 = OpConvertFToS %54 %5348
OpStore %5346 %5349
OpBranch %5350
%5350 = OpLabel
OpLoopMerge %5352 %5353 None
OpBranch %5354
%5354 = OpLabel
%5355 = OpLoad %54 %5346
%5356 = OpINotEqual %20 %5355 %84
OpBranchConditional %5356 %5351 %5352
%5351 = OpLabel
OpKill
%5353 = OpLabel
OpBranch %5350
%5352 = OpLabel
OpBranch %5345
%5345 = OpLabel
OpSelectionMerge %5361 None
OpBranchConditional %21 %5360 %5361
%5360 = OpLabel
OpReturnValue %24
%5361 = OpLabel
OpBranch %5338
%5338 = OpLabel
OpBranch %5363
%5363 = OpLabel
OpLoopMerge %5365 %5366 None
OpBranch %5364
%5364 = OpLabel
%5367 = OpLoad %6 %2192
OpReturnValue %5367
%5366 = OpLabel
OpBranch %5363
%5365 = OpLabel
OpUnreachable
%5327 = OpLabel
%5369 = OpLoad %54 %5323
%5370 = OpISub %54 %5369 %84
OpStore %5323 %5370
OpBranch %5324
%5326 = OpLabel
OpBranch %5322
%5371 = OpLabel
OpSelectionMerge %5373 None
OpBranchConditional %21 %5372 %5373
%5372 = OpLabel
OpSelectionMerge %5375 None
OpBranchConditional %26 %5374 %5375
%5374 = OpLabel
OpReturnValue %24
%5375 = OpLabel
OpBranch %5373
%5373 = OpLabel
OpBranch %5322
%5322 = OpLabel
%5377 = OpUndef %6
OpReturnValue %5377
OpFunctionEnd
%15 = OpFunction %7 None %13
%14 = OpFunctionParameter %8
%16 = OpLabel
%5380 = OpVariable %5379 Function
%5384 = OpVariable %8 Function
%5395 = OpVariable %17 Function
%5398 = OpVariable %17 Function
%5399 = OpVariable %8 Function
%5440 = OpVariable %76 Function
%5453 = OpVariable %76 Function
%5539 = OpVariable %76 Function
%5620 = OpVariable %76 Function
%5726 = OpVariable %76 Function
%5751 = OpVariable %76 Function
%5799 = OpVariable %76 Function
%5826 = OpVariable %76 Function
%5929 = OpVariable %76 Function
%5951 = OpVariable %76 Function
%5967 = OpVariable %76 Function
%6014 = OpVariable %76 Function
%6026 = OpVariable %76 Function
%6042 = OpVariable %76 Function
%6076 = OpVariable %76 Function
%6163 = OpVariable %76 Function
%6221 = OpVariable %76 Function
%6235 = OpVariable %76 Function
%6298 = OpVariable %76 Function
OpStore %5380 %5383
%5385 = OpLoad %7 %14
%5387 = OpFSub %7 %5385 %5386
OpStore %5384 %5387
%5388 = OpAccessChain %38 %35 %88
%5389 = OpLoad %6 %5388
%5390 = OpFOrdLessThan %20 %5389 %41
OpSelectionMerge %5392 None
OpBranchConditional %5390 %5391 %5392
%5391 = OpLabel
OpReturnValue %5393
%5392 = OpLabel
%5396 = OpLoad %7 %5384
%5397 = OpExtInst %6 %1 Length %5396
OpStore %5395 %5397
%5400 = OpLoad %7 %5384
OpStore %5399 %5400
%5401 = OpFunctionCall %6 %11 %5399
OpStore %5398 %5401
OpBranch %5402
%5402 = OpLabel
OpLoopMerge %5404 %5405 None
OpBranch %5403
%5403 = OpLabel
%5406 = OpAccessChain %38 %35 %88
%5407 = OpLoad %6 %5406
%5408 = OpFOrdGreaterThanEqual %20 %5407 %41
OpSelectionMerge %5410 None
OpBranchConditional %5408 %5409 %5410
%5409 = OpLabel
%5411 = OpAccessChain %38 %35 %88
%5412 = OpLoad %6 %5411
%5413 = OpFOrdLessThan %20 %5412 %41
OpSelectionMerge %5415 None
OpBranchConditional %5413 %5414 %5415
%5414 = OpLabel
%5416 = OpAccessChain %38 %35 %88
%5417 = OpLoad %6 %5416
%5418 = OpFOrdGreaterThanEqual %20 %5417 %41
OpSelectionMerge %5420 None
OpBranchConditional %5418 %5419 %5420
%5419 = OpLabel
OpSelectionMerge %5422 None
OpBranchConditional %26 %5421 %5422
%5421 = OpLabel
OpReturnValue %5393
%5422 = OpLabel
OpBranch %5420
%5420 = OpLabel
OpBranch %5415
%5415 = OpLabel
%5424 = OpAccessChain %56 %53 %55 %37
%5425 = OpLoad %6 %5424
%5426 = OpAccessChain %56 %53 %55 %88
%5427 = OpLoad %6 %5426
%5428 = OpFOrdLessThan %20 %5425 %5427
OpSelectionMerge %5430 None
OpBranchConditional %5428 %5429 %5430
%5429 = OpLabel
OpSelectionMerge %5432 None
OpBranchConditional %21 %5431 %5432
%5431 = OpLabel
OpReturnValue %5393
%5432 = OpLabel
OpBranch %5430
%5430 = OpLabel
OpSelectionMerge %5435 None
OpBranchConditional %26 %5434 %6002
%5434 = OpLabel
OpBranch %5436
%5436 = OpLabel
OpLoopMerge %5438 %5439 None
OpBranch %5437
%5437 = OpLabel
OpStore %5440 %55
OpBranch %5441
%5441 = OpLabel
OpLoopMerge %5443 %5444 None
OpBranch %5445
%5445 = OpLabel
%5446 = OpLoad %54 %5440
%5447 = OpAccessChain %56 %53 %55 %88
%5448 = OpLoad %6 %5447
%5449 = OpConvertFToS %54 %5448
%5450 = OpINotEqual %20 %5446 %5449
OpBranchConditional %5450 %5442 %5443
%5442 = OpLabel
OpSelectionMerge %5452 None
OpBranchConditional %21 %5451 %5452
%5451 = OpLabel
OpStore %5453 %84
OpBranch %5454
%5454 = OpLabel
OpLoopMerge %5456 %5457 None
OpBranch %5458
%5458 = OpLabel
%5459 = OpLoad %54 %5453
%5460 = OpINotEqual %20 %5459 %55
OpBranchConditional %5460 %5455 %5456
%5455 = OpLabel
OpReturnValue %5393
%5457 = OpLabel
OpBranch %5454
%5456 = OpLabel
OpBranch %5452
%5452 = OpLabel
OpSelectionMerge %5465 None
OpBranchConditional %26 %5464 %5465
%5464 = OpLabel
OpSelectionMerge %5467 None
OpBranchConditional %21 %5466 %5467
%5466 = OpLabel
OpReturnValue %5393
%5467 = OpLabel
OpSelectionMerge %5470 None
OpBranchConditional %26 %5469 %5903
%5469 = OpLabel
%5471 = OpAccessChain %56 %53 %55 %37
%5472 = OpLoad %6 %5471
%5473 = OpAccessChain %56 %53 %55 %88
%5474 = OpLoad %6 %5473
%5475 = OpFOrdGreaterThan %20 %5472 %5474
OpSelectionMerge %5477 None
OpBranchConditional %5475 %5476 %5477
%5476 = OpLabel
OpSelectionMerge %5479 None
OpBranchConditional %26 %5478 %5479
%5478 = OpLabel
OpSelectionMerge %5481 None
OpBranchConditional %26 %5480 %5481
%5480 = OpLabel
OpBranch %5482
%5482 = OpLabel
OpLoopMerge %5484 %5485 None
OpBranch %5483
%5483 = OpLabel
OpSelectionMerge %5487 None
OpBranchConditional %21 %5486 %5487
%5486 = OpLabel
%5488 = OpAccessChain %56 %53 %55 %37
%5489 = OpLoad %6 %5488
%5490 = OpAccessChain %56 %53 %55 %88
%5491 = OpLoad %6 %5490
%5492 = OpFOrdGreaterThan %20 %5489 %5491
%5493 = OpLogicalNot %20 %5492
%5494 = OpLogicalNot %20 %5493
OpSelectionMerge %5496 None
OpBranchConditional %5494 %5495 %5496
%5495 = OpLabel
OpKill
%5496 = OpLabel
OpSelectionMerge %5499 None
OpBranchConditional %21 %5498 %5499
%5498 = OpLabel
OpBranch %5484
%5499 = OpLabel
%5501 = OpAccessChain %38 %35 %37
%5502 = OpLoad %6 %5501
%5503 = OpFOrdLessThan %20 %5502 %41
OpSelectionMerge %5505 None
OpBranchConditional %5503 %5504 %5514
%5504 = OpLabel
%5506 = OpAccessChain %56 %53 %55 %37
%5507 = OpLoad %6 %5506
%5508 = OpAccessChain %56 %53 %55 %88
%5509 = OpLoad %6 %5508
%5510 = OpFOrdGreaterThan %20 %5507 %5509
OpSelectionMerge %5512 None
OpBranchConditional %5510 %5511 %5512
%5511 = OpLabel
OpBranch %5485
%5512 = OpLabel
OpBranch %5505
%5514 = OpLabel
OpBranch %5515
%5515 = OpLabel
OpLoopMerge %5517 %5518 None
OpBranch %5516
%5516 = OpLabel
OpReturnValue %5393
%5518 = OpLabel
OpBranch %5515
%5517 = OpLabel
OpUnreachable
%5505 = OpLabel
OpBranch %5520
%5520 = OpLabel
OpLoopMerge %5522 %5523 None
OpBranch %5521
%5521 = OpLabel
OpSelectionMerge %5525 None
OpBranchConditional %21 %5524 %5525
%5524 = OpLabel
OpReturnValue %5393
%5525 = OpLabel
OpBranch %5523
%5523 = OpLabel
%5527 = OpAccessChain %38 %35 %37
%5528 = OpLoad %6 %5527
%5529 = OpFOrdLessThan %20 %5528 %41
OpBranchConditional %5529 %5520 %5522
%5522 = OpLabel
OpBranch %5487
%5487 = OpLabel
OpBranch %5485
%5485 = OpLabel
OpBranchConditional %21 %5482 %5484
%5484 = OpLabel
OpBranch %5481
%5481 = OpLabel
OpBranch %5479
%5479 = OpLabel
OpSelectionMerge %5531 None
OpBranchConditional %26 %5530 %5531
%5530 = OpLabel
OpBranch %5532
%5532 = OpLabel
OpLoopMerge %5534 %5535 None
OpBranch %5533
%5533 = OpLabel
OpSelectionMerge %5537 None
OpBranchConditional %21 %5536 %5537
%5536 = OpLabel
OpBranch %5535
%5537 = OpLabel
OpStore %5539 %84
OpBranch %5540
%5540 = OpLabel
OpLoopMerge %5542 %5543 None
OpBranch %5544
%5544 = OpLabel
%5545 = OpLoad %54 %5539
%5546 = OpAccessChain %56 %53 %55 %37
%5547 = OpLoad %6 %5546
%5548 = OpConvertFToS %54 %5547
%5549 = OpSGreaterThan %20 %5545 %5548
OpBranchConditional %5549 %5541 %5542
%5541 = OpLabel
OpSelectionMerge %5551 None
OpBranchConditional %21 %5550 %5552
%5550 = OpLabel
OpBranch %5551
%5552 = OpLabel
OpSelectionMerge %5554 None
OpBranchConditional %21 %5553 %5555
%5553 = OpLabel
OpBranch %5554
%5555 = OpLabel
OpSelectionMerge %5557 None
OpBranchConditional %21 %5556 %5557
%5556 = OpLabel
%5558 = OpAccessChain %56 %53 %55 %37
%5559 = OpLoad %6 %5558
%5560 = OpAccessChain %56 %53 %55 %88
%5561 = OpLoad %6 %5560
%5562 = OpFOrdLessThan %20 %5559 %5561
OpSelectionMerge %5564 None
OpBranchConditional %5562 %5563 %5564
%5563 = OpLabel
OpBranch %5565
%5565 = OpLabel
OpLoopMerge %5567 %5568 None
OpBranch %5566
%5566 = OpLabel
OpBranch %5569
%5569 = OpLabel
OpLoopMerge %5571 %5572 None
OpBranch %5570
%5570 = OpLabel
OpKill
%5572 = OpLabel
OpBranch %5569
%5571 = OpLabel
OpUnreachable
%5568 = OpLabel
OpBranch %5565
%5567 = OpLabel
OpUnreachable
%5564 = OpLabel
%5577 = OpAccessChain %56 %53 %55 %37
%5578 = OpLoad %6 %5577
%5579 = OpAccessChain %56 %53 %55 %88
%5580 = OpLoad %6 %5579
%5581 = OpFOrdGreaterThan %20 %5578 %5580
OpSelectionMerge %5583 None
OpBranchConditional %5581 %5582 %5583
%5582 = OpLabel
OpBranch %5542
%5583 = OpLabel
OpBranch %5557
%5557 = OpLabel
%5585 = OpAccessChain %38 %35 %88
%5586 = OpLoad %6 %5585
%5587 = OpFOrdLessThan %20 %5586 %41
OpSelectionMerge %5589 None
OpBranchConditional %5587 %5588 %5589
%5588 = OpLabel
OpBranch %5543
%5589 = OpLabel
%5591 = OpAccessChain %56 %53 %55 %37
%5592 = OpLoad %6 %5591
%5593 = OpAccessChain %56 %53 %55 %88
%5594 = OpLoad %6 %5593
%5595 = OpFOrdGreaterThan %20 %5592 %5594
OpSelectionMerge %5597 None
OpBranchConditional %5595 %5596 %5597
%5596 = OpLabel
OpBranch %5598
%5598 = OpLabel
OpLoopMerge %5600 %5601 None
OpBranch %5599
%5599 = OpLabel
OpKill
%5601 = OpLabel
OpBranch %5598
%5600 = OpLabel
OpUnreachable
%5597 = OpLabel
%5603 = OpAccessChain %38 %35 %37
%5604 = OpLoad %6 %5603
%5605 = OpAccessChain %56 %53 %55 %37
%5606 = OpLoad %6 %5605
%5607 = OpFOrdLessThan %20 %5604 %5606
OpSelectionMerge %5609 None
OpBranchConditional %5607 %5608 %5609
%5608 = OpLabel
OpSelectionMerge %5611 None
OpBranchConditional %21 %5610 %5611
%5610 = OpLabel
OpKill
%5611 = OpLabel
OpSelectionMerge %5614 None
OpBranchConditional %21 %5613 %5614
%5613 = OpLabel
OpSelectionMerge %5616 None
OpBranchConditional %21 %5615 %5616
%5615 = OpLabel
OpBranch %5542
%5616 = OpLabel
OpSelectionMerge %5619 None
OpBranchConditional %21 %5618 %5619
%5618 = OpLabel
OpStore %5620 %55
OpBranch %5621
%5621 = OpLabel
OpLoopMerge %5623 %5624 None
OpBranch %5625
%5625 = OpLabel
%5626 = OpLoad %54 %5620
%5627 = OpSLessThan %20 %5626 %84
OpBranchConditional %5627 %5622 %5623
%5622 = OpLabel
OpKill
%5624 = OpLabel
OpBranch %5621
%5623 = OpLabel
OpBranch %5619
%5619 = OpLabel
OpBranch %5542
%5614 = OpLabel
OpReturnValue %5393
%5609 = OpLabel
OpSelectionMerge %5634 None
OpBranchConditional %21 %5633 %5634
%5633 = OpLabel
OpBranch %5542
%5634 = OpLabel
OpBranch %5554
%5554 = OpLabel
OpSelectionMerge %5637 None
OpBranchConditional %21 %5636 %5638
%5636 = OpLabel
OpBranch %5637
%5638 = OpLabel
OpSelectionMerge %5640 None
OpBranchConditional %21 %5639 %5640
%5639 = OpLabel
%5641 = OpAccessChain %56 %53 %55 %37
%5642 = OpLoad %6 %5641
%5643 = OpAccessChain %56 %53 %55 %88
%5644 = OpLoad %6 %5643
%5645 = OpFOrdLessThan %20 %5642 %5644
OpSelectionMerge %5647 None
OpBranchConditional %5645 %5646 %5647
%5646 = OpLabel
OpSelectionMerge %5649 None
OpBranchConditional %26 %5648 %5649
%5648 = OpLabel
OpReturnValue %5393
%5649 = OpLabel
OpBranch %5647
%5647 = OpLabel
OpBranch %5640
%5640 = OpLabel
OpBranch %5637
%5637 = OpLabel
%5651 = OpAccessChain %38 %35 %88
%5652 = OpLoad %6 %5651
%5653 = OpFOrdLessThan %20 %5652 %41
OpSelectionMerge %5655 None
OpBranchConditional %5653 %5654 %5655
%5654 = OpLabel
OpBranch %5542
%5655 = OpLabel
OpBranch %5551
%5551 = OpLabel
%5657 = OpAccessChain %38 %35 %88
%5658 = OpLoad %6 %5657
%5659 = OpFOrdLessThan %20 %5658 %41
OpSelectionMerge %5661 None
OpBranchConditional %5659 %5660 %5661
%5660 = OpLabel
OpSelectionMerge %5663 None
OpBranchConditional %21 %5662 %5663
%5662 = OpLabel
OpBranch %5542
%5663 = OpLabel
%5665 = OpAccessChain %38 %35 %88
%5666 = OpLoad %6 %5665
%5667 = OpFOrdLessThan %20 %5666 %41
OpSelectionMerge %5669 None
OpBranchConditional %5667 %5668 %5669
%5668 = OpLabel
OpBranch %5542
%5669 = OpLabel
OpSelectionMerge %5672 None
OpBranchConditional %21 %5671 %5672
%5671 = OpLabel
OpBranch %5543
%5672 = OpLabel
OpSelectionMerge %5675 None
OpBranchConditional %26 %5674 %5675
%5674 = OpLabel
OpSelectionMerge %5677 None
OpBranchConditional %26 %5676 %5677
%5676 = OpLabel
OpSelectionMerge %5679 None
OpBranchConditional %21 %5678 %5679
%5678 = OpLabel
OpSelectionMerge %5681 None
OpBranchConditional %26 %5680 %5681
%5680 = OpLabel
OpKill
%5681 = OpLabel
OpBranch %5679
%5679 = OpLabel
OpBranch %5677
%5677 = OpLabel
OpReturnValue %5393
%5675 = OpLabel
OpBranch %5661
%5661 = OpLabel
OpSelectionMerge %5685 None
OpBranchConditional %21 %5684 %5685
%5684 = OpLabel
OpReturnValue %5393
%5685 = OpLabel
OpSelectionMerge %5688 None
OpBranchConditional %21 %5687 %5688
%5687 = OpLabel
OpBranch %5542
%5688 = OpLabel
OpSelectionMerge %5691 None
OpBranchConditional %26 %5690 %5691
%5690 = OpLabel
OpSelectionMerge %5693 None
OpBranchConditional %21 %5692 %5693
%5692 = OpLabel
OpBranch %5542
%5693 = OpLabel
OpSelectionMerge %5696 None
OpBranchConditional %21 %5695 %5696
%5695 = OpLabel
%5697 = OpAccessChain %56 %53 %55 %37
%5698 = OpLoad %6 %5697
%5699 = OpAccessChain %56 %53 %55 %88
%5700 = OpLoad %6 %5699
%5701 = OpFOrdGreaterThan %20 %5698 %5700
OpSelectionMerge %5703 None
OpBranchConditional %5701 %5702 %5703
%5702 = OpLabel
%5704 = OpAccessChain %56 %53 %55 %37
%5705 = OpLoad %6 %5704
%5706 = OpAccessChain %56 %53 %55 %88
%5707 = OpLoad %6 %5706
%5708 = OpFOrdLessThan %20 %5705 %5707
OpSelectionMerge %5710 None
OpBranchConditional %5708 %5709 %5710
%5709 = OpLabel
OpReturnValue %5393
%5710 = OpLabel
OpBranch %5703
%5703 = OpLabel
OpReturnValue %5393
%5696 = OpLabel
%5737 = OpAccessChain %38 %35 %88
%5738 = OpLoad %6 %5737
%5739 = OpFOrdLessThan %20 %5738 %41
OpSelectionMerge %5741 None
OpBranchConditional %5739 %5740 %5741
%5740 = OpLabel
OpBranch %5542
%5741 = OpLabel
OpBranch %5691
%5691 = OpLabel
OpReturnValue %5393
%5543 = OpLabel
%5816 = OpLoad %54 %5539
%5817 = OpISub %54 %5816 %84
OpStore %5539 %5817
OpBranch %5540
%5542 = OpLabel
OpBranch %5818
%5818 = OpLabel
OpLoopMerge %5820 %5821 None
OpBranch %5819
%5819 = OpLabel
OpBranch %5822
%5822 = OpLabel
OpLoopMerge %5824 %5825 None
OpBranch %5823
%5823 = OpLabel
OpStore %5826 %84
OpBranch %5827
%5827 = OpLabel
OpLoopMerge %5829 %5830 None
OpBranch %5831
%5831 = OpLabel
%5832 = OpLoad %54 %5826
%5833 = OpSGreaterThan %20 %5832 %55
OpBranchConditional %5833 %5828 %5829
%5828 = OpLabel
OpSelectionMerge %5835 None
OpBranchConditional %21 %5834 %5835
%5834 = OpLabel
OpKill
%5835 = OpLabel
OpBranch %5830
%5830 = OpLabel
%5837 = OpLoad %54 %5826
%5838 = OpISub %54 %5837 %84
OpStore %5826 %5838
OpBranch %5827
%5829 = OpLabel
OpBranch %5825
%5825 = OpLabel
OpBranchConditional %21 %5822 %5824
%5824 = OpLabel
OpBranch %5821
%5821 = OpLabel
OpBranchConditional %21 %5818 %5820
%5820 = OpLabel
OpBranch %5535
%5535 = OpLabel
%5839 = OpAccessChain %56 %53 %55 %37
%5840 = OpLoad %6 %5839
%5841 = OpAccessChain %56 %53 %55 %88
%5842 = OpLoad %6 %5841
%5843 = OpFOrdGreaterThan %20 %5840 %5842
OpBranchConditional %5843 %5532 %5534
%5534 = OpLabel
OpBranch %5531
%5531 = OpLabel
OpBranch %5477
%5477 = OpLabel
OpSelectionMerge %5845 None
OpBranchConditional %26 %5844 %5845
%5844 = OpLabel
OpBranch %5846
%5846 = OpLabel
OpLoopMerge %5848 %5849 None
OpBranch %5847
%5847 = OpLabel
OpBranch %5850
%5850 = OpLabel
OpLoopMerge %5852 %5853 None
OpBranch %5851
%5851 = OpLabel
OpSelectionMerge %5855 None
OpBranchConditional %26 %5854 %5855
%5854 = OpLabel
OpSelectionMerge %5857 None
OpBranchConditional %21 %5856 %5857
%5856 = OpLabel
OpSelectionMerge %5859 None
OpBranchConditional %26 %5858 %5859
%5858 = OpLabel
OpBranch %5860
%5860 = OpLabel
OpLoopMerge %5862 %5863 None
OpBranch %5861
%5861 = OpLabel
OpReturnValue %5393
%5863 = OpLabel
OpBranch %5860
%5862 = OpLabel
OpUnreachable
%5859 = OpLabel
OpBranch %5857
%5857 = OpLabel
OpBranch %5855
%5855 = OpLabel
OpBranch %5853
%5853 = OpLabel
OpBranchConditional %21 %5850 %5852
%5852 = OpLabel
OpBranch %5849
%5849 = OpLabel
%5868 = OpAccessChain %38 %35 %88
%5869 = OpLoad %6 %5868
%5870 = OpFOrdLessThan %20 %5869 %41
OpBranchConditional %5870 %5846 %5848
%5848 = OpLabel
OpBranch %5845
%5845 = OpLabel
%5871 = OpAccessChain %38 %35 %37
%5872 = OpLoad %6 %5871
%5873 = OpFOrdLessThan %20 %5872 %41
OpSelectionMerge %5875 None
OpBranchConditional %5873 %5874 %5875
%5874 = OpLabel
OpSelectionMerge %5877 None
OpBranchConditional %21 %5876 %5878
%5876 = OpLabel
OpBranch %5877
%5878 = OpLabel
OpKill
%5877 = OpLabel
OpBranch %5875
%5875 = OpLabel
OpSelectionMerge %5892 None
OpBranchConditional %21 %5891 %5892
%5891 = OpLabel
OpReturnValue %5393
%5892 = OpLabel
%5894 = OpAccessChain %38 %35 %37
%5895 = OpLoad %6 %5894
%5896 = OpFOrdLessThan %20 %5895 %41
OpSelectionMerge %5898 None
OpBranchConditional %5896 %5897 %5898
%5897 = OpLabel
OpBranch %5444
%5898 = OpLabel
OpSelectionMerge %5901 None
OpBranchConditional %21 %5900 %5901
%5900 = OpLabel
OpBranch %5444
%5901 = OpLabel
OpBranch %5470
%5903 = OpLabel
OpSelectionMerge %5905 None
OpBranchConditional %21 %5904 %5905
%5904 = OpLabel
OpBranch %5444
%5905 = OpLabel
%5907 = OpAccessChain %56 %53 %55 %37
%5908 = OpLoad %6 %5907
%5909 = OpAccessChain %56 %53 %55 %88
%5910 = OpLoad %6 %5909
%5911 = OpFOrdGreaterThan %20 %5908 %5910
OpSelectionMerge %5913 None
OpBranchConditional %5911 %5912 %5913
%5912 = OpLabel
OpSelectionMerge %5915 None
OpBranchConditional %26 %5914 %5915
%5914 = OpLabel
%5916 = OpAccessChain %38 %35 %37
%5917 = OpLoad %6 %5916
%5918 = OpFOrdLessThan %20 %5917 %41
OpSelectionMerge %5920 None
OpBranchConditional %5918 %5919 %5921
%5919 = OpLabel
OpBranch %5920
%5921 = OpLabel
OpSelectionMerge %5923 None
OpBranchConditional %21 %5922 %5923
%5922 = OpLabel
OpKill
%5923 = OpLabel
OpBranch %5920
%5920 = OpLabel
OpBranch %5925
%5925 = OpLabel
OpLoopMerge %5927 %5928 None
OpBranch %5926
%5926 = OpLabel
OpStore %5929 %84
OpBranch %5930
%5930 = OpLabel
OpLoopMerge %5932 %5933 None
OpBranch %5934
%5934 = OpLabel
%5935 = OpLoad %54 %5929
%5936 = OpSGreaterThan %20 %5935 %55
OpBranchConditional %5936 %5931 %5932
%5931 = OpLabel
OpReturnValue %5393
%5933 = OpLabel
OpBranch %5930
%5932 = OpLabel
OpBranch %5928
%5928 = OpLabel
%5940 = OpAccessChain %38 %35 %88
%5941 = OpLoad %6 %5940
%5942 = OpFOrdLessThan %20 %5941 %41
OpBranchConditional %5942 %5925 %5927
%5927 = OpLabel
OpBranch %5915
%5915 = OpLabel
%5943 = OpAccessChain %56 %53 %55 %37
%5944 = OpLoad %6 %5943
%5945 = OpAccessChain %56 %53 %55 %88
%5946 = OpLoad %6 %5945
%5947 = OpFOrdGreaterThan %20 %5944 %5946
OpSelectionMerge %5949 None
OpBranchConditional %5947 %5948 %5949
%5948 = OpLabel
OpBranch %5444
%5949 = OpLabel
OpStore %5951 %55
OpBranch %5952
%5952 = OpLabel
OpLoopMerge %5954 %5955 None
OpBranch %5956
%5956 = OpLabel
%5957 = OpLoad %54 %5951
%5958 = OpSLessThan %20 %5957 %84
OpBranchConditional %5958 %5953 %5954
%5953 = OpLabel
OpSelectionMerge %5960 None
OpBranchConditional %21 %5959 %5960
%5959 = OpLabel
%5961 = OpAccessChain %38 %35 %88
%5962 = OpLoad %6 %5961
%5963 = OpFOrdLessThan %20 %5962 %41
OpSelectionMerge %5965 None
OpBranchConditional %5963 %5964 %5965
%5964 = OpLabel
OpKill
%5965 = OpLabel
OpStore %5967 %55
OpBranch %5968
%5968 = OpLabel
OpLoopMerge %5970 %5971 None
OpBranch %5972
%5972 = OpLabel
%5973 = OpLoad %54 %5967
%5974 = OpSLessThan %20 %5973 %84
OpBranchConditional %5974 %5969 %5970
%5969 = OpLabel
OpSelectionMerge %5976 None
OpBranchConditional %21 %5975 %5977
%5975 = OpLabel
OpBranch %5976
%5977 = OpLabel
OpReturnValue %5393
%5976 = OpLabel
OpBranch %5971
%5971 = OpLabel
%5988 = OpLoad %54 %5967
%5989 = OpIAdd %54 %5988 %84
OpStore %5967 %5989
OpBranch %5968
%5970 = OpLabel
OpBranch %5960
%5960 = OpLabel
OpBranch %5955
%5955 = OpLabel
%5990 = OpLoad %54 %5951
%5991 = OpIAdd %54 %5990 %84
OpStore %5951 %5991
OpBranch %5952
%5954 = OpLabel
OpBranch %5913
%5913 = OpLabel
OpBranch %5470
%5470 = OpLabel
OpBranch %5465
%5465 = OpLabel
OpSelectionMerge %5993 None
OpBranchConditional %21 %5992 %5993
%5992 = OpLabel
OpBranch %5443
%5993 = OpLabel
OpBranch %5444
%5444 = OpLabel
%5995 = OpLoad %54 %5440
%5996 = OpIAdd %54 %5995 %84
OpStore %5440 %5996
OpBranch %5441
%5443 = OpLabel
OpBranch %5439
%5439 = OpLabel
%5997 = OpAccessChain %56 %53 %55 %37
%5998 = OpLoad %6 %5997
%5999 = OpAccessChain %56 %53 %55 %88
%6000 = OpLoad %6 %5999
%6001 = OpFOrdGreaterThan %20 %5998 %6000
OpBranchConditional %6001 %5436 %5438
%5438 = OpLabel
OpBranch %5435
%6002 = OpLabel
%6003 = OpAccessChain %38 %35 %37
%6004 = OpLoad %6 %6003
%6005 = OpAccessChain %56 %53 %55 %37
%6006 = OpLoad %6 %6005
%6007 = OpFOrdLessThan %20 %6004 %6006
OpSelectionMerge %6009 None
OpBranchConditional %6007 %6008 %6009
%6008 = OpLabel
OpBranch %5404
%6009 = OpLabel
OpBranch %5435
%5435 = OpLabel
OpBranch %5410
%5410 = OpLabel
OpBranch %5405
%5405 = OpLabel
%6011 = OpAccessChain %38 %35 %37
%6012 = OpLoad %6 %6011
%6013 = OpFOrdLessThan %20 %6012 %41
OpBranchConditional %6013 %5402 %5404
%5404 = OpLabel
OpStore %6014 %84
OpBranch %6015
%6015 = OpLabel
OpLoopMerge %6017 %6018 None
OpBranch %6019
%6019 = OpLabel
%6020 = OpLoad %54 %6014
%6021 = OpINotEqual %20 %6020 %55
OpBranchConditional %6021 %6016 %6017
%6016 = OpLabel
OpBranch %6022
%6022 = OpLabel
OpLoopMerge %6024 %6025 None
OpBranch %6023
%6023 = OpLabel
OpStore %6026 %55
OpBranch %6027
%6027 = OpLabel
OpLoopMerge %6029 %6030 None
OpBranch %6031
%6031 = OpLabel
%6032 = OpLoad %54 %6026
%6033 = OpINotEqual %20 %6032 %84
OpBranchConditional %6033 %6028 %6029
%6028 = OpLabel
OpSelectionMerge %6035 None
OpBranchConditional %21 %6034 %6035
%6034 = OpLabel
OpBranch %6036
%6036 = OpLabel
OpLoopMerge %6038 %6039 None
OpBranch %6037
%6037 = OpLabel
OpSelectionMerge %6041 None
OpBranchConditional %26 %6040 %6041
%6040 = OpLabel
OpStore %6042 %55
OpBranch %6043
%6043 = OpLabel
OpLoopMerge %6045 %6046 None
OpBranch %6047
%6047 = OpLabel
%6048 = OpLoad %54 %6042
%6049 = OpAccessChain %56 %53 %55 %88
%6050 = OpLoad %6 %6049
%6051 = OpConvertFToS %54 %6050
%6052 = OpSLessThan %20 %6048 %6051
OpBranchConditional %6052 %6044 %6045
%6044 = OpLabel
OpBranch %6053
%6053 = OpLabel
OpLoopMerge %6055 %6056 None
OpBranch %6054
%6054 = OpLabel
OpSelectionMerge %6058 None
OpBranchConditional %21 %6057 %6058
%6057 = OpLabel
OpBranch %6056
%6058 = OpLabel
OpReturnValue %5393
%6056 = OpLabel
OpBranchConditional %21 %6053 %6055
%6055 = OpLabel
OpBranch %6046
%6046 = OpLabel
%6067 = OpLoad %54 %6042
%6068 = OpIAdd %54 %6067 %84
OpStore %6042 %6068
OpBranch %6043
%6045 = OpLabel
OpBranch %6041
%6041 = OpLabel
OpBranch %6039
%6039 = OpLabel
%6069 = OpAccessChain %38 %35 %37
%6070 = OpLoad %6 %6069
%6071 = OpFOrdLessThan %20 %6070 %41
OpBranchConditional %6071 %6036 %6038
%6038 = OpLabel
OpBranch %6035
%6035 = OpLabel
OpBranch %6030
%6030 = OpLabel
%6072 = OpLoad %54 %6026
%6073 = OpIAdd %54 %6072 %84
OpStore %6026 %6073
OpBranch %6027
%6029 = OpLabel
OpBranch %6025
%6025 = OpLabel
OpBranchConditional %21 %6022 %6024
%6024 = OpLabel
OpBranch %6018
%6018 = OpLabel
%6074 = OpLoad %54 %6014
%6075 = OpISub %54 %6074 %84
OpStore %6014 %6075
OpBranch %6015
%6017 = OpLabel
OpStore %6076 %55
OpBranch %6077
%6077 = OpLabel
OpLoopMerge %6079 %6080 None
OpBranch %6081
%6081 = OpLabel
%6082 = OpLoad %54 %6076
%6083 = OpINotEqual %20 %6082 %84
OpBranchConditional %6083 %6078 %6079
%6078 = OpLabel
OpSelectionMerge %6085 None
OpBranchConditional %26 %6084 %6085
%6084 = OpLabel
%6086 = OpLoad %6 %5395
%6087 = OpLoad %6 %5398
%6088 = OpCompositeConstruct %7 %6086 %6087
OpReturnValue %6088
%6085 = OpLabel
OpBranch %6080
%6080 = OpLabel
%6090 = OpLoad %54 %6076
%6091 = OpIAdd %54 %6090 %84
OpStore %6076 %6091
OpBranch %6077
%6079 = OpLabel
OpBranch %6092
%6092 = OpLabel
OpLoopMerge %6094 %6095 None
OpBranch %6093
%6093 = OpLabel
OpSelectionMerge %6097 None
OpBranchConditional %21 %6096 %6097
%6096 = OpLabel
OpReturnValue %5393
%6097 = OpLabel
OpBranch %6095
%6095 = OpLabel
OpBranchConditional %21 %6092 %6094
%6094 = OpLabel
OpSelectionMerge %6100 None
OpBranchConditional %21 %6099 %6101
%6099 = OpLabel
OpBranch %6100
%6101 = OpLabel
%6102 = OpAccessChain %56 %53 %55 %37
%6103 = OpLoad %6 %6102
%6104 = OpAccessChain %56 %53 %55 %88
%6105 = OpLoad %6 %6104
%6106 = OpFOrdGreaterThan %20 %6103 %6105
OpSelectionMerge %6108 None
OpBranchConditional %6106 %6107 %6108
%6107 = OpLabel
OpReturnValue %5393
%6108 = OpLabel
OpBranch %6100
%6100 = OpLabel
OpBranch %6110
%6110 = OpLabel
OpLoopMerge %6112 %6113 None
OpBranch %6111
%6111 = OpLabel
OpBranch %6114
%6114 = OpLabel
OpLoopMerge %6116 %6117 None
OpBranch %6115
%6115 = OpLabel
%6118 = OpAccessChain %38 %35 %88
%6119 = OpLoad %6 %6118
%6120 = OpFOrdLessThan %20 %6119 %41
OpSelectionMerge %6122 None
OpBranchConditional %6120 %6121 %6122
%6121 = OpLabel
%6123 = OpAccessChain %38 %35 %37
%6124 = OpLoad %6 %6123
%6125 = OpFOrdLessThan %20 %6124 %41
OpSelectionMerge %6127 None
OpBranchConditional %6125 %6126 %6128
%6126 = OpLabel
OpBranch %6127
%6128 = OpLabel
OpSelectionMerge %6130 None
OpBranchConditional %26 %6129 %6130
%6129 = OpLabel
%6131 = OpAccessChain %56 %53 %55 %37
%6132 = OpLoad %6 %6131
%6133 = OpAccessChain %56 %53 %55 %88
%6134 = OpLoad %6 %6133
%6135 = OpFOrdGreaterThan %20 %6132 %6134
OpSelectionMerge %6137 None
OpBranchConditional %6135 %6136 %6137
%6136 = OpLabel
OpReturnValue %5393
%6137 = OpLabel
OpBranch %6130
%6130 = OpLabel
OpBranch %6127
%6127 = OpLabel
%6139 = OpAccessChain %56 %53 %55 %37
%6140 = OpLoad %6 %6139
%6141 = OpAccessChain %56 %53 %55 %88
%6142 = OpLoad %6 %6141
%6143 = OpFOrdGreaterThan %20 %6140 %6142
OpSelectionMerge %6145 None
OpBranchConditional %6143 %6144 %6146
%6144 = OpLabel
OpBranch %6145
%6146 = OpLabel
OpReturnValue %5393
%6145 = OpLabel
OpBranch %6122
%6122 = OpLabel
OpBranch %6117
%6117 = OpLabel
%6148 = OpAccessChain %38 %35 %88
%6149 = OpLoad %6 %6148
%6150 = OpFOrdLessThan %20 %6149 %41
OpBranchConditional %6150 %6114 %6116
%6116 = OpLabel
OpBranch %6113
%6113 = OpLabel
OpBranchConditional %21 %6110 %6112
%6112 = OpLabel
%6151 = OpAccessChain %56 %53 %55 %37
%6152 = OpLoad %6 %6151
%6153 = OpAccessChain %56 %53 %55 %88
%6154 = OpLoad %6 %6153
%6155 = OpFOrdLessThan %20 %6152 %6154
OpSelectionMerge %6157 None
OpBranchConditional %6155 %6156 %6157
%6156 = OpLabel
%6158 = OpAccessChain %38 %35 %37
%6159 = OpLoad %6 %6158
%6160 = OpFOrdLessThan %20 %6159 %41
OpSelectionMerge %6162 None
OpBranchConditional %6160 %6161 %6162
%6161 = OpLabel
OpStore %6163 %55
OpBranch %6164
%6164 = OpLabel
OpLoopMerge %6166 %6167 None
OpBranch %6168
%6168 = OpLabel
%6169 = OpLoad %54 %6163
%6170 = OpAccessChain %56 %53 %55 %88
%6171 = OpLoad %6 %6170
%6172 = OpConvertFToS %54 %6171
%6173 = OpSLessThan %20 %6169 %6172
OpBranchConditional %6173 %6165 %6166
%6165 = OpLabel
OpReturnValue %5393
%6167 = OpLabel
OpBranch %6164
%6166 = OpLabel
OpBranch %6162
%6162 = OpLabel
OpBranch %6157
%6157 = OpLabel
OpBranch %6186
%6186 = OpLabel
OpLoopMerge %6188 %6189 None
OpBranch %6187
%6187 = OpLabel
OpSelectionMerge %6191 None
OpBranchConditional %21 %6190 %6191
%6190 = OpLabel
OpSelectionMerge %6193 None
OpBranchConditional %21 %6192 %6193
%6192 = OpLabel
%6194 = OpAccessChain %56 %53 %55 %37
%6195 = OpLoad %6 %6194
%6196 = OpAccessChain %56 %53 %55 %88
%6197 = OpLoad %6 %6196
%6198 = OpFOrdGreaterThan %20 %6195 %6197
OpSelectionMerge %6200 None
OpBranchConditional %6198 %6199 %6200
%6199 = OpLabel
OpSelectionMerge %6202 None
OpBranchConditional %21 %6201 %6203
%6201 = OpLabel
OpBranch %6202
%6203 = OpLabel
OpReturnValue %5393
%6202 = OpLabel
OpBranch %6200
%6200 = OpLabel
OpBranch %6205
%6205 = OpLabel
OpLoopMerge %6207 %6208 None
OpBranch %6206
%6206 = OpLabel
%6209 = OpAccessChain %38 %35 %37
%6210 = OpLoad %6 %6209
%6211 = OpFOrdLessThan %20 %6210 %41
OpSelectionMerge %6213 None
OpBranchConditional %6211 %6212 %6213
%6212 = OpLabel
OpReturnValue %5393
%6213 = OpLabel
OpBranch %6208
%6208 = OpLabel
%6215 = OpAccessChain %38 %35 %88
%6216 = OpLoad %6 %6215
%6217 = OpFOrdLessThan %20 %6216 %41
OpBranchConditional %6217 %6205 %6207
%6207 = OpLabel
OpSelectionMerge %6219 None
OpBranchConditional %21 %6218 %6219
%6218 = OpLabel
OpReturnValue %5393
%6219 = OpLabel
OpStore %6221 %84
OpBranch %6222
%6222 = OpLabel
OpLoopMerge %6224 %6225 None
OpBranch %6226
%6226 = OpLabel
%6227 = OpLoad %54 %6221
%6228 = OpSGreaterThan %20 %6227 %55
OpBranchConditional %6228 %6223 %6224
%6223 = OpLabel
OpSelectionMerge %6230 None
OpBranchConditional %26 %6229 %6230
%6229 = OpLabel
OpBranch %6231
%6231 = OpLabel
OpLoopMerge %6233 %6234 None
OpBranch %6232
%6232 = OpLabel
%6236 = OpAccessChain %56 %53 %55 %37
%6237 = OpLoad %6 %6236
%6238 = OpConvertFToS %54 %6237
OpStore %6235 %6238
OpBranch %6239
%6239 = OpLabel
OpLoopMerge %6241 %6242 None
OpBranch %6243
%6243 = OpLabel
%6244 = OpLoad %54 %6235
%6245 = OpINotEqual %20 %6244 %84
OpBranchConditional %6245 %6240 %6241
%6240 = OpLabel
OpSelectionMerge %6247 None
OpBranchConditional %21 %6246 %6247
%6246 = OpLabel
OpBranch %6242
%6247 = OpLabel
OpSelectionMerge %6250 None
OpBranchConditional %21 %6249 %6250
%6249 = OpLabel
OpBranch %6242
%6250 = OpLabel
%6252 = OpAccessChain %38 %35 %37
%6253 = OpLoad %6 %6252
%6254 = OpFOrdGreaterThanEqual %20 %6253 %41
OpSelectionMerge %6256 None
OpBranchConditional %6254 %6255 %6256
%6255 = OpLabel
OpSelectionMerge %6258 None
OpBranchConditional %21 %6257 %6259
%6257 = OpLabel
OpBranch %6258
%6259 = OpLabel
OpSelectionMerge %6261 None
OpBranchConditional %21 %6260 %6261
%6260 = OpLabel
%6262 = OpAccessChain %38 %35 %37
%6263 = OpLoad %6 %6262
%6265 = OpAccessChain %56 %53 %55 %88
%6266 = OpLoad %6 %6265
%6267 = OpCompositeConstruct %4107 %6266 %41 %41
%6268 = OpDot %6 %6264 %6267
%6269 = OpFOrdLessThan %20 %6263 %6268
OpSelectionMerge %6271 None
OpBranchConditional %6269 %6270 %6272
%6270 = OpLabel
OpBranch %6271
%6272 = OpLabel
OpKill
%6271 = OpLabel
OpBranch %6261
%6261 = OpLabel
OpBranch %6258
%6258 = OpLabel
OpBranch %6256
%6256 = OpLabel
OpReturnValue %5393
%6242 = OpLabel
%6275 = OpLoad %54 %6235
%6276 = OpIAdd %54 %6275 %84
OpStore %6235 %6276
OpBranch %6239
%6241 = OpLabel
OpBranch %6234
%6234 = OpLabel
%6277 = OpAccessChain %38 %35 %37
%6278 = OpLoad %6 %6277
%6279 = OpFOrdLessThan %20 %6278 %41
OpBranchConditional %6279 %6231 %6233
%6233 = OpLabel
OpBranch %6230
%6230 = OpLabel
OpBranch %6225
%6225 = OpLabel
%6280 = OpLoad %54 %6221
%6281 = OpISub %54 %6280 %84
OpStore %6221 %6281
OpBranch %6222
%6224 = OpLabel
OpSelectionMerge %6283 None
OpBranchConditional %21 %6282 %6283
%6282 = OpLabel
OpBranch %6188
%6283 = OpLabel
%6285 = OpAccessChain %56 %53 %55 %37
%6286 = OpLoad %6 %6285
%6287 = OpAccessChain %56 %53 %55 %88
%6288 = OpLoad %6 %6287
%6289 = OpFOrdGreaterThan %20 %6286 %6288
OpSelectionMerge %6291 None
OpBranchConditional %6289 %6290 %6291
%6290 = OpLabel
OpBranch %6189
%6291 = OpLabel
OpBranch %6193
%6193 = OpLabel
OpSelectionMerge %6294 None
OpBranchConditional %26 %6293 %6294
%6293 = OpLabel
OpSelectionMerge %6296 None
OpBranchConditional %21 %6295 %6297
%6295 = OpLabel
OpBranch %6296
%6297 = OpLabel
%6299 = OpAccessChain %56 %53 %55 %37
%6300 = OpLoad %6 %6299
%6301 = OpConvertFToS %54 %6300
OpStore %6298 %6301
OpBranch %6302
%6302 = OpLabel
OpLoopMerge %6304 %6305 None
OpBranch %6306
%6306 = OpLabel
%6307 = OpLoad %54 %6298
%6308 = OpINotEqual %20 %6307 %84
OpBranchConditional %6308 %6303 %6304
%6303 = OpLabel
OpSelectionMerge %6310 None
OpBranchConditional %21 %6309 %6310
%6309 = OpLabel
OpSelectionMerge %6312 None
OpBranchConditional %21 %6311 %6313
%6311 = OpLabel
OpBranch %6312
%6313 = OpLabel
%6314 = OpAccessChain %38 %35 %37
%6315 = OpLoad %6 %6314
%6316 = OpFOrdLessThan %20 %6315 %41
OpSelectionMerge %6318 None
OpBranchConditional %6316 %6317 %6318
%6317 = OpLabel
OpReturnValue %5393
%6318 = OpLabel
OpBranch %6312
%6312 = OpLabel
OpBranch %6320
%6320 = OpLabel
OpLoopMerge %6322 %6323 None
OpBranch %6321
%6321 = OpLabel
OpSelectionMerge %6325 None
OpBranchConditional %21 %6324 %6326
%6324 = OpLabel
OpBranch %6325
%6326 = OpLabel
%6327 = OpAccessChain %38 %35 %88
%6328 = OpLoad %6 %6327
%6329 = OpFOrdLessThan %20 %6328 %41
OpSelectionMerge %6331 None
OpBranchConditional %6329 %6330 %6332
%6330 = OpLabel
OpBranch %6331
%6332 = OpLabel
OpBranch %6333
%6333 = OpLabel
OpLoopMerge %6335 %6336 None
OpBranch %6334
%6334 = OpLabel
%6337 = OpAccessChain %38 %35 %37
%6338 = OpLoad %6 %6337
%6339 = OpFOrdGreaterThanEqual %20 %6338 %41
OpSelectionMerge %6341 None
OpBranchConditional %6339 %6340 %6341
%6340 = OpLabel
OpReturnValue %5393
%6341 = OpLabel
OpBranch %6336
%6336 = OpLabel
OpBranchConditional %21 %6333 %6335
%6335 = OpLabel
OpBranch %6331
%6331 = OpLabel
OpBranch %6325
%6325 = OpLabel
OpBranch %6323
%6323 = OpLabel
OpBranchConditional %21 %6320 %6322
%6322 = OpLabel
OpBranch %6310
%6310 = OpLabel
OpBranch %6343
%6343 = OpLabel
OpLoopMerge %6345 %6346 None
OpBranch %6344
%6344 = OpLabel
OpBranch %6347
%6347 = OpLabel
OpLoopMerge %6349 %6350 None
OpBranch %6348
%6348 = OpLabel
OpSelectionMerge %6352 None
OpBranchConditional %21 %6351 %6352
%6351 = OpLabel
OpBranch %6349
%6352 = OpLabel
%6354 = OpAccessChain %38 %35 %37
%6355 = OpLoad %6 %6354
%6356 = OpFOrdLessThan %20 %6355 %41
OpSelectionMerge %6358 None
OpBranchConditional %6356 %6357 %6359
%6357 = OpLabel
OpBranch %6358
%6359 = OpLabel
OpSelectionMerge %6361 None
OpBranchConditional %26 %6360 %6361
%6360 = OpLabel
OpReturnValue %5393
%6361 = OpLabel
OpBranch %6358
%6358 = OpLabel
%6363 = OpAccessChain %56 %53 %55 %37
%6364 = OpLoad %6 %6363
%6365 = OpAccessChain %56 %53 %55 %88
%6366 = OpLoad %6 %6365
%6367 = OpFOrdGreaterThan %20 %6364 %6366
OpSelectionMerge %6369 None
OpBranchConditional %6367 %6368 %6369
%6368 = OpLabel
OpBranch %6350
%6369 = OpLabel
OpBranch %6350
%6350 = OpLabel
%6371 = OpAccessChain %38 %35 %88
%6372 = OpLoad %6 %6371
%6373 = OpFOrdLessThan %20 %6372 %41
OpBranchConditional %6373 %6347 %6349
%6349 = OpLabel
OpBranch %6346
%6346 = OpLabel
OpBranchConditional %21 %6343 %6345
%6345 = OpLabel
OpBranch %6305
%6305 = OpLabel
%6374 = OpLoad %54 %6298
%6375 = OpIAdd %54 %6374 %84
OpStore %6298 %6375
OpBranch %6302
%6304 = OpLabel
OpBranch %6296
%6296 = OpLabel
OpSelectionMerge %6377 None
OpBranchConditional %21 %6376 %6378
%6376 = OpLabel
OpBranch %6377
%6378 = OpLabel
OpBranch %6379
%6379 = OpLabel
OpLoopMerge %6381 %6382 None
OpBranch %6380
%6380 = OpLabel
OpSelectionMerge %6384 None
OpBranchConditional %21 %6383 %6384
%6383 = OpLabel
OpKill
%6384 = OpLabel
OpBranch %6382
%6382 = OpLabel
OpBranchConditional %21 %6379 %6381
%6381 = OpLabel
OpBranch %6377
%6377 = OpLabel
OpBranch %6294
%6294 = OpLabel
OpBranch %6191
%6191 = OpLabel
%6386 = OpAccessChain %56 %53 %55 %37
%6387 = OpLoad %6 %6386
%6388 = OpAccessChain %56 %53 %55 %88
%6389 = OpLoad %6 %6388
%6390 = OpFOrdGreaterThan %20 %6387 %6389
OpSelectionMerge %6392 None
OpBranchConditional %6390 %6391 %6392
%6391 = OpLabel
OpReturnValue %5393
%6392 = OpLabel
OpBranch %6189
%6189 = OpLabel
OpBranchConditional %21 %6186 %6188
%6188 = OpLabel
%6394 = OpUndef %7
OpReturnValue %6394
OpFunctionEnd
| 34.703274
| 81
| 0.514774
|
0997761de22cfe7db3c20c3052b13d41d21d816a
| 38,729
|
asm
|
Assembly
|
base/mvdm/dos/v86/dev/ansi/ansi.asm
|
npocmaka/Windows-Server-2003
|
5c6fe3db626b63a384230a1aa6b92ac416b0765f
|
[
"Unlicense"
] | 17
|
2020-11-13T13:42:52.000Z
|
2021-09-16T09:13:13.000Z
|
base/mvdm/dos/v86/dev/ansi/ansi.asm
|
sancho1952007/Windows-Server-2003
|
5c6fe3db626b63a384230a1aa6b92ac416b0765f
|
[
"Unlicense"
] | 2
|
2020-10-19T08:02:06.000Z
|
2020-10-19T08:23:18.000Z
|
base/mvdm/dos/v86/dev/ansi/ansi.asm
|
sancho1952007/Windows-Server-2003
|
5c6fe3db626b63a384230a1aa6b92ac416b0765f
|
[
"Unlicense"
] | 14
|
2020-11-14T09:43:20.000Z
|
2021-08-28T08:59:57.000Z
|
PAGE ,132
TITLE CONDEV FANCY CONSOLE DRIVER
;******************************************************************************
; Change Log:
; Date Who # Description
; -------- --- --- ------------------------------------------------------
; 06/01/90 MKS C02 Bug#173. ANSI was permitting you to go one line below
; the bottom of the screen. PROMPT $e[25;3H $e[1B will
; show you. (PYS: badly done. M005)
;******************************************************************************
;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
; ADDRESSES FOR I/O
;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
;------------------------------------------------------------------------------
; New functionality in DOS 4.00
; GHG fix scrolling flashes on Mod 25/30's
; P1767 VIDEO_MODE_TABLE not initialized correctly 10/16/87 J.K.
; D375 /X needs to be supported by ANSI sequence also 12/14/87 J.K.
; D397 /L option for Enforcing number of lines 12/17/87 J.K.
; D479 An option to disable the extended keyboard functions 02/12/88 J.K.
; P4241 AN001 fix be Revised to fix this problem 04/20/88 J.K.
; P4532 Scrolling has a snow for CGA adapter 04/27/88 J.K.
; P4533 In mode Dh, Eh, Fh, 10h and 13h, Scrolling not working 04/27/88 J.K.
; P4766 In mode 11h, and 12h erase display leaves bottom 5 05/24/88 F.G.
;------------------------------------------------------------------------------
INCLUDE DEVSYM.INC
INCLUDE ANSI.INC ;equates and structures
INCLUDE VECTOR.INC
BREAK <ANSI driver code>
PUBLIC SWITCH_X ; /X option for extended keyboard redefinition support
PUBLIC SCAN_LINES
PUBLIC VIDEO_MODE_TABLE
PUBLIC VIDEO_TABLE_MAX
PUBLIC MAX_VIDEO_TAB_NUM ;P1767
PUBLIC PTRSAV
PUBLIC ERR1
PUBLIC ERR2
PUBLIC EXT_16
PUBLIC BRKKY
PUBLIC COUT
PUBLIC BASE
PUBLIC MODE
PUBLIC MAXCOL
PUBLIC EXIT
PUBLIC NO_OPERATION
PUBLIC HDWR_FLAG
PUBLIC SWITCH_L
PUBLIC SWITCH_K
PUBLIC SWITCH_S ; M008 /S for screensize option setting.
PUBLIC fhavek09 ; M006
PUBLIC CON$READ
PUBLIC CON$RDND
PUBLIC CON$FLSH
PUBLIC CON$WRIT
PUBLIC VIDEO
PUBLIC CUU
PUBLIC CUD
PUBLIC CUF
PUBLIC CUB
PUBLIC CUP
PUBLIC ED
PUBLIC CPR
PUBLIC SM
PUBLIC RM
PUBLIC SGR
PUBLIC DSR
PUBLIC KEYASN
PUBLIC EXTKEY
PUBLIC PSCP
PUBLIC PRCP
IFDEF JAPAN
PUBLIC ROW_ADJ
ENDIF
CODE SEGMENT PUBLIC BYTE
ASSUME CS:CODE,DS:NOTHING,ES:NOTHING
;-----------------------------------------------
; C O N - CONSOLE DEVICE DRIVER
EXTRN CON$INIT : NEAR ; ANSI initialization code
EXTRN GENERIC_IOCTL : NEAR ; Generic IOCTL code
EXTRN REQ_TXT_LENGTH : WORD ; current text length
EXTRN GRAPHICS_FLAG : BYTE ; graphics flag
ATTRIB EQU CHARDEV+DEVIOCTL+DEV320+ISSPEC+ISCOUT+ISCIN
CONDEV: SYSDEV <-1,ATTRIB,STRATEGY,ENTRY,'CON '> ; Matches CON
;--------------------------------------------------------------
; COMMAND JUMP TABLES
CONTBL:
DW CON$INIT
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW CON$READ
DW CON$RDND
DW NO_OPERATION
DW CON$FLSH
DW CON$WRIT
DW CON$WRIT
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW NO_OPERATION
DW GENERIC_IOCTL ; generic IOCTL routine offset
MAX_CMD EQU ($ - CONTBL)/2 ; size of CONTBL
CMDTABL DB 'A'
DW CUU ; cursor up
DB 'B'
DW CUD ; cursor down
DB 'C'
DW CUF ; cursor forward
DB 'D'
DW CUB ; cursor back
DB 'H'
DW CUP ; cursor position
DB 'J'
DW ED ; erase display
DB 'K'
DW EL ; erase line
DB 'R'
DW CPR ; cursor postion report
DB 'f'
DW CUP ; cursor position
DB 'h'
DW SM ; set mode
DB 'l'
DW RM ; reset mode
DB 'm'
DW SGR ; select graphics rendition
DB 'n'
DW DSR ; device status report
DB 'p'
DW KEYASN ; key assignment
DB 'q' ; dynamic support of /X option through ansi sequence
DW EXTKEY ; esc[0q = reset it. esc[1q = set it
DB 's'
DW PSCP ; save cursor postion
DB 'u'
DW PRCP ; restore cursor position
IFDEF JAPAN
DB 'M'
DW DELETE ; delete line
DB 'L'
DW INSERT ; insert line
ENDIF
DB 00
GRMODE DB 00,00000000B,00000111B
DB 01,11111111B,00001000B
DB 04,11111000B,00000001B
DB 05,11111111B,10000000B
DB 07,11111000B,01110000B
DB 08,10001000B,00000000B
DB 30,11111000B,00000000B
DB 31,11111000B,00000100B
DB 32,11111000B,00000010B
DB 33,11111000B,00000110B
DB 34,11111000B,00000001B
DB 35,11111000B,00000101B
DB 36,11111000B,00000011B
DB 37,11111000B,00000111B
DB 40,10001111B,00000000B
DB 41,10001111B,01000000B
DB 42,10001111B,00100000B
DB 43,10001111B,01100000B
DB 44,10001111B,00010000B
DB 45,10001111B,01010000B
DB 46,10001111B,00110000B
DB 47,10001111B,01110000B
DB 0FFH
;---------------------------------------------------
; Device entry point
PTRSAV DD 0
BUF1: BUF_DATA <> ; Next CON Buffer area
STRATP PROC FAR
STRATEGY:
mov word ptr cs:[PTRSAV],bx
mov word ptr cs:[PTRSAV+2],es
ret
STRATP ENDP
ENTRY:
push si
push ax
push cx
push dx
push di
push bp
push ds
push es
push bx
; Check if header link has to be set (Code ported from
; DISPLAY.SYS)
lea bx,BUF1
mov di,OFFSET CONDEV ; CON Device header
mov CONPTR.DEV_HDRO,di
mov CONPTR.DEV_HDRS,cs
cld ; all moves forward
cmp CONPTR.CON_STRAO, -1
jne L4 ; has been linked to DOS CON
cmp CONPTR.CON_STRAS, -1
jne L4 ; has been linked to DOS CON
; next device header : ES:[DI]
lds si,dword ptr CONPTR.DEV_HDRO
les di,HP.SDEVNEXT
L1: ; while pointer to next device header
push es ; is not -1
pop ax
cmp ax,-1
jne NOT0FFFF ; leave if both offset and segment are
cmp di,-1 ; 0FFFFH
je L4
NOT0FFFF:
push di
push si
mov cx,8
lea di,NHD.SDEVNAME
lea si,HP.SDEVNAME
repe cmpsb
pop si
pop di
and cx,cx
; Exit if name is found in linked hd.
jnz L3 ; Name is not found
; Name is found in the linked header
mov ax,NHD.SDEVSTRAT ; Get the STRATEGY address
mov CONPTR.CON_STRAO,ax
mov ax,es
X1: mov CONPTR.CON_STRAS,ax
mov ax,NHD.SDEVINT ; Get the INTERRUPT address
mov CONPTR.CON_INTRO,ax
mov ax,es
X2: mov CONPTR.CON_INTRS,ax
jmp SHORT L4 ; Device Name
L3:
les di,NHD.SDEVNEXT
jmp L1
L4:
lds bx,cs:[PTRSAV] ; GET PONTER TO I/O PACKET
mov cx,word ptr ds:[bx].COUNT
mov al,byte ptr ds:[bx].CMD
cbw
mov si,OFFSET CONTBL
add si,ax
add si,ax
cmp al,MAX_CMD ; not a call for ANSI...chain to lower device
ja NO_OPERATION
ifdef KOREA ; <MSCH>
mov ah, byte ptr ds:[bx].media
endif ; KOREA
les di,dword ptr ds:[bx].TRANS
; Following code, supplied by Compaq, is the "hit-it-on-the-head"
; approach to solving the problem of resetting the screen length
; after a character set reload. We should try to find a better
; approach. For now this will stay in. - MGD
push ax ; SAVE AX
mov ax,40H ; GET ROM VAR
mov ds,ax ;
mov al,ds:[84h] ; GET MAX NUM OF ROWS
cmp al,0 ; Q:ZERO
jne ENTRY10 ; jmp IF NO
mov al,24 ; SET TO 24 ROWS
ENTRY10: ;
push cs
pop ds
ASSUME ds:CODE
inc al ; BUMP FOR ONE BASED
mov byte ptr [REQ_TXT_LENGTH],al ; SET LENGTH TO 40:84H VALUE. *F
pop ax ; RESTORE AX
jmp word ptr [si] ; GO DO COMMAND
;=====================================================
;=
;= SUBROUTINES SHARED BY MULTIPLE DEVICES
;=
;=====================================================
;----------------------------------------------------------
; EXIT - ALL ROUTINES RETURN THROUGH THIS PATH
BUS$EXIT: ; DEVICE BUSY EXIT
mov ah,00000011B
jmp SHORT ERR1
NO_OPERATION:
call PASS_CONTROL ; Pass control to lower CON
jmp SHORT ERR2
ERR$EXIT:
mov ah,10000001B ; MARK ERROR RETURN
jmp SHORT ERR1
EXITP PROC FAR
EXIT: mov ah,00000001B
ifdef KOREA
INTERIM$EXIT: ; <MSCH>
endif ; KOREA
ERR1: lds bx,cs:[PTRSAV]
mov word ptr [bx].STATUS,ax ; MARK OPERATION COMPLETE
ERR2:
pop bx
pop es
pop ds
pop bp
pop di
pop dx
pop cx
pop ax
pop si
ret ; RESTORE REGS and RETURN
EXITP ENDP
; PASS CONTROL
; This calls the attached device to perform any further
; action on the call!
PASS_CONTROL PROC
lea si,BUF1
les bx,cs:[PTRSAV] ; pass the request header to the
call dword ptr cs:[si].CON_STRAO ; CON strategy routine.
call dword ptr cs:[si].CON_INTRO ; interrupt the CON
ret
PASS_CONTROL ENDP
;-----------------------------------------------
; BREAK KEY HANDLING
BRKKY:
mov byte ptr cs:ALTAH,3 ; INDICATE BREAK KEY SET
INTRET: iret
; WARNING - Variables are very order dependent, be careful
; when adding new ones! - c.p.
WRAP DB 0 ; 0 = WRAP, 1 = NO WRAP
ASNPTR DW 4
STATE DW S1
MODE DB 3 ;*
MAXCOL DB 79 ;*
COL DB 0
ROW DB 0
SAVCR DW 0
INQ DB 0
PRMCNT LABEL BYTE
PRMCNTW DW 0
KEYCNT DB 0
KEYPTR DW BUF
REPORT DB ESC_CHAR,'[00;00R',CR ;CURSOR POSTION REPORT BUFFER
ALTAH DB 0 ;Special key handling
SAVE_CHAR DW 0 ; Temp storage for char/attr for new scroll code
EXT_16 DB 0 ; Extended INT 16h flag
SWITCH_X DB OFF ; /X flag
SWITCH_L DB OFF ; DCR397; 1= /L flag entered.
SWITCH_K DB OFF ; To control EXT_16
fhavek09 DB OFF ; M006
SCAN_LINES DB ? ; flag for available scan lines (VGA)
HDWR_FLAG DW 0 ; byte of flags indicating video support
SWITCH_S DB OFF ; M008; /S flag
ifdef KOREA ;
REQ_TYPE DB 0 ;
EXT_REQ_TYPE DB 0 ;
LEADBYTE DB 0 ;
TRAILBYTE DB 0 ;
ECSPRE DB 0 ;
endif ; KOREA ;
VIDEO_MODE_TABLE LABEL BYTE ; table containing applicable
MODE_TABLE <> ; video modes and corresponding
MODE_TABLE <> ; data.
MODE_TABLE <> ; this table is initialized at
MODE_TABLE <> ; INIT time
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
MODE_TABLE <>
ifdef KOREA ; The KOREAN video mode
MODE_TABLE <> ; have 4 more than standard
MODE_TABLE <> ; VGA card
MODE_TABLE <> ;
MODE_TABLE <> ;
endif ; KOREA ;
VIDEO_TABLE_MAX EQU $ ; maximum address for video table
MAX_VIDEO_TAB_NUM EQU ($-VIDEO_MODE_TABLE)/TYPE MODE_TABLE ;P1767 Max number of table
IFDEF DBCS
dbcs_flag DB 0 ; 0=single, 1=lead byte, 2=tail byte
ENDIF
IFDEF JAPAN
new_mode DB 0 ; mode for '>'
row_adj DB 0 ; for ESC[>1l
ENDIF
;-------------------------------------------------------------
; CHROUT - WRITE OUT CHAR IN AL USING CURRENT ATTRIBUTE
ATTRW LABEL WORD
ATTR DB 00000111B ; CHARACTER ATTRIBUTE
BPAGE DB 0 ; BASE PAGE
BASE DW 0b800h
SCREEN_SEG DW 00000h
chrout:
ifdef KOREA ; <MSCH>
;
cmp [leadbyte],1 ; Is the previous byte a lead byte? ; KeyW
jnz TestDBCSRange ; No,
mov byte ptr [leadbyte],0
mov byte ptr [trailbyte],1 ; Mark that this is trail byte of ECS
jmp short OUTCHR
;
;
; Note : TestECS routine is hard coded. If you have the different code range,
; you should change some codes below.
; 1990/11/9 This routine is changed to use IsDBCS routines.
;
TestDBCSRange:
mov byte ptr [trailbyte], 0 ; Mark it as a non trail byte
call IsDBCSleadbyte
jnz realout ; Jump if one byte code
;
; CMP AL, 0A1H ;
; JB REALOUT ;
; CMP AL, 0FEH ;
; JA REALOUT ;
mov byte ptr [leadbyte], 1 ; it as a lead byte
mov ah, [col] ;
cmp ah, [maxcol] ;
jnz outchr ;
; ;
; Decide the position to print the Lead byte which is on the column boundary.
;
cmp [wrap],0 ;
jz skip1 ;
dec [col] ;
cmp [ecspre],1 ;
jnz oneback1 ;
dec [col] ;
oneback1: ;
call setit1 ;
jmp short outchr ;
skip1: ;
push ax ;
call outchr1 ;
pop ax ;
jmp short outchr ;
realout:
endif ; KOREA ;
cmp al,13
jnz trylf
mov [COL],0
ifdef KOREA
jmp setit
else
IFDEF JAPAN
jmp setit
ELSE
jmp short setit
ENDIF
endif ; KOREA
trylf: cmp al,10
jz lf
cmp al,7
jnz tryback
torom:
mov bx,[ATTRW]
and bl,7
mov ah,14
int 10h
ret5: ret
tryback:
cmp al,8
jnz outchr
cmp [COL],0
jz ret5
dec [COL]
jmp short setit
outchr:
mov bx,[ATTRW]
mov cx,1
mov ah,9
int 10h
inc [COL]
mov al,[COL]
cmp al,[MAXCOL]
jbe setit
cmp [wrap],0
jz outchr1
dec [COL]
ifdef KOREA
;
; Set boundary position for DBCS code.
; No lead byte can arrive here.
;
cmp [trailbyte],1
jnz onebk
dec [col]
onebk:
call setit1
;
; We don't need ECSPRE change, because we have enough time to deal with it.
; Wait for another character to change ECSPRE.
;
endif ; KOREA
ret
outchr1:
mov [COL],0
lf: inc [ROW]
mov ah,30 ; GHG Fix for ROUNDUP/PALACE
mov al,MODE ; GHG Fix for ROUNDUP/PALACE
cmp al,11H ; GHG Fix for ROUNDUP/PALACE
je LF2 ; GHG Fix for ROUNDUP/PALACE
cmp al,12H ; GHG Fix for ROUNDUP/PALACE
je LF2 ; GHG Fix for ROUNDUP/PALACE
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jne tmplab1
mov ah,DEFAULT_LENGTH
jmp short tmplab2
tmplab1:
mov ah,byte ptr [REQ_TXT_LENGTH]
tmplab2:
LF2: ; GHG Fix for ROUNDUP/PALACE
IFDEF JAPAN
sub ah,row_adj
ENDIF
cmp [ROW],AH ; GHG Fix for ROUNDUP/PALACE
jb setit
dec ah ; GHG Fix for ROUNDUP/PALACE
mov [ROW],AH ; GHG Fix for ROUNDUP/PALACE
call scroll
setit:
ifdef KOREA
preset:
xor al, al
cmp [trailbyte],al
jz noDBCStrail
inc al
noDBCStrail:
mov [ecspre], al
setit1:
endif ; KOREA
mov dh,row
mov dl,col
mov bh,[bpage]
mov ah,2
int 10h
ret
;Writing a LF char through Teletype function to scroll the screen
;has a side effect of changing the color of the cursor when the PROMPT
;setting in PTM P4241 is used. AN001 uses this method to fix the strobing
;problem of the palace machine. The old method of scrolling used to directly
;write into video buffer. The old method has been used by AN001 for
;CGA adater of mode 2 or 3 only.
;To solve P4241, but to maintain the fix of the strobing problem of palace
;machine, we return back to the old logic but the old logic has to be
;Revised for the displays above CGA level. For the adapters above
;CGA display, we don't need to turn off/on the video - this will causes
;a strobing, if you use do this, for Palace machine.
;This logic will be only applied to mode 2 and 3 only.
; Following code is bug fix supplied by Compaq - MGD
scroll:
ifdef KOREA ; Responsible for ROM
mov al, 10
jmp torom
else
IFDEF JAPAN ; ### if JAPAN ###
xor cx,cx
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz scroll10 ; if nor graphic
mov dh,DEFAULT_LENGTH
xor bh,bh
jmp short scroll20
scroll10:
mov dh,byte ptr [REQ_TXT_LENGTH]
mov bh,[ATTR]
scroll20:
sub dh,row_adj
dec dh
mov dl,[MAXCOL]
mov ax,0601h ; scroll up
int 10h
jmp short setit
else ; ### if Not JAPAN ###
mov al,mode ; get display mode
cmp al,4 ;Q: mode less than 4?
jc is_text ;Y: perform kludge
cmp al,7 ;N: Q: monochrome mode?
je is_text ; Y: perform kludge
mov al,10 ; send the line feed to the ROM
jmp torom ; exit
is_text:
mov ah,8 ; read char/attr at cursor pos
mov bh,[bpage]
int 10h
mov [save_char],ax ; save char/attribute
mov ah,9 ; write char at cursor pos
mov bx,[ATTRW] ; use current attribute
mov cx,1
int 10h
mov al,10 ; send the line feed to the ROM
call torom
mov ah,3 ; read cursor pos
int 10h
push dx ; save it
mov ah,2 ; set cursor position
dec dh ; (to row-1)
int 10h
mov ax,[save_char] ; retrieve saved char/attr
mov bl,ah
mov ah,9 ; write it back to the screen
mov cx,1
int 10h
pop dx ; retrieve new cursor position
mov ah,2 ; set cursor position
int 10h
ret
ENDIF ; ### end if Not JAPAN ###
endif ; KOREA
;------------------------------------------------------
; CONSOLE READ ROUTINE
CON$READ:
jcxz CON$EXIT
ifdef KOREA ;
mov [req_type], 0 ;
mov [ext_req_type], 10h ;
test ah, 00000001b ;
jz con$loop ;
mov [req_type], 0f0h ; ; Get Interim mode
mov [ext_req_type], 0f8h ;
cmp cx, 1 ;
jnz con$ndisp ;
;
call chrin ;
stosb ;
cmp ah, 0f0h ; ; Is this an interim code ?
jnz con$exit ;
mov ah, 00000101b ;
jmp interim$exit ; ; return to DOS with interim flag set
con$ndisp: ;
call chrin ;
cmp ah, 0f0h ; ; Is this an interim code ?
jz con$ndisp ; ; Skip the interims
stosb ;
LOOP CON$NDISP ;
JMP EXIT ;
endif ; KOREA
CON$LOOP:
push cx ; SAVE COUNT
call CHRIN ; GET CHAR IN AL
pop cx
stosb ; STORE CHAR AT ES:DI
loop CON$LOOP
CON$EXIT:
jmp EXIT
;---------------------------------------------------------
; INPUT SINGLE CHAR INTO AL
CHRIN: xor ax,ax
xchg al,ALTAH ; GET CHARACTER & ZERO ALTAH
or al,al
jnz KEYRET
INAGN: cmp KEYCNT,0
jnz KEY5A
ifdef KOREA
mov ah, [req_type]
else
xor ah,AH
endif ; KOREA
cmp EXT_16,ON ; extended interrupt available?
jne tmplab3
ifdef KOREA
mov ah, [ext_req_type]
else
mov ah,10h ; yes..perform extended call
endif ; KOREA
INT 16h
ifdef KOREA
cmp ah, 0f0h
jz keyret1 ; Breief return for the interim code
endif ; KOREA
cmp SWITCH_X,OFF ; /X switch used?
jne tmplab5
call CHECK_FOR_REMAP ; no....map to normal call
tmplab5:
call SCAN ; check for redefinition
jz tmplab4 ; no redefinition?....and
cmp SWITCH_X,ON ; /X switch used?
jne tmplab4
call CHECK_FOR_REMAP ; then remap..
or bx,bx ; reset zero flag for jump test in old code
jmp short tmplab4
; extended interrupt not available
tmplab3:
int 16h
ifdef KOREA
cmp ah, 0f0h
jz keyret1
endif ; KOREA
call SCAN ; check for redefinition
tmplab4:
jnz ALT10 ; IF NO MATCH JUST RETURN IT
dec cx
dec cx
inc bx
inc bx
cmp al,0 ; check whether keypacket is an extended one
jz tmplab7
cmp al,0e0h
jnz tmplab6
ifdef KOREA
cmp ah, 0f0h
jb mschtmp2
cmp ah, 0f2h
jbe tmplab7
mschtmp2:
endif ; KOREA
cmp SWITCH_X,1
jnz tmplab6
tmplab7:
dec cx ; adjust pointers
inc bx ; appropiately
tmplab6:
mov KEYCNT,cl
mov KEYPTR,bx
KEY5A: ; Jmp here to get rest of translation
call KEY5 ; GET FIRST KEY FROM TRANSLATION
ALT10:
or ax,ax ; Check for non-key after BREAK
jz INAGN
or al,al ; SPECIAL CASE?
jnz KEYRET
mov ALTAH,ah ; STORE SPECIAL KEY
KEYRET:
ifdef KOREA
mov ah, 0f1h
keyret1:
endif ; KOREA
ret
KEY5: mov bx,KEYPTR ; GET A KEY FROM TRANSLATION TABLE
mov ax,word ptr [bx]
dec KEYCNT
inc bx
or al,al
jnz KEY6
inc bx
dec KEYCNT
KEY6: mov KEYPTR,bx
ret
SCAN: mov bx,OFFSET BUF
KEYLP: mov cl,byte ptr [bx]
xor ch,ch
or cx,cx
jz NOTFND
cmp al,0 ; check whether extended keypacket
jz tmplab8
cmp al,0e0h ; extended must be enabled with /x
jnz tmplab9
ifdef KOREA ; Jump when Hangeul char
cmp ah, 0f0h
jb mschtmp1
cmp ah, 0f2h
jbe tmplab9
mschtmp1:
endif ; KOREA
cmp SWITCH_X,ON
jnz tmplab9
tmplab8:
cmp ax,word ptr [bx+1] ; yes...compare the word
jmp short tmplab10
tmplab9:
cmp al,byte ptr [bx+1] ; no...compare the byte
tmplab10:
jz MATCH
add bx,cx
jmp KEYLP
NOTFND: or bx,bx
MATCH: ret
;--------------------------------------------------------------
; KEYBOARD NON DESTRUCTIVE READ, NO WAIT
CON$RDND:
mov al,[ALTAH]
or al,al
ifdef KOREA
jnz To_RDEXIT
else
jnz RDEXIT
endif ; KOREA
cmp [KEYCNT],0
jz RD1
mov bx,[KEYPTR]
mov al,byte ptr [bx]
ifdef KOREA
to_rdexit:
jmp rdexit
else
jmp SHORT RDEXIT
endif ; KOREA
RD1:
ifdef KOREA
mov [req_type], 1
mov [ext_req_type], 11H
test ah, 00000001b
jz rd11
mov [req_type], 0f1h
mov [ext_req_type], 0f9H
RD11:
mov ah, [req_type]
cmp ext_16, on
jnz tmplab11
mov ah, [ext_req_type]
else
mov ah,1
cmp EXT_16,ON
jnz tmplab11
add ah,10h ; yes....adjust to extended call
endif ; KOREA
tmplab11:
int 16h
jz CheckForEvent
or ax,ax
jnz RD2
ifdef KOREA
mov ah, [req_type]
and ah, 11111110b
else
mov ah,0
endif ; KOREA
cmp EXT_16,ON ; extended interrupt available?
jne tmplab12
ifdef KOREA
mov ah, [ext_req_type]
and ah, 11111110b
else
mov ah,10h ; yes..perform extended call
endif ; KOREA
int 16h
cmp SWITCH_X,OFF ; /X switch used?
jnz tmplab13
call CHECK_FOR_REMAP ; no....map to normal call
jmp short tmplab13
tmplab12:
int 16h
tmplab13:
jmp CON$RDND
RD2:
ifdef KOREA
cmp ah, 0f0h
jz rdexit
endif ; KOREA
call SCAN
jz tmplab14 ; if no redefinition
cmp EXT_16,ON
jnz tmplab14 ; and extended INT16 used
cmp SWITCH_X,ON ; and /x used
jnz tmplab14
call CHECK_FOR_REMAP ; remap to standard call
or bx,bx ; reset zero flag for jump test in old code
tmplab14:
jnz RDEXIT
mov al,byte ptr [bx+2]
cmp byte ptr [bx+1],0
jnz RDEXIT
mov al,byte ptr [bx+3]
RDEXIT: lds bx,[PTRSAV]
mov [bx].MEDIA,al
EXVEC: jmp EXIT
; M006 - begin
CheckForEvent:
cmp fhavek09,0
jz CONBUS ; return with busy status if not k09
les bx,[ptrsav]
assume es:nothing
test es:[bx].status,0400h ; system wait enabled?
jz CONBUS ; return with busy status if not
; need to wait for ibm response to request for code
; on how to use the system wait call.
mov ax,4100h ; wait on an external event
xor bl,bl ; wait for any event
int 15h ; call rom for system wait
; M006 - end
CONBUS: jmp BUS$EXIT
;--------------------------------------------------------------
; KEYBOARD FLUSH ROUTINE
CON$FLSH:
mov [ALTAH],0 ; Clear out holding buffer
mov [KEYCNT],0
ifdef KOREA
mov ah, 0f3h
int 16h
ReadNullByte: ; We may have final char
mov ah, 0f1h
int 16h
jz FlushDone
mov ah, 0f0h
int 16h
jmp short ReadNullByte
FlushDone:
else
Flush: mov ah,1
cmp EXT_16,ON ; if extended call available
jnz tmplab15
add ah,10h ; then use it
tmplab15:
int 16h
jz FlushDone
mov ah,0
cmp EXT_16,ON ; if extended call available
jnz tmplab16
add ah,10h ; use it
tmplab16:
int 16h
jmp Flush
FlushDone:
endif ; KOREA
jmp EXVEC
;----------------------------------------------------------
; CONSOLE WRITE ROUTINE
CON$WRIT:
jcxz EXVEC
ifdef KOREA
test ah, 00000001b
jnz con$lp_nac ;OUT CHAR WITHOUT CURSOR ADVANCING
endif ; KOREA
CON$LP: mov al,es:[di] ; GET CHAR
inc di
call OUTC ; OUTPUT CHAR
loop CON$LP ; REPEAT UNTIL ALL THROUGH
jmp EXVEC
ifdef KOREA
con$lp_nac:
mov al, es:[di]
inc di
call outchr_nac ;OUTPUT CHAR WITHOUT CURSOR MOVE
loop con$lp_nac ;REPEAT UNTIL ALL THROUGH
jmp exit
outchr_nac:
push ax
push si
push di
push bp
mov ah, 0feh ;OUTPUT CHAR WITHOUT CURSOR ADVANCING
mov bl, 7 ;SET FOREGROUND COLOR
int 10h ;CALL ROM BIOS
pop bp
pop di
pop si
pop ax
ret
endif
COUT: sti
push ds
push cs
pop ds
call OUTC
pop ds
Iret
OUTC: push ax
push bx
push cx
push dx
push si
push di
push es
push bp
mov [BASE],0b800h
xchg ax,si ; SAVE CHARACTER TO STUFF
mov ax,40h ; POINT TO ROS BIOS
mov ds,ax
mov ax,ds:[49h] ; AL=MODE, AH=MAX COL
dec ah ; ANSI NEEDS 0-79 OR 0-39
mov word ptr cs:[MODE],ax ; SAVE MODE and MAX COL
cmp al,7
jnz NOT_BW
mov word ptr cs:[BASE],0B000H
NOT_BW: mov al,ds:[62H] ; GET ACTIVE PAGE
mov cs:[BPAGE],al
cbw
add ax,ax
mov bx,ax
mov ax,ds:[bx+50H] ; AL=COL, AH=ROW
mov word ptr cs:[COL],ax ; SAVE ROW and COLUMN
mov ax,ds:[4EH] ; GET START OF SCREEN SEG
mov cl,4
shr ax,cl ; CONVERT TO A SEGMENT
push cs
pop ds
mov [SCREEN_SEG],ax
xchg ax,si ; GET BACK CHARACTER IN AL
call VIDEO
pop bp
pop es
pop di
pop si
pop dx
pop cx
pop bx
pop ax
ret
;----------------------------------------------------------
; OUTPUT SINGLE CHAR IN AL TO VIDEO DEVICE
VIDEO: mov si,OFFSET STATE
jmp [si]
S2: cmp al,'['
jz S22
ifdef KOREA
cmp al, '$'
jnz chk_off
mov word ptr [si], offset S8
ret
chk_off:
cmp al, '('
jnz jmp_S1
mov word ptr [si], offset S10
ret
jmp_S1:
endif ; KOREA
jmp S1
S22: mov word ptr [si],OFFSET S3
xor bx,bx
mov word ptr INQ,bx
jmp SHORT S3B
S3: cmp al,';'
jnz S3C
S3A: inc PRMCNT
S3B: call GETPTR
xor ax,ax
mov word ptr [bx],ax ; DEFAULT VALUE IS ZERO
ret
S3C: cmp al,'0'
jb S3D
cmp al,'9'
ja S3D
call GETPTR
sub al,'0'
xchg al,byte ptr [bx]
mov ah,10
mul ah ; *10
add byte ptr [bx],al ; movE IN DIGIT
ret
S3D: cmp al,'='
jz S3ret
cmp al,'?'
jz S3ret
IFDEF JAPAN
cmp al,'>'
jz s3f
ENDIF
cmp al,'"' ; BEGIN QUOTED STRING
jz S3E
cmp al,"'"
jnz S7
S3E: mov word ptr [si],OFFSET S4
mov [INQ],al
S3ret: ret
IFDEF JAPAN
s3f:
mov new_mode,1
jmp short s3ret
ENDIF
; ENTER QUOTED STRINGS
S4: cmp al,[INQ] ; CHECK FOR STRING TERMINATOR
jnz S4A
dec PRMCNT ; TERMINATE STRING
mov word ptr [si],OFFSET S3
ret
S4A: call GETPTR
mov byte ptr [bx],al
mov word ptr [si],OFFSET S4
jmp S3A
; LOOK FOR ANSI COMMAND SPECIFIED IN AL
PUBLIC S7
S7: mov bx,OFFSET CMDTABL-3
S7A: add bx,3
cmp byte ptr [bx],0
jz S1B
cmp byte ptr [bx],al
jnz S7A
S7B: mov ax,word ptr [bx+1] ; AX = JUMP addRESS
mov bx,OFFSET BUF
inc bx
add bx,ASNPTR ; BX = PTR TO PARM LIST
mov DL,byte ptr [bx]
xor DH,DH ; DX = FIRST PARAMETER
mov cx,dx
or cx,cx
jnz S7C
inc cx ; CX = DX, CX=1 IF DX=0
S7C: jmp ax ; AL = COMMAND
S1: cmp al,ESC_CHAR ; ESCAPE SEQUENCE?
jnz S1B
IFDEF DBCS
mov dbcs_flag,0
ENDIF
IFDEF JAPAN
mov new_mode,0
ENDIF
mov word ptr [si],OFFSET S2
ret
S1B:
ifndef KOREA ; IN KOREA, WE ALREADY handled
IFDEF DBCS
cmp dbcs_flag,1
jz set_dbcs ; if it was lead byte
cmp dbcs_flag,2
jnz @f ; if it was not tail byte
mov dbcs_flag,0 ; reset
@@:
call IsDBCSLeadByte
jnz @f ; if this is not lead byte
set_dbcs:
inc dbcs_flag
@@:
cmp dbcs_flag,1
jnz @f
mov dl,col
cmp dl,maxcol
jnz @f
push ax
mov al,' '
call chrout
pop ax
@@:
ENDIF
endif ; NOT KOREA
call CHROUT
S1A: mov word ptr [STATE],OFFSET S1
ret
ifdef KOREA
S8: cmp al, ')'
jnz s1
mov word ptr [si], offset S9
ret
S9: cmp al, '1'
jnz S1
han_on:
mov ah, 0f2h
mov al, 08h ; Hangeul input mode on
int 16h
ret
S10: cmp al, '2'
jnz S1
han_off:
mov ah, 0f2h
mov al, 00h
int 16h
ret
endif ; KOREA
MOVCUR: ;C02
cmp byte ptr [bx],AH
jz SETCUR
add byte ptr [bx],al
loop MOVCUR
SETCUR: mov dx,word ptr COL
;*C05 xor bx,bx
mov ah,0fh ;*C05
int 10h ;*C05
mov ah,2
int 16
jmp S1A
CUP:
IFDEF JAPAN ; ### if JAPAN ###
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz tmplab17 ; if not graphic mode
mov ah,DEFAULT_LENGTH
jmp short tmplab18
tmplab17:
mov ah,byte ptr [REQ_TXT_LENGTH]
tmplab18:
sub ah,row_adj
cmp cl,ah
ELSE
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz tmplab17
cmp cl,DEFAULT_LENGTH
jmp short tmplab18
tmplab17:
cmp cl,byte ptr [REQ_TXT_LENGTH]
tmplab18:
ENDIF ; ### end if JAPAN ###
ja SETCUR
mov al,MAXCOL
mov ch,byte ptr [bx+1]
or ch,CH
jz CUP1
dec CH
CUP1: cmp al,CH
ja CUP2
mov ch,al
CUP2: xchg cl,CH
dec CH
mov word ptr COL,cx
jmp SETCUR
CUF: mov ah,MAXCOL
mov al,1
CUF1: mov bx,OFFSET COL
jmp MOVCUR
CUB: mov ax,00FFH
jmp CUF1
CUU: mov ax,00FFH
CUU1: mov bx,OFFSET ROW
jmp MOVCUR
CUD:
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz tmplab19
mov ah,DEFAULT_LENGTH
jmp short tmplab20
tmplab19:
mov ah,byte ptr [REQ_TXT_LENGTH]
dec ah ; M005; REQ_TXT_LENGTH is not 0 based
tmplab20:
IFDEF JAPAN
sub ah,row_adj
ENDIF
mov al,1
jmp CUU1
ExtKey:
cmp dl, 0 ; DL = previous parameter
jne ExtKey_1
mov Switch_X, OFF ; reset it if 0.
jmp S1A
ExtKey_1:
cmp dl, 1 ; 1 ?
je SetExtKey
jmp S1A ; ignore it
SetExtKey:
mov Switch_X, ON ; set it if 1.
jmp S1A
PSCP: mov ax,word ptr COL
mov SAVCR,ax
jmp SETCUR
PRCP: mov ax,SAVCR
mov word ptr COL,ax
jmp SETCUR
SGR: xor cx,cx
xchg cl,PRMCNT
call GETPTR
inc cx
SGR1: mov al,byte ptr [bx]
push bx
mov bx,OFFSET GRMODE
SGR2: mov ah,byte ptr [bx]
add bx,3
cmp ah,0FFH
jz SGR3
cmp ah,al
jnz SGR2
mov ax,word ptr [bx-2]
and ATTR,al
or ATTR,AH
SGR3: pop bx
inc bx
loop SGR1
jmp SETCUR
IFDEF JAPAN ; ### if JAPAN ###
ED:
mov bl,dl ; save function no.
mov dh,30
mov al,MODE
cmp al,11h
je ed20 ; if graphic 640X480
cmp al,12h
je ed20 ; if graphic 640X480
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz ed10 ; if not graphic mode
mov dh,DEFAULT_LENGTH
jmp short ed20
ed10:
mov dh,byte ptr [REQ_TXT_LENGTH]
ed20:
sub dh,row_adj
dec dh ; last row
mov dl,MAXCOL
xor cx,cx
cmp bl,0
jz ed_func0
cmp bl,1
jz ed_func1
mov word ptr COL,cx ; ESC[2J
jmp short ed_30
ed_func0: ; ESC[0J
push dx
mov cx,word ptr COL
mov dh,ch
mov dl,MAXCOL
call erase ; erase to eol
pop dx
mov ch,ROW
cmp ch,dh
jz ed_end ; if at bottom
inc ch
mov cl,0
jmp short ed_30
ed_func1: ; ESC[1J
mov dx,word ptr COL
mov ch,dh
mov cl,0
call erase ; erase from top
mov dh,ROW
cmp dh,0
jz ed_end
dec dh
mov dl,MAXCOL
xor cx,cx
ed_30:
call erase
ed_end:
jmp setcur
EL:
cmp dl,1
jz el_func1
cmp dl,2
jz el_func2
mov cx,word ptr COL ; ESC[0K
mov dh,ch
mov dl,MAXCOL
jmp short el_10
el_func1:
mov dx,word ptr COL ; ESC[1K
mov ch,dh
mov cl,0
jmp short el_10
el_func2:
mov ch,ROW ; ESC[2K
mov dh,ch
mov cl,0
mov dl,MAXCOL
el_10:
call erase
jmp setcur
erase:
cmp GRAPHICS_FLAG,GRAPHICS_MODE ; if we are in graphics mode,
jnz erase10
xor bh,bh ; then use 0 as attribute
jmp short erase20
erase10:
mov bh,ATTR ; else use ATTR
erase20:
mov ax,0600H ; clear
int 10h
ret
else ; ### if Not JAPAN ###
ED: xor cx,cx
mov word ptr COL,cx
mov DH,30
mov al,MODE
cmp al,11H
je ERASE
cmp al,12H
je ERASE
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz tmplab21
mov dh,DEFAULT_LENGTH
jmp short tmplab22
tmplab21:
mov dh,byte ptr [REQ_TXT_LENGTH]
tmplab22:
ERASE: mov DL,MAXCOL
cmp GRAPHICS_FLAG,GRAPHICS_MODE ; if we are in graphics mode,
jnz tmplab23
xor bh,bh ; then use 0 as attribute
jmp short tmplab24
tmplab23:
mov bh,ATTR ; else use ATTR
tmplab24:
mov ax,0600H
int 16
ED3: jmp SETCUR
EL: mov cx,word ptr COL
mov DH,CH
jmp ERASE
ENDIF ; ### end if Not JAPAN ###
IFDEF JAPAN ; ### if JAPAN ###
delete:
mov ah,6 ; scroll up
jmp short insdel
insert:
mov ah,7 ; scroll down
insdel:
mov al,cl ; set scroll number
mov COL,0 ; set to top of row
mov cx,word ptr COL
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz line10 ; if not graphic mode
mov dh,DEFAULT_LENGTH
xor bh,bh ; attribute
jmp short line20
line10:
mov bh,ATTR
mov dh,byte ptr [REQ_TXT_LENGTH]
line20:
sub dh,row_adj
dec dh
mov dl,MAXCOL
int 10h ; scroll
jmp setcur
ENDIF ; ### end if JAPAN ###
BIN2ASC:mov DL,10
inc AL
xor ah,AH
div dl
add ax,'00'
ret
DSR: mov ah,REQ_CRSR_POS
push bx
xor bh,bh
int 10h
pop bx
push dx
mov al,dh ;REPORT CURRENT CURSOR POSITION
call BIN2ASC
mov word ptr REPORT+2,ax
pop dx
mov al,DL
call BIN2ASC
mov word ptr REPORT+5,ax
mov [KEYCNT],9
mov [KEYPTR],OFFSET REPORT
CPR: jmp S1A
RM: mov cl,1
jmp SHORT SM1
SM: xor cx,cx
SM1: mov al,DL
IFDEF JAPAN
cmp new_mode,1
jz nmode
ENDIF
cmp al,MODE7 ; if mode isn't (0-6, 13-19)
jl tmplab25 ; then skip (cas -- signed?)
cmp al,MODE13
jl tmplab26
cmp al,MODE19
jg tmplab26
tmplab25:
test HDWR_FLAG,LCD_ACTIVE ; is this the LCD?
jz tmplab25a ; skip if not
push ds ; WGR yes...
push ax ; WGR save mode
mov ax,ROM_BIOS
mov ds,ax ; WGR get equipment status flag..
mov ax,DS:[EQUIP_FLAG]
and ax,INIT_VID_MASK ; WGR clear initial video bits..
or ax,LCD_COLOR_MODE ; WGR .....set bits as color
mov ds:[EQUIP_FLAG],ax ; WGR replace updated flag.
pop ax ; WGR restore mode.
pop ds
tmplab25a:
mov ah,SET_MODE ; WGR yes....set mode..
int 10H
jmp short tmplab27
tmplab26:
cmp al,7 ; then if 7, wrap at EOL
jnz tmplab27
mov [WRAP],CL ; WGR yes....wrap...
tmplab27:
jmp CPR
IFDEF JAPAN ; ### if JAPAN ###
nmode:
mov new_mode,0
cmp al,1
jz row_mode ; set row mode
cmp al,5
jz cur_mode ; set cursor mode
jmp cpr
row_mode:
mov row_adj,0
jcxz row_mode_ret ; if set mode
cmp GRAPHICS_FLAG,GRAPHICS_MODE
jnz row_mode10 ; if not graphic mode
mov ah,DEFAULT_LENGTH
jmp short row_mode20
row_mode10:
mov ah,byte ptr [REQ_TXT_LENGTH]
row_mode20:
dec ah
cmp row,ah
jb row_mode_30 ; if cursor not at bottom row
dec row
call scroll
row_mode_30:
inc row_adj
row_mode_ret:
jmp cpr
cur_mode:
push cx
mov ah,3 ; get cursor
mov bh,bpage
int 10h
pop ax
or ax,ax
jz cur_mode10 ; if for cursor off
and ch,11011111b ; cursor on
jmp short cur_mode20
cur_mode10:
or ch,00100000b ; corsor off
cur_mode20:
mov ah,1 ; set cursor
int 10h
jmp cpr
ENDIF ; ### end if JAPAN ###
KEYASN: xor dx,dx
xchg DL,PRMCNT ;GET CHARACTER COUNT
inc dx
inc dx
call GETPTR
mov ax,word ptr [bx] ;GET CHARACTER TO BE ASSIGNED
call SCAN ;LOOK IT UP
jnz KEYAS1
mov di,bx ;DELETE OLD DEFINITION
sub ASNPTR,cx
mov KEYCNT,0 ; This delete code shuffles the
; key definition table all around.
; This will cause all sorts of trouble
; if we are in the middle of expanding
; one of the definitions being shuffled.
; So shut off the expansion.
mov si,di
add si,cx
mov cx,OFFSET BUF+ASNMAX
sub cx,si
cld
push es ; SAVE USER'S ES
push CS
pop es ; SET UP ES addRESSABILITY
rep movsb
pop es ; RESTORE ES
KEYAS1: call GETPTR
cmp DL,3
jb KEYAS3
mov byte ptr [bx-1],DL ; SET LENGTH
add ASNPTR,dx ; REMEMBER END OF LIST
add bx,dx
cmp ASNPTR,ASNMAX ; Too much???
jb KEYAS3 ; No
sub bx,dx ; Next three instructions undo the above
sub ASNPTR,dx
KEYAS3: mov byte ptr [bx-1],00
mov STATE,OFFSET S1 ; RETURN
ret
GETPTR: mov bx,ASNPTR
inc bx
add bx,PRMCNTW
cmp bx,ASNMAX + 8
jb GET1
dec PRMCNT
jmp GETPTR
GET1: add bx,OFFSET BUF
ret
; CHECK_FOR_REMAP:
; This function esnures that the keypacket
; passed to it in AX is mapped to a standard INT16h call
CHECK_FOR_REMAP PROC NEAR
cmp al,0e0h ; extended key?
jnz tmplab28
ifdef KOREA
cmp ah, 0f0h
jb mschtmp
cmp ah, 0f2h
jbe tmplab28
mschtmp:
endif ; KOREA
or ah,ah ; probably, but check for alpha character
jz tmplab28
xor al,al ; if not an alpha, map extended to standard
tmplab28:
ret
CHECK_FOR_REMAP ENDP
IFDEF DBCS
; Test if the character is DBCS Lead Byte
; input: AL = character to check
; outpit: ZF = 1 if DBCS Lead Byte
public DBCSLeadByteTable
DBCSLeadByteTable dd 0
IsDBCSLeadByte proc near
push ax
push si
push ds
lds si,cs:DBCSLeadByteTable
idlb_check:
cmp word ptr [si],0
jz idlb_not ; if end of table
cmp al,[si]
jb idlb_next ; if below low value
cmp al,[si+1]
jbe idlb_yes ; if below high value
idlb_next:
add si,2 ; do next
jmp short idlb_check
idlb_not:
or al,1 ; reset ZF
jmp short idlb_end
idlb_yes:
and al,0 ; set ZF
idlb_end:
pop ds
pop si
pop ax
ret
IsDBCSLeadByte endp
ENDIF
BUF DB 4,00,72H,16,0
DB ASNMAX+8-5 DUP (?)
CODE ENDS
END
| 20.957251
| 86
| 0.586227
|
d4e68a33d99226bef8849f04018050b7fdf64792
| 365
|
asm
|
Assembly
|
programs/oeis/108/A108165.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/108/A108165.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/108/A108165.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A108165: a(n)=a(n-1) +A108173(n+1) -A108173(n).
; 2,5,9,12,15,19,22,26,29,32,36,39,42,46,49,53,56,59,63,66,70,73,76,80,83,86,90,93,97,100,103,107,110,114,117,120,124,127,130,134,137,141,144,147,151,154,157,161,164,168,171,174,178,181,185,188,191,195,198,201
add $0,1
seq $0,277722 ; a(n) = floor(n*tau^2) where tau is the tribonacci constant (A058265).
sub $0,1
| 52.142857
| 209
| 0.676712
|
2a765fde7980e4aee488d203185ff6f3abd26c14
| 1,077
|
asm
|
Assembly
|
scrolltext/macros_system.asm
|
yevgeniy-logachev/nesdev
|
70b3a2c669e709b2acfdbc771fdeb2af4f435f48
|
[
"MIT"
] | 1
|
2018-09-05T18:32:34.000Z
|
2018-09-05T18:32:34.000Z
|
scrolltext/macros_system.asm
|
yevgeniy-logachev/nesdev
|
70b3a2c669e709b2acfdbc771fdeb2af4f435f48
|
[
"MIT"
] | null | null | null |
scrolltext/macros_system.asm
|
yevgeniy-logachev/nesdev
|
70b3a2c669e709b2acfdbc771fdeb2af4f435f48
|
[
"MIT"
] | 1
|
2020-07-04T20:24:42.000Z
|
2020-07-04T20:24:42.000Z
|
PPUInit .macro
LDA #%10010000 ; enable NMI, sprites from Pattern Table 0, background from Pattern Table 1
STA $2000
LDA #%00011110 ; enable sprites, enable background, no clipping on left side
STA $2001
.endm
; Wait for vertical blanking
VBlankWait .macro
VWait\@:
BIT $2002
BPL VWait\@
.endm
Delay .macro
Del \1
Del \1
Del \1
Del \1
Del \1
Del \1
Del \1
Del \1
Del \1
Del \1
Del \1
.endm
Del .macro
LDX #HIGH(\1)
LDY #LOW(\1)
Loop1\@:
DEX
CPX #$00
BNE Loop1\@
Loop2\@:
DEY
CPY #$00
BNE Loop2\@
.endm
; Store registers values to stack
PushCpuState .macro
PHA
TXA
PHA
TYA
PHA
.endm
; Restore values from stack to registers
PopCpuState .macro
PLA
TAY
PLA
TAX
PLA
.endm
; Copy one value from Param1 to Param2, register A saves to stack
; PARAM1 - source
; PARAM2 - destination
MemCpySafe .macro
PHA
LDA \1
STA \2
PLA
.endm
; Copy one value from Param1 to Param2, without safe register A value
; PARAM1 - source
; PARAM2 - destination
MemCpy .macro
LDA \1
STA \2
.endm
| 14.171053
| 94
| 0.650882
|
5fb72c74b0bd2a59f09217ed2bcf37238b42d654
| 3,027
|
asm
|
Assembly
|
third_party/boringssl/win-x86/crypto/test/trampoline-x86.asm
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 14,668
|
2015-01-01T01:57:10.000Z
|
2022-03-31T23:33:32.000Z
|
third_party/boringssl/win-x86/crypto/test/trampoline-x86.asm
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 250
|
2018-02-02T23:16:57.000Z
|
2022-03-21T06:09:53.000Z
|
third_party/boringssl/win-x86/crypto/test/trampoline-x86.asm
|
zealoussnow/chromium
|
fd8a8914ca0183f0add65ae55f04e287543c7d4a
|
[
"BSD-3-Clause-No-Nuclear-License-2014",
"BSD-3-Clause"
] | 5,941
|
2015-01-02T11:32:21.000Z
|
2022-03-31T16:35:46.000Z
|
; This file is generated from a similarly-named Perl script in the BoringSSL
; source tree. Do not edit by hand.
%ifdef BORINGSSL_PREFIX
%include "boringssl_prefix_symbols_nasm.inc"
%endif
%ifidn __OUTPUT_FORMAT__,obj
section code use32 class=code align=64
%elifidn __OUTPUT_FORMAT__,win32
$@feat.00 equ 1
section .text code align=64
%else
section .text code
%endif
global _abi_test_trampoline
align 16
_abi_test_trampoline:
L$_abi_test_trampoline_begin:
push ebp
push ebx
push esi
push edi
mov ecx,DWORD [24+esp]
mov esi,DWORD [ecx]
mov edi,DWORD [4+ecx]
mov ebx,DWORD [8+ecx]
mov ebp,DWORD [12+ecx]
sub esp,44
mov eax,DWORD [72+esp]
xor ecx,ecx
L$000loop:
cmp ecx,DWORD [76+esp]
jae NEAR L$001loop_done
mov edx,DWORD [ecx*4+eax]
mov DWORD [ecx*4+esp],edx
add ecx,1
jmp NEAR L$000loop
L$001loop_done:
call DWORD [64+esp]
add esp,44
mov ecx,DWORD [24+esp]
mov DWORD [ecx],esi
mov DWORD [4+ecx],edi
mov DWORD [8+ecx],ebx
mov DWORD [12+ecx],ebp
pop edi
pop esi
pop ebx
pop ebp
ret
global _abi_test_get_and_clear_direction_flag
align 16
_abi_test_get_and_clear_direction_flag:
L$_abi_test_get_and_clear_direction_flag_begin:
pushfd
pop eax
and eax,1024
shr eax,10
cld
ret
global _abi_test_set_direction_flag
align 16
_abi_test_set_direction_flag:
L$_abi_test_set_direction_flag_begin:
std
ret
global _abi_test_clobber_eax
align 16
_abi_test_clobber_eax:
L$_abi_test_clobber_eax_begin:
xor eax,eax
ret
global _abi_test_clobber_ebx
align 16
_abi_test_clobber_ebx:
L$_abi_test_clobber_ebx_begin:
xor ebx,ebx
ret
global _abi_test_clobber_ecx
align 16
_abi_test_clobber_ecx:
L$_abi_test_clobber_ecx_begin:
xor ecx,ecx
ret
global _abi_test_clobber_edx
align 16
_abi_test_clobber_edx:
L$_abi_test_clobber_edx_begin:
xor edx,edx
ret
global _abi_test_clobber_edi
align 16
_abi_test_clobber_edi:
L$_abi_test_clobber_edi_begin:
xor edi,edi
ret
global _abi_test_clobber_esi
align 16
_abi_test_clobber_esi:
L$_abi_test_clobber_esi_begin:
xor esi,esi
ret
global _abi_test_clobber_ebp
align 16
_abi_test_clobber_ebp:
L$_abi_test_clobber_ebp_begin:
xor ebp,ebp
ret
global _abi_test_clobber_xmm0
align 16
_abi_test_clobber_xmm0:
L$_abi_test_clobber_xmm0_begin:
pxor xmm0,xmm0
ret
global _abi_test_clobber_xmm1
align 16
_abi_test_clobber_xmm1:
L$_abi_test_clobber_xmm1_begin:
pxor xmm1,xmm1
ret
global _abi_test_clobber_xmm2
align 16
_abi_test_clobber_xmm2:
L$_abi_test_clobber_xmm2_begin:
pxor xmm2,xmm2
ret
global _abi_test_clobber_xmm3
align 16
_abi_test_clobber_xmm3:
L$_abi_test_clobber_xmm3_begin:
pxor xmm3,xmm3
ret
global _abi_test_clobber_xmm4
align 16
_abi_test_clobber_xmm4:
L$_abi_test_clobber_xmm4_begin:
pxor xmm4,xmm4
ret
global _abi_test_clobber_xmm5
align 16
_abi_test_clobber_xmm5:
L$_abi_test_clobber_xmm5_begin:
pxor xmm5,xmm5
ret
global _abi_test_clobber_xmm6
align 16
_abi_test_clobber_xmm6:
L$_abi_test_clobber_xmm6_begin:
pxor xmm6,xmm6
ret
global _abi_test_clobber_xmm7
align 16
_abi_test_clobber_xmm7:
L$_abi_test_clobber_xmm7_begin:
pxor xmm7,xmm7
ret
| 19.280255
| 76
| 0.827222
|
d42a70f6c07420722adc30df29c1b87ffe749117
| 18,537
|
asm
|
Assembly
|
src/z3/multiworld.asm
|
PJBoy/alttp_sm_combo_randomizer_rom
|
4f14c87227b512a864d1f298e4a6efe7cbc373b3
|
[
"MIT"
] | 31
|
2018-05-03T06:43:23.000Z
|
2021-07-16T13:17:01.000Z
|
src/z3/multiworld.asm
|
PJBoy/alttp_sm_combo_randomizer_rom
|
4f14c87227b512a864d1f298e4a6efe7cbc373b3
|
[
"MIT"
] | 13
|
2018-05-08T20:15:54.000Z
|
2022-01-20T21:28:53.000Z
|
src/z3/multiworld.asm
|
PJBoy/alttp_sm_combo_randomizer_rom
|
4f14c87227b512a864d1f298e4a6efe7cbc373b3
|
[
"MIT"
] | 26
|
2018-05-04T12:25:41.000Z
|
2022-03-23T20:27:57.000Z
|
; ALTTP Multiworld support
;
org $f81000
; Lookup item in ALTTP table and replace as needed, return as 8-bit A
alttp_multiworld_replace_item:
lsr !MULTIWORLD_SWAP : bcs .exit ; If !MULTIWORLD_SWAP is set, skip one item swap
CMP.b #$20 : BEQ .exit ; Crystal
CMP.b #$26 : BEQ .exit ; Piece of heart completion heart
CMP.b #$2E : BEQ .exit ; red refill
CMP.b #$2F : BEQ .exit ; green refill
CMP.b #$30 : BEQ .exit ; Blue refill
CMP.b #$32 : BEQ .exit ; Big key (guard)
CMP.b #$37 : BEQ .exit ; Pendant
CMP.b #$38 : BEQ .exit ; Pendant
CMP.b #$39 : BEQ .exit ; Pendant
bra .next
.exit
jmp .end
.next
phx : phy : php
%ai16()
tax
lda $10
and #$00ff
cmp #$0007 ; Only check for shops in dungeon mode
bne .noShop
lda $A0
cmp #$00FF : BEQ .paradoxShop
cmp #$011C : BEQ .bombShop ; Bomb shop
cmp #$010F : BEQ .shop
cmp #$011F : BEQ .shop
cmp #$0110 : BEQ .shop
cmp #$0112 : BEQ .shop
cmp #$0100 : BEQ .shop ; LW Chest game 1
cmp #$0118 : BEQ .shop ; LW Chest game 2
bra .noShop
.paradoxShop
lda $A8
cmp #$0014 : BEQ .shop
bra .noShop
.bombShop
lda $A9
cmp #$0200 : beq .shop
bra .noShop
.shop
txa : bra .noReplace
.noShop
txa
and #$00ff ; Mask off any extra high bits left in A
asl #3 : tax
ora #$8000 ; Set high bit in item index for ALTTP to not clash with SM indexes
sta !MULTIWORLD_GIVE_INDEX ; Save the multiworld table index for later
lda.l alttp_rando_item_table, x ; Load multiworld item type
sta !MULTIWORLD_PICKUP ; Make sure we always set this flag so it's updated depending on item type
beq .ownItem
sta !MULTIWORLD_DIALOG
lda.l alttp_rando_item_table+$4, x
sta !MULTIWORLD_GIVE_PLAYER ; Store multiworld owner
sta !MULTIWORLD_DIALOG_PLAYER
.ownItem
lda.l alttp_rando_item_table+$2, x
sta !MULTIWORLD_GIVE_ITEM
sta !MULTIWORLD_DIALOG_ITEM
.noReplace
plp : ply : plx
.end
stz !MULTIWORLD_SWAP
rtl
alttp_multiworld_replace_graphics:
lsr !MULTIWORLD_SWAP : bcs .end ; If !MULTIWORLD_SWAP is set, skip one item swap
CMP.b #$20 : BEQ .end ; Crystal
CMP.b #$26 : BEQ .end ; Piece of heart completion heart
CMP.b #$2E : BEQ .end ; red refill
CMP.b #$2F : BEQ .end ; green refill
CMP.b #$30 : BEQ .end ; Blue refill
CMP.b #$32 : BEQ .end ; Big key (guard)
CMP.b #$37 : BEQ .end ; Pendant
CMP.b #$38 : BEQ .end ; Pendant
CMP.b #$39 : BEQ .end ; Pendant
phx : phy : php
%ai16()
and #$00ff ; Mask off any extra high bits left in A
asl #3 : tax
lda.l alttp_rando_item_table+$2, x
plp : ply : plx
.end
stz !MULTIWORLD_SWAP
rtl
alttp_mw_handle_queue:
pha : phx : phy : php
%ai16()
lda config_multiworld
bne +
jmp .end
+
; lda.l !SRAM_MW_RPTR ; Don't loop in ALTTP because we have to wait for item pickup to actually start
; cmp.l !SRAM_MW_WPTR
lda.l !SRAM_MW_ITEMS_RECV_RPTR
cmp.l !SRAM_MW_ITEMS_RECV_WPTR
beq .end
%a8()
lda.l !MULTIWORLD_PICKUP
bne .cantGive ; If a pickup is happening, don't queue another yet
lda $02E4
bne .cantGive ; Don't queue pickups if link is not allowed to move
lda $03EF
bne .cantGive ; Don't queue pickups when link is forced into "sword up"
lda $5d ; Check links state
cmp #$00 ; Only allow ground state, swimming, dashing and bunny states
beq .next
cmp #$04
beq .next
cmp #$11
beq .next
cmp #$17
beq .next
bra .cantGive
.next
lda $10 ; Only get items if we're still in dungeon or overworld mode
cmp #$07
beq .continue
cmp #$09
beq .continue
bra .cantGive
.continue ; Always induce a 10 frame waiting period of "normal gameplay"
lda $11
bne .cantGive ; Make sure submodule is 0
lda !MULTIWORLD_DELAY
beq .cantGive
dec : sta !MULTIWORLD_DELAY
cmp #$00
beq +
bra .end
+
%a16()
; lda.l !SRAM_MW_RPTR
lda.l !SRAM_MW_ITEMS_RECV_RPTR
asl #2 : tax
; lda.l !SRAM_MW_RECVQ, x : sta $7e
; lda.l !SRAM_MW_RECVQ+$2, x : sta $7c
lda.l !SRAM_MW_ITEMS_RECV, x : sta $7e
lda.l !SRAM_MW_ITEMS_RECV+$2, x : sta $7c
jsr alttp_mw_receive_item
lda.l !SRAM_MW_ITEMS_RECV_RPTR
inc a
sta.l !SRAM_MW_ITEMS_RECV_RPTR
bra .end
.cantGive
lda #$0A
sta !MULTIWORLD_DELAY ; Wait 10 frames before trying to give item again
.end
plp : ply : plx : pla
jsl $078000 ; JSL Player_Main (do stoops lonk things)
rtl
alttp_mw_no_rupees:
pha
lda config_multiworld
beq +
lda !MULTIWORLD_PICKUP
cmp #$01
beq .end
+
pla
jsl GiveRupeeGift
rtl
.end
pla
rtl
alttp_mw_receive_item:
; Item in $7c, World in $7e
lda $7e
sta.l !MULTIWORLD_DIALOG_PLAYER
lda #$0002
sta.l !MULTIWORLD_PICKUP ; 1 = pickup multiworld for other player, 2 = get multiworld item from other player
sta.l !MULTIWORLD_DIALOG ; dialog 2 = we got item from other player
%ai8()
lda #$01
sta.l !MULTIWORLD_SWAP
ldy $7c
sty !MULTIWORLD_DIALOG_ITEM
jsl Link_ReceiveItem ; Get item in $7c
%ai16()
rts
alttp_mw_send_item:
phx : phy : php
; Item in A
%ai16()
lda.l !MULTIWORLD_GIVE_ITEM ; This gets set by the replacement routine
and #$00ff ; so that progressive items will send the progressive id correctly
tax
lda.l !MULTIWORLD_GIVE_PLAYER
tay
lda.l !MULTIWORLD_GIVE_INDEX
jsl mw_write_message
plp : ply : plx
rtl
alttp_multiworld_dialog:
lda $1cf0
bmi .multiworldDialog
; If not multiworld dialog, return
asl : tax
jml $0eee8d
.multiworldDialog
; Item Name
lda !MULTIWORLD_DIALOG_ITEM
and #$00ff
cmp #$00b0
bcc .alttpItem
sec
sbc #$00b0
bra +
.alttpItem
clc
adc #$0030
+
%a8()
sta $211b : xba : sta $211b
lda #$14
sta $211c
%ai16()
ldx $2134
ldy #$0000
phx : tyx : lda #$0074 : sta $7f1200, x : plx : iny
-
phx
lda.l alttp_mw_item_names, x
and #$00ff
beq ++
tax
lda.l alttp_dialog_char_table-$20, x
and #$00ff
xba
tyx
sta.l $7f1200, x
iny #2
plx
inx
bra -
++
plx
phx : tyx : lda #$0075 : sta $7f1200, x : plx : iny
lda $1cf0
and #$00ff
cmp #$0000
beq +
clc
adc #$0013
+
tax
-
phx
lda.l alttp_mw_dialogtable, x
and #$00ff
beq ++
tax
lda.l alttp_dialog_char_table-$20, x
and #$00ff
xba
tyx
sta.l $7f1200, x
iny #2
plx
inx
bra -
++
plx
phx : tyx : lda #$0076 : sta $7f1200, x : plx : iny
lda #$ff00
tyx
sta.l $7f1200, x
sta.l $7f1200+$2, x
sta.l $7f1200+$4, x
tya : clc : adc #$0006 : tay
lda !MULTIWORLD_DIALOG_PLAYER
and #$00ff
asl #4 : tax
-
phx
lda.l rando_player_table, x
and #$00ff
cmp #$0000 ; FIXME: this will break if we use extended player data (needs to be fixed by then)
beq ++
tax
lda.l alttp_dialog_char_table-$20, x
and #$00ff
xba
tyx
sta.l $7f1200, x
iny #2
plx
inx
bra -
++
plx
tyx
lda #$FF00
sta.l $7f1200, x
sta.l $7f1200+$2, x
sta.l $7f1200+$4, x
sta.l $7f1200+$6, x
tya : clc : adc #$0008 : tay
stz !MULTIWORLD_DIALOG
stz !MULTIWORLD_DIALOG_ITEM
stz !MULTIWORLD_DIALOG_PLAYER
tyx
jml $0eef1c ; Return back to original code
alttp_mw_dialogtable:
; Dialog boxes are 19 characters wide
; 0123456789ABCDEF012
.give
db " found for player ", $00
.get
db " received from ", $00
alttp_mw_item_names:
db " Grappling Beam ", $00 ; 00 (b0) (sm items)
db " X-Ray Scope ", $00
db " Varia Suit ", $00
db " Spring Ball ", $00
db " Morphing Ball ", $00
db " Screw Attack ", $00
db " Gravity Suit ", $00
db " Hi-Jump Boots ", $00
db " Space Jump ", $00
db " Bomb ", $00
db " Speed Booster ", $00
db " Charge Beam ", $00
db " Ice Beam ", $00
db " Wave Beam ", $00
db " ~~ S P a z E R ~~ ", $00
db " Plasma Beam ", $00
db " Energy Tank ", $00
db " Reserve Tank ", $00
db " Missiles ", $00
db " Super Missiles ", $00
db " Power Bombs ", $00
db " ", $00 ;15
db " ", $00 ;16
db " ", $00 ;17
db " ", $00 ;18
db " ", $00 ;19
db " ", $00 ;1A
db " ", $00 ;1B
db " ", $00 ;1C
db " ", $00 ;1D
db " ", $00 ;1E
db " ", $00 ;1F
db " Crateria L 1 Card ", $00 ; 20
db " Crateria L 2 Card ", $00 ; 21
db " Crateria Boss Card", $00 ; 22
db " Brinstar L 1 Card ", $00 ; 20
db " Brinstar L 2 Card ", $00 ; 21
db " Brinstar Boss Card", $00 ; 22
db " Norfair L 1 Card ", $00 ; 20
db " Norfair L 2 Card ", $00 ; 21
db " Norfair Boss Card ", $00 ; 22
db " Maridia L 1 Card ", $00 ; 20
db " Maridia L 2 Card ", $00 ; 21
db " Maridia Boss Card ", $00 ; 22
db " W.Ship L 1 Card ", $00 ; 2C
db " W.Ship Boss Card ", $00 ; 2D
db "L.Norfair L 1 Card ", $00 ; 2E
db "L.Norfair Boss Card", $00 ; 2F
db " ", $00 ; $30+ (alttp items)
db " Master Sword ", $00
db " Tempered Sword ", $00
db " Gold Sword ", $00
db " Toy Shield ", $00
db " Red Shield ", $00
db " Mirror Shield ", $00
db " Fire Rod ", $00
db " Ice Rod ", $00
db " Hammer ", $00
db " Hookshot, BOING! ", $00
db " Bow ", $00
db " Blue Boomerang ", $00
db " Magic Powder ", $00
db " ", $00
db " Bombos ", $00
db " Ether ", $00
db " Quake ", $00
db " Lamp ", $00
db " Shovel ", $00
db " Flute ", $00
db " Cane of Somaria ", $00
db " Bottle ", $00
db " Piece of Heart ", $00
db " Cane of Byrna ", $00
db " Magic Cape ", $00
db " Magic Mirror ", $00
db " Power Glove ", $00
db " Titan's Mitt ", $00
db " Book of Mudora ", $00
db " Zora's Flippers ", $00
db " Moon Pearl ", $00
db " ", $00
db " Bug Net ", $00
db " Blue Mail ", $00
db " Red Mail ", $00
db " ", $00
db " ", $00
db " Heart Container ", $00
db " One Bomb ", $00
db " Three Bombs ", $00
db " Mushroom ", $00
db " Red Boomerang ", $00
db " Red Potion ", $00
db " Green Potion ", $00
db " Blue Potion ", $00
db " ", $00
db " ", $00
db " ", $00
db " Ten Bombs ", $00
db " ", $00
db " ", $00
db " A single Rupee ", $00
db " Five Rupees ", $00
db " Twenty Rupees ", $00
db " ", $00
db " ", $00
db " ", $00
db " Bow ", $00
db " Silver Arrows ", $00
db " Bee ", $00
db " Fairy ", $00
db " Heart Container ", $00
db " Heart Container ", $00
db "One Hundred Rupees ", $00
db " Fifty Rupees ", $00
db " ", $00
db " A single Arrow ", $00
db " Ten Arrows ", $00
db " ", $00
db " 300 Rupees ", $00
db " Twenty Rupees ", $00
db " A good Bee ", $00
db " Fighter's Sword ", $00
db " ", $00
db " Pegasus Boots ", $00
db " ", $00
db " ", $00
db " Half Magic ", $00
db " Quarter Magic ", $00
db " Master Sword ", $00
db " 5 Bomb Capacity ", $00
db " 10 Bomb Capacity ", $00
db " 5 Arrow Capacity ", $00
db " 10 Arrow Capactiy ", $00
db " ", $00
db " ", $00
db " ", $00
db " Silver Arrows ", $00 ; 58
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " Sword Upgrade ", $00
db " Shield Upgrade ", $00
db " Armour Upgrade ", $00
db " Glove Upgrade ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00
db " ", $00 ; 6F
db " ", $00 ; 70
db " ", $00
db " Ganon's Tower Map ", $00
db " Turtle Rock Map ", $00
db " Thieves' Town Map ", $00
db " Tower of Hera Map ", $00
db " Ice Palace Map ", $00
db " Skull Woods Map ", $00
db " Misery Mire Map ", $00
db " Dark Palace Map ", $00
db " Swamp Palace Map ", $00
db " ", $00
db " Desert Palace Map ", $00
db " Eastern Palace Map", $00
db " ", $00
db " Hyrule Castle Map ", $00 ; 7F
db " ", $00 ; 80
db " ", $00
db " G. Tower Compass ", $00
db "Turtle Rock Compass", $00
db " T. Town Compass ", $00
db " Hera Compass ", $00
db "Ice Palace Compass ", $00
db "Skull Woods Compass", $00
db "Misery Mire Compass", $00
db "Dark Palace Compass", $00
db " Swamp P. Compass ", $00
db " ", $00
db " Desert P. Compass ", $00
db "Eastern P. Compass ", $00
db " ", $00
db " ", $00 ; 8F
db " ", $00 ; 90
db " ", $00
db " Ganon's Tower B.K ", $00
db " Turtle Rock B.K ", $00
db " Thieves' Town B.K ", $00
db " Tower of Hera B.K ", $00
db " Ice Palace B.K ", $00
db " Skull Woods B.K ", $00
db " Misery Mire B.K ", $00
db " Dark Palace B.K ", $00
db " Swamp Palace B.K ", $00
db " ", $00
db " Desert Palace B.K ", $00
db " Eastern Palace B.K", $00
db " ", $00
db " ", $00 ; 9F
db " Hyrule Castle Key ", $00 ; A0
db " Sewers Key ", $00
db " Eastern Palace Key", $00
db " Desert Palace Key ", $00
db " Castle Tower Key ", $00
db " Swamp Palace Key ", $00
db " Dark Palace Key ", $00
db " Misery Mire Key ", $00
db " Skull Woods Key ", $00
db " Ice Palace Key ", $00
db " Tower of Hera Key ", $00
db " Thieves' Town Key ", $00
db " Turtle Rock Key ", $00
db " Ganon's Tower Key ", $00
db " ", $00
db " ", $00 ; AF
alttp_dialog_char_table:
; Each unsupported symbol translate to "?" $C6 for visual indication
; <sp> ! " # $ % & ' ( ) * + , - . /
db $FF, $C7, $D8, $4C, $C6, $C6, $C6, $D8, $C6, $C6, $C6, $C6, $C8, $C9, $CD, $C6
; 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
db $A0, $A1, $A2, $A3, $A4, $A5, $A6, $A7, $A8, $A9, $4A, $C6, $C6, $C6, $C6, $C6
; @ A B C D E F G H I J K L M N O
db $4B, $AA, $AB, $AC, $AD, $AE, $AF, $B0, $B1, $B2, $B3, $B4, $B5, $B6, $B7, $B8
; P Q R S T U V W X Y Z [ \ ] ^ _
db $B9, $BA, $BB, $BC, $BD, $BE, $BF, $C0, $C1, $C2, $C3, $C6, $C6, $C6, $C6, $C6
; Lowercase Letters
; ` a b c d e f g h i j k l m n o
db $C6, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $3A, $3B, $3C, $3D, $3E
; p q r s t u v w x y z { | } ~ <del>
db $3F, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $C6, $C6, $C6, $CE, $C6
alttp_mw_check_softreset:
lda $4219 : sta $01
cmp #$30
bne .end
lda $00
cmp #$30
bne .end
lda.l !SRAM_SAVING
bne .end
jmp alttp_mw_softreset
.end
rtl
alttp_mw_softreset:
sei ; Disable IRQ's
%i16()
%a8()
lda #$01
sta $420d ; Toggle FastROM on
lda #$00
sta $4200 ; Disable NMI and Joypad autoread
sta $420c ; Disable H-DMA
lda #$8f
sta $2100 ; Enable PPU force blank
jsl sm_spc_reset ; Kill the ALTTP music engine and put the SPC in IPL upload mode
; Gotta do this before switching RAM contents
-
bit $4212 ; Wait for a fresh NMI
bmi -
-
bit $4212
bpl -
%ai16()
ldx #$1ff0
txs ; Adjust stack pointer
lda #$ffff ; Set the "game flag" to SM so IRQ's/NMI runs using the
sta !SRAM_CURRENT_GAME ; correct game
jsl sm_fix_checksum ; Fix SRAM checksum (otherwise SM deletes the file on load)
jml $80841C ; Jump to SM boot code
| 28.300763
| 115
| 0.457949
|
9ba879ee793a7d1a7e68ea569e02b50a2e1c055a
| 845
|
asm
|
Assembly
|
programs/oeis/198/A198400.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/198/A198400.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/198/A198400.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A198400: 10^n-10*n.
; 1,0,80,970,9960,99950,999940,9999930,99999920,999999910,9999999900,99999999890,999999999880,9999999999870,99999999999860,999999999999850,9999999999999840,99999999999999830,999999999999999820,9999999999999999810,99999999999999999800,999999999999999999790,9999999999999999999780,99999999999999999999770,999999999999999999999760,9999999999999999999999750,99999999999999999999999740,999999999999999999999999730,9999999999999999999999999720,99999999999999999999999999710,999999999999999999999999999700,9999999999999999999999999999690,99999999999999999999999999999680,999999999999999999999999999999670,9999999999999999999999999999999660,99999999999999999999999999999999650,999999999999999999999999999999999640
mov $3,$0
mul $3,5
lpb $3
add $2,1
sub $3,1
lpe
mov $1,10
pow $1,$0
lpb $2
sub $1,10
sub $2,5
lpe
mov $0,$1
| 49.705882
| 705
| 0.876923
|
b14eeb844d5edf70a2b9d2fc7a7db6814c4fe0fc
| 75,878
|
asm
|
Assembly
|
unused/develop/obj/music_track_101__Data.asm
|
pau-tomas/gbvm
|
c2c7a93a42f6e3168b013c93c4a3bd1c9e8b989b
|
[
"MIT"
] | 33
|
2020-12-27T11:53:23.000Z
|
2022-02-19T23:05:12.000Z
|
unused/develop/obj/music_track_101__Data.asm
|
pau-tomas/gbvm
|
c2c7a93a42f6e3168b013c93c4a3bd1c9e8b989b
|
[
"MIT"
] | 2
|
2020-12-10T16:53:53.000Z
|
2022-01-31T21:42:01.000Z
|
unused/develop/obj/music_track_101__Data.asm
|
pau-tomas/gbvm
|
c2c7a93a42f6e3168b013c93c4a3bd1c9e8b989b
|
[
"MIT"
] | 6
|
2021-04-18T08:09:16.000Z
|
2022-01-31T21:52:24.000Z
|
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module music_track_101__Data
.optsdcc -mgbz80
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
.globl _music_track_101__Data
.globl ___bank_music_track_101__Data
;--------------------------------------------------------
; special function registers
;--------------------------------------------------------
;--------------------------------------------------------
; ram data
;--------------------------------------------------------
.area _DATA
;--------------------------------------------------------
; ram data
;--------------------------------------------------------
.area _INITIALIZED
;--------------------------------------------------------
; absolute external ram data
;--------------------------------------------------------
.area _DABS (ABS)
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
.area _HOME
.area _GSINIT
.area _GSFINAL
.area _GSINIT
;--------------------------------------------------------
; Home
;--------------------------------------------------------
.area _HOME
.area _HOME
;--------------------------------------------------------
; code
;--------------------------------------------------------
.area _CODE_255
.area _CODE_255
_order_cnt:
.db #0x10 ; 16
_P0:
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
_P1:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
_P2:
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x1d ; 29
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
_P3:
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x0a ; 10
.db #0x27 ; 39
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x27 ; 39
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x27 ; 39
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x0a ; 10
.db #0x26 ; 38
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x26 ; 38
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x22 ; 34
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x22 ; 34
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x26 ; 38
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x22 ; 34
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
_P4:
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x05 ; 5
.db #0x3c ; 60
.db #0x09 ; 9
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x05 ; 5
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x05 ; 5
.db #0x3c ; 60
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x3c ; 60
.db #0x09 ; 9
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x08 ; 8
.db #0x3c ; 60
.db #0x09 ; 9
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x08 ; 8
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x08 ; 8
.db #0x3c ; 60
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x3c ; 60
.db #0x09 ; 9
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x3c ; 60
.db #0x09 ; 9
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x3c ; 60
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x3c ; 60
.db #0x09 ; 9
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x0c ; 12
.db #0x04 ; 4
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x13 ; 19
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0f ; 15
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0f ; 15
.db #0x11 ; 17
.db #0x03 ; 3
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
_P5:
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
_P6:
.db #0x30 ; 48 '0'
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x10 ; 16
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x20 ; 32
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x10 ; 16
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x20 ; 32
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
_P7:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x13 ; 19
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x03 ; 3
_P8:
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
_P9:
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
_P10:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
_P11:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x26 ; 38
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x22 ; 34
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x43 ; 67 'C'
.db #0x10 ; 16
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x4c ; 76 'L'
.db #0x04 ; 4
.db #0x2c ; 44
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x4c ; 76 'L'
.db #0x04 ; 4
.db #0x29 ; 41
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x4c ; 76 'L'
.db #0x04 ; 4
.db #0x27 ; 39
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x4c ; 76 'L'
.db #0x04 ; 4
.db #0x2c ; 44
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x4c ; 76 'L'
.db #0x04 ; 4
.db #0x27 ; 39
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
_P12:
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x05 ; 5
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x11 ; 17
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x08 ; 8
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x14 ; 20
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x52 ; 82 'R'
.db #0x90 ; 144
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x03 ; 3
.db #0x45 ; 69 'E'
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x45 ; 69 'E'
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x16 ; 22
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x0a ; 10
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x1b ; 27
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
_P13:
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x0a ; 10
.db #0x27 ; 39
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x27 ; 39
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x24 ; 36
.db #0x70 ; 112 'p'
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0xcc ; 204
.db #0x27 ; 39
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x1d ; 29
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x29 ; 41
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x0a ; 10
.db #0x22 ; 34
.db #0x60 ; 96
.db #0xcc ; 204
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x01 ; 1
.db #0x02 ; 2
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x10 ; 16
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x10 ; 16
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x29 ; 41
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x27 ; 39
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x3c ; 60
.db #0x04 ; 4
.db #0x27 ; 39
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x22 ; 34
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
_P14:
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x37 ; 55 '7'
.db #0x90 ; 144
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x40 ; 64
.db #0x00 ; 0
_P15:
.db #0x24 ; 36
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x24 ; 36
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x29 ; 41
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x30 ; 48 '0'
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x35 ; 53 '5'
.db #0x33 ; 51 '3'
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x33 ; 51 '3'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x01 ; 1
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x01 ; 1
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x33 ; 51 '3'
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x35 ; 53 '5'
.db #0x33 ; 51 '3'
.db #0x01 ; 1
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x01 ; 1
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x01 ; 1
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x01 ; 1
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x01 ; 1
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x05 ; 5
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x05 ; 5
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x05 ; 5
.db #0x5a ; 90 'Z'
.db #0x02 ; 2
.db #0x05 ; 5
_P16:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x20 ; 32
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x27 ; 39
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x22 ; 34
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x32 ; 50 '2'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x26 ; 38
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x35 ; 53 '5'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x03 ; 3
.db #0x32 ; 50 '2'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x32 ; 50 '2'
_P17:
.db #0x29 ; 41
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x27 ; 39
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x29 ; 41
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x2c ; 44
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x29 ; 41
.db #0x34 ; 52 '4'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x02 ; 2
.db #0x27 ; 39
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x24 ; 36
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x29 ; 41
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0xa1 ; 161
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x02 ; 2
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x02 ; 2
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0xa1 ; 161
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x02 ; 2
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x29 ; 41
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2c ; 44
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x2e ; 46
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x2e ; 46
.db #0x3c ; 60
.db #0x03 ; 3
.db #0x33 ; 51 '3'
.db #0x30 ; 48 '0'
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0xa1 ; 161
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x02 ; 2
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x1d ; 29
.db #0x03 ; 3
.db #0x07 ; 7
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x07 ; 7
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x07 ; 7
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x07 ; 7
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x07 ; 7
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x07 ; 7
_P18:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x0e ; 14
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x0e ; 14
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x0e ; 14
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x1d ; 29
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x29 ; 41
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x27 ; 39
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0xa1 ; 161
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x02 ; 2
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x1d ; 29
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x29 ; 41
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x26 ; 38
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x29 ; 41
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x26 ; 38
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x22 ; 34
.db #0x03 ; 3
.db #0x06 ; 6
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x06 ; 6
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x26 ; 38
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x22 ; 34
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x24 ; 36
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x22 ; 34
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x03 ; 3
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
_P19:
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x24 ; 36
.db #0x03 ; 3
.db #0x0e ; 14
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x0e ; 14
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x0e ; 14
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x1d ; 29
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x1d ; 29
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x29 ; 41
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x24 ; 36
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x2e ; 46
.db #0x03 ; 3
.db #0x05 ; 5
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x05 ; 5
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x05 ; 5
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x33 ; 51 '3'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x2c ; 44
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x27 ; 39
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x2e ; 46
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x33 ; 51 '3'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x35 ; 53 '5'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x04 ; 4
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x35 ; 53 '5'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x1c ; 28
.db #0x03 ; 3
.db #0x30 ; 48 '0'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x33 ; 51 '3'
.db #0x10 ; 16
.db #0x00 ; 0
.db #0x5a ; 90 'Z'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x30 ; 48 '0'
.db #0x03 ; 3
.db #0x02 ; 2
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x02 ; 2
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x02 ; 2
.db #0x5a ; 90 'Z'
.db #0x03 ; 3
.db #0x02 ; 2
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x04 ; 4
.db #0x42 ; 66 'B'
.db #0x5a ; 90 'Z'
.db #0x0b ; 11
.db #0x03 ; 3
_order1:
.dw _P2
.dw _P6
.dw _P10
.dw _P11
.dw _P16
.dw _P16
.dw _P16
.dw _P16
.dw _P0
_order2:
.dw _P1
.dw _P7
.dw _P3
.dw _P13
.dw _P15
.dw _P17
.dw _P18
.dw _P19
.dw _P0
_order3:
.dw _P0
.dw _P4
.dw _P8
.dw _P12
.dw _P8
.dw _P8
.dw _P8
.dw _P8
.dw _P0
_order4:
.dw _P0
.dw _P5
.dw _P9
.dw _P14
.dw _P9
.dw _P9
.dw _P9
.dw _P9
.dw _P0
_duty_instruments:
.db #0x08 ; 8
.db #0x80 ; 128
.db #0x80 ; 128
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0x20 ; 32
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x40 ; 64
.db #0xa0 ; 160
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x40 ; 64
.db #0x30 ; 48 '0'
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x40 ; 64
.db #0x90 ; 144
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x40 ; 64
.db #0x30 ; 48 '0'
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
.db #0x08 ; 8
.db #0x80 ; 128
.db #0xf0 ; 240
.db #0x80 ; 128
_wave_instruments:
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x01 ; 1
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
.db #0x00 ; 0
.db #0x20 ; 32
.db #0x00 ; 0
.db #0x80 ; 128
_noise_instruments:
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xa2 ; 162
.db #0x49 ; 73 'I'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x81 ; 129
.db #0x40 ; 64
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x90 ; 144
.db #0x7e ; 126
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0xf0 ; 240
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
_waves:
.db #0xff ; 255
.db #0xee ; 238
.db #0xdd ; 221
.db #0xcc ; 204
.db #0xbb ; 187
.db #0xaa ; 170
.db #0x99 ; 153
.db #0x88 ; 136
.db #0x77 ; 119 'w'
.db #0x66 ; 102 'f'
.db #0x55 ; 85 'U'
.db #0x44 ; 68 'D'
.db #0x33 ; 51 '3'
.db #0x22 ; 34
.db #0x11 ; 17
.db #0x00 ; 0
.db #0x8a ; 138
.db #0xce ; 206
.db #0xff ; 255
.db #0xff ; 255
.db #0xff ; 255
.db #0xff ; 255
.db #0xfe ; 254
.db #0xca ; 202
.db #0x85 ; 133
.db #0x31 ; 49 '1'
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x00 ; 0
.db #0x01 ; 1
.db #0x35 ; 53 '5'
.db #0xb0 ; 176
.db #0x9a ; 154
.db #0x90 ; 144
.db #0x93 ; 147
.db #0x5d ; 93
.db #0x72 ; 114 'r'
.db #0x74 ; 116 't'
.db #0x85 ; 133
.db #0x44 ; 68 'D'
.db #0x59 ; 89 'Y'
.db #0x92 ; 146
.db #0x19 ; 25
.db #0x55 ; 85 'U'
.db #0xe1 ; 225
.db #0xb4 ; 180
.db #0x02 ; 2
.db #0x3b ; 59
.db #0x2d ; 45
.db #0x0a ; 10
.db #0xd1 ; 209
.db #0x33 ; 51 '3'
.db #0x3e ; 62
.db #0x5a ; 90 'Z'
.db #0x09 ; 9
.db #0x71 ; 113 'q'
.db #0x3c ; 60
.db #0x80 ; 128
.db #0x00 ; 0
.db #0xe7 ; 231
.db #0x4b ; 75 'K'
.db #0x02 ; 2
.db #0x01 ; 1
.db #0x6b ; 107 'k'
.db #0xea ; 234
.db #0x7e ; 126
.db #0xdc ; 220
.db #0x07 ; 7
.db #0xcc ; 204
.db #0x99 ; 153
.db #0x5d ; 93
.db #0xd0 ; 208
.db #0x62 ; 98 'b'
.db #0x3a ; 58
.db #0xc2 ; 194
.db #0x81 ; 129
.db #0x7a ; 122 'z'
.db #0x38 ; 56 '8'
.db #0x35 ; 53 '5'
.db #0x46 ; 70 'F'
.db #0xe9 ; 233
.db #0x52 ; 82 'R'
.db #0x6e ; 110 'n'
.db #0x58 ; 88 'X'
.db #0xc7 ; 199
.db #0x03 ; 3
.db #0x06 ; 6
.db #0xa5 ; 165
.db #0x4e ; 78 'N'
.db #0x96 ; 150
.db #0x3d ; 61
.db #0x0c ; 12
.db #0x7b ; 123
.db #0x25 ; 37
.db #0x5a ; 90 'Z'
.db #0x7e ; 126
.db #0xa1 ; 161
.db #0x01 ; 1
.db #0x99 ; 153
.db #0x8d ; 141
.db #0x81 ; 129
.db #0x4a ; 74 'J'
.db #0x8c ; 140
.db #0x3d ; 61
.db #0x45 ; 69 'E'
.db #0xd5 ; 213
.db #0x9a ; 154
.db #0x20 ; 32
.db #0x84 ; 132
.db #0x73 ; 115 's'
.db #0x3e ; 62
.db #0x38 ; 56 '8'
.db #0x10 ; 16
.db #0x1e ; 30
.db #0x92 ; 146
.db #0x92 ; 146
.db #0xb7 ; 183
.db #0xe3 ; 227
.db #0xc7 ; 199
.db #0xe0 ; 224
.db #0x5e ; 94
.db #0x99 ; 153
.db #0x33 ; 51 '3'
.db #0xd1 ; 209
.db #0x3b ; 59
.db #0xeb ; 235
.db #0x51 ; 81 'Q'
.db #0x26 ; 38
.db #0x4b ; 75 'K'
.db #0x1c ; 28
.db #0x68 ; 104 'h'
.db #0xb8 ; 184
.db #0xda ; 218
.db #0xe4 ; 228
.db #0xc5 ; 197
.db #0x71 ; 113 'q'
.db #0x80 ; 128
.db #0x0c ; 12
.db #0xee ; 238
.db #0x37 ; 55 '7'
.db #0x8a ; 138
.db #0xe3 ; 227
.db #0x77 ; 119 'w'
.db #0x35 ; 53 '5'
.db #0x62 ; 98 'b'
.db #0x3b ; 59
.db #0xa7 ; 167
.db #0xaa ; 170
.db #0x0c ; 12
.db #0x68 ; 104 'h'
.db #0x49 ; 73 'I'
.db #0x6e ; 110 'n'
.db #0xd2 ; 210
.db #0x82 ; 130
.db #0x1c ; 28
.db #0x47 ; 71 'G'
.db #0x9a ; 154
.db #0x37 ; 55 '7'
.db #0x21 ; 33
.db #0x66 ; 102 'f'
.db #0x8a ; 138
.db #0xea ; 234
.db #0xab ; 171
.db #0x6b ; 107 'k'
.db #0x76 ; 118 'v'
.db #0x6d ; 109 'm'
.db #0xb9 ; 185
.db #0xd9 ; 217
.db #0x74 ; 116 't'
.db #0x2b ; 43
.db #0x12 ; 18
.db #0x12 ; 18
.db #0xa1 ; 161
.db #0x2b ; 43
.db #0xb1 ; 177
.db #0x10 ; 16
.db #0x25 ; 37
.db #0x9d ; 157
.db #0x94 ; 148
.db #0xe3 ; 227
.db #0x8c ; 140
.db #0x36 ; 54 '6'
.db #0xaa ; 170
.db #0x8a ; 138
.db #0x7b ; 123
.db #0xe3 ; 227
.db #0x83 ; 131
.db #0x39 ; 57 '9'
.db #0xe5 ; 229
.db #0x70 ; 112 'p'
.db #0x35 ; 53 '5'
.db #0xb7 ; 183
.db #0x76 ; 118 'v'
.db #0x52 ; 82 'R'
.db #0x69 ; 105 'i'
.db #0xea ; 234
.db #0x7e ; 126
.db #0xb5 ; 181
.db #0x62 ; 98 'b'
.db #0x97 ; 151
.db #0x99 ; 153
.db #0xb5 ; 181
.db #0xc8 ; 200
.db #0xb7 ; 183
.db #0x80 ; 128
.db #0xce ; 206
.db #0x32 ; 50 '2'
.db #0x29 ; 41
.db #0x3d ; 61
.db #0xa1 ; 161
.db #0x6e ; 110 'n'
.db #0xb2 ; 178
.db #0x69 ; 105 'i'
.db #0xe2 ; 226
.db #0x5e ; 94
.db #0x66 ; 102 'f'
.db #0x8a ; 138
.db #0x91 ; 145
.db #0xee ; 238
.db #0x2a ; 42
.db #0xde ; 222
.db #0x2a ; 42
.db #0x9a ; 154
.db #0x62 ; 98 'b'
.db #0xe3 ; 227
.db #0x78 ; 120 'x'
.db #0xc2 ; 194
.db #0x14 ; 20
.db #0x49 ; 73 'I'
.db #0xba ; 186
.db #0xa4 ; 164
.db #0xdc ; 220
.db #0x8b ; 139
.db #0xbc ; 188
.db #0x02 ; 2
.db #0x7a ; 122 'z'
.db #0x32 ; 50 '2'
.db #0xd1 ; 209
.db #0x08 ; 8
.db #0xb5 ; 181
.db #0xe3 ; 227
.db #0x4d ; 77 'M'
.db #0x4d ; 77 'M'
.db #0xb1 ; 177
.db #0x68 ; 104 'h'
.db #0x6b ; 107 'k'
.db #0x2a ; 42
.db #0xb1 ; 177
.db #0xb2 ; 178
.db #0x3b ; 59
.db #0xb1 ; 177
.db #0x2b ; 43
.db #0x6a ; 106 'j'
.db #0xb1 ; 177
.db #0x99 ; 153
___bank_music_track_101__Data = 0x00ff
_music_track_101__Data:
.db #0x07 ; 7
.dw _order_cnt
.dw _order1
.dw _order2
.dw _order3
.dw _order4
.dw _duty_instruments
.dw _wave_instruments
.dw _noise_instruments
.dw #0x0000
.dw _waves
.area _INITIALIZER
.area _CABS (ABS)
| 17.005379
| 57
| 0.470914
|
0acbda8c5e4a3d6b061f733eef925aee528da670
| 2,249
|
asm
|
Assembly
|
old_materials/workshop07/mips555.asm
|
MrBat13/hse-acos-course
|
1366366c559e5723d6af9cb38b9e092c95bbd3bf
|
[
"ECL-2.0",
"Apache-2.0"
] | 9
|
2020-08-19T20:16:05.000Z
|
2022-02-10T10:09:20.000Z
|
old_materials/workshop07/mips555.asm
|
MrBat13/hse-acos-course
|
1366366c559e5723d6af9cb38b9e092c95bbd3bf
|
[
"ECL-2.0",
"Apache-2.0"
] | 8
|
2021-01-13T05:35:29.000Z
|
2022-03-03T14:11:34.000Z
|
old_materials/workshop07/mips555.asm
|
MrBat13/hse-acos-course
|
1366366c559e5723d6af9cb38b9e092c95bbd3bf
|
[
"ECL-2.0",
"Apache-2.0"
] | 17
|
2021-01-13T07:58:39.000Z
|
2022-03-23T11:33:03.000Z
|
###########################################################
.macro exit
li $v0, 10
syscall
.end_macro
###########################################################
.macro print_double(%r)
mov.d $f12, %r
li $v0, 3
syscall
endl
.end_macro
###########################################################
.macro input_int(%r)
li $v0, 5
syscall
move %r, $v0
.end_macro
###########################################################
.macro print_int(%r)
move $a0, %r
li $v0, 1
syscall
.end_macro
###########################################################
.macro endl
li $v0, 11
li $a0, 10
syscall
.end_macro
###########################################################
.data
zero:
.double 0.0
one:
.double 1.0
four:
.double 4.0
ten:
.double 10.0
###########################################################
.text
input_int($a0)
move $s0, $a0
# 10 ** (-N)
jal pow_10_minus
# (10 ** (-N)) * 4
l.d $f4, four
mul.d $f4, $f0, $f4
###########################################################
# Plus or Minus
move $t0, $zero
# PI starts from 4.0
l.d $f6, four
# Prev (starts with 0)
l.d $f8, zero
# Divisor start from 3
li $t1, 3
cycle:
# Curr = 4 / $t1
move $a0, $t1
jal div_4
mov.d $f10, $f0
# Prev + Curr
add.d $f20, $f8, $f10
# (Prev + Curr) <= 10 ** (-N)
c.le.d $f20, $f4
bc1t cycleEnd
bnez $t0, plus
minus:
sub.d $f6, $f6, $f10
b next
plus:
add.d $f6, $f6, $f10
next:
# endl
# print_double($f6) # PI
# print_double($f8) # Prev
# print_double($f10) # Cur
# print_double($f20) # Sum
# endl
mov.d $f8, $f10 # Prev = Curr
not $t0, $t0 # Minus ->plus -> minus -> ...
addiu $t1, $t1, 2 # 3 -> 5 -> 7
b cycle
cycleEnd:
print_double($f6)
exit
#############################################################################
#
# Returns 10 ** (-$a0)
#
pow_10_minus:
l.d $f0, one
l.d $f2, ten
pow_start:
blez $a0, pow_end
div.d $f0, $f0, $f2
subu $a0, $a0, 1
b pow_start
pow_end:
jr $ra
##############################################################################
#
# Returns 4.0 / a0 (FP)
#
div_4:
l.d $f0, four
mtc1 $a0, $f2
cvt.d.w $f2, $f2
div.d $f0, $f0, $f2
jr $ra
| 15.618056
| 78
| 0.383726
|
98f983a2bc2367820249aed28a4211fbf7b0a68c
| 4,816
|
asm
|
Assembly
|
Pro3.asm
|
lestersantos/Assembly2019
|
b8a23e8a4a88142182b3fbd3e15b82d720bda10a
|
[
"BSD-2-Clause"
] | null | null | null |
Pro3.asm
|
lestersantos/Assembly2019
|
b8a23e8a4a88142182b3fbd3e15b82d720bda10a
|
[
"BSD-2-Clause"
] | null | null | null |
Pro3.asm
|
lestersantos/Assembly2019
|
b8a23e8a4a88142182b3fbd3e15b82d720bda10a
|
[
"BSD-2-Clause"
] | null | null | null |
org 100h
;============= muestra el mensaje inicial ==============
%macro print 1
push ax
push dx
mov dx, %1
mov ah, 09h
int 21h
pop dx
pop ax
%endmacro
%macro setvideo 1
mov ah, 00h
mov al, %1
int 10h
%endmacro
;pintar un pixel
%macro pixel 3
push ax
push bx
push dx
push di
mov ax, %3
mov bx, 140h
mul bx
add ax, %2
mov di, ax
mov es, word[vga]
mov ax, %1
mov[es:di], ax
pop di
pop dx
pop bx
pop ax
%endmacro
;pintar un area
%macro pixelarea 5
push ax
push bx
push si
push di
mov si, %2
mov bx, si
add bx, %3
%%x:
cmp si, bx
je %%finx
mov di, %4
mov ax, di
add ax, %5
%%y:
cmp di, ax
je %%finy
pixel %1, si, di
inc di
jmp %%y
%%finy:
inc si
jmp %%x
%%finx:
pop si
pop di
pop bx
pop ax
%endmacro
;dibujar el carro, y agregarle a los lados uncontorno negro
;para que la moverce se borre automaticamente
%macro print_car 1
push ax
push cx
xor cx, cx;
mov cl, %1;
; pixlearea color,x,ancho,y,alto
pixelarea 0h, cx, 5, 080h, 35
add cl, 5
pixelarea 0h, cx, 5, 080h, 35
pixelarea 7h, cx, 5, 085h, 8
pixelarea 7h, cx, 5, 095h, 8
add cl, 5
pixelarea 01h, cx, 20, 080h, 35
add cl, 20
pixelarea 0h, cx, 5, 080h, 35
pixelarea 7h, cx, 5, 085h, 8
pixelarea 7h, cx, 5, 095h, 8
add cl, 5
pixelarea 0h, cx, 5, 080h, 35
pop cx
pop ax
%endmacro
; tambien tienen que llevar un controno negro
%macro print_ob 3
push ax
push cx
pixelarea %1, %2, 10, %3, 10
pop cx
pop ax
%endmacro
%macro sleep 1
push si
mov si, %1
%%b1:
dec si
jnz %%b1
pop si
%endmacro
%macro sleep2 1
push si
push di
mov si, %1
%%b1:
mov di, %1
%%b2:
dec di
jne %%b2
dec si
jnz %%b1
pop di
pop si
%endmacro
%macro printchar 3
push ax
push bx
push dx
push cx
mov bh,00h
mov dx,%2
mov ah,02h
int 10h
mov al, %1
mov bh, 00h
mov bl, 0fh
mov ah, 09h
mov cx, %3
int 10h
pop cx
pop dx
pop bx
pop ax
%endmacro
%macro getchar 1
; devuelve el contenido en ax
push bx
push dx
push cx
mov bh,00h
mov dx,%1
mov ah,02h
int 10h
mov ah, 08h
int 10h
pop cx
pop dx
pop bx
%endmacro
%macro printin 2
push ax
push bx
push dx
mov bh,00h
mov dx,%2
mov ah,02h
int 10h
mov dx, %1
mov ah, 09h
int 21h
pop dx
pop bx
pop ax
%endmacro
menu:
setvideo 2h
call clean
printin mnu, 10ah
print msg3
print msg5
print msg6
;=============================== menu ==============================
mov ah, 01h
int 21h
sub al, 30h
cmp al, 1h
je op1
cmp al, 2h
je op3
jmp def
op1:
jmp susses
call clean
op3:
mov ah, 4Ch
int 21h
def:
jmp menu
;================================== Juego ================================
susses:
setvideo 13h
pixel 14,160,100
; pintar el cuadro verde
;pixlearea color,x,ancho,y,alto
pixelarea 2h, 0bh, 5h, 10h, 150
pixelarea 2h, 0bh, 160, 0bh, 5
;pixelarea 1h, 10h, 150, 10h, 150
pixelarea 2h, 0a6h, 5h, 10h, 150
pixelarea 2h, 0bh, 160, 0a6h, 5
mov al, [dir]
;pintar inicial mente el carro
print_car al
.while:
; leer el teclado
call keystatus
; manejar los obstaculos(no programado)
call obstacles
; retarndo general
sleep 100h
jmp .while
jmp menu
;this part of code tell when a key is pressed
keystatus:
;lee si se ha presionado una tecla o no
mov ah, 01h
int 16h
je .return
;si se presiona una tecla lee que tecla se ha presionado
;las teclas de direccion son combinaciones de dos teclas por eso se lee dos
;veces la tecla que se presiono
.keypress:
mov ah, 08h
int 21h
mov ah, 08h
int 21h
cmp al, 1bh
je fin
cmp al, 4bh
je .movleft
cmp al, 4dh
je .movright
;segun la tecla que se presiono se elije una accion
.movleft:
mov al, [dir]
sub al, 5h
;si sale de los limites del escenario no permite el movimiento
cmp al, 11h
jb .return
mov [dir], al
print_car al
jmp .return
.movright:
mov al, [dir]
add al, 5h
;lo mismo si sale de los limites nel perro
cmp al, 07eh
ja .return
mov [dir], al
print_car al
je .return
mov al, 01h
mov [dir], al
.return:
ret
obstacles:
; aqui se suponia que iba lo de los obstaculos, pero la cosa no coopera
.return:
ret
;=================== limpiar pantalla ==================
clean:
mov bh, 07h
mov cx,0000h
mov dx,194Fh
mov ax,0600h
int 10h
mov bh,00h
mov dx,00h
mov ah,02h
int 10h
ret
fin:
setvideo 2h
call clean
mov ah, 4Ch
int 21h
SEGMENT .data
dir db 20h,'$'
mnu db 'MENU',10,'$'
msg3 db ' 1.Jugar',10,'$'
msg5 db ' 3.Salir',10,'$'
charcl db ' ','$'
msg6 db ' >> ','$'
obs times 100 db '$'
red db 25, 100, 40, 120, 50
green db 30, 60,70, 40 , 100
vga dw 0a000h
| 14
| 77
| 0.591985
|
fb71bc41c9546c0e72d9ab01619cbf2d4d1d80b0
| 799
|
asm
|
Assembly
|
libsrc/cpc/cpc_PrintGphStrStd.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/cpc/cpc_PrintGphStrStd.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/cpc/cpc_PrintGphStrStd.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
;
; Amstrad CPC library
;
; ******************************************************
; ** Librería de rutinas para Amstrad CPC **
; ** Raúl Simarro, Artaburu 2009 **
; ******************************************************
;
; void cpc_PrintGphStrStd(char *color, char *text);
;
; $Id: cpc_PrintGphStrStd.asm $
;
SECTION code_clib
PUBLIC cpc_PrintGphStrStd
PUBLIC _cpc_PrintGphStrStd
EXTERN cpc_PrintGphStrStd0
;EXTERN color_uso
.cpc_PrintGphStrStd
._cpc_PrintGphStrStd
;preparación datos impresión. El ancho y alto son fijos!
ld ix,2
add ix,sp
ld l,(ix+0)
ld h,(ix+1) ;destino
ld e,(ix+2)
ld d,(ix+3) ;texto origen
ld a,(ix+4) ;color
;ld (color_uso+1),a
JP cpc_PrintGphStrStd0
| 19.975
| 58
| 0.524406
|
22f6f97a3db1cd5deb899951385e961c404bd7cb
| 3,669
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_120.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_120.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_120.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %rax
push %rbp
push %rcx
push %rdx
// Faulty Load
lea addresses_RW+0x148f7, %rax
nop
sub %rdx, %rdx
mov (%rax), %rbp
lea oracles, %r14
and $0xff, %rbp
shlq $12, %rbp
mov (%r14,%rbp,1), %rbp
pop %rdx
pop %rcx
pop %rbp
pop %rax
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'32': 21829}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
| 94.076923
| 2,999
| 0.663396
|
ce1255cb3af8137791489a156011767ee5379886
| 742
|
asm
|
Assembly
|
src/lib/math/log.asm
|
germix/sanos
|
5f6668985083d1114d1699a3a724b15f413e0cbb
|
[
"Spencer-94"
] | 57
|
2015-10-31T23:26:31.000Z
|
2022-03-19T21:32:44.000Z
|
src/lib/math/log.asm
|
germix/sanos
|
5f6668985083d1114d1699a3a724b15f413e0cbb
|
[
"Spencer-94"
] | 3
|
2017-05-28T14:08:43.000Z
|
2021-03-01T10:43:00.000Z
|
src/lib/math/log.asm
|
germix/sanos
|
5f6668985083d1114d1699a3a724b15f413e0cbb
|
[
"Spencer-94"
] | 31
|
2015-10-24T16:25:21.000Z
|
2022-03-02T21:35:48.000Z
|
;-----------------------------------------------------------------------------
; log.asm - floating point logarithm
; Ported from Al Maromaty's free C Runtime Library
;-----------------------------------------------------------------------------
SECTION .text
global log
global _log
log:
_log:
push ebp
mov ebp,esp
fld qword [ebp+8] ; Load real from stack
fldln2 ; Load log base e of 2
fxch st1 ; Exchange st0, st1
fyl2x ; Compute the natural log(x)
pop ebp
ret
| 35.333333
| 78
| 0.30593
|
3929bc6d1c03628ddf5f3402dd56a62f1f3d43bf
| 72,329
|
asm
|
Assembly
|
Test/Z80/ce2.asm
|
sparks-c16/zasm
|
c03a31c6d7ec2c2aecb1d6dc6b4ced73b7cf00c4
|
[
"BSD-2-Clause"
] | 43
|
2019-12-06T23:46:40.000Z
|
2022-03-31T15:34:44.000Z
|
Test/Z80/ce2.asm
|
sparks-c16/zasm
|
c03a31c6d7ec2c2aecb1d6dc6b4ced73b7cf00c4
|
[
"BSD-2-Clause"
] | 21
|
2019-12-27T01:49:08.000Z
|
2022-03-31T15:38:42.000Z
|
Test/Z80/ce2.asm
|
sparks-c16/zasm
|
c03a31c6d7ec2c2aecb1d6dc6b4ced73b7cf00c4
|
[
"BSD-2-Clause"
] | 13
|
2019-12-27T00:38:46.000Z
|
2022-03-15T08:34:51.000Z
|
ORG 26112
LAST_K EQU 23560
ATTR_P EQU 23693 ; permanent current colours
ATTR_T EQU 23695 ; temporary current colours
ERR_SP EQU 23613
ERR_NR EQU 23610
CHARS EQU 23606
DF_CC EQU 23684
ERR_NR EQU 23610
BORDCR EQU 23624
;L23808 DEFS 768
;L24576 DEFS 768
;L25344 DEFS 768
; The data that goes here is something to do with the static objects that appear in each room,
; e.g. the bone, fruit, any collectable goodies (toy parts, sugar, cocoa, etc.)
; These values represent the initial room locations of the respective objects, when you are
; carrying any of these objects, it's high bit gets set, and when you drop it, it's high bit
; gets reset. As you move from room to room with an object, the game updates the objects room
; position by writing the room that you are in to these locations . These values are initially copied
; to the printer buffer at 23296 so that when you start a new game those values can be copied back into
; this area of storage to reset the object locations to their initial positions. These values only ever get
; copied to the printer buffer once on the very first run through the game so if you poke a new value into
; one of these locations after the first run of a game the object will still reset to the position that was
; originally copied into the printer buffer as these values will not get copied into the printer buffer a second
; time around
; 41 bytes of pickup-able object locations stored here
L26112 DEFB $52,$53,$53,$53,$5C,$5C,$5D,$5D ; the 8 toy parts in rooms 52h, 53h, etc
DEFB $18,$1A,$22,$23,$24,$24,$2D,$2E ; the 8 bottles of milk
DEFB $0C,$15,$16,$1F,$20,$29,$2A,$35 ; the 8 boxes of cocoa
DEFB $56,$57,$58,$59,$61,$62,$63,$64 ; the 8 bags of sugar
DEFB $5E ; basket for toy parts
DEFB $18 ; basket for milk
DEFB $2A ; basket for cocoa
DEFB $6C ; basket for sugar
DEFB $0B ; the bone
DEFB $60 ; the girder
DEFB $6D ; the ladder
DEFB $5F ; the toy (bit 7 is set when starting game)
DEFB $30 ; the egg! (bit 7 is set when starting game)
;our gaming char set goes in here - 736 bytes = 92 * 8 (92 chars)
L29622 DEFB $01,$04 ; 1 char high by 4 chars wide - LIFT sign (32 bytes)
L29624 DEFB $00,$00,$00,$00 ; 00000000000000000000000000000000
DEFB $40,$3E,$7E,$FE ; 01000000001111100111111011111110
DEFB $40,$08,$40,$10 ; 01000000000010000100000000010000
DEFB $40,$08,$7C,$10 ; 01000000000010000111110000010000
DEFB $40,$08,$40,$10 ; 01000000000010000100000000010000
DEFB $40,$08,$40,$10 ; 01000000000010000100000000010000
DEFB $7E,$3E,$40,$10 ; 01111110001111100100000000010000
DEFB $00,$00,$00,$00 ; 00000000000000000000000000000000
DEFB 01,05 ; 1 char high by 5 chars wide - the girder (40 bytes)
DEFB $FF,$FF,$FF,$FF,$FF ; 1111111111111111111111111111111111111111
DEFB $C2,$42,$42,$42,$42 ; 1100001001000010010000100100001001000010
DEFB $A4,$24,$24,$24,$24 ; 1010010000100100001001000010010000100100
DEFB $98,$18,$18,$18,$18 ; 1001100000011000000110000001100000011000
DEFB $98,$18,$18,$18,$10 ; 1001100000011000000110000001100000010000
DEFB $A4,$24,$24,$24,$20 ; 1010010000100100001001000010010000100000
DEFB $C2,$42,$42,$42,$40 ; 1100001001000010010000100100001001000000
DEFB $FF,$FF,$FF,$FF,$80 ; 1111111111111111111111111111111110000000
DEFB 05,01 ; ladder - 5 chars high by 1 char wide (40 bytes)
DEFB %00011000 ; 9 - 18,18,F8,18,18,18,1F,18 - ladder, piece 1 of 5
DEFB %00011000
DEFB %11111000
DEFB %00011000
DEFB %00011000
DEFB %00011000
DEFB %00011111
DEFB %00011000
DEFB %00011000 ; 10 - 18,18,F8,18,18,18,1F,18 - ladder, piece 2 of 5
DEFB %00011000
DEFB %11111000
DEFB %00011000
DEFB %00011000
DEFB %00011000
DEFB %00011111
DEFB %00011000
DEFB %00011000 ; 11 - 18,18,F8,18,18,18,1F,18 - ladder, piece 3 of 5
DEFB %00011000
DEFB %11111000
DEFB %00011000
DEFB %00011000
DEFB %00011000
DEFB %00011111
DEFB %00011000
DEFB %00011000 ; 12 - 18,18,F8,18,18,18,1F,18 - ladder, piece 4 of 5
DEFB %00011000
DEFB %11111000
DEFB %00011000
DEFB %00011000
DEFB %00011000
DEFB %00011111
DEFB %00011000
DEFB %00011000 ; 13 - 18,18,F8,18,18,18,F8,18 - ladder, piece 5 of 5
DEFB %00011000
DEFB %11111000
DEFB %00011000
DEFB %00011000
DEFB %00011000
DEFB %00011111
DEFB %00011000
DEFB 02,01 ; bag of sugar - 2 chars high by 1 char wide
DEFB %00000000 ; 14 - 00,00,00,00,00,7E,FF,E7 - top half of a sugar bag ; 29742
DEFB %00000000
DEFB %00000000
DEFB %00000000
DEFB %00000000
DEFB %01111110
DEFB %11111111
DEFB %11100111
DEFB %11011011 ; 15 - DB,DF,E7,FB,DB,E7,FF,7E - bottom half of a sugar bag ; 29750
DEFB %11011111
DEFB %11100111
DEFB %11111011
DEFB %11011011
DEFB %11100111
DEFB %11111111
DEFB %01111110
DEFB 02,01 ; milk bottle - 2 chars high by 1 char wide
DEFB %00111000 ; 16 - 38,38,7C,DE,DE,DE,BE,BE - top half of a milk bottle - 29760
DEFB %00111000
DEFB %01111100
DEFB %11101110
DEFB %11101110
DEFB %11101110
DEFB %10111110
DEFB %10111110
DEFB %10111110 ; 17 - BE,BE,BE,BE,BE,BE,BE,5C - bottom half of a milk bottle - 29768
DEFB %10111110
DEFB %10111110
DEFB %10111110
DEFB %10111110
DEFB %10111110
DEFB %10111110
DEFB %01011100
DEFB 01,02 ; the bone - 1 char high by 2 chars wide
DEFB 00,00 ; 0000000000000000 ; 18 - 00,00 - 29778
DEFB $60,06 ; 0110000000000110 ; 60,06
DEFB $f0,$0f ; 1111000000001111 ; F0,0F
DEFB $ff,$ff ; 1111111111111111 ; FF,FF
DEFB $ff,$ff ; 1111111111111111 ; 19 - FF,FF - 29786
DEFB $f0,$0f ; 1111000000001111 ; F0,0F
DEFB $60,06 ; 0110000000000110 ; 60,06
DEFB 00,00 ; 0000000000000000 ; 00,00
DEFB 02,01 ; cocoa packet - 2 chars high by 1 char wide
DEFB 00,00,00,$FF,$7E,$FF,$FF,$FF
DEFB $E7,$DF,$DF,$E7,$FF,$FF,$FF,$FF
DEFB 01,01 ; generator switch in the off position - 1 char high by 1 char wide
DEFB $FF,$FF,$7E,$3C,$18,$30,$60,$60
DEFB 01,01 ; generator switch in the on position - 1 char high by 1 char wide
DEFB $FF,$FF,$7E,$3C,$18,$0C,$06,$06
DEFB 01,01 ; generator power indicator LED (red or green) - 1 char high by 1 char wide
DEFB $3C,$7E,$FF,$FF,$FF,$FF,$7E,$3C
DEFB 01,02 ; full sign on a vat - 1 char high by 2 chars wide
DEFB $FF,$FF
DEFB $FF,$FF
DEFB $95,$6D
DEFB $B5,$6D
DEFB $95,$6F
DEFB $B1,$25
DEFB $FF,$FF
DEFB $FF,$FF
DEFB 01,01 ; a key - 1 char high by 1 char wide (did they originally have a special use for this??)
DEFB $1C,$22,$1C,08,08,$0E,$0C,$0E
DEFB 01,01 ; basket to put milk/sugar/cocoa/toy parts into - 1 char high by 1 char wide
DEFB $3C,$42,$42,$42,$FF,$FF,$7E,$3C
DEFB $5E,$5E,$5E,$5E,$5E,$5E,$5E,$5E ; - normal vertical pipe piece - 29880
DEFB 00,$FF,00,$FF,$FF,$FF,$FF,00 ; - normal horizontal pipe piece - 29888
DEFB $78,$7B,$3C,$BD,$BD,$BD,$7B,$78 ; - horizontal pipe connector piece - 29896
DEFB $5E,$42,$3C,$FF,$FF,$FF,$C3,$1C ; - vertical pipe connector piece - 29904
DEFB $7F,$7F,$7F,$3F,$3F,$1F,07,00 ; - 90 degree pipe bend - 29912
DEFB $FE,$FE,$FE,$FC,$FC,$F8,$E0,00 ; - 90 degree pipe bend - 29920
DEFB 00,07,$1F,$3F,$3F,$7F,$7F,$7F ; - 90 degree pipe bend - 29928
DEFB 00,$E0,$F8,$FC,$FC,$FE,$FE,$FE ; - 90 degree pipe bend - 29936
DEFB $7E,$C3,$3C,$FF,$FF,$FF,$FF,00 ; - pipe T-junction - 29944
DEFB 00,$FF,00,$FF,$FF,$FF,$FF,$7E ; - pipe T-junction - 29952
DEFB $5E,$9E,$5E,$DE,$DE,$DE,$DE,$5E ; - pipe T-junction - 29960
DEFB $5E,$5F,$5E,$5F,$5F,$5F,$5F,$5E ; - pipe T-junction - 29968
DEFB $FB,$FB,$FB,00,$DF,$DF,$DF,00 ; - brick (used for room building) - 29976
DEFB $FF,$42,$24,$18,$18,$24,$42,$FF ; - X platform (used for room building) - 29984
DEFB $FF,$94,$22,$58,$05,$A8,$41,$FF ; - platform (used for room building) - 29992
DEFB $81,$C3,$A5,$99,$99,$A5,$C3,$81 ; - X platform (used for room building) - 30000
DEFB $29,$92,$7C,$3C,$FE,$3C,$52,$91 ; - spiky death object - 30008
DEFB $FF,$FF,$C3,$C3,$81,$81,00,00 ; - doesn't appear to be used - 30016
DEFB $FF,$FF,$6A,$62,$42,$42,00,00 ; - icicles (used in milk bottle rooms) - 30024
DEFB 08,08,$1C,$14,$14,$1C,08,08 ; - chain link used for climbable ropes/chains - 30032
DEFB $81,$81,$FF,$81,$81,$81,$FF,$81 ; - climbable ladder piece - 30040
DEFB $5E,$5E,$5E,$5E,$5E,$5E,$5E,$5E ; - vertical pipe piece (used for slippery pipes) - 30048
DEFB 00,$FF,00,$FF,$F7,00,$FF,00 ; - train track piece - 30056
DEFB 00,00,00,00,00,00,00,00 ; empty block used to draw boxes/rectangles - 30064
DEFB $FF,$7F,$3F,$1F,$0F,07,03,01 ; - used for ramps - 30072
DEFB $FF,$FE,$FC,$F8,$F0,$E0,$C0,$80 ; - used for ramps - 30080
DEFB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF ; - solid block - 30088
DEFB $3C,$7E,$FF,$FF,$FF,$FF,$7E,$3C ; - dot used for generator light? (maybe not used) - 30096
DEFB $FF,$7E,$3C,$18,$30,$60,$60,00 ; - switch (not used??) - 30104
DEFB $FF,$7E,$3C,$18,$0C,06,06,00 ; - switch (not used??) - 30112
DEFB 00,00,00,00,00,00,$12,$56 ;- grass used in start room - 30120
DEFB $FF,00,$FF,00,$FF,00,$FF,00 ; - platform (used for room building) - 30128
DEFB $FF,$42,$24,$99,$C3,$A5,$99,$FF ; - platform used in cocoa area - 30136
DEFB $FF,$99,$42,$24,$24,$42,$99,$FF ; - X platform used in rooms 61-65 - 30144
DEFB $FF,$18,$24,$C3,$C3,$24,$18,$FF ; - platform used in rooms 4-6 and 13-16 - 30152
DEFB $FF,$99,$5A,$24,$24,$5A,$99,$FF ; - platform used in rooms 7-10 and 17-20 - 30160
DEFB $FF,$80,$A1,$87,$8E,$99,$9C,$B0 ; - upper left piece of 4 piece dial on egg maker/generator/etc - 30168
DEFB $FF,01,$85,$61,$71,$99,$39,$8D ; - upper right of dial - 30176
DEFB $B0,$99,$99,$8E,$87,$A1,$80,$FF ; - lower left of dial - 30184
DEFB $8D,$19,$19,$31,$E1,$85,$01,$FF ; - lower right of dial - 30192
DEFB $FF,$80,$A0,$80,$80,$80,$88,$88 ; - upper left of big (6 piece) switch on egg maker/mixer/etc - 30200
DEFB $FF,$01,$05,$01,$01,$01,$11,$11 ; - upper right of big switch - 30208
DEFB $80,$80,$80,$80,$8E,$8C,$8C,$8F ; - middle left of big switch - 30216
DEFB 01,01,01,01,$71,$31,$31,$F1 ; - middle right of big switch - 30224
DEFB $8F,$81,$81,$81,$81,$A0,$80,$FF ; - bottom left of big switch - 30232
DEFB $F1,$81,$81,$81,$81,05,01,$FF ; - bottom right of big switch - 30240
DEFB 00,$77,$55,$22,$22,00,00,00 ; - 2 little switches used on egg maker/mixer/etc - 30248
DEFB 00,00,00,00,00,$33,$33,00 ; - 2 indicator lights used on egg maker/mixer/etc - 30256
DEFB $1C,$16,$14,$74,$14,$17,$14,$34 ; - top part of thermometer on boiler (4 pieces) - 30264
DEFB $14,$16,$14,$74,$14,$17,$14,$14 ; - second part of thermometer - 30272
DEFB $34,$14,$16,$14,$74,$14,$14,$17 ; - third part of thermometer - 30280
DEFB $34,$14,$14,$36,$6F,$6F,$36,$1C ; - final part of thermometer - 30288
DEFB $80,$C0,$E0,$F0,$F8,$FC,$FE,$FF ; - used for ramps - 30296
DEFB 01,03,07,$0F,$1F,$3F,$7F,$FF ; - used for ramps - 30304
DEFB $10,$38,$10,$38,$38,$38,$10,$18 ; - no. of lives remaining graphic - 30312
DEFB $60,$38,$1C,$1C,$0E,$0E,$0F,$0F ; - top half of moon - 30320
DEFB $0F,$0F,$0F,$1E,$1E,$3C,$78,$E0 ; - bottom half of moon - 30328
DEFB 00,00,00,00,$10,00,00,00 ; - a twinkling star in the night sky! - 30336
DEFB $18,$18,$3C,$FF,$FF,$7E,$3C,$FF ; - the thing that spits out bubbles! - 30344
DEFB $3C,$42,$81,$81,$81,$5A,$3C,$7E ; - death object - 30352
L26891 LD A,2 ; 26891
LD (L41982),A ; load room
CALL L31008 ; draw room
LBOP XOR A ; Clear A
LD (LAST_K),A ; Load 0 into last key pressed
HALT ; HALT CPU until an interrupt is detected
LD A,(LAST_K) ; Get last key pressed into A
OR A ; Test if a key was actually pressed
JP Z,LBOP
CALL L41308 ; restore rom char set
LD BC,0
RET ; return to basic
; This is quite a major routine of the game. It draws the current room on entry to the room.
L31008 LD HL,L26112 ; initial room locations of objects such as milk etc.
LD (L41984),HL
LD A,(L41982) ; which room we are currently in, in the room matrix
ADD A,A ; A = A * 2, because there are 2 bytes per pointer
LD HL,L43370 ; HL now points to a list of pointers to room data
ADD A,L ; L contains LSB of room data area, add current room to it
LD L,A ; save it back again
LD A,H ; H contains MSB of room data area
ADC A,0 ; if there was a carry from previous add instr then add it on now
LD H,A ; save it back again
; HL now points to a pointer to the start of the room
; data for the room that we are currently in
LD A,(HL) ; get first byte of pointer into A
INC HL ; point to next byte
LD H,(HL) ; get second byte of pointer into H
LD L,A ; load first byte into L, HL now points to room data!!!!
LD A,(HL) ; get first byte of room data (attr byte for colours)
AND %00000111 ; get border colour from bits 0, 1 and 2
OUT (254),A ; bits 0-2 set border colour when output on port 254
LD (BORDCR),A ; and update the system variable
LD A,(HL) ; reload the byte into A
AND %00111000 ; mask off bits 3-5
LD B,A ; and store it in B
RRCA ; rotate right with carry through
RRCA ; accumulator
RRCA ; three times
ADD A,B ;
LD (ATTR_P),A ; set permanent colours
LD A,(HL) ; reload current byte into A
AND %00000111 ; mask off bits 0-2
LD B,A ; store it in B
RLCA ; rotate left with carry through
RLCA ; accumulator
RLCA ; three times
OR B ; OR accumulator with B
PUSH HL ; save pointer to room data for later restoration
; CALL L32203 ; clear top 2 lines to reg A + other 22 lines to ATTR_P
CALL L32225 ; clear 6144 bytes to zero from 16384
LD A,(ATTR_P) ; load permanent colours into A - contains zero on first run thru game
LD HL,23808 ; copy A from address 23808
LD DE,23809 ; for 768 times
LD BC,767
LD (HL),A
LDIR ; do it
; Attributes byte is made up like this
; Bits 0-2 = ink colour
; Bits 3-5 = paper colour
; Bit 6 = brightness (0 = normal, 1 = bright)
; Bit 7 = flashing (0 = normal, 1 = flashing)
LD HL,24576 ; 24576 = 6000h - room data attrs go to here
LD DE,24577 ; so here we are clearing 768 bytes to 55 from address 24576
LD BC,767
LD (HL),55 ; ink 7(white), paper 6(yellow)
LDIR ; ld conts of HL into conts of DE, inc both dec BC, rep until BC=0
; Set up the alt attr file so that initially we can walk through
; everything.
LD HL,25344 ; I think 768 bytes from 25344 in memory contain a copy of the
LD DE,25345 ; screen attributes file.
LD BC,767 ; Here we are zeroing them.
LD (HL),0 ; L32652 contains a pointer to 25344 (6300h) on loading from tape
LDIR
CALL L32337 ; print a message
DEFB 22,0,5,1,7 ;PRINT AT 0,5;INK 7; (the '1' indicates 'set the ink colour')
DEFM "SCORE CARRYING LIVES"
DEFB 255
CALL L41223 ; display the current score
CALL L41838 ; display what you are carrying at the moment
CALL L41657 ; display the number of lives left
POP HL ; restore pointer to room data (second byte within room data)
INC HL ; point to next byte within room data
LD (L32648),HL ; save pointer to room data
L31151 LD HL,(L32648) ; pointer to room data
XOR A ; clear A
LD (L41983),A ; store it
LD A,(HL) ; get current byte we are pointing to into A
CP $20 ; if A < 20h then
JP C,L31177 ; call one of 10 dedicated graphics drawing routines via this call
CP $2C ; if A is between 20h and 2Bh then
JP C,L31271 ; call the pipe drawing routine
CP $60 ; if A is >= 2Ch and < 60h
JP C,L31205 ; draw straight runs of UDGs (either horizontal or vertical) with this call
; JP L30563 ; reset room back to 1 (this instruction should never get executed)
; special case routines here - we get here if the first byte to be drawn in a graphic sequence
; is less than $20 and call one of the 11 graphic routines which are held in a lookup table at L32650
L31177 LD DE,L32650 ; the start of a table of pointers to graphics drawing routines
ADD A,A ; A = A * 2
ADD A,E ; add the offset into the table of pointers to graphic drawing routines
LD E,A ; store A
LD A,D ; no carry from
ADC A,0 ; above
LD D,A ; save A back into E
LD A,(DE) ;
LD Xl,A ; undocumented Z80 opcode - load A into low byte of IX
INC DE
LD A,(DE)
LD Xh,A ; undocumented Z80 opcode - load A into high byte of IX
JP (IX) ; jump to the drawing routine
; removing this causes the game not to draw things like
; the dog house, the beware of the dog sign, the moon, the stars,
; the pointy thing that hangs from the ceiling in the bone room,
; the A&F Chocolate factory yellow entrance building, slides
; point to next byte of current graphic sequence
; we get here when a 00h has been read for the next byte of the graphic sequence
; indicating that we've finished drawing the current room and should carry on with the rest of the game
L31196 NOP
LD HL,(L32648) ; pointer to room data
INC HL
LD (L32648),HL ; pointer to room data
RET
; Platforms/grass/ladders/chains/ropes etc. are drawn with this routine
; we get here if the first byte to be drawn in a drawing sequence is between $2c and $60
; This routine is the main routine for drawing all rooms
; Six bytes make up a call to this routine
; e.g. 3A,00,13,06,83,01 <- this put up the invisible wall in start room (can't walk through van)
; 1st byte = what char to use from the char set
; 2nd byte = ink/paper colour
; 3rd byte = how many rows down the screen to start drawing
; 4th byte = how many cols across to start drawing
; 5th byte = how many chars to draw (if upper bit is set drawing is done vertical else it's horiz)
; 6th byte = attributes byte (0 means you can walk through it, 1 means you can't walk through it,
; 2 means it is climbable, there may be others)
L31205 INC HL ; point to colour byte
PUSH AF ; save AF
LD A,(HL) ; get colour byte into A
LD (ATTR_P),A ; set permanent colours
INC HL ; point to y pos
LD C,(HL) ; get y pos into C
INC HL ; point to x pos
LD B,(HL) ; get x pos into B
INC HL ; point to how many chars to draw
LD A,(HL) ; get it into A
INC HL ; point to attr byte (solid/climbable/etc)
LD D,(HL) ; get it into D
INC HL ; point to next line of data
PUSH DE ; save DE, D contains attr byte
LD (L32648),HL ; save pointer to room data
EX AF,AF' ; exchange AF with alt AF
CALL L32308 ; move print head, C = lines down, B = rows across
EX AF,AF' ; exchange AF with alt AF
LD B,A ; how many chars + which direction to draw
POP AF ; A now contains attr byte
POP DE ; D now contains which char to draw
LD E,A ; E now contains attr byte
CALL L32239 ; DONE - update a pointer to copy of attr file ??
BIT 7,B ; do we want to draw horizontal or vertical?
PUSH AF ; if bit 7 of B is set then we want to draw vertical
RES 7,B ; test status of bit 7 of reg B, save status regs and
POP AF ; reset bit 7 of reg B then restore status regs
JR NZ,L31256 ; if Z flag is not set then take the jump and draw vertical
L31244 LD A,D ; get which char to draw into A
CALL L32369 ; draw the char to screen
CALL L32250 ; set attrs for horiz drawing - can we walk thru it?
DJNZ L31244 ; repeat until B=0
JP L31151 ; back to main game
L31256 LD A,D ; get which char to draw into A
CALL L32369 ; draw the char to the screen
CALL L32272 ; set atttrs for vertical drawing - can we walk thru it?
CALL L32151 ;
DJNZ L31256 ; repeat until B=0
JP L31151 ; back to main game
; pipe drawing routine
; we get here if the first byte to be drawn in a graphic sequence is between $20 and $2b
; (in reality it will only ever be called with values of $20 or $21)
; example of input string :-
; 20,07,13,00,04,17,00 (UDG used for normal piece, colour, y-pos, x-pos, length/orientation, initial/terminating piece, attribute)
; first byte is the UDG that is used for 3 out of every 4 pieces in a length of pipe (20h = normal vertical piece, 21h = normal horizontal piece)
; pipes have a connector piece every 4th char and the second piece of any length of pipe is ALWAYS a connector piece
; they have to be a mininum length of 3 chars (intial piece + connector + terminating piece) any less than this and screen corruption occurs
; so for example if you draw a piece of pipe which is length 9 (5th byte of input string) you'll get :-
; initial piece/connector piece/normal/normal/normal/connector/normal/connector/terminating piece
; but if you draw a piece of which which is only 4 in length you'll get :-
; initial piece/connector piece/connector piece/terminating piece
; there is always a connector piece immediately before a terminating piece
; horizontal pipes are drawn left to right i.e. byte 4 is x-pos of first piece and pipe extends to the right of the screen from there
; vertical pipes are drawn top to bottom i.e. byte 3 is y=pos of first piece and pipe extends down the screen from there
; byte 6 controls the appearance of both the initial piece and the terminating piece of the pipe
; it's split into two 4-bit nibbles, with the upper 4 bits describing the initial piece and the lower 4 bits describing the terminating piece
; decimal values and their respective piece for those 4-bits are:-
; 0 = normal vertical piece
; 1 = normal horizontal piece
; 2 = horizontal connector piece
; 3 = vertical connector piece
; 4 = 90 degree bend (flow goes in from the top and out to the right)
; 5 = 90 degree bend (flow goes in from the top and out to the left)
; 6 = 90 degree bend (flow goes in from the bottom and out to the right)
; 7 = 90 degree bend (flow goes in from the bottom and out to the left)
; 8 = T-junction (flow goes in from top and out to left and right)
; 9 = T-junction (flow goes in from bottom and out to left and right)
; 10 = T-junction (flow goes in from left and out to top and bottom)
; 11 = T-junction (flow goes in from right and out to top and bottom)
L31271 INC HL ; point to first proper byte of input string (colour byte)
PUSH AF ; A contains which routine we're drawing ($20 to $2c) (push 1)
LD A,(HL) ; get the colour of the pipe
LD (ATTR_P),A ; and set system variable
INC HL ; point to y-pos
LD C,(HL) ; and save it into C
INC HL ; point to x-pos
LD B,(HL) ; and save it into B
INC HL ; point to length
LD D,(HL) ; and save it in D
INC HL ; point to initial/terminating piece
LD E,(HL) ; and save it into E
INC HL ; point to attribute byte (solid or not/climbable/etc)
LD A,(HL) ; and save it into A
PUSH AF ; push attribute byte (push 2)
INC HL ; HL now points to next sequence to be drawn in this room
PUSH DE ; push length and initial/terminating piece (push 3)
POP IX ; and pop it into IX (pop 3)
LD (L32648),HL ; store HL in pointer to room data
CALL L32308 ; move print head C lines down, B rows across
PUSH IX ; push length and initial/terminating piece (push 4)
POP BC ; and pop it into BC (pop 4)
POP AF ; pop attribute byte back into A (pop 2)
POP DE ; pop which routine we're drawing into DE (horizontal or vertical run) (pop 1)
LD E,A ; save attribute byte into E
CALL L32239 ; DONE - update a pointer to copy of attr file ??
BIT 7,B ; test bit 7 of length (if it's set then this length of pipe will be drawn vertical)
PUSH AF ; save attribute byte
RES 7,B ; clear bit 7 of length byte
DEC B ; decrease length by 1 (for initial piece)
DEC B ; decrease length by 1 (for terminating piece)
POP AF ; restore A and flags
JR NZ,L31371 ; if we're drawing vertical then take this jump
; draw a horizontal pipe run
LD A,C ; get initial/terminating piece byte into A
AND 240 ; mask off top 4 bits
RRA ;
RRA ; shift them down to bottom 4 bits
RRA ;
RRA ; lower 4 bits of A now contain initial piece
OR 32 ; set bit 5
LD C,1 ; draw 1 initial piece
JR L31338
L31330 LD A,D ; D should be 21h to indicate that normal pieces of this run will be horizontal pieces
DEC C ; second piece of a pipe is always a connector piece
JR NZ,L31338
LD C,4 ; 4 pieces to each section of pipe (3 normal and 1 connector piece)
LD A,34 ; horizontal connector piece is always the second piece and then every fourth piece
L31338 CALL L32369 ; draw the char to screen
CALL L32250 ; set attribute byte for horizontal drawing (can we walk thru it?)
DJNZ L31330 ; repeat until B=0 (B contains length of pipe)
LD A,34 ; horizontal connector piece is always the last piece before the terminating piece
CALL L32369 ; draw the char to screen
CALL L32250 ; set attr byte for horiz drawing
PUSH IX ; IX contains length + initial/terminating piece
POP BC ; pop it into BC
LD A,C ; get terminating piece into A
AND 15 ; mask off bottom 4-bits
OR 32 ; set bit 5
CALL L32369 ; draw the char to screen
CALL L32250 ; set attr byte for horiz drawing
JP L31151 ; back to the rest of the room drawing function
; draw a vertical pipe run (much the same as the horizontal pipe run code above)
L31371 LD A,C ; get initial/terminating piece into A
AND 240 ; mask off the upper 4-bits
RRA ; rotate right 4 times
RRA ; to get initial piece value into lower 4 bits of A
RRA ;
RRA ;
OR 32 ; set bit 5
LD C,1 ; draw 1 initial piece
JR L31392 ;
L31384 LD A,D ; D should be 20h to indicate that normal pieces of this run will be vertical pieces
DEC C ; second piece of a pipe is always a connector piece
JR NZ,L31392
LD C,4 ; 4 pieces to a run (3 normal and 1 connector piece)
LD A,35 ; vertical connector piece is always the second piece and then every fourth piece
L31392 CALL L32369 ; draw char held in A to screen (print head is already in correct position)
CALL L32272 ; set attribute byte for vertical drawing (can we walk through it?)
CALL L32151 ; update a pointer to copy of attr file ??
DJNZ L31384 ; repeat until B=0 (B contains length of pipe)
LD A,35 ; vertical connector piece is always the last piece before the terminating piece
CALL L32369 ; draw char held in A to screen
CALL L32272 ; set attribute byte for vertical drawing (can we walk through it?)
CALL L32151 ; update a pointer to copy of attr file
PUSH IX ; IX holds length + initial/terminating piece
POP BC ; pop it into BC
LD A,C ; get terminating piece into A
AND 15 ; mask off bottom 4 bits
OR 32 ; set bit 5
CALL L32369 ; draw terminating piece
CALL L32272 ; set attribute byte for vertical drawing (can we walk through it?)
JP L31151 ; back to the rest of the room drawing function
; The main room drawing graphics routines go from here to 32150
; They are called by an indirect jump through IX in the routine at L31177
; The table of pointers to these routines is stored at L32650
; The all seem to return by jumping back to L31151
; First graphics routine - this draws solid filled boxes/rectangles
; Seven bytes to make up a call to this routine
; e.g. 01,0F,0C,10,07,08,00 <- draws the big blue box that makes up the Beware Of The Dog sign in start room
; 1st byte = call 1st graphics routine
; 2nd byte = (paper colour * 8) + ink colour
; 3rd byte = y-position of top left corner of box
; 4th byte = x-position of top left corner of box
; 5th byte = height of box
; 6th byte = width of box
; 7th byte = attribute byte (0 = walkthrough, 1 = solid, etc)
L31431 INC HL ; point to first proper byte
LD A,(HL) ; get colour
LD (ATTR_P),A ; save in to the system variable
INC HL ; point to next byte
LD C,(HL) ; get y-pos into C
INC HL ; point to next byte
LD B,(HL) ; get x-pos into B
INC HL ; point to next byte
LD E,(HL) ; get height into E
INC HL ; point to next byte
LD D,(HL) ; get width into D
INC HL ; point to next byte
LD A,(HL) ; get attr byte into A
PUSH AF ; save attr byte
INC HL ; point to next byte
LD (L32648),HL ; save pointer to room data, HL now points to next sequence in room description
PUSH DE ; push width/height
CALL L32308 ; move print head to start position
POP BC ; B now contains width of box, C now contains height of box
CALL L32239 ; point to alt attr file ??
POP AF ; get attr byte back into A
L31460 PUSH AF ; push attr byte
PUSH DE ; push width/height
PUSH BC ; push width/height
LD E,A ; get attr byte into E
L31464 LD A,55 ; char 55 into A (solid block)
CALL L32369 ; print char 55
CALL L32250 ; something to do with attributes
DJNZ L31464 ; draw char 55 x B number of times
POP BC ; pop width/height into BC
POP DE ; pop width/height into DE
INC DE ; increment DE
LD (L32644),DE ; some kind of pointer into attr file
CALL L32151
CALL L32239 ; point to alt attr file ??
LD DE,(L32644) ; some kind of pointer into attr file
POP AF ; get attr byte back into A
DEC C ; do the next row of the box
JP Z,L31151 ; if C = 0 then back to the rest of the room drawing function
JR L31460 ; else go back and draw another row
; Second graphics routine
; This routine is used for writing any text that is in the room
; A line of text in the room data is described as follows
; 02, 0F, 0D, 11, "BEWARE", 80
; The first byte indicates that we are gonna call graphics routine 2 (this one) from the table of
; pointers to graphics routines at L32650
; The second byte will be the colour byte for the text (paper colour * 8) + ink colour
; The third and fourth bytes are the position (rows down, columns across) of the text on screen
; Next x number of bytes are the text itself
; The final byte is 80h to indicate end of text
L31498 INC HL
LD A,1
LD (L41983),A
LD A,(HL) ; get attribute byte
LD (ATTR_P),A ; set colours
INC HL ; point to y pos
LD C,(HL) ; get y pos of text
INC HL ; point to x pos
LD B,(HL) ; get x pos of text
INC HL ; point to first char of text
PUSH HL ; save HL
CALL L32308 ; move print head C lines down, B rows across
POP HL ; restore HL
CALL L41308 ; restore original char set from ROM
L31521 LD A,(HL) ; get a char of the message
INC HL ; point to next char
CP 128 ; if it's 80h then we're at the end of the message
JR Z,L31532 ; so jump to end of function
CALL L32369 ; else print the char
JR L31521 ; go back and get another char
L31532 LD (L32648),HL ; save current pointer into room data
CALL L41317 ; set up gaming char set
JP L31151 ; jump back to the rest of the room drawing function
; Third graphics routine
; draws a 5 section piece of pipe consisting of a normal horizontal piece at the supplied x/y position
; followed by a horizontal connector piece to the left of the x position supplied
; followed by a 90 degree bend pointing downwards
; followed by a vertical connector piece
; followed by a normal vertical piece
; takes a 5 byte string
; e.g. 03,15,04,06,00 (routine 3, ink/paper colour, y-pos, x-pos, attribute)
; the result will look like this :-
; BCN <-- this N is where the routine starts drawing from
; C
; N
; where N = normal piece, C = connector and B = 90 degree bend
L31541 INC HL ; point at colour byte
LD A,(HL) ; get it
INC HL ; point at y-pos
LD (ATTR_P),A ; store colour to system variable
LD C,(HL) ; get y-pos into C
INC HL ; point at x-pos
LD B,(HL) ; get x-pos into B
INC HL ; point at attribute
LD E,(HL) ; get it into E
INC HL ; point at next string in room description
PUSH DE ; push attribute
LD (L32648),HL ; save pointer to room data
CALL L32308 ; move print head C lines down, B rows across
POP DE ; pop attribute back into DE
CALL L32239 ; point to alt attr file ??
LD A,33 ; normal horizontal pipe piece
CALL L32369 ; draw it
CALL L32261 ; set attributes for horizontal drawing
LD HL,(DF_CC) ; get current print head position into HL
DEC HL ;
DEC HL ; move backwards 1 position
LD (DF_CC),HL ; store it back
PUSH DE ; push attribute
LD DE,(L32644) ; whereabouts in attr file
LD E,L
LD (L32644),DE
POP DE ; pop attribute byte
LD A,34 ; horizontal connector piece
CALL L32369 ; draw it
CALL L32261 ; set attributes for it
LD HL,(DF_CC)
DEC HL
DEC HL ; move backwards another position
LD (DF_CC),HL
PUSH DE
LD DE,(L32644)
LD E,L
LD (L32644),DE
POP DE
LD A,38 ; 90 degree bend
CALL L32369 ; draw it
CALL L32272 ; set attributes byte
CALL L32151 ; move down the screen by one character
LD A,35 ; vertical connector piece
CALL L32369 ; draw it
CALL L32272 ; set attributes byte
CALL L32151 ; move down the screen by one character
LD A,32 ; normal vertical pipe piece
CALL L32369 ; draw it
CALL L32272 ; set attributes byte
JP L31151 ; jump back to the rest of the room drawing function
; Fourth graphics routine
; Five bytes make up a call to this graphics routine
; e.g. 04,16,00,19,00
; 1st byte = call fourth graphics routine
; 2nd byte = (paper colour * 8) + ink colour
; 3rd byte = how many lines down the screen
; 4th byte = how many rows across the screen
; 5th byte = attributes byte (0 = walkthrough, 1 = solid, 2 = climbable, 4 = ramp)
; draws a 5 section piece of pipe with a 90 degree bend in it, as above routine
L31651 INC HL
LD A,(HL)
LD (ATTR_P),A
INC HL
LD C,(HL)
INC HL
LD B,(HL)
INC HL
LD E,(HL)
PUSH DE
INC HL
LD (L32648),HL ; save pointer to room data
CALL L32308 ; move print head C lines down, B rows across
POP DE
CALL L32261 ; point to alt attr file ??
LD A,33
CALL L32369 ; DONE
CALL L32272 ; DONE
LD A,34
CALL L32369 ; DONE
CALL L32272 ; DONE
LD A,39 ; 90 degree bend
CALL L32369 ; DONE
CALL L32272 ; DONE
CALL L32151 ; DONE
LD A,35
CALL L32369 ; DONE
CALL L32272 ; DONE
CALL L32151 ; DONE
LD A,32
CALL L32369 ; DONE
CALL L32272 ; DONE
JP L31151 ; jump back to main game
; Fifth graphics routine
; draws a 5 section piece of pipe with a 90 degree bend in it, as above routine
L31723 INC HL
LD A,(HL)
LD (ATTR_P),A
INC HL
LD C,(HL)
INC HL
LD B,(HL)
INC HL
LD E,(HL)
PUSH DE
INC HL
LD (L32648),HL
CALL L32308 ; move print head C lines down, B rows across
POP DE
CALL L32261 ; ALL ROUTINES BELOW ARE DONE
LD A,32
CALL L32369
CALL L32272
CALL L32151
LD A,35
CALL L32369
CALL L32272
CALL L32151
LD A,36 ; 90 degree bend
CALL L32369
CALL L32272
LD A,34
CALL L32369
CALL L32272
LD A,33
CALL L32369
CALL L32272
JP L31151 ; jump back to main game
; Sixth graphics routine
; draws a 5 section piece of pipe with a 90 degree bend in it, as above routine
L31795 INC HL
LD A,(HL)
LD (ATTR_P),A
INC HL
LD C,(HL)
INC HL
LD B,(HL)
INC HL
LD E,(HL)
PUSH DE
INC HL
LD (L32648),HL
CALL L32308 ; move print head C lines down, B rows across
POP DE
CALL L32261
LD A,32
CALL L32369
CALL L32272
CALL L32151
LD A,35
CALL L32369
CALL L32272
CALL L32151
LD A,37 ; 90 degree bend
CALL L32369
CALL L32261
LD HL,(DF_CC)
DEC HL
DEC HL
DEC HL
LD (DF_CC),HL
PUSH DE
LD DE,(L32650)
LD E,L
LD (L32650),DE
POP DE
LD A,33
CALL L32369
CALL L32261
LD A,34
CALL L32369
CALL L32261
JP L31151 ; jump back to main game
; Seventh graphics routine
; used when drawing the milk/sugar/cocoa vats and toy maker vat on top of the toy maker factory
; six byte input string
; 07,0D,0D,09,06,0F - milk vat (seventh routine, colour, y-pos, x-pos, height, width)
L31887 INC HL ; point to colour byte
LD A,(HL) ; get it
LD (ATTR_P),A ; store it system variable
INC HL ; point to y-pos
LD C,(HL) ; store it into C
INC HL ; point to x-pos
LD B,(HL) ; store it into B
INC HL ; point to height
LD E,(HL) ; store it into E
INC HL ; point to width
LD D,(HL) ; store it into D
INC HL ; point to next input string
LD (L32648),HL ; store it back to the pointer
PUSH DE ; push height/width
CALL L32308 ; move print head to correct position in BC
CALL L32239 ;
POP BC ; pop width/height back into BC
L31912 PUSH DE ; push width/height
DEC B ; decrement width
PUSH BC ; push width/height
LD A,56 ; left hand side angled edge
CALL L32369 ; draw it
CALL L32250 ; set attribute
DEC B ; decrement width
JR Z,L31965
LD A,(ATTR_P)
PUSH AF
LD D,A
AND 7
RLCA
RLCA
RLCA
LD E,A
LD A,D
AND 56
RRCA
RRCA
RRCA
OR E
LD (ATTR_P),A
LD E,128
L31949 LD A,55 ; all zeroes UDG
CALL L32369 ; draw it
CALL L32250 ; set attribute
LD A,58 ; all ones UDG
DJNZ L31949
POP AF
LD (ATTR_P),A
L31965 LD A,57 ; right hand side angled edge
CALL L32369 ; draw it
POP BC
DEC B
POP DE
INC DE
INC DE
LD (L32644),DE
CALL L32151 ; move down the screen by one char position
CALL L32239
LD DE,(L32644)
DEC C
JP Z,L31151 ; jump back to the rest of the room drawing function
JR L31912
; Eighth graphics routine - for drawing ramps that go up from left to right
; Six bytes make up this routine
; e.g. 08,02,10,14,02,00
; 1st byte = call 8th graphics routine
; 2nd byte = (paper colour * 8) + ink colour
; 3rd byte = how many lines down screen
; 4th byte = how many rows across screen
; 5th byte = how long the ramp is
; 6th byte = attribute byte (0 = walkthrough, 1 = solid, 2 = climbable, 4 = ramp)
L31995 INC HL
LD A,(HL)
LD (ATTR_P),A
INC HL
LD C,(HL)
INC HL
LD B,(HL)
INC HL
LD A,(HL)
INC HL
LD E,(HL)
PUSH DE
INC HL
LD (L32648),HL
PUSH AF
CALL L32308
POP BC
DEC B
POP DE
CALL L32261
L32025 LD A,85 ; up ramp char
CALL L32369
CALL L32272
LD A,57 ; up ramp char
CALL L32369
CALL L32272 ; set attribute byte
CALL L32179
DJNZ L32025
LD A,85 ; up ramp char
CALL L32369
CALL L32272
JP L31151 ; back to main game
; Ninth graphics routine - for drawing ramps that go down from left to right
; Six bytes make up this routine
; e.g. 09,02,10,14,02,00
; 1st byte = call 9th graphics routine
; 2nd byte = (paper colour * 8) + ink colour
; 3rd byte = how many lines down screen
; 4th byte = how many rows across screen
; 5th byte = how long the ramp is
; 6th byte = attribute byte (0 = walkthrough, 1 = solid, 2 = climbable, 4 = ramp)
L32055 INC HL
LD A,(HL)
LD (ATTR_P),A
INC HL
LD C,(HL)
INC HL
LD B,(HL)
INC HL
LD A,(HL)
INC HL
LD E,(HL)
PUSH DE
INC HL
LD (L32648),HL
PUSH AF
CALL L32308
POP BC
POP DE
CALL L32261
DEC B
L32085 LD A,84 ; down ramp char
CALL L32369
CALL L32272
CALL L32151
LD A,56 ; down ramp char
CALL L32369
CALL L32272
DJNZ L32085
LD A,84 ; down ramp char
CALL L32369
CALL L32272
JP L31151 ; back to main game
; Tenth and final graphics routine - draw a single UDG to screen for each call (e.g. a star, the two halves of the moon, a deadly item)
; Six bytes to each call of this routine
; e.g. 0A,07,59,05,05,00
; 1st byte = call tenth graphics routine
; 2nd byte = (paper colour * 8) + ink colour
; 3rd byte = which UDG to draw
; 4th byte = how many lines down the screen
; 5th byte = how many rows across the screen
; 6th byte = attributes byte (0 = walkthrough,1 = solid,2 = climbable,4 = ramp,128 = DEADLY TO TOUCH!!)
L32115 INC HL ; point to the colour
LD A,(HL) ; get it
LD (ATTR_P),A ; store in in the system variable
INC HL ; point to the UDG byte
LD A,(HL) ; get it into A
INC HL ; point to y-pos
LD C,(HL) ; get it into C
INC HL ; point to x-pos
LD B,(HL) ; get it into B
INC HL ; point to attribute
LD E,(HL) ; get it into E
PUSH DE ; push attribute
INC HL ; point to next input string in room description
LD (L32648),HL ; and save it back to the pointer
PUSH AF ; push UDG byte
CALL L32308 ; move print head C lines down, B rows across
CALL L32239 ; point to alt attr file ??
POP AF ; pop UDG byte back into A
POP DE ; pop attribute byte back into E
CALL L32369 ; print the char (A holds UDG to draw)
CALL L32250 ; set this particular chars' attributes
JP L31151 ; jump back to the rest of the room drawing function
; move down the screen by one char position
L32151 LD HL,(L32644) ; pointer to attr file - where are we on screen
LD A,31
ADD A,L
LD L,A
LD A,H
ADC A,0
LD H,A
LD (L32644),HL
AND 3
RLCA
RLCA
RLCA
OR 64
LD H,A
LD (DF_CC),HL ; addr in display file of print position
RET
L32179 LD HL,(L32650)
LD A,L
SUB 33
LD L,A
LD A,H
SBC A,0
LD H,A
LD (L32650),HL
AND 3
RLCA
RLCA
RLCA
OR 64
LD H,A
LD (DF_CC),HL
RET
; clear top 2 lines of screen to whatever value was in reg A on entry then clear
; remaining 22 lines of screen to value that is held in ATTR_P
; copy from HL to DE, BC number of times
L32203 LD HL,22528 ; clear top 2 lines (i.e. if A= 0 then paper 0 ink 0)
LD DE,22529 ; of screen attr
LD BC,64 ; 64 bytes = 2 * 32 byte lines
LD (HL),A ; they will get cleared to whatever was in A at point of entry
LDIR ; do it
LD BC,703 ; clear other 22 lines
LD A,(ATTR_P) ; to whatever value is held in ATTR_P
LD (HL),A
LDIR ; do it
RET
; Clear 6144 bytes to zero, from 16384, clears screen to zero but not attr area.
L32225 LD HL,16384
LD DE,16385
LD BC,6143
LD (HL),0
LDIR
RET
L32239 LD HL,(L32644) ; some kind of pointer to whereabouts we in the attributes file
LD A,H
ADD A,11 ; if HL=5800h (22528) on entry it will contains 6300h (25344) after add
LD H,A
LD (L32646),HL ; L32652 points to a copy of the current attr file which is held in
; memory starting at 25344
RET
; Set attribute byte for horizontal drawing (left to right) (can we walk through this item or not?)
L32250 LD A,E
LD HL,(L32646) ; the alt attr file
OR (HL) ; OR the contents of HL with A
LD (HL),A ; store the result back to the alt attr file
INC HL ; point to next byte of alt attr file
LD (L32646),HL ; store alt attr file back
RET
; Set attribute byte for horizontal drawing (right to left) (can we walk through this item or not?)
L32261 LD A,E
LD HL,(L32646)
OR (HL)
LD (HL),A
DEC HL
LD (L32646),HL
RET
; Set attribute byte for vertical drawing (top to bottom) (can we walk through this item or not?)
L32272 LD A,E
LD HL,(L32646)
OR (HL)
LD (HL),A
LD A,L
ADD A,32
LD L,A
LD A,H
ADC A,0
LD H,A
LD (L32646),HL
RET
; Set attribute byte for vertical drawing (bottom to top) (can we walk through this item or not?)
L32290 LD A,E
LD HL,(L32646)
OR (HL)
LD (HL),A
LD A,L
SUB 32
LD L,A
LD A,H
SBC A,0
LD H,A
LD (L32646),HL
RET
; move the print head to the correct row and column
; C = lines down, B = rows across
; on return from routine HL contains vram address of the x/y position passed to it
; and DE contains the attributes address of the x/y position passed to it
L32308 LD A,C ; get y-pos into A
AND 24 ; because there are 24 rows to the screen display
LD H,A ; store result in H
SET 6,H ; set bit 6 in H
RRCA ; rotate A once to right, bit 0 copied into bit 7 and carry flag
RRCA ; another rotate
RRCA ; another rotate
OR %10001000 ; (88, because 88 * 256 = 22528, start of attr area)
LD D,A ; save
LD A,C ; get y-pos into A
AND 7
RRCA
RRCA
RRCA
ADD A,B ; B contains how many rows across screen we want to print at
LD L,A ;
LD (DF_CC),HL ; next char to be drawn will go at DF_CC position
LD E,A
LD (L32644),DE ; our attribute storage area
RET
; print a message to the screen
L32337 CALL L41308 ; DONE - restore original char set from ROM
L32340 POP HL ; pop the message off the stack into HL
LD A,(HL) ; get next char of message into A
INC HL ; point to next char
PUSH HL ; save message pointer
CP 255 ; are we at the end of the message yet?
JR Z,L32353 ; if so then leave
CALL L32357 ; else print the next char to screen
JR L32340 ; continue until the message is finished
L32353 CALL L41317 ; DONE - set up our new char set
RET ; from whence we came :)
L32357 CP 22 ; was the char a 22 (AT command)?
EXX ; exchange regs with alt regs
JP Z,L32445 ; if it was a 22 then jump to here and move the print head
JP C,L32460 ; if it was less than 22 it will have been a paper or ink command
; so jump to L32460
EXX ; exchange regs with alt regs
JR L32401 ; it was just a normal char so print it
; print a single char/UDG to the screen, print head is already in the correct position for printing
L32369 PUSH HL
PUSH AF
LD A,(L41983)
OR A
JR Z,L32381
POP AF
SET 7,A
PUSH AF
L32381 LD HL,(L32644) ; whereabouts in attributes file
LD A,H
ADD A,5
LD H,A
LD A,(ATTR_P) ; permanent colours
LD (HL),A
LD A,H
ADD A,3
LD H,A
POP AF
LD (HL),A
AND 127
POP HL
; this routine will display a single char on the screen at the current DF_CC position
L32401 EXX ; exchange normal regs with alt regs
LD DE,(CHARS) ; get (256 - address of char set) into DE
LD L,A ; A contains ascii value of key to be displayed
LD H,0
ADD HL,HL ; get to correct byte within the charset
ADD HL,HL ; HL = HL * 8 (because there are 8 bytes to each char)
ADD HL,HL ;
ADD HL,DE ; add that to start of charset and you are now in position
EX DE,HL ; DE now contains 1st byte of position of char in char set
LD HL,(DF_CC) ; address in display file of print position into HL
INC HL ; increment HL, next char will be printed 1 char to right of last
LD (DF_CC),HL ; save it back to memory
DEC HL ; decrement HL
LD B,8 ; repeat following 8 times
L32424 LD A,(DE) ; get next byte of char we are wanting to display to screen
LD (HL),A ; write the byte to screen
INC DE ; point to next byte of char
INC H ; move down 1 line in display file
DJNZ L32424 ; repeat 8 times (8 bytes per char)
LD DE,(L32644) ; whereabouts in attributes area
LD A,(ATTR_P) ; permanent current colours
LD (DE),A ; set attributes on screen
INC DE ; point to next byte in attributes file
LD (L32644),DE ; save pointer
EXX ; exchange regs with alt regs
RET ; to whence we came
; if the message contains a PRINT AT command then we will jump here to move the print head
; to the correct place on screen
L32445 INC SP ; the last CALL instr will have stacked the old PC
INC SP ; we need to twice inc the SP to get to the message
POP HL ; get the message pointer into HL
LD C,(HL) ; how many lines down the screen into C
INC HL ; point to next byte in message
LD B,(HL) ; how many rows across the screen into B
INC HL ; point to next byte in message
PUSH HL ; restack the message
DEC SP ; fix the SP so that the CALL instr returns to
DEC SP ; the correct address
CALL L32308 ; move the print head
EXX ; exchange regs with alt regs
RET ; continue with rest of message
; if the message has some colour (ink) commands in it then we will jump here
; set up the appropriate colours
L32460 INC SP ; fix the SP for the last CALL instr
INC SP ; remember to unfix it later
POP HL ; get message into HL
LD A,(HL) ; get colour into A
INC HL ; point to next byte in message
PUSH HL ; restack message
DEC SP ; I remembered to
DEC SP ; fix the SP :)
LD (ATTR_P),A ; set the ink colour
EXX ; exchange regs with alt regs
RET ; from whence we came
L32644 DEFW $5800 ; (22528 - start of attributes area)
L32646 DEFW $6300 ; (25344 ??) - maybe a copy of the attr area in memory
L32648 DEFS 2 ; storage for a pointer to the current room data when drawing a room
; A table of pointers to room drawing routines
L32650 DEFW L31196 ; we've read a zero byte, that means we're finished drawing this room
L32652 DEFW L31431 ; draw a box/rectangle
L32654 DEFW L31498 ; write some text to the screen
L32656 DEFW L31541 ; 90 degree-shaped pipe section
L32658 DEFW L31651 ; 90 degree-shaped pipe section
L32660 DEFW L31723 ; 90 degree-shaped pipe section
L32662 DEFW L31795 ; 90 degree-shaped pipe section
L32664 DEFW L31887 ; milk/sugar/cocoa/toy vat drawing routine
L32666 DEFW L31995 ; ramp drawing routine - up from left to right
L32668 DEFW L32055 ; ramp drawing routine - down from left to right
L32670 DEFW L32115 ; draw a single UDG to the screen
; This routine is called from the display score routine
; On entry reg A contains this rooms points value as taken from the room matrix
; BC contains 7, something to do with the fact that rooms only have a value that is
; a multiple of 100 so we don't need to draw digits 8 and 9, maybe anyhow (indexing starts at 0)
L41149 LD HL,L42053 ; score is stored here
ADD HL,BC ; move to Nth digit within the score (7 on entry but can change)
ADD A,(HL) ; add this rooms value, or add the overflow to next higher digit
CP 10 ; if the addition results in A being <=9 then carry flag will be set
; if addition causes A to be > 9 then carry flag will be cleared
JR C,L41173 ; jump if carry flag is set
SUB 10 ; else subtract 10 from A
LD (HL),A ; store A back into the score
DEC BC ; point to next digit up in score
LD A,B ; constantly decrementing BC will eventually make it FFFFh so FFh will
; be loaded into A
OR A ; will set Z=1 if A=0, when FFh is loaded, Z flag will be set to 0
; this is our safeguard against recursively calling ourselves forever
LD A,1 ; doesn't change any flags
PUSH HL ; save the score on the stack
CALL Z,L41149 ; recursive procedure call, we call ourselves if Z=1
POP HL ; this POP will counteract the push from above, as many times as the
; recursive procedure calls itself
INC BC ; point to next digit to be displayed
LD A,(HL) ; score will cycle back to zero if you have a score of 9999999900 and
; enter a 100 points value room that you haven't been in before
; move to correct position in speccy VRAM and call the display char routine
L41173 LD (HL),A ; store new score byte
ADD A,48 ; get ascii value of new score byte
LD HL,16416 ; move to 0 across, 1 line down, in VRAM
LD B,0 ;
ADD HL,BC ; move to correct position for this digit within VRAM
CALL L41186 ; display the digit
RET
; actually display a digit of the score on the screen
L41186 PUSH HL ; HL contains address in display file of where we want to start drawing
LD L,A ; A contains the ascii value of the number we want to draw on screen
LD H,0 ; clear H
ADD HL,HL ; * 2
ADD HL,HL ; * 4
ADD HL,HL ; * 8 (HL = HL * 8)
LD DE,15360 ; start of char set in ROM
ADD HL,DE ; get to correct offset for ascii value of number we want to draw
POP DE ; DE now contains addr in display file of where we want to start drawing
LD B,8 ; 8 bytes for the char
L41200 LD A,(HL) ; get the next byte of the char
LD (DE),A ; write it to Speccy VRAM
INC HL ; point to next byte of char
INC D ; write to next line down in VRAM
DJNZ L41200 ; do it 8 times
RET
; display score to screen, 10 digits to score, only display leading zeroes if score is less than 10000
L41223 CALL L32337 ; print a message to screen
DEFB 22,1,0,1,7 ; PRINT AT 1,0;INK 7;
DEFB 255 ; end of message
CALL L41308 ; restore original ROM char set
LD HL,L42053 ; score is stored here (10 digits, 1 byte per digit)
LD B,5 ; when a new game starts and score = 0 print 5 spaces before the zeros
; when the score is >= 5 digits long we dont print the leading zeros
LD C,10 ; 10 possible digits for the score
L41242 LD A,(HL) ; get first digit
INC HL ; point to next one
OR A ; is this digit a zero
JP NZ,L41258 ; if it isn't then take the jump
LD A,32 ; else print a space
CALL L32401 ; print it
DEC C ; 10 digits in all
DJNZ L41242 ; do first 5 digits
L41256 LD A,(HL) ; get next digit
INC HL ; point to next one
L41258 ADD A,48 ; convert it into it's ASCII equivalent
CALL L32401 ; print it
DEC C ; decrement the counter
JP NZ,L41256 ; jump if counter hasn't reached zero
CALL L41317 ; set up new char set
LD (CHARS),HL ; HL now points to L42083
LD A,(L41982) ; which room we are in at the moment
LD HL,L41856 ; room matrix starts here
ADD A,L ; get to current room within matrix
LD L,A ; re-store it
LD A,H ; if the add above caused a
ADC A,0 ; carry then add that aswell
LD H,A ; re-store it, HL now points to the room we are in, in the matrix
LD A,(HL) ; gets it's value (score wise)
BIT 7,A ; have we already visited this room?
RET NZ ; if so then return (we only get points for the 1st time a room is entered)
LD C,A ; save it's score value in reg C
SET 7,(HL) ; set the bit 7 in the room matrix to indicate that we've been here
LD A,(L41977) ; L41997 = 1
LD B,A
PUSH BC
L41296 LD A,C ; reg A now contains this rooms score
LD BC,7 ; rooms only ever have a 100 point multiple value of between 100 and 1000,
; so we only need to modify the 7th digit of the score
; (or 6th if overflow occurs)
CALL L41149 ; draw the score to screen
POP BC
DJNZ L41296
RET ; (41317)
; Restore original char set from ROM
L41308 PUSH HL ; save HL
LD HL,15360 ;
LD (CHARS),HL ;
POP HL ; restore HL
RET
; Set up our gaming char set
L41317 PUSH HL ; save HL
LD HL,L29624 ; point to our new char set
LD (CHARS),HL ;
POP HL ; restore HL
RET ; (41335)
; Display the number of lives left
L41657 LD BC,$1601 ; 22 rows across, 1 line down
CALL L32308 ; move the print head C lines down, B rows across
LD A,7 ; ink 7
LD (ATTR_P),A ; set the ink colour
LD A,(L41978) ; no. of lives into A
CP 9 ; are we a cat?? have we got 9 lives??
JR C,L41697 ; if we've got more than 9 lives
LD A,9 ; then just display 9
L41697 LD B,A ; otherwise display them all
L41678 LD A,86 ; lives UDG is at 86 ascii
PUSH BC
CALL L32401 ; display a single char at DF_CC, A holds char to be displayed
POP BC
DJNZ L41678 ; display all lives remaining
LD A,55 ; display char 55 now (empty block)
CALL L32401 ; display a single char at DF_CC
RET
; This prints what you are carrying at the moment
L41838 CALL L32337 ; print a message
DEFB 22,1,12,1,7 ; PRINT AT 1,12;INK 7;
L41846 DEFM "NOTHING "
DEFB 255 ; end of message
RET
; This is the room matrix. It contains 120 rooms. When the upper bit is set in the room
; byte it means the room has been visited. The value of the byte is how many points * 100
; you get for visiting that particular room. So there are 10 rooms where you get 1000 points
; just for entering them.
; the room score is also multiplied by the number of eggs you've delivered
; so if you've delivered 4 eggs you'd get 400 points for entering the dog room (4 * 1 * 100)
; If we take indexing at zero then we'll call byte at L41856 room 0 (room 0 is not used)
; 41877 (index 1) = start room (where you get thrown out of the back of the truck)
; you have to leave this room (either to dog room or bone room)
; then re-enter it for it to register on the matrix
; 41878 (index 2) = dog room (where you have to give dog the bone)
; 41879 (index 3) = entrance to A & F chocolate factory (1000 points for entering this room)
; 41880 (index 4) = spider room (2 spiders going up and down on chains, 3 death objects on floor)
; 41887 (index 11) = bone room (the room where the bone starts)
L41856 DEFB 0 ; don't know what this byte represents yet
DEFB 0,1,10,1,3,2,1,3,2,3 ; start room/dog room/A & F factory entrance/etc
DEFB 1,4,2,2,2,1,1,2,4,3
DEFB 2,1,3,2,2,2,7,6,5,5
DEFB 3,1,10,1,1,3,8,4,3,1
DEFB 2,1,6,2,2,4,10,2,1,4
DEFB 10,3,2,1,3,5,3,2,1,4
DEFB 2,2,3,2,3,5,3,2,1,10
DEFB 1,1,1,1,1,1,1,1,1,2
DEFB 1,5,6,2,2,4,3,3,2,1
DEFB 4,4,3,2,2,1,3,2,1,3
DEFB 5,6,3,2,2,1,2,3,1,10
DEFB 10,3,5,10,10,2,2,2,3,10 ; final room is 'A MONSTERS WORK IS NEVER DONE'
L41977 DEFB 1 ; no. of eggs delivered so far + 1 (i.e. nth current egg that we're working with)
L41978 DEFB 5 ; no. of lives
L41982 DEFB 0 ; which room we are in, in the matrix
L41983 DEFB 0 ; what kind of object are we drawing at the moment
L41984 DEFS 2 ; gets the value of 26112 (initial room locations of moveable objects)
L42053 DEFB 0,0,0,0,0,0,0,0,0,0 ; the current playing score (1 byte per digit, 10 digits)
; Here lies a list of pointers to room data (121 * 2 bytes per pointer = 242 bytes from here)
L43370 DEFW 0 ; not sure why this is here???
DEFW L52905 ; (CEA9) - 1 - Start room
DEFW L53925 ; L53029 ; (CF25) - 2 - Dog house
; DEFW L53134 ; (CF8E) - 3 - Entrance to A & F Chocolate factory
; DEFW L53331 ; (D053) - 4 - Spider room (2 spiders on chains)
; DEFW L53417 ; (D0A9) - 5 - Maze room (ladders + 2 birds)
; DEFW L48873 ; (BEE9) - 6 - Big ramp + pair of boots and cyan bird
; DEFW L51731 ; (CA13) - 7 - red room 1/8
; DEFW L52187 ; (CBDB) - 8 - red room 2/8
; DEFW L52321 ; (CC61) - 9 - red room 3/8
; DEFW L52419 ; (CCC3) - 10 - red room 4/8
; DEFW L53227 ; (CFEB) - 11 - bone room
; DEFW L50722 ; (C622) - 12 - cocoa area 1/10 (1 box of cocoa here)
; DEFW L49787 ; (C27B) - 13 - 5 ropes, 2 ramps, green tortoise
; DEFW L49173 ; (C015) - 14 - 3 ropes, 1 ladder, yellow spider + yellow boots
; DEFW L49075 ; (BFB3) - 15 - 4 ropes, 1 ladder, red rat
; DEFW L48953 ; (BF39) - 16 - 2 ropes, 3 ladders, 1 ramp, yellow hand, pink elephant, bubble
; DEFW L51895 ; (CAB7) - 17 - red room 5/8
; DEFW L52053 ; (CB55) - 18 - red room 6/8
; DEFW L52541 ; (CD3D) - 19 - red room 7/8
; DEFW L52693 ; (CDD5) - 20 - red room 8/8
; DEFW L50802 ; (C672) - 21 - cocoa area 2/10 (1 box of cocoa here)
; DEFW L50600 ; (C5A8) - 22 - cocoa area 3/10 (1 box of cocoa here)
; DEFW L49903 ; (C2EF) - 23 - milk area 1/12
; DEFW L49259 ; (C06B) - 24 - milk area 2/12 (1 bottle of milk here)
; DEFW L44864 ; (AF40) - 25 - milk area 3/12
; DEFW L44980 ; (AFB4) - 26 - milk area 4/12 (1 bottle of milk here)
; DEFW L57179 ; (DF5B) - 27 - egg maker area 1/9
; DEFW L56233 ; (DBA9) - 28 - egg maker area 2/9 (2 long red chains)
; DEFW L56102 ; (DB26) - 29 - egg maker area 3/9 (2 bubbles)
; DEFW L53617 ; (D171) - 30 - toxic cloud area 1/4
; DEFW L50918 ; (C6E6) - 31 - cocoa area 4/10 (1 box of cocoa here)
; DEFW L50502 ; (C546) - 32 - cocoa area 5/10 (1 box of cocoa here)
; DEFW L50007 ; (C357) - 33 - milk area 5/12 (milk vat room)
; DEFW L49369 ; (C0D9) - 34 - milk area 6/12 (1 bottle of milk here)
; DEFW L44736 ; (AEC0) - 35 - milk area 7/12 (1 bottle of milk here)
; DEFW L45138 ; (B052) - 36 - milk area 8/12 (2 bottles of milk here)
; DEFW L57042 ; (DED2) - 37 - egg maker area 4/9
; DEFW L56310 ; (DBF6) - 38 - egg maker area 5/9 (mixer room)
; DEFW L55973 ; (DAA5) - 39 - egg maker area 6/9 (creeping green hand + spring)
; DEFW L53661 ; (D19D) - 40 - toxic cloud area 2/4
; DEFW L51016 ; (C748) - 41 - cocoa area 6/10 (1 box of cocoa here)
; DEFW L50356 ; (C4B4) - 42 - cocoa area 7/10 (1 box of cocoa here)
; DEFW L50115 ; (C3C3) - 43 - milk area 9/12
; DEFW L49455 ; (C12F) - 44 - milk area 10/12
; DEFW L49561 ; (C199) - 45 - milk area 11/12 (1 bottle of milk here)
; DEFW L49671 ; (C207) - 46 - milk area 12/12 (1 bottle of milk here)
; DEFW L56892 ; (DE3C) - 47 - egg maker area 7/9 (two green creeping hands)
; DEFW L56695 ; (DD77) - 48 - egg maker area 8/9 (egg maker room)
; DEFW L55829 ; (DA15) - 49 - egg maker area 9/9 (Sinclair C5)
; DEFW L53753 ; (D1F9) - 50 - toxic cloud area 3/4
; DEFW L51048 ; (C768) - 51 - cocoa area 8/10 (cocoa vat room)
; DEFW L51109 ; (C7A5) - 52 - cocoa area 9/10
; DEFW L50247 ; (C447) - 53 - cocoa area 10/10 (1 box of cocoa here)
; DEFW L55527 ; (D8E7) - 54 - black room 1/7
; DEFW L55399 ; (D867) - 55 - black room 2/7 (lift that takes you up to the milk area)
; DEFW L54941 ; (D69D) - 56 - blue room 1/8 (Sinclair C5)
; DEFW L54829 ; (D62D) - 57 - blue room 2/8 (cyan mole/magenta elephant/magenta bat)
; DEFW L54433 ; (D4A1) - 58 - blue room 3/8 (red rat)
; DEFW L54186 ; (D3AA) - 59 - blue room 4/8 (yellow creeping hand)
; DEFW L53863 ; (D267) - 60 - toxic cloud area 4/4
; DEFW L51269 ; (C845) - 61 - black room 3/7 (cyan mole)
; DEFW L51401 ; (C8C9) - 62 - black room 4/7 (red rat/bubble)
; DEFW L51543 ; (C957) - 63 - black room 5/7
; DEFW L55699 ; (D993) - 64 - black room 6/7
; DEFW L55244 ; (D7CC) - 65 - black room 7/7 (green mole)
; DEFW L55111 ; (D747) - 66 - blue room 5/8 (yellow bird)
; DEFW L54701 ; (D5AD) - 67 - blue room 6/8 (black bat)
; DEFW L54579 ; (D533) - 68 - blue room 7/8 (green mole)
; DEFW L54311 ; (D427) - 69 - blue room 8/8 (Sinclair C5/green tortoise)
; DEFW L53925 ; (D2A5) - 70 - reject egg smelter room
; DEFW L47236 ; (B884) - 71 - train track 1/10
; DEFW L47274 ; (B8AA) - 72 - train track 2/10
; DEFW L47318 ; (B8D6) - 73 - train track 3/10
; DEFW L47366 ; (B906) - 74 - train track 4/10 (train is here when power to factory is off)
; DEFW L47410 ; (B932) - 75 - train track 5/10
; DEFW L47460 ; (B964) - 76 - train track 6/10
; DEFW L47532 ; (B9AC) - 77 - train track 7/10
; DEFW L47588 ; (B9E4) - 78 - train track 8/10
; DEFW L47669 ; (BA35) - 79 - train track 9/10
; DEFW L47719 ; (BA67) - 80 - train track 10/10
; DEFW L48727 ; (BE57) - 81 - dispatch area 1/8
; DEFW L43734 ; (AAD6) - 82 - toy area 1/10 (1 toy part here)
; DEFW L43856 ; (AB50) - 83 - toy area 2/10 (3 toy parts here)
; DEFW L46464 ; (B580) - 84 - chain up to train track area
; DEFW L46639 ; (B62F) - 85 - room above the toy maker room
; DEFW L46719 ; (B67F) - 86 - sugar area 1/11 (1 bag of sugar here)
; DEFW L46835 ; (B6F3) - 87 - sugar area 2/11 (1 bag of sugar here)
; DEFW L46963 ; (B773) - 88 - sugar area 3/11 (1 bag of sugar here)
; DEFW L47073 ; (B7E1) - 89 - sugar area 4/11 (1 bag of sugar here)
; DEFW L47177 ; (B849) - 90 - slippery pipe down from the track track area & a bouncy spring
; DEFW L48575 ; (BDBF) - 91 - dispatch area 2/8
; DEFW L43612 ; (AA5C) - 92 - toy area 3/10 (2 toy parts here)
; DEFW L43972 ; (ABC4) - 93 - toy area 4/10 (2 toy parts here)
; DEFW L44088 ; (AC38) - 94 - toy area 5/10 (4 acid dripping pipes & basket)
; DEFW L44183 ; (AC97) - 95 - toy area 6/10 (toy maker room)
; DEFW L44489 ; (ADC9) - 96 - toy area 7/10 (girder is here)
; DEFW L45984 ; (B3A0) - 97 - sugar area 5/11 (1 bag of sugar here)
; DEFW L46084 ; (B404) - 98 - sugar area 6/11 (1 bag of sugar here)
; DEFW L46158 ; (B44E) - 99 - sugar area 7/11 (1 bag of sugar here)
; DEFW L46329 ; (B4F9) - 100 - sugar area 8/11 (1 bag of sugar here)
; DEFW L48441 ; (BD39) - 101 - dispatch area 3/8
; DEFW L48172 ; (BC2C) - 102 - dispatch area 4/8
; DEFW L47916 ; (BB2C) - 103 - dispatch area 5/8
; DEFW L44307 ; (AD13) - 104 - toy area 8/10 (platform that descends when you jump on it from room above)
; DEFW L44396 ; (AD6C) - 105 - toy area 9/10 (lift with OUT OF ORDER sign when you jump at it)
; DEFW L44554 ; (AE0A) - 106 - toy area 10/10 (boiler room + lots of pipes)
; DEFW L45761 ; (B2C1) - 107 - room to the right of boiler room!!
; DEFW L45830 ; (B306) - 108 - sugar area 9/11 (you come up the this room from below to start sugar collecting part of game)
; DEFW L45940 ; (B374) - 109 - sugar area 10/11 (ladder is here)
; DEFW L46268 ; (B4BC) - 110 - sugar area 11/11 (sugar vat room)
; DEFW L48336 ; (BCD0) - 111 - dispatch area 6/8 (dispatch room)
; DEFW L48080 ; (BBD0) - 112 - dispatch area 7/8
; DEFW L47776 ; (BAA0) - 113 - dispatch area 8/8
; DEFW L45320 ; (B108) - 114 - left of generator room (3 acid dripping pipes)
; DEFW L45385 ; (B149) - 115 - generator room
; DEFW L45528 ; (B1D8) - 116 - right of generator room (4 acid dripping pipes)
; DEFW L45586 ; (B212) - 117 - another 4 acid dripping pipes
; DEFW L45638 ; (B246) - 118 - use ladder in this room to get up to sugar area
; DEFW L45664 ; (B260) - 119 - yellow boot and long ladder that goes up to ladder room
; DEFW L45684 ; (B274) - 120 - final room - A MONSTERS WORK IS NEVER DONE
; start room - 124 bytes for this room
L52905 DEFB 07 ; colours for this room
DEFB $3E,$04,$16,00,$19,00 ; grass at bottom of screen (UDG no.,colour,y-pos,x-pos,length,solid or not?) 0 = we can walk though it, 1 = we can't
DEFB $3A,$24,$17,00,$19,01 ; the solid green line at very bottom of screen (the grass from above sits on top of this green line)
DEFB $3A,$24,$17,$1C,04,01 ; the solid 4 char long piece of green line to the right of the ladder
DEFB $3E,04,$16,$1C,04,00 ; the grass that sits on top of above 4 char long line
DEFB 01,$0F,$0C,$10,07,08,00 ; the square part of the BEWARE OF THE DOG sign (UDG,colour,y-pos,x-pos,height,width)
DEFB 01,$0F,$13,$13,04,02,00 ; post of BEWARE sign (UDG,colour,y-pos,x-pos,height,width,solid or not?)
DEFB 02,$0F,$0D,$11,"BEWARE",$80 ; BEWARE (2 indicates this is text,colour,y-pos,x-pos,string text,80h to terminate a string)
DEFB 02,$0F,$0F,$11,"OF THE",$80 ; OF THE
DEFB 02,$0F,$11,$12,"DOG",$80 ; DOG
DEFB $34,02,$15,$1A,$83,02 ; ladder down to bone room - (UDG,colour,y-pos,x-pos,length(high bit set indicates this is to be vertical instead of horizontal),2 indicates climbable)
DEFB $0A,07,$59,05,05,00 ; 0A indicates a single UDG to be drawn (colour,UDG,y-pos,x-pos,not solid) top left star in sky
DEFB $0A,07,$59,$0A,$0C,00 ; another star in the sky
DEFB $0A,07,$59,$0E,03,00 ; another star
DEFB $0A,07,$59,$0F,$0E,00 ; yet another star
DEFB $0A,07,$59,$0A,$1A,00 ; one more star for good measure
DEFB $0A,07,$57,06,$13,00 ; top half of moon in the sky
DEFB $0A,07,$58,07,$13,00 ; bottom half of moon in the sky
DEFB $3A,00,$13,06,$83,01 ; back of the van that throws you out to start game - black solid wall to stop you walking leftwards towards the edge of the screen (it's black to make it appear invisible when the room is first drawn because the room is drawn before the wagon reverses onto the screen and if it were made any other colour you'd be able to see it but because it's black it blends into the blackness of the background)
DEFB 00 ; zero byte to indicate end of this room
; reject egg smelter room (room 70) (261 bytes)
L53925 DEFB 00
DEFB $3F,$16,02,00,$96,01 ; left hand edge of screen
DEFB $3F,$16,02,$1F,$96,01 ; right hand edge of screen
DEFB $3F,$16,$17,01,$1E,01 ; bottom of screen
DEFB $3F,$16,08,01,05,01 ; left hand platform in middle of screen
DEFB $3F,$16,08,09,05,01 ; next one along
DEFB $3F,$16,08,$12,03,01 ; next one along
DEFB $3F,$16,08,$1A,03,01 ; next one along (you land on this one when you slide down the pipe from screen above)
DEFB $3F,$16,$0F,02,04,01 ; platform at bottom of ladder to left of screen
DEFB $34,05,07,03,$88,02 ; ladder to left of screen
DEFB $33,05,02,$17,$88,02 ; chain at upper right of screen
DEFB $33,05,09,$0A,$8C,02 ; chain that drops you down on the deck
DEFB $35,07,02,$1C,$85,$10 ; slippery pipe at top right which you enter this room on
DEFB $35,06,$13,07,$85,$10 ; slippery pipe at bottom left which takes you down to next room ;
DEFB 01,$18,$12,$0D,05,$0E,00 ; box 1 for factory (main part of factory)
DEFB 01,$18,$0C,$0F,02,02,00 ; box 2 for factory (chimney stack - top left 2x2 block)
DEFB 01,$18,$0E,$0F,02,04,00 ; box 3 for factory (chimney stack - middle piece 2x4)
DEFB 01,$18,$10,$11,02,02,00 ; box 4 for factory (chimney stack - bit that attaches to factory - 2x2)
DEFB $0A,03,$3A,$0B,$10,00 ; a single block of magenta to go on top of chimney stack - not sure why they did it this way
DEFB 02,$18,$14,$14,"REJECT",$80 ; text REJECT
DEFB 02,$18,$15,$16,"EGG",$80 ; text EGG
DEFB 02,$18,$16,$14,"SMELTER",$80 ; text SMELTER
DEFB $0A,$38,$44,$13,$0E,00 ; 4 UDGs making
DEFB $0A,$38,$45,$13,$0F,00 ; up the
DEFB $0A,$38,$46,$14,$0E,00 ; dial/gauge
DEFB $0A,$38,$47,$14,$0F,00 ; on the factory
DEFB $0A,$38,$48,$13,$11,00 ; 6 UDGs making
DEFB $0A,$38,$49,$13,$12,00 ; up the big
DEFB $0A,$38,$4A,$14,$11,00 ; switch
DEFB $0A,$38,$4B,$14,$12,00 ; on the factory
DEFB $0A,$38,$4C,$15,$11,00 ;
DEFB $0A,$38,$4D,$15,$12,00 ;
DEFB $4E,$18,$13,$14,05,00 ; a row of 10 switches below the indicator lights (2 switches per UDG)
DEFB $0A,$1E,$4F,$12,$14,00 ; indicator lights on factory - yellow
DEFB $0A,$1C,$4F,$12,$15,00 ; indicator lights on factory - green
DEFB $0A,$19,$4F,$12,$16,00 ; indicator lights on factory - blue
DEFB $0A,$1E,$4F,$12,$17,00 ; indciator lights on factory - yellow
DEFB $0A,$1F,$4F,$12,$18,00 ; indicator lights on factory - white
DEFB $21,07,$13,00,04,$17,00 ; horizontal bit of white pipe in lower left of screen
DEFB $20,07,$13,03,$85,$70,00 ; vertical bit of white pipe in lower left of screen
DEFB $0A,03,$3A,$0B,$0F,00 ; a single block of magenta to go on top of chimney stack - not sure why they did it this way
DEFB 00 ; end of room (54185)
| 37.456758
| 434
| 0.639121
|
85e685f377299fe42458855ef9a8ecb058485959
| 692
|
asm
|
Assembly
|
oeis/033/A033276.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/033/A033276.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/033/A033276.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A033276: Number of diagonal dissections of an n-gon into 4 regions.
; Submitted by Jamie Morken(s1)
; 0,14,84,300,825,1925,4004,7644,13650,23100,37400,58344,88179,129675,186200,261800,361284,490314,655500,864500,1126125,1450449,1848924,2334500,2921750,3627000,4468464,5466384,6643175,8023575,9634800,11506704,13671944,16166150,19028100,22299900,26027169,30259229,35049300,40454700,46537050,53362484,61001864,69531000,79030875,89587875,101294024,114247224,128551500,144317250,161661500,180708164,201588309,224440425,249410700,276653300,306330654,338613744,373682400,411725600,452941775,497539119
mov $1,$0
sub $0,1
add $1,2
bin $1,3
mov $2,$0
add $2,8
bin $2,3
mul $1,$2
mov $0,$1
div $0,4
| 46.133333
| 494
| 0.807803
|
9898e044f3fc1dc20bbda7a99e34855c24d20e5b
| 178
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/inttypes/z80/asm__imaxdiv_.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/inttypes/z80/asm__imaxdiv_.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/inttypes/z80/asm__imaxdiv_.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | null | null | null |
; void _imaxdiv_(imaxdiv_t *md, intmax_t numer, intmax_t denom)
SECTION code_clib
SECTION code_inttypes
PUBLIC asm__imaxdiv_
EXTERN asm__ldiv
defc asm__imaxdiv_ = asm__ldiv
| 14.833333
| 63
| 0.820225
|
7e4e06307668abb0d619de3e20db2872ae6d4d72
| 212
|
asm
|
Assembly
|
programs/oeis/213/A213169.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/213/A213169.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/213/A213169.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A213169: n!+n+1.
; 2,3,5,10,29,126,727,5048,40329,362890,3628811,39916812,479001613,6227020814,87178291215,1307674368016,20922789888017,355687428096018,6402373705728019
mov $1,$0
cal $1,142
add $1,1
add $1,$0
| 26.5
| 151
| 0.768868
|
8b54ed3946bd931d4b3f40d3d8041921b13cfbd6
| 660
|
asm
|
Assembly
|
programs/oeis/189/A189784.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/189/A189784.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/189/A189784.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A189784: (A189782)/2.
; 1,2,4,5,7,8,10,11,13,14,15,17,18,20,21,23,24,26,27,29,30,31,33,34,36,37,39,40,42,43,45,46,47,49,50,52,53,55,56,58,59,61,62,63,65,66,68,69,71,72,74,75,77,78,79,81,82,84,85,87,88,90,91,93,94,95,97,98,100,101,103,104,106,107,108,110,111,113,114,116,117,119,120
mov $4,$0
add $4,1
mov $7,$0
lpb $4
mov $0,$7
sub $4,1
sub $0,$4
mov $2,2
mov $6,$0
lpb $2
mov $0,$6
sub $2,1
add $0,$2
mul $0,14
sub $0,1
mul $0,14
div $0,432
mov $5,$0
mov $8,$2
lpb $8
mov $3,$5
sub $8,1
lpe
lpe
lpb $6
sub $3,$5
mov $6,0
lpe
mov $5,$3
add $5,1
add $1,$5
lpe
mov $0,$1
| 17.837838
| 259
| 0.525758
|
227c7ccc46852ffd923269c977cdc37f768d7541
| 1,256
|
asm
|
Assembly
|
driver.asm
|
AsadKhalil/Assembly_x86
|
48aa2a0ab93fd359f5f20369bb9064052c2f2884
|
[
"MIT"
] | null | null | null |
driver.asm
|
AsadKhalil/Assembly_x86
|
48aa2a0ab93fd359f5f20369bb9064052c2f2884
|
[
"MIT"
] | null | null | null |
driver.asm
|
AsadKhalil/Assembly_x86
|
48aa2a0ab93fd359f5f20369bb9064052c2f2884
|
[
"MIT"
] | null | null | null |
[org 0x0100]
jmp start;
PrintNumber:
push bp;
mov bp,sp;
sub sp,2;
mov word [bp-2],0;
mov es,[bp+8]; LPVOID CS
mov si,[bp+6]; LPVOID OFFSET
mov si,[es:si];video memory
mov ax, 0xb800;
mov es,ax;
reprint:
push si;
mov ax,[bp-2];
mov bx,10; base is fixed now.
mov cx,5;
Lp2:
mov dx,0;
div bx;
push dx;
Loop Lp2;
mov cx,5;
break:
pop ax;
add ax,0x30;
cmp ax,58;
jb nothexa;
add ax,7;
nothexa:
mov ah,0x07;
mov word [es:si],ax;
inc si;
inc si;
Loop break;
inc word [bp-2];
pop si;
jmp reprint;
cmp word [bp-2],0;
jne reprint;
pop bp;
add sp,2;
retf;
;push cs;
;push word lpvoid;
;push cs;
;call PrintNumber;
;mov ax,0x4c00;
;int 0x21;
;int 8h;
start:
xor si,si;
mov cx,4;
LP:
push cx;
xor ax,ax;
int 16h;
mov word [csip],cs;
mov word [csip+2],PrintNumber;
mov word [csip+4],ds;
mov word [csip+6],lpvoid;
push ds;
pop es;
mov di,csip;
mov cx,1;
mov ah,0xff;
mov al,0x01;
int 0x21;
pop cx;
add word [lpvoid],160;
;jmp LP;
Loop LP;
mov ah,0xff;
mov al,0x03;
mov cx,2;
int 0x21;
int 16h;
mov ah,0xff;
mov al,0x04;
mov cx,2;
int 0x21;
mov ax,0x3100;
int 0x21;
lpvoid : dw 130;
csip : dw 0,0,0,0;
| 9.8125
| 31
| 0.576433
|
f9f86d07b3f7377b609d94dc5a968a77a02767d7
| 553
|
asm
|
Assembly
|
oeis/175/A175856.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/175/A175856.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/175/A175856.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A175856: a(n) = n for n = noncomposites, a(n) = previous term - 1 for n = composites.
; 1,2,3,2,5,4,7,6,5,4,11,10,13,12,11,10,17,16,19,18,17,16,23,22,21,20,19,18,29,28,31,30,29,28,27,26,37,36,35,34,41,40,43,42,41,40,47,46,45,44,43,42,53,52,51,50,49,48,59,58,61,60,59,58,57,56,67,66,65,64,71,70,73,72,71,70,69,68,79,78,77,76,83,82,81,80,79,78,89,88,87,86,85,84,83,82,97,96,95,94
sub $1,$0
seq $0,175851 ; a(n) = 1 for noncomposite n, a(n) = n - previousprime(n) + 1 for composite n.
add $1,$0
add $0,$1
mov $1,138100
sub $1,$0
sub $1,138097
mov $0,$1
| 46.083333
| 291
| 0.63472
|
6a503de9f56ee62f51ddce096d70e229151d129e
| 950
|
asm
|
Assembly
|
initcode.asm
|
NinakoLovu/xv6_scheduler
|
98ada3a01d8549d4f4c568dc9c49d02221c1c9f8
|
[
"MIT-0"
] | null | null | null |
initcode.asm
|
NinakoLovu/xv6_scheduler
|
98ada3a01d8549d4f4c568dc9c49d02221c1c9f8
|
[
"MIT-0"
] | null | null | null |
initcode.asm
|
NinakoLovu/xv6_scheduler
|
98ada3a01d8549d4f4c568dc9c49d02221c1c9f8
|
[
"MIT-0"
] | null | null | null |
initcode.o: formato do arquivo elf32-i386
Desmontagem da seção .text:
00000000 <start>:
# exec(init, argv)
.globl start
start:
pushl $argv
0: 68 24 00 00 00 push $0x24
pushl $init
5: 68 1c 00 00 00 push $0x1c
pushl $0 // where caller pc would be
a: 6a 00 push $0x0
movl $SYS_exec, %eax
c: b8 07 00 00 00 mov $0x7,%eax
int $T_SYSCALL
11: cd 40 int $0x40
00000013 <exit>:
# for(;;) exit();
exit:
movl $SYS_exit, %eax
13: b8 02 00 00 00 mov $0x2,%eax
int $T_SYSCALL
18: cd 40 int $0x40
jmp exit
1a: eb f7 jmp 13 <exit>
0000001c <init>:
1c: 2f das
1d: 69 6e 69 74 00 00 90 imul $0x90000074,0x69(%esi),%ebp
00000024 <argv>:
24: 1c 00 sbb $0x0,%al
26: 00 00 add %al,(%eax)
28: 00 00 add %al,(%eax)
...
| 21.590909
| 62
| 0.493684
|
360349f8277ec74310d99a40a2792561f09de12d
| 686
|
asm
|
Assembly
|
programs/oeis/070/A070498.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/070/A070498.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/070/A070498.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A070498: a(n) = n^3 mod 36.
; 0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9,28,35,0,1,8,27,28,17,0,19,8,9
pow $0,3
mod $0,36
mov $1,$0
| 98
| 625
| 0.591837
|
2175db5437eab7ac26de5e669f8df497462ca242
| 3,237
|
asm
|
Assembly
|
sources/ippcp/asm_ia32/pcprij128decryptg9as.asm
|
dongbinghua/ipp-crypto
|
5f6c4afec3d86f0f586cd9344963111fd5c04213
|
[
"Apache-2.0"
] | 233
|
2018-07-20T13:17:16.000Z
|
2022-03-29T03:14:40.000Z
|
sources/ippcp/asm_ia32/pcprij128decryptg9as.asm
|
dongbinghua/ipp-crypto
|
5f6c4afec3d86f0f586cd9344963111fd5c04213
|
[
"Apache-2.0"
] | 39
|
2018-10-19T22:46:28.000Z
|
2022-03-15T07:56:37.000Z
|
sources/ippcp/asm_ia32/pcprij128decryptg9as.asm
|
dongbinghua/ipp-crypto
|
5f6c4afec3d86f0f586cd9344963111fd5c04213
|
[
"Apache-2.0"
] | 60
|
2018-07-29T18:21:10.000Z
|
2022-03-13T02:46:39.000Z
|
;===============================================================================
; Copyright 2014-2021 Intel Corporation
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;===============================================================================
;
;
; Purpose: Cryptography Primitive.
; Rijndael Inverse Cipher function
;
; Content:
; Decrypt_RIJ128_AES_NI()
;
;
%include "asmdefs.inc"
%include "ia_emm.inc"
;***************************************************************
;* Purpose: single block RIJ128 Inverse Cipher
;*
;* void Encrypt_RIJ128(const Ipp32u* inpBlk,
;* Ipp32u* outBlk,
;* int nr,
;* const Ipp32u* pRKey,
;* const Ipp32u Tables[][256])
;*
;***************************************************************
;%if (_IPP >= _IPP_P8) && (_IPP < _IPP_G9)
%if (_IPP >= _IPP_P8)
;;
;; Lib = P8
;;
;; Caller = ippsRijndael128DecryptECB
;; Caller = ippsRijndael128DecryptCBC
;;
segment .text align=IPP_ALIGN_FACTOR
align IPP_ALIGN_FACTOR
IPPASM Decrypt_RIJ128_AES_NI,PUBLIC
USES_GPR esi,edi
%xdefine pInpBlk [esp + ARG_1 + 0*sizeof(dword)] ; input block address
%xdefine pOutBlk [esp + ARG_1 + 1*sizeof(dword)] ; output block address
%xdefine nr [esp + ARG_1 + 2*sizeof(dword)] ; number of rounds
%xdefine pKey [esp + ARG_1 + 3*sizeof(dword)] ; key material address
%xdefine SC (4)
mov esi,pInpBlk ; input data address
mov ecx,pKey ; key material address
mov eax,nr ; number of rounds
mov edi,pOutBlk ; output data address
lea edx,[eax*4]
movdqu xmm0, oword [esi] ; input block
;;whitening
pxor xmm0, oword [ecx+edx*4] ; whitening
cmp eax,12 ; switch according to number of rounds
jl .key_128
jz .key_192
;;
;; regular rounds
;;
.key_256:
aesdec xmm0,oword [ecx+9*SC*4+4*4*SC]
aesdec xmm0,oword [ecx+9*SC*4+3*4*SC]
.key_192:
aesdec xmm0,oword [ecx+9*SC*4+2*4*SC]
aesdec xmm0,oword [ecx+9*SC*4+1*4*SC]
.key_128:
aesdec xmm0,oword [ecx+9*SC*4-0*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-1*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-2*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-3*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-4*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-5*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-6*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-7*4*SC]
aesdec xmm0,oword [ecx+9*SC*4-8*4*SC]
;;
;; last rounds
;;
aesdeclast xmm0,oword [ecx+9*SC*4-9*4*SC]
movdqu oword [edi], xmm0 ; output block
REST_GPR
ret
ENDFUNC Decrypt_RIJ128_AES_NI
%endif
| 28.394737
| 80
| 0.56472
|
64915563cb3e191dcd1d25685aabfcf389301d30
| 415
|
asm
|
Assembly
|
scripts/pewtermart.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 16
|
2018-08-28T21:47:01.000Z
|
2022-02-20T20:29:59.000Z
|
scripts/pewtermart.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 5
|
2019-04-03T19:53:11.000Z
|
2022-03-11T22:49:34.000Z
|
scripts/pewtermart.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 2
|
2019-12-09T19:46:02.000Z
|
2020-12-05T21:36:30.000Z
|
PewterMartScript:
call EnableAutoTextBoxDrawing
ld a, $1
ld [wAutoTextBoxDrawingControl], a
ret
PewterMartTextPointers:
dw PewterCashierText
dw PewterMartText2
dw PewterMartText3
PewterMartText2:
TX_ASM
ld hl, .Text
call PrintText
jp TextScriptEnd
.Text
TX_FAR _PewterMartText2
db "@"
PewterMartText3:
TX_ASM
ld hl, .Text
call PrintText
jp TextScriptEnd
.Text
TX_FAR _PewterMartText3
db "@"
| 13.387097
| 35
| 0.783133
|
727f109e343df9fd268ce90e74ce0c28f331e177
| 8,569
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1087.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1087.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1087.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x16148, %rcx
nop
nop
nop
nop
nop
xor %r10, %r10
mov (%rcx), %r15
nop
nop
cmp %rbx, %rbx
lea addresses_UC_ht+0xcbe, %r8
nop
nop
nop
nop
dec %r13
movb $0x61, (%r8)
nop
nop
cmp $10854, %rbx
lea addresses_WT_ht+0x1b086, %rsi
lea addresses_WT_ht+0x1c86, %rdi
clflush (%rdi)
lfence
mov $58, %rcx
rep movsb
nop
nop
nop
nop
add $9783, %r15
lea addresses_normal_ht+0x11086, %rcx
sub %r15, %r15
mov $0x6162636465666768, %r10
movq %r10, %xmm4
movups %xmm4, (%rcx)
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_A_ht+0x17686, %rbx
nop
nop
nop
sub $46053, %rsi
mov $0x6162636465666768, %r10
movq %r10, (%rbx)
nop
nop
nop
nop
nop
and %r10, %r10
lea addresses_WC_ht+0x18606, %rsi
lea addresses_A_ht+0x4906, %rdi
nop
xor %rbx, %rbx
mov $2, %rcx
rep movsq
nop
nop
nop
and $47635, %rbx
lea addresses_WT_ht+0x18e92, %rsi
lea addresses_A_ht+0xbf86, %rdi
nop
nop
nop
nop
sub $5837, %r11
mov $104, %rcx
rep movsl
nop
nop
nop
nop
nop
and $9683, %r15
lea addresses_UC_ht+0x129ee, %rsi
lea addresses_normal_ht+0x12336, %rdi
nop
nop
nop
nop
nop
xor %r10, %r10
mov $90, %rcx
rep movsb
nop
nop
nop
nop
nop
add %r10, %r10
lea addresses_D_ht+0xa206, %rsi
lea addresses_normal_ht+0x1ec86, %rdi
nop
nop
and %rbx, %rbx
mov $93, %rcx
rep movsw
nop
cmp %r8, %r8
lea addresses_UC_ht+0x1035a, %rsi
lea addresses_normal_ht+0x18486, %rdi
clflush (%rdi)
nop
cmp $6604, %r13
mov $34, %rcx
rep movsl
nop
nop
nop
add $51182, %rcx
lea addresses_D_ht+0x19d86, %rsi
lea addresses_A_ht+0x12e46, %rdi
nop
sub %rbx, %rbx
mov $31, %rcx
rep movsq
add $64714, %r8
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r15
pop %r13
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_PSE+0x19c6, %rbp
clflush (%rbp)
nop
nop
inc %rdi
movups (%rbp), %xmm4
vpextrq $0, %xmm4, %r11
nop
nop
and $27679, %rbp
// Store
lea addresses_WC+0x2f5f, %rbp
nop
nop
nop
cmp $6479, %rcx
movl $0x51525354, (%rbp)
nop
nop
nop
nop
cmp %rbp, %rbp
// Store
lea addresses_D+0x92c6, %rcx
nop
nop
nop
nop
nop
add %rsi, %rsi
mov $0x5152535455565758, %rdx
movq %rdx, (%rcx)
nop
nop
nop
nop
and %r11, %r11
// Store
lea addresses_PSE+0x1517e, %r11
clflush (%r11)
nop
nop
nop
nop
nop
add %rdx, %rdx
mov $0x5152535455565758, %rbp
movq %rbp, (%r11)
nop
sub %rdi, %rdi
// Store
lea addresses_A+0x17816, %rsi
and $20954, %rdx
mov $0x5152535455565758, %r9
movq %r9, %xmm1
vmovups %ymm1, (%rsi)
nop
nop
nop
nop
add %rsi, %rsi
// Load
lea addresses_normal+0x17486, %rdi
clflush (%rdi)
nop
nop
nop
sub $17721, %r11
mov (%rdi), %rbp
nop
nop
nop
nop
cmp %rdi, %rdi
// Faulty Load
lea addresses_A+0x10c86, %r11
nop
nop
nop
cmp %rsi, %rsi
mov (%r11), %bp
lea oracles, %rdi
and $0xff, %rbp
shlq $12, %rbp
mov (%rdi,%rbp,1), %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 6}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 4}}
{'src': {'type': 'addresses_normal', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 11}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 2}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': True, 'size': 8, 'NT': False, 'same': False, 'congruent': 9}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}}
{'src': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': True}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}}
{'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}}
{'35': 21829}
35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35
*/
| 30.172535
| 2,999
| 0.65737
|
b561f0e94d3549f9f739c50ec146fedc03b6254f
| 2,107
|
asm
|
Assembly
|
Assembly/example_interrupts.asm
|
p-rivero/CESC16
|
f07305e49bf46a6218bfea806a43950cad0be0b9
|
[
"MIT"
] | 2
|
2022-03-03T02:30:14.000Z
|
2022-03-04T15:55:19.000Z
|
Assembly/example_interrupts.asm
|
p-rivero/CESC16
|
f07305e49bf46a6218bfea806a43950cad0be0b9
|
[
"MIT"
] | null | null | null |
Assembly/example_interrupts.asm
|
p-rivero/CESC16
|
f07305e49bf46a6218bfea806a43950cad0be0b9
|
[
"MIT"
] | null | null | null |
; ======================
; INTERRUPTS EXAMPLE
; ======================
; This example shows how to attach and detach interrupt handlers for different interrupt events
; Include libraries
#include "OS/OS.inc"
#bank data
Sync: #res 1
#bank program
str_done: str("DONE!\n")
#align 32
str_input: str("Got input: ")
#align 32
str_end1: str(" (")
#align 32
str_end2: str(")\n")
#align 32
; User program entry point
MAIN_PROGRAM:
.main:
mov [Sync], zero ; Initialize variables
; Attach interrupt handlers (defined below). The old handlers get stored in the stack
mov a0, .Key_Handler
syscall INPUT.AttachInterrupt
mov a0, .TMR_Handler
syscall TIME.AttachInterrupt
; Start timer (count 1000 ticks = 16000 cycles)
mov a0, 1000
syscall TIME.SetTimer
..wait: ; Wait until the timer overflows and Sync gets set to 1.
test [Sync] ; Even if main program is halted, keystrokes will still trigger
jz ..wait ; interrupts and call OUTPUT.char
mov a0, str_done
syscall PRINT.string
; Stay on an endless loop after finishing, comment out this line if you wish to detach the handlers and return
jmp pc
; Remember to pop the old handlers in the correct order (stack = LIFO)
syscall TIME.DetachInterrupt
syscall INPUT.DetachInterrupt
ret
; INTERRUPT HANDLERS:
; Routine that will get called whenever a key is pressed down. The ASCII is stored in a0
.Key_Handler:
push s0
mov s0, a0 ; Store the ASCII of the key
; Print "Got input: "
mov a0, str_input
syscall PRINT.string
; Print the pressed char
mov a0, s0
syscall OUTPUT.char
; Print " ("
mov a0, str_end1
syscall PRINT.string
; Print the ASCII code of the char
mov a0, s0
syscall PRINT.hex
; Print ")\n"
mov a0, str_end2
syscall PRINT.string
pop s0
ret
; Routine that will get called whenever the timer overflows.
.TMR_Handler:
mov [Sync], 1 ; The global variable Sync signals the main program to exit the loop
ret
| 24.5
| 114
| 0.650214
|
28983efd86b0fb6f32beaab047430e6a50caff20
| 96
|
asm
|
Assembly
|
UnmanagedCode/updatescoreinc.asm
|
SchneiderAJ/Metis2020
|
0c1bab37760e4d362beb9d55d19a789b242547bc
|
[
"MIT"
] | null | null | null |
UnmanagedCode/updatescoreinc.asm
|
SchneiderAJ/Metis2020
|
0c1bab37760e4d362beb9d55d19a789b242547bc
|
[
"MIT"
] | 22
|
2020-04-05T16:46:26.000Z
|
2020-04-29T17:02:43.000Z
|
UnmanagedCode/updatescoreinc.asm
|
SchneiderAJ/Metis2020
|
0c1bab37760e4d362beb9d55d19a789b242547bc
|
[
"MIT"
] | 1
|
2020-04-19T00:48:58.000Z
|
2020-04-19T00:48:58.000Z
|
.code
UpdateScoreIncAsm proc
add ecx, 10
mov eax, ecx
ret
UpdateScoreIncAsm endp
end
| 13.714286
| 22
| 0.71875
|
41a33379833b35846fc612170efdb5441f2ceee2
| 15,109
|
asm
|
Assembly
|
lib/x86_64/aes_cmac_subkey_gen.asm
|
edtubbs/intel-ipsec-mb
|
27bb66dcdf5aec2aec8cc0a6bee9c1da96898d7f
|
[
"BSD-3-Clause"
] | null | null | null |
lib/x86_64/aes_cmac_subkey_gen.asm
|
edtubbs/intel-ipsec-mb
|
27bb66dcdf5aec2aec8cc0a6bee9c1da96898d7f
|
[
"BSD-3-Clause"
] | null | null | null |
lib/x86_64/aes_cmac_subkey_gen.asm
|
edtubbs/intel-ipsec-mb
|
27bb66dcdf5aec2aec8cc0a6bee9c1da96898d7f
|
[
"BSD-3-Clause"
] | null | null | null |
;;
;; Copyright (c) 2018-2021, Intel Corporation
;;
;; Redistribution and use in source and binary forms, with or without
;; modification, are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice,
;; this list of conditions and the following disclaimer.
;; * Redistributions in binary form must reproduce the above copyright
;; notice, this list of conditions and the following disclaimer in the
;; documentation and/or other materials provided with the distribution.
;; * Neither the name of Intel Corporation nor the names of its contributors
;; may be used to endorse or promote products derived from this software
;; without specific prior written permission.
;;
;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
;; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
;; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
;; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
;; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
;; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
;; CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
;; OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
;; OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;
%include "include/os.asm"
%define NO_AESNI_RENAME
%include "include/aesni_emu.inc"
%include "include/clear_regs.asm"
%include "include/cet.inc"
;;; Routines to generate subkeys for AES-CMAC.
;;; See RFC 4493 for more details.
;; In System V AMD64 ABI
;; callee saves: RBX, RBP, R12-R15
;; Windows x64 ABI
;; callee saves: RBX, RBP, RDI, RSI, RSP, R12-R15
;;
;; Registers: RAX RBX RCX RDX RBP RSI RDI R8 R9 R10 R11 R12 R13 R14 R15
;; -----------------------------------------------------------
;; Windows clobbers:
;; Windows preserves: RAX RBX RCX RDX RBP RSI RDI R8 R9 R10 R11 R12 R13 R14 R15
;; -----------------------------------------------------------
;; Linux clobbers:
;; Linux preserves: RAX RBX RCX RDX RBP RSI RDI R8 R9 R10 R11 R12 R13 R14 R15
;; -----------------------------------------------------------
;;
;; Linux/Windows clobbers: xmm0, xmm1, xmm2
;;
%ifdef LINUX
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define arg4 rcx
%define arg5 r8
%else
%define arg1 rcx
%define arg2 rdx
%define arg3 r8
%define arg4 r9
%define arg5 [rsp + 5*8]
%endif
%define KEY_EXP arg1
%define KEY1 arg2
%define KEY2 arg3
%define XL xmm0
%define XKEY1 xmm1
%define XKEY2 xmm2
section .data
default rel
align 16
xmm_bit127:
;ddq 0x80000000000000000000000000000000
dq 0x0000000000000000, 0x8000000000000000
align 16
xmm_bit63:
;ddq 0x00000000000000008000000000000000
dq 0x8000000000000000, 0x0000000000000000
align 16
xmm_bit64:
;ddq 0x00000000000000010000000000000000
dq 0x0000000000000000, 0x0000000000000001
align 16
const_Rb:
;ddq 0x00000000000000000000000000000087
dq 0x0000000000000087, 0x0000000000000000
align 16
byteswap_const:
;DDQ 0x000102030405060708090A0B0C0D0E0F
dq 0x08090A0B0C0D0E0F, 0x0001020304050607
section .text
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; void aes_cmac_subkey_gen(const void *key_exp, void *key1, void *key2)
;;;
;;; key_exp : IN : address of expanded encryption key structure
;;; key1 : OUT : address to store subkey 1 (16 bytes)
;;; key2 : OUT : address to store subkey 2 (16 bytes)
;;;
;;; RFC 4493 Figure 2.2 describing function operations at highlevel
;;;
;;; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;;; + Algorithm Generate_Subkey +
;;; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;;; + +
;;; + Input : K (128/256-bit key) +
;;; + Output : K1 (128-bit first subkey) +
;;; + K2 (128-bit second subkey) +
;;; +--------------------------------------------------------------------+
;;; + +
;;; + Constants: const_Zero is 0x00000000000000000000000000000000 +
;;; + const_Rb is 0x00000000000000000000000000000087 +
;;; + Variables: L for output of AES-128/256 applied to 0^128 +
;;; + +
;;; + Step 1. L := AES-128/256(K, const_Zero) ; +
;;; + Step 2. if MSB(L) is equal to 0 +
;;; + then K1 := L << 1 ; +
;;; + else K1 := (L << 1) XOR const_Rb ; +
;;; + Step 3. if MSB(K1) is equal to 0 +
;;; + then K2 := K1 << 1 ; +
;;; + else K2 := (K1 << 1) XOR const_Rb ; +
;;; + Step 4. return K1, K2 ; +
;;; + +
;;; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
%macro AES_CMAC_SUBKEY_GEN_SSE 1-2
%define %%NROUNDS %1
%define %%ARCH %2
%ifdef SAFE_PARAM
cmp KEY_EXP, 0
jz %%_aes_cmac_subkey_gen_sse_return
cmp KEY1, 0
jz %%_aes_cmac_subkey_gen_sse_return
cmp KEY2, 0
jz %%_aes_cmac_subkey_gen_sse_return
%endif
%ifidn %%ARCH, no_aesni
%define AESENC EMULATE_AESENC
%define AESENCLAST EMULATE_AESENCLAST
%else
%define AESENC aesenc
%define AESENCLAST aesenclast
%endif
;; Step 1. L := AES-128(K, const_Zero) ;
movdqa XL, [KEY_EXP + 16*0] ; 0. ARK xor const_Zero
AESENC XL, [KEY_EXP + 16*1] ; 1. ENC
AESENC XL, [KEY_EXP + 16*2] ; 2. ENC
AESENC XL, [KEY_EXP + 16*3] ; 3. ENC
AESENC XL, [KEY_EXP + 16*4] ; 4. ENC
AESENC XL, [KEY_EXP + 16*5] ; 5. ENC
AESENC XL, [KEY_EXP + 16*6] ; 6. ENC
AESENC XL, [KEY_EXP + 16*7] ; 7. ENC
AESENC XL, [KEY_EXP + 16*8] ; 8. ENC
AESENC XL, [KEY_EXP + 16*9] ; 9. ENC
%if %%NROUNDS == 13 ;; CMAC-256
AESENC XL, [KEY_EXP + 16*10] ; 10. ENC
AESENC XL, [KEY_EXP + 16*11] ; 11. ENC
AESENC XL, [KEY_EXP + 16*12] ; 12. ENC
AESENC XL, [KEY_EXP + 16*13] ; 13. ENC
AESENCLAST XL, [KEY_EXP + 16*14] ; 14. ENC
%else ;; CMAC-128
AESENCLAST XL, [KEY_EXP + 16*10] ; 10. ENC
%endif
;; Step 2. if MSB(L) is equal to 0
;; then K1 := L << 1 ;
;; else K1 := (L << 1) XOR const_Rb ;
pshufb XL, [rel byteswap_const]
movdqa XKEY1, XL
psllq XKEY1, 1
ptest XL, [rel xmm_bit63]
jz %%_K1_no_carry_bit_sse
;; set carry bit
por XKEY1, [rel xmm_bit64]
%%_K1_no_carry_bit_sse:
ptest XL, [rel xmm_bit127]
jz %%_K1_msb_is_zero_sse
;; XOR const_Rb
pxor XKEY1, [rel const_Rb]
%%_K1_msb_is_zero_sse:
;; Step 3. if MSB(K1) is equal to 0
;; then K2 := K1 << 1 ;
;; else K2 := (K1 << 1) XOR const_Rb ;
movdqa XKEY2, XKEY1
psllq XKEY2, 1
ptest XKEY1, [rel xmm_bit63]
jz %%_K2_no_carry_bit_sse
;; set carry bit
por XKEY2, [rel xmm_bit64]
%%_K2_no_carry_bit_sse:
ptest XKEY1, [rel xmm_bit127]
jz %%_K2_msb_is_zero_sse
;; XOR const_Rb
pxor XKEY2, [rel const_Rb]
%%_K2_msb_is_zero_sse:
;; Step 4. return K1, K2
pshufb XKEY1, [rel byteswap_const]
pshufb XKEY2, [rel byteswap_const]
movdqu [KEY1], XKEY1
movdqu [KEY2], XKEY2
%%_aes_cmac_subkey_gen_sse_return:
%ifdef SAFE_DATA
clear_scratch_gps_asm
clear_scratch_xmms_sse_asm
%endif
%endmacro
%macro AES_CMAC_SUBKEY_GEN_AVX 1
%define %%NROUNDS %1
%ifdef SAFE_PARAM
cmp KEY_EXP, 0
jz %%_aes_cmac_subkey_gen_avx_return
cmp KEY1, 0
jz %%_aes_cmac_subkey_gen_avx_return
cmp KEY2, 0
jz %%_aes_cmac_subkey_gen_avx_return
%endif
;; Step 1. L := AES-128(K, const_Zero) ;
vmovdqa XL, [KEY_EXP + 16*0] ; 0. ARK xor const_Zero
vaesenc XL, [KEY_EXP + 16*1] ; 1. ENC
vaesenc XL, [KEY_EXP + 16*2] ; 2. ENC
vaesenc XL, [KEY_EXP + 16*3] ; 3. ENC
vaesenc XL, [KEY_EXP + 16*4] ; 4. ENC
vaesenc XL, [KEY_EXP + 16*5] ; 5. ENC
vaesenc XL, [KEY_EXP + 16*6] ; 6. ENC
vaesenc XL, [KEY_EXP + 16*7] ; 7. ENC
vaesenc XL, [KEY_EXP + 16*8] ; 8. ENC
vaesenc XL, [KEY_EXP + 16*9] ; 9. ENC
%if %%NROUNDS == 13 ;; CMAC-256
vaesenc XL, [KEY_EXP + 16*10] ; 10. ENC
vaesenc XL, [KEY_EXP + 16*11] ; 11. ENC
vaesenc XL, [KEY_EXP + 16*12] ; 12. ENC
vaesenc XL, [KEY_EXP + 16*13] ; 13. ENC
vaesenclast XL, [KEY_EXP + 16*14] ; 14. ENC
%else ;; CMAC-128
vaesenclast XL, [KEY_EXP + 16*10] ; 10. ENC
%endif
;; Step 2. if MSB(L) is equal to 0
;; then K1 := L << 1 ;
;; else K1 := (L << 1) XOR const_Rb ;
vpshufb XL, [rel byteswap_const]
vmovdqa XKEY1, XL
vpsllq XKEY1, 1
vptest XL, [rel xmm_bit63]
jz %%_K1_no_carry_bit_avx
;; set carry bit
vpor XKEY1, [rel xmm_bit64]
%%_K1_no_carry_bit_avx:
vptest XL, [rel xmm_bit127]
jz %%_K1_msb_is_zero_avx
;; XOR const_Rb
vpxor XKEY1, [rel const_Rb]
%%_K1_msb_is_zero_avx:
;; Step 3. if MSB(K1) is equal to 0
;; then K2 := K1 << 1 ;
;; else K2 := (K1 << 1) XOR const_Rb ;
vmovdqa XKEY2, XKEY1
vpsllq XKEY2, 1
vptest XKEY1, [rel xmm_bit63]
jz %%_K2_no_carry_bit_avx
;; set carry bit
vpor XKEY2, [rel xmm_bit64]
%%_K2_no_carry_bit_avx:
vptest XKEY1, [rel xmm_bit127]
jz %%_K2_msb_is_zero_avx
;; XOR const_Rb
vpxor XKEY2, [rel const_Rb]
%%_K2_msb_is_zero_avx:
;; Step 4. return K1, K2
vpshufb XKEY1, [rel byteswap_const]
vpshufb XKEY2, [rel byteswap_const]
vmovdqu [KEY1], XKEY1
vmovdqu [KEY2], XKEY2
%%_aes_cmac_subkey_gen_avx_return:
%ifdef SAFE_DATA
clear_scratch_gps_asm
clear_scratch_xmms_avx_asm
%endif
%endmacro
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; void aes_cmac_subkey_gen_sse(const void *key_exp, void *key1, void *key2)
;;;
;;; key_exp : IN : address of expanded encryption key structure (AES 128)
;;; key1 : OUT : address to store subkey 1 (AES128 - 16 bytes)
;;; key2 : OUT : address to store subkey 2 (AES128 - 16 bytes)
;;;
;;; See aes_cmac_subkey_gen() above for operation details
MKGLOBAL(aes_cmac_subkey_gen_sse,function,)
align 32
aes_cmac_subkey_gen_sse:
endbranch64
AES_CMAC_SUBKEY_GEN_SSE 9
ret
MKGLOBAL(aes_cmac_subkey_gen_sse_no_aesni,function,)
align 32
aes_cmac_subkey_gen_sse_no_aesni:
endbranch64
AES_CMAC_SUBKEY_GEN_SSE 9, no_aesni
ret
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; void aes_cmac_256_subkey_gen_sse(const void *key_exp,
;;; void *key1,
;;; void *key2)
;;;
;;; key_exp : IN : address of expanded encryption key structure (AES 256)
;;; key1 : OUT : address to store subkey 1 (AES256 - 16 bytes)
;;; key2 : OUT : address to store subkey 2 (AES256 - 16 bytes)
;;;
;;; See aes_cmac_subkey_gen() above for operation details
MKGLOBAL(aes_cmac_256_subkey_gen_sse,function,)
align 32
aes_cmac_256_subkey_gen_sse:
endbranch64
AES_CMAC_SUBKEY_GEN_SSE 13
ret
MKGLOBAL(aes_cmac_256_subkey_gen_sse_no_aesni,function,)
align 32
aes_cmac_256_subkey_gen_sse_no_aesni:
endbranch64
AES_CMAC_SUBKEY_GEN_SSE 13, no_aesni
ret
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; void aes_cmac_subkey_gen_avx(const void *key_exp, void *key1, void *key2)
;;;
;;; key_exp : IN : address of expanded encryption key structure (AES 128)
;;; key1 : OUT : address to store subkey 1 (AES128 - 16 bytes)
;;; key2 : OUT : address to store subkey 2 (AES128 - 16 bytes)
;;;
;;; See aes_cmac_subkey_gen() above for operation details
MKGLOBAL(aes_cmac_subkey_gen_avx,function,)
MKGLOBAL(aes_cmac_subkey_gen_avx2,function,)
MKGLOBAL(aes_cmac_subkey_gen_avx512,function,)
align 32
aes_cmac_subkey_gen_avx:
aes_cmac_subkey_gen_avx2:
aes_cmac_subkey_gen_avx512:
endbranch64
AES_CMAC_SUBKEY_GEN_AVX 9
ret
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; void aes_cmac_256_subkey_gen_avx(const void *key_exp,
;;; void *key1,
;;; void *key2)
;;;
;;; key_exp : IN : address of expanded encryption key structure (AES 256)
;;; key1 : OUT : address to store subkey 1 (AES256 - 16 bytes)
;;; key2 : OUT : address to store subkey 2 (AES256 - 16 bytes)
;;;
;;; See aes_cmac_subkey_gen() above for operation details
MKGLOBAL(aes_cmac_256_subkey_gen_avx,function,)
MKGLOBAL(aes_cmac_256_subkey_gen_avx2,function,)
MKGLOBAL(aes_cmac_256_subkey_gen_avx512,function,)
align 32
aes_cmac_256_subkey_gen_avx:
aes_cmac_256_subkey_gen_avx2:
aes_cmac_256_subkey_gen_avx512:
endbranch64
AES_CMAC_SUBKEY_GEN_AVX 13
ret
%ifdef LINUX
section .note.GNU-stack noalloc noexec nowrite progbits
%endif
| 37.491315
| 83
| 0.528427
|
4b5efa12212e9101f00aeaa45c34688e8408c32e
| 492
|
asm
|
Assembly
|
oeis/118/A118679.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/118/A118679.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/118/A118679.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A118679: Absolute value of numerator of determinant of n X n matrix with M(i,j) = i/(i+1) if i=j otherwise 1.
; Submitted by Jamie Morken(w1)
; 1,2,1,13,19,13,17,43,53,1,19,89,103,59,67,151,13,47,1,229,251,137,149,1,349,47,101,433,463,1,263,43,593,157,83,701,739,389,409,859,53,59,1,1033,83,563,587,1223,67,331,1,1429,1483,769,797,127,1709,1,457,1889
add $0,1
mov $2,1
mov $3,$0
lpb $3
add $1,$4
max $1,1
mov $4,$3
add $4,1
mul $2,$4
sub $3,1
lpe
gcd $2,$1
div $1,$2
mov $0,$1
| 25.894737
| 208
| 0.644309
|
20c8f248d3ebe885b60d74d8049090715446419b
| 4,459
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_12_1661.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_12_1661.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_12_1661.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rax
push %rbp
push %rcx
push %rdx
lea addresses_UC_ht+0x19912, %rax
nop
nop
nop
nop
xor $32250, %rcx
and $0xffffffffffffffc0, %rax
movaps (%rax), %xmm0
vpextrq $1, %xmm0, %r13
nop
nop
cmp %rcx, %rcx
lea addresses_UC_ht+0xfb1a, %rbp
nop
nop
nop
nop
nop
sub $57018, %r8
mov $0x6162636465666768, %rdx
movq %rdx, %xmm3
and $0xffffffffffffffc0, %rbp
vmovaps %ymm3, (%rbp)
nop
nop
nop
nop
nop
add $51526, %r8
pop %rdx
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
// Store
lea addresses_PSE+0xab12, %r15
nop
nop
nop
nop
and $9857, %r13
mov $0x5152535455565758, %rax
movq %rax, %xmm6
vmovups %ymm6, (%r15)
nop
xor $61554, %r15
// Store
lea addresses_normal+0x6e12, %r13
xor %r12, %r12
movw $0x5152, (%r13)
nop
sub $20432, %r13
// REPMOV
lea addresses_RW+0xe112, %rsi
lea addresses_PSE+0x16168, %rdi
xor $62442, %r12
mov $35, %rcx
rep movsb
nop
nop
sub %rsi, %rsi
// Store
lea addresses_WC+0xdb10, %rdi
nop
add %rcx, %rcx
movl $0x51525354, (%rdi)
nop
nop
nop
sub %rcx, %rcx
// Store
lea addresses_UC+0x15112, %rcx
nop
sub $36992, %r15
movw $0x5152, (%rcx)
nop
nop
and %r12, %r12
// Store
lea addresses_WT+0x10132, %r12
nop
cmp $50694, %r13
movb $0x51, (%r12)
nop
nop
cmp $25835, %r13
// Store
mov $0x40f8ee0000000e52, %rbp
nop
nop
nop
add %r13, %r13
movl $0x51525354, (%rbp)
add $58867, %rcx
// Store
lea addresses_UC+0x1dd65, %rdi
cmp $37739, %r13
mov $0x5152535455565758, %r15
movq %r15, (%rdi)
nop
cmp $55613, %rdi
// Store
mov $0xf84030000000912, %rax
nop
xor $60208, %rcx
movb $0x51, (%rax)
nop
nop
cmp %rsi, %rsi
// Store
lea addresses_WC+0x26b6, %r13
nop
nop
nop
sub %rdi, %rdi
movb $0x51, (%r13)
cmp %rbp, %rbp
// Load
lea addresses_UC+0x15112, %r15
nop
nop
nop
cmp %rax, %rax
movups (%r15), %xmm7
vpextrq $0, %xmm7, %r13
nop
nop
nop
cmp $17039, %r15
// Store
lea addresses_UC+0x15112, %r13
nop
nop
nop
sub %rax, %rax
mov $0x5152535455565758, %rcx
movq %rcx, %xmm1
movups %xmm1, (%r13)
nop
nop
xor %rcx, %rcx
// Faulty Load
lea addresses_UC+0x15112, %rcx
nop
nop
nop
nop
nop
xor %rbp, %rbp
mov (%rcx), %r13
lea oracles, %rax
and $0xff, %r13
shlq $12, %r13
mov (%rax,%r13,1), %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_PSE'}}
{'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 2, 'NT': True, 'type': 'addresses_normal'}}
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_RW'}, 'OP': 'REPM', 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_PSE'}}
{'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': True, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_WC'}}
{'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_UC'}}
{'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT'}}
{'OP': 'STOR', 'dst': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_NC'}}
{'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': True, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_UC'}}
{'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_NC'}}
{'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WC'}}
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_UC'}}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 6, 'AVXalign': True, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': True, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_UC_ht'}}
{'58': 12}
58 58 58 58 58 58 58 58 58 58 58 58
*/
| 19.995516
| 144
| 0.638484
|
89af710bb1153e2f4635c5534c2cb751f3710bfb
| 3,097
|
asm
|
Assembly
|
texmap/john1.asm
|
arbruijn/d1dos
|
00b969f31fd475530e7e24d7e9759c70705634e0
|
[
"Unlicense"
] | 2
|
2022-01-15T17:56:45.000Z
|
2022-02-16T17:58:02.000Z
|
texmap/john1.asm
|
arbruijn/d1dos
|
00b969f31fd475530e7e24d7e9759c70705634e0
|
[
"Unlicense"
] | 1
|
2022-02-16T18:08:42.000Z
|
2022-02-21T07:42:27.000Z
|
texmap/john1.asm
|
arbruijn/d1dos
|
00b969f31fd475530e7e24d7e9759c70705634e0
|
[
"Unlicense"
] | null | null | null |
;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO
;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
;IN USING, DISPLAYING, AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
;SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
;FREE PURPOSES. IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
;CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES. THE END-USER UNDERSTANDS
;AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
;COPYRIGHT 1993-1998 PARALLAX SOFTWARE CORPORATION. ALL RIGHTS RESERVED.
; eax = 0
; ebx = l in fixed 24.8 (really 8.8)
; ecx = (dv << 16) | du (in fixed 8.8)
; edx = free
; esi = ptr to source bitmap ( 64x64 at 256bpr)
; edi = destination ptr
; ebp = dldx (in fixed 24.8) (really 8.8)
; MEM [0..3] = (u<<16) | v (in fixed 8.8)
; Code for 8-bit destination, lighting
REPT 8
mov al, [0] ; get u
mov ah, [2] ; get v
add [0], ecx ; inc u,v
mov al, [esi+eax] ; get source pixel
mov ah, bh ; form lighting lookup value
mov al, FadeTable[eax] ; get lit pixel
mov [edi], al ; write pixel to frame buffer
inc edi ; inc dest
add ebx, ebp ; inc lighting value
ENDM
REPT 8
mov al, [0] ; get u
mov ah, [2] ; get v
add [0], ecx ; inc u,v
mov al, [esi+eax] ; get source pixel
mov ah, bh ; form lighting lookup value
mov ax, FadeTable[eax*2] ; get lit pixel
mov [edi], ax ; write pixel to frame buffer
inc edi ; inc dest
add ebx, ebp ; inc lighting value
ENDM
REPT NUM_ITERATIONS
mov al, [0] ; get u
mov ah, [2] ; get v
add [0], ecx ; inc u,v
mov al, [esi+eax] ; get source pixel
mov [edi+OFFSET], al ; write pixel to frame buffer
ENDM
mov eax,ebp ; clear for
add ebp,edx ; update v coordinate
shr eax,26 ; shift in v coordinate
shld eax,ebx,6 ; shift in u coordinate while shifting up v coordinate
add ebx,ecx ; update u coordinate
mov al,[esi+eax] ; get pixel from source bitmap
mov [edi],al
inc edi ; XPARENT ADDED BY JOHN
; compute v coordinate
mov eax,[_fx_v] ; get v
cdq
idiv ecx ; eax = (v/z)
and eax,3fh ; mask with height-1
mov ebx,eax
; compute u coordinate
mov eax,esi ; get u
cdq
idiv ecx ; eax = (u/z)
shl eax,26
shld ebx,eax,6 ; esi = v*64+u
; read 1 pixel
movzx eax,byte ptr es:[ebx] ; get pixel from source bitmap
cmp _Lighting_on, 0
je NoLight1
; LIGHTING CODE
mov ebx, _fx_l ; get temp copy of lighting value
mov ah, bh ; get lighting level
add ebx, _fx_dl_dx ; update lighting value
mov al, fs:[eax] ; xlat pixel thru lighting tables
mov _fx_l, ebx ; save temp copy of lighting value
; transparency check
NoLight1: cmp al,255
je skip1
mov [edi],al
skip1: inc edi
; update deltas
add ebp,_fx_dv_dx
add esi,_fx_du_dx
add ecx,_fx_dz_dx
je _div_0_abort ; would be dividing by 0, so abort
xchg esi, ebx
dec _loop_count
jns tmap_loop
| 26.470085
| 76
| 0.672586
|
4bb61291854ff9d5de973a2e037ed6706a54229b
| 5,488
|
asm
|
Assembly
|
lib/sms_crt0.asm
|
grancier/z180
|
e83f35e36c9b4d1457e40585019430e901c86ed9
|
[
"ClArtistic"
] | null | null | null |
lib/sms_crt0.asm
|
grancier/z180
|
e83f35e36c9b4d1457e40585019430e901c86ed9
|
[
"ClArtistic"
] | null | null | null |
lib/sms_crt0.asm
|
grancier/z180
|
e83f35e36c9b4d1457e40585019430e901c86ed9
|
[
"ClArtistic"
] | 1
|
2019-12-03T23:57:48.000Z
|
2019-12-03T23:57:48.000Z
|
; Startup Code for Sega Master System
;
; Haroldo O. Pinheiro February 2006
;
; $Id: sms_crt0.asm,v 1.20 2016/07/13 22:12:25 dom Exp $
;
DEFC ROM_Start = $0000
DEFC INT_Start = $0038
DEFC NMI_Start = $0066
DEFC CODE_Start = $0100
DEFC RAM_Start = $C000
DEFC RAM_Length = $2000
DEFC Stack_Top = $dff0
MODULE sms_crt0
;-------
; Include zcc_opt.def to find out information about us
;-------
defc crt0 = 1
INCLUDE "zcc_opt.def"
;-------
; Some general scope declarations
;-------
EXTERN _main ;main() is always external to crt0 code
PUBLIC cleanup ;jp'd to by exit()
PUBLIC l_dcal ;jp(hl)
PUBLIC fputc_vdp_offs ;Current character pointer
PUBLIC aPLibMemory_bits;apLib support variable
PUBLIC aPLibMemory_byte;apLib support variable
PUBLIC aPLibMemory_LWM ;apLib support variable
PUBLIC aPLibMemory_R0 ;apLib support variable
PUBLIC raster_procs ;Raster interrupt handlers
PUBLIC pause_procs ;Pause interrupt handlers
PUBLIC timer ;This is incremented every time a VBL/HBL interrupt happens
PUBLIC _pause_flag ;This alternates between 0 and 1 every time pause is pressed
PUBLIC RG0SAV ;keeping track of VDP register values
PUBLIC RG1SAV
PUBLIC RG2SAV
PUBLIC RG3SAV
PUBLIC RG4SAV
PUBLIC RG5SAV
PUBLIC RG6SAV
PUBLIC RG7SAV
org ROM_Start
jp start
defm "Sega Master System - Small C+"
;-------
; Interrupt handlers
;-------
filler1:
defs (INT_Start - filler1)
int_RASTER:
push hl
ld a, ($BF)
or a
jp p, int_not_VBL ; Bit 7 not set
jr int_VBL
int_not_VBL:
pop hl
reti
int_VBL:
ld hl, timer
ld a, (hl)
inc a
ld (hl), a
inc hl
ld a, (hl)
adc a, 1
ld (hl), a ;Increments the timer
ld hl, raster_procs
jr int_handler
filler2:
defs (NMI_Start - filler2)
int_PAUSE:
push hl
ld hl, _pause_flag
ld a, (hl)
xor a, 1
ld (hl), a
ld hl, pause_procs
jr int_handler
int_handler:
push af
push bc
push de
int_loop:
ld a, (hl)
inc hl
or (hl)
jr z, int_done
push hl
ld a, (hl)
dec hl
ld l, (hl)
ld h, a
call call_int_handler
pop hl
inc hl
jr int_loop
int_done:
pop de
pop bc
pop af
pop hl
ei
reti
call_int_handler:
jp (hl)
;-------
; Beginning of the actual code
;-------
filler3:
defs (CODE_Start - filler3)
start:
; Make room for the atexit() stack
ld hl,Stack_Top-64
ld sp,hl
; Clear static memory
ld hl,RAM_Start
ld de,RAM_Start+1
ld bc,RAM_Length-1
ld (hl),0
ldir
call crt0_init_bss
ld (exitsp),sp
call DefaultInitialiseVDP
im 1
ei
; Entry to the user code
call _main
cleanup:
;
; Deallocate memory which has been allocated here!
;
push hl
IF !DEFINED_nostreams
EXTERN closeall
call closeall
ENDIF
endloop:
jr endloop
l_dcal:
jp (hl)
;---------------------------------
; VDP Initialization
;---------------------------------
DefaultInitialiseVDP:
push hl
push bc
ld hl,_Data
ld b,_End-_Data
ld c,$bf
otir
pop bc
pop hl
ret
DEFC SpriteSet = 0 ; 0 for sprites to use tiles 0-255, 1 for 256+
DEFC NameTableAddress = $3800 ; must be a multiple of $800; usually $3800; fills $700 bytes (unstretched)
DEFC SpriteTableAddress = $3f00 ; must be a multiple of $100; usually $3f00; fills $100 bytes
_Data:
defb @00000100,$80
; |||||||`- Disable synch
; ||||||`-- Enable extra height modes
; |||||`--- SMS mode instead of SG
; ||||`---- Shift sprites left 8 pixels
; |||`----- Enable line interrupts
; ||`------ Blank leftmost column for scrolling
; |`------- Fix top 2 rows during horizontal scrolling
; `-------- Fix right 8 columns during vertical scrolling
defb @10000100,$81
; |||| |`- Zoomed sprites -> 16x16 pixels
; |||| `-- Doubled sprites -> 2 tiles per sprite, 8x16
; |||`---- 30 row/240 line mode
; ||`----- 28 row/224 line mode
; |`------ Enable VBlank interrupts
; `------- Enable display
defb (NameTableAddress/1024) |@11110001,$82
defb (SpriteTableAddress/128)|@10000001,$85
defb (SpriteSet/4) |@11111011,$86
defb $f|$f0,$87
; `-------- Border palette colour (sprite palette)
defb $00,$88
; ``------- Horizontal scroll
defb $00,$89
; ``------- Vertical scroll
defb $ff,$8a
; ``------- Line interrupt spacing ($ff to disable)
_End:
INCLUDE "crt0_runtime_selection.asm"
defc __crt_org_bss = RAM_Start
; If we were given a model then use it
IF DEFINED_CRT_MODEL
defc __crt_model = CRT_MODEL
ELSE
defc __crt_model = 1
ENDIF
INCLUDE "crt0_section.asm"
SECTION bss_crt
fputc_vdp_offs: defw 0 ;Current character pointer
aPLibMemory_bits: defb 0 ;apLib support variable
aPLibMemory_byte: defb 0 ;apLib support variable
aPLibMemory_LWM: defb 0 ;apLib support variable
aPLibMemory_R0: defw 0 ;apLib support variable
raster_procs: defs 16 ;Raster interrupt handlers
pause_procs: defs 16 ;Pause interrupt handlers
timer: defw 0 ;This is incremented every time a VBL/HBL interrupt happens
_pause_flag: defb 0 ;This alternates between 0 and 1 every time pause is pressed
RG0SAV: defb 0 ;keeping track of VDP register values
RG1SAV: defb 0
RG2SAV: defb 0
RG3SAV: defb 0
RG4SAV: defb 0
RG5SAV: defb 0
RG6SAV: defb 0
RG7SAV: defb 0
| 20.477612
| 113
| 0.630831
|
d7e87935327971280d56f0875d133affbcdca003
| 922
|
asm
|
Assembly
|
5.SSE/SSEPackedAlignedIntAverage.asm
|
KDahir247/X86AssemblyPratice
|
f2f2267f4979e5332c727e49a9b3fb958f366938
|
[
"MIT"
] | 1
|
2021-02-15T00:44:26.000Z
|
2021-02-15T00:44:26.000Z
|
5.SSE/SSEPackedAlignedIntAverage.asm
|
KDahir247/X86AssemblyPratice
|
f2f2267f4979e5332c727e49a9b3fb958f366938
|
[
"MIT"
] | null | null | null |
5.SSE/SSEPackedAlignedIntAverage.asm
|
KDahir247/X86AssemblyPratice
|
f2f2267f4979e5332c727e49a9b3fb958f366938
|
[
"MIT"
] | null | null | null |
.model flat, c
;Simple Streaming SIMD Extensions example note that variables are aligned
;Implementation for this Assembly File
;extern "C" void SsePackedInt_Average(const Xmm * a, const Xmm* b, Xmm* result);
;c++ file below commented
.code
SsePackedInt_Average proc
push ebp
mov ebp, esp
mov eax, [ebp + 8]
mov ecx, [ebp + 12]
mov edx, [ebp + 16]
movdqa xmm0, [eax]
movdqa xmm1, [ecx]
pavgw xmm0, xmm1
movdqa [edx], xmm0
pop ebp
ret
SsePackedInt_Average endp
end
;#include <iostream>
;
;struct Xmm
;{
; __int16 i16[8];
;};
;
;extern "C" void SsePackedInt_Average(const Xmm * a, const Xmm* b, Xmm* result);
;
;int main()
;{
;
;__declspec(align(16)) Xmm a{5,20,30,1,-20,-25,-35, -20};
;__declspec(align(16)) Xmm a{5,20,30,1,-20,-25,-35, -20};
; __declspec(align(16)) Xmm c{};
;
;
; SsePackedInt_Average(&a, &b, &c);
;
; for (int i = 0; i < 8; i++) {
; printf("Result %i = %d \n",i, c.i16[i]);
; }
;}
| 17.396226
| 80
| 0.643167
|
a44784df86e51e7f2cc9a1f869f27fb6f578d7ef
| 747
|
asm
|
Assembly
|
oeis/164/A164485.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/164/A164485.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/164/A164485.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A164485: Number of binary strings of length n with no substrings equal to 0001, 1000 or 1001.
; Submitted by Jon Maiga
; 13,21,33,53,85,137,221,357,577,933,1509,2441,3949,6389,10337,16725,27061,43785,70845,114629,185473,300101,485573,785673,1271245,2056917,3328161,5385077,8713237,14098313,22811549,36909861,59721409,96631269,156352677,252983945,409336621,662320565,1071657185,1733977749,2805634933,4539612681,7345247613,11884860293,19230107905,31114968197,50345076101,81460044297,131805120397,213265164693,345070285089,558335449781,903405734869,1461741184649,2365146919517,3826888104165,6192035023681,10018923127845
mov $1,3
mov $2,2
lpb $0
sub $0,2
add $2,$1
add $1,$2
lpe
lpb $0
trn $0,$1
add $1,$2
lpe
mov $0,$1
mul $0,4
add $0,1
| 39.315789
| 497
| 0.796519
|
288db420201b6acb5260dc2ea905fa12b92dea8d
| 606
|
asm
|
Assembly
|
programs/oeis/276/A276394.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/276/A276394.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/276/A276394.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A276394: Characteristic word associated with the fraction 36/25.
; 0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,1,0,1,0,0,1,0,1,0,1,0
mov $4,$0
mov $5,2
lpb $5,1
mov $0,$4
sub $5,1
add $0,$5
sub $0,1
mul $0,2
add $0,4
mov $2,11
mul $2,$0
div $2,50
mov $3,$5
mov $6,$2
lpb $3,1
mov $1,$6
sub $3,1
lpe
lpe
lpb $4,1
sub $1,$6
mov $4,0
lpe
| 22.444444
| 297
| 0.516502
|
fdbcb5f393081f77edce5ae1f4dd0d18118ad9c2
| 7,243
|
asm
|
Assembly
|
audio/headers/sfxheaders1.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 16
|
2018-08-28T21:47:01.000Z
|
2022-02-20T20:29:59.000Z
|
audio/headers/sfxheaders1.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 5
|
2019-04-03T19:53:11.000Z
|
2022-03-11T22:49:34.000Z
|
audio/headers/sfxheaders1.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 2
|
2019-12-09T19:46:02.000Z
|
2020-12-05T21:36:30.000Z
|
SFX_Headers_1::
dbw -1, -1 ; padding
SFX_Snare1_1::
dbw CH7, SFX_Snare1_1_Ch1
SFX_Snare2_1::
dbw CH7, SFX_Snare2_1_Ch1
SFX_Snare3_1::
dbw CH7, SFX_Snare3_1_Ch1
SFX_Snare4_1::
dbw CH7, SFX_Snare4_1_Ch1
SFX_Snare5_1::
dbw CH7, SFX_Snare5_1_Ch1
SFX_Triangle1_1::
dbw CH7, SFX_Triangle1_1_Ch1
SFX_Triangle2_1::
dbw CH7, SFX_Triangle2_1_Ch1
SFX_Snare6_1::
dbw CH7, SFX_Snare6_1_Ch1
SFX_Snare7_1::
dbw CH7, SFX_Snare7_1_Ch1
SFX_Snare8_1::
dbw CH7, SFX_Snare8_1_Ch1
SFX_Snare9_1::
dbw CH7, SFX_Snare9_1_Ch1
SFX_Cymbal1_1::
dbw CH7, SFX_Cymbal1_1_Ch1
SFX_Cymbal2_1::
dbw CH7, SFX_Cymbal2_1_Ch1
SFX_Cymbal3_1::
dbw CH7, SFX_Cymbal3_1_Ch1
SFX_Muted_Snare1_1::
dbw CH7, SFX_Muted_Snare1_1_Ch1
SFX_Triangle3_1::
dbw CH7, SFX_Triangle3_1_Ch1
SFX_Muted_Snare2_1::
dbw CH7, SFX_Muted_Snare2_1_Ch1
SFX_Muted_Snare3_1::
dbw CH7, SFX_Muted_Snare3_1_Ch1
SFX_Muted_Snare4_1::
dbw CH7, SFX_Muted_Snare4_1_Ch1
SFX_Cry00_1::
dbw ( $80 | CH4 ), SFX_Cry00_1_Ch1
dbw CH5, SFX_Cry00_1_Ch2
dbw CH7, SFX_Cry00_1_Ch3
SFX_Cry01_1::
dbw ( $80 | CH4 ), SFX_Cry01_1_Ch1
dbw CH5, SFX_Cry01_1_Ch2
dbw CH7, SFX_Cry01_1_Ch3
SFX_Cry02_1::
dbw ( $80 | CH4 ), SFX_Cry02_1_Ch1
dbw CH5, SFX_Cry02_1_Ch2
dbw CH7, SFX_Cry02_1_Ch3
SFX_Cry03_1::
dbw ( $80 | CH4 ), SFX_Cry03_1_Ch1
dbw CH5, SFX_Cry03_1_Ch2
dbw CH7, SFX_Cry03_1_Ch3
SFX_Cry04_1::
dbw ( $80 | CH4 ), SFX_Cry04_1_Ch1
dbw CH5, SFX_Cry04_1_Ch2
dbw CH7, SFX_Cry04_1_Ch3
SFX_Cry05_1::
dbw ( $80 | CH4 ), SFX_Cry05_1_Ch1
dbw CH5, SFX_Cry05_1_Ch2
dbw CH7, SFX_Cry05_1_Ch3
SFX_Cry06_1::
dbw ( $80 | CH4 ), SFX_Cry06_1_Ch1
dbw CH5, SFX_Cry06_1_Ch2
dbw CH7, SFX_Cry06_1_Ch3
SFX_Cry07_1::
dbw ( $80 | CH4 ), SFX_Cry07_1_Ch1
dbw CH5, SFX_Cry07_1_Ch2
dbw CH7, SFX_Cry07_1_Ch3
SFX_Cry08_1::
dbw ( $80 | CH4 ), SFX_Cry08_1_Ch1
dbw CH5, SFX_Cry08_1_Ch2
dbw CH7, SFX_Cry08_1_Ch3
SFX_Cry09_1::
dbw ( $80 | CH4 ), SFX_Cry09_1_Ch1
dbw CH5, SFX_Cry09_1_Ch2
dbw CH7, SFX_Cry09_1_Ch3
SFX_Cry0A_1::
dbw ( $80 | CH4 ), SFX_Cry0A_1_Ch1
dbw CH5, SFX_Cry0A_1_Ch2
dbw CH7, SFX_Cry0A_1_Ch3
SFX_Cry0B_1::
dbw ( $80 | CH4 ), SFX_Cry0B_1_Ch1
dbw CH5, SFX_Cry0B_1_Ch2
dbw CH7, SFX_Cry0B_1_Ch3
SFX_Cry0C_1::
dbw ( $80 | CH4 ), SFX_Cry0C_1_Ch1
dbw CH5, SFX_Cry0C_1_Ch2
dbw CH7, SFX_Cry0C_1_Ch3
SFX_Cry0D_1::
dbw ( $80 | CH4 ), SFX_Cry0D_1_Ch1
dbw CH5, SFX_Cry0D_1_Ch2
dbw CH7, SFX_Cry0D_1_Ch3
SFX_Cry0E_1::
dbw ( $80 | CH4 ), SFX_Cry0E_1_Ch1
dbw CH5, SFX_Cry0E_1_Ch2
dbw CH7, SFX_Cry0E_1_Ch3
SFX_Cry0F_1::
dbw ( $80 | CH4 ), SFX_Cry0F_1_Ch1
dbw CH5, SFX_Cry0F_1_Ch2
dbw CH7, SFX_Cry0F_1_Ch3
SFX_Cry10_1::
dbw ( $80 | CH4 ), SFX_Cry10_1_Ch1
dbw CH5, SFX_Cry10_1_Ch2
dbw CH7, SFX_Cry10_1_Ch3
SFX_Cry11_1::
dbw ( $80 | CH4 ), SFX_Cry11_1_Ch1
dbw CH5, SFX_Cry11_1_Ch2
dbw CH7, SFX_Cry11_1_Ch3
SFX_Cry12_1::
dbw ( $80 | CH4 ), SFX_Cry12_1_Ch1
dbw CH5, SFX_Cry12_1_Ch2
dbw CH7, SFX_Cry12_1_Ch3
SFX_Cry13_1::
dbw ( $80 | CH4 ), SFX_Cry13_1_Ch1
dbw CH5, SFX_Cry13_1_Ch2
dbw CH7, SFX_Cry13_1_Ch3
SFX_Cry14_1::
dbw ( $80 | CH4 ), SFX_Cry14_1_Ch1
dbw CH5, SFX_Cry14_1_Ch2
dbw CH7, SFX_Cry14_1_Ch3
SFX_Cry15_1::
dbw ( $80 | CH4 ), SFX_Cry15_1_Ch1
dbw CH5, SFX_Cry15_1_Ch2
dbw CH7, SFX_Cry15_1_Ch3
SFX_Cry16_1::
dbw ( $80 | CH4 ), SFX_Cry16_1_Ch1
dbw CH5, SFX_Cry16_1_Ch2
dbw CH7, SFX_Cry16_1_Ch3
SFX_Cry17_1::
dbw ( $80 | CH4 ), SFX_Cry17_1_Ch1
dbw CH5, SFX_Cry17_1_Ch2
dbw CH7, SFX_Cry17_1_Ch3
SFX_Cry18_1::
dbw ( $80 | CH4 ), SFX_Cry18_1_Ch1
dbw CH5, SFX_Cry18_1_Ch2
dbw CH7, SFX_Cry18_1_Ch3
SFX_Cry19_1::
dbw ( $80 | CH4 ), SFX_Cry19_1_Ch1
dbw CH5, SFX_Cry19_1_Ch2
dbw CH7, SFX_Cry19_1_Ch3
SFX_Cry1A_1::
dbw ( $80 | CH4 ), SFX_Cry1A_1_Ch1
dbw CH5, SFX_Cry1A_1_Ch2
dbw CH7, SFX_Cry1A_1_Ch3
SFX_Cry1B_1::
dbw ( $80 | CH4 ), SFX_Cry1B_1_Ch1
dbw CH5, SFX_Cry1B_1_Ch2
dbw CH7, SFX_Cry1B_1_Ch3
SFX_Cry1C_1::
dbw ( $80 | CH4 ), SFX_Cry1C_1_Ch1
dbw CH5, SFX_Cry1C_1_Ch2
dbw CH7, SFX_Cry1C_1_Ch3
SFX_Cry1D_1::
dbw ( $80 | CH4 ), SFX_Cry1D_1_Ch1
dbw CH5, SFX_Cry1D_1_Ch2
dbw CH7, SFX_Cry1D_1_Ch3
SFX_Cry1E_1::
dbw ( $80 | CH4 ), SFX_Cry1E_1_Ch1
dbw CH5, SFX_Cry1E_1_Ch2
dbw CH7, SFX_Cry1E_1_Ch3
SFX_Cry1F_1::
dbw ( $80 | CH4 ), SFX_Cry1F_1_Ch1
dbw CH5, SFX_Cry1F_1_Ch2
dbw CH7, SFX_Cry1F_1_Ch3
SFX_Cry20_1::
dbw ( $80 | CH4 ), SFX_Cry20_1_Ch1
dbw CH5, SFX_Cry20_1_Ch2
dbw CH7, SFX_Cry20_1_Ch3
SFX_Cry21_1::
dbw ( $80 | CH4 ), SFX_Cry21_1_Ch1
dbw CH5, SFX_Cry21_1_Ch2
dbw CH7, SFX_Cry21_1_Ch3
SFX_Cry22_1::
dbw ( $80 | CH4 ), SFX_Cry22_1_Ch1
dbw CH5, SFX_Cry22_1_Ch2
dbw CH7, SFX_Cry22_1_Ch3
SFX_Cry23_1::
dbw ( $80 | CH4 ), SFX_Cry23_1_Ch1
dbw CH5, SFX_Cry23_1_Ch2
dbw CH7, SFX_Cry23_1_Ch3
SFX_Cry24_1::
dbw ( $80 | CH4 ), SFX_Cry24_1_Ch1
dbw CH5, SFX_Cry24_1_Ch2
dbw CH7, SFX_Cry24_1_Ch3
SFX_Cry25_1::
dbw ( $80 | CH4 ), SFX_Cry25_1_Ch1
dbw CH5, SFX_Cry25_1_Ch2
dbw CH7, SFX_Cry25_1_Ch3
SFX_Get_Item1_1::
dbw ( $80 | CH4 ), SFX_Get_Item1_1_Ch1
dbw CH5, SFX_Get_Item1_1_Ch2
dbw CH6, SFX_Get_Item1_1_Ch3
SFX_Get_Item2_1::
dbw ( $80 | CH4 ), SFX_Get_Item2_1_Ch1
dbw CH5, SFX_Get_Item2_1_Ch2
dbw CH6, SFX_Get_Item2_1_Ch3
SFX_Tink_1::
dbw CH4, SFX_Tink_1_Ch1
SFX_Heal_HP_1::
dbw CH4, SFX_Heal_HP_1_Ch1
SFX_Heal_Ailment_1::
dbw CH4, SFX_Heal_Ailment_1_Ch1
SFX_Start_Menu_1::
dbw CH7, SFX_Start_Menu_1_Ch1
SFX_Press_AB_1::
dbw CH4, SFX_Press_AB_1_Ch1
SFX_Pokedex_Rating_1::
dbw ( $80 | CH4 ), SFX_Pokedex_Rating_1_Ch1
dbw CH5, SFX_Pokedex_Rating_1_Ch2
dbw CH6, SFX_Pokedex_Rating_1_Ch3
SFX_Get_Key_Item_1::
dbw ( $80 | CH4 ), SFX_Get_Key_Item_1_Ch1
dbw CH5, SFX_Get_Key_Item_1_Ch2
dbw CH6, SFX_Get_Key_Item_1_Ch3
SFX_Poisoned_1::
dbw CH4, SFX_Poisoned_1_Ch1
SFX_Trade_Machine_1::
dbw CH4, SFX_Trade_Machine_1_Ch1
SFX_Turn_On_PC_1::
dbw CH4, SFX_Turn_On_PC_1_Ch1
SFX_Turn_Off_PC_1::
dbw CH4, SFX_Turn_Off_PC_1_Ch1
SFX_Enter_PC_1::
dbw CH4, SFX_Enter_PC_1_Ch1
SFX_Shrink_1::
dbw CH4, SFX_Shrink_1_Ch1
SFX_Switch_1::
dbw CH4, SFX_Switch_1_Ch1
SFX_Healing_Machine_1::
dbw CH4, SFX_Healing_Machine_1_Ch1
SFX_Teleport_Exit1_1::
dbw CH4, SFX_Teleport_Exit1_1_Ch1
SFX_Teleport_Enter1_1::
dbw CH4, SFX_Teleport_Enter1_1_Ch1
SFX_Teleport_Exit2_1::
dbw CH4, SFX_Teleport_Exit2_1_Ch1
SFX_Ledge_1::
dbw CH4, SFX_Ledge_1_Ch1
SFX_Teleport_Enter2_1::
dbw CH7, SFX_Teleport_Enter2_1_Ch1
SFX_Fly_1::
dbw CH7, SFX_Fly_1_Ch1
SFX_Denied_1::
dbw ( $40 | CH4 ), SFX_Denied_1_Ch1
dbw CH5, SFX_Denied_1_Ch2
SFX_Arrow_Tiles_1::
dbw CH4, SFX_Arrow_Tiles_1_Ch1
SFX_Push_Boulder_1::
dbw CH7, SFX_Push_Boulder_1_Ch1
SFX_SS_Anne_Horn_1::
dbw ( $40 | CH4 ), SFX_SS_Anne_Horn_1_Ch1
dbw CH5, SFX_SS_Anne_Horn_1_Ch2
SFX_Withdraw_Deposit_1::
dbw CH4, SFX_Withdraw_Deposit_1_Ch1
SFX_Cut_1::
dbw CH7, SFX_Cut_1_Ch1
SFX_Go_Inside_1::
dbw CH7, SFX_Go_Inside_1_Ch1
SFX_Swap_1::
dbw ( $40 | CH4 ), SFX_Swap_1_Ch1
dbw CH5, SFX_Swap_1_Ch2
SFX_59_1::
dbw ( $40 | CH4 ), SFX_59_1_Ch1
dbw CH5, SFX_59_1_Ch2
SFX_Purchase_1::
dbw ( $40 | CH4 ), SFX_Purchase_1_Ch1
dbw CH5, SFX_Purchase_1_Ch2
SFX_Collision_1::
dbw CH4, SFX_Collision_1_Ch1
SFX_Go_Outside_1::
dbw CH7, SFX_Go_Outside_1_Ch1
SFX_Save_1::
dbw ( $40 | CH4 ), SFX_Save_1_Ch1
dbw CH5, SFX_Save_1_Ch2
SFX_Pokeflute::
dbw CH2, SFX_Pokeflute_Ch1
SFX_Safari_Zone_PA::
dbw CH4, SFX_Safari_Zone_PA_Ch1
| 19.161376
| 44
| 0.765014
|
0fc185340c7eb085ee6901ddf38b2a2c9767abbd
| 228
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/ctype/c/sccz80/isdigit.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | 8
|
2017-01-18T12:02:17.000Z
|
2021-06-12T09:40:28.000Z
|
libsrc/_DEVELOPMENT/ctype/c/sccz80/isdigit.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | 1
|
2017-03-06T07:41:56.000Z
|
2017-03-06T07:41:56.000Z
|
libsrc/_DEVELOPMENT/ctype/c/sccz80/isdigit.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | 3
|
2017-03-07T03:19:40.000Z
|
2021-09-15T17:59:19.000Z
|
; int isdigit(int c)
SECTION code_clib
SECTION code_ctype
PUBLIC isdigit
EXTERN asm_isdigit, error_zc
isdigit:
inc h
dec h
jp nz, error_zc
ld a,l
call asm_isdigit
ld l,h
ret c
inc l
ret
| 9.12
| 28
| 0.640351
|
0d95da3e741535357b9c6341d45a3a9ac72e7fae
| 10
|
asm
|
Assembly
|
src/main/fragment/mos6502-common/vbuaa=_byte1_pvom1.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/main/fragment/mos6502-common/vbuaa=_byte1_vwum1.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/main/fragment/mos6502-common/vbuaa=_byte1_vwum1.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
lda {m1}+1
| 10
| 10
| 0.6
|
6e42537595318804f1273f7ddff4a2b60885401d
| 1,538
|
asm
|
Assembly
|
programs/oeis/288/A288601.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/288/A288601.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/288/A288601.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A288601: Positions of 0 in A288600; complement of A288602.
; 1,3,4,6,8,9,12,13,15,18,19,21,23,24,28,29,31,33,34,37,38,40,44,45,47,49,50,53,54,56,59,60,62,64,65,70,71,73,75,76,79,80,82,85,86,88,90,91,95,96,98,100,101,104,105,107,112,113,115,117,118,121,122,124,127,128,130,132,133,137,138,140,142,143,146,147,149,153,154,156,158,159,162,163,165,168,169,171,173,174,180,181,183,185,186,189,190,192,195,196,198,200,201,205,206,208,210,211,214,215,217,221,222,224,226,227,230,231,233,236,237,239,241,242,247,248,250,252,253,256,257,259,262,263,265,267,268,272,273,275,277,278,281,282,284,290,291,293,295,296,299,300,302,305,306,308,310,311,315,316,318,320,321,324,325,327,331,332,334,336,337,340,341,343,346,347,349,351,352,357,358,360,362,363,366,367,369,372,373,375,377,378,382,383,385,387,388,391,392,394,399,400,402,404,405,408,409,411,414,415,417,419,420,424,425,427,429,430,433,434,436,440,441,443,445,446,449,450,452,455,456,458,460,461,468,469,471,473,474,477,478,480,483,484,486,488,489,493,494,496
mov $9,$0
mov $11,$0
add $11,1
lpb $11
mov $0,$9
sub $11,1
sub $0,$11
mov $5,$0
mov $7,2
lpb $7
clr $0,5
mov $0,$5
sub $7,1
add $0,$7
sub $0,1
lpb $0
sub $0,1
mov $1,$0
mov $2,1
cal $1,219641 ; a(n) = n minus (number of 1's in Zeckendorf expansion of n).
mov $0,0
add $2,$1
lpe
mov $1,$2
mov $8,$7
lpb $8
mov $6,$1
sub $8,1
lpe
lpe
lpb $5
mov $5,0
sub $6,$1
lpe
mov $1,$6
add $1,1
add $10,$1
lpe
mov $1,$10
| 35.767442
| 944
| 0.63329
|
8c86f69d3caa5d2e701fd5b9b74d3e5ae70e275b
| 6,470
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1129.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1129.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1129.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xcd1a, %r13
nop
nop
nop
add $31138, %rax
mov (%r13), %r11w
nop
nop
nop
nop
nop
and $38280, %r15
lea addresses_WT_ht+0x1e5ea, %r9
inc %r13
mov $0x6162636465666768, %rcx
movq %rcx, %xmm6
movups %xmm6, (%r9)
nop
nop
nop
nop
sub %rcx, %rcx
lea addresses_normal_ht+0x1bd12, %r13
nop
nop
sub %r9, %r9
mov (%r13), %r11
nop
nop
nop
nop
nop
and %r15, %r15
lea addresses_normal_ht+0xd09a, %r9
clflush (%r9)
nop
nop
nop
nop
nop
sub %rbp, %rbp
movl $0x61626364, (%r9)
nop
nop
nop
nop
xor %r11, %r11
lea addresses_normal_ht+0x4be6, %rsi
lea addresses_normal_ht+0xb89a, %rdi
nop
dec %rbp
mov $20, %rcx
rep movsq
nop
add %rdi, %rdi
lea addresses_normal_ht+0x4a9a, %rsi
lea addresses_A_ht+0xd28a, %rdi
clflush (%rdi)
sub %rax, %rax
mov $65, %rcx
rep movsl
nop
nop
nop
xor $26516, %rsi
lea addresses_normal_ht+0x759a, %r13
nop
nop
nop
nop
sub $22702, %rbp
mov (%r13), %rdi
nop
nop
inc %rdi
lea addresses_WC_ht+0xda9a, %rbp
and %rsi, %rsi
mov (%rbp), %r9d
xor $53865, %r15
lea addresses_normal_ht+0x1e9aa, %r11
clflush (%r11)
add $45862, %r15
and $0xffffffffffffffc0, %r11
movntdqa (%r11), %xmm4
vpextrq $0, %xmm4, %r13
nop
nop
nop
nop
nop
sub %r11, %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r15
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r14
push %r15
push %rbp
// Store
lea addresses_WT+0x10b0a, %rbp
nop
nop
nop
nop
xor %r14, %r14
movw $0x5152, (%rbp)
nop
nop
nop
inc %r10
// Faulty Load
lea addresses_PSE+0xc99a, %r10
cmp $40345, %r11
movb (%r10), %r14b
lea oracles, %r12
and $0xff, %r14
shlq $12, %r14
mov (%r12,%r14,1), %r14
pop %rbp
pop %r15
pop %r14
pop %r13
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 4}}
[Faulty Load]
{'src': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 7}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 3}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 3}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 6}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 6}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 7}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': True, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'33': 21829}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 37.183908
| 2,999
| 0.659351
|
8df9ddb95af9f9e84ae15346354d3dbfa17f09ad
| 749
|
asm
|
Assembly
|
libsrc/target/zx81/zx81/chroma81/zx_pxy2aaddr_callee.asm
|
ahjelm/z88dk
|
c4de367f39a76b41f6390ceeab77737e148178fa
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/target/zx81/zx81/chroma81/zx_pxy2aaddr_callee.asm
|
C-Chads/z88dk
|
a4141a8e51205c6414b4ae3263b633c4265778e6
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/target/zx81/zx81/chroma81/zx_pxy2aaddr_callee.asm
|
C-Chads/z88dk
|
a4141a8e51205c6414b4ae3263b633c4265778e6
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
; uchar __CALLEE__ *zx_pxy2aaddr_callee(uchar xcoord, uchar ycoord)
; Stefano, 2014.12
SECTION code_clib
PUBLIC zx_pxy2aaddr_callee
PUBLIC _zx_pxy2aaddr_callee
PUBLIC asm_zx_pxy2aaddr
EXTERN HRG_LineStart
.zx_pxy2aaddr_callee
._zx_pxy2aaddr_callee
pop hl
pop de
ex (sp),hl
ld h,e
.asm_zx_pxy2aaddr
; enter: l = pix X 0..255
; h = pix Y 0..191
; exit : hl = screen address
; uses : af, hl, +bc, +de
ld a,l
rra
rra
rra
and $1f
ld c,a
ld a,h
rra
rra
rra
and $1f
ld b,a
IF FORlambda
ld hl,8319
ELSE
ld hl,HRG_LineStart+2+32768
ENDIF
jr z,zrow
IF FORlambda
ld de,33
ELSE
ld de,35
ENDIF
.rloop
add hl,de
djnz rloop
.zrow
ld e,c
add hl,de
ret
| 13.375
| 67
| 0.639519
|
cd49ec4c88ac9933662c5df5e01bd94dacfba48c
| 705
|
asm
|
Assembly
|
programs/oeis/165/A165479.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/165/A165479.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/165/A165479.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A165479: a(n) = Least i in range [A165478(n),A165478(n+1)] for which abs(A165477(i)) gets the maximum value in that range.
; 43690,131070,174761,262141,305832,393212,436903,524283,567974,655354,699045,786425,830116,917496,961187,1048567,1092258,1179638,1223329,1310709,1354400,1441780,1485471,1572851,1616542,1703922
mov $4,$0
mov $9,$0
add $9,1
lpb $9
mov $0,$4
sub $9,1
sub $0,$9
mov $2,2
lpb $0
sub $0,1
gcd $0,2
mov $5,$0
trn $0,7
add $2,$3
sub $2,$3
mul $2,2
mov $6,$5
pow $5,$5
add $7,1
gcd $7,3
cal $8,142
lpe
mov $3,$8
add $3,$7
add $5,$2
pow $6,7
pow $6,$3
mul $6,$5
mov $3,$6
div $3,3
add $3,43690
add $1,$3
lpe
| 19.054054
| 193
| 0.594326
|
06f622c8175145e16d8a4280b64d4bc92108e26c
| 548
|
asm
|
Assembly
|
MODULE2/1-exit_shellcode/exit2/exit2.asm
|
wetw0rk/SLAE
|
c78bc5a8559b35fefb0b3302be8d3d1acd712e11
|
[
"MIT"
] | 18
|
2017-11-28T01:10:10.000Z
|
2020-07-22T13:24:26.000Z
|
MODULE2/1-exit_shellcode/exit2/exit2.asm
|
wetw0rk/SLAE
|
c78bc5a8559b35fefb0b3302be8d3d1acd712e11
|
[
"MIT"
] | null | null | null |
MODULE2/1-exit_shellcode/exit2/exit2.asm
|
wetw0rk/SLAE
|
c78bc5a8559b35fefb0b3302be8d3d1acd712e11
|
[
"MIT"
] | 11
|
2018-12-14T16:18:03.000Z
|
2020-12-01T16:37:19.000Z
|
; Executable name : exit2
; Designed OS : Linux (32-bit)
; Author : wetw0rk
; Version : 1.0
; Created Following : SLAE
; Description : An example of exit shellcode, without NULL bytes
;
; Build using these commands:
; nasm -f elf32 -o exit2.o exit2.asm
; ld -o exit2 exit2.o
; objdump -d exit2 -M intel
;
SECTION .text
global _start
_start:
xor eax,eax ; zero out register
mov al,1 ; make the exit() syscall
xor ebx,ebx ; zero out register
mov bl,1 ; exit
int 80h ; call the kernel
| 22.833333
| 74
| 0.625912
|
04860e4aaa894ea2c202193b76a8ec503cc78a22
| 944
|
asm
|
Assembly
|
eng_mecat_bkp/P2_led.asm
|
Mutanne/hiworld
|
d4c536775ecdd948b6fa205cd43fb5f92c7496c5
|
[
"Unlicense"
] | null | null | null |
eng_mecat_bkp/P2_led.asm
|
Mutanne/hiworld
|
d4c536775ecdd948b6fa205cd43fb5f92c7496c5
|
[
"Unlicense"
] | null | null | null |
eng_mecat_bkp/P2_led.asm
|
Mutanne/hiworld
|
d4c536775ecdd948b6fa205cd43fb5f92c7496c5
|
[
"Unlicense"
] | null | null | null |
org 0Ah
leds EQU P3 ;porta com os leds
sw EQU P1 ;porta com as chaves
mov sw,#00h ;reseta a porta P1
;-----parte1----------------
sw1:
mov A,sw
cjne A,#01h,sw2
mov A,#0fh
sw1_1:
swap A
mov leds,A
mov R0,sw
cjne R0,#01h,sw2
sjmp sw1_1
;-----parte2----------------
sw2:
org 00h
db 0,80h,0C0h,0E0h,0F0h,0F8h,0FCh,0FEh,0FFh
org 1Fh
mov R0,#0h
acende:
mov A,sw
mov leds,@R0
cjne A,#02h,sw3
inc R0
cjne R0,#09h,acende
dec R0
apaga:
mov A,sw
mov leds,@R0
cjne A,#02h,sw3
djnz R0,apaga
jmp acende
;-----parte3----------------
sw3:
mov A,#55h
alt:
mov R0,sw
cjne R0,#04h,sw4
mov leds,A
rl A
mov leds,A
rr A
sjmp alt
;-----parte4----------------
sw4:
mov R0,sw
cjne R0,#05h,sw5
mov a,#80h
roda_dir:
mov R0,sw
cjne R0,#05h,sw5
mov leds,A
rr a
sjmp roda_dir
;-----parte5----------------
sw5:
mov R0,sw
cjne R0,#06h,sw1
mov a,#01h
roda_esq:
mov R0,sw
cjne R0,#06h,sw1
mov leds,A
rl a
sjmp roda_esq
| 12.102564
| 44
| 0.59322
|
7e246c7eb74d84c61fcdb2a0af92b7a169a0a175
| 244
|
asm
|
Assembly
|
8085_programming/gnu_8085_rev/bcd_to_bin.asm
|
SayanGhoshBDA/code-backup
|
8b6135facc0e598e9686b2e8eb2d69dd68198b80
|
[
"MIT"
] | 16
|
2018-11-26T08:39:42.000Z
|
2019-05-08T10:09:52.000Z
|
8085_programming/gnu_8085_rev/bcd_to_bin.asm
|
SayanGhoshBDA/code-backup
|
8b6135facc0e598e9686b2e8eb2d69dd68198b80
|
[
"MIT"
] | 8
|
2020-05-04T06:29:26.000Z
|
2022-02-12T05:33:16.000Z
|
8085_programming/gnu_8085_rev/bcd_to_bin.asm
|
SayanGhoshBDA/code-backup
|
8b6135facc0e598e9686b2e8eb2d69dd68198b80
|
[
"MIT"
] | 5
|
2020-02-11T16:02:21.000Z
|
2021-02-05T07:48:30.000Z
|
// 72 IN BCD -> 48 IN BINARY
LXI H,2050
MOV A,M
MVI C,09
ANI 0F
MOV B,A
MOV A,M
ANI F0
RRC
RRC
RRC
RRC
MOV D,A
L1: ADD D
DCR C
JNZ L1
ADD B
OUT 20
HLT
# ORG 2050H
# DB 72H
| 10.608696
| 28
| 0.463115
|
d8d48375851f49c5d2af3fbbc69a2c813f5ea0f4
| 877
|
asm
|
Assembly
|
programs/oeis/164/A164265.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/164/A164265.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/164/A164265.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A164265: Partial sums of A162766.
; 4,7,19,28,64,91,199,280,604,847,1819,2548,5464,7651,16399,22960,49204,68887,147619,206668,442864,620011,1328599,1860040,3985804,5580127,11957419,16740388,35872264,50221171,107616799,150663520,322850404,451990567,968551219,1355971708,2905653664,4067915131,8716960999,12203745400,26150883004,36611236207,78452649019,109833708628,235357947064,329501125891,706073841199,988503377680,2118221523604,2965510133047,6354664570819,8896530399148,19063993712464,26689591197451,57191981137399,80068773592360,171575943412204,240206320777087,514727830236619,720618962331268,1544183490709864,2161856886993811,4632550472129599,6485570660981440
mov $4,$0
mod $0,2
add $0,1
mov $3,$0
mul $4,2
add $4,3
mov $0,$4
sub $0,2
mov $2,14
add $2,$3
add $0,$2
add $0,3
lpb $0,1
sub $0,4
mov $1,$3
mul $3,3
add $3,3
lpe
sub $1,201
div $1,81
mul $1,3
add $1,4
| 33.730769
| 628
| 0.800456
|
6ecd21978b2b84188205a9426d50503fb5a76bad
| 2,234
|
asm
|
Assembly
|
editor/fast.asm
|
dvorka/naaga
|
dce26f9803816befd3185bec3ea43ecfe3ffcaad
|
[
"Apache-2.0"
] | 1
|
2015-04-06T17:49:02.000Z
|
2015-04-06T17:49:02.000Z
|
editor/fast.asm
|
dvorka/naaga
|
dce26f9803816befd3185bec3ea43ecfe3ffcaad
|
[
"Apache-2.0"
] | null | null | null |
editor/fast.asm
|
dvorka/naaga
|
dce26f9803816befd3185bec3ea43ecfe3ffcaad
|
[
"Apache-2.0"
] | null | null | null |
.386
IDEAL
MODEL SMALL, C
CODESEG
PUBLIC C SlowShow320x200 ; to be seen in other modules
;- macros -----------------------------------------------------------------------------
MACRO NORMALIZE_POINTER sg, off
; seg = seg + off/2^4
; off = off mod 2^4
push sg
mov sg, off
shr sg, 4 ; off /= 4
mov bp, sp ; sp nelze pouzit v ALU
add sg, [ss:bp] ; add off/4, seg
and off, 0Fh
pop bp ; popnu seg
ENDM NORMALIZE_POINTER
;- procs -----------------------------------------------------------------------------
PROC NormalizePointer
ARG @@sg:WORD, @@of:WORD
mov ax, [@@sg] ; !!! musi byt [] !!!
mov ds, ax ; prepr. jen vlozi misto @@sg
mov ax, [@@of] ; vyraz bp-2, ja referencuji
NORMALIZE_POINTER dx, ax
ret ; !!! musi byt ret !!!
ENDP NormalizePointer
;------------------------------------------------------------------------------
;
; proc for slow putting number*4 bytes to screen at A000:0000
;
;------------------------------------------------------------------------------
PROC C SlowShow320x200
ARG originalFP_SEG:WORD, originalFP_OFF:WORD, number:WORD
PUSH DI
PUSH SI
MOV CX, [number]
; source
PUSH DS
MOV AX, [originalFP_SEG]
MOV DS, AX
MOV SI, [originalFP_OFF]
; destination
PUSH ES
MOV AX, 0A000h
MOV ES, AX
MOV DI, 0000h
;- wait retrace ------------------------------------------------------------------
mov dx,3DAh
l1:
in al,dx
and al,08h
jnz l1
l2:
in al,dx
and al,08h
jz l2
;- wait retrace ------------------------------------------------------------------
REP MOVSD
POP ES
POP DS
POP SI
POP DI
RET
ENDP
END
;----------------------------------------------------------------------------
| 19.596491
| 88
| 0.335721
|
5fdbb1fbddb093f7e0216856a70b897c91d2e02b
| 737
|
asm
|
Assembly
|
oeis/028/A028223.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/028/A028223.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/028/A028223.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A028223: Expansion of 1/((1-7x)(1-8x)(1-10x)(1-12x)).
; Submitted by Jon Maiga
; 1,37,863,16241,269703,4129041,59748151,829986817,11183795975,147236359985,1903757010519,24269169222753,305923748441767,3821741982426769,47397910610955767,584393237595955649,7170921123096030279,87649462181509559793,1067910349514577164695,12977165356777859683105,157357060733536424756711,1904665370479704437893457,23020353789592145287586103,277892469698714152858478721,3351228316483897221573008263,40380219442774606541128106161,486219781902250543040126616791,5851227751543136451274247152097
mov $1,1
mov $2,$0
mov $3,$0
lpb $2
mov $0,$3
sub $2,1
sub $0,$2
seq $0,20838 ; Expansion of 1/((1-7x)(1-8x)(1-10x)).
mul $1,12
add $1,$0
lpe
mov $0,$1
| 43.352941
| 490
| 0.810041
|
03eec0c3d2d6621d29e60c0245a4fc6f3bfe8478
| 430
|
asm
|
Assembly
|
programs/oeis/106/A106505.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/106/A106505.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/106/A106505.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A106505: Ordered and uniqued length of side common to the two angles, one being the double of the other, of a primitive integer-sided triangle.
; 5,7,9,11,13,15,16,17,19,21,23,24,25,27,29,31,32,33,35,37,39,40,41,43,45,47,48,49,51,53,55,56,57,59,61,63,64,65,67,69,71,72,73,75,77,79,80,81,83,85,87,88,89,91,93,95,96,97,99,101,103,104,105,107,109,111,112
mov $2,$0
lpb $2
trn $0,5
add $1,2
trn $1,$0
sub $2,1
lpe
add $1,5
| 35.833333
| 207
| 0.676744
|
9d93a33aba09bdb84509eef3fc1d0792d5916747
| 886
|
asm
|
Assembly
|
data/pokemon/base_stats/ampharos.asm
|
AtmaBuster/pokeplat-gen2
|
fa83b2e75575949b8f72cb2c48f7a1042e97f70f
|
[
"blessing"
] | 6
|
2021-06-19T06:41:19.000Z
|
2022-02-15T17:12:33.000Z
|
data/pokemon/base_stats/ampharos.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | null | null | null |
data/pokemon/base_stats/ampharos.asm
|
AtmaBuster/pokeplat-gen2-old
|
01e42c55db5408d72d89133dc84a46c699d849ad
|
[
"blessing"
] | 2
|
2021-08-11T19:47:07.000Z
|
2022-01-01T07:07:56.000Z
|
db 0 ; species ID placeholder
db 90, 75, 75, 55, 115, 90
; hp atk def spd sat sdf
db ELECTRIC, ELECTRIC ; type
db 45 ; catch rate
db 194 ; base exp
db NO_ITEM, NO_ITEM ; items
db GENDER_F50 ; gender ratio
db 20 ; step cycles to hatch
INCBIN "gfx/pokemon/ampharos/front.dimensions"
db GROWTH_MEDIUM_SLOW ; growth rate
dn EGG_MONSTER, EGG_GROUND ; egg groups
db 70 ; happiness
; tm/hm learnset
tmhm FOCUS_PUNCH, TOXIC, HIDDEN_POWER, HYPER_BEAM, LIGHT_SCREEN, PROTECT, RAIN_DANCE, FRUSTRATION, IRON_TAIL, THUNDERBOLT, THUNDER, RETURN, BRICK_BREAK, DOUBLE_TEAM, SHOCK_WAVE, FACADE, SECRET_POWER, REST, ATTRACT, FOCUS_BLAST, FLING, CHARGE_BEAM, ENDURE, GIGA_IMPACT, FLASH, THUNDER_WAVE, CAPTIVATE, SLEEP_TALK, NATURAL_GIFT, SWAGGER, SUBSTITUTE, STRENGTH, ROCK_SMASH, ROCK_CLIMB, FIRE_PUNCH, MAGNET_RISE, OUTRAGE, SIGNAL_BEAM, SNORE, SWIFT, THUNDERPUNCH
; end
| 44.3
| 457
| 0.756208
|
64a0169725b7c624d085785278aaad99f2e9a57c
| 339
|
asm
|
Assembly
|
programs/oeis/051/A051176.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/051/A051176.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/051/A051176.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A051176: If n mod 3 = 0 then n/3 else n.
; 0,1,2,1,4,5,2,7,8,3,10,11,4,13,14,5,16,17,6,19,20,7,22,23,8,25,26,9,28,29,10,31,32,11,34,35,12,37,38,13,40,41,14,43,44,15,46,47,16,49,50,17,52,53,18,55,56,19,58,59,20,61,62,21,64,65,22,67,68,23,70,71,24,73,74,25,76,77,26,79,80,27,82,83,28,85,86,29,88,89,30,91,92,31,94,95,32,97,98,33
dif $0,3
| 67.8
| 285
| 0.634218
|
0bf9f9f28ca810c6238d5ca8930ece58c6b424e2
| 7,388
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xa0.log_21829_1918.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xa0.log_21829_1918.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_zr_sm_/i9-9900K_12_0xa0.log_21829_1918.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1354, %rsi
lea addresses_UC_ht+0x1ac23, %rdi
xor %r13, %r13
mov $65, %rcx
rep movsq
nop
nop
add %r13, %r13
lea addresses_D_ht+0x1daa4, %rsi
lea addresses_A_ht+0xde6c, %rdi
and %rbx, %rbx
mov $40, %rcx
rep movsw
dec %rcx
lea addresses_UC_ht+0x2f5c, %r9
mfence
movb (%r9), %cl
nop
nop
nop
nop
add %rcx, %rcx
lea addresses_WT_ht+0x1b04c, %rsi
nop
sub %r9, %r9
mov (%rsi), %r13
nop
nop
nop
nop
add $10115, %rcx
lea addresses_A_ht+0x6c3c, %rsi
nop
nop
nop
nop
nop
cmp %rbx, %rbx
movups (%rsi), %xmm0
vpextrq $0, %xmm0, %rdi
nop
nop
and %rcx, %rcx
lea addresses_normal_ht+0x72bc, %rsi
sub %rdi, %rdi
mov (%rsi), %ecx
nop
cmp %rbx, %rbx
lea addresses_UC_ht+0x1e2bc, %rsi
nop
nop
nop
nop
nop
dec %rdx
movb (%rsi), %cl
nop
nop
nop
nop
nop
add $4430, %r9
lea addresses_UC_ht+0xcebc, %r9
nop
add $45045, %rdi
mov (%r9), %edx
nop
nop
and $48722, %r13
lea addresses_UC_ht+0x1e6bc, %rsi
lea addresses_A_ht+0x1aebc, %rdi
nop
nop
nop
nop
nop
add %r12, %r12
mov $112, %rcx
rep movsl
nop
nop
nop
nop
and %rdx, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r8
push %rax
push %rbx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_normal+0x1d59c, %rsi
clflush (%rsi)
nop
nop
nop
inc %rax
mov $0x5152535455565758, %r8
movq %r8, %xmm2
movntdq %xmm2, (%rsi)
inc %rax
// Store
lea addresses_A+0x1415, %rbx
nop
nop
nop
nop
nop
add $47029, %rdi
mov $0x5152535455565758, %rsi
movq %rsi, (%rbx)
nop
nop
nop
nop
inc %rdi
// Load
lea addresses_A+0x1d1ba, %r8
nop
nop
nop
nop
nop
xor $53639, %rbx
mov (%r8), %rax
nop
cmp $27357, %rsi
// Store
mov $0x14345f00000006bc, %r8
nop
inc %rdx
movl $0x51525354, (%r8)
nop
nop
nop
nop
nop
and $34403, %rdi
// Store
lea addresses_D+0x144bc, %r10
nop
xor %rdi, %rdi
mov $0x5152535455565758, %rax
movq %rax, %xmm2
movups %xmm2, (%r10)
nop
nop
nop
cmp $6953, %rdi
// Faulty Load
mov $0x14345f00000006bc, %r8
nop
nop
nop
nop
nop
inc %r10
mov (%r8), %esi
lea oracles, %r10
and $0xff, %rsi
shlq $12, %rsi
mov (%r10,%rsi,1), %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %rax
pop %r8
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_NC', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 4, 'type': 'addresses_normal', 'AVXalign': False, 'size': 16}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_A', 'AVXalign': False, 'size': 8}}
{'src': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_A', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_NC', 'AVXalign': False, 'size': 4}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_D', 'AVXalign': False, 'size': 16}}
[Faulty Load]
{'src': {'NT': True, 'same': True, 'congruent': 0, 'type': 'addresses_NC', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_UC_ht'}}
{'src': {'same': False, 'congruent': 1, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_A_ht'}}
{'src': {'NT': False, 'same': True, 'congruent': 4, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 7, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 11, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_A_ht'}}
{'54': 21450, '00': 379}
00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54
*/
| 32.835556
| 2,999
| 0.652815
|
66cf551af8a960e09e90f04d00f126e36ea80945
| 326
|
asm
|
Assembly
|
programs/oeis/107/A107584.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/107/A107584.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/107/A107584.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A107584: a(n) = 4^n - 4*n.
; 1,0,8,52,240,1004,4072,16356,65504,262108,1048536,4194260,16777168,67108812,268435400,1073741764,4294967232,17179869116,68719476664,274877906868,1099511627696,4398046511020,17592186044328,70368744177572,281474976710560,1125899906842524
mov $1,4
mov $2,$0
mov $0,4
mul $0,$2
pow $1,$2
sub $1,$0
| 32.6
| 237
| 0.776074
|
93f6eb4ac2ab031dfd7fb6a2eb618cd8d7cdb72b
| 1,511
|
asm
|
Assembly
|
software/atommc2/macros.asm
|
AtomicRoland/AtomFpga
|
200d57d85cb2abf43f80723a78db98a8b21c1d7d
|
[
"Apache-2.0"
] | 25
|
2015-01-19T20:53:43.000Z
|
2021-10-04T18:42:06.000Z
|
software/atommc2/macros.asm
|
AtomicRoland/AtomFpga
|
200d57d85cb2abf43f80723a78db98a8b21c1d7d
|
[
"Apache-2.0"
] | 2
|
2019-06-15T17:10:09.000Z
|
2019-06-15T17:15:35.000Z
|
software/atommc2/macros.asm
|
AtomicRoland/AtomFpga
|
200d57d85cb2abf43f80723a78db98a8b21c1d7d
|
[
"Apache-2.0"
] | 12
|
2015-02-12T14:38:00.000Z
|
2021-06-09T10:05:34.000Z
|
;=================================================================
; macro definitions for AtoMMC
; Collected macros from all files into a single file
;=================================================================
;
; 2013-10-09 converted some of the macro calls to jsr calls where
; appropriate. -- PHS
;
.macro FNADDR addr
.byte >addr, <addr
.endmacro
.macro readportFAST port
.ifdef AVR
jsr WaitUntilWritten
.endif
lda port
.endmacro
.macro writeportFAST port
sta port
.ifdef AVR
jsr WaitUntilRead
.endif
.endmacro
.macro REPERROR addr
lda #<addr
sta $d5
lda #>addr
sta $d6
jmp reportFailure
.endmacro
; Note SLOWCMD used to take a port number, but since ALL calls used APORT_CMD
; it is more code size efficient to convert it to a subroutine call, that always
; uses ACMD_PORT.
.macro SLOWCMD
jsr SLOWCMD_SUB
.endmacro
.macro SLOWCMDI command
lda #command
SLOWCMD
.endmacro
; Fast command, command port write followed by interwrite delay on PIC,
; Simply an alias for SLOWCMD on AVR.
.macro FASTCMD
.ifndef AVR
writeportFAST ACMD_REG
jsr interwritedelay
lda ACMD_REG
.else
SLOWCMD
.endif
.endmacro
; Immediate version of fastcmd
.macro FASTCMDI command
lda #command
FASTCMD
.endmacro
;.macro PREPPUTTOB407
; jsr PREPPUTTOB407_SUB
;.endmacro
.macro SETRWPTR addr
lda #<addr
sta RWPTR
lda #>addr
sta RWPTR+1
.endmacro
; Subroutines for macros in util.asm
| 18.8875
| 81
| 0.637326
|
31a3cf6023728bac3257adfa33841001590a45bb
| 42,703
|
asm
|
Assembly
|
init.asm
|
eastclo/OS_3
|
4dedb84afa08801cebf5294df864a8d2debfaad7
|
[
"MIT-0"
] | null | null | null |
init.asm
|
eastclo/OS_3
|
4dedb84afa08801cebf5294df864a8d2debfaad7
|
[
"MIT-0"
] | null | null | null |
init.asm
|
eastclo/OS_3
|
4dedb84afa08801cebf5294df864a8d2debfaad7
|
[
"MIT-0"
] | null | null | null |
_init: file format elf32-i386
Disassembly of section .text:
00000000 <main>:
char *argv[] = { "sh", 0 };
int
main(void)
{
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc pushl -0x4(%ecx)
a: 55 push %ebp
b: 89 e5 mov %esp,%ebp
d: 53 push %ebx
e: 51 push %ecx
int pid, wpid;
if(open("console", O_RDWR) < 0){
f: 83 ec 08 sub $0x8,%esp
12: 6a 02 push $0x2
14: 68 18 08 00 00 push $0x818
19: e8 64 03 00 00 call 382 <open>
1e: 83 c4 10 add $0x10,%esp
21: 85 c0 test %eax,%eax
23: 0f 88 9f 00 00 00 js c8 <main+0xc8>
mknod("console", 1, 1);
open("console", O_RDWR);
}
dup(0); // stdout
29: 83 ec 0c sub $0xc,%esp
2c: 6a 00 push $0x0
2e: e8 87 03 00 00 call 3ba <dup>
dup(0); // stderr
33: c7 04 24 00 00 00 00 movl $0x0,(%esp)
3a: e8 7b 03 00 00 call 3ba <dup>
3f: 83 c4 10 add $0x10,%esp
42: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
for(;;){
printf(1, "init: starting sh\n");
48: 83 ec 08 sub $0x8,%esp
4b: 68 20 08 00 00 push $0x820
50: 6a 01 push $0x1
52: e8 69 04 00 00 call 4c0 <printf>
pid = fork();
57: e8 de 02 00 00 call 33a <fork>
if(pid < 0){
5c: 83 c4 10 add $0x10,%esp
5f: 85 c0 test %eax,%eax
pid = fork();
61: 89 c3 mov %eax,%ebx
if(pid < 0){
63: 78 2c js 91 <main+0x91>
printf(1, "init: fork failed\n");
exit();
}
if(pid == 0){
65: 74 3d je a4 <main+0xa4>
67: 89 f6 mov %esi,%esi
69: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
exec("sh", argv);
printf(1, "init: exec sh failed\n");
exit();
}
while((wpid=wait()) >= 0 && wpid != pid)
70: e8 d5 02 00 00 call 34a <wait>
75: 85 c0 test %eax,%eax
77: 78 cf js 48 <main+0x48>
79: 39 c3 cmp %eax,%ebx
7b: 74 cb je 48 <main+0x48>
printf(1, "zombie!\n");
7d: 83 ec 08 sub $0x8,%esp
80: 68 5f 08 00 00 push $0x85f
85: 6a 01 push $0x1
87: e8 34 04 00 00 call 4c0 <printf>
8c: 83 c4 10 add $0x10,%esp
8f: eb df jmp 70 <main+0x70>
printf(1, "init: fork failed\n");
91: 53 push %ebx
92: 53 push %ebx
93: 68 33 08 00 00 push $0x833
98: 6a 01 push $0x1
9a: e8 21 04 00 00 call 4c0 <printf>
exit();
9f: e8 9e 02 00 00 call 342 <exit>
exec("sh", argv);
a4: 50 push %eax
a5: 50 push %eax
a6: 68 18 0b 00 00 push $0xb18
ab: 68 46 08 00 00 push $0x846
b0: e8 c5 02 00 00 call 37a <exec>
printf(1, "init: exec sh failed\n");
b5: 5a pop %edx
b6: 59 pop %ecx
b7: 68 49 08 00 00 push $0x849
bc: 6a 01 push $0x1
be: e8 fd 03 00 00 call 4c0 <printf>
exit();
c3: e8 7a 02 00 00 call 342 <exit>
mknod("console", 1, 1);
c8: 50 push %eax
c9: 6a 01 push $0x1
cb: 6a 01 push $0x1
cd: 68 18 08 00 00 push $0x818
d2: e8 b3 02 00 00 call 38a <mknod>
open("console", O_RDWR);
d7: 58 pop %eax
d8: 5a pop %edx
d9: 6a 02 push $0x2
db: 68 18 08 00 00 push $0x818
e0: e8 9d 02 00 00 call 382 <open>
e5: 83 c4 10 add $0x10,%esp
e8: e9 3c ff ff ff jmp 29 <main+0x29>
ed: 66 90 xchg %ax,%ax
ef: 90 nop
000000f0 <strcpy>:
#include "user.h"
#include "x86.h"
char*
strcpy(char *s, const char *t)
{
f0: 55 push %ebp
f1: 89 e5 mov %esp,%ebp
f3: 53 push %ebx
f4: 8b 45 08 mov 0x8(%ebp),%eax
f7: 8b 4d 0c mov 0xc(%ebp),%ecx
char *os;
os = s;
while((*s++ = *t++) != 0)
fa: 89 c2 mov %eax,%edx
fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
100: 83 c1 01 add $0x1,%ecx
103: 0f b6 59 ff movzbl -0x1(%ecx),%ebx
107: 83 c2 01 add $0x1,%edx
10a: 84 db test %bl,%bl
10c: 88 5a ff mov %bl,-0x1(%edx)
10f: 75 ef jne 100 <strcpy+0x10>
;
return os;
}
111: 5b pop %ebx
112: 5d pop %ebp
113: c3 ret
114: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
11a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
00000120 <strcmp>:
int
strcmp(const char *p, const char *q)
{
120: 55 push %ebp
121: 89 e5 mov %esp,%ebp
123: 53 push %ebx
124: 8b 55 08 mov 0x8(%ebp),%edx
127: 8b 4d 0c mov 0xc(%ebp),%ecx
while(*p && *p == *q)
12a: 0f b6 02 movzbl (%edx),%eax
12d: 0f b6 19 movzbl (%ecx),%ebx
130: 84 c0 test %al,%al
132: 75 1c jne 150 <strcmp+0x30>
134: eb 2a jmp 160 <strcmp+0x40>
136: 8d 76 00 lea 0x0(%esi),%esi
139: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
p++, q++;
140: 83 c2 01 add $0x1,%edx
while(*p && *p == *q)
143: 0f b6 02 movzbl (%edx),%eax
p++, q++;
146: 83 c1 01 add $0x1,%ecx
149: 0f b6 19 movzbl (%ecx),%ebx
while(*p && *p == *q)
14c: 84 c0 test %al,%al
14e: 74 10 je 160 <strcmp+0x40>
150: 38 d8 cmp %bl,%al
152: 74 ec je 140 <strcmp+0x20>
return (uchar)*p - (uchar)*q;
154: 29 d8 sub %ebx,%eax
}
156: 5b pop %ebx
157: 5d pop %ebp
158: c3 ret
159: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
160: 31 c0 xor %eax,%eax
return (uchar)*p - (uchar)*q;
162: 29 d8 sub %ebx,%eax
}
164: 5b pop %ebx
165: 5d pop %ebp
166: c3 ret
167: 89 f6 mov %esi,%esi
169: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00000170 <strlen>:
uint
strlen(const char *s)
{
170: 55 push %ebp
171: 89 e5 mov %esp,%ebp
173: 8b 4d 08 mov 0x8(%ebp),%ecx
int n;
for(n = 0; s[n]; n++)
176: 80 39 00 cmpb $0x0,(%ecx)
179: 74 15 je 190 <strlen+0x20>
17b: 31 d2 xor %edx,%edx
17d: 8d 76 00 lea 0x0(%esi),%esi
180: 83 c2 01 add $0x1,%edx
183: 80 3c 11 00 cmpb $0x0,(%ecx,%edx,1)
187: 89 d0 mov %edx,%eax
189: 75 f5 jne 180 <strlen+0x10>
;
return n;
}
18b: 5d pop %ebp
18c: c3 ret
18d: 8d 76 00 lea 0x0(%esi),%esi
for(n = 0; s[n]; n++)
190: 31 c0 xor %eax,%eax
}
192: 5d pop %ebp
193: c3 ret
194: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
19a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi
000001a0 <memset>:
void*
memset(void *dst, int c, uint n)
{
1a0: 55 push %ebp
1a1: 89 e5 mov %esp,%ebp
1a3: 57 push %edi
1a4: 8b 55 08 mov 0x8(%ebp),%edx
}
static inline void
stosb(void *addr, int data, int cnt)
{
asm volatile("cld; rep stosb" :
1a7: 8b 4d 10 mov 0x10(%ebp),%ecx
1aa: 8b 45 0c mov 0xc(%ebp),%eax
1ad: 89 d7 mov %edx,%edi
1af: fc cld
1b0: f3 aa rep stos %al,%es:(%edi)
stosb(dst, c, n);
return dst;
}
1b2: 89 d0 mov %edx,%eax
1b4: 5f pop %edi
1b5: 5d pop %ebp
1b6: c3 ret
1b7: 89 f6 mov %esi,%esi
1b9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
000001c0 <strchr>:
char*
strchr(const char *s, char c)
{
1c0: 55 push %ebp
1c1: 89 e5 mov %esp,%ebp
1c3: 53 push %ebx
1c4: 8b 45 08 mov 0x8(%ebp),%eax
1c7: 8b 5d 0c mov 0xc(%ebp),%ebx
for(; *s; s++)
1ca: 0f b6 10 movzbl (%eax),%edx
1cd: 84 d2 test %dl,%dl
1cf: 74 1d je 1ee <strchr+0x2e>
if(*s == c)
1d1: 38 d3 cmp %dl,%bl
1d3: 89 d9 mov %ebx,%ecx
1d5: 75 0d jne 1e4 <strchr+0x24>
1d7: eb 17 jmp 1f0 <strchr+0x30>
1d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
1e0: 38 ca cmp %cl,%dl
1e2: 74 0c je 1f0 <strchr+0x30>
for(; *s; s++)
1e4: 83 c0 01 add $0x1,%eax
1e7: 0f b6 10 movzbl (%eax),%edx
1ea: 84 d2 test %dl,%dl
1ec: 75 f2 jne 1e0 <strchr+0x20>
return (char*)s;
return 0;
1ee: 31 c0 xor %eax,%eax
}
1f0: 5b pop %ebx
1f1: 5d pop %ebp
1f2: c3 ret
1f3: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
1f9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00000200 <gets>:
char*
gets(char *buf, int max)
{
200: 55 push %ebp
201: 89 e5 mov %esp,%ebp
203: 57 push %edi
204: 56 push %esi
205: 53 push %ebx
int i, cc;
char c;
for(i=0; i+1 < max; ){
206: 31 f6 xor %esi,%esi
208: 89 f3 mov %esi,%ebx
{
20a: 83 ec 1c sub $0x1c,%esp
20d: 8b 7d 08 mov 0x8(%ebp),%edi
for(i=0; i+1 < max; ){
210: eb 2f jmp 241 <gets+0x41>
212: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
cc = read(0, &c, 1);
218: 8d 45 e7 lea -0x19(%ebp),%eax
21b: 83 ec 04 sub $0x4,%esp
21e: 6a 01 push $0x1
220: 50 push %eax
221: 6a 00 push $0x0
223: e8 32 01 00 00 call 35a <read>
if(cc < 1)
228: 83 c4 10 add $0x10,%esp
22b: 85 c0 test %eax,%eax
22d: 7e 1c jle 24b <gets+0x4b>
break;
buf[i++] = c;
22f: 0f b6 45 e7 movzbl -0x19(%ebp),%eax
233: 83 c7 01 add $0x1,%edi
236: 88 47 ff mov %al,-0x1(%edi)
if(c == '\n' || c == '\r')
239: 3c 0a cmp $0xa,%al
23b: 74 23 je 260 <gets+0x60>
23d: 3c 0d cmp $0xd,%al
23f: 74 1f je 260 <gets+0x60>
for(i=0; i+1 < max; ){
241: 83 c3 01 add $0x1,%ebx
244: 3b 5d 0c cmp 0xc(%ebp),%ebx
247: 89 fe mov %edi,%esi
249: 7c cd jl 218 <gets+0x18>
24b: 89 f3 mov %esi,%ebx
break;
}
buf[i] = '\0';
return buf;
}
24d: 8b 45 08 mov 0x8(%ebp),%eax
buf[i] = '\0';
250: c6 03 00 movb $0x0,(%ebx)
}
253: 8d 65 f4 lea -0xc(%ebp),%esp
256: 5b pop %ebx
257: 5e pop %esi
258: 5f pop %edi
259: 5d pop %ebp
25a: c3 ret
25b: 90 nop
25c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
260: 8b 75 08 mov 0x8(%ebp),%esi
263: 8b 45 08 mov 0x8(%ebp),%eax
266: 01 de add %ebx,%esi
268: 89 f3 mov %esi,%ebx
buf[i] = '\0';
26a: c6 03 00 movb $0x0,(%ebx)
}
26d: 8d 65 f4 lea -0xc(%ebp),%esp
270: 5b pop %ebx
271: 5e pop %esi
272: 5f pop %edi
273: 5d pop %ebp
274: c3 ret
275: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
279: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
00000280 <stat>:
int
stat(const char *n, struct stat *st)
{
280: 55 push %ebp
281: 89 e5 mov %esp,%ebp
283: 56 push %esi
284: 53 push %ebx
int fd;
int r;
fd = open(n, O_RDONLY);
285: 83 ec 08 sub $0x8,%esp
288: 6a 00 push $0x0
28a: ff 75 08 pushl 0x8(%ebp)
28d: e8 f0 00 00 00 call 382 <open>
if(fd < 0)
292: 83 c4 10 add $0x10,%esp
295: 85 c0 test %eax,%eax
297: 78 27 js 2c0 <stat+0x40>
return -1;
r = fstat(fd, st);
299: 83 ec 08 sub $0x8,%esp
29c: ff 75 0c pushl 0xc(%ebp)
29f: 89 c3 mov %eax,%ebx
2a1: 50 push %eax
2a2: e8 f3 00 00 00 call 39a <fstat>
close(fd);
2a7: 89 1c 24 mov %ebx,(%esp)
r = fstat(fd, st);
2aa: 89 c6 mov %eax,%esi
close(fd);
2ac: e8 b9 00 00 00 call 36a <close>
return r;
2b1: 83 c4 10 add $0x10,%esp
}
2b4: 8d 65 f8 lea -0x8(%ebp),%esp
2b7: 89 f0 mov %esi,%eax
2b9: 5b pop %ebx
2ba: 5e pop %esi
2bb: 5d pop %ebp
2bc: c3 ret
2bd: 8d 76 00 lea 0x0(%esi),%esi
return -1;
2c0: be ff ff ff ff mov $0xffffffff,%esi
2c5: eb ed jmp 2b4 <stat+0x34>
2c7: 89 f6 mov %esi,%esi
2c9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
000002d0 <atoi>:
int
atoi(const char *s)
{
2d0: 55 push %ebp
2d1: 89 e5 mov %esp,%ebp
2d3: 53 push %ebx
2d4: 8b 4d 08 mov 0x8(%ebp),%ecx
int n;
n = 0;
while('0' <= *s && *s <= '9')
2d7: 0f be 11 movsbl (%ecx),%edx
2da: 8d 42 d0 lea -0x30(%edx),%eax
2dd: 3c 09 cmp $0x9,%al
n = 0;
2df: b8 00 00 00 00 mov $0x0,%eax
while('0' <= *s && *s <= '9')
2e4: 77 1f ja 305 <atoi+0x35>
2e6: 8d 76 00 lea 0x0(%esi),%esi
2e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi
n = n*10 + *s++ - '0';
2f0: 8d 04 80 lea (%eax,%eax,4),%eax
2f3: 83 c1 01 add $0x1,%ecx
2f6: 8d 44 42 d0 lea -0x30(%edx,%eax,2),%eax
while('0' <= *s && *s <= '9')
2fa: 0f be 11 movsbl (%ecx),%edx
2fd: 8d 5a d0 lea -0x30(%edx),%ebx
300: 80 fb 09 cmp $0x9,%bl
303: 76 eb jbe 2f0 <atoi+0x20>
return n;
}
305: 5b pop %ebx
306: 5d pop %ebp
307: c3 ret
308: 90 nop
309: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
00000310 <memmove>:
void*
memmove(void *vdst, const void *vsrc, int n)
{
310: 55 push %ebp
311: 89 e5 mov %esp,%ebp
313: 56 push %esi
314: 53 push %ebx
315: 8b 5d 10 mov 0x10(%ebp),%ebx
318: 8b 45 08 mov 0x8(%ebp),%eax
31b: 8b 75 0c mov 0xc(%ebp),%esi
char *dst;
const char *src;
dst = vdst;
src = vsrc;
while(n-- > 0)
31e: 85 db test %ebx,%ebx
320: 7e 14 jle 336 <memmove+0x26>
322: 31 d2 xor %edx,%edx
324: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
*dst++ = *src++;
328: 0f b6 0c 16 movzbl (%esi,%edx,1),%ecx
32c: 88 0c 10 mov %cl,(%eax,%edx,1)
32f: 83 c2 01 add $0x1,%edx
while(n-- > 0)
332: 39 d3 cmp %edx,%ebx
334: 75 f2 jne 328 <memmove+0x18>
return vdst;
}
336: 5b pop %ebx
337: 5e pop %esi
338: 5d pop %ebp
339: c3 ret
0000033a <fork>:
name: \
movl $SYS_ ## name, %eax; \
int $T_SYSCALL; \
ret
SYSCALL(fork)
33a: b8 01 00 00 00 mov $0x1,%eax
33f: cd 40 int $0x40
341: c3 ret
00000342 <exit>:
SYSCALL(exit)
342: b8 02 00 00 00 mov $0x2,%eax
347: cd 40 int $0x40
349: c3 ret
0000034a <wait>:
SYSCALL(wait)
34a: b8 03 00 00 00 mov $0x3,%eax
34f: cd 40 int $0x40
351: c3 ret
00000352 <pipe>:
SYSCALL(pipe)
352: b8 04 00 00 00 mov $0x4,%eax
357: cd 40 int $0x40
359: c3 ret
0000035a <read>:
SYSCALL(read)
35a: b8 05 00 00 00 mov $0x5,%eax
35f: cd 40 int $0x40
361: c3 ret
00000362 <write>:
SYSCALL(write)
362: b8 10 00 00 00 mov $0x10,%eax
367: cd 40 int $0x40
369: c3 ret
0000036a <close>:
SYSCALL(close)
36a: b8 15 00 00 00 mov $0x15,%eax
36f: cd 40 int $0x40
371: c3 ret
00000372 <kill>:
SYSCALL(kill)
372: b8 06 00 00 00 mov $0x6,%eax
377: cd 40 int $0x40
379: c3 ret
0000037a <exec>:
SYSCALL(exec)
37a: b8 07 00 00 00 mov $0x7,%eax
37f: cd 40 int $0x40
381: c3 ret
00000382 <open>:
SYSCALL(open)
382: b8 0f 00 00 00 mov $0xf,%eax
387: cd 40 int $0x40
389: c3 ret
0000038a <mknod>:
SYSCALL(mknod)
38a: b8 11 00 00 00 mov $0x11,%eax
38f: cd 40 int $0x40
391: c3 ret
00000392 <unlink>:
SYSCALL(unlink)
392: b8 12 00 00 00 mov $0x12,%eax
397: cd 40 int $0x40
399: c3 ret
0000039a <fstat>:
SYSCALL(fstat)
39a: b8 08 00 00 00 mov $0x8,%eax
39f: cd 40 int $0x40
3a1: c3 ret
000003a2 <link>:
SYSCALL(link)
3a2: b8 13 00 00 00 mov $0x13,%eax
3a7: cd 40 int $0x40
3a9: c3 ret
000003aa <mkdir>:
SYSCALL(mkdir)
3aa: b8 14 00 00 00 mov $0x14,%eax
3af: cd 40 int $0x40
3b1: c3 ret
000003b2 <chdir>:
SYSCALL(chdir)
3b2: b8 09 00 00 00 mov $0x9,%eax
3b7: cd 40 int $0x40
3b9: c3 ret
000003ba <dup>:
SYSCALL(dup)
3ba: b8 0a 00 00 00 mov $0xa,%eax
3bf: cd 40 int $0x40
3c1: c3 ret
000003c2 <getpid>:
SYSCALL(getpid)
3c2: b8 0b 00 00 00 mov $0xb,%eax
3c7: cd 40 int $0x40
3c9: c3 ret
000003ca <sbrk>:
SYSCALL(sbrk)
3ca: b8 0c 00 00 00 mov $0xc,%eax
3cf: cd 40 int $0x40
3d1: c3 ret
000003d2 <sleep>:
SYSCALL(sleep)
3d2: b8 0d 00 00 00 mov $0xd,%eax
3d7: cd 40 int $0x40
3d9: c3 ret
000003da <uptime>:
SYSCALL(uptime)
3da: b8 0e 00 00 00 mov $0xe,%eax
3df: cd 40 int $0x40
3e1: c3 ret
000003e2 <hello>:
SYSCALL(hello)
3e2: b8 16 00 00 00 mov $0x16,%eax
3e7: cd 40 int $0x40
3e9: c3 ret
000003ea <hello_name>:
SYSCALL(hello_name)
3ea: b8 17 00 00 00 mov $0x17,%eax
3ef: cd 40 int $0x40
3f1: c3 ret
000003f2 <get_num_proc>:
SYSCALL(get_num_proc)
3f2: b8 18 00 00 00 mov $0x18,%eax
3f7: cd 40 int $0x40
3f9: c3 ret
000003fa <get_max_pid>:
SYSCALL(get_max_pid)
3fa: b8 19 00 00 00 mov $0x19,%eax
3ff: cd 40 int $0x40
401: c3 ret
00000402 <get_proc_info>:
SYSCALL(get_proc_info)
402: b8 1a 00 00 00 mov $0x1a,%eax
407: cd 40 int $0x40
409: c3 ret
0000040a <set_prio>:
SYSCALL(set_prio)
40a: b8 1b 00 00 00 mov $0x1b,%eax
40f: cd 40 int $0x40
411: c3 ret
00000412 <get_prio>:
SYSCALL(get_prio)
412: b8 1c 00 00 00 mov $0x1c,%eax
417: cd 40 int $0x40
419: c3 ret
41a: 66 90 xchg %ax,%ax
41c: 66 90 xchg %ax,%ax
41e: 66 90 xchg %ax,%ax
00000420 <printint>:
write(fd, &c, 1);
}
static void
printint(int fd, int xx, int base, int sgn)
{
420: 55 push %ebp
421: 89 e5 mov %esp,%ebp
423: 57 push %edi
424: 56 push %esi
425: 53 push %ebx
426: 83 ec 3c sub $0x3c,%esp
char buf[16];
int i, neg;
uint x;
neg = 0;
if(sgn && xx < 0){
429: 85 d2 test %edx,%edx
{
42b: 89 45 c0 mov %eax,-0x40(%ebp)
neg = 1;
x = -xx;
42e: 89 d0 mov %edx,%eax
if(sgn && xx < 0){
430: 79 76 jns 4a8 <printint+0x88>
432: f6 45 08 01 testb $0x1,0x8(%ebp)
436: 74 70 je 4a8 <printint+0x88>
x = -xx;
438: f7 d8 neg %eax
neg = 1;
43a: c7 45 c4 01 00 00 00 movl $0x1,-0x3c(%ebp)
} else {
x = xx;
}
i = 0;
441: 31 f6 xor %esi,%esi
443: 8d 5d d7 lea -0x29(%ebp),%ebx
446: eb 0a jmp 452 <printint+0x32>
448: 90 nop
449: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
do{
buf[i++] = digits[x % base];
450: 89 fe mov %edi,%esi
452: 31 d2 xor %edx,%edx
454: 8d 7e 01 lea 0x1(%esi),%edi
457: f7 f1 div %ecx
459: 0f b6 92 70 08 00 00 movzbl 0x870(%edx),%edx
}while((x /= base) != 0);
460: 85 c0 test %eax,%eax
buf[i++] = digits[x % base];
462: 88 14 3b mov %dl,(%ebx,%edi,1)
}while((x /= base) != 0);
465: 75 e9 jne 450 <printint+0x30>
if(neg)
467: 8b 45 c4 mov -0x3c(%ebp),%eax
46a: 85 c0 test %eax,%eax
46c: 74 08 je 476 <printint+0x56>
buf[i++] = '-';
46e: c6 44 3d d8 2d movb $0x2d,-0x28(%ebp,%edi,1)
473: 8d 7e 02 lea 0x2(%esi),%edi
476: 8d 74 3d d7 lea -0x29(%ebp,%edi,1),%esi
47a: 8b 7d c0 mov -0x40(%ebp),%edi
47d: 8d 76 00 lea 0x0(%esi),%esi
480: 0f b6 06 movzbl (%esi),%eax
write(fd, &c, 1);
483: 83 ec 04 sub $0x4,%esp
486: 83 ee 01 sub $0x1,%esi
489: 6a 01 push $0x1
48b: 53 push %ebx
48c: 57 push %edi
48d: 88 45 d7 mov %al,-0x29(%ebp)
490: e8 cd fe ff ff call 362 <write>
while(--i >= 0)
495: 83 c4 10 add $0x10,%esp
498: 39 de cmp %ebx,%esi
49a: 75 e4 jne 480 <printint+0x60>
putc(fd, buf[i]);
}
49c: 8d 65 f4 lea -0xc(%ebp),%esp
49f: 5b pop %ebx
4a0: 5e pop %esi
4a1: 5f pop %edi
4a2: 5d pop %ebp
4a3: c3 ret
4a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
neg = 0;
4a8: c7 45 c4 00 00 00 00 movl $0x0,-0x3c(%ebp)
4af: eb 90 jmp 441 <printint+0x21>
4b1: eb 0d jmp 4c0 <printf>
4b3: 90 nop
4b4: 90 nop
4b5: 90 nop
4b6: 90 nop
4b7: 90 nop
4b8: 90 nop
4b9: 90 nop
4ba: 90 nop
4bb: 90 nop
4bc: 90 nop
4bd: 90 nop
4be: 90 nop
4bf: 90 nop
000004c0 <printf>:
// Print to the given fd. Only understands %d, %x, %p, %s.
void
printf(int fd, const char *fmt, ...)
{
4c0: 55 push %ebp
4c1: 89 e5 mov %esp,%ebp
4c3: 57 push %edi
4c4: 56 push %esi
4c5: 53 push %ebx
4c6: 83 ec 2c sub $0x2c,%esp
int c, i, state;
uint *ap;
state = 0;
ap = (uint*)(void*)&fmt + 1;
for(i = 0; fmt[i]; i++){
4c9: 8b 75 0c mov 0xc(%ebp),%esi
4cc: 0f b6 1e movzbl (%esi),%ebx
4cf: 84 db test %bl,%bl
4d1: 0f 84 b3 00 00 00 je 58a <printf+0xca>
ap = (uint*)(void*)&fmt + 1;
4d7: 8d 45 10 lea 0x10(%ebp),%eax
4da: 83 c6 01 add $0x1,%esi
state = 0;
4dd: 31 ff xor %edi,%edi
ap = (uint*)(void*)&fmt + 1;
4df: 89 45 d4 mov %eax,-0x2c(%ebp)
4e2: eb 2f jmp 513 <printf+0x53>
4e4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
c = fmt[i] & 0xff;
if(state == 0){
if(c == '%'){
4e8: 83 f8 25 cmp $0x25,%eax
4eb: 0f 84 a7 00 00 00 je 598 <printf+0xd8>
write(fd, &c, 1);
4f1: 8d 45 e2 lea -0x1e(%ebp),%eax
4f4: 83 ec 04 sub $0x4,%esp
4f7: 88 5d e2 mov %bl,-0x1e(%ebp)
4fa: 6a 01 push $0x1
4fc: 50 push %eax
4fd: ff 75 08 pushl 0x8(%ebp)
500: e8 5d fe ff ff call 362 <write>
505: 83 c4 10 add $0x10,%esp
508: 83 c6 01 add $0x1,%esi
for(i = 0; fmt[i]; i++){
50b: 0f b6 5e ff movzbl -0x1(%esi),%ebx
50f: 84 db test %bl,%bl
511: 74 77 je 58a <printf+0xca>
if(state == 0){
513: 85 ff test %edi,%edi
c = fmt[i] & 0xff;
515: 0f be cb movsbl %bl,%ecx
518: 0f b6 c3 movzbl %bl,%eax
if(state == 0){
51b: 74 cb je 4e8 <printf+0x28>
state = '%';
} else {
putc(fd, c);
}
} else if(state == '%'){
51d: 83 ff 25 cmp $0x25,%edi
520: 75 e6 jne 508 <printf+0x48>
if(c == 'd'){
522: 83 f8 64 cmp $0x64,%eax
525: 0f 84 05 01 00 00 je 630 <printf+0x170>
printint(fd, *ap, 10, 1);
ap++;
} else if(c == 'x' || c == 'p'){
52b: 81 e1 f7 00 00 00 and $0xf7,%ecx
531: 83 f9 70 cmp $0x70,%ecx
534: 74 72 je 5a8 <printf+0xe8>
printint(fd, *ap, 16, 0);
ap++;
} else if(c == 's'){
536: 83 f8 73 cmp $0x73,%eax
539: 0f 84 99 00 00 00 je 5d8 <printf+0x118>
s = "(null)";
while(*s != 0){
putc(fd, *s);
s++;
}
} else if(c == 'c'){
53f: 83 f8 63 cmp $0x63,%eax
542: 0f 84 08 01 00 00 je 650 <printf+0x190>
putc(fd, *ap);
ap++;
} else if(c == '%'){
548: 83 f8 25 cmp $0x25,%eax
54b: 0f 84 ef 00 00 00 je 640 <printf+0x180>
write(fd, &c, 1);
551: 8d 45 e7 lea -0x19(%ebp),%eax
554: 83 ec 04 sub $0x4,%esp
557: c6 45 e7 25 movb $0x25,-0x19(%ebp)
55b: 6a 01 push $0x1
55d: 50 push %eax
55e: ff 75 08 pushl 0x8(%ebp)
561: e8 fc fd ff ff call 362 <write>
566: 83 c4 0c add $0xc,%esp
569: 8d 45 e6 lea -0x1a(%ebp),%eax
56c: 88 5d e6 mov %bl,-0x1a(%ebp)
56f: 6a 01 push $0x1
571: 50 push %eax
572: ff 75 08 pushl 0x8(%ebp)
575: 83 c6 01 add $0x1,%esi
} else {
// Unknown % sequence. Print it to draw attention.
putc(fd, '%');
putc(fd, c);
}
state = 0;
578: 31 ff xor %edi,%edi
write(fd, &c, 1);
57a: e8 e3 fd ff ff call 362 <write>
for(i = 0; fmt[i]; i++){
57f: 0f b6 5e ff movzbl -0x1(%esi),%ebx
write(fd, &c, 1);
583: 83 c4 10 add $0x10,%esp
for(i = 0; fmt[i]; i++){
586: 84 db test %bl,%bl
588: 75 89 jne 513 <printf+0x53>
}
}
}
58a: 8d 65 f4 lea -0xc(%ebp),%esp
58d: 5b pop %ebx
58e: 5e pop %esi
58f: 5f pop %edi
590: 5d pop %ebp
591: c3 ret
592: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
state = '%';
598: bf 25 00 00 00 mov $0x25,%edi
59d: e9 66 ff ff ff jmp 508 <printf+0x48>
5a2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
printint(fd, *ap, 16, 0);
5a8: 83 ec 0c sub $0xc,%esp
5ab: b9 10 00 00 00 mov $0x10,%ecx
5b0: 6a 00 push $0x0
5b2: 8b 7d d4 mov -0x2c(%ebp),%edi
5b5: 8b 45 08 mov 0x8(%ebp),%eax
5b8: 8b 17 mov (%edi),%edx
5ba: e8 61 fe ff ff call 420 <printint>
ap++;
5bf: 89 f8 mov %edi,%eax
5c1: 83 c4 10 add $0x10,%esp
state = 0;
5c4: 31 ff xor %edi,%edi
ap++;
5c6: 83 c0 04 add $0x4,%eax
5c9: 89 45 d4 mov %eax,-0x2c(%ebp)
5cc: e9 37 ff ff ff jmp 508 <printf+0x48>
5d1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
s = (char*)*ap;
5d8: 8b 45 d4 mov -0x2c(%ebp),%eax
5db: 8b 08 mov (%eax),%ecx
ap++;
5dd: 83 c0 04 add $0x4,%eax
5e0: 89 45 d4 mov %eax,-0x2c(%ebp)
if(s == 0)
5e3: 85 c9 test %ecx,%ecx
5e5: 0f 84 8e 00 00 00 je 679 <printf+0x1b9>
while(*s != 0){
5eb: 0f b6 01 movzbl (%ecx),%eax
state = 0;
5ee: 31 ff xor %edi,%edi
s = (char*)*ap;
5f0: 89 cb mov %ecx,%ebx
while(*s != 0){
5f2: 84 c0 test %al,%al
5f4: 0f 84 0e ff ff ff je 508 <printf+0x48>
5fa: 89 75 d0 mov %esi,-0x30(%ebp)
5fd: 89 de mov %ebx,%esi
5ff: 8b 5d 08 mov 0x8(%ebp),%ebx
602: 8d 7d e3 lea -0x1d(%ebp),%edi
605: 8d 76 00 lea 0x0(%esi),%esi
write(fd, &c, 1);
608: 83 ec 04 sub $0x4,%esp
s++;
60b: 83 c6 01 add $0x1,%esi
60e: 88 45 e3 mov %al,-0x1d(%ebp)
write(fd, &c, 1);
611: 6a 01 push $0x1
613: 57 push %edi
614: 53 push %ebx
615: e8 48 fd ff ff call 362 <write>
while(*s != 0){
61a: 0f b6 06 movzbl (%esi),%eax
61d: 83 c4 10 add $0x10,%esp
620: 84 c0 test %al,%al
622: 75 e4 jne 608 <printf+0x148>
624: 8b 75 d0 mov -0x30(%ebp),%esi
state = 0;
627: 31 ff xor %edi,%edi
629: e9 da fe ff ff jmp 508 <printf+0x48>
62e: 66 90 xchg %ax,%ax
printint(fd, *ap, 10, 1);
630: 83 ec 0c sub $0xc,%esp
633: b9 0a 00 00 00 mov $0xa,%ecx
638: 6a 01 push $0x1
63a: e9 73 ff ff ff jmp 5b2 <printf+0xf2>
63f: 90 nop
write(fd, &c, 1);
640: 83 ec 04 sub $0x4,%esp
643: 88 5d e5 mov %bl,-0x1b(%ebp)
646: 8d 45 e5 lea -0x1b(%ebp),%eax
649: 6a 01 push $0x1
64b: e9 21 ff ff ff jmp 571 <printf+0xb1>
putc(fd, *ap);
650: 8b 7d d4 mov -0x2c(%ebp),%edi
write(fd, &c, 1);
653: 83 ec 04 sub $0x4,%esp
putc(fd, *ap);
656: 8b 07 mov (%edi),%eax
write(fd, &c, 1);
658: 6a 01 push $0x1
ap++;
65a: 83 c7 04 add $0x4,%edi
putc(fd, *ap);
65d: 88 45 e4 mov %al,-0x1c(%ebp)
write(fd, &c, 1);
660: 8d 45 e4 lea -0x1c(%ebp),%eax
663: 50 push %eax
664: ff 75 08 pushl 0x8(%ebp)
667: e8 f6 fc ff ff call 362 <write>
ap++;
66c: 89 7d d4 mov %edi,-0x2c(%ebp)
66f: 83 c4 10 add $0x10,%esp
state = 0;
672: 31 ff xor %edi,%edi
674: e9 8f fe ff ff jmp 508 <printf+0x48>
s = "(null)";
679: bb 68 08 00 00 mov $0x868,%ebx
while(*s != 0){
67e: b8 28 00 00 00 mov $0x28,%eax
683: e9 72 ff ff ff jmp 5fa <printf+0x13a>
688: 66 90 xchg %ax,%ax
68a: 66 90 xchg %ax,%ax
68c: 66 90 xchg %ax,%ax
68e: 66 90 xchg %ax,%ax
00000690 <free>:
static Header base;
static Header *freep;
void
free(void *ap)
{
690: 55 push %ebp
Header *bp, *p;
bp = (Header*)ap - 1;
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
691: a1 20 0b 00 00 mov 0xb20,%eax
{
696: 89 e5 mov %esp,%ebp
698: 57 push %edi
699: 56 push %esi
69a: 53 push %ebx
69b: 8b 5d 08 mov 0x8(%ebp),%ebx
bp = (Header*)ap - 1;
69e: 8d 4b f8 lea -0x8(%ebx),%ecx
6a1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr)
6a8: 39 c8 cmp %ecx,%eax
6aa: 8b 10 mov (%eax),%edx
6ac: 73 32 jae 6e0 <free+0x50>
6ae: 39 d1 cmp %edx,%ecx
6b0: 72 04 jb 6b6 <free+0x26>
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
6b2: 39 d0 cmp %edx,%eax
6b4: 72 32 jb 6e8 <free+0x58>
break;
if(bp + bp->s.size == p->s.ptr){
6b6: 8b 73 fc mov -0x4(%ebx),%esi
6b9: 8d 3c f1 lea (%ecx,%esi,8),%edi
6bc: 39 fa cmp %edi,%edx
6be: 74 30 je 6f0 <free+0x60>
bp->s.size += p->s.ptr->s.size;
bp->s.ptr = p->s.ptr->s.ptr;
} else
bp->s.ptr = p->s.ptr;
6c0: 89 53 f8 mov %edx,-0x8(%ebx)
if(p + p->s.size == bp){
6c3: 8b 50 04 mov 0x4(%eax),%edx
6c6: 8d 34 d0 lea (%eax,%edx,8),%esi
6c9: 39 f1 cmp %esi,%ecx
6cb: 74 3a je 707 <free+0x77>
p->s.size += bp->s.size;
p->s.ptr = bp->s.ptr;
} else
p->s.ptr = bp;
6cd: 89 08 mov %ecx,(%eax)
freep = p;
6cf: a3 20 0b 00 00 mov %eax,0xb20
}
6d4: 5b pop %ebx
6d5: 5e pop %esi
6d6: 5f pop %edi
6d7: 5d pop %ebp
6d8: c3 ret
6d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
if(p >= p->s.ptr && (bp > p || bp < p->s.ptr))
6e0: 39 d0 cmp %edx,%eax
6e2: 72 04 jb 6e8 <free+0x58>
6e4: 39 d1 cmp %edx,%ecx
6e6: 72 ce jb 6b6 <free+0x26>
{
6e8: 89 d0 mov %edx,%eax
6ea: eb bc jmp 6a8 <free+0x18>
6ec: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
bp->s.size += p->s.ptr->s.size;
6f0: 03 72 04 add 0x4(%edx),%esi
6f3: 89 73 fc mov %esi,-0x4(%ebx)
bp->s.ptr = p->s.ptr->s.ptr;
6f6: 8b 10 mov (%eax),%edx
6f8: 8b 12 mov (%edx),%edx
6fa: 89 53 f8 mov %edx,-0x8(%ebx)
if(p + p->s.size == bp){
6fd: 8b 50 04 mov 0x4(%eax),%edx
700: 8d 34 d0 lea (%eax,%edx,8),%esi
703: 39 f1 cmp %esi,%ecx
705: 75 c6 jne 6cd <free+0x3d>
p->s.size += bp->s.size;
707: 03 53 fc add -0x4(%ebx),%edx
freep = p;
70a: a3 20 0b 00 00 mov %eax,0xb20
p->s.size += bp->s.size;
70f: 89 50 04 mov %edx,0x4(%eax)
p->s.ptr = bp->s.ptr;
712: 8b 53 f8 mov -0x8(%ebx),%edx
715: 89 10 mov %edx,(%eax)
}
717: 5b pop %ebx
718: 5e pop %esi
719: 5f pop %edi
71a: 5d pop %ebp
71b: c3 ret
71c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
00000720 <malloc>:
return freep;
}
void*
malloc(uint nbytes)
{
720: 55 push %ebp
721: 89 e5 mov %esp,%ebp
723: 57 push %edi
724: 56 push %esi
725: 53 push %ebx
726: 83 ec 0c sub $0xc,%esp
Header *p, *prevp;
uint nunits;
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
729: 8b 45 08 mov 0x8(%ebp),%eax
if((prevp = freep) == 0){
72c: 8b 15 20 0b 00 00 mov 0xb20,%edx
nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1;
732: 8d 78 07 lea 0x7(%eax),%edi
735: c1 ef 03 shr $0x3,%edi
738: 83 c7 01 add $0x1,%edi
if((prevp = freep) == 0){
73b: 85 d2 test %edx,%edx
73d: 0f 84 9d 00 00 00 je 7e0 <malloc+0xc0>
743: 8b 02 mov (%edx),%eax
745: 8b 48 04 mov 0x4(%eax),%ecx
base.s.ptr = freep = prevp = &base;
base.s.size = 0;
}
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
if(p->s.size >= nunits){
748: 39 cf cmp %ecx,%edi
74a: 76 6c jbe 7b8 <malloc+0x98>
74c: 81 ff 00 10 00 00 cmp $0x1000,%edi
752: bb 00 10 00 00 mov $0x1000,%ebx
757: 0f 43 df cmovae %edi,%ebx
p = sbrk(nu * sizeof(Header));
75a: 8d 34 dd 00 00 00 00 lea 0x0(,%ebx,8),%esi
761: eb 0e jmp 771 <malloc+0x51>
763: 90 nop
764: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi
for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){
768: 8b 02 mov (%edx),%eax
if(p->s.size >= nunits){
76a: 8b 48 04 mov 0x4(%eax),%ecx
76d: 39 f9 cmp %edi,%ecx
76f: 73 47 jae 7b8 <malloc+0x98>
p->s.size = nunits;
}
freep = prevp;
return (void*)(p + 1);
}
if(p == freep)
771: 39 05 20 0b 00 00 cmp %eax,0xb20
777: 89 c2 mov %eax,%edx
779: 75 ed jne 768 <malloc+0x48>
p = sbrk(nu * sizeof(Header));
77b: 83 ec 0c sub $0xc,%esp
77e: 56 push %esi
77f: e8 46 fc ff ff call 3ca <sbrk>
if(p == (char*)-1)
784: 83 c4 10 add $0x10,%esp
787: 83 f8 ff cmp $0xffffffff,%eax
78a: 74 1c je 7a8 <malloc+0x88>
hp->s.size = nu;
78c: 89 58 04 mov %ebx,0x4(%eax)
free((void*)(hp + 1));
78f: 83 ec 0c sub $0xc,%esp
792: 83 c0 08 add $0x8,%eax
795: 50 push %eax
796: e8 f5 fe ff ff call 690 <free>
return freep;
79b: 8b 15 20 0b 00 00 mov 0xb20,%edx
if((p = morecore(nunits)) == 0)
7a1: 83 c4 10 add $0x10,%esp
7a4: 85 d2 test %edx,%edx
7a6: 75 c0 jne 768 <malloc+0x48>
return 0;
}
}
7a8: 8d 65 f4 lea -0xc(%ebp),%esp
return 0;
7ab: 31 c0 xor %eax,%eax
}
7ad: 5b pop %ebx
7ae: 5e pop %esi
7af: 5f pop %edi
7b0: 5d pop %ebp
7b1: c3 ret
7b2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi
if(p->s.size == nunits)
7b8: 39 cf cmp %ecx,%edi
7ba: 74 54 je 810 <malloc+0xf0>
p->s.size -= nunits;
7bc: 29 f9 sub %edi,%ecx
7be: 89 48 04 mov %ecx,0x4(%eax)
p += p->s.size;
7c1: 8d 04 c8 lea (%eax,%ecx,8),%eax
p->s.size = nunits;
7c4: 89 78 04 mov %edi,0x4(%eax)
freep = prevp;
7c7: 89 15 20 0b 00 00 mov %edx,0xb20
}
7cd: 8d 65 f4 lea -0xc(%ebp),%esp
return (void*)(p + 1);
7d0: 83 c0 08 add $0x8,%eax
}
7d3: 5b pop %ebx
7d4: 5e pop %esi
7d5: 5f pop %edi
7d6: 5d pop %ebp
7d7: c3 ret
7d8: 90 nop
7d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
base.s.ptr = freep = prevp = &base;
7e0: c7 05 20 0b 00 00 24 movl $0xb24,0xb20
7e7: 0b 00 00
7ea: c7 05 24 0b 00 00 24 movl $0xb24,0xb24
7f1: 0b 00 00
base.s.size = 0;
7f4: b8 24 0b 00 00 mov $0xb24,%eax
7f9: c7 05 28 0b 00 00 00 movl $0x0,0xb28
800: 00 00 00
803: e9 44 ff ff ff jmp 74c <malloc+0x2c>
808: 90 nop
809: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi
prevp->s.ptr = p->s.ptr;
810: 8b 08 mov (%eax),%ecx
812: 89 0a mov %ecx,(%edx)
814: eb b1 jmp 7c7 <malloc+0xa7>
| 33.730648
| 60
| 0.412852
|
b04aaa6fabe076f44a6ce0a4b99cf9ceab962a8f
| 404
|
asm
|
Assembly
|
programs/oeis/140/A140899.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/140/A140899.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/140/A140899.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A140899: A140724(n+4). Period 10: repeat 7, 9, 5, 1, 3, 3, 1, 5, 9, 7.
; 7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7,7,9,5,1,3,3,1,5,9,7
mov $1,2
mov $2,1
sub $2,$0
sub $2,57600
mov $3,2
gcd $3,$2
mov $4,1
mov $5,$2
add $5,8
mov $6,$2
mul $6,$3
add $3,$5
mov $0,$3
add $4,$6
add $0,$4
lpb $0,1
mul $0,$1
mov $2,$0
mov $0,1
mod $2,10
add $2,2
lpe
sub $0,$2
mov $1,$0
add $1,2
| 13.931034
| 81
| 0.514851
|
0d7a93d061b0186097e47cf9e83a7ed8c1d16f8d
| 3,079
|
asm
|
Assembly
|
MasmEd/MasmEd/Misc/Addins.asm
|
CherryDT/FbEditMOD
|
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
|
[
"Unlicense"
] | 11
|
2016-12-03T16:35:42.000Z
|
2022-03-26T06:02:53.000Z
|
MasmEd/MasmEd/Misc/Addins.asm
|
CherryDT/FbEditMOD
|
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
|
[
"Unlicense"
] | 1
|
2018-02-24T20:17:46.000Z
|
2018-03-02T08:57:40.000Z
|
MasmEd/MasmEd/Misc/Addins.asm
|
CherryDT/FbEditMOD
|
beb0eb22cae1b8f7203d55bd6b293d8ec88231ca
|
[
"Unlicense"
] | 4
|
2018-10-19T01:14:55.000Z
|
2021-09-11T18:51:48.000Z
|
MAX_ADDIN equ 32
ADDIN struct
hDLL dd ?
fhook1 dd ?
fhook2 dd ?
fhook3 dd ?
fhook4 dd ?
lpAddinProc dd ?
ADDIN ends
.const
szDll db '\Addins\*.dll',0
szInstallAddin db 'InstallAddin',0
szAddinProc db 'AddinProc',0
.data?
addin ADDIN MAX_ADDIN dup(<>)
.code
PostAddinMessage proc uses ebx esi edi,hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM,nHook:DWORD,fHook:DWORD
LOCAL nInx:DWORD
LOCAL espsave:DWORD
mov nInx,0
mov edi,offset addin
xor eax,eax
.while nInx<MAX_ADDIN && !eax
.break .if ![edi].ADDIN.hDLL
.if dword ptr [edi].ADDIN.lpAddinProc
mov edx,nHook
mov edx,[edi].ADDIN.fhook1[edx*4]
and edx,fHook
.if edx
push edi
mov espsave,esp
push lParam
push wParam
push uMsg
push hWin
call [edi].ADDIN.lpAddinProc
mov esp,espsave
pop edi
.endif
.endif
add edi,sizeof ADDIN
inc nInx
.endw
ret
PostAddinMessage endp
IsAddin proc lpFileName:DWORD
LOCAL hDll:DWORD
LOCAL val:DWORD
invoke LoadLibrary,lpFileName
.if eax
mov hDll,eax
invoke GetProcAddress,hDll,addr szInstallAddin
.if eax
;It is an addin, should it be loaded?
invoke strlen,lpFileName
add eax,lpFileName
.while byte ptr [eax-1]!='\'
dec eax
.endw
mov edx,eax
mov val,1
mov lpcbData,sizeof val
invoke RegQueryValueEx,ha.hReg,edx,0,addr lpType,addr val,addr lpcbData
mov eax,hDll
.if !val
;Should not be loaded
invoke FreeLibrary,eax
xor eax,eax
.endif
.else
;Not an addin
invoke FreeLibrary,hDll
xor eax,eax
.endif
.endif
ret
IsAddin endp
LoadAddins proc uses esi,hWin:HWND
LOCAL buffer[MAX_PATH]:BYTE
LOCAL wfd:WIN32_FIND_DATA
LOCAL hwfd:DWORD
LOCAL hDll:DWORD
LOCAL nInx
mov nInx,0
mov esi,offset addin
invoke strcpy,addr buffer,addr da.AppPath
invoke strcat,addr buffer,addr szDll
invoke FindFirstFile,addr buffer,addr wfd
.if eax!=INVALID_HANDLE_VALUE
mov hwfd,eax
Next:
.if nInx<MAX_ADDIN
invoke strlen,addr buffer
.while buffer[eax-1]!='\'
dec eax
.endw
mov edx,eax
invoke strcpy,addr buffer[edx],addr wfd.cFileName
invoke IsAddin,addr buffer
.if eax
mov hDll,eax
mov [esi].ADDIN.hDLL,eax
invoke GetProcAddress,hDll,addr szInstallAddin
push ha.hWnd
call eax
mov edx,[eax].HOOK.hook1
mov [esi].ADDIN.fhook1,edx
mov edx,[eax].HOOK.hook2
mov [esi].ADDIN.fhook2,edx
mov edx,[eax].HOOK.hook3
mov [esi].ADDIN.fhook3,edx
mov edx,[eax].HOOK.hook4
mov [esi].ADDIN.fhook4,edx
invoke GetProcAddress,hDll,addr szAddinProc
mov [esi].ADDIN.lpAddinProc,eax
inc nInx
lea esi,[esi+sizeof ADDIN]
.endif
invoke FindNextFile,hwfd,addr wfd
or eax,eax
jne Next
.endif
;No more matches, close handle
invoke FindClose,hwfd
invoke PostAddinMessage,ha.hWnd,AIM_ADDINSLOADED,0,0,0,HOOK_ADDINSLOADED
.endif
ret
LoadAddins endp
| 21.089041
| 111
| 0.656057
|
d82b9fa5e07f2cc0f4f67a0b128aa606d6e8717e
| 351
|
asm
|
Assembly
|
Lab_3/2.5.asm
|
Opty1337/CO
|
80163b90885b789cf87e69244d8b2b19c771b8e7
|
[
"MIT"
] | null | null | null |
Lab_3/2.5.asm
|
Opty1337/CO
|
80163b90885b789cf87e69244d8b2b19c771b8e7
|
[
"MIT"
] | null | null | null |
Lab_3/2.5.asm
|
Opty1337/CO
|
80163b90885b789cf87e69244d8b2b19c771b8e7
|
[
"MIT"
] | null | null | null |
loop:
lw $12, 0($1) ; $12 = A[i]
dmul $12, $12, $9 ; $12 *= $9 ;; $12 = A[i] * mult
daddi $5, $5, 1 ; i++
daddi $1, $1, 8 ; A += 8
bne $6, $5, loop ; Exit loop if i == N
dadd $9, $9, $12 ; $9 += $12 ;; mult += A[i] * mult
sw $9, mult($0) ; Store result
halt
| 31.909091
| 63
| 0.336182
|
bd0355a21219868509f17be41aede4f7a7e7119f
| 32,016
|
asm
|
Assembly
|
target/cos_117/disasm/iop_overlay1/AMPEX.asm
|
jrrk2/cray-sim
|
52c9639808d6890517092637b188282c00cce4f7
|
[
"BSL-1.0"
] | 49
|
2020-10-09T12:29:16.000Z
|
2022-03-12T02:33:35.000Z
|
target/cos_117/disasm/iop_overlay1/AMPEX.asm
|
jrrk2/cray-sim
|
52c9639808d6890517092637b188282c00cce4f7
|
[
"BSL-1.0"
] | 1
|
2021-12-29T15:59:25.000Z
|
2021-12-29T15:59:25.000Z
|
target/cos_117/disasm/iop_overlay1/AMPEX.asm
|
jrrk2/cray-sim
|
52c9639808d6890517092637b188282c00cce4f7
|
[
"BSL-1.0"
] | 6
|
2021-04-12T06:10:32.000Z
|
2022-02-08T23:11:19.000Z
|
0x0000 (0x000000) 0x211A- f:00020 d: 282 | A = OR[282]
0x0001 (0x000002) 0x8439- f:00102 d: 57 | P = P + 57 (0x003A), A = 0
0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0003 (0x000006) 0x291C- f:00024 d: 284 | OR[284] = A
0x0004 (0x000008) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0005 (0x00000A) 0x291D- f:00024 d: 285 | OR[285] = A
0x0006 (0x00000C) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0007 (0x00000E) 0x2920- f:00024 d: 288 | OR[288] = A
0x0008 (0x000010) 0x211A- f:00020 d: 282 | A = OR[282]
0x0009 (0x000012) 0x271C- f:00023 d: 284 | A = A - OR[284]
0x000A (0x000014) 0x8428- f:00102 d: 40 | P = P + 40 (0x0032), A = 0
0x000B (0x000016) 0x744F- f:00072 d: 79 | R = P + 79 (0x005A)
0x000C (0x000018) 0x211E- f:00020 d: 286 | A = OR[286]
0x000D (0x00001A) 0x0807- f:00004 d: 7 | A = A > 7 (0x0007)
0x000E (0x00001C) 0x2908- f:00024 d: 264 | OR[264] = A
0x000F (0x00001E) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0010 (0x000020) 0x2708- f:00023 d: 264 | A = A - OR[264]
0x0011 (0x000022) 0x8602- f:00103 d: 2 | P = P + 2 (0x0013), A # 0
0x0012 (0x000024) 0x701B- f:00070 d: 27 | P = P + 27 (0x002D)
0x0013 (0x000026) 0x2003- f:00020 d: 3 | A = OR[3]
0x0014 (0x000028) 0x1C00-0x0168 f:00016 d: 0 | A = A + 360 (0x0168)
0x0016 (0x00002C) 0x2913- f:00024 d: 275 | OR[275] = A
0x0017 (0x00002E) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0018 (0x000030) 0x2914- f:00024 d: 276 | OR[276] = A
0x0019 (0x000032) 0x1080- f:00010 d: 128 | A = 128 (0x0080)
0x001A (0x000034) 0x291F- f:00024 d: 287 | OR[287] = A
0x001B (0x000036) 0x211F- f:00020 d: 287 | A = OR[287]
0x001C (0x000038) 0x0807- f:00004 d: 7 | A = A > 7 (0x0007)
0x001D (0x00003A) 0x2908- f:00024 d: 264 | OR[264] = A
0x001E (0x00003C) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x001F (0x00003E) 0x2708- f:00023 d: 264 | A = A - OR[264]
0x0020 (0x000040) 0x8409- f:00102 d: 9 | P = P + 9 (0x0029), A = 0
0x0021 (0x000042) 0x3113- f:00030 d: 275 | A = (OR[275])
0x0022 (0x000044) 0x291F- f:00024 d: 287 | OR[287] = A
0x0023 (0x000046) 0x211E- f:00020 d: 286 | A = OR[286]
0x0024 (0x000048) 0x271F- f:00023 d: 287 | A = A - OR[287]
0x0025 (0x00004A) 0x9464- f:00112 d: 100 | R = P + 100 (0x0089), A = 0
0x0026 (0x00004C) 0x2D13- f:00026 d: 275 | OR[275] = OR[275] + 1
0x0027 (0x00004E) 0x2D14- f:00026 d: 276 | OR[276] = OR[276] + 1
0x0028 (0x000050) 0x720D- f:00071 d: 13 | P = P - 13 (0x001B)
0x0029 (0x000052) 0x211F- f:00020 d: 287 | A = OR[287]
0x002A (0x000054) 0x8603- f:00103 d: 3 | P = P + 3 (0x002D), A # 0
0x002B (0x000056) 0x103F- f:00010 d: 63 | A = 63 (0x003F)
0x002C (0x000058) 0x291E- f:00024 d: 286 | OR[286] = A
0x002D (0x00005A) 0x2120- f:00020 d: 288 | A = OR[288]
0x002E (0x00005C) 0x9412- f:00112 d: 18 | R = P + 18 (0x0040), A = 0
0x002F (0x00005E) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0030 (0x000060) 0x2920- f:00024 d: 288 | OR[288] = A
0x0031 (0x000062) 0x7229- f:00071 d: 41 | P = P - 41 (0x0008)
0x0032 (0x000064) 0x211D- f:00020 d: 285 | A = OR[285]
0x0033 (0x000066) 0x1704- f:00013 d: 260 | A = A - 260 (0x0104)
0x0034 (0x000068) 0x8003- f:00100 d: 3 | P = P + 3 (0x0037), C = 0
0x0035 (0x00006A) 0x8402- f:00102 d: 2 | P = P + 2 (0x0037), A = 0
0x0036 (0x00006C) 0x7C34- f:00076 d: 52 | R = OR[52]
0x0037 (0x00006E) 0x0000- f:00000 d: 0 | PASS
0x0038 (0x000070) 0x211D- f:00020 d: 285 | A = OR[285]
0x0039 (0x000072) 0x963C- f:00113 d: 60 | R = P + 60 (0x0075), A # 0
0x003A (0x000074) 0x102A- f:00010 d: 42 | A = 42 (0x002A)
0x003B (0x000076) 0x2921- f:00024 d: 289 | OR[289] = A
0x003C (0x000078) 0x1121- f:00010 d: 289 | A = 289 (0x0121)
0x003D (0x00007A) 0x5800- f:00054 d: 0 | B = A
0x003E (0x00007C) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x003F (0x00007E) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0040 (0x000080) 0x211E- f:00020 d: 286 | A = OR[286]
0x0041 (0x000082) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x0042 (0x000084) 0x290D- f:00024 d: 269 | OR[269] = A
0x0043 (0x000086) 0x211D- f:00020 d: 285 | A = OR[285]
0x0044 (0x000088) 0x0801- f:00004 d: 1 | A = A > 1 (0x0001)
0x0045 (0x00008A) 0x251B- f:00022 d: 283 | A = A + OR[283]
0x0046 (0x00008C) 0x290E- f:00024 d: 270 | OR[270] = A
0x0047 (0x00008E) 0x211D- f:00020 d: 285 | A = OR[285]
0x0048 (0x000090) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001)
0x0049 (0x000092) 0x2908- f:00024 d: 264 | OR[264] = A
0x004A (0x000094) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x004B (0x000096) 0x2708- f:00023 d: 264 | A = A - OR[264]
0x004C (0x000098) 0x8607- f:00103 d: 7 | P = P + 7 (0x0053), A # 0
0x004D (0x00009A) 0x310E- f:00030 d: 270 | A = (OR[270])
0x004E (0x00009C) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009)
0x004F (0x00009E) 0x250D- f:00022 d: 269 | A = A + OR[269]
0x0050 (0x0000A0) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x0051 (0x0000A2) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x0052 (0x0000A4) 0x7006- f:00070 d: 6 | P = P + 6 (0x0058)
0x0053 (0x0000A6) 0x310E- f:00030 d: 270 | A = (OR[270])
0x0054 (0x0000A8) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x0056 (0x0000AC) 0x250D- f:00022 d: 269 | A = A + OR[269]
0x0057 (0x0000AE) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x0058 (0x0000B0) 0x2D1D- f:00026 d: 285 | OR[285] = OR[285] + 1
0x0059 (0x0000B2) 0x0200- f:00001 d: 0 | EXIT
0x005A (0x0000B4) 0x211A- f:00020 d: 282 | A = OR[282]
0x005B (0x0000B6) 0x271C- f:00023 d: 284 | A = A - OR[284]
0x005C (0x0000B8) 0x8602- f:00103 d: 2 | P = P + 2 (0x005E), A # 0
0x005D (0x0000BA) 0x7015- f:00070 d: 21 | P = P + 21 (0x0072)
0x005E (0x0000BC) 0x211C- f:00020 d: 284 | A = OR[284]
0x005F (0x0000BE) 0x0801- f:00004 d: 1 | A = A > 1 (0x0001)
0x0060 (0x0000C0) 0x2518- f:00022 d: 280 | A = A + OR[280]
0x0061 (0x0000C2) 0x290D- f:00024 d: 269 | OR[269] = A
0x0062 (0x0000C4) 0x310D- f:00030 d: 269 | A = (OR[269])
0x0063 (0x0000C6) 0x290D- f:00024 d: 269 | OR[269] = A
0x0064 (0x0000C8) 0x211C- f:00020 d: 284 | A = OR[284]
0x0065 (0x0000CA) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001)
0x0066 (0x0000CC) 0x2908- f:00024 d: 264 | OR[264] = A
0x0067 (0x0000CE) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0068 (0x0000D0) 0x2708- f:00023 d: 264 | A = A - OR[264]
0x0069 (0x0000D2) 0x8604- f:00103 d: 4 | P = P + 4 (0x006D), A # 0
0x006A (0x0000D4) 0x210D- f:00020 d: 269 | A = OR[269]
0x006B (0x0000D6) 0x0808- f:00004 d: 8 | A = A > 8 (0x0008)
0x006C (0x0000D8) 0x290D- f:00024 d: 269 | OR[269] = A
0x006D (0x0000DA) 0x210D- f:00020 d: 269 | A = OR[269]
0x006E (0x0000DC) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x006F (0x0000DE) 0x291E- f:00024 d: 286 | OR[286] = A
0x0070 (0x0000E0) 0x2D1C- f:00026 d: 284 | OR[284] = OR[284] + 1
0x0071 (0x0000E2) 0x7003- f:00070 d: 3 | P = P + 3 (0x0074)
0x0072 (0x0000E4) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0073 (0x0000E6) 0x291E- f:00024 d: 286 | OR[286] = A
0x0074 (0x0000E8) 0x0200- f:00001 d: 0 | EXIT
0x0075 (0x0000EA) 0x1012- f:00010 d: 18 | A = 18 (0x0012)
0x0076 (0x0000EC) 0x2921- f:00024 d: 289 | OR[289] = A
0x0077 (0x0000EE) 0x2119- f:00020 d: 281 | A = OR[281]
0x0078 (0x0000F0) 0x2922- f:00024 d: 290 | OR[290] = A
0x0079 (0x0000F2) 0x211B- f:00020 d: 283 | A = OR[283]
0x007A (0x0000F4) 0x2923- f:00024 d: 291 | OR[291] = A
0x007B (0x0000F6) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x007C (0x0000F8) 0x2924- f:00024 d: 292 | OR[292] = A
0x007D (0x0000FA) 0x211D- f:00020 d: 285 | A = OR[285]
0x007E (0x0000FC) 0x2925- f:00024 d: 293 | OR[293] = A
0x007F (0x0000FE) 0x1121- f:00010 d: 289 | A = 289 (0x0121)
0x0080 (0x000100) 0x5800- f:00054 d: 0 | B = A
0x0081 (0x000102) 0x1800-0x1318 f:00014 d: 0 | A = 4888 (0x1318)
0x0083 (0x000106) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0084 (0x000108) 0x2006- f:00020 d: 6 | A = OR[6]
0x0085 (0x00010A) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B)
0x0086 (0x00010C) 0x2908- f:00024 d: 264 | OR[264] = A
0x0087 (0x00010E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0088 (0x000110) 0x0200- f:00001 d: 0 | EXIT
0x0089 (0x000112) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x008A (0x000114) 0x291F- f:00024 d: 287 | OR[287] = A
0x008B (0x000116) 0x7016- f:00070 d: 22 | P = P + 22 (0x00A1)
0x008C (0x000118) 0x00B5- f:00000 d: 181 | PASS | **** non-standard encoding with D:0x00B5 ****
0x008D (0x00011A) 0x00BB- f:00000 d: 187 | PASS | **** non-standard encoding with D:0x00BB ****
0x008E (0x00011C) 0x00C1- f:00000 d: 193 | PASS | **** non-standard encoding with D:0x00C1 ****
0x008F (0x00011E) 0x00D2- f:00000 d: 210 | PASS | **** non-standard encoding with D:0x00D2 ****
0x0090 (0x000120) 0x00D5- f:00000 d: 213 | PASS | **** non-standard encoding with D:0x00D5 ****
0x0091 (0x000122) 0x00D8- f:00000 d: 216 | PASS | **** non-standard encoding with D:0x00D8 ****
0x0092 (0x000124) 0x00ED- f:00000 d: 237 | PASS | **** non-standard encoding with D:0x00ED ****
0x0093 (0x000126) 0x00F6- f:00000 d: 246 | PASS | **** non-standard encoding with D:0x00F6 ****
0x0094 (0x000128) 0x00FF- f:00000 d: 255 | PASS | **** non-standard encoding with D:0x00FF ****
0x0095 (0x00012A) 0x0108- f:00000 d: 264 | PASS | **** non-standard encoding with D:0x0108 ****
0x0096 (0x00012C) 0x0111- f:00000 d: 273 | PASS | **** non-standard encoding with D:0x0111 ****
0x0097 (0x00012E) 0x011A- f:00000 d: 282 | PASS | **** non-standard encoding with D:0x011A ****
0x0098 (0x000130) 0x0123- f:00000 d: 291 | PASS | **** non-standard encoding with D:0x0123 ****
0x0099 (0x000132) 0x012C- f:00000 d: 300 | PASS | **** non-standard encoding with D:0x012C ****
0x009A (0x000134) 0x0135- f:00000 d: 309 | PASS | **** non-standard encoding with D:0x0135 ****
0x009B (0x000136) 0x013E- f:00000 d: 318 | PASS | **** non-standard encoding with D:0x013E ****
0x009C (0x000138) 0x0147- f:00000 d: 327 | PASS | **** non-standard encoding with D:0x0147 ****
0x009D (0x00013A) 0x0150- f:00000 d: 336 | PASS | **** non-standard encoding with D:0x0150 ****
0x009E (0x00013C) 0x0156- f:00000 d: 342 | PASS | **** non-standard encoding with D:0x0156 ****
0x009F (0x00013E) 0x015C- f:00000 d: 348 | PASS | **** non-standard encoding with D:0x015C ****
0x00A0 (0x000140) 0x0162- f:00000 d: 354 | PASS | **** non-standard encoding with D:0x0162 ****
0x00A1 (0x000142) 0x1014- f:00010 d: 20 | A = 20 (0x0014)
0x00A2 (0x000144) 0x2714- f:00023 d: 276 | A = A - OR[276]
0x00A3 (0x000146) 0x800A- f:00100 d: 10 | P = P + 10 (0x00AD), C = 0
0x00A4 (0x000148) 0x2114- f:00020 d: 276 | A = OR[276]
0x00A5 (0x00014A) 0x2403- f:00022 d: 3 | A = A + OR[3]
0x00A6 (0x00014C) 0x1C00-0x0092 f:00016 d: 0 | A = A + 146 (0x0092)
0x00A8 (0x000150) 0x290D- f:00024 d: 269 | OR[269] = A
0x00A9 (0x000152) 0x310D- f:00030 d: 269 | A = (OR[269])
0x00AA (0x000154) 0x2403- f:00022 d: 3 | A = A + OR[3]
0x00AB (0x000156) 0x290D- f:00024 d: 269 | OR[269] = A
0x00AC (0x000158) 0x790D- f:00074 d: 269 | P = OR[269]
0x00AD (0x00015A) 0x7C34- f:00076 d: 52 | R = OR[52]
0x00AE (0x00015C) 0x0000- f:00000 d: 0 | PASS
0x00AF (0x00015E) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00B0 (0x000160) 0x291E- f:00024 d: 286 | OR[286] = A
0x00B1 (0x000162) 0x7671- f:00073 d: 113 | R = P - 113 (0x0040)
0x00B2 (0x000164) 0x1054- f:00010 d: 84 | A = 84 (0x0054)
0x00B3 (0x000166) 0x291E- f:00024 d: 286 | OR[286] = A
0x00B4 (0x000168) 0x0200- f:00001 d: 0 | EXIT
0x00B5 (0x00016A) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00B6 (0x00016C) 0x291E- f:00024 d: 286 | OR[286] = A
0x00B7 (0x00016E) 0x7677- f:00073 d: 119 | R = P - 119 (0x0040)
0x00B8 (0x000170) 0x102A- f:00010 d: 42 | A = 42 (0x002A)
0x00B9 (0x000172) 0x291E- f:00024 d: 286 | OR[286] = A
0x00BA (0x000174) 0x0200- f:00001 d: 0 | EXIT
0x00BB (0x000176) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00BC (0x000178) 0x291E- f:00024 d: 286 | OR[286] = A
0x00BD (0x00017A) 0x767D- f:00073 d: 125 | R = P - 125 (0x0040)
0x00BE (0x00017C) 0x103D- f:00010 d: 61 | A = 61 (0x003D)
0x00BF (0x00017E) 0x291E- f:00024 d: 286 | OR[286] = A
0x00C0 (0x000180) 0x7680- f:00073 d: 128 | R = P - 128 (0x0040)
0x00C1 (0x000182) 0x7667- f:00073 d: 103 | R = P - 103 (0x005A)
0x00C2 (0x000184) 0x211E- f:00020 d: 286 | A = OR[286]
0x00C3 (0x000186) 0x2913- f:00024 d: 275 | OR[275] = A
0x00C4 (0x000188) 0x766A- f:00073 d: 106 | R = P - 106 (0x005A)
0x00C5 (0x00018A) 0x1020- f:00010 d: 32 | A = 32 (0x0020)
0x00C6 (0x00018C) 0x2B1E- f:00025 d: 286 | OR[286] = A + OR[286]
0x00C7 (0x00018E) 0x7687- f:00073 d: 135 | R = P - 135 (0x0040)
0x00C8 (0x000190) 0x2113- f:00020 d: 275 | A = OR[275]
0x00C9 (0x000192) 0x1420- f:00012 d: 32 | A = A + 32 (0x0020)
0x00CA (0x000194) 0x291E- f:00024 d: 286 | OR[286] = A
0x00CB (0x000196) 0x0200- f:00001 d: 0 | EXIT
0x00CC (0x000198) 0x100C- f:00010 d: 12 | A = 12 (0x000C)
0x00CD (0x00019A) 0x291E- f:00024 d: 286 | OR[286] = A
0x00CE (0x00019C) 0x0200- f:00001 d: 0 | EXIT
0x00CF (0x00019E) 0x1007- f:00010 d: 7 | A = 7 (0x0007)
0x00D0 (0x0001A0) 0x291E- f:00024 d: 286 | OR[286] = A
0x00D1 (0x0001A2) 0x0200- f:00001 d: 0 | EXIT
0x00D2 (0x0001A4) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00D3 (0x0001A6) 0x291E- f:00024 d: 286 | OR[286] = A
0x00D4 (0x0001A8) 0x7694- f:00073 d: 148 | R = P - 148 (0x0040)
0x00D5 (0x0001AA) 0x1052- f:00010 d: 82 | A = 82 (0x0052)
0x00D6 (0x0001AC) 0x291E- f:00024 d: 286 | OR[286] = A
0x00D7 (0x0001AE) 0x7697- f:00073 d: 151 | R = P - 151 (0x0040)
0x00D8 (0x0001B0) 0x7663- f:00073 d: 99 | R = P - 99 (0x0075)
0x00D9 (0x0001B2) 0x1007- f:00010 d: 7 | A = 7 (0x0007)
0x00DA (0x0001B4) 0x2921- f:00024 d: 289 | OR[289] = A
0x00DB (0x0001B6) 0x1002- f:00010 d: 2 | A = 2 (0x0002)
0x00DC (0x0001B8) 0x2922- f:00024 d: 290 | OR[290] = A
0x00DD (0x0001BA) 0x1121- f:00010 d: 289 | A = 289 (0x0121)
0x00DE (0x0001BC) 0x5800- f:00054 d: 0 | B = A
0x00DF (0x0001BE) 0x1800-0x1318 f:00014 d: 0 | A = 4888 (0x1318)
0x00E1 (0x0001C2) 0x7C09- f:00076 d: 9 | R = OR[9]
0x00E2 (0x0001C4) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00E3 (0x0001C6) 0x291D- f:00024 d: 285 | OR[285] = A
0x00E4 (0x0001C8) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x00E5 (0x0001CA) 0x2920- f:00024 d: 288 | OR[288] = A
0x00E6 (0x0001CC) 0x0200- f:00001 d: 0 | EXIT
0x00E7 (0x0001CE) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00E8 (0x0001D0) 0x291E- f:00024 d: 286 | OR[286] = A
0x00E9 (0x0001D2) 0x76A9- f:00073 d: 169 | R = P - 169 (0x0040)
0x00EA (0x0001D4) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x00EB (0x0001D6) 0x291E- f:00024 d: 286 | OR[286] = A
0x00EC (0x0001D8) 0x76AC- f:00073 d: 172 | R = P - 172 (0x0040)
0x00ED (0x0001DA) 0x1041- f:00010 d: 65 | A = 65 (0x0041)
0x00EE (0x0001DC) 0x291E- f:00024 d: 286 | OR[286] = A
0x00EF (0x0001DE) 0x0200- f:00001 d: 0 | EXIT
0x00F0 (0x0001E0) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00F1 (0x0001E2) 0x291E- f:00024 d: 286 | OR[286] = A
0x00F2 (0x0001E4) 0x76B2- f:00073 d: 178 | R = P - 178 (0x0040)
0x00F3 (0x0001E6) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x00F4 (0x0001E8) 0x291E- f:00024 d: 286 | OR[286] = A
0x00F5 (0x0001EA) 0x76B5- f:00073 d: 181 | R = P - 181 (0x0040)
0x00F6 (0x0001EC) 0x1042- f:00010 d: 66 | A = 66 (0x0042)
0x00F7 (0x0001EE) 0x291E- f:00024 d: 286 | OR[286] = A
0x00F8 (0x0001F0) 0x0200- f:00001 d: 0 | EXIT
0x00F9 (0x0001F2) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x00FA (0x0001F4) 0x291E- f:00024 d: 286 | OR[286] = A
0x00FB (0x0001F6) 0x76BB- f:00073 d: 187 | R = P - 187 (0x0040)
0x00FC (0x0001F8) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x00FD (0x0001FA) 0x291E- f:00024 d: 286 | OR[286] = A
0x00FE (0x0001FC) 0x76BE- f:00073 d: 190 | R = P - 190 (0x0040)
0x00FF (0x0001FE) 0x1043- f:00010 d: 67 | A = 67 (0x0043)
0x0100 (0x000200) 0x291E- f:00024 d: 286 | OR[286] = A
0x0101 (0x000202) 0x0200- f:00001 d: 0 | EXIT
0x0102 (0x000204) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0103 (0x000206) 0x291E- f:00024 d: 286 | OR[286] = A
0x0104 (0x000208) 0x76C4- f:00073 d: 196 | R = P - 196 (0x0040)
0x0105 (0x00020A) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x0106 (0x00020C) 0x291E- f:00024 d: 286 | OR[286] = A
0x0107 (0x00020E) 0x76C7- f:00073 d: 199 | R = P - 199 (0x0040)
0x0108 (0x000210) 0x1044- f:00010 d: 68 | A = 68 (0x0044)
0x0109 (0x000212) 0x291E- f:00024 d: 286 | OR[286] = A
0x010A (0x000214) 0x0200- f:00001 d: 0 | EXIT
0x010B (0x000216) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x010C (0x000218) 0x291E- f:00024 d: 286 | OR[286] = A
0x010D (0x00021A) 0x76CD- f:00073 d: 205 | R = P - 205 (0x0040)
0x010E (0x00021C) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x010F (0x00021E) 0x291E- f:00024 d: 286 | OR[286] = A
0x0110 (0x000220) 0x76D0- f:00073 d: 208 | R = P - 208 (0x0040)
0x0111 (0x000222) 0x1045- f:00010 d: 69 | A = 69 (0x0045)
0x0112 (0x000224) 0x291E- f:00024 d: 286 | OR[286] = A
0x0113 (0x000226) 0x0200- f:00001 d: 0 | EXIT
0x0114 (0x000228) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0115 (0x00022A) 0x291E- f:00024 d: 286 | OR[286] = A
0x0116 (0x00022C) 0x76D6- f:00073 d: 214 | R = P - 214 (0x0040)
0x0117 (0x00022E) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x0118 (0x000230) 0x291E- f:00024 d: 286 | OR[286] = A
0x0119 (0x000232) 0x76D9- f:00073 d: 217 | R = P - 217 (0x0040)
0x011A (0x000234) 0x1046- f:00010 d: 70 | A = 70 (0x0046)
0x011B (0x000236) 0x291E- f:00024 d: 286 | OR[286] = A
0x011C (0x000238) 0x0200- f:00001 d: 0 | EXIT
0x011D (0x00023A) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x011E (0x00023C) 0x291E- f:00024 d: 286 | OR[286] = A
0x011F (0x00023E) 0x76DF- f:00073 d: 223 | R = P - 223 (0x0040)
0x0120 (0x000240) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x0121 (0x000242) 0x291E- f:00024 d: 286 | OR[286] = A
0x0122 (0x000244) 0x76E2- f:00073 d: 226 | R = P - 226 (0x0040)
0x0123 (0x000246) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x0124 (0x000248) 0x291E- f:00024 d: 286 | OR[286] = A
0x0125 (0x00024A) 0x0200- f:00001 d: 0 | EXIT
0x0126 (0x00024C) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0127 (0x00024E) 0x291E- f:00024 d: 286 | OR[286] = A
0x0128 (0x000250) 0x76E8- f:00073 d: 232 | R = P - 232 (0x0040)
0x0129 (0x000252) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x012A (0x000254) 0x291E- f:00024 d: 286 | OR[286] = A
0x012B (0x000256) 0x76EB- f:00073 d: 235 | R = P - 235 (0x0040)
0x012C (0x000258) 0x1048- f:00010 d: 72 | A = 72 (0x0048)
0x012D (0x00025A) 0x291E- f:00024 d: 286 | OR[286] = A
0x012E (0x00025C) 0x0200- f:00001 d: 0 | EXIT
0x012F (0x00025E) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0130 (0x000260) 0x291E- f:00024 d: 286 | OR[286] = A
0x0131 (0x000262) 0x76F1- f:00073 d: 241 | R = P - 241 (0x0040)
0x0132 (0x000264) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x0133 (0x000266) 0x291E- f:00024 d: 286 | OR[286] = A
0x0134 (0x000268) 0x76F4- f:00073 d: 244 | R = P - 244 (0x0040)
0x0135 (0x00026A) 0x1049- f:00010 d: 73 | A = 73 (0x0049)
0x0136 (0x00026C) 0x291E- f:00024 d: 286 | OR[286] = A
0x0137 (0x00026E) 0x0200- f:00001 d: 0 | EXIT
0x0138 (0x000270) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0139 (0x000272) 0x291E- f:00024 d: 286 | OR[286] = A
0x013A (0x000274) 0x76FA- f:00073 d: 250 | R = P - 250 (0x0040)
0x013B (0x000276) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x013C (0x000278) 0x291E- f:00024 d: 286 | OR[286] = A
0x013D (0x00027A) 0x76FD- f:00073 d: 253 | R = P - 253 (0x0040)
0x013E (0x00027C) 0x104A- f:00010 d: 74 | A = 74 (0x004A)
0x013F (0x00027E) 0x291E- f:00024 d: 286 | OR[286] = A
0x0140 (0x000280) 0x0200- f:00001 d: 0 | EXIT
0x0141 (0x000282) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0142 (0x000284) 0x291E- f:00024 d: 286 | OR[286] = A
0x0143 (0x000286) 0x7703- f:00073 d: 259 | R = P - 259 (0x0040)
0x0144 (0x000288) 0x1047- f:00010 d: 71 | A = 71 (0x0047)
0x0145 (0x00028A) 0x291E- f:00024 d: 286 | OR[286] = A
0x0146 (0x00028C) 0x7706- f:00073 d: 262 | R = P - 262 (0x0040)
0x0147 (0x00028E) 0x104B- f:00010 d: 75 | A = 75 (0x004B)
0x0148 (0x000290) 0x291E- f:00024 d: 286 | OR[286] = A
0x0149 (0x000292) 0x0200- f:00001 d: 0 | EXIT
0x014A (0x000294) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x014B (0x000296) 0x291E- f:00024 d: 286 | OR[286] = A
0x014C (0x000298) 0x770C- f:00073 d: 268 | R = P - 268 (0x0040)
0x014D (0x00029A) 0x106A- f:00010 d: 106 | A = 106 (0x006A)
0x014E (0x00029C) 0x291E- f:00024 d: 286 | OR[286] = A
0x014F (0x00029E) 0x0200- f:00001 d: 0 | EXIT
0x0150 (0x0002A0) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0151 (0x0002A2) 0x291E- f:00024 d: 286 | OR[286] = A
0x0152 (0x0002A4) 0x7712- f:00073 d: 274 | R = P - 274 (0x0040)
0x0153 (0x0002A6) 0x106B- f:00010 d: 107 | A = 107 (0x006B)
0x0154 (0x0002A8) 0x291E- f:00024 d: 286 | OR[286] = A
0x0155 (0x0002AA) 0x0200- f:00001 d: 0 | EXIT
0x0156 (0x0002AC) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x0157 (0x0002AE) 0x291E- f:00024 d: 286 | OR[286] = A
0x0158 (0x0002B0) 0x7718- f:00073 d: 280 | R = P - 280 (0x0040)
0x0159 (0x0002B2) 0x106E- f:00010 d: 110 | A = 110 (0x006E)
0x015A (0x0002B4) 0x291E- f:00024 d: 286 | OR[286] = A
0x015B (0x0002B6) 0x0200- f:00001 d: 0 | EXIT
0x015C (0x0002B8) 0x101B- f:00010 d: 27 | A = 27 (0x001B)
0x015D (0x0002BA) 0x291E- f:00024 d: 286 | OR[286] = A
0x015E (0x0002BC) 0x771E- f:00073 d: 286 | R = P - 286 (0x0040)
0x015F (0x0002BE) 0x106F- f:00010 d: 111 | A = 111 (0x006F)
0x0160 (0x0002C0) 0x291E- f:00024 d: 286 | OR[286] = A
0x0161 (0x0002C2) 0x0200- f:00001 d: 0 | EXIT
0x0162 (0x0002C4) 0x0085- f:00000 d: 133 | PASS | **** non-standard encoding with D:0x0085 ****
0x0163 (0x0002C6) 0x0089- f:00000 d: 137 | PASS | **** non-standard encoding with D:0x0089 ****
0x0164 (0x0002C8) 0x0094- f:00000 d: 148 | PASS | **** non-standard encoding with D:0x0094 ****
0x0165 (0x0002CA) 0x0084- f:00000 d: 132 | PASS | **** non-standard encoding with D:0x0084 ****
0x0166 (0x0002CC) 0x0093- f:00000 d: 147 | PASS | **** non-standard encoding with D:0x0093 ****
0x0167 (0x0002CE) 0x00A7- f:00000 d: 167 | PASS | **** non-standard encoding with D:0x00A7 ****
0x0168 (0x0002D0) 0x0095- f:00000 d: 149 | PASS | **** non-standard encoding with D:0x0095 ****
0x0169 (0x0002D2) 0x0096- f:00000 d: 150 | PASS | **** non-standard encoding with D:0x0096 ****
0x016A (0x0002D4) 0x0097- f:00000 d: 151 | PASS | **** non-standard encoding with D:0x0097 ****
0x016B (0x0002D6) 0x0098- f:00000 d: 152 | PASS | **** non-standard encoding with D:0x0098 ****
0x016C (0x0002D8) 0x0099- f:00000 d: 153 | PASS | **** non-standard encoding with D:0x0099 ****
0x016D (0x0002DA) 0x009A- f:00000 d: 154 | PASS | **** non-standard encoding with D:0x009A ****
0x016E (0x0002DC) 0x009B- f:00000 d: 155 | PASS | **** non-standard encoding with D:0x009B ****
0x016F (0x0002DE) 0x009C- f:00000 d: 156 | PASS | **** non-standard encoding with D:0x009C ****
0x0170 (0x0002E0) 0x009D- f:00000 d: 157 | PASS | **** non-standard encoding with D:0x009D ****
0x0171 (0x0002E2) 0x009E- f:00000 d: 158 | PASS | **** non-standard encoding with D:0x009E ****
0x0172 (0x0002E4) 0x009F- f:00000 d: 159 | PASS | **** non-standard encoding with D:0x009F ****
0x0173 (0x0002E6) 0x00A0- f:00000 d: 160 | PASS | **** non-standard encoding with D:0x00A0 ****
0x0174 (0x0002E8) 0x00A1- f:00000 d: 161 | PASS | **** non-standard encoding with D:0x00A1 ****
0x0175 (0x0002EA) 0x00A2- f:00000 d: 162 | PASS | **** non-standard encoding with D:0x00A2 ****
0x0176 (0x0002EC) 0x00A3- f:00000 d: 163 | PASS | **** non-standard encoding with D:0x00A3 ****
0x0177 (0x0002EE) 0x0000- f:00000 d: 0 | PASS
0x0178 (0x0002F0) 0x0000- f:00000 d: 0 | PASS
0x0179 (0x0002F2) 0x0000- f:00000 d: 0 | PASS
0x017A (0x0002F4) 0x0000- f:00000 d: 0 | PASS
0x017B (0x0002F6) 0x0000- f:00000 d: 0 | PASS
| 85.148936
| 127
| 0.468703
|
e2a97239214dfc772ae53c11f87813f1e3460d10
| 645
|
asm
|
Assembly
|
programs/oeis/289/A289443.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/289/A289443.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/289/A289443.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A289443: a(0)=2, a(1)=6; thereafter a(n) = 3*n^2.
; 2,6,12,27,48,75,108,147,192,243,300,363,432,507,588,675,768,867,972,1083,1200,1323,1452,1587,1728,1875,2028,2187,2352,2523,2700,2883,3072,3267,3468,3675,3888,4107,4332,4563,4800,5043,5292,5547,5808,6075,6348,6627,6912,7203,7500,7803,8112,8427,8748,9075,9408,9747,10092,10443,10800,11163,11532,11907,12288,12675,13068,13467,13872,14283,14700,15123,15552,15987,16428,16875,17328,17787,18252,18723,19200,19683,20172,20667,21168,21675,22188,22707,23232,23763,24300,24843,25392,25947,26508,27075,27648,28227,28812,29403
pow $0,2
mov $1,1
bin $1,$0
add $0,2
add $1,3
mul $1,$0
sub $1,6
mov $0,$1
| 53.75
| 516
| 0.748837
|
6c79163e41c253e7bc8c3327d96ec73850359b1d
| 912
|
asm
|
Assembly
|
ASM/src/textbox.asm
|
ActuallyAdasi/OoT-Randomizer
|
909dff2ba6fb1ebb29d79e1ede47138d36e256d5
|
[
"MIT"
] | 289
|
2018-04-22T15:57:39.000Z
|
2022-02-24T02:25:22.000Z
|
ASM/src/textbox.asm
|
ActuallyAdasi/OoT-Randomizer
|
909dff2ba6fb1ebb29d79e1ede47138d36e256d5
|
[
"MIT"
] | 197
|
2018-04-29T19:31:28.000Z
|
2022-01-23T09:11:43.000Z
|
ASM/src/textbox.asm
|
ActuallyAdasi/OoT-Randomizer
|
909dff2ba6fb1ebb29d79e1ede47138d36e256d5
|
[
"MIT"
] | 161
|
2018-03-29T20:53:51.000Z
|
2022-03-28T02:28:11.000Z
|
get_name_char_1:
addiu sp, sp, -0x10
sw ra, 0x08 (sp)
jal get_name_char
addi a0, s3, -1
ori t2, v0, 0
lw ra, 0x08 (sp)
addiu sp, sp, 0x10
get_name_char_2:
addiu sp, sp, -0x10
sw ra, 0x08 (sp)
jal get_name_char
ori a0, s2, 0
ori s0, v0, 0
lw ra, 0x08 (sp)
addiu sp, sp, 0x10
; a0 = char index into name
get_name_char:
li t0, PLAYER_NAME_ID
lbu t0, 0x00 (t0)
bnez t0, @@coop_player_name
nop
li t0, SAVE_CONTEXT
add t0, t0, a0
lbu v0, 0x24 (t0)
b @@return
nop
@@coop_player_name:
sll t0, t0, 3
li v0, PLAYER_NAMES
add t0, t0, v0
add t0, t0, a0
lbu v0, 0x00 (t0)
@@return:
jr ra
nop
reset_player_name_id:
; displaced code
lw s6,48(sp)
lw s7,52(sp)
lw s8,56(sp)
li t0, PLAYER_NAME_ID
sb zero, 0x00 (t0)
jr ra
nop
| 14.95082
| 31
| 0.542763
|
6cb19e525f1a5824abeacebb64d99dc363ea9075
| 2,457
|
asm
|
Assembly
|
programs/oeis/064/A064989.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/064/A064989.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/064/A064989.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A064989 o=1: Multiplicative with a(2^e) = 1 and a(p^e) = prevprime(p)^e for odd primes p.
; Coded manually 2021-02-28 by Antti Karttunen, https://github.com/karttu
;
; Note that A064989(n) <= n, and in this version also all the intermediate results also are <= n,
; which means that if n is in the valid (positive?) range of the LODA-machine, then a(n) should also be.
;
; A few derived sequences: A064216(n) = A064989(2n-1), A108951(n) = n * A108951(A064989(n)).
; Also A252463(n) = n/2 if n is even, A252463(n) = A064989(n) if n is odd.
;
add $0,1 ; Add one, because A064989 is offset=1 sequence.
mov $1,1 ; Initialize the result-register, the result (which is a product) is constructed into this.
mov $2,2 ; This is the smallest prime-divisor we have encountered so far.
mov $4,1
lpb $0 ; Start the main loop. We stop when there's nothing remaining in $0 anymore. Guaranteed to decrease on every iteration.
mul $1,$4 ; Multiply m by ($2-1) of the previous iteration (and by 1 on the first iteration).
mov $3,$0 ; What's remaining of $0 is safe upper limit for finding its smallest prime factor.
lpb $3 ; Which is done in this subloop: find the next prime >= $2 that divides $0, which = A020639($0).
mov $4,$0
mod $4,$2
cmp $4,0
cmp $4,0
sub $3,$4 ; Subtract one if $2 did not divide n (to continue searching), otherwise subtract zero, and fall out of the loop.
add $2,1 ; Note: when we fall out, the last instance of this incrementing is discarded, and we still have the spf-divisor in $2
lpe
; Now for $0 > 0, we have lpf = A020639(n) in $2.
div $0,$2 ; Divide one instance of that (current) smallest prime factor out of $0.
mov $4,$2
mov $5,$2
lpb $5 ; Then search the first noncomposite < $2 in this naive little loop.
sub $4,1
mov $6,$4
sub $6,1
lpb $6 ; That contains another naive loop for the primality check. Check whether gcd($4,k) = 1 for all k = 1..($4-1).
mov $7,$4
gcd $7,$6
cmp $7,1
sub $6,$7
lpe
cmp $6,0
cmp $6,0 ; Now $6 = 0 only if $4 is either a prime or 1.
sub $5,$6 ; Fall out if $6 is 0 now, that is, if we found the previous prime (or 1).
lpe
sub $4,1 ; Compensate for the lost iteration.
; The previous prime (or 1) should be now located in $4, so at (top of) the next iteration of the main loop it will be multiplied to the product.
lpe
; The result is now in $1.
| 52.276596
| 145
| 0.64998
|
5ced74499daf38ae5faf2563796bbc265d237408
| 277
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/target/scz180/device/csio/sdcc/csio_sd_write_block_fastcall.asm
|
Frodevan/z88dk
|
f27af9fe840ff995c63c80a73673ba7ee33fffac
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/target/scz180/device/csio/sdcc/csio_sd_write_block_fastcall.asm
|
Frodevan/z88dk
|
f27af9fe840ff995c63c80a73673ba7ee33fffac
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/target/scz180/device/csio/sdcc/csio_sd_write_block_fastcall.asm
|
Frodevan/z88dk
|
f27af9fe840ff995c63c80a73673ba7ee33fffac
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
SECTION code_driver
PUBLIC _sd_write_block_fastcall
EXTERN asm_sd_write_block
;Write a block of 512 bytes (one sector) from (HL++) to the drive
;
;input HL = pointer to block to write
;uses AF, BC, DE, HL
defc _sd_write_block_fastcall = asm_sd_write_block
| 19.785714
| 69
| 0.736462
|
cfcbf0f312f207c3ebf689ccf0b536ac37159981
| 437
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_wides.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_wides.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_wides.asm
|
teknoplop/z88dk
|
bb03fbfd6b2ab0f397a1358559089f9cd3706485
|
[
"ClArtistic"
] | 1
|
2019-12-03T23:57:48.000Z
|
2019-12-03T23:57:48.000Z
|
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by Einar Saukas
;
; See "nirvana+.h" for further details
; ----------------------------------------------------------------
; void NIRVANAP_wides(unsigned char *addr)
SECTION code_clib
SECTION code_nirvanap
PUBLIC _NIRVANAP_wides
_NIRVANAP_wides:
pop af
pop hl
push hl
push af
ld (56111),hl
ret
| 18.208333
| 66
| 0.498856
|
f5d60d23c74b840cef3b82d18b355984fb907dcc
| 294
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/target/rc2014/driver/terminal/rc_01_output_basic/rc_01_output_basic_iterm_msg_bs.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/target/rc2014/driver/terminal/rc_01_output_basic/rc_01_output_basic_iterm_msg_bs.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/target/rc2014/driver/terminal/rc_01_output_basic/rc_01_output_basic_iterm_msg_bs.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
INCLUDE "config_private.inc"
SECTION code_driver
SECTION code_driver_terminal_output
PUBLIC rc_01_output_basic_iterm_msg_bs
rc_01_output_basic_iterm_msg_bs:
; backspace
; can use: af, bc, de, hl, ix
call backspace
ld a,' '
rst 0x08
backspace:
ld a,CHAR_BS
jp 0x08
| 13.363636
| 38
| 0.738095
|
dd87cf451723e13401d795bad601a385af4c1a29
| 690
|
asm
|
Assembly
|
oeis/158/A158542.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/158/A158542.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/158/A158542.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A158542: a(n) = Hermite(n,13).
; Submitted by Jon Maiga
; 1,26,674,17420,448876,11531416,295328056,7540152464,191909371280,4869001213856,123139662877216,3104251210530496,78001458890494144,1953535902100115840,48763895523450164096,1213162278350901022976,30079302371419921674496,743240668749689130801664,18301561106863640063910400,449083924703465832952810496,10980722720229293334344477696,267535433737822993374844000256,6494730922933767507703475943424,157091444911813743491797238517760,3785619945252204025432368308064256,90885729220790244973635308560818176
add $0,1
mov $3,1
lpb $0
sub $0,1
add $2,$3
mov $3,$1
mov $1,$2
mul $2,26
mul $3,-1
mul $3,$0
mul $3,2
lpe
mov $0,$1
| 38.333333
| 497
| 0.827536
|
78f70747b1d3a0e52fb0e97a0776ddcbe3f59f08
| 347
|
asm
|
Assembly
|
programs/oeis/212/A212972.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/212/A212972.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/212/A212972.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A212972: Number of (w,x,y) with all terms in {0,...,n} and w<floor((x+y)/3)).
; 1,8,24,53,100,168,261,384,540,733,968,1248,1577,1960,2400,2901,3468,4104,4813,5600,6468,7421,8464,9600,10833,12168,13608,15157,16820,18600,20501,22528,24684,26973,29400,31968,34681,37544,40560,43733
add $0,2
mov $1,$0
sub $0,1
bin $1,2
mul $0,$1
mul $0,8
div $0,6
| 31.545455
| 200
| 0.691643
|
d867bcdb8440ac7026a92bb97817c13f0b8080b1
| 719
|
asm
|
Assembly
|
src/org/LibTest/Console1861.asm
|
fourstix/1802PixieVideoTTY
|
149cf85b1e5bf02e853d9b253313f6c0fbde8bd9
|
[
"MIT"
] | 1
|
2020-09-01T16:37:38.000Z
|
2020-09-01T16:37:38.000Z
|
src/org/LibTest/Console1861.asm
|
fourstix/1802PixieVideoTTY
|
149cf85b1e5bf02e853d9b253313f6c0fbde8bd9
|
[
"MIT"
] | 3
|
2020-08-30T19:39:22.000Z
|
2020-11-14T22:44:42.000Z
|
src/org/LibTest/Console1861.asm
|
fourstix/1802PixieVideoTTY
|
149cf85b1e5bf02e853d9b253313f6c0fbde8bd9
|
[
"MIT"
] | null | null | null |
IF UseConsole == "TRUE"
; =========================================================================================
; =========================================================================================
ToDecimal: GLO RF
STR R2
LDI lo(TD_lookup)
PLO RD
LDI hi(TD_lookup)
PHI RD
DEC RE
TD_loop1: INC RE
LDI 00H
STR RE
LDN RD
TD_loop2: SD
BNF TD_overflow
STR R2
LDN RE
ADI 01H
STR RE
BR TD_loop2
TD_overflow: LDA RD
SHR
BNF TD_loop1
DEC RD
DEC RD
SEP R5
TD_lookup: db 0064H, 000AH, 0001H
;------------------------------------------------------------------------------------------
ENDIF
| 18.435897
| 91
| 0.331015
|
eeb7e4a28159a75b560e70f64aaabff937b2580c
| 487
|
asm
|
Assembly
|
oeis/245/A245417.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/245/A245417.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/245/A245417.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A245417: Number of nonnegative integers with property that their base 7/3 expansion (see A024640) has n digits.
; Submitted by Jon Maiga
; 7,14,28,70,161,378,882,2058,4802,11200,26138,60984,142296,332024,774725,1807694,4217948,9841881,22964389,53583572,125028337,291732784,680709834,1588322946,3706086874,8647536037,20177584084,47081029534,109855735577,256330049682
mov $3,1
lpb $0
sub $0,$3
add $4,$2
mov $2,$4
add $2,1
div $4,3
add $4,$2
lpe
mov $0,$4
mul $0,7
add $0,7
| 28.647059
| 228
| 0.74538
|
043b05f3aa4c6bc589da48332b098d360bd124c0
| 477
|
asm
|
Assembly
|
examples/mikeos/kernel/user.asm
|
cashlisa/mos
|
75165d1a63a6aa172001bbd9a1df441ff9c15038
|
[
"MIT"
] | 302
|
2019-05-20T12:45:37.000Z
|
2022-03-29T07:27:43.000Z
|
examples/mikeos/kernel/user.asm
|
huytd/mos
|
a9d8f925b87fcc56b94ff5933403f46a3146e1bf
|
[
"MIT"
] | 12
|
2020-03-27T13:04:53.000Z
|
2021-12-07T12:26:29.000Z
|
examples/mikeos/kernel/user.asm
|
huytd/mos
|
a9d8f925b87fcc56b94ff5933403f46a3146e1bf
|
[
"MIT"
] | 33
|
2020-04-08T15:40:44.000Z
|
2022-03-12T03:26:07.000Z
|
global enter_usermode
enter_usermode:
cli
mov ax, 0x23 ; user mode data selector is 0x20 (GDT entry 3). Also sets RPL to 3
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push 0x23 ; SS, notice it uses same selector as above
push esp ; ESP
pushfd ; EFLAGS
pop eax
or eax, 0x200 ; enable IF in EFLAGS
push eax
push 0x1b ; CS, user mode code selector is 0x18. With RPL 3 this is 0x1b
lea eax, [user_start] ; EIP first
push eax
iretd
user_start:
add esp, 4
| 19.08
| 81
| 0.696017
|
77cefeb1487be2b88f57de2b6a5c8c7c0c56ac61
| 265
|
asm
|
Assembly
|
hello.asm
|
avian2/linux-com-loader
|
95f11aa8f1982461406c31c18031e442580fe57c
|
[
"WTFPL"
] | 11
|
2016-08-26T10:51:12.000Z
|
2019-07-16T08:42:56.000Z
|
hello.asm
|
avian2/linux-com-loader
|
95f11aa8f1982461406c31c18031e442580fe57c
|
[
"WTFPL"
] | null | null | null |
hello.asm
|
avian2/linux-com-loader
|
95f11aa8f1982461406c31c18031e442580fe57c
|
[
"WTFPL"
] | null | null | null |
call greet
mov rax, 60
mov rdi, 0
syscall
# A function call, just to show off our working stack.
greet:
mov rax, 1
mov rdi, 1
mov rsi, msg
mov rdx, 14
syscall
ret
msg db "Hello, World!", 10
| 16.5625
| 54
| 0.509434
|
ba70c5e8ac32e7b5fc5b30a85d79ad81bd59880a
| 7,253
|
asm
|
Assembly
|
Library/Text/UI/uiParaSpacing.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 504
|
2018-11-18T03:35:53.000Z
|
2022-03-29T01:02:51.000Z
|
Library/Text/UI/uiParaSpacing.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 96
|
2018-11-19T21:06:50.000Z
|
2022-03-06T10:26:48.000Z
|
Library/Text/UI/uiParaSpacing.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 73
|
2018-11-19T20:46:53.000Z
|
2022-03-29T00:59:26.000Z
|
COMMENT @-----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Text Library
FILE: uiParaSpacingControl.asm
ROUTINES:
Name Description
---- -----------
GLB ParaSpacingControlClass Style menu object
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 7/91 Initial version
DESCRIPTION:
This file contains routines to implement ParaSpacingControlClass
$Id: uiParaSpacing.asm,v 1.1 97/04/07 11:16:50 newdeal Exp $
-------------------------------------------------------------------------------@
;---------------------------------------------------
TextClassStructures segment resource
ParaSpacingControlClass ;declare the class record
TextClassStructures ends
;---------------------------------------------------
if not NO_CONTROLLERS
TextControlCommon segment resource
COMMENT @----------------------------------------------------------------------
MESSAGE: ParaSpacingControlGetInfo --
MSG_GEN_CONTROL_GET_INFO for ParaSpacingControlClass
DESCRIPTION: Return group
PASS:
*ds:si - instance data
es - segment of ParaSpacingControlClass
ax - The message
cx:dx - GenControlBuildInfo structure to fill in
RETURN:
none
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 10/31/91 Initial version
------------------------------------------------------------------------------@
ParaSpacingControlGetInfo method dynamic ParaSpacingControlClass,
MSG_GEN_CONTROL_GET_INFO
mov si, offset PASC_dupInfo
GOTO CopyDupInfoCommon
ParaSpacingControlGetInfo endm
PASC_dupInfo GenControlBuildInfo <
mask GCBF_SUSPEND_ON_APPLY, ; GCBI_flags
PASC_IniFileKey, ; GCBI_initFileKey
PASC_gcnList, ; GCBI_gcnList
length PASC_gcnList, ; GCBI_gcnCount
PASC_notifyTypeList, ; GCBI_notificationList
length PASC_notifyTypeList, ; GCBI_notificationCount
PASCName, ; GCBI_controllerName
handle ParaSpacingControlUI, ; GCBI_dupBlock
PASC_childList, ; GCBI_childList
length PASC_childList, ; GCBI_childCount
PASC_featuresList, ; GCBI_featuresList
length PASC_featuresList, ; GCBI_featuresCount
PASC_DEFAULT_FEATURES, ; GCBI_features
0, ; GCBI_toolBlock
0, ; GCBI_toolList
0, ; GCBI_toolCount
0, ; GCBI_toolFeaturesList
0, ; GCBI_toolFeaturesCount
PASC_DEFAULT_TOOLBOX_FEATURES, ; GCBI_toolFeatures
PASC_helpContext> ; GCBI_helpContext
if FULL_EXECUTE_IN_PLACE
ControlInfoXIP segment resource
endif
PASC_helpContext char "dbParaSpc", 0
PASC_IniFileKey char "paraSpacing", 0
PASC_gcnList GCNListType \
<MANUFACTURER_ID_GEOWORKS, GAGCNLT_APP_TARGET_NOTIFY_TEXT_PARA_ATTR_CHANGE>
PASC_notifyTypeList NotificationType \
<MANUFACTURER_ID_GEOWORKS, GWNT_TEXT_PARA_ATTR_CHANGE>
;---
PASC_childList GenControlChildInfo \
<offset SpaceOnTopDistance, mask PASCF_SPACE_ON_TOP,
mask GCCF_IS_DIRECTLY_A_FEATURE>,
<offset SpaceOnBottomDistance, mask PASCF_SPACE_ON_BOTTOM,
mask GCCF_IS_DIRECTLY_A_FEATURE>
; Careful, this table is in the *opposite* order as the record which
; it corresponds to.
PASC_featuresList GenControlFeaturesInfo \
<offset SpaceOnBottomDistance, SpaceOnBottomName, 0>,
<offset SpaceOnTopDistance, SpaceOnTopName, 0>
if FULL_EXECUTE_IN_PLACE
ControlInfoXIP ends
endif
TextControlCommon ends
;---
TextControlCode segment resource
COMMENT @----------------------------------------------------------------------
MESSAGE: ParaSpacingControlSetSpaceOnTop -- MSG_PASC_SET_SPACE_ON_TOP
for ParaSpacingControlClass
DESCRIPTION: Handle a change in theee "Plain" state
PASS:
*ds:si - instance data
es - segment of ParaSpacingControlClass
ax - The message
dx - spacing
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 10/31/91 Initial version
------------------------------------------------------------------------------@
ParaSpacingControlSetSpaceOnTop method ParaSpacingControlClass,
MSG_PASC_SET_SPACE_ON_TOP
mov ax, MSG_VIS_TEXT_SET_SPACE_ON_TOP
GOTO SendVisText_AX_DX_CX_Times_8_Common
ParaSpacingControlSetSpaceOnTop endm
COMMENT @----------------------------------------------------------------------
MESSAGE: ParaSpacingControlSetSpaceOnBottom --
MSG_PASC_SET_SPACE_ON_BOTTOM for ParaSpacingControlClass
DESCRIPTION: Handle a change in theee "Plain" state
PASS:
*ds:si - instance data
es - segment of ParaSpacingControlClass
ax - The message
dx - spacing
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 10/31/91 Initial version
------------------------------------------------------------------------------@
ParaSpacingControlSetSpaceOnBottom method ParaSpacingControlClass,
MSG_PASC_SET_SPACE_ON_BOTTOM
mov ax, MSG_VIS_TEXT_SET_SPACE_ON_BOTTOM
GOTO SendVisText_AX_DX_CX_Times_8_Common
ParaSpacingControlSetSpaceOnBottom endm
COMMENT @----------------------------------------------------------------------
MESSAGE: ParaSpacingControlUpdateUI -- MSG_GEN_CONTROL_UPDATE_UI
for ParaSpacingControlClass
DESCRIPTION: Handle notification of attributes change
PASS:
*ds:si - instance data
es - segment of ParaSpacingControlClass
ax - The message
ss:bp - GenControlUpdateUIParams
RETURN:
DESTROYED:
bx, si, di, ds, es (message handler)
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 11/12/91 Initial version
------------------------------------------------------------------------------@
ParaSpacingControlUpdateUI method dynamic ParaSpacingControlClass,
MSG_GEN_CONTROL_UPDATE_UI
; get notification data
mov bx, ss:[bp].GCUUIP_dataBlock
call MemLock
mov es, ax
mov dx, es:VTNPAC_paraAttrDiffs.VTPAD_diffs
; set spacing on top and bottom
mov ax, ss:[bp].GCUUIP_features
mov bx, ss:[bp].GCUUIP_childBlock
test ax, mask PASCF_SPACE_ON_TOP
jz noSpaceOnTop
mov cx, {word} es:VTNPAC_paraAttr.VTMPA_paraAttr.VTPA_spaceOnTop
push dx
and dx, mask VTPAF_MULTIPLE_TOP_SPACING
mov si, offset SpaceOnTopDistance
call SendRangeSetValueTimes8
pop dx
noSpaceOnTop:
test ax, mask PASCF_SPACE_ON_BOTTOM
jz noSpaceOnBottom
mov cx, {word} es:VTNPAC_paraAttr.VTMPA_paraAttr.VTPA_spaceOnBottom
and dx, mask VTPAF_MULTIPLE_BOTTOM_SPACING
mov si, offset SpaceOnBottomDistance
call SendRangeSetValueTimes8
noSpaceOnBottom:
mov bx, ss:[bp].GCUUIP_dataBlock
call MemUnlock
ret
ParaSpacingControlUpdateUI endm
TextControlCode ends
endif ; not NO_CONTROLLERS
| 24.420875
| 81
| 0.662622
|
54e4be0770a29a7ebe70bd6faa11d3413610e0db
| 354
|
asm
|
Assembly
|
programs/oeis/039/A039216.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/039/A039216.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/039/A039216.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A039216: Numbers n such that representation in base 12 has the same number of 0's and 7's.
; 1,2,3,4,5,6,8,9,10,11,13,14,15,16,17,18,20,21,22,23,25,26,27,28,29,30,32,33,34,35,37,38,39,40,41,42,44,45,46,47,49,50,51,52,53,54,56,57,58,59,61,62,63,64,65,66,68,69,70,71,73,74,75,76,77,78,80,81,82,83
mov $1,$0
div $0,2
mul $0,2
div $0,5
add $1,$0
add $1,1
| 35.4
| 203
| 0.655367
|
555761c6638d5da679cc7756f72a3707dc082455
| 389
|
asm
|
Assembly
|
oeis/319/A319578.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/319/A319578.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/319/A319578.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A319578: a(n) = (1/3)*(n+2)^2*(3*n+3)!/(n+2)!^3.
; Submitted by Jon Maiga
; 1,10,140,2310,42042,816816,16628040,350574510,7595781050,168212023980,3792416540640,86787993910800,2011383287449200,47123837020238400,1114478745528638160,26575401262863040830,638330716607984804250,15431925043610580004500,375239440534109892741000
add $0,1
seq $0,7004 ; a(n) = (3*n)! / ((n+1)*(n!)^3).
div $0,3
| 48.625
| 247
| 0.750643
|
a8a1d7adbf072256ef9ad8b147e09790848007d3
| 388
|
asm
|
Assembly
|
libsrc/stdio/g800/getk_850.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/stdio/g800/getk_850.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/stdio/g800/getk_850.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
;
; Sharp PC G-800 family stdio
;
; getk() Read key status
;
; Stefano Bodrato - 2017
;
;
; $Id: getk_850.asm - stefano Exp $
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
.getk
._getk
call $BE53 ; ket key code (if no key, A=0 and CY=0)
call $BE56 ; convert key code to value
IF STANDARDESCAPECHARS
cp 13
jr nz,not_return
ld a,10
.not_return
ENDIF
ld h,0
ld l,a
ret
| 12.516129
| 52
| 0.664948
|
0dd28c543553ecf609aff7f517ee3455f3650d5c
| 483
|
asm
|
Assembly
|
programs/oeis/047/A047486.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/047/A047486.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/047/A047486.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A047486: Numbers that are congruent to {0, 1, 3, 5, 7} mod 8.
; 0,1,3,5,7,8,9,11,13,15,16,17,19,21,23,24,25,27,29,31,32,33,35,37,39,40,41,43,45,47,48,49,51,53,55,56,57,59,61,63,64,65,67,69,71,72,73,75,77,79,80,81,83,85,87,88,89,91,93,95,96,97,99,101,103,104,105,107,109,111,112,113,115,117,119,120,121,123,125,127,128,129,131,133,135,136,137,139,141,143,144,145,147,149,151,152,153,155,157,159
mul $0,2
seq $0,47560 ; Numbers that are congruent to {0, 2, 3, 6, 7} mod 8.
div $0,2
| 69
| 331
| 0.670807
|
4cc6d4cb40d40cd0944e8c37f9c4f284f219de27
| 1,175
|
asm
|
Assembly
|
ADL/Assemble/Update/2/B~HR_sort_dec.asm
|
MaxMorning/LinkedListVisualization
|
b2a4f8f11ff6f6dfb495566a006e3472f1dac369
|
[
"Apache-2.0"
] | 3
|
2021-11-06T03:47:08.000Z
|
2021-11-06T03:47:11.000Z
|
ADL/Assemble/Update/2/B~HR_sort_dec.asm
|
MaxMorning/LinkedListVisualization
|
b2a4f8f11ff6f6dfb495566a006e3472f1dac369
|
[
"Apache-2.0"
] | null | null | null |
ADL/Assemble/Update/2/B~HR_sort_dec.asm
|
MaxMorning/LinkedListVisualization
|
b2a4f8f11ff6f6dfb495566a006e3472f1dac369
|
[
"Apache-2.0"
] | 1
|
2021-11-06T03:47:14.000Z
|
2021-11-06T03:47:14.000Z
|
aLine 0
gNew basePtr
gMove basePtr, Root
gNewVPtr minNext
gNewVPtr rootNext
gMoveNext rootNext, Root
gNewVPtr basePrev
gNew minPtr, 1085, 800
gNewVPtr minPrev
gNew currentPtr, 1085, 920
aLine 1
gBeq basePtr, null, 47
aLine 3
gMove minPtr, basePtr
aLine 4
gMoveNext currentPtr, basePtr
aLine 5
gBeq currentPtr, null, 8
aLine 6
vBle minPtr, currentPtr, 3
aLine 7
gMove minPtr, currentPtr
aLine 9
gMoveNext currentPtr, currentPtr
Jmp -8
aLine 12
gMovePrev basePrev, basePtr
gBne basePrev, null, 3
aLine 13
gMove Rear, minPtr
aLine 15
gBne minPtr, basePtr, 3
aLine 16
gMoveNext basePtr, basePtr
aLine 18
gMovePrev minPrev, minPtr
gMoveNext minNext, minPtr
gBeq minPrev, null, 20
aLine 19
nMoveRel minPtr, minPtr, 0, -164.545
pSetNext minPrev, minNext
aLine 20
gBeq minNext, null, 3
aLine 21
pSetPrev minNext, minPrev
aLine 23
pDeleteNext minPtr
pDeletePrev minPtr
nMoveRel minPtr, Root, -95, -164.545
pSetNext minPtr, Root
aLine 24
pSetPrev Root, minPtr
aLine 25
gMove Root, minPtr
aLine 26
pDeletePrev minPtr
aStd
Jmp -47
aLine 29
gDelete basePrev
gDelete basePtr
gDelete minNext
gDelete minPtr
gDelete minPrev
gDelete rootNext
gDelete currentPtr
aStd
Halt
| 13.055556
| 36
| 0.794894
|
24f24c6c1fecb19089eec11a1273e945071abaf1
| 1,529
|
asm
|
Assembly
|
rts-jumptable.asm
|
JimmyDansbo/cx16stuff
|
e052dfcb98a3b2418bc80586173d9f83488593a6
|
[
"Unlicense"
] | null | null | null |
rts-jumptable.asm
|
JimmyDansbo/cx16stuff
|
e052dfcb98a3b2418bc80586173d9f83488593a6
|
[
"Unlicense"
] | null | null | null |
rts-jumptable.asm
|
JimmyDansbo/cx16stuff
|
e052dfcb98a3b2418bc80586173d9f83488593a6
|
[
"Unlicense"
] | 1
|
2019-11-23T23:43:23.000Z
|
2019-11-23T23:43:23.000Z
|
*=$0801
!word $080C ; Pointer to next BASIC line
!word $000A ; Line number $000A = 10
!byte $9E ; SYS BASIC token
!pet " $810",0 ; Address where ASM starts
!word $0000 ; EOF BASIC program
*=$0810
CHROUT = $FFD2
main_func:!byte $ff
lda #>@ret1-1 ; Push return address onto stack
pha ; Otherwise the function that is called
lda #<@ret1-1 ; via the jumptable will not be able to
pha ; use rts to return.
ldx #2 ; Load index into jump table
inx
lda Jump_table,x ; Push function address to stack
pha ; remembering that cpu is little-endian
dex
lda Jump_table,x
pha
rts ; Jump to function
@ret1: lda #>@ret2-1
pha
lda #<@ret2-1
pha
ldx #4
inx
lda Jump_table,x
pha
dex
lda Jump_table,x
pha
rts
@ret2: lda #>@ret3-1
pha
lda #<@ret3-1
pha
ldx #0
inx
lda Jump_table,x
pha
dex
lda Jump_table,x
pha
rts
@ret3: lda #>@ret4-1
pha
lda #<@ret4-1
pha
ldx #6
inx
lda Jump_table,x
pha
dex
lda Jump_table,x
pha
rts
@ret4: rts
; Write 1 and a new line on screen
func1:
lda #$31
jsr CHROUT
lda #13
jsr CHROUT
rts
; Write 2 and a new line on screen
func2:
lda #$32
jsr CHROUT
lda #13
jsr CHROUT
rts
; Write 3 and a new line on screen
func3:
lda #$33
jsr CHROUT
lda #13
jsr CHROUT
rts
; Write 4 and a new line on screen
func4:
lda #$34
jsr CHROUT
lda #13
jsr CHROUT
rts
; The jumptable needs to contain the function address - 1 in order
; to be able to use rts to jump to the function
Jump_table:
!word func1-1
!word func2-1
!word func3-1
!word func4-1
| 14.28972
| 66
| 0.672989
|
3c5bb4d856c977be67d1eee85b94f720754dec88
| 1,338
|
asm
|
Assembly
|
Source/Test/Case/HookSetSuccess/TransactionalMemoryFallback.asm
|
samuelgr/Hookshot
|
cf6e0fa6c273fcac087e0c0a97097433736e72ab
|
[
"BSD-3-Clause"
] | 4
|
2021-01-10T22:25:31.000Z
|
2022-01-11T16:55:25.000Z
|
Source/Test/Case/HookSetSuccess/TransactionalMemoryFallback.asm
|
samuelgr/Hookshot
|
cf6e0fa6c273fcac087e0c0a97097433736e72ab
|
[
"BSD-3-Clause"
] | 2
|
2021-01-11T11:23:47.000Z
|
2021-05-12T05:26:30.000Z
|
Source/Test/Case/HookSetSuccess/TransactionalMemoryFallback.asm
|
samuelgr/Hookshot
|
cf6e0fa6c273fcac087e0c0a97097433736e72ab
|
[
"BSD-3-Clause"
] | 2
|
2020-10-02T03:07:50.000Z
|
2021-12-29T14:42:25.000Z
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Hookshot
; General-purpose library for injecting DLLs and hooking function calls.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Authored by Samuel Grossman
; Copyright (c) 2019-2021
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
INCLUDE TestDefinitions.inc
; Tests Hookshot's ability to transplant transactional memory instructions.
; In 32-bit mode, the xbegin instruction requires a jump assist because it is encoded using rel16.
; If Hookshot does not implement jump assist correctly, the fallback path will not be hit, and the return value will be incorrect.
; Hook function does nothing special for this test.
_TEXT SEGMENT
BEGIN_HOOKSHOT_TEST_FUNCTION TransactionalMemoryFallback_Original
xbegin $fallback
xabort 0
xor eax, eax
ret
$fallback:
mov sax, scx
ret
END_HOOKSHOT_TEST_FUNCTION TransactionalMemoryFallback_Original
BEGIN_HOOKSHOT_TEST_FUNCTION TransactionalMemoryFallback_Hook
mov sax, scx
shl sax, 1
ret
END_HOOKSHOT_TEST_FUNCTION TransactionalMemoryFallback_Hook
_TEXT ENDS
END
| 30.409091
| 130
| 0.569507
|
9261f31b8a13c0c20a669c5c63114979f4ee63d6
| 8,021
|
asm
|
Assembly
|
libtool/src/gmp-6.1.2/mpn/alpha/ev6/add_n.asm
|
kroggen/aergo
|
05af317eaa1b62b21dc0144ef74a9e7acb14fb87
|
[
"MIT"
] | 1,602
|
2015-01-06T11:26:31.000Z
|
2022-03-30T06:17:21.000Z
|
libtool/src/gmp-6.1.2/mpn/alpha/ev6/add_n.asm
|
kroggen/aergo
|
05af317eaa1b62b21dc0144ef74a9e7acb14fb87
|
[
"MIT"
] | 11,789
|
2015-01-05T04:50:15.000Z
|
2022-03-31T23:39:19.000Z
|
libtool/src/gmp-6.1.2/mpn/alpha/ev6/add_n.asm
|
kroggen/aergo
|
05af317eaa1b62b21dc0144ef74a9e7acb14fb87
|
[
"MIT"
] | 498
|
2015-01-08T18:58:18.000Z
|
2022-03-20T15:37:45.000Z
|
dnl Alpha ev6 mpn_add_n -- Add two limb vectors of the same length > 0 and
dnl store sum in a third limb vector.
dnl Copyright 2000, 2003, 2005 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of either:
dnl
dnl * the GNU Lesser General Public License as published by the Free
dnl Software Foundation; either version 3 of the License, or (at your
dnl option) any later version.
dnl
dnl or
dnl
dnl * the GNU General Public License as published by the Free Software
dnl Foundation; either version 2 of the License, or (at your option) any
dnl later version.
dnl
dnl or both in parallel, as here.
dnl
dnl The GNU MP Library is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
dnl for more details.
dnl
dnl You should have received copies of the GNU General Public License and the
dnl GNU Lesser General Public License along with the GNU MP Library. If not,
dnl see https://www.gnu.org/licenses/.
include(`../config.m4')
C cycles/limb
C EV4: ?
C EV5: 5.4
C EV6: 2.125
C INPUT PARAMETERS
C rp r16
C up r17
C vp r18
C n r19
C cy r20 (for mpn_add_nc)
C TODO
C Finish cleaning up cy registers r22, r23 (make them use cy0/cy1)
C Use multi-pronged feed-in.
C Perform additional micro-tuning
C This code was written in cooperation with ev6 pipeline expert Steve Root.
C Pair loads and stores where possible
C Store pairs oct-aligned where possible (didn't need it here)
C Stores are delayed every third cycle
C Loads and stores are delayed by fills
C U stays still, put code there where possible (note alternation of U1 and U0)
C L moves because of loads and stores
C Note dampers in L to limit damage
C This odd-looking optimization expects that were having random bits in our
C data, so that a pure zero result is unlikely. so we penalize the unlikely
C case to help the common case.
define(`u0', `r0') define(`u1', `r3')
define(`v0', `r1') define(`v1', `r4')
define(`cy0', `r20') define(`cy1', `r21')
MULFUNC_PROLOGUE(mpn_add_n mpn_add_nc)
ASM_START()
PROLOGUE(mpn_add_nc)
br r31, $entry
EPILOGUE()
PROLOGUE(mpn_add_n)
bis r31, r31, cy0 C clear carry in
$entry: cmpult r19, 5, r22 C L1 move counter
ldq u1, 0(r17) C L0 get next ones
ldq v1, 0(r18) C L1
bne r22, $Lsmall
ldq u0, 8(r17) C L0 get next ones
ldq v0, 8(r18) C L1
addq u1, v1, r5 C U0 add two data
cmpult r5, v1, r23 C U0 did it carry
ldq u1, 16(r17) C L0 get next ones
ldq v1, 16(r18) C L1
addq u0, v0, r8 C U1 add two data
addq r5, cy0, r5 C U0 carry in
cmpult r8, v0, r22 C U1 did it carry
beq r5, $fix5f C U0 fix exact zero
$ret5f: ldq u0, 24(r17) C L0 get next ones
ldq v0, 24(r18) C L1
addq r8, r23, r8 C U1 carry from last
addq u1, v1, r7 C U0 add two data
beq r8, $fix6f C U1 fix exact zero
$ret6f: cmpult r7, v1, r23 C U0 did it carry
ldq u1, 32(r17) C L0 get next ones
ldq v1, 32(r18) C L1
lda r17, 40(r17) C L0 move pointer
lda r18, 40(r18) C L1 move pointer
lda r16, -8(r16)
lda r19, -13(r19) C L1 move counter
blt r19, $Lend C U1 loop control
C Main loop. 8-way unrolled.
ALIGN(16)
$Loop: addq u0, v0, r2 C U1 add two data
addq r7, r22, r7 C U0 add in carry
stq r5, 8(r16) C L0 put an answer
stq r8, 16(r16) C L1 pair
cmpult r2, v0, cy1 C U1 did it carry
beq r7, $fix7 C U0 fix exact 0
$ret7: ldq u0, 0(r17) C L0 get next ones
ldq v0, 0(r18) C L1
bis r31, r31, r31 C L damp out
addq r2, r23, r2 C U1 carry from last
bis r31, r31, r31 C L moves in L !
addq u1, v1, r5 C U0 add two data
beq r2, $fix0 C U1 fix exact zero
$ret0: cmpult r5, v1, cy0 C U0 did it carry
ldq u1, 8(r17) C L0 get next ones
ldq v1, 8(r18) C L1
addq u0, v0, r8 C U1 add two data
addq r5, cy1, r5 C U0 carry from last
stq r7, 24(r16) C L0 store pair
stq r2, 32(r16) C L1
cmpult r8, v0, r22 C U1 did it carry
beq r5, $fix1 C U0 fix exact zero
$ret1: ldq u0, 16(r17) C L0 get next ones
ldq v0, 16(r18) C L1
lda r16, 64(r16) C L0 move pointer
addq r8, cy0, r8 C U1 carry from last
lda r19, -8(r19) C L1 move counter
addq u1, v1, r7 C U0 add two data
beq r8, $fix2 C U1 fix exact zero
$ret2: cmpult r7, v1, r23 C U0 did it carry
ldq u1, 24(r17) C L0 get next ones
ldq v1, 24(r18) C L1
addq u0, v0, r2 C U1 add two data
addq r7, r22, r7 C U0 add in carry
stq r5, -24(r16) C L0 put an answer
stq r8, -16(r16) C L1 pair
cmpult r2, v0, cy1 C U1 did it carry
beq r7, $fix3 C U0 fix exact 0
$ret3: ldq u0, 32(r17) C L0 get next ones
ldq v0, 32(r18) C L1
bis r31, r31, r31 C L damp out
addq r2, r23, r2 C U1 carry from last
bis r31, r31, r31 C L moves in L !
addq u1, v1, r5 C U0 add two data
beq r2, $fix4 C U1 fix exact zero
$ret4: cmpult r5, v1, cy0 C U0 did it carry
ldq u1, 40(r17) C L0 get next ones
ldq v1, 40(r18) C L1
addq u0, v0, r8 C U1 add two data
addq r5, cy1, r5 C U0 carry from last
stq r7, -8(r16) C L0 store pair
stq r2, 0(r16) C L1
cmpult r8, v0, r22 C U1 did it carry
beq r5, $fix5 C U0 fix exact zero
$ret5: ldq u0, 48(r17) C L0 get next ones
ldq v0, 48(r18) C L1
ldl r31, 256(r17) C L0 prefetch
addq r8, cy0, r8 C U1 carry from last
ldl r31, 256(r18) C L1 prefetch
addq u1, v1, r7 C U0 add two data
beq r8, $fix6 C U1 fix exact zero
$ret6: cmpult r7, v1, r23 C U0 did it carry
ldq u1, 56(r17) C L0 get next ones
ldq v1, 56(r18) C L1
lda r17, 64(r17) C L0 move pointer
bis r31, r31, r31 C U
lda r18, 64(r18) C L1 move pointer
bge r19, $Loop C U1 loop control
C ==== main loop end
$Lend: addq u0, v0, r2 C U1 add two data
addq r7, r22, r7 C U0 add in carry
stq r5, 8(r16) C L0 put an answer
stq r8, 16(r16) C L1 pair
cmpult r2, v0, cy1 C U1 did it carry
beq r7, $fix7c C U0 fix exact 0
$ret7c: addq r2, r23, r2 C U1 carry from last
addq u1, v1, r5 C U0 add two data
beq r2, $fix0c C U1 fix exact zero
$ret0c: cmpult r5, v1, cy0 C U0 did it carry
addq r5, cy1, r5 C U0 carry from last
stq r7, 24(r16) C L0 store pair
stq r2, 32(r16) C L1
beq r5, $fix1c C U0 fix exact zero
$ret1c: stq r5, 40(r16) C L0 put an answer
lda r16, 48(r16) C L0 move pointer
lda r19, 8(r19)
beq r19, $Lret
ldq u1, 0(r17)
ldq v1, 0(r18)
$Lsmall:
lda r19, -1(r19)
beq r19, $Lend0
ALIGN(8)
$Loop0: addq u1, v1, r2 C main add
cmpult r2, v1, r8 C compute cy from last add
ldq u1, 8(r17)
ldq v1, 8(r18)
addq r2, cy0, r5 C carry add
lda r17, 8(r17)
lda r18, 8(r18)
stq r5, 0(r16)
cmpult r5, r2, cy0 C compute cy from last add
lda r19, -1(r19) C decr loop cnt
bis r8, cy0, cy0 C combine cy from the two adds
lda r16, 8(r16)
bne r19, $Loop0
$Lend0: addq u1, v1, r2 C main add
addq r2, cy0, r5 C carry add
cmpult r2, v1, r8 C compute cy from last add
cmpult r5, r2, cy0 C compute cy from last add
stq r5, 0(r16)
bis r8, cy0, r0 C combine cy from the two adds
ret r31,(r26),1
ALIGN(8)
$Lret: lda r0, 0(cy0) C copy carry into return register
ret r31,(r26),1
$fix5f: bis r23, cy0, r23 C bring forward carry
br r31, $ret5f
$fix6f: bis r22, r23, r22 C bring forward carry
br r31, $ret6f
$fix0: bis cy1, r23, cy1 C bring forward carry
br r31, $ret0
$fix1: bis cy0, cy1, cy0 C bring forward carry
br r31, $ret1
$fix2: bis r22, cy0, r22 C bring forward carry
br r31, $ret2
$fix3: bis r23, r22, r23 C bring forward carry
br r31, $ret3
$fix4: bis cy1, r23, cy1 C bring forward carry
br r31, $ret4
$fix5: bis cy1, cy0, cy0 C bring forward carry
br r31, $ret5
$fix6: bis r22, cy0, r22 C bring forward carry
br r31, $ret6
$fix7: bis r23, r22, r23 C bring forward carry
br r31, $ret7
$fix0c: bis cy1, r23, cy1 C bring forward carry
br r31, $ret0c
$fix1c: bis cy0, cy1, cy0 C bring forward carry
br r31, $ret1c
$fix7c: bis r23, r22, r23 C bring forward carry
br r31, $ret7c
EPILOGUE()
ASM_END()
| 28.242958
| 79
| 0.680838
|
23fa5425ff866e0f9571ee8e2a5b9bb94895fd1f
| 293
|
asm
|
Assembly
|
assembler_intel.asm
|
AliMD/happy-new-year
|
c90dede80cbcbff0c7559442b2f65dfbcb786e3d
|
[
"MIT"
] | 2
|
2017-03-20T07:28:54.000Z
|
2019-12-18T18:57:38.000Z
|
assembler_intel.asm
|
AliMD/happy-new-year
|
c90dede80cbcbff0c7559442b2f65dfbcb786e3d
|
[
"MIT"
] | null | null | null |
assembler_intel.asm
|
AliMD/happy-new-year
|
c90dede80cbcbff0c7559442b2f65dfbcb786e3d
|
[
"MIT"
] | null | null | null |
; hello_world.asm intel
.model small
.stack 100h
.data
msg db "Happy New Year 1396!",'$'
.code
main proc
mov ax,@data
mov ds, ax
; hello-world is there
mov dx,offset msg
mov ah,09
int 21h
mov ax,4c00h
int 21h
main endp
end main
| 11.72
| 33
| 0.566553
|
00a7922388ffbc75aa1f7c3df9f373fd035d7fcc
| 1,232
|
asm
|
Assembly
|
programs/oeis/214/A214971.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/214/A214971.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/214/A214971.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A214971: Integers k for which the base-phi representation of k includes 1.
; 1,4,8,11,15,19,22,26,29,33,37,40,44,48,51,55,58,62,66,69,73,76,80,84,87,91,95,98,102,105,109,113,116,120,124,127,131,134,138,142,145,149,152,156,160,163,167,171,174,178,181,185,189,192,196,199,203,207,210,214,218,221,225,228,232,236,239,243,247,250,254,257,261,265,268,272,275,279,283,286,290,294,297,301,304,308,312,315,319,323,326,330,333,337,341,344,348,351,355,359,362,366,370,373,377,380,384,388,391,395,398,402,406,409,413,417,420,424,427,431,435,438,442,446,449,453,456,460,464,467,471,474,478,482,485,489,493,496,500,503,507,511,514,518,521,525,529,532,536,540,543,547,550,554,558,561,565,569,572,576,579,583,587,590,594,597,601,605,608,612,616,619,623,626,630,634,637,641,645,648,652,655,659,663,666,670,673,677,681,684,688,692,695,699,702,706,710,713,717,720,724,728,731,735,739,742,746,749,753,757,760,764,768,771,775,778,782,786,789,793,796,800,804,807,811,815,818,822,825,829,833,836,840,844,847,851,854,858,862,865,869,872,876,880,883,887,891,894,898,901
mov $4,$0
mov $5,$0
pow $0,2
lpb $0
add $0,3
add $5,2
sub $0,$5
trn $0,2
mov $3,$5
sub $3,2
lpe
add $3,3
mov $1,$3
mov $2,$4
mul $2,5
add $1,$2
sub $1,2
div $1,2
add $1,1
| 53.565217
| 970
| 0.706981
|
fb3b5e879fff321ac3d60ddf90434ea1c8fa0348
| 659
|
asm
|
Assembly
|
oeis/294/A294344.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/294/A294344.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/294/A294344.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A294344: a(n) = ((-9*n + 82)*10^n - 1)/81.
; Submitted by Christian Krause
; 1,9,79,679,5679,45679,345679,2345679,12345679,12345679,-987654321,-20987654321,-320987654321,-4320987654321,-54320987654321,-654320987654321,-7654320987654321,-87654320987654321,-987654320987654321,-10987654320987654321,-120987654320987654321,-1320987654320987654321,-14320987654320987654321,-154320987654320987654321,-1654320987654320987654321,-17654320987654320987654321,-187654320987654320987654321,-1987654320987654320987654321,-20987654320987654320987654321,-220987654320987654320987654321
add $0,1
mov $2,1
lpb $0
sub $0,1
mul $2,10
sub $2,$0
lpe
mov $0,$2
div $0,10
| 47.071429
| 496
| 0.810319
|
f6a86f17054cd74c8900b780fdfaedace5b11b38
| 932
|
asm
|
Assembly
|
programs/oeis/125/A125823.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/125/A125823.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/125/A125823.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A125823: Numbers whose base 7 representation is 4444....4.
; 0,4,32,228,1600,11204,78432,549028,3843200,26902404,188316832,1318217828,9227524800,64592673604,452148715232,3165041006628,22155287046400,155087009324804,1085609065273632,7599263456915428,53194844198408000,372363909388856004,2606547365721992032,18245831560053944228,127720820920377609600,894045746442643267204,6258320225098502870432,43808241575689520093028,306657691029826640651200,2146603837208786484558404,15026226860461505391908832,105183588023230537743361828,736285116162613764203532800,5153995813138296349424729604,36077970691968074445973107232,252545794843776521121811750628,1767820563906435647852682254400,12374743947345049534968775780804,86623207631415346744781430465632,606362453419907427213470013259428,4244537173939351990494290092816000,29711760217575463933460030649712004,207982321523028247534220214547984032
mov $1,7
pow $1,$0
div $1,6
mul $1,4
mov $0,$1
| 103.555556
| 822
| 0.909871
|
2a2777acfe28a8a4307a199edc16eef5e3e9e23a
| 1,023
|
asm
|
Assembly
|
libsrc/sprites/software/sp1/spectrum/sprites/sp1_IterateSprChar_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 38
|
2021-06-18T12:56:15.000Z
|
2022-03-12T20:38:40.000Z
|
libsrc/sprites/software/sp1/spectrum/sprites/sp1_IterateSprChar_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 2
|
2021-06-20T16:28:12.000Z
|
2021-11-17T21:33:56.000Z
|
libsrc/sprites/software/sp1/spectrum/sprites/sp1_IterateSprChar_callee.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 6
|
2021-06-18T18:18:36.000Z
|
2021-12-22T08:01:32.000Z
|
; void __CALLEE__ sp1_IterateSprChar_callee(struct sp1_ss *s, void *hook1)
; 02.2006 aralbrec, Sprite Pack v3.0
; sinclair spectrum version
PUBLIC sp1_IterateSprChar_callee
PUBLIC ASMDISP_SP1_ITERATESPRCHAR_CALLEE
EXTERN l_jpix
.sp1_IterateSprChar_callee
pop hl
pop ix
ex (sp),hl
.asmentry
; Iterate over all the struct sp1_cs contained in a sprite
; in row major order, calling the user function for each one.
;
; enter : hl = & struct sp1_ss
; ix = user function
; uses : af, bc, hl + whatever user function uses
.SP1IterateSprChar
ld bc,15
add hl,bc ; hl = & struct sp1_ss.first
ld c,b ; bc = sprite char counter = 0
.iterloop
ld a,(hl)
or a
ret z
inc hl
ld l,(hl)
ld h,a ; hl = & next struct sp1_cs
push bc
push hl
call l_jpix ; call userfunc(uint count, struct sp1_cs *c)
pop hl
pop bc
inc bc
jp iterloop
DEFC ASMDISP_SP1_ITERATESPRCHAR_CALLEE = asmentry - sp1_IterateSprChar_callee
| 20.46
| 77
| 0.663734
|
6b279f5ada2fe569bbb12b08b21a53cff9072b91
| 361
|
asm
|
Assembly
|
data/moves/tmhm_moves.asm
|
opiter09/ASM-Machina
|
75d8e457b3e82cc7a99b8e70ada643ab02863ada
|
[
"CC0-1.0"
] | 1
|
2022-02-15T00:19:44.000Z
|
2022-02-15T00:19:44.000Z
|
data/moves/tmhm_moves.asm
|
opiter09/ASM-Machina
|
75d8e457b3e82cc7a99b8e70ada643ab02863ada
|
[
"CC0-1.0"
] | null | null | null |
data/moves/tmhm_moves.asm
|
opiter09/ASM-Machina
|
75d8e457b3e82cc7a99b8e70ada643ab02863ada
|
[
"CC0-1.0"
] | null | null | null |
; The add_hm and add_tm macros in constants/item_constants.asm simultaneously
; define constants for the item IDs and for the corresponding move values.
TechnicalMachines:
table_width 1, TechnicalMachines
FOR n, 1, NUM_TMS + 1
db TM{02d:n}_MOVE
ENDR
assert_table_length NUM_TMS
FOR n, 1, NUM_HMS + 1
db HM{02d:n}_MOVE
ENDR
assert_table_length NUM_TM_HM
| 22.5625
| 77
| 0.792244
|
eb2afc28460136734f53ecde60b83adbec28bd3e
| 667
|
asm
|
Assembly
|
oeis/117/A117866.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/117/A117866.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/117/A117866.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A117866: Number of palindromes (in base 7) below 7^n.
; 6,12,54,96,390,684,2742,4800,19206,33612,134454,235296,941190,1647084,6588342,11529600,46118406,80707212,322828854,564950496,2259801990,3954653484,15818613942,27682574400,110730297606,193778020812,775112083254,1356446145696,5425784582790,9495123019884,37980492079542,66465861139200,265863444556806,465261027974412,1861044111897654,3256827195820896,13027308783283590,22797790370746284,91191161482985142,159584532595224000,638338130380896006,1117091728166568012,4468366912666272054,7819642097165976096
mov $1,1
lpb $0
mov $2,$1
trn $2,$0
sub $0,1
add $1,1
mul $2,6
add $1,$2
lpe
mul $1,6
mov $0,$1
| 44.466667
| 501
| 0.821589
|
a77de0a7fdb1dbf2ed989cdd432ce800b06efffc
| 907
|
asm
|
Assembly
|
programs/oeis/185/A185712.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/185/A185712.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/185/A185712.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A185712: a(n) = number of primes <= n that end in 3.
; 0,0,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14
mov $2,$0
mov $5,$0
lpb $2,1
mov $0,$5
sub $2,1
sub $0,$2
mov $4,$0
add $4,1
cal $0,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
mul $4,$0
mov $0,5
mov $3,$4
sub $3,3
gcd $0,$3
mov $4,$0
div $4,4
add $1,$4
lpe
| 41.227273
| 589
| 0.562293
|
d8cca4f1c5dcd072ac6b2aa592128cbe9c5700fc
| 6,343
|
asm
|
Assembly
|
snippets/comparisons.i.asm
|
ped7g/ZXSpectrumNextMisc
|
0148cd8f0529bff4451f089fd7106ea06713e766
|
[
"MIT"
] | 15
|
2019-04-06T20:38:41.000Z
|
2022-02-27T16:50:31.000Z
|
snippets/comparisons.i.asm
|
ped7g/ZXSpectrumNextMisc
|
0148cd8f0529bff4451f089fd7106ea06713e766
|
[
"MIT"
] | 7
|
2020-05-01T08:14:54.000Z
|
2022-03-30T19:54:34.000Z
|
snippets/comparisons.i.asm
|
ped7g/ZXSpectrumNextMisc
|
0148cd8f0529bff4451f089fd7106ea06713e766
|
[
"MIT"
] | 1
|
2020-08-23T17:36:20.000Z
|
2020-08-23T17:36:20.000Z
|
; examples of basic arithmetic comparisons for simple types int/uint 8/16 bit
;
; each example consist of two parts:
; - comparison itself (setting flag registers)
; - branching per condition
;
; In the branching part all possible variants are shown, but in your code you need to
; use only the particular condition which is important for your code (probably only
; single line, not all of them).
;
; The branching options are demonstrated by CALL instruction, but you can use any of
; the other conditional intructions JR/JP/RET, except the JR ones not having certain
; tests (pe/po/p/m), for those conditions one is forced to use JP instead of JR.
;
; Also the demonstration works correctly only because each sub-call modifying register
; E with "result value" does NOT modify any flags - if it would modify them,
; the subsequent calls would be branching on invalid state (fragile example).
comparisons:
;; set result markers into E register (helper functions for examples)
.equal:
ld e,$00
ret
.unequal:
ld e,$80
ret
.less:
ld e,$FF
ret
.greaterEqual:
ld e,$01
ret
.negative:
ld e,$2D ; '-'
ret
.positive:
ld e,$2B ; '+'
ret
;; example: uint8 A vs uint8 B
.uint8:
; comparison code
cp b
; equality
call z,.equal ; A == B
call nz,.unequal ; A != B
; less/greater+equal (below/above in x86 terminology)
call c,.less ; A < B
call nc,.greaterEqual ; A >= B
ret
;; example: int8 A vs int8 B
.int8:
; comparison code
cp b
; equality
call z,.equal ; A == B
call nz,.unequal ; A != B
; less/greater+equal
jp pe,.int8_overflow
.int8_no_overflow:
call m,.less ; A < B (m = minus)
call p,.greaterEqual ; A >= B (p = plus)
ret
.int8_overflow: ; sign flag is inverted when overflow happened
call p,.less ; A < B
call m,.greaterEqual ; A >= B
ret
;; example: uint16 HL vs uint16 BC
.uint16:
; comparison code
or a ; clear carry flag for SBC
sbc hl,bc ; destructive to content of HL
add hl,bc ; restore HL (flags: preserves Z, S, P/V, sets same C)
; equality
call z,.equal ; HL == BC
call nz,.unequal ; HL != BC
; less/greater+equal (below/above in x86 terminology)
call c,.less ; HL < BC
call nc,.greaterEqual ; HL >= BC
ret
;; example: int16 HL vs int16 BC
.int16:
; comparison code
or a ; clear carry flag for SBC
sbc hl,bc ; destructive to content of HL
add hl,bc ; restore HL (flags: preserves Z, S, P/V, sets same C)
; equality
call z,.equal ; HL == BC
call nz,.unequal ; HL != BC
; less/greater+equal
jp pe,.int16_overflow
.int16_no_overflow:
call m,.less ; HL < BC (m = minus)
call p,.greaterEqual ; HL >= BC (p = plus)
ret
.int16_overflow: ; sign flag is inverted when overflow happened
call p,.less ; HL < BC
call m,.greaterEqual ; HL >= BC
ret
;; example: int16 HL < int16 BC, modifies A, result flag is in zero+carry (like unsigned!)
.int16_v2:
call .int16_v2_impl ; comparison code (implementation)
; equality
call z,.equal ; HL == BC
call nz,.unequal ; HL != BC
; less/greater+equal
call c,.less ; HL < BC
call nc,.greaterEqual ; HL >= BC
ret
.int16_v2_impl:
ld a,h
xor b
jp p,.int16_v2_same_sign
.int16_v2_other_sign: ; sgn HL != sgn BC: one value is negative
xor h ; A=B, CF=0, SF=BC<0
ret m ; HL >= 0 > BC, return CF=0, ZF=0
cp h
ret ; HL < 0 <= BC, return CF=1, ZF=0
.int16_v2_same_sign: ; sgn HL == sgn BC: can compare as "unsigned" values
ld a,h
cp b
ret nz
ld a,l
cp c
ret
;; example: int16 HL vs uint16 BC (not simple flags-only-result, handling is in code)
.int16_vs_uint16:
; conversion to int16 - if BC is above int16 limits, it's clearly "HL < BC" case
bit 7,b
call nz,.less ; HL < BC (BC is $8000+ value, over the int16 limit)
ret nz ; abort early (flags PV/SF/CF are NOT set here)
; when BC is within int16 limits, then the example `.int16` above can be applied
jr .int16
;; example: int16 HL
.is_negative_16:
bit 7,h
call nz,.negative
call z,.positive
ret
;; example: int8 A
.is_negative_8:
or a
call m,.negative
call p,.positive
ret
;; example: int8 A
.is_zero_8:
or a
call nz,.unequal
call z,.equal
ret
;; calling all examples (for trying them out in debugger single-stepping over them)
.run:
ld e,$EE ; no result
ld a,12 ; first value "A"
ld b,34 ; second value "B"
call .uint8
ld e,$EE ; no result
ld a,23 ; first value "A"
ld b,45 ; second value "B"
call .int8
ld e,$EE ; no result
ld hl,1234 ; first value "HL"
ld bc,5678 ; second value "BC"
call .uint16
ld e,$EE ; no result
ld hl,2345 ; first value "HL"
ld bc,6789 ; second value "BC"
call .int16
ld e,$EE ; no result
ld hl,3456 ; first value "HL"
ld bc,7890 ; second value "BC"
call .int16_v2
ld e,$EE ; no result
ld hl,-123 ; first value "HL"
ld bc,40000 ; second value "BC"
call .int16_vs_uint16
ld e,$EE
ld hl,$7FFF
call .is_negative_16
ld e,$EE
ld a,-123
call .is_negative_8
ld e,$EE
ld a,0
call .is_zero_8
ret
| 32.035354
| 90
| 0.521047
|
6d44e157c88e5e4f09819e2dceb70405bb7c9211
| 236
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RemoveCharStruct.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RemoveCharStruct.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_RemoveCharStruct.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
; void sp1_RemoveCharStruct(struct sp1_cs *cs)
SECTION code_temp_sp1
PUBLIC _sp1_RemoveCharStruct
_sp1_RemoveCharStruct:
pop af
pop hl
push hl
push af
INCLUDE "temp/sp1/zx/sprites/asm_sp1_RemoveCharStruct.asm"
| 13.882353
| 61
| 0.754237
|
dcc6a23bf9c03e2cbae11d2fe9a7ec798da44b6e
| 331
|
asm
|
Assembly
|
oeis/021/A021179.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/021/A021179.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/021/A021179.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A021179: Decimal expansion of 1/175.
; Submitted by Christian Krause
; 0,0,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5,7,1,4,2,8,5
mov $2,10
pow $2,$0
mul $2,2
div $2,35
mov $0,$2
mod $0,10
| 30.090909
| 199
| 0.564955
|
7e96dcda7bc3444506c65c353f5136f16e6ef102
| 6,356
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2_notsx.log_1_1662.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2_notsx.log_1_1662.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2_notsx.log_1_1662.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x76f6, %rsi
lea addresses_WT_ht+0x1a0be, %rdi
xor $58296, %r13
mov $114, %rcx
rep movsq
and %rax, %rax
lea addresses_normal_ht+0x8516, %r13
nop
nop
sub $63492, %r15
movb $0x61, (%r13)
add $63112, %rdi
lea addresses_WT_ht+0xe56, %rsi
lea addresses_UC_ht+0x1b8d6, %rdi
nop
add %rax, %rax
mov $10, %rcx
rep movsb
nop
add $33686, %rdi
lea addresses_normal_ht+0xa496, %rsi
lea addresses_UC_ht+0xb316, %rdi
nop
nop
nop
nop
and %rax, %rax
mov $71, %rcx
rep movsw
nop
nop
nop
nop
inc %rcx
lea addresses_WT_ht+0x3916, %rsi
lea addresses_normal_ht+0x3316, %rdi
and $50936, %r11
mov $114, %rcx
rep movsw
nop
lfence
lea addresses_A_ht+0xf097, %rsi
lea addresses_normal_ht+0x1b08e, %rdi
nop
nop
add $31960, %rdx
mov $85, %rcx
rep movsw
nop
dec %rdx
lea addresses_normal_ht+0xba6f, %rax
nop
nop
nop
sub $6789, %rcx
mov $0x6162636465666768, %r15
movq %r15, %xmm0
and $0xffffffffffffffc0, %rax
vmovntdq %ymm0, (%rax)
nop
sub $8167, %rsi
lea addresses_UC_ht+0x9616, %rsi
lea addresses_A_ht+0x4916, %rdi
clflush (%rsi)
xor %rdx, %rdx
mov $36, %rcx
rep movsw
nop
nop
nop
nop
xor $19596, %r13
lea addresses_WC_ht+0xd916, %r13
nop
nop
nop
and %rcx, %rcx
movw $0x6162, (%r13)
nop
nop
nop
nop
and %r15, %r15
lea addresses_normal_ht+0x14116, %rcx
nop
nop
xor %rdx, %rdx
movl $0x61626364, (%rcx)
and $24702, %r11
lea addresses_normal_ht+0x10c16, %r13
nop
sub %r15, %r15
mov (%r13), %ax
nop
nop
nop
add $47542, %rdx
lea addresses_WT_ht+0x1b4dc, %r11
nop
cmp $61499, %r13
movb (%r11), %r15b
xor %r11, %r11
lea addresses_A_ht+0xfb56, %rsi
lea addresses_D_ht+0x1e316, %rdi
nop
nop
inc %r15
mov $96, %rcx
rep movsw
nop
nop
add %r13, %r13
lea addresses_WC_ht+0xe116, %rsi
lea addresses_normal_ht+0x1b16, %rdi
nop
add %r11, %r11
mov $19, %rcx
rep movsw
nop
and $2202, %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r15
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r8
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_WT+0x18916, %rsi
lea addresses_WT+0x6016, %rdi
clflush (%rdi)
nop
nop
nop
nop
cmp %r11, %r11
mov $5, %rcx
rep movsq
cmp %rsi, %rsi
// Store
lea addresses_PSE+0x7d16, %r10
nop
nop
nop
nop
nop
xor $30751, %r11
movw $0x5152, (%r10)
nop
nop
cmp $2589, %r11
// Store
lea addresses_UC+0xe006, %r11
nop
nop
nop
add $65253, %r8
movb $0x51, (%r11)
inc %rcx
// Load
mov $0xca6, %r8
nop
cmp %rsi, %rsi
movb (%r8), %r11b
nop
nop
nop
nop
nop
dec %r11
// Store
lea addresses_A+0x96f6, %r8
cmp $11524, %r12
movb $0x51, (%r8)
nop
nop
add %r12, %r12
// Load
lea addresses_PSE+0x19d16, %r10
nop
nop
add %rsi, %rsi
vmovups (%r10), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rcx
nop
nop
nop
nop
inc %rsi
// Store
mov $0x37a0950000000716, %r12
nop
nop
nop
nop
cmp $45258, %rsi
mov $0x5152535455565758, %rcx
movq %rcx, %xmm2
movups %xmm2, (%r12)
nop
nop
nop
nop
inc %rdi
// Faulty Load
lea addresses_A+0x5116, %r10
cmp $43398, %r8
movb (%r10), %r12b
lea oracles, %r10
and $0xff, %r12
shlq $12, %r12
mov (%r10,%r12,1), %r12
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WT', 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': True}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': True, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': False}}
{'00': 1}
00
*/
| 22.380282
| 153
| 0.649622
|
eaff5efcb14af7eef6dc3003485b011a83492edd
| 32,914
|
asm
|
Assembly
|
Source/M-OS/SW_vtl2a.asm
|
mkeller0815/MOUSE
|
b6e83d883cfed46eede1d38962329c1f3c43ce25
|
[
"MIT"
] | 8
|
2016-10-24T23:03:27.000Z
|
2022-03-08T05:56:56.000Z
|
Source/M-OS/SW_vtl2a.asm
|
mkeller0815/MOUSE
|
b6e83d883cfed46eede1d38962329c1f3c43ce25
|
[
"MIT"
] | null | null | null |
Source/M-OS/SW_vtl2a.asm
|
mkeller0815/MOUSE
|
b6e83d883cfed46eede1d38962329c1f3c43ce25
|
[
"MIT"
] | 2
|
2019-10-07T15:45:05.000Z
|
2022-02-13T12:44:57.000Z
|
;234567890123456789012345678901234567890123456789012345
;------------------------------------------------------
; VTL-2 for the 6502 (VTL02)
; Original Altair 680b version by
; Frank McCoy and Gary Shannon 1977
; Adapted to the 6502 by Michael T. Barry 2012
; Thanks to sbprojects.com for a very nice assembler!
; Modified for the Kowalski simulator by Klaus2m5
;
;Copyright (c) 2012, Michael T. Barry
;All rights reserved.
;
;Redistribution and use in source and binary forms,
; with or without modification, are permitted provided
; that the following conditions are met:
;
;1. Redistributions of source code must retain the
; above copyright notice, this list of conditions and
; the following disclaimer.
;2. Redistributions in binary form must reproduce the
; above copyright notice, this list of conditions and
; the following disclaimer in the documentation and/
; or other materials provided with the distribution.
;
;THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
; CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
; WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
; A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
; SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
; EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
; NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
; SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
; INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
; LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
; TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
; ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
; ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;
; Notes concerning this version:
; {&} and {*} are initialized on entry.
; Division by zero returns a quotient of 65535 (the
; original 6800 version froze).
; The 6502 has NO 16-bit registers (other than PC)
; and less overall register space than the 6800, so
; it was necessary to reserve some obscure VTL02
; variables {@ _ $ ( ) 0 1 2 3 4 5 6 7 8 9 :} for
; the interpreter's internal use (the 6800 version
; also uses several of these, but with different
; designations). The deep nesting of parentheses
; also puts {; < =} in danger of corruption. For
; example, A=((((((((1)))))))) sets both {A} and
; {;} to the value 1.
; Users wishing to call a machine language subroutine
; via the system variable {>} must first set the
; system variable {"} to the proper address vector
; (for example, "=768).
; The x register is used to point to a simple VTL02
; variable (it can't point explicitly to an array
; element like the 6800 version because it's only
; 8-bits). In the comments, var[x] refers to the
; 16-bit contents of the zero-page variable pointed
; to by register x (residing at addresses x, x+1).
; The y register is used as a pointer offset inside a
; VTL02 statement (it can easily handle the maximum
; statement length of about 128 bytes). In the
; comments, @[y] refers to the 16-bit address
; formed by adding register y to the value in {@}.
; The structure and flow of this interpreter is
; similar to the 6800 version, but it has been re-
; organized in a more 6502-friendly format (the
; 6502 has no 'bsr' instruction, so the 'stuffing'
; of subroutines within 128 bytes of the caller is
; only advantageous for conditional branches).
; I designed this version to duplicate the OFFICIALLY
; DOCUMENTED behavior of Frank's 6800 version:
; http://www.altair680kit.com/manuals/Altair_
; 680-VTL-2%20Manual-05-Beta_1-Searchable.pdf
; Both versions ignore all syntax errors and plow
; through VTL-2 programs with the assumption that
; they are "correct", but in their own unique ways,
; so any claims of compatibility are null and void
; for VTL-2 code brave (or stupid) enough to stray
; from the beaten path.
; This version is wound rather tightly, in a failed
; attempt to fit it into 768 bytes like the 6800
; version; many structured programming principles
; were sacrificed in that effort. The 6502 simply
; requires more instructions than the 6800 does to
; manipulate 16-bit quantities, but the overall
; execution speed should be comparable due to the
; 6502's slightly lower average clocks/instruction
; ratio. As it is now, it fits into 1k with room
; to spare. When coding VTL02, I chose compactness
; over execution speed at every opportunity; a
; higher-performance and/or more feature-laden
; version (with error detection perhaps?) should
; still fit into 1k. Are there any volunteers?
; VTL02 is my free gift (?) to the world. It may be
; freely copied, shared, and/or modified by anyone
; interested in doing so, with only the stipulation
; that any liabilities arising from its use are
; limited to the price of VTL02 (nothing).
;------------------------------------------------------
; VTL02 variables occupy RAM addresses $0080 to $00ff.
; They are little-endian, in the 6502 tradition.
; The use of lower-case and some control characters for
; variable names is allowed, but not recommended; any
; attempts to do so would likely result in chaos.
; Variables tagged with an asterisk are used internally
; by the interpreter and may change without warning.
; {@ _} cannot be entered via the command line, and
; {$ ( ) 0..9 : > ?} are (usually) intercepted by the
; interpreter, so their internal use by VTL02 is
; "safe". The same cannot be said for {; < =}, so
; be careful!
.alias at $80 ;{@}* interpreter text pointer
; VTL02 standard user variable space
; $82 {A B C .. X Y Z [ \ ] ^}
; VTL02 system variable space
.alias under $be ;{_}* interpreter temp storage
; $c0 { } space is a valid variable
.alias bang $c2 ;{!} return line number
.alias quote $c4 ;{"} user ml subroutine vector
.alias pound $c6 ;{#} current line number
.alias dolr $c8 ;{$}* temp storage / char i/o
.alias remn $ca ;{%} remainder of last division
.alias ampr $cc ;{&} pointer to start of array
.alias tick $ce ;{'} pseudo-random number
.alias lparen $d0 ;{(}* old line # / begin sub-exp
.alias rparen $d2 ;{)}* temp storage / end sub-exp
.alias star $d4 ;{*} pointer to end of free mem
; $d6 {+ , - . /} valid variables
; Interpreter argument stack space
.alias arg $e0 ;{0 1 2 3 4 5 6 7 8 9 :}*
; Rarely used variables and argument stack overflow
; $f6 {; < =}* valid variables
.alias gthan $fc ;{>}* call user ml subroutine
.alias ques $fe ;{?}* temp / terminal i/o
;
.alias nulstk $01ff ;system stack resides in page 1
.alias linbuf $0200 ;input line buffer
.alias prgm $400 ;VTL program grows from here ...
.alias himem $8000 ;up to the top of user RAM
;------------------------------------------------------
; Equates specific to the Kowalski simulator
.alias vtl02 $e800 ;interpreter cold entry point
; (warm entry point is startok)
;.alias io_area $f000 ;configure simulator terminal I/O
;.alias acia_tx io_area+1 ;acia tx data register
;.alias acia_rx io_area+4 ;acia rx data register
;======================================================
;.org vtl02
;------------------------------------------------------
; Initialize program area pointers and start VTL02
;
v_startx:
cld
lda #<prgm
sta ampr ;{&} -> empty program
lda #>prgm
sta ampr+1
lda #<himem
sta star ;{*} -> top of user RAM
lda #>himem
sta star+1
startok:
sec ;request "OK" message
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; Start/restart VTL02 command line with program intact
;
start:
ldx #<nulstk
txs ;reset the system stack pointer
bcc user ;skip "OK" if carry clear
jsr outcr
lda #'O
jsr outch
lda #'K
jsr outch
jsr outcr
user:
jsr inln ;input a line from the user
ldx #pound ;cvbin destination = {#}
jsr cvbin ;does line start with a number?
bne stmnt ;yes: handle program line
; no: execute direct statement
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; The main program execution loop
;
eloop:
php ;(cc: program, cs: direct)
jsr exec ;execute one VTL02 statement
plp
lda pound ;(eq) if {#} is 0
ora pound+1
bcc eloop2 ;if direct mode and {#} = 0
beq startok ;then restart cmd prompt
clc ;if direct mode and {#} <> 0
bne xloop ;then start execution @ {#}
eloop2:
sec ;if program mode and {#} = 0
beq xloop ;then execute next line
lda pound+1 ;(false branch condition)
cmp lparen+1
bne branch ;else has {#} changed?
lda pound
cmp lparen
beq xloop ;no: execute next line (cs)
branch:
ldy lparen+1
ldx lparen ;yes: execute a VTL02 branch
inx ;(cs: forward, cc: backward)
bne branch2 ;{!} = {(} + 1 (return ptr)
iny
branch2:
stx bang
sty bang+1
xloop:
jsr findln ;find first/next line >= {#}
iny ;point to left-side of statement
bne eloop ;execute statement at new {#}
;------------------------------------------------------
; Delete/insert program line or list program
;
stmnt:
clc
lda pound ;{#} = 0?
ora pound+1 ;no: delete/insert line
bne skp2 ;yes: list program to terminal
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; List program to terminal and restart "OK" prompt
; entry: Carry must be clear
; uses: findln, outch, prnum, prstr, {@ ( )}
;
list_:
jsr findln ;find program line >= {#}
ldx #lparen ;line number for prnum
jsr prnum ;print the line number
lda #$20 ;print a space instead of the
jsr outch ;line length byte
lda #0 ;zero for delimiter
jsr prstr ;print the rest of the line
sec ;continue at the next line
bcs list_ ;(always taken)
;------------------------------------------------------
; Delete/insert program line and restart command prompt
; entry: Carry must be clear
; uses: find, start, {@ _ # & * (}, linbuf
;
skp2:
tya ;save linbuf offset pointer
pha
jsr find ;locate first line >= {#}
bcs insrt
lda lparen
cmp pound ;if line doesn't already exist
bne insrt ;then skip deletion process
lda lparen+1
eor pound+1
bne insrt
tax ;x = 0
lda (at),y
tay ;y = length of line to delete
;eor #-1
eor #$ff
adc ampr ;{&} = {&} - y
sta ampr
bcs delt
dec ampr+1
delt:
lda at
sta under ;{_} = {@}
lda at+1
sta under+1
delt2:
lda under
cmp ampr ;delete the line
lda under+1
sbc ampr+1
bcs insrt
lda (under),y
sta (under,x)
inc under
bne delt2
inc under+1
bcc delt2 ;(always taken)
insrt:
pla
tax ;x = linbuf offset pointer
lda pound
pha ;push the new line number on
lda pound+1 ;the system stack
pha
ldy #2
cntln:
inx
iny ;determine new line length in y
lda linbuf-1,x ;and push statement string on
pha ;the system stack
bne cntln
cpy #4 ;if empty line then skip the
bcc jstart ;insertion process
tax ;x = 0
tya
clc
adc ampr ;calculate new program end
sta under ;{_} = {&} + y
txa
adc ampr+1
sta under+1
lda under
cmp star
lda under+1 ;if {_} >= {*} then the program
sbc star+1 ;won't fit in available RAM,
bcs jstart ;so abort to the "OK" prompt
slide:
lda ampr
bne slide2
dec ampr+1
slide2:
dec ampr
lda ampr
cmp at
lda ampr+1
sbc at+1
bcc move ;slide open a gap inside the
lda (ampr,x) ;program just big enough to
sta (ampr),y ;hold the new line
bcs slide ;(always taken)
move:
tya
tax ;x = new line length
move2:
pla ;pull the statement string and
dey ;the new line number and store
sta (at),y ;them in the program gap
bne move2
ldy #2
txa
sta (at),y ;store length after line number
lda under
sta ampr ;{&} = {_}
lda under+1
sta ampr+1
jstart:
jmp start ;dump stack, restart cmd prompt
;------------------------------------------------------
; Point @[y] to the first/next program line >= {#}
; entry: (cc): start search at beginning of program
; (cs): start search at next line
; ({@} -> beginning of current line)
; uses: find, jstart, prgm, {@ # & (}
; exit: if line not found then abort to "OK" prompt
; else {@} -> found line, {#} = {(} = actual
; line number, y = 2, (cc)
;
findln:
jsr find ;find first/next line >= {#}
bcs jstart ;if end then restart "OK" prompt
lda lparen
sta pound ;{#} = {(}
lda lparen+1
sta pound+1
rts
;------------------------------------------------------
; {?="...} handler; called from 'exec'
; list line handler; called from 'list'
;
prstr:
iny ;skip over the " or length byte
tax ;x = delimiter, fall through
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; Print a string at @[y]
; x holds the delimiter char, which is skipped over,
; not printed (a null byte is always a delimiter)
; pauses before returning if a key was pressed and
; waits for another
; restarts the command prompt with user program intact
; if either key was ctrl-c
; escapes out eventually if delimiter or null not found
; entry: @[y] -> string, x = delimiter char
; uses: kbd, inch, keyin, start, outch, outrts
; exit: (normal) @[y] -> null or byte after delimiter
; (ctrl-c) dump the stack & restart "OK" prompt
;
prmsg:
txa
cmp (at),y ;found delimiter or null?
beq prmsg2 ;yes: finish up
lda (at),y
beq prmsg2
jsr outch ;no: print char to user
iny ;terminal and loop
bpl prmsg ;(with safety escape)
prmsg2:
tax ;save closing delimiter
;lda acia_rx ;any key = pause
jsr j_rchr ;any key
bcc prout ;no: continue printing
;beq prout ;no: continue printing
cmp #$03 ; ctrl-c?
beq jstart ; yes: abort to "OK" prompt
prpause:
;lda acia_rx ;any key = resume
jsr j_rchr ;any key
bcc prpause ;no: pause loop
;beq prpause ;no: pause loop
cmp #$03 ; ctrl-c?
beq jstart ; yes: abort to "OK" prompt
prout:
txa ;retrieve closing delimiter
beq outcr ;always cr after null delimiter
iny ;skip over the delimiter
lda (at),y ;if trailing char is ';' then
cmp #$3b ;suppress the carriage return
beq outrts
outcr:
lda #$0d ;cr to terminal
bne outch ;(always taken)
;------------------------------------------------------
; Read char from user terminal into a with echo
;
inch:
jsr j_rchr ; read character
bcs inch ; wait for character
;; sty dolr ; save y reg
;;nobyw:
;; lda acia_rx ; test data available
;; beq nobyw ; branch if no byte waiting
;; cmp #10 ; remove lf to allow paste
;; beq nobyw ; in the Kowalski I/O window
; some terminals send del when bs is pressed!
; cmp #127 ; convert delete to backspace
; bne conv_bs2del
; lda #8
;conv_bs2del
; code below would filter terminal escape sequences
; but requires a specific 10ms tick timer to work
; cmp #27 ; escape?
; bne skip_esc_no
; ldy #5 ; timer loop - 5*10ms
;skip_esc_next
; lda #1 ; ack last tick
; sta acia_st
;skip_esc_wait
; lda acia_st
; and #1 ; next tick
; beq skip_esc_wait
; dey
; bne skip_esc_next
;skip_esc_discard
; iny ; any data = y > 1
; lda acia_rx
; bne skip_esc_discard
; cpy #1
; bne nobyw
;skip_esc_esc ; escape only - send to vtl
; lda #27
; rts ; don't echo escape to terminal
;skip_esc_no
;; ldy dolr ; restore y reg
and #$7f ; ensure char is positive ascii
cmp #$03 ; ctrl-c?
beq jstart ; yes: abort to "OK" prompt
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; Print ascii char in a to stdout
;
outch:
; convert cr to cr lf
;; cmp #13 ; cr
;; bne skip_cr
;; lda #10
;; sta acia_tx
;; jsr j_wchr
;; lda #13
skip_cr:
; convert bs to erasing bs
; cmp #8 ; backspace?
; bne skip_bs
; sta acia_tx ; make erasing backspace
; lda #' '
; sta acia_tx
; lda #8
;skip_bs
;; sta acia_tx ; send byte to acia
jsr j_wchr
outrts:
rts
;------------------------------------------------------
; Execute a hopefully valid VTL02 statement at @[y]
; entry: @[y] -> left-side of statement
; uses: nearly everything
; exit: note to {>} users: no registers or variables
; are required to be preserved except the
; system stack pointer, the text base pointer
; {@}, and the original line number {(}
; if there is a {"} directly after the assign-
; ment operator, the statement will execute
; as {?="...}, regardless of the variable
; named on the left-side
;
exec:
lda (at),y ;fetch left-side variable name
beq execrts ;do nothing if null statement
iny
ldx #arg ;initialize argument pointer
jsr convp ;arg[{0}] = address of left-side
bne exec1 ;variable
lda arg
cmp #rparen ;full line comment?
beq execrts ;yes: do nothing with the rest
exec1:
iny ;skip over assignment operator
lda (at),y ;is right-side a literal string?
cmp #$22 ;yes: print the string with
beq prstr_x ;trailing ';' check & return
ldx #arg+2 ;point eval to arg[{1}]
jsr eval ;evaluate right-side in arg[{1}]
lda arg+2
ldx arg+1 ;was left-side an array element?
bne exec3 ;yes: skip to default actions
ldx arg
cpx #dolr ;if {$=...} statement then print
beq outch ;arg[{1}] as ascii character
cpx #gthan
bne exec2 ;if {>=...} statement then call
tax ;user machine language routine
lda arg+3 ;with arg[{1}] in a, x regs
jmp (quote) ;(MSB, LSB)
exec2:
cpx #ques ;if {?=...} statement then print
beq prnum0 ;arg[{1}] as unsigned decimal
exec3:
ldy #0
sta (arg),y
adc tick+1 ;store arg[{1}] in the left-
rol ;side variable
tax
iny
lda arg+3
sta (arg),y
adc tick ;pseudo-randomize {'}
rol
sta tick+1
stx tick
execrts:
rts
prstr_x:
jmp prstr
;------------------------------------------------------
; {?=...} handler; called by 'exec'
;
prnum0:
ldx #arg+2 ;x -> arg[{1}], fall through
;------------------------------------------------------
; Print an unsigned decimal number (0..65535) in var[x]
; entry: var[x] = number to print
; uses: div, outch, var[x+2], preserves original {%}
; exit: var[x] = 0, var[x+2] = 10
;
prnum:
lda remn
pha ;save {%}
lda remn+1
pha
lda #10 ;divisor = 10
sta 2,x
lda #0
pha ;null delimiter for print
sta 3,x ;repeat {
prnum2:
jsr div ;divide var[x] by 10
lda remn
ora #'0 ;convert remainder to ascii
pha ;stack digits in ascending
lda 0,x ;order ('0' for zero)
ora 1,x
bne prnum2 ;} until var[x] is 0
pla
prnum3:
jsr outch ;print digits in descending
pla ;order until delimiter is
bne prnum3 ;encountered
pla
sta remn+1 ;restore {%}
pla
sta remn
rts
;------------------------------------------------------
; Evaluate a hopefully valid VTL02 expression at @[y]
; and place its completed value in arg[x]
; A VTL02 expression is defined as a string of one or
; more terms, separated by operators and terminated
; with a null or an unmatched right parenthesis
; A term is defined as a variable name, a decimal
; constant, or a parenthesized sub-expression; terms
; are evaluated strictly from left to right
; A variable name is defined as a simple variable or an
; array element expression enclosed in {: )}
; entry: @[y] -> expression text, x -> argument
; uses: getval, oper, argument stack area
; exit: arg[x] = result, @[y] -> next text
;
eval:
lda #0
sta 0,x ;start evaluation by simulating
sta 1,x ;{0+expression}
lda #$2b
notdn:
pha ;stack alleged operator
inx ;advance the argument stack
inx ;pointer
jsr getval ;arg[x+2] = value of next term
dex
dex
pla ;retrieve and apply the operator
jsr oper ;to arg[x], arg[x+2]
lda (at),y ;end of expression?
beq evalrts ;(null or right parenthesis)
iny
cmp #$29 ;no: skip over the operator
bne notdn ;and continue the evaluation
evalrts:
rts ;yes: return with final result
;------------------------------------------------------
; Put the numeric value of the term at @[y] into var[x]
; Some examples of valid terms: 123, $, H, (15-:J)/?)
;
getval:
jsr cvbin ;decimal number at @[y]?
bne getrts ;yes: return with it in var[x]
lda (at),y
iny
cmp #$3f ;user line input?
bne getval2
tya ;yes:
pha
lda at ;save @[y]
pha ;(current expression ptr)
lda at+1
pha
jsr inln ;input expression from user
jsr eval ;evaluate, var[x] = result
pla
sta at+1
pla
sta at ;restore @[y]
pla
tay
rts ;skip over "?" and return
getval2:
cmp #'$ ;user char input?
bne getval3
jsr inch ;yes: input one char
sta 0,x ;var[x] = char
rts ;skip over "$" and return
getval3:
cmp #$28 ;sub-expression?
beq eval ;yes: evaluate it recursively
jsr convp ;no: first set var[x] to the
lda (0,x) ;named variable's address,
pha ;then replace that address
inc 0,x ;with the variable's actual
bne getval4 ;value before returning
inc 1,x
getval4:
lda (0,x)
sta 1,x
pla
sta 0,x
getrts:
rts
;------------------------------------------------------
; Apply the binary operator in a to var[x] and var[x+2]
; Valid VTL02 operators are +, -, *, /, <, and =
; Any other operator in a defaults to >=
;
oper:
cmp #$2b ;addition operator?
bne oper2 ;no: next case
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
add:
clc
lda 0,x ;var[x] += var[x+2]
adc 2,x
sta 0,x
lda 1,x
adc 3,x
sta 1,x
rts
oper2:
cmp #$2d ;subtraction operator?
bne oper3 ;no: next case
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub:
sec
lda 0,x ;var[x] -= var[x+2]
sbc 2,x
sta 0,x
lda 1,x
sbc 3,x
sta 1,x
rts
oper3:
cmp #$2a ;multiplication operator?
bne oper4 ;no: next case
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; 16-bit unsigned multiply routine
; overflow is ignored/discarded
; var[x] *= var[x+2], var[x+2] = 0, {_} is modified
;
mul:
lda 0,x
sta under
lda 1,x ;{_} = var[x]
sta under+1
lda #0
sta 0,x ;var[x] = 0
sta 1,x
mul2:
lsr under+1
ror under ;{_} /= 2
bcc mul3
jsr add ;form the product in var[x]
mul3:
asl 2,x
rol 3,x ;left-shift var[x+2]
lda 2,x
ora 3,x ;loop until var[x+2] = 0
bne mul2
rts
oper4:
cmp #$2f ;division operator?
bne oper5 ;no: next case
; - - - - - - - - - - - - - - - - - - - - - - - - - - -
; 16-bit unsigned division routine
; var[x] /= var[x+2], {%} = remainder, {_} modified
; var[x] /= 0 produces {%} = var[x], var[x] = 65535
;
div:
lda #0
sta remn ;{%} = 0
sta remn+1
lda #16
sta under ;{_} = loop counter
div1:
asl 0,x ;var[x] is gradually replaced
rol 1,x ;with the quotient
rol remn ;{%} is gradually replaced
rol remn+1 ;with the remainder
lda remn
cmp 2,x
lda remn+1 ;partial remainder >= var[x+2]?
sbc 3,x
bcc div2
sta remn+1 ;yes: update the partial
lda remn ;remainder and set the
sbc 2,x ;low bit in the partial
sta remn ;quotient
inc 0,x
div2:
dec under
bne div1 ;loop 16 times
rts
;------------------------------------------------------
; Apply comparison operator in a to var[x] and var[x+2]
; and place result in var[x] (1: true, 0: false)
; Warning: Tightly packed spaghetti below!
;
oper5:
sec ;{_} = -2: less than,
sbc #$3e ;-1: equal,
sta under ;other: greater than or equal
jsr sub ;var[x] -= var[x+2]
inc under ;equality test?
bne oper5b
ora 0,x ;yes: 'or' high and low bytes
beq oper5c ;(cs) if 0
oper5a:
clc ;(cc) if not 0
oper5b:
lda #0
inc under ;less than test?
bne oper5c ;no: default to >=
bcs oper5a ;yes: complement carry
sec
oper5c:
rol
oper5d:
sta 0,x ;var[x] -> simple variable
lda #0
sta 1,x
rts ;var[x] = 1 (true), 0 (false)
;------------------------------------------------------
; Set var[x] to the address of the variable named in a
; entry: a holds variable name, @[y] -> text holding
; array element expression (if a = ':')
; uses: add, eval, oper5d, {&}
; exit: (eq): var[x] -> var, @[y] unchanged
; (ne): var[x] -> array element, @[y] ->
; following text
;
convp:
cmp #$3a ;array element?
beq varray
asl ;no: var[x] -> simple variable
ora #$80
bmi oper5d
varray:
jsr eval ;yes: evaluate array index at
asl 0,x ;@[y] and advance y
rol 1,x
lda ampr ;var[x] -> array element
sta 2,x
lda ampr+1
sta 3,x
jmp add
;------------------------------------------------------
; If text at @[y] is a decimal constant, translate into
; var[x] (discarding any overflow) and update y
; entry: @[y] -> text containing possible constant
; uses: mul, add, var[x], var[x+2], {@ _ ?}
; exit: (ne): var[x] = constant, @[y] -> next text
; (eq): var[x] = 0, @[y] unchanged
; (cs): in all but the truly strangest cases
;
cvbin:
sty ques ;save entry text position
lda #0
sta 0,x ;var[x] = 0
sta 1,x
sta 3,x
cvbin2:
lda (at),y ;if char at @[y] is not a
cmp #$3a ;decimal digit then stop
bcs cvbin3 ;the conversion
sbc #$2f
bcc cvbin3
pha ;save decimal digit
lda #10
sta 2,x
jsr mul ;var[x] *= 10
pla ;retrieve decimal digit
sta 2,x
jsr add ;var[x] += digit
iny ;loop for more digits
bpl cvbin2 ;(with safety escape)
cvbin3:
cpy ques ;(ne) if y changed, (eq) if not
rts
;------------------------------------------------------
; Accept input line from user and store it in linbuf,
; zero-terminated (allows very primitive edit/cancel)
; entry: (jsr to inln or newln, not inln6)
; uses: linbuf, inch, outcr, {@}
; exit: @[y] -> linbuf
;
inln6:
; cmp #'@' ;original escape?
cmp #27 ;escape?
beq newln ;yes: discard entire line
iny ;line limit exceeded?
bpl inln2 ;no: keep going
newln:
jsr outcr ;yes: discard entire line
inln:
ldy #<linbuf ;entry point: start a fresh line
sty at ;{@} -> input line buffer
ldy #>linbuf
sty at+1
ldy #1
inln5:
dey
bmi newln
inln2:
jsr inch ;get (and echo) one key press
; cmp #'_' ;original backspace
cmp #8 ;backspace?
beq inln5 ;yes: delete previous char
cmp #$0d ;cr?
bne inln3
lda #0 ;yes: replace with null
inln3:
sta (at),y ;put key in linbuf
bne inln6 ;continue if not null
tay ;y = 0
rts
;------------------------------------------------------
; Find the first/next stored program line >= {#}
; entry: (cc): start search at program beginning
; (cs): start search at next line after {@}
; uses: prgm, {@ # & (}
; exit: (cs): {@} >= {&}, {(} = garbage, y = 2
; (cc): {@} -> found line, {(} = actual line
; number, y = 2
;
find:
bcs findnxt ;cs: search begins at next line
lda #>prgm ;cc: search begins at first line
sta at+1
lda #<prgm ;{@} -> first program line
bcc find1st ;(always taken)
findnxt:
jsr checkat ;if {@} >= {&} then the search
bcs findrts ;failed; return with (cs)
lda at
adc (at),y ;{@} += length of current line
find1st:
sta at
bcc getlpar
inc at+1
getlpar:
ldy #0
lda (at),y
sta lparen ;{(} = current line number
cmp pound ;(invalid if {@} >= {&}, but
iny ;we'll catch that later...)
lda (at),y
sta lparen+1 ;if {(} < {#} then try the next
sbc pound+1 ;program line
bcc findnxt ;else the search is complete
checkat:
ldy #2
lda at ;{@} >= {&} (end of program)?
cmp ampr
lda at+1 ;yes: search failed (cs)
sbc ampr+1 ;no: clear carry
findrts:
rts
;------------------------------------------------------
; .end vtl02
| 35.202139
| 64
| 0.509692
|
508497004e3063c65c5428647515d7029258eb09
| 620
|
asm
|
Assembly
|
programs/oeis/069/A069478.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/069/A069478.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/069/A069478.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A069478: First differences of A069477, successive differences of (n+1)^5 - n^5.
; 360,480,600,720,840,960,1080,1200,1320,1440,1560,1680,1800,1920,2040,2160,2280,2400,2520,2640,2760,2880,3000,3120,3240,3360,3480,3600,3720,3840,3960,4080,4200,4320,4440,4560,4680,4800,4920,5040,5160,5280,5400,5520,5640,5760,5880,6000,6120,6240,6360,6480,6600,6720,6840,6960,7080,7200,7320,7440,7560,7680,7800,7920,8040,8160,8280,8400,8520,8640,8760,8880,9000,9120,9240,9360,9480,9600,9720,9840,9960,10080,10200,10320,10440,10560,10680,10800,10920,11040,11160,11280,11400,11520,11640,11760,11880,12000,12120,12240
mul $0,120
add $0,360
| 103.333333
| 514
| 0.785484
|
66f63a71778387978c6c2f508c60c2d8e0f89da2
| 11,148
|
asm
|
Assembly
|
basic_extender/bash1.asm
|
lincolngill/c64_assembler_egs
|
c5ad653bd2fb74f4311b20257fd748211651d83c
|
[
"MIT"
] | null | null | null |
basic_extender/bash1.asm
|
lincolngill/c64_assembler_egs
|
c5ad653bd2fb74f4311b20257fd748211651d83c
|
[
"MIT"
] | null | null | null |
basic_extender/bash1.asm
|
lincolngill/c64_assembler_egs
|
c5ad653bd2fb74f4311b20257fd748211651d83c
|
[
"MIT"
] | null | null | null |
//.disk [filename="bash.d64", name="BASH", id="21"]
//{
// [name="BASH", type="prg", segments="BASH"]
//}
//.file [name="bash.prg", segments="Basic,Bash"]
//.segment Basic []
//BasicUpstart2(main)
//.segment Bash []
* = $C000 "Bash Basic Extender"
.label firstpg = $A000
.label lastpg = $BF00
.label R6510 = $0001 // I/O Register
.label LORAM_MASK = %00000001
.label CHRGET = $73 // Char Get routine addr
.label IQPLOP = $0306 // Vector: to BASIC Text List routine
// Basic Routine addrs
.label IntLoop = $A7AE // Interpreter loop
.label LetStatement = $A9A5 // LET statement
.label ExeBasicStatement = $A7F3 // Execute statement. After < 128 char check
.label CmdWordsTab = $A09E
.label TokToText = $A71A // Token to Text output
.label TokTabSearch = $A5B8 // Retry entry point for token crunch
.label TokTabEnd = $A607 // Crunch reentry point when and end of token table
.label IntLoopHook = $A7E1 // Addr of execute hook
.label CrunchHook = $A604 // Addr of crunch hook
// Entry point jump table
jmp main
jmp copyrom
keywords:
// Basic keyword table. Ends in $00. Last letter has + 128
// New Functions - None
// New Actions
.byte 'L', 'S' + 128
.byte 'S', 'T' + 128
.byte 64 + 128 // @
.byte '$' + 128
.byte $00
actionv:
// Action vectors
// Vector = byte before routine addr because these are invoked with a rts (which pops the address and increments before continuing.)
.word ls - 1 // Vector: LS
.word st - 1 // Vector: ST - status
.word st - 1 // Vector: @ - status
.word ls - 1
.var normal = 75 // Normal number of basic keywords
.var newact = 4 // New number of action keywords
.var newfun = 0 // New number of function keywords
psave: .byte $00
asave: .byte $00
xsave: .byte $00
ysave: .byte $00
main: {
jsr copyrom
jsr patchbasic
rts
}
// List directory
.label FREKZP = $FB // Free 0-Page space for user prg
.label FNADR = $BB // Pointer: Current file name
.label FNLEN = $B7 // Length of current file name
.label FA = $BA // Current device number
.label SA = $B9 // Current secondary address
.label OPENIEC = $F3D5 // OPEN IEC files
.label TALK = $FFB4 // Command serial bus device to TALK
.label TKSA = $FF96 // Send secondary address after TALK
.label STATUS = $90 // Kernal I/O status word
.label ACPTR = $FFA5 // Input byte from serial port
.label CLSFIL = $F642 // Close file - Last bit of SAVE on IEC routine
.label LNPRT = $BDCD // Output positive integer number in ascii hex
.label CHROUT = $FFD2 // Output char to channel
.label UNTLK = $FFAB // Command serial device to UNTALK
ls: {
.break
lda #'$' // Set file name = "$"
sta FREKZP
lda #FREKZP // Update pointer to current file name
sta FNADR
lda #$00 // zero pg
sta FNADR + 1
lda #$01 // Set file name length
sta FNLEN
lda #$08 // Device #
sta FA
lda #$60 // Secondary addr for LOAD
sta SA
jsr OPENIEC // Open named file
lda FA
jsr TALK // Send talk to device #
lda SA
jsr TKSA // Send secondary addr
lda #$00
sta STATUS // Clear status
ldy #$03 // Skip 1st 3 bytes
readbyte:
sty FREKZP // save as a counter
jsr ACPTR // Get byte from drive
sta FREKZP + 1 // Save it
ldy STATUS // Status ok?
bne close // No, then close file
jsr ACPTR // Get a 2nd byte from drive
ldy STATUS // Status ok?
bne close
ldy FREKZP // Get counter
dey
bne readbyte
ldx FREKZP + 1 // Get last Byte which = # Blks used
jsr LNPRT // Ouput blks used
lda #' ' // Output a space
jsr CHROUT
nextchar:
jsr ACPTR // Get next byte
ldx STATUS // Status?
bne close
tax // $00?
beq eol // Yes, then end of entry
jsr CHROUT // No, then output
jmp nextchar
eol:
jsr crlf
ldy #$02 // skip 2 byte Addr
bne readbyte // Continue
close:
jsr CLSFIL // Close file
jsr st
rts
}
// Output drive status
st: {
lda #$00
sta STATUS // Clear status
sta FNLEN
lda #$08 // Device #
sta FA
jsr TALK // Send talk to device #
lda #$6F // Secondary addr 15
sta SA
jsr TKSA // Send secondary addr
rdstat:
jsr ACPTR // Read a byte over serial
jsr CHROUT
cmp #$0D // CR?
beq dexit
lda STATUS
and #$BF // Ignore EOI bit
beq rdstat // read next if no error
dexit:
jsr UNTLK // Command device to stop talking
rts
}
// Ouptut a carriage return
crlf: {
lda #13
jsr CHROUT
rts
}
patchbasic: {
// Patch Basic Interpreter loop to call execute "$A7E1 JMP execute"
lda #$4C // JMP opcode
sta IntLoopHook // $A7E1
lda #<execute
sta IntLoopHook + 1
lda #>execute
sta IntLoopHook + 2
// Update Basic Text LIST vector IQPLOP to prttoken
lda #<prttoken
sta IQPLOP // $0306
lda #>prttoken
sta IQPLOP + 1
// Patch Basic token crunch routine to "$A604 JMP crunch"
lda #$4C // JMP opcode
sta CrunchHook // $A604
lda #<crunch
sta CrunchHook + 1
lda #>crunch
sta CrunchHook + 2
rts
}
// Intercept the execute BASIC statement routine
// To use patch Basic interpreter loop to "$A7E1 JMP execute"
execute: {
jsr CHRGET
jsr doexe
jmp IntLoop // jump to start of Basic interpreter loop. $A7AE
doexe:
beq return // If char = $00 then EOL. Finished command execution
//sec // C = 1 Set set. I.e. no incoming carry for SBC. Omitted cos will alway be set.
// Tokens are >= 128. E.g. END=$80, FOR=$81... GO=$CB
sbc #$80 // Is Char < 128? I.e C = 1 (except after BCC and other odd times.) A = A - #$80 -!C. Set !C = Borrow
bcc dolet // Yes, then go and do LET command processing. C = 0
// Got a token char - 128
cmp #normal + newfun + 1 // Is Token < start of new keywords?
bcc donormal // Yes, then execute normal token. Or new function (must be a bit later in parsing)
cmp #normal + newfun + newact + 1 // Is Token > end of new actions?
bcs donormal // Yes, then pass to normal token processing (should get Syntax error?)
// Execute new action keyword
sbc #normal + newfun // Start at 1 in new action table
asl // multiply by 2 to get vector table location
tay // Pop action vector on stack as a return address for next rts
lda actionv + 1,y
pha
lda actionv,y
pha // rts at end of CHRGET executes action routine.
jmp CHRGET // Convention is to have next char before executing action.
return:
rts
dolet:
jmp LetStatement // $A9A5
donormal:
jmp ExeBasicStatement // $A7F3
}
// Intercept Basic Text LIST routine
// To use replace IQPLOP Basic Text LIST vector at $0306 with prttoken addr
// Patches normal code with correct token text table
prttoken: {
jsr putreg
cmp #normal + 128 + 1 // Is token <= 128?
bcc prtnormal // Yes, then it's a normal token. Use normal uncrunch routine
//lda asave // Redundant? could just sec
sec // Make sure C=1 for correct subtraction
sbc #normal + 1 // Adjust new token value 0..newfun+newact
sta asave
lda #>keywords // Load regs with new token table addr
ldx #<keywords
jmp patch
prtnormal:
lda #>CmdWordsTab // Load regs with normal token table location $A09E
ldx #<CmdWordsTab
patch:
sta $A732 // Patch uncrunch routine with token table address
stx $A731
sta $A73A
stx $A739
jsr getreg
jmp TokToText // Call patched uncrunch routine
}
// Crunch tokens
// To use patch Line Input to Code, routine to "$A604 JMP crunch"
// ...to intercept normal table exausted handling
crunch: {
jsr putreg
lda $A5FC // Is Line Input code = "$A5FA LDA $A09D,Y"?
cmp #$A0 // I.e. code is looking at normal token table
bne normal // No, then really have run out of tokens
lda #>keywords // Yes, then check new token table
ldx #<keywords
jsr tokstr
jsr getreg
ldy #$00 // Y = 0 so start a beginning of new token table
jmp TokTabSearch // Retry with new token table. Goto $A5B8
normal:
lda #>CmdWordsTab // Put code back to normal token table
ldx #<CmdWordsTab
jsr tokstr
jsr getreg
lda $0200,x
jmp TokTabEnd // Resume Basic crunch routine at $A607
}
// Patch crunch routine with token table address
// 3 references in routine $A5BD, $A600 & $A5FB
// $A5FB needs token tab addr - 1
// A = high addr byte,- X = Low addr byte of token table
tokstr: {
cld // Clear decimal mode, incase crunch routine left it set
sta $A5BE
stx $A5BD
sta $A601
stx $A600
dex
cpx #$FF // Page boundary?
bne !+ // No, jump
sec // Yes, Decrement high order byte
sbc #$01
!:
sta $A5FC
stx $A5FB
rts
}
// Retrieve saved registers
getreg: {
lda psave
pha
lda asave
ldx xsave
ldy ysave
plp
rts
}
// Save registers
putreg: {
php
sta asave
stx xsave
sty ysave
pla
sta psave
lda asave
rts
}
// Copy the Basic ROM to RAM
copyrom: {
lda R6510
and #LORAM_MASK
beq done // BASIC ROM already disabled
// Init loop vars
ldy #$00
ldx #>firstpg
// Don't need to flip flop R6510 IO register. H/W Reads from ROM and writes to RAM
nextpg:
stx getbyte + 2 // Update code with page number
stx setbyte + 2
getbyte: // Copy 256 bytes. Y=0, 255, 254...1
lda firstpg,y // firstpg self modified to current page being copied
setbyte:
sta firstpg,y
dey
bne getbyte
// Prep for next page
txa // A = X = page just done. Y = 0
inx // X = Next page
cmp #>lastpg // If A != last page then do another one.
bne nextpg
// Switch out BASIC ROM
lda R6510
and #$FF ^ LORAM_MASK
sta R6510
done:
rts
}
| 31.402817
| 141
| 0.552924
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.