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
83075f549c7403eb618cdbe2b0afb08020cb0085
842
asm
Assembly
main.asm
Dimedime-d/kptranslation
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
[ "CC-BY-4.0" ]
3
2020-10-25T07:13:17.000Z
2021-11-02T15:47:14.000Z
main.asm
Dimedime-d/kptranslation
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
[ "CC-BY-4.0" ]
5
2021-03-01T02:45:02.000Z
2021-12-15T03:33:28.000Z
main.asm
Dimedime-d/kptranslation
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
[ "CC-BY-4.0" ]
null
null
null
.gba ; Set the architecture to GBA .open "kp_patched.gba",0x08000000 ; Open input.gba for output. ; 0x08000000 will be used as the ; header size ;include all assembly files in here ;file paths are relative to armips.exe .definelabel __DEBUG__, 1 .ifdef __DEBUG__ .warning "Debug flag is ON" .include "asm/debug.asm" .endif .include "asm/customcode.asm" .include "asm/vwfalpha.asm" .include "text/insertscripts.asm" .include "text/ascii.asm" .include "text/menu.asm" .include "graphics/glyphs/glyphbinaries.asm" .include "graphics/minigamesplashes/minigamesplashes.asm" .include "graphics/minigamesplashes/overworldsplashes.asm" .include "graphics/overworldtitles/overworldtitles.asm" .include "graphics/inlevel/inleveltext.asm" .include "graphics/menu/menumacros.asm" .include "graphics/menu/1Pmenus.asm" .close
30.071429
62
0.763658
a30967a7e5533f43a4f825d1f1fbe5377b03e21e
404
asm
Assembly
programs/oeis/332/A332134.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/332/A332134.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/332/A332134.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A332134: a(n) = (10^(2n+1)-1)/3 + 10^n. ; 4,343,33433,3334333,333343333,33333433333,3333334333333,333333343333333,33333333433333333,3333333334333333333,333333333343333333333,33333333333433333333333,3333333333334333333333333,333333333333343333333333333,33333333333333433333333333333,3333333333333334333333333333333 mov $1,10 pow $1,$0 mul $1,10 add $1,2 bin $1,2 sub $1,66 div $1,15 add $1,4 mov $0,$1
31.076923
273
0.80198
40453f3aec28fe1cfb93a6190e47dcd363e99533
408
asm
Assembly
src/gdts.asm
MrVillagerGamer/DevLinux
cfde410d0edd137ae7e58cf1c12166cce73dc01d
[ "BSD-3-Clause" ]
null
null
null
src/gdts.asm
MrVillagerGamer/DevLinux
cfde410d0edd137ae7e58cf1c12166cce73dc01d
[ "BSD-3-Clause" ]
null
null
null
src/gdts.asm
MrVillagerGamer/DevLinux
cfde410d0edd137ae7e58cf1c12166cce73dc01d
[ "BSD-3-Clause" ]
null
null
null
global gdt_flush global gdt_load gdt_init_user: cli push ax mov ax, 0x23 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ebp, esp push dword 0x23 push eax pushfd push dword 0x1b push dword .cont iret .cont: sti ret gdt_flush: mov edx, [esp+4] lgdt [edx] jmp 0x08:.cont .cont: mov ax, 0x10 mov ds, ax mov es, ax mov fs, ax mov gs, ax mov ss, ax ret
12
18
0.615196
82bb5b9eed8b4bd5781a2f49b90e742d657f7938
335
asm
Assembly
mitchGuthrie_assignment2.asm
mitchGuthrieDev/Assembly-code
521a539cc4bb59b94c751eba65036035d4df8c15
[ "MIT" ]
null
null
null
mitchGuthrie_assignment2.asm
mitchGuthrieDev/Assembly-code
521a539cc4bb59b94c751eba65036035d4df8c15
[ "MIT" ]
null
null
null
mitchGuthrie_assignment2.asm
mitchGuthrieDev/Assembly-code
521a539cc4bb59b94c751eba65036035d4df8c15
[ "MIT" ]
null
null
null
#Mitch Guthrie, ID: 001215440 #Assignment HW 2 #C Code: for(i=0; i < 10; i++) printf ("I like pizza!\n") .data myMessage: .asciiz "Hello World\n" .text li $t0,0 #load value of 0 into $t0 (i) For_loop: slti $t1, $t0, 10 beq $t1, $zero, Exit li $v0,4 la $a0, myMessage syscall addi $t0,$t0,1 j For_loop Exit: li $v0,1
14.565217
57
0.620896
ce548e20769b3d7ee3c0e8c81dc04c3a8d9e6ca5
1,065
asm
Assembly
programs/oeis/049/A049626.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/049/A049626.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/049/A049626.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A049626: a(n) = T(n,4), array T as in A049615. ; 3,3,6,8,11,12,16,17,20,22,25,26,30,31,34,36,39,40,44,45,48,50,53,54,58,59,62,64,67,68,72,73,76,78,81,82,86,87,90,92,95,96,100,101,104,106,109,110,114,115,118,120,123,124,128,129,132,134,137,138,142 mov $13,$0 mov $15,$0 add $15,1 lpb $15 mov $0,$13 sub $15,1 sub $0,$15 mov $9,$0 mov $11,2 lpb $11 mov $0,$9 sub $11,1 add $0,$11 sub $0,1 mov $5,$0 mov $7,2 lpb $7 mov $0,$5 sub $7,1 add $0,$7 sub $0,1 mov $2,$0 mov $14,$0 mov $0,1 mov $3,3 mov $4,6 add $14,2 mul $14,$2 lpb $0 trn $0,$4 add $3,$14 div $14,$4 add $14,$3 lpe mov $8,$7 mul $14,2 lpb $8 mov $6,$14 sub $8,1 lpe lpe lpb $5 mov $5,0 sub $6,$14 lpe mov $12,$11 mov $14,$6 lpb $12 mov $10,$14 sub $12,1 lpe lpe lpb $9 mov $9,0 sub $10,$14 lpe mov $14,$10 div $14,2 add $1,$14 lpe mov $0,$1
16.384615
199
0.450704
d65bcd9c30e98b74bc1857143e0dc1a8c41e31c8
1,636
asm
Assembly
programs/oeis/177/A177189.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/177/A177189.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/177/A177189.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A177189: Partial sums of round(n^2/16). ; 0,0,0,1,2,4,6,9,13,18,24,32,41,52,64,78,94,112,132,155,180,208,238,271,307,346,388,434,483,536,592,652,716,784,856,933,1014,1100,1190,1285,1385,1490,1600,1716,1837,1964,2096,2234,2378,2528,2684,2847,3016,3192,3374,3563,3759,3962,4172,4390,4615,4848,5088,5336,5592,5856,6128,6409,6698,6996,7302,7617,7941,8274,8616,8968,9329,9700,10080,10470,10870,11280,11700,12131,12572,13024,13486,13959,14443,14938,15444,15962,16491,17032,17584,18148,18724,19312,19912,20525,21150,21788,22438,23101,23777,24466,25168,25884,26613,27356,28112,28882,29666,30464,31276,32103,32944,33800,34670,35555,36455,37370,38300,39246,40207,41184,42176,43184,44208,45248,46304,47377,48466,49572,50694,51833,52989,54162,55352,56560,57785,59028,60288,61566,62862,64176,65508,66859,68228,69616,71022,72447,73891,75354,76836,78338,79859,81400,82960,84540,86140,87760,89400,91061,92742,94444,96166,97909,99673,101458,103264,105092,106941,108812,110704,112618,114554,116512,118492,120495,122520,124568,126638,128731,130847,132986,135148,137334,139543,141776,144032,146312,148616,150944,153296,155673,158074,160500,162950,165425,167925,170450,173000,175576,178177,180804,183456,186134,188838,191568,194324,197107,199916,202752,205614,208503,211419,214362,217332,220330,223355,226408,229488,232596,235732,238896,242088,245309,248558,251836,255142,258477,261841,265234,268656,272108,275589,279100,282640,286210,289810,293440,297100,300791,304512,308264,312046,315859,319703,323578 mov $2,$0 mov $4,$0 lpb $4,1 mov $0,$2 sub $4,1 sub $0,$4 mov $3,$0 mul $3,$0 mov $5,$3 div $5,8 add $5,1 div $5,2 add $1,$5 lpe
90.888889
1,443
0.787897
727f4a658c5aaa9b048eed99d562e423131ce2cf
196
asm
Assembly
libsrc/sos/sos_wrd.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/sos/sos_wrd.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/sos/sos_wrd.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; S-OS specific routines ; by Stefano Bodrato, 2013 ; ; $Id: sos_wrd.asm,v 1.2 2015/01/19 01:33:07 pauloscustodio Exp $ ; PUBLIC sos_wrd sos_wrd: call $1fac ld hl,0 ret c inc hl ret
12.25
71
0.663265
daf209428fbac8dd03729b3b1a16de6d3697cce8
203
asm
Assembly
src/data/sample_scripts/benchmark_substract.asm
ambertide/SASVM
ee699ec9b585ad0fccb0b70e11dde1b225ac56c1
[ "MIT" ]
null
null
null
src/data/sample_scripts/benchmark_substract.asm
ambertide/SASVM
ee699ec9b585ad0fccb0b70e11dde1b225ac56c1
[ "MIT" ]
7
2019-12-27T20:59:12.000Z
2020-01-08T22:53:42.000Z
src/data/sample_scripts/benchmark_substract.asm
ambertide/SASVM
ee699ec9b585ad0fccb0b70e11dde1b225ac56c1
[ "MIT" ]
null
null
null
load R5, 01010001b load R4, 1 substract: load R6, 11111111b xor R7, R5, R6 and R8, R7, R4 xor R5, R5, R4 move R4, R8 addi R4, R4, R4 jmpEQ R4 = R0, end jmp substract end: move RF, R5 halt
10.15
19
0.640394
f8402428ad1e5565200dffe8e28c3ccd94e055c6
973
asm
Assembly
programs/oeis/314/A314057.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/314/A314057.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/314/A314057.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A314057: Coordination sequence Gal.6.635.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,11,15,21,27,31,37,43,47,53,58,63,69,73,79,85,89,95,101,105,111,116,121,127,131,137,143,147,153,159,163,169,174,179,185,189,195,201,205,211,217,221,227,232,237,243,247,253,259 mov $2,$0 add $2,1 mov $5,$0 lpb $2,1 mov $0,$5 sub $2,1 sub $0,$2 mov $7,2 mov $9,$0 lpb $7,1 mov $0,$9 sub $7,1 add $0,$7 sub $0,1 mul $0,2 cmp $10,0 add $4,$10 div $4,$4 cal $0,314244 ; Coordination sequence Gal.6.644.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. add $4,1 add $0,$4 add $0,4 mov $3,$0 mov $6,$7 lpb $6,1 sub $6,1 mov $8,$3 lpe lpe lpb $9,1 sub $8,$3 mov $9,0 lpe mov $3,$8 sub $3,6 add $1,$3 lpe
23.731707
186
0.602261
ebb7ac57704f94b0ae5cfcf372c54e3b91b6359b
172
asm
Assembly
Tests/Core/equ/equ.asm
Thar0/armips
4616b009959a8675eb2c9af66470b30c4083dffb
[ "MIT" ]
283
2015-01-02T01:02:28.000Z
2022-03-28T11:16:10.000Z
Tests/Core/equ/equ.asm
Thar0/armips
4616b009959a8675eb2c9af66470b30c4083dffb
[ "MIT" ]
117
2015-01-04T10:24:50.000Z
2022-03-12T19:51:13.000Z
Tests/Core/equ/equ.asm
Thar0/armips
4616b009959a8675eb2c9af66470b30c4083dffb
[ "MIT" ]
82
2015-02-07T15:03:47.000Z
2022-01-09T12:18:38.000Z
.gba .create "output.bin",0 EQUTEST equ "test" ; check if only whole words are replaced @@OTHEREQUTEST equ ".test" .ascii 0x20,EQUTEST,0x21 .ascii @@OTHEREQUTEST .close
14.333333
40
0.732558
ad1c46baac89fcedcdcf63fb7bc882d095e1c93a
459
asm
Assembly
programs/oeis/133/A133337.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/133/A133337.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/133/A133337.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A133337: a(3n) = 0, a(3n+1) = a(3n+2) = 5^n. ; 0,1,1,0,5,5,0,25,25,0,125,125,0,625,625,0,3125,3125,0,15625,15625,0,78125,78125,0,390625,390625,0,1953125,1953125,0,9765625,9765625,0,48828125,48828125,0,244140625,244140625,0,1220703125,1220703125,0 mov $3,1 mov $5,1 lpb $0,1 sub $0,1 trn $0,1 mov $4,2 add $4,$0 trn $0,$3 mov $2,1 add $5,$3 lpe mov $0,6 sub $0,$3 pow $0,$5 mul $0,2 pow $4,$2 sub $4,$2 div $2,$4 mul $0,$2 mov $1,$0 div $1,50
18.36
201
0.614379
b302decf935b90bc4d8c48ed33813e254778bb40
10,619
asm
Assembly
P6/data_P6_2/MDTest53.asm
alxzzhou/BUAA_CO_2020
b54bf367081a5a11701ebc3fc78a23494aecca9e
[ "Apache-2.0" ]
1
2022-01-23T09:24:47.000Z
2022-01-23T09:24:47.000Z
P6/data_P6_2/MDTest53.asm
alxzzhou/BUAA_CO_2020
b54bf367081a5a11701ebc3fc78a23494aecca9e
[ "Apache-2.0" ]
null
null
null
P6/data_P6_2/MDTest53.asm
alxzzhou/BUAA_CO_2020
b54bf367081a5a11701ebc3fc78a23494aecca9e
[ "Apache-2.0" ]
null
null
null
ori $ra,$ra,0xf mfhi $5 mtlo $4 lui $1,58556 lb $4,1($0) mult $4,$4 addu $4,$4,$1 sll $4,$1,4 lb $4,0($0) mtlo $4 mtlo $2 multu $1,$2 sb $4,2($0) mfhi $1 divu $6,$ra lb $2,6($0) addu $0,$2,$1 mfhi $6 sll $4,$2,7 lb $5,14($0) mfhi $1 addu $4,$5,$4 mflo $4 addu $2,$2,$4 addu $4,$5,$4 div $0,$ra lb $2,1($0) addiu $5,$3,-24365 mtlo $3 lb $0,8($0) lui $4,54674 srav $1,$6,$1 mfhi $3 mtlo $4 ori $5,$2,64458 ori $5,$5,13147 sb $4,2($0) sll $5,$2,26 addu $4,$1,$1 sll $5,$5,30 multu $4,$1 mult $4,$4 sll $0,$1,0 div $4,$ra multu $5,$2 addiu $1,$1,-10813 divu $5,$ra ori $3,$5,47174 addu $1,$2,$0 mtlo $4 div $5,$ra sb $4,5($0) sb $0,9($0) mflo $2 mflo $4 sb $1,16($0) addiu $2,$4,1641 srav $6,$0,$4 addiu $4,$4,-9755 addu $4,$2,$2 addu $4,$2,$4 lb $4,15($0) div $5,$ra ori $4,$4,807 multu $5,$4 mult $1,$2 divu $0,$ra lui $5,36112 multu $2,$2 mflo $1 div $0,$ra mult $1,$5 div $5,$ra sb $3,2($0) sll $0,$4,18 sll $1,$5,13 lui $5,38318 mtlo $6 sll $4,$4,22 lb $1,1($0) mthi $5 addiu $3,$3,8613 divu $0,$ra mthi $2 sb $4,8($0) sb $4,14($0) lb $4,5($0) ori $5,$0,11000 ori $5,$3,3541 div $4,$ra ori $6,$6,9209 mtlo $4 div $4,$ra addiu $4,$4,-25279 srav $4,$4,$3 sb $4,15($0) ori $5,$2,2676 multu $5,$2 sb $6,15($0) addiu $2,$2,-25758 lui $6,44545 addiu $5,$5,-14778 mult $1,$2 mthi $6 sb $2,6($0) addiu $0,$2,-4127 mthi $4 lui $3,64660 mflo $4 addiu $4,$2,21676 divu $1,$ra lui $1,60867 lui $4,43037 sb $1,16($0) srav $3,$3,$3 addu $1,$0,$4 div $4,$ra div $6,$ra mtlo $3 mflo $3 srav $2,$2,$6 sll $0,$4,6 mult $1,$4 mtlo $1 mfhi $1 lui $1,63064 mtlo $6 ori $6,$6,8921 sll $2,$2,21 lui $1,27557 lb $5,1($0) multu $5,$2 lb $4,14($0) mtlo $4 mfhi $5 addu $5,$4,$5 mflo $1 addiu $5,$6,-14118 mfhi $1 mtlo $5 divu $4,$ra mthi $4 div $6,$ra mflo $6 multu $5,$6 multu $1,$1 divu $5,$ra div $4,$ra addu $5,$5,$5 multu $4,$4 srav $1,$5,$1 lui $4,24301 ori $0,$0,32408 ori $5,$5,31178 sll $0,$0,30 lb $1,0($0) mtlo $4 lb $4,7($0) ori $1,$0,16465 lb $3,5($0) mtlo $5 mthi $6 sll $4,$1,15 multu $1,$2 mfhi $3 mflo $4 mult $1,$2 addu $1,$1,$1 lb $4,12($0) sb $3,11($0) mthi $6 mfhi $5 sb $1,8($0) mtlo $3 mflo $1 addiu $5,$2,8704 div $0,$ra addu $3,$0,$3 addu $0,$0,$0 mflo $6 mflo $1 multu $1,$1 mult $2,$2 mult $6,$6 lui $0,18589 mfhi $4 divu $3,$ra addiu $4,$3,-2154 mflo $2 mfhi $4 mult $4,$4 ori $1,$6,10011 lb $2,9($0) srav $1,$4,$4 divu $5,$ra mthi $5 srav $4,$5,$4 div $5,$ra addiu $4,$2,23031 sb $6,2($0) addiu $4,$4,-14157 sb $4,1($0) ori $1,$1,10225 srav $1,$5,$2 mflo $0 lui $0,12636 mfhi $4 div $5,$ra mthi $0 div $4,$ra mthi $1 mult $4,$4 addu $1,$1,$1 srav $0,$5,$5 sll $1,$2,1 multu $6,$3 mthi $1 addiu $5,$4,5411 sll $1,$1,13 lb $5,4($0) div $1,$ra ori $3,$2,12400 lb $1,8($0) mult $2,$2 mthi $5 addiu $2,$2,14507 addiu $1,$5,4949 mfhi $2 addu $5,$2,$2 addu $4,$5,$3 addu $2,$2,$3 lb $0,7($0) mult $5,$4 addu $3,$2,$3 mfhi $4 addiu $2,$2,2278 sll $1,$2,21 sb $4,8($0) mult $0,$6 srav $1,$2,$2 mfhi $0 sb $6,10($0) addu $4,$5,$4 multu $1,$2 mthi $4 div $6,$ra divu $5,$ra addu $0,$1,$1 divu $4,$ra addiu $2,$2,-28491 lb $4,10($0) mult $6,$2 lb $5,4($0) sb $0,4($0) addiu $2,$2,-10251 ori $1,$4,47020 mult $4,$4 mthi $1 mflo $5 addu $4,$6,$5 mfhi $4 sb $0,14($0) mult $1,$4 lui $3,63177 ori $6,$2,11749 divu $4,$ra mtlo $1 addu $5,$5,$5 mfhi $5 mfhi $2 mthi $5 mult $1,$1 addiu $1,$1,-27900 mtlo $2 ori $2,$2,57908 sll $0,$1,17 mtlo $1 sb $1,10($0) addu $6,$1,$6 lb $1,14($0) divu $4,$ra div $4,$ra mult $4,$5 mthi $5 mult $1,$2 lb $5,10($0) srav $1,$2,$2 mfhi $6 ori $5,$5,14820 mult $4,$6 sll $5,$2,14 multu $1,$1 multu $1,$4 mult $4,$4 lb $4,9($0) srav $0,$1,$3 mtlo $5 ori $6,$4,48009 lb $5,16($0) sb $5,4($0) sb $6,13($0) srav $4,$4,$4 ori $2,$5,45586 div $2,$ra sll $2,$2,7 addiu $4,$5,1499 sll $4,$4,15 mfhi $5 multu $1,$4 lb $5,1($0) mfhi $6 mflo $1 mult $4,$4 ori $2,$2,917 divu $5,$ra addu $4,$4,$1 div $3,$ra addiu $5,$1,-29200 divu $5,$ra multu $5,$5 mfhi $4 mflo $4 addu $0,$1,$1 addu $4,$4,$4 mflo $4 addiu $4,$2,12489 sb $0,11($0) addiu $4,$4,25427 lb $1,3($0) mthi $2 srav $1,$5,$3 addu $4,$2,$5 div $4,$ra mult $1,$2 multu $4,$4 mtlo $4 addu $4,$4,$3 mflo $6 srav $2,$6,$2 div $2,$ra lb $1,7($0) lb $4,4($0) mthi $4 sll $5,$6,20 sll $4,$4,20 ori $1,$4,17065 srav $0,$4,$0 lui $0,35592 mtlo $5 sb $4,4($0) lui $5,44934 lb $5,6($0) lui $4,3767 mtlo $4 mult $2,$6 mtlo $4 lui $0,35514 sb $4,15($0) sll $0,$2,7 mult $4,$0 div $5,$ra lb $4,2($0) lb $4,0($0) mult $4,$4 div $1,$ra addiu $6,$6,10803 multu $4,$4 lui $1,25306 sb $0,0($0) mflo $5 addiu $4,$5,9580 lb $4,2($0) addu $2,$2,$2 sb $1,12($0) mthi $2 sll $0,$5,5 addiu $4,$2,20719 div $0,$ra ori $1,$1,28746 mflo $1 ori $6,$6,61598 mflo $6 div $5,$ra div $4,$ra sb $1,6($0) mtlo $3 mtlo $5 mfhi $4 divu $2,$ra sll $6,$2,29 sll $6,$4,31 addiu $5,$4,-18896 mfhi $2 mult $3,$3 lb $0,1($0) mflo $4 mtlo $1 div $1,$ra sll $5,$4,13 multu $1,$1 mtlo $6 lui $5,34749 mult $5,$5 mthi $6 sll $5,$5,29 mflo $6 lui $1,21955 lb $5,9($0) ori $3,$2,3667 mfhi $4 sb $3,15($0) srav $5,$6,$5 mflo $6 sb $3,3($0) sll $0,$0,5 lb $2,6($0) lb $4,14($0) ori $6,$4,36873 div $4,$ra multu $2,$2 div $5,$ra mult $4,$2 lb $3,11($0) mthi $4 sll $5,$6,9 mult $5,$5 addu $1,$2,$2 mthi $3 srav $4,$4,$4 mthi $0 sb $5,10($0) mfhi $6 addu $5,$5,$5 mflo $6 mflo $4 divu $5,$ra sll $6,$6,6 addiu $4,$4,25212 ori $5,$3,13156 mflo $2 lui $1,23503 addu $3,$6,$3 mflo $3 sll $4,$1,3 mthi $2 addu $3,$4,$3 multu $4,$5 divu $1,$ra div $5,$ra addiu $0,$5,21928 mflo $1 ori $0,$1,31369 divu $4,$ra mult $5,$5 mflo $1 divu $1,$ra lb $6,13($0) addu $4,$4,$0 addiu $1,$1,-26680 lui $5,1274 ori $4,$5,58296 sll $4,$3,13 mflo $0 lui $1,2163 sb $1,15($0) mult $4,$1 srav $0,$4,$4 srav $0,$0,$0 lb $5,6($0) sb $4,2($0) sb $1,0($0) mult $4,$4 sb $6,12($0) mflo $4 mthi $3 mult $0,$2 div $4,$ra sb $6,7($0) divu $2,$ra multu $5,$4 mfhi $0 addiu $1,$2,32432 mtlo $0 mult $1,$1 addiu $2,$4,-22177 mflo $4 div $1,$ra divu $5,$ra ori $0,$4,34006 srav $5,$2,$3 lb $6,2($0) addiu $6,$4,10024 sll $5,$4,28 lb $2,5($0) lui $5,53622 addu $5,$1,$2 sll $3,$2,26 addu $4,$2,$4 mfhi $4 mflo $6 mult $1,$1 lui $4,17580 addu $4,$5,$4 addu $0,$0,$2 mflo $5 addu $3,$3,$3 mflo $4 divu $2,$ra mult $6,$6 sb $4,5($0) lb $4,10($0) mult $3,$2 sll $0,$5,22 lb $6,12($0) mthi $6 lb $0,6($0) ori $4,$3,23305 divu $4,$ra lui $4,30716 multu $4,$0 sb $0,14($0) mult $1,$4 div $2,$ra ori $4,$4,58732 srav $5,$5,$5 addiu $0,$4,14359 sll $2,$1,14 mthi $4 addu $5,$5,$4 mfhi $5 mthi $4 sll $4,$6,23 multu $4,$5 addu $4,$2,$5 mthi $1 addiu $0,$0,4514 srav $0,$1,$0 mfhi $3 sb $5,8($0) ori $4,$2,11469 srav $4,$5,$5 lb $2,16($0) addiu $4,$4,-13815 divu $5,$ra addiu $1,$1,-5088 addu $5,$5,$1 lb $4,1($0) multu $1,$2 divu $5,$ra mthi $3 sb $0,9($0) mthi $4 div $1,$ra addiu $0,$2,22905 multu $1,$5 srav $3,$0,$3 div $1,$ra mtlo $4 sll $4,$4,9 lb $2,8($0) mfhi $4 mflo $1 lui $6,54271 lb $5,4($0) mthi $4 ori $4,$4,10692 mflo $1 mtlo $2 addu $1,$2,$2 div $3,$ra addu $6,$5,$6 mult $3,$3 lui $5,22904 mfhi $4 multu $6,$6 divu $4,$ra mtlo $1 sb $1,14($0) sll $4,$4,20 lb $5,13($0) addiu $6,$4,-17668 sb $5,7($0) mult $6,$6 lb $4,14($0) mtlo $1 sll $4,$5,21 addiu $1,$1,-15754 srav $5,$0,$0 srav $5,$6,$6 mthi $3 multu $4,$2 mthi $4 lb $4,8($0) sb $6,8($0) addiu $6,$0,-28716 addiu $3,$1,17400 multu $5,$4 multu $2,$2 addu $4,$4,$4 div $0,$ra mflo $3 div $5,$ra sll $6,$6,5 ori $1,$4,61697 mult $5,$2 addu $1,$4,$4 lui $5,21634 srav $6,$2,$3 srav $4,$4,$0 lb $2,10($0) addu $4,$5,$5 mflo $1 mfhi $3 addiu $0,$0,3596 lb $1,11($0) mfhi $3 srav $4,$4,$5 div $6,$ra multu $4,$4 sb $2,2($0) mfhi $0 sb $2,9($0) mtlo $2 div $3,$ra srav $4,$4,$3 mfhi $4 multu $0,$0 div $1,$ra divu $5,$ra sb $1,4($0) mthi $4 addiu $4,$2,-13087 mtlo $2 mthi $6 mfhi $2 addu $1,$1,$2 lui $4,14186 mflo $4 lui $2,48002 lui $5,22058 srav $1,$4,$1 mfhi $6 div $4,$ra divu $1,$ra sll $4,$2,15 mthi $4 mtlo $5 lui $2,18915 addu $4,$1,$1 divu $0,$ra mtlo $4 srav $3,$2,$3 mthi $5 ori $4,$2,57084 addu $5,$1,$6 multu $1,$0 mfhi $4 mfhi $2 mflo $1 div $0,$ra mult $0,$2 multu $4,$4 multu $0,$4 mtlo $4 multu $0,$0 lui $2,21645 sll $6,$4,14 srav $5,$5,$5 addu $2,$1,$2 srav $2,$2,$6 mflo $4 addiu $5,$5,15769 mtlo $4 srav $3,$2,$3 div $6,$ra lui $4,27106 mflo $1 sll $4,$4,14 sll $4,$4,0 ori $5,$2,41036 srav $5,$4,$2 mfhi $6 mfhi $4 multu $4,$4 srav $3,$3,$3 lb $4,3($0) addu $4,$6,$4 mult $5,$5 ori $4,$4,40380 lb $4,10($0) multu $6,$3 ori $6,$4,10357 mflo $4 multu $0,$5 mtlo $2 mtlo $0 ori $2,$2,35180 addu $5,$5,$5 mfhi $4 addiu $6,$6,22151 addu $4,$2,$3 mfhi $4 lui $6,51905 div $4,$ra mflo $1 mtlo $0 mfhi $1 ori $4,$4,48389 mtlo $2 mfhi $4 sb $1,6($0) lui $5,40037 lui $4,31561 sll $5,$5,31 mfhi $1 mflo $4 sll $1,$2,9 sll $5,$5,14 lb $2,2($0) mflo $4 ori $6,$4,1764 ori $1,$5,30023 mult $5,$0 multu $1,$5 divu $0,$ra mthi $1 addu $4,$3,$3 srav $2,$2,$2 mtlo $5 ori $2,$2,14775 ori $4,$3,36956 ori $1,$1,35722 addiu $4,$4,1900 mflo $4 mult $1,$6 addiu $1,$5,-12611 lb $4,1($0) mfhi $4 mflo $0 lb $0,2($0) mthi $4 mfhi $0 sb $5,11($0) divu $1,$ra mfhi $4 addu $5,$0,$5 ori $5,$0,33369 mtlo $5 mflo $5 sll $0,$0,9 sb $3,13($0) div $1,$ra mtlo $4 mthi $1 ori $6,$0,16240 addiu $1,$3,6812 multu $1,$1 lb $2,5($0) sb $3,4($0) lb $6,12($0) mult $6,$4 mflo $4 addiu $1,$1,29155 addu $1,$4,$1 mtlo $5 mult $5,$1 sb $4,12($0) addiu $1,$1,-3767 srav $4,$1,$1 div $1,$ra addiu $6,$4,-17416 mthi $4 ori $3,$5,45326 divu $6,$ra lui $6,63030 addu $3,$4,$3 mflo $2 mult $2,$1 mtlo $0 mfhi $6 multu $6,$5 sll $1,$1,11 addiu $3,$3,10574 div $5,$ra multu $4,$4 divu $4,$ra lb $4,7($0) addu $5,$5,$1 addu $5,$4,$4 lb $1,10($0) srav $3,$4,$3 lb $4,6($0) lb $4,4($0) mfhi $2 addu $0,$5,$3 lb $4,0($0) addu $4,$4,$2 mtlo $4 lb $5,10($0) mflo $5 lb $5,4($0) ori $5,$5,21268 mfhi $1 srav $5,$5,$5 mfhi $5 sll $3,$3,19 mtlo $2 mtlo $4 mult $1,$1 addu $1,$1,$2 div $4,$ra mtlo $5 srav $4,$0,$3 lui $6,21040 sb $1,7($0) mthi $1 div $5,$ra addu $5,$0,$1 multu $0,$5 mtlo $4 div $4,$ra mtlo $5 lui $6,36130 lui $2,27941 mtlo $2 sb $1,4($0) div $1,$ra sb $6,13($0) divu $1,$ra addu $1,$5,$1 addu $5,$1,$2 multu $1,$5 multu $6,$6 mtlo $3 mtlo $0 lb $4,1($0) addiu $2,$4,-15306 addu $6,$4,$1 mfhi $4 sll $1,$5,30 sll $5,$5,3 lb $5,5($0) ori $2,$2,59597 multu $1,$6 mthi $4 lb $5,6($0) lui $5,47229 mflo $2 mfhi $0 srav $1,$5,$1 ori $0,$2,8695 addiu $1,$5,-3886 addiu $0,$4,27029 sb $0,7($0) mthi $1 div $5,$ra addiu $1,$1,-21169 sb $5,9($0) divu $1,$ra mflo $2 mtlo $4 mult $0,$0 sb $4,15($0) addiu $6,$6,-15477 lui $1,63510 addu $6,$2,$6 sb $0,7($0) addu $1,$2,$4 multu $4,$1 mflo $6 divu $4,$ra mult $4,$2 divu $6,$ra mult $1,$1 mflo $5 addiu $1,$1,-20543 srav $3,$1,$3 divu $6,$ra mfhi $5 ori $1,$1,33740 mult $4,$1 srav $6,$0,$0 multu $3,$3 mthi $4 mthi $1 mflo $2 mult $1,$1 sll $1,$5,13 lb $4,3($0)
11.931461
18
0.561729
a951f0ab6feb8e6e0f7741e3960731d1d028c049
384
asm
Assembly
programs/oeis/062/A062809.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/062/A062809.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/062/A062809.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A062809: a(n) = Sum_{i = 1..n} (n - i)^(1 + i). ; 0,1,5,18,60,203,725,2772,11368,49853,232757,1151902,6018772,33087191,190780197,1150653904,7241710912,47454745785,323154696165,2282779990474,16700904488684,126356632390275,987303454928949,7957133905608812 sub $2,$0 add $0,1 cal $0,3101 ; a(n) = Sum_{k = 1..n} (n - k + 1)^k. add $2,$0 mov $0,$2 add $0,1 mov $1,1 add $1,$0 sub $1,3
29.538462
205
0.679688
812cc8bf571f0895781871cc511516535e8fd205
3,565
asm
Assembly
src/procedure.asm
hirohito-protagonist/hla-learn-adventure
c702d6b0c710ddf4af1a65d72487e93750495329
[ "Unlicense" ]
null
null
null
src/procedure.asm
hirohito-protagonist/hla-learn-adventure
c702d6b0c710ddf4af1a65d72487e93750495329
[ "Unlicense" ]
null
null
null
src/procedure.asm
hirohito-protagonist/hla-learn-adventure
c702d6b0c710ddf4af1a65d72487e93750495329
[ "Unlicense" ]
null
null
null
; Assembly code emitted by HLA compiler ; Version 2.16 build 4413 (prototype) ; HLA compiler written by Randall Hyde ; NASM compatible output bits 32 %define ExceptionPtr__hla_ [dword fs:0] global QuitMain__hla_ global DfltExHndlr__hla_ global _HLAMain global HWexcept__hla_ global start section .text code align=16 extern DefaultExceptionHandler__hla_ extern abstract__hla_ extern HardwareException__hla_ extern BuildExcepts__hla_ extern Raise__hla_ extern shortDfltExcept__hla_ section .text ; procedure zeroBytes__hla_1885 zeroBytes__hla_1885: ;/*Dynamic link*/ ; push ebp db 055h ; ;/* push dword ptr [ebp-4] ;Display for lex level 0*/ ; push dword [ebp-4] db 0ffh ; db 075h ; db 0fch ; ;/*Get frame ptr*/ ; lea ebp, [esp+4] db 08dh ; db 06ch ; db 024h ; db 04h ; ;/* Ptr to this proc's A.R.*/ ; push ebp db 055h ; ; and esp, -4 db 083h ; db 0e4h ; db 0fch ; ; mov eax, 0 db 0b8h ; dd 00h ; mov ecx, 256 db 0b9h ; dd 0100h false__hla_1886: repeat__hla_1886: ; mov [ebx], eax db 089h ; db 03h ; ; add ebx, 4 db 083h ; db 0c3h ; db 04h ; ; dec ecx db 049h ; continue__hla_1886: ; test ecx, ecx db 085h ; db 0c9h ; mod-reg-r/m jne repeat__hla_1886 exitloop__hla_1886: xzeroBytes__hla_1885__hla_: ; mov esp, ebp db 089h ; db 0ech ; mod-reg-r/m ; pop ebp db 05dh ; ; ret db 0c3h ; opcode ;zeroBytes__hla_1885 endp ;/* HWexcept__hla_ gets called when Windows raises the exception. */ ; procedure HWexcept__hla_ HWexcept__hla_: jmp HardwareException__hla_ ;HWexcept__hla_ endp ; procedure DfltExHndlr__hla_ DfltExHndlr__hla_: jmp DefaultExceptionHandler__hla_ ;DfltExHndlr__hla_ endp ; procedure _HLAMain _HLAMain: nop ; procedure start start: ;start endp call BuildExcepts__hla_ ; push dword 0 db 06ah ; db 00h ; ; push ebp db 055h ; ; push ebp db 055h ; ; lea ebp, [esp+4] db 08dh ; db 06ch ; db 024h ; db 04h ; ; lea ebx, [dwArray__hla_1888] db 08dh ; db 01dh ; dd dwArray__hla_1888 call zeroBytes__hla_1885 QuitMain__hla_: ; push dword 0 db 06ah ; db 00h ; ; call [__imp__ExitProcess@4] db 0ffh ; db 015h ; dd __imp__ExitProcess@4 ;_HLAMain endp section .text section .data data align=16 extern MainPgmCoroutine__hla_ extern __imp__MessageBoxA@16 extern __imp__ExitProcess@4 align (4) dwArray__hla_1888 times 1024 db 0
19.480874
68
0.473773
545d421525081208af21493de5c65309382f6cd7
856
asm
Assembly
Driver/Printer/PrintCom/printcomCanonBJCCursor.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Driver/Printer/PrintCom/printcomCanonBJCCursor.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Driver/Printer/PrintCom/printcomCanonBJCCursor.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GlobalPC 1999 -- All Rights Reserved PROJECT: PC GEOS MODULE: Printer Drivers FILE: printcomCanonBJCCursor.asm AUTHOR: Joon Song ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ----------- Joon 1/99 Initial revision from printcomCanonCursor48.asm DESCRIPTION: This file contains most of the code to implement the Canon BJC print driver cursor movement support $Id$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ include Cursor/cursorDotMatrixCommon.asm include Cursor/cursorSetCursorAbsCanonBJC.asm include Cursor/cursorPrLineFeedCanonBJC.asm include Cursor/cursorPrFormFeedGuess.asm include Cursor/cursorConvert360.asm
24.457143
79
0.599299
f71869d484dac7c3eb817ad88735122b0ccda8ea
2,513
asm
Assembly
programs/oeis/190/A190176.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/190/A190176.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/190/A190176.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A190176: a(n) = n^4 + 2^4 + (n+2)^4. ; 32,98,288,722,1568,3042,5408,8978,14112,21218,30752,43218,59168,79202,103968,134162,170528,213858,264992,324818,394272,474338,566048,670482,788768,922082,1071648,1238738,1424672,1630818,1858592,2109458,2384928,2686562,3015968,3374802,3764768,4187618,4645152,5139218,5671712,6244578,6859808,7519442,8225568,8980322,9785888,10644498,11558432,12530018,13561632,14655698,15814688,17041122,18337568,19706642,21151008,22673378,24276512,25963218,27736352,29598818,31553568,33603602,35751968,38001762,40356128,42818258,45391392,48078818,50883872,53809938,56860448,60038882,63348768,66793682,70377248,74103138,77975072,81996818,86172192,90505058,94999328,99658962,104487968,109490402,114670368,120032018,125579552,131317218,137249312,143380178,149714208,156255842,163009568,169979922,177171488,184588898,192236832,200120018,208243232,216611298,225229088,234101522,243233568,252630242,262296608,272237778,282458912,292965218,303761952,314854418,326247968,337948002,349959968,362289362,374941728,387922658,401237792,414892818,428893472,443245538,457954848,473027282,488468768,504285282,520482848,537067538,554045472,571422818,589205792,607400658,626013728,645051362,664519968,684426002,704775968,725576418,746833952,768555218,790746912,813415778,836568608,860212242,884353568,908999522,934157088,959833298,986035232,1012770018,1040044832,1067866898,1096243488,1125181922,1154689568,1184773842,1215442208,1246702178,1278561312,1311027218,1344107552,1377810018,1412142368,1447112402,1482727968,1518996962,1555927328,1593527058,1631804192,1670766818,1710423072,1750781138,1791849248,1833635682,1876148768,1919396882,1963388448,2008131938,2053635872,2099908818,2146959392,2194796258,2243428128,2292863762,2343111968,2394181602,2446081568,2498820818,2552408352,2606853218,2662164512,2718351378,2775423008,2833388642,2892257568,2952039122,3012742688,3074377698,3136953632,3200480018,3264966432,3330422498,3396857888,3464282322,3532705568,3602137442,3672587808,3744066578,3816583712,3890149218,3964773152,4040465618,4117236768,4195096802,4274055968,4354124562,4435312928,4517631458,4601090592,4685700818,4771472672,4858416738,4946543648,5035864082,5126388768,5218128482,5311094048,5405296338,5500746272,5597454818,5695432992,5794691858,5895242528,5997096162,6100263968,6204757202,6310587168,6417765218,6526302752,6636211218,6747502112,6860186978,6974277408,7089785042,7206721568,7325098722,7444928288,7566222098,7688992032,7813250018 add $0,1 pow $0,2 add $0,3 pow $0,2 mov $1,$0 mul $1,2
251.3
2,417
0.880223
1e9d469b4cca98db898add37c87aa7b478eaa1ab
386
asm
Assembly
programs/oeis/162/A162177.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/162/A162177.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/162/A162177.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A162177: a(n) is the number of composite numbers that are smaller than A008578(n). ; 0,0,0,1,2,5,6,9,10,13,18,19,24,27,28,31,36,41,42,47,50,51,56,59,64,71,74,75,78,79,82,95,98,103,104,113,114,119,124,127,132,137,138,147,148,151,152,163,174,177,178,181,186,187,196,201,206,211,212,217,220,221 mov $2,$0 trn $0,1 seq $0,6005 ; The odd prime numbers together with 1. add $2,1 trn $0,$2
42.888889
208
0.694301
56046044c4c6e3fd4cd3220c2cf1e30cd1cd7f15
1,988
asm
Assembly
install/NoLFB/nolfb.asm
DrItanium/MechVM-original
b7f1f018e27748b8e60937a9abbece9c5964b501
[ "Info-ZIP" ]
4
2020-10-25T11:46:39.000Z
2022-02-10T09:43:30.000Z
install/NoLFB/nolfb.asm
DrItanium/MechVM-original
b7f1f018e27748b8e60937a9abbece9c5964b501
[ "Info-ZIP" ]
1
2022-02-10T09:57:23.000Z
2022-02-10T09:57:23.000Z
install/NoLFB/nolfb.asm
DrItanium/MechVM-original
b7f1f018e27748b8e60937a9abbece9c5964b501
[ "Info-ZIP" ]
1
2019-07-04T05:23:56.000Z
2019-07-04T05:23:56.000Z
;NOLFB.ASM by Ken Silverman (http://www.advsys.net/ken) 09/21/2002 ; ;NOLFB is a TSR that disables the linear framebuffer (LFB) in VESA 2.0 ;(and above) BIOS. Doing this will make some DOS games (including BUILD ;engine games and other demos on my website) run under Windows NT/2K/XP. ;Programs will run slower without the LFB, but at least they work! ; ;Compiling info: This MUST be run as a COM file! ;I was able to compile NOLFB.ASM->NOLFB.COM by using utilities from Watcom C: ; >wasm nolfb.asm ; >wlink f nolfb.obj system dos com ; ;It should also be possible to compile with old versions of MASM/LINK/EXE2BIN. .286 code segment assume cs:code org 256 start: jmp short tsrinit veshandler: ;modify only the VESA set_video_mode calls... cmp ax, 4f01h je short myhandler ;pass interrupt to original VESA handler (doesn't return to NOLFB) jmp dword ptr cs:oveshandler myhandler: ;call original VESA handler first (returns to NOLFB) pushf ;pushf allows you to call an interrupt handler like a 'far' call call dword ptr cs:oveshandler ;do our modifications only if original VESA handler returns 'good' cmp ax, 4fh jne short oveserror ;clear flag that says LFB exists (bit 7 of VBE_modeInfo.ModeAttributes) and byte ptr es:[di], 7fh oveserror: iret oveshandler dd ? programleng equ $+256-start mystring db "NOLFB by Ken Silverman (advsys.net/ken) 09/21/2002",'$' tsrinit: pop ax ;throw away the return address with COM files ;dos_printstring.. please don't remove! :) mov dx, offset mystring mov ah, 9 int 21h ;dos_getvect mov ax, 3510h int 21h mov word ptr cs:[oveshandler+0], bx mov word ptr cs:[oveshandler+2], es ;dos_setvect mov dx, offset veshandler mov ax, 2510h int 21h ;free environment block mov es, ds:[2ch] mov ah, 49h int 21h ;terminate and stay resident (TSR) mov ax, 3100h mov dx, (programleng+15)/16 int 21h code ends end start
24.85
79
0.707746
a60c03ef070d2e2eb897e140adbf775118ee186a
1,667
asm
Assembly
src/i2c.asm
grantperry/elec342-alarm-clock
6518f1f9d31579e0b00b566ed07742bf4140d7c1
[ "Unlicense" ]
null
null
null
src/i2c.asm
grantperry/elec342-alarm-clock
6518f1f9d31579e0b00b566ed07742bf4140d7c1
[ "Unlicense" ]
null
null
null
src/i2c.asm
grantperry/elec342-alarm-clock
6518f1f9d31579e0b00b566ed07742bf4140d7c1
[ "Unlicense" ]
null
null
null
i2c_init: cli cbi DDRC, 4 cbi DDRC, 5 sbi PORTC, 4 sbi PORTC, 5 lds r16, PRR andi r16, 0b01101111 sts PRR, r16 call delay1msec ; set TWSR(Two Wire Status Register) to 0 to put it in an idle state and 1* divisor ldi r16, 0x0 sts TWSR, r16 ; set TWBR(Two Wire Bit Rate) reg to 0 as this sets the clock to 100kHz ldi r16, 0xc1 ; 16000000 / (16 + 2 * 193 * 1) sts TWBR, r16 ; enable TW and clear the interupt ldi r16, (1<<TWINT)|(1<<TWEN) sts TWCR, r16 ; _i2c_init_wait: ; lds r16, TWCR ; sbrs r16, TWINT ; if TWINT is set continue, else loop back to _wait ; rjmp _i2c_init_wait sei ret i2c_start: ; TWCR => Control Register ; TWINT => Clear interupt flag ; TWSTA => put TW into start mode(As in send the start of frame) ; TWEN => Enable TWI/I2C ldi r16, (1<<TWINT)|(1<<TWSTA)|(1<<TWEN) sts TWCR, r16 _i2c_start_wait: lds r16, TWCR sbrs r16, TWINT ; if TWINT is set continue, else loop back to _wait rjmp _i2c_start_wait lds r16, TWSR andi r16, 0b11111000 cpi r16, (1<<4) ; 0x08 breq end ; error if 0x08 is not in the status register ret i2c_stop: ; TWCR => Control Register ; TWINT => Clear interupt flag ; TWSTA => put TW into STOP mode(As in send the end of frame) ; TWEN => Enable TWI/I2C ldi r16, (1<<TWINT)|(1<<TWSTO)|(1<<TWEN) sts TWCR, r16 rcall delay1msec ret i2c_write_SLA: rcall i2c_write_byte lds r16,TWSR andi r16,0xf8 ; mask out cpi r16,0x18 ; TWSR = SLA+W sent, ACK received (0x18) ret i2c_write_byte: sts TWDR, r16 ldi r16, (1<<TWINT) | (1<<TWEN) sts TWCR, r16 rcall i2c_tansmit_wait ret i2c_tansmit_wait: lds r16, TWCR sbrs r16, TWINT rjmp i2c_tansmit_wait ret
18.119565
84
0.680864
358a72a62ec06dc2efc3645238d431f893e39bd7
1,487
asm
Assembly
programs/oeis/212/A212325.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/212/A212325.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212325.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A212325: Prime-generating polynomial: n^2 + 3*n - 167. ; -167,-163,-157,-149,-139,-127,-113,-97,-79,-59,-37,-13,13,41,71,103,137,173,211,251,293,337,383,431,481,533,587,643,701,761,823,887,953,1021,1091,1163,1237,1313,1391,1471,1553,1637,1723,1811,1901,1993,2087,2183,2281,2381,2483,2587,2693,2801,2911,3023,3137,3253,3371,3491,3613,3737,3863,3991,4121,4253,4387,4523,4661,4801,4943,5087,5233,5381,5531,5683,5837,5993,6151,6311,6473,6637,6803,6971,7141,7313,7487,7663,7841,8021,8203,8387,8573,8761,8951,9143,9337,9533,9731,9931,10133,10337,10543,10751,10961,11173,11387,11603,11821,12041,12263,12487,12713,12941,13171,13403,13637,13873,14111,14351,14593,14837,15083,15331,15581,15833,16087,16343,16601,16861,17123,17387,17653,17921,18191,18463,18737,19013,19291,19571,19853,20137,20423,20711,21001,21293,21587,21883,22181,22481,22783,23087,23393,23701,24011,24323,24637,24953,25271,25591,25913,26237,26563,26891,27221,27553,27887,28223,28561,28901,29243,29587,29933,30281,30631,30983,31337,31693,32051,32411,32773,33137,33503,33871,34241,34613,34987,35363,35741,36121,36503,36887,37273,37661,38051,38443,38837,39233,39631,40031,40433,40837,41243,41651,42061,42473,42887,43303,43721,44141,44563,44987,45413,45841,46271,46703,47137,47573,48011,48451,48893,49337,49783,50231,50681,51133,51587,52043,52501,52961,53423,53887,54353,54821,55291,55763,56237,56713,57191,57671,58153,58637,59123,59611,60101,60593,61087,61583,62081,62581 add $0,2 bin $0,2 sub $0,88 mov $1,$0 mul $1,2 add $1,7
148.7
1,372
0.792872
e66bdbffb5731edd07b0fed556ec4449b96fd234
178
asm
Assembly
libsrc/_DEVELOPMENT/compress/zx1/z80/asm_dzx1_smart_rcs_back.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/compress/zx1/z80/asm_dzx1_smart_rcs_back.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/compress/zx1/z80/asm_dzx1_smart_rcs_back.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
IF !__CPU_INTEL__ && !__CPU_GBZ80__ SECTION code_lib SECTION code_compress_zx1 PUBLIC asm_dzx1_smart_rcs_back asm_dzx1_smart_rcs_back: INCLUDE "dzx1_smartRCS_back.asm" ENDIF
14.833333
35
0.853933
bd877d05fc68287344c01ff6266550f2f2e05e9c
98
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/round.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/round.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_ix/round.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math48 PUBLIC _round EXTERN cm48_sdccix_round defc _round = cm48_sdccix_round
10.888889
31
0.846939
65d4cefb8b272930d5f0617329a77bb85da3dc54
608
asm
Assembly
programs/oeis/314/A314672.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/314/A314672.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/314/A314672.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A314672: Coordination sequence Gal.4.38.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,9,13,17,21,25,29,34,39,43,47,51,55,59,63,68,73,77,81,85,89,93,97,102,107,111,115,119,123,127,131,136,141,145,149,153,157,161,165,170,175,179,183,187,191,195,199,204,209 mov $3,$0 add $3,1 mov $6,$0 lpb $3 mov $0,$6 sub $3,1 sub $0,$3 add $2,1 lpb $2 sub $2,1 lpb $0 div $0,2 mov $4,$0 min $4,1 add $4,3 mod $0,$4 lpe lpe mov $5,$4 add $5,1 add $1,$5 lpe mov $0,$1
22.518519
176
0.605263
11e59c50522ba6a4109e54282b28e514e7d07c03
1,358
asm
Assembly
timers/div_reset_timing/main.asm
AntonioND/gbc-hw-tests
631e60000c885154a8526df0b148847f9c34ce42
[ "MIT" ]
6
2018-07-21T12:11:21.000Z
2021-07-23T16:32:47.000Z
timers/div_reset_timing/main.asm
PMArkive/gbc-hw-tests
631e60000c885154a8526df0b148847f9c34ce42
[ "MIT" ]
null
null
null
timers/div_reset_timing/main.asm
PMArkive/gbc-hw-tests
631e60000c885154a8526df0b148847f9c34ce42
[ "MIT" ]
3
2016-04-26T07:45:34.000Z
2018-12-30T05:45:14.000Z
INCLUDE "hardware.inc" INCLUDE "header.inc" SECTION "var",BSS ram_ptr: DS 2 repeat_loop: DS 1 SECTION "Main",HOME ;-------------------------------------------------------------------------- ;- Main() - ;-------------------------------------------------------------------------- Main: ld hl,$A000 ld a,[Init_Reg_A] cp a,$11 jr nz,.skipchange1 ld a,0 ld [repeat_loop],a call CPU_slow .skipchange1: .repeat_all: ; ------------------------------------------------------- ld a,$0A ld [$0000],a ; enable ram ; ------------------------------------------------------- ld a,0 ld [rDIV],a REPETITIONS SET 1 REPT 100 ld a,0 ld [rDIV],a REPT REPETITIONS nop ENDR ld a,[rDIV] ld [hl+],a REPETITIONS SET REPETITIONS+1 ENDR ; ------------------------------------------------------- push hl ; magic number ld [hl],$12 inc hl ld [hl],$34 inc hl ld [hl],$56 inc hl ld [hl],$78 pop hl ld a,$00 ld [$0000],a ; disable ram ; ------------------------------------------------------- ld a,[Init_Reg_A] cp a,$11 jr nz,.skipchange2 ld a,[repeat_loop] and a,a jr nz,.endloop ; ------------------------------------------------------- call CPU_fast ld a,1 ld [repeat_loop],a jp .repeat_all .skipchange2: .endloop: halt jr .endloop
15.258427
75
0.393225
e7398b11f3ade05e0e2ef75b00acafbfee8cc8b4
5,737
asm
Assembly
Transynther/x86/_processed/NONE/_ht_zr_un_xt_sm_/i9-9900K_12_0xa0.log_21829_85.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_ht_zr_un_xt_sm_/i9-9900K_12_0xa0.log_21829_85.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_ht_zr_un_xt_sm_/i9-9900K_12_0xa0.log_21829_85.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 %r12 push %r13 push %rax push %rdi push %rdx lea addresses_WT_ht+0x1ba7e, %r12 nop nop nop nop xor $3427, %rdx mov (%r12), %r13w nop nop nop and $17973, %rdi lea addresses_UC_ht+0x1467e, %rdx nop nop nop nop sub $13944, %rax mov $0x6162636465666768, %rdi movq %rdi, %xmm0 vmovups %ymm0, (%rdx) nop nop nop nop sub %r12, %r12 lea addresses_D_ht+0x87e, %r13 nop nop nop nop cmp $30281, %r11 mov $0x6162636465666768, %rdx movq %rdx, %xmm3 movups %xmm3, (%r13) nop nop nop nop inc %rdx pop %rdx pop %rdi pop %rax pop %r13 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r15 push %rbp push %rbx push %rdi // Store lea addresses_WT+0x367e, %r12 nop nop dec %r13 movw $0x5152, (%r12) nop nop sub $19616, %r15 // Store lea addresses_RW+0x1be7e, %r11 and $16874, %rbx movl $0x51525354, (%r11) nop xor %rbp, %rbp // Faulty Load lea addresses_WT+0x367e, %rdi cmp %r12, %r12 movups (%rdi), %xmm6 vpextrq $1, %xmm6, %rbx lea oracles, %r13 and $0xff, %rbx shlq $12, %rbx mov (%r13,%rbx,1), %rbx pop %rdi pop %rbx pop %rbp pop %r15 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_WT', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_WT', 'AVXalign': False, 'size': 2}} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_RW', 'AVXalign': False, 'size': 4}} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_WT', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'same': True, 'congruent': 7, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 32}} {'OP': 'STOR', 'dst': {'NT': False, 'same': True, 'congruent': 9, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16}} {'64': 1, '7f': 12, 'd4': 1, 'fc': 3, 'b2': 1, '47': 157, '56': 22, '0b': 78, 'a6': 590, '48': 12, '58': 13, 'cb': 265, '4d': 34, '00': 3587, '42': 393, 'd1': 1, '90': 416, '2d': 8, 'f9': 1, 'b3': 1, '8b': 223, '27': 15, '39': 1, '96': 87, '4e': 1, 'b4': 120, '54': 24, '41': 92, 'd2': 376, 'c7': 418, '7d': 23, '94': 354, '9d': 191, 'b9': 334, 'ef': 896, '9e': 24, '6b': 8, 'c2': 595, '40': 2654, 'd0': 270, '95': 84, '80': 1, 'ff': 5539, '04': 298, 'b0': 810, '83': 127, '08': 513, '7a': 15, 'bb': 88, 'b1': 87, 'cc': 92, '09': 86, 'db': 1, '78': 12, 'c8': 88, '81': 209, '66': 117, 'da': 1, '82': 1, 'd9': 480, '9a': 337, '97': 449, 'ba': 92} 00 00 00 97 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 ff ff 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 40 00 ff ff ff 00 ff ff ff ff 00 ff 00 ff ff 00 ff ff 00 ff 00 ff ff 00 ff 00 ff ff 00 ff 00 ff 00 ff ff ff 00 ff ff 00 ff 00 ff 00 ff ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ff ff ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ff ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ff 00 ff 00 ff ff 00 ff ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ff ff 00 ff 00 ff 00 ff 00 ff 00 ff 00 ff ff ff 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 ff ff ff ff ff ff ff ff ff 97 97 97 97 97 97 97 97 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 ff 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 42 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 da 00 ff 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 42 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 97 db d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 42 00 ff 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 42 d9 d9 d9 d9 d9 d9 d9 42 d9 d9 d9 d9 d9 d9 d9 d9 42 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 00 42 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 d9 ff ff ff ff */
49.456897
2,999
0.631515
41179907a167c1a8ac63d18de1835a4f016f5403
86,826
asm
Assembly
src/sprite_mummy.asm
fjpena/sword-of-ianna-msx2
f104f46a677e4b21f42fbed478307a0bb1d372f3
[ "Apache-2.0" ]
43
2017-10-21T23:01:25.000Z
2022-02-21T17:45:11.000Z
src/sprite_mummy.asm
fjpena/sword-of-ianna-msx2
f104f46a677e4b21f42fbed478307a0bb1d372f3
[ "Apache-2.0" ]
null
null
null
src/sprite_mummy.asm
fjpena/sword-of-ianna-msx2
f104f46a677e4b21f42fbed478307a0bb1d372f3
[ "Apache-2.0" ]
6
2017-10-23T05:48:50.000Z
2022-01-06T03:11:49.000Z
idle: DB 0, 0, 0, 0, 0, 16, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 183, 182, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 27, 29, 189, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 103, 182, 123, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 102, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 119, 23, 113, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 183, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 0, 17, 113, 183, 27, 0, 0, 0, 0 DB 0, 0, 0, 16, 102, 103, 119, 119, 17, 0, 0, 0 DB 0, 0, 0, 97, 118, 119, 102, 182, 113, 1, 0, 0 DB 0, 0, 0, 113, 103, 27, 119, 119, 113, 1, 0, 0 DB 0, 0, 0, 97, 102, 27, 102, 182, 17, 1, 0, 0 DB 0, 0, 0, 97, 118, 113, 119, 119, 113, 1, 0, 0 DB 0, 0, 0, 16, 183, 177, 102, 187, 113, 1, 0, 0 DB 0, 0, 0, 16, 118, 113, 103, 123, 113, 1, 0, 0 DB 0, 0, 0, 16, 183, 177, 118, 119, 17, 1, 0, 0 DB 0, 0, 0, 16, 182, 177, 102, 27, 119, 1, 0, 0 DB 0, 0, 0, 16, 119, 113, 103, 27, 17, 1, 0, 0 DB 0, 0, 0, 16, 182, 177, 118, 23, 119, 1, 0, 0 DB 0, 96, 0, 118, 119, 113, 102, 187, 113, 1, 0, 0 DB 0, 0, 22, 119, 182, 177, 103, 123, 23, 0, 0, 0 DB 0, 0, 177, 183, 27, 177, 118, 123, 23, 0, 0, 0 DB 0, 0, 16, 17, 17, 107, 22, 113, 23, 0, 0, 0 DB 0, 0, 0, 0, 16, 119, 23, 17, 17, 0, 0, 0 DB 0, 0, 0, 0, 97, 182, 1, 113, 23, 0, 0, 0 DB 0, 0, 0, 0, 113, 27, 0, 17, 23, 0, 0, 0 DB 0, 0, 0, 16, 182, 1, 16, 119, 1, 0, 0, 0 DB 0, 0, 0, 16, 182, 1, 113, 17, 0, 0, 0, 0 DB 0, 0, 0, 97, 23, 0, 113, 23, 0, 0, 0, 0 DB 0, 0, 0, 97, 27, 1, 113, 23, 0, 0, 0, 0 DB 0, 0, 16, 102, 103, 27, 113, 113, 1, 0, 0, 0 DB 0, 0, 0, 17, 103, 182, 17, 113, 23, 0, 0, 0 gira: DB 0, 0, 0, 0, 0, 17, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 107, 102, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 177, 209, 209, 177, 1, 0, 0, 0 DB 0, 0, 0, 0, 113, 102, 102, 118, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 22, 17, 182, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 17, 17, 177, 1, 0, 0, 0 DB 0, 0, 0, 17, 113, 27, 17, 123, 17, 1, 0, 0 DB 0, 0, 16, 102, 119, 183, 187, 119, 103, 22, 0, 0 DB 0, 0, 97, 123, 102, 119, 119, 103, 118, 182, 1, 0 DB 0, 0, 113, 23, 119, 102, 102, 118, 23, 119, 1, 0 DB 0, 0, 97, 27, 107, 119, 119, 103, 27, 182, 1, 0 DB 0, 0, 97, 27, 119, 102, 102, 118, 23, 182, 1, 0 DB 0, 0, 113, 23, 187, 119, 119, 103, 27, 119, 1, 0 DB 0, 0, 97, 27, 119, 107, 102, 123, 23, 182, 1, 0 DB 0, 0, 113, 27, 177, 183, 187, 183, 17, 118, 1, 0 DB 0, 0, 97, 23, 177, 118, 119, 182, 17, 183, 1, 0 DB 0, 0, 97, 27, 16, 107, 102, 27, 16, 182, 1, 0 DB 0, 0, 113, 23, 177, 183, 187, 183, 17, 119, 1, 0 DB 0, 0, 97, 27, 123, 118, 119, 123, 27, 182, 1, 0 DB 0, 0, 97, 27, 123, 107, 102, 118, 27, 182, 1, 0 DB 0, 0, 97, 23, 119, 183, 102, 123, 23, 183, 1, 0 DB 0, 0, 16, 27, 107, 113, 123, 123, 27, 22, 0, 0 DB 0, 0, 96, 17, 107, 17, 23, 97, 27, 176, 0, 0 DB 0, 0, 96, 16, 119, 1, 11, 113, 23, 176, 0, 0 DB 0, 0, 96, 16, 107, 1, 0, 97, 27, 0, 0, 0 DB 0, 0, 0, 16, 103, 1, 0, 97, 23, 0, 0, 0 DB 0, 0, 0, 16, 123, 1, 0, 113, 27, 0, 0, 0 DB 0, 0, 0, 16, 107, 1, 0, 97, 27, 0, 0, 0 DB 0, 0, 0, 16, 103, 1, 0, 97, 23, 0, 0, 0 DB 0, 0, 0, 16, 119, 1, 0, 113, 23, 0, 0, 0 DB 0, 0, 0, 177, 182, 1, 0, 177, 182, 1, 0, 0 DB 0, 0, 16, 107, 102, 27, 16, 107, 102, 27, 0, 0 camina: DB 0, 0, 0, 0, 0, 16, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 97, 102, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 27, 29, 189, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 103, 102, 123, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 102, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 119, 23, 113, 1, 0, 0, 0 DB 0, 0, 0, 0, 17, 103, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 16, 17, 113, 103, 123, 1, 0, 0, 0 DB 0, 0, 0, 97, 182, 119, 119, 119, 17, 0, 0, 0 DB 0, 0, 0, 113, 123, 177, 102, 187, 119, 1, 0, 0 DB 0, 0, 0, 97, 23, 119, 119, 119, 113, 1, 0, 0 DB 0, 0, 0, 97, 27, 107, 102, 187, 17, 1, 0, 0 DB 0, 0, 16, 118, 17, 119, 119, 119, 113, 1, 0, 0 DB 0, 0, 16, 182, 177, 107, 102, 187, 113, 1, 0, 0 DB 0, 0, 97, 23, 16, 119, 103, 123, 17, 1, 0, 0 DB 0, 0, 97, 27, 16, 107, 118, 183, 113, 1, 0, 0 DB 0, 0, 97, 27, 16, 107, 102, 187, 113, 23, 0, 0 DB 0, 0, 113, 23, 16, 119, 183, 123, 17, 17, 0, 0 DB 0, 0, 97, 27, 16, 102, 118, 183, 113, 23, 0, 0 DB 0, 0, 16, 182, 177, 183, 102, 27, 113, 23, 0, 0 DB 0, 0, 16, 182, 97, 123, 107, 27, 17, 23, 0, 0 DB 0, 0, 16, 183, 97, 118, 183, 17, 23, 1, 0, 0 DB 0, 0, 16, 22, 16, 118, 17, 113, 23, 0, 0, 0 DB 0, 0, 0, 11, 16, 119, 17, 17, 23, 0, 0, 0 DB 0, 0, 0, 96, 27, 182, 17, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 118, 17, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 23, 113, 113, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 27, 113, 23, 0, 0, 0, 0 DB 0, 0, 0, 16, 118, 23, 17, 17, 0, 0, 0, 0 DB 0, 0, 0, 16, 182, 17, 113, 23, 0, 0, 0, 0 DB 0, 0, 0, 97, 118, 182, 113, 113, 1, 0, 0, 0 DB 0, 0, 0, 16, 17, 102, 27, 119, 23, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 16, 17, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 97, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 27, 29, 189, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 103, 102, 123, 1, 0 DB 0, 0, 0, 0, 0, 0, 177, 102, 22, 177, 1, 0 DB 0, 0, 0, 0, 0, 0, 177, 119, 23, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 113, 103, 22, 177, 1, 0 DB 0, 0, 0, 0, 0, 0, 177, 123, 103, 27, 0, 0 DB 0, 0, 0, 0, 0, 16, 102, 119, 119, 23, 0, 0 DB 0, 0, 0, 0, 0, 16, 119, 27, 107, 182, 1, 0 DB 0, 0, 0, 0, 0, 16, 102, 27, 119, 119, 1, 0 DB 0, 0, 0, 0, 0, 16, 102, 27, 107, 182, 1, 0 DB 0, 0, 0, 0, 0, 16, 118, 23, 119, 119, 1, 0 DB 0, 0, 0, 0, 0, 0, 97, 27, 107, 182, 1, 0 DB 0, 0, 0, 0, 0, 0, 97, 119, 177, 118, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 182, 113, 183, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 182, 177, 182, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 119, 177, 118, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 182, 113, 183, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 182, 177, 182, 1, 0 DB 0, 0, 0, 0, 0, 96, 16, 27, 183, 118, 1, 0 DB 0, 0, 0, 0, 0, 0, 182, 113, 107, 23, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 119, 22, 113, 23, 0 DB 0, 0, 0, 0, 0, 0, 97, 118, 1, 17, 17, 0 DB 0, 0, 0, 0, 0, 16, 118, 27, 0, 113, 23, 0 DB 0, 0, 0, 0, 0, 97, 182, 1, 0, 113, 23, 0 DB 0, 0, 0, 0, 16, 118, 27, 0, 0, 17, 23, 0 DB 0, 0, 0, 16, 97, 182, 1, 0, 16, 119, 1, 0 DB 0, 0, 0, 177, 118, 23, 0, 0, 16, 23, 0, 0 DB 0, 0, 0, 16, 123, 187, 1, 0, 113, 113, 17, 1 DB 0, 0, 0, 0, 17, 102, 27, 0, 16, 119, 113, 23 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 177, 102, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 27, 29, 189, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 103, 102, 123, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 107, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 0, 113, 119, 23, 113, 1, 0, 0, 0 DB 0, 0, 0, 16, 182, 103, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 97, 182, 113, 103, 27, 0, 0, 0, 0 DB 0, 0, 0, 16, 119, 27, 119, 1, 0, 0, 0, 0 DB 0, 0, 0, 16, 102, 27, 187, 1, 0, 0, 0, 0 DB 0, 0, 0, 16, 102, 23, 119, 1, 0, 0, 0, 0 DB 0, 0, 0, 16, 113, 27, 183, 1, 0, 0, 0, 0 DB 0, 0, 0, 17, 97, 182, 113, 1, 0, 0, 0, 0 DB 0, 0, 16, 23, 23, 118, 27, 1, 0, 0, 0, 0 DB 0, 0, 113, 23, 187, 97, 182, 1, 0, 0, 0, 0 DB 0, 0, 17, 17, 119, 23, 118, 1, 0, 0, 0, 0 DB 0, 0, 113, 23, 102, 123, 177, 1, 0, 0, 0, 0 DB 0, 0, 16, 23, 103, 182, 97, 27, 0, 0, 0, 0 DB 0, 0, 0, 17, 113, 119, 97, 27, 0, 0, 0, 0 DB 0, 0, 0, 16, 22, 17, 182, 1, 0, 0, 0, 0 DB 0, 0, 0, 16, 97, 182, 17, 23, 0, 0, 0, 0 DB 0, 0, 0, 16, 23, 17, 113, 23, 0, 0, 0, 0 DB 0, 0, 0, 16, 187, 1, 17, 17, 0, 0, 0, 0 DB 0, 0, 0, 16, 182, 1, 113, 23, 0, 0, 0, 0 DB 0, 0, 0, 97, 23, 0, 113, 23, 0, 0, 0, 0 DB 0, 0, 16, 102, 27, 0, 17, 23, 0, 0, 0, 0 DB 0, 0, 16, 183, 1, 16, 119, 1, 0, 0, 0, 0 DB 0, 0, 97, 123, 1, 113, 23, 1, 0, 0, 0, 0 DB 0, 0, 97, 103, 27, 113, 113, 17, 0, 0, 0, 0 DB 0, 0, 16, 97, 182, 17, 119, 113, 1, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 16, 17, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 177, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 27, 29, 189, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 103, 102, 123, 1, 0 DB 0, 0, 0, 0, 0, 0, 177, 102, 22, 177, 1, 0 DB 0, 0, 0, 0, 0, 0, 177, 119, 23, 113, 1, 0 DB 0, 0, 0, 0, 0, 16, 113, 103, 22, 177, 1, 0 DB 0, 0, 0, 0, 0, 97, 123, 119, 103, 123, 1, 0 DB 0, 0, 0, 0, 16, 102, 119, 123, 119, 119, 23, 0 DB 0, 0, 0, 0, 16, 119, 27, 103, 182, 187, 119, 1 DB 0, 0, 0, 0, 16, 102, 27, 119, 119, 119, 113, 1 DB 0, 0, 0, 0, 16, 102, 23, 107, 102, 182, 17, 1 DB 0, 0, 0, 0, 16, 119, 27, 119, 119, 119, 113, 1 DB 0, 0, 0, 0, 16, 102, 27, 107, 102, 182, 113, 1 DB 0, 0, 0, 0, 0, 97, 23, 119, 103, 118, 17, 0 DB 0, 0, 0, 0, 0, 113, 27, 187, 118, 183, 1, 0 DB 0, 0, 0, 0, 0, 97, 27, 187, 107, 182, 1, 0 DB 0, 0, 0, 0, 0, 16, 183, 17, 187, 27, 0, 0 DB 0, 0, 0, 0, 0, 16, 102, 102, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 0, 17, 187, 27, 177, 6, 0 DB 0, 0, 0, 0, 0, 0, 16, 17, 177, 6, 96, 0 DB 0, 0, 0, 0, 0, 0, 16, 187, 27, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 177, 102, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 23, 119, 23, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 17, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 23, 102, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 17, 23, 119, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 113, 182, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 97, 27, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 17, 113, 27, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 119, 97, 103, 27, 0, 0 DB 0, 0, 0, 0, 0, 113, 23, 107, 103, 182, 1, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 177, 102, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 27, 29, 189, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 103, 102, 123, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 102, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 119, 23, 113, 1, 0, 0, 0 DB 0, 0, 0, 16, 113, 103, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 97, 123, 119, 103, 123, 23, 0, 0, 0 DB 0, 0, 16, 182, 103, 119, 119, 119, 119, 1, 0, 0 DB 0, 0, 16, 119, 113, 102, 102, 27, 23, 1, 0, 0 DB 0, 0, 16, 182, 113, 119, 119, 23, 113, 1, 0, 0 DB 0, 0, 97, 182, 177, 107, 102, 27, 119, 1, 0, 0 DB 0, 0, 97, 27, 113, 119, 119, 23, 17, 1, 0, 0 DB 0, 0, 113, 23, 177, 107, 102, 27, 119, 1, 0, 0 DB 0, 0, 97, 27, 113, 119, 102, 23, 113, 1, 0, 0 DB 0, 0, 97, 27, 177, 107, 119, 27, 23, 1, 0, 0 DB 0, 0, 113, 23, 177, 107, 102, 27, 23, 0, 0, 0 DB 0, 0, 97, 27, 113, 119, 182, 113, 1, 0, 0, 0 DB 0, 0, 97, 182, 177, 107, 119, 17, 0, 0, 0, 0 DB 0, 0, 16, 187, 17, 17, 182, 1, 0, 0, 0, 0 DB 0, 0, 0, 17, 107, 22, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 17, 17, 187, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 17, 177, 123, 22, 0, 0, 0, 0 DB 0, 0, 0, 16, 119, 17, 183, 102, 1, 0, 0, 0 DB 0, 0, 0, 113, 113, 1, 113, 123, 1, 0, 0, 0 DB 0, 0, 0, 113, 23, 0, 16, 103, 1, 0, 0, 0 DB 0, 0, 16, 113, 1, 0, 16, 107, 22, 0, 0, 0 DB 0, 0, 113, 23, 0, 0, 0, 177, 22, 0, 0, 0 DB 0, 0, 17, 1, 0, 0, 0, 16, 22, 1, 0, 0 DB 0, 16, 23, 23, 0, 0, 0, 177, 103, 22, 0, 0 DB 0, 113, 23, 119, 1, 0, 16, 107, 183, 187, 1, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 16, 17, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 177, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 27, 29, 189, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 103, 102, 123, 1, 0 DB 0, 0, 0, 0, 0, 0, 177, 102, 118, 183, 1, 0 DB 0, 0, 0, 0, 0, 16, 177, 119, 119, 119, 1, 0 DB 0, 0, 0, 0, 0, 97, 118, 103, 118, 183, 1, 0 DB 0, 0, 0, 0, 16, 182, 119, 119, 103, 27, 1, 0 DB 0, 0, 0, 0, 16, 119, 177, 119, 119, 23, 23, 0 DB 0, 0, 0, 0, 97, 182, 113, 107, 182, 27, 23, 0 DB 0, 0, 0, 0, 97, 27, 119, 119, 119, 23, 17, 0 DB 0, 0, 0, 0, 113, 23, 183, 102, 182, 27, 23, 0 DB 0, 0, 0, 16, 102, 27, 119, 119, 119, 113, 23, 0 DB 0, 0, 0, 16, 182, 17, 187, 102, 182, 113, 113, 1 DB 0, 0, 0, 16, 23, 16, 119, 103, 118, 17, 119, 1 DB 0, 0, 0, 97, 27, 16, 187, 118, 183, 17, 23, 1 DB 0, 0, 0, 97, 27, 16, 187, 102, 182, 17, 113, 1 DB 0, 0, 0, 97, 1, 16, 119, 103, 118, 17, 119, 1 DB 0, 0, 0, 16, 11, 16, 183, 118, 177, 113, 23, 0 DB 0, 0, 0, 0, 176, 107, 17, 107, 23, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 17, 113, 118, 17, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 97, 182, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 17, 113, 183, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 97, 27, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 113, 113, 27, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 23, 97, 23, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 119, 97, 27, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 17, 113, 27, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 119, 97, 103, 27, 0, 0 DB 0, 0, 0, 0, 0, 113, 23, 107, 103, 182, 1, 0 cae: DB 0, 0, 97, 27, 0, 0, 16, 119, 23, 0, 0, 0 DB 0, 16, 182, 1, 0, 0, 113, 119, 1, 0, 0, 0 DB 0, 97, 27, 0, 0, 0, 17, 23, 0, 0, 0, 0 DB 0, 113, 23, 0, 0, 0, 113, 17, 0, 0, 0, 0 DB 0, 97, 27, 0, 17, 17, 113, 23, 0, 0, 0, 0 DB 0, 97, 23, 16, 107, 182, 113, 23, 0, 0, 0, 0 DB 0, 113, 27, 177, 209, 209, 27, 17, 0, 0, 0, 0 DB 0, 97, 27, 113, 102, 182, 23, 23, 0, 0, 0, 0 DB 0, 113, 23, 107, 102, 17, 27, 23, 0, 0, 0, 0 DB 0, 97, 27, 123, 119, 17, 23, 17, 0, 0, 0, 0 DB 0, 97, 27, 113, 107, 17, 27, 23, 0, 0, 0, 0 DB 0, 16, 103, 27, 113, 182, 23, 1, 0, 0, 0, 0 DB 0, 16, 102, 183, 123, 119, 27, 0, 0, 0, 0, 0 DB 0, 0, 113, 119, 119, 119, 23, 0, 0, 0, 0, 0 DB 0, 0, 16, 187, 102, 102, 27, 0, 0, 0, 0, 0 DB 0, 0, 0, 113, 103, 102, 23, 0, 0, 0, 0, 0 DB 0, 0, 0, 177, 118, 119, 27, 0, 0, 0, 0, 0 DB 0, 0, 0, 177, 107, 102, 27, 17, 1, 0, 0, 0 DB 0, 0, 0, 16, 119, 102, 183, 113, 23, 0, 0, 0 DB 0, 0, 0, 113, 187, 119, 182, 113, 113, 1, 0, 0 DB 0, 0, 16, 187, 183, 102, 27, 17, 119, 1, 0, 0 DB 0, 0, 16, 107, 27, 183, 27, 113, 119, 1, 0, 0 DB 0, 0, 0, 177, 119, 17, 17, 23, 23, 0, 0, 0 DB 0, 0, 0, 16, 102, 1, 113, 119, 1, 0, 0, 0 DB 0, 0, 0, 16, 123, 1, 16, 23, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 22, 0, 113, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 22, 0, 16, 23, 0, 0, 0 DB 0, 0, 0, 0, 113, 23, 16, 1, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 118, 97, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 177, 118, 182, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 177, 118, 27, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 123, 1, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 6, 0, 0, 0, 0, 0, 1, 0, 0 DB 0, 16, 97, 0, 0, 0, 0, 0, 16, 23, 0, 0 DB 0, 97, 22, 0, 0, 0, 0, 0, 113, 119, 1, 0 DB 16, 182, 1, 0, 0, 0, 0, 0, 16, 23, 1, 0 DB 16, 22, 0, 0, 0, 0, 0, 0, 16, 113, 1, 0 DB 97, 183, 1, 0, 0, 16, 17, 1, 16, 119, 1, 0 DB 97, 182, 1, 0, 0, 177, 102, 27, 16, 23, 1, 0 DB 113, 22, 0, 0, 16, 27, 29, 189, 1, 113, 23, 0 DB 97, 183, 17, 0, 16, 103, 102, 123, 1, 113, 23, 0 DB 97, 118, 102, 17, 177, 102, 118, 183, 17, 23, 23, 0 DB 16, 123, 123, 102, 177, 119, 119, 119, 17, 119, 1, 0 DB 0, 17, 17, 123, 22, 103, 118, 183, 113, 17, 0, 0 DB 0, 0, 0, 17, 107, 119, 103, 27, 113, 1, 0, 0 DB 0, 0, 0, 16, 119, 119, 119, 119, 17, 0, 0, 0 DB 0, 0, 0, 16, 107, 102, 182, 187, 1, 0, 0, 0 DB 0, 0, 0, 16, 119, 119, 119, 119, 1, 0, 0, 0 DB 0, 0, 0, 16, 107, 102, 102, 187, 1, 0, 0, 0 DB 0, 0, 0, 0, 113, 119, 102, 123, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 102, 119, 183, 1, 0, 0, 0 DB 0, 0, 0, 16, 119, 102, 182, 27, 0, 0, 0, 0 DB 0, 0, 0, 177, 182, 119, 182, 27, 0, 0, 0, 0 DB 0, 0, 0, 177, 119, 102, 119, 23, 17, 1, 0, 0 DB 0, 0, 0, 16, 102, 17, 187, 27, 119, 17, 0, 0 DB 0, 0, 0, 16, 123, 182, 177, 27, 23, 23, 0, 0 DB 0, 0, 0, 0, 17, 118, 27, 17, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 97, 27, 113, 113, 1, 0, 0 DB 0, 0, 0, 0, 16, 123, 23, 119, 23, 0, 0, 0 DB 0, 0, 0, 0, 177, 182, 17, 17, 17, 0, 0, 0 DB 0, 0, 0, 16, 123, 17, 0, 113, 23, 0, 0, 0 DB 0, 0, 0, 177, 103, 27, 0, 16, 23, 0, 0, 0 DB 0, 0, 16, 107, 103, 182, 1, 0, 17, 0, 0, 0 agacha: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 1, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 177, 102, 27, 0 DB 0, 0, 0, 0, 0, 0, 16, 17, 27, 29, 189, 1 DB 0, 0, 0, 0, 0, 16, 97, 119, 103, 102, 123, 1 DB 0, 0, 0, 0, 16, 97, 183, 183, 107, 22, 177, 1 DB 0, 0, 0, 16, 97, 103, 119, 177, 119, 23, 113, 1 DB 0, 0, 0, 97, 103, 183, 103, 27, 183, 22, 177, 1 DB 0, 0, 16, 103, 183, 119, 102, 23, 17, 97, 27, 0 DB 0, 0, 97, 183, 123, 27, 119, 187, 1, 16, 17, 0 DB 0, 0, 97, 118, 17, 17, 102, 187, 1, 16, 113, 1 DB 0, 0, 16, 102, 103, 27, 102, 23, 1, 16, 119, 1 DB 0, 0, 0, 17, 97, 27, 113, 27, 23, 16, 113, 1 DB 0, 0, 0, 0, 16, 119, 97, 23, 119, 17, 23, 0 DB 0, 0, 0, 0, 16, 182, 113, 27, 17, 23, 23, 0 DB 0, 0, 0, 0, 16, 183, 97, 27, 119, 17, 23, 0 DB 0, 0, 0, 0, 97, 27, 16, 23, 17, 16, 113, 1 DB 0, 0, 0, 16, 118, 17, 17, 182, 1, 16, 119, 1 DB 0, 0, 0, 97, 103, 27, 119, 113, 27, 17, 119, 1 DB 0, 0, 16, 187, 103, 182, 113, 97, 27, 23, 23, 23 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 17, 177, 102, 27, 0 DB 0, 0, 0, 0, 0, 16, 97, 23, 27, 29, 189, 1 DB 0, 0, 0, 0, 16, 97, 103, 23, 103, 102, 123, 1 DB 0, 0, 0, 16, 97, 103, 103, 183, 107, 22, 177, 1 DB 0, 0, 0, 97, 103, 103, 119, 177, 119, 23, 113, 1 DB 0, 0, 16, 102, 103, 183, 103, 22, 177, 22, 177, 1 DB 0, 0, 16, 123, 183, 23, 102, 119, 17, 97, 27, 0 DB 0, 0, 0, 113, 23, 27, 119, 182, 1, 16, 17, 0 DB 0, 0, 0, 177, 118, 17, 102, 182, 1, 16, 23, 0 DB 0, 0, 0, 16, 103, 27, 102, 23, 23, 16, 113, 1 DB 0, 0, 0, 0, 97, 23, 119, 27, 119, 17, 119, 1 DB 0, 0, 0, 0, 16, 182, 97, 23, 17, 23, 113, 1 DB 0, 0, 0, 0, 16, 183, 113, 27, 119, 17, 23, 0 DB 0, 0, 0, 0, 97, 27, 97, 27, 23, 16, 23, 0 DB 0, 0, 0, 16, 123, 113, 113, 23, 17, 17, 17, 0 DB 0, 0, 0, 177, 103, 27, 97, 27, 27, 23, 119, 1 DB 0, 0, 16, 107, 103, 182, 17, 97, 27, 119, 113, 1 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 17, 1, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 177, 102, 27, 0, 0, 0, 0 DB 0, 0, 0, 0, 16, 27, 29, 189, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 103, 102, 123, 1, 0, 0, 0 DB 0, 0, 0, 0, 177, 107, 22, 177, 1, 0, 0, 0 DB 0, 0, 0, 16, 177, 119, 23, 113, 1, 0, 0, 0 DB 0, 0, 0, 177, 27, 183, 22, 177, 1, 0, 0, 0 DB 0, 0, 16, 107, 119, 113, 103, 27, 1, 0, 0, 0 DB 0, 0, 16, 119, 182, 113, 119, 23, 23, 0, 0, 0 DB 0, 0, 16, 102, 182, 177, 102, 27, 23, 0, 0, 0 DB 0, 0, 16, 107, 23, 119, 119, 113, 17, 0, 0, 0 DB 0, 0, 0, 113, 27, 107, 182, 113, 23, 0, 0, 0 DB 0, 0, 0, 97, 23, 119, 119, 17, 17, 0, 0, 0 DB 0, 0, 0, 113, 27, 107, 182, 113, 23, 0, 0, 0 DB 0, 0, 0, 97, 27, 103, 118, 113, 23, 0, 0, 0 DB 0, 0, 0, 113, 23, 123, 183, 113, 113, 1, 0, 0 DB 0, 0, 16, 182, 113, 119, 182, 17, 113, 17, 0, 0 DB 0, 0, 16, 182, 177, 118, 118, 17, 17, 23, 0, 0 DB 0, 0, 0, 177, 177, 119, 17, 113, 23, 23, 0, 0 DB 0, 0, 0, 16, 17, 107, 17, 119, 1, 1, 0, 0 DB 0, 0, 0, 0, 16, 103, 17, 17, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 23, 17, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 27, 16, 119, 1, 0, 0, 0 DB 0, 0, 0, 16, 22, 1, 16, 17, 1, 0, 0, 0 DB 0, 0, 0, 177, 103, 27, 113, 23, 23, 0, 0, 0 DB 0, 0, 16, 107, 103, 182, 113, 113, 119, 1, 0, 0 saca_espada: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 96, 107, 0, 16, 17, 17, 0, 0, 0, 0 DB 0, 0, 6, 0, 0, 177, 102, 182, 1, 0, 187, 11 DB 0, 0, 11, 0, 16, 27, 51, 49, 1, 176, 0, 0 DB 0, 0, 6, 0, 16, 103, 102, 182, 27, 176, 0, 0 DB 0, 0, 176, 0, 16, 107, 59, 51, 179, 177, 0, 0 DB 0, 0, 0, 11, 16, 119, 51, 51, 27, 0, 11, 0 DB 0, 0, 176, 6, 177, 182, 51, 179, 1, 0, 11, 0 DB 0, 0, 27, 17, 113, 107, 59, 51, 27, 0, 11, 0 DB 16, 177, 97, 103, 102, 119, 102, 187, 1, 187, 0, 0 DB 97, 119, 187, 123, 123, 119, 119, 23, 113, 17, 17, 1 DB 97, 182, 17, 17, 183, 187, 187, 27, 119, 113, 23, 23 DB 16, 118, 182, 17, 119, 119, 119, 23, 17, 119, 113, 119 DB 0, 17, 102, 27, 187, 102, 182, 27, 16, 17, 113, 23 DB 96, 0, 97, 27, 119, 103, 182, 23, 0, 0, 113, 1 DB 0, 6, 97, 27, 107, 118, 119, 27, 0, 0, 11, 0 DB 0, 6, 176, 113, 107, 102, 182, 27, 0, 176, 0, 11 DB 176, 0, 176, 113, 119, 102, 182, 1, 0, 176, 0, 176 DB 96, 0, 11, 97, 103, 119, 119, 1, 0, 0, 11, 176 DB 0, 182, 0, 97, 123, 102, 182, 1, 0, 0, 176, 11 DB 0, 0, 0, 113, 119, 107, 187, 17, 0, 0, 0, 0 DB 0, 0, 0, 97, 182, 183, 123, 17, 0, 0, 0, 0 DB 0, 0, 0, 16, 118, 119, 27, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 27, 17, 119, 23, 0, 0, 0 DB 0, 0, 0, 0, 97, 27, 0, 113, 113, 1, 0, 0 DB 0, 0, 0, 16, 118, 23, 0, 16, 119, 23, 0, 0 DB 0, 0, 0, 97, 182, 1, 0, 0, 113, 1, 0, 0 DB 0, 0, 0, 113, 23, 0, 0, 16, 23, 0, 0, 0 DB 0, 0, 16, 182, 1, 0, 0, 113, 1, 0, 0, 0 DB 0, 0, 16, 123, 1, 0, 16, 23, 0, 0, 0, 0 DB 0, 0, 177, 103, 27, 0, 113, 17, 17, 1, 0, 0 DB 0, 16, 107, 103, 182, 17, 119, 23, 119, 23, 0, 0 idle_espada: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 176, 102, 0, 0, 0, 0, 0, 0, 0, 176, 11 DB 0, 6, 0, 11, 0, 0, 16, 17, 1, 0, 11, 0 DB 176, 0, 0, 96, 0, 16, 177, 102, 27, 176, 0, 0 DB 96, 0, 6, 96, 0, 177, 27, 19, 19, 176, 0, 0 DB 0, 182, 0, 176, 0, 113, 103, 102, 187, 1, 11, 0 DB 0, 0, 0, 6, 0, 177, 102, 51, 115, 1, 176, 0 DB 0, 0, 176, 0, 0, 16, 119, 51, 179, 1, 0, 11 DB 0, 0, 6, 0, 0, 16, 107, 51, 179, 1, 0, 11 DB 0, 0, 6, 0, 17, 17, 119, 102, 27, 0, 176, 0 DB 0, 0, 176, 17, 102, 118, 119, 119, 17, 183, 11, 0 DB 0, 0, 17, 102, 183, 103, 182, 187, 17, 17, 0, 0 DB 0, 16, 102, 183, 119, 119, 119, 119, 113, 113, 1, 0 DB 0, 177, 183, 17, 177, 102, 102, 182, 17, 23, 23, 0 DB 16, 102, 23, 1, 113, 103, 102, 27, 113, 23, 119, 1 DB 0, 97, 97, 27, 177, 118, 119, 23, 17, 113, 23, 0 DB 0, 16, 177, 27, 177, 102, 102, 27, 0, 16, 1, 0 DB 176, 0, 97, 1, 113, 103, 102, 23, 0, 0, 11, 0 DB 11, 6, 96, 0, 177, 118, 119, 187, 1, 0, 11, 176 DB 6, 0, 6, 16, 27, 107, 102, 27, 1, 0, 11, 176 DB 96, 0, 11, 177, 182, 97, 102, 27, 23, 0, 176, 11 DB 0, 107, 0, 113, 27, 177, 182, 17, 119, 1, 0, 0 DB 0, 0, 16, 107, 1, 16, 27, 16, 23, 23, 0, 0 DB 0, 0, 16, 183, 1, 0, 1, 0, 113, 119, 1, 0 DB 0, 0, 177, 22, 0, 0, 0, 0, 16, 23, 23, 0 DB 0, 16, 107, 27, 0, 0, 0, 0, 0, 113, 1, 0 DB 0, 0, 97, 183, 1, 0, 0, 0, 16, 23, 0, 0 DB 0, 0, 16, 107, 27, 0, 0, 0, 113, 1, 0, 0 DB 0, 0, 0, 113, 183, 1, 0, 16, 23, 17, 0, 0 DB 0, 0, 17, 107, 183, 1, 0, 113, 23, 119, 1, 0 DB 0, 16, 107, 102, 103, 27, 16, 119, 113, 119, 23, 0 camina_espada: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0 DB 0, 0, 0, 102, 0, 0, 0, 0, 0, 0, 11, 0 DB 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 176, 0 DB 0, 0, 0, 0, 176, 0, 0, 16, 17, 1, 0, 11 DB 0, 0, 102, 11, 96, 0, 16, 177, 102, 27, 0, 176 DB 0, 176, 0, 176, 6, 0, 177, 27, 19, 19, 0, 176 DB 0, 11, 0, 0, 0, 0, 113, 103, 102, 187, 1, 11 DB 0, 6, 0, 0, 0, 0, 177, 102, 51, 115, 177, 0 DB 0, 6, 0, 0, 0, 17, 113, 119, 51, 179, 177, 0 DB 0, 176, 0, 102, 17, 102, 118, 107, 51, 179, 1, 11 DB 0, 0, 107, 16, 102, 183, 123, 119, 102, 27, 177, 0 DB 0, 0, 0, 97, 183, 123, 119, 119, 119, 17, 23, 0 DB 0, 0, 16, 182, 17, 113, 103, 182, 187, 113, 23, 0 DB 0, 0, 97, 23, 1, 113, 119, 119, 119, 113, 113, 1 DB 0, 0, 97, 27, 1, 177, 102, 102, 182, 17, 119, 23 DB 0, 0, 97, 183, 1, 113, 103, 102, 123, 17, 23, 17 DB 0, 0, 16, 182, 1, 177, 118, 119, 23, 16, 113, 23 DB 0, 0, 0, 97, 27, 177, 102, 102, 27, 16, 113, 23 DB 0, 107, 0, 97, 27, 113, 103, 102, 23, 0, 113, 1 DB 176, 0, 6, 176, 17, 107, 118, 119, 187, 1, 176, 0 DB 96, 0, 6, 96, 16, 119, 102, 102, 123, 23, 176, 0 DB 6, 0, 11, 6, 16, 182, 183, 102, 27, 119, 1, 187 DB 0, 0, 176, 0, 16, 182, 177, 182, 17, 23, 1, 0 DB 0, 0, 0, 0, 16, 183, 17, 27, 16, 113, 1, 0 DB 0, 0, 0, 0, 16, 118, 1, 1, 16, 119, 1, 0 DB 0, 0, 0, 0, 16, 102, 27, 0, 16, 113, 1, 0 DB 0, 0, 0, 0, 0, 97, 27, 0, 113, 23, 1, 0 DB 0, 0, 0, 0, 0, 16, 183, 1, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 16, 102, 27, 23, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 97, 23, 119, 17, 0, 0 DB 0, 0, 0, 0, 0, 97, 118, 27, 119, 113, 1, 0 DB 0, 0, 0, 0, 16, 102, 118, 182, 17, 119, 23, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 187, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 11 DB 0, 0, 0, 0, 0, 0, 0, 0, 16, 17, 1, 176 DB 0, 96, 6, 0, 0, 0, 0, 16, 177, 102, 27, 176 DB 0, 11, 0, 0, 0, 0, 0, 177, 27, 19, 19, 176 DB 96, 0, 0, 176, 102, 0, 0, 113, 103, 102, 187, 177 DB 96, 0, 0, 11, 0, 11, 0, 177, 102, 51, 115, 177 DB 176, 0, 96, 0, 0, 176, 16, 113, 119, 51, 179, 177 DB 0, 11, 96, 0, 0, 96, 97, 22, 107, 51, 179, 177 DB 0, 96, 11, 0, 0, 16, 102, 123, 17, 102, 27, 23 DB 0, 0, 0, 0, 16, 97, 183, 177, 119, 119, 113, 23 DB 0, 0, 0, 0, 97, 183, 27, 119, 182, 187, 113, 17 DB 0, 0, 0, 0, 97, 123, 17, 107, 119, 119, 17, 23 DB 0, 0, 0, 0, 97, 27, 16, 119, 102, 182, 113, 23 DB 0, 0, 0, 16, 118, 23, 16, 107, 103, 118, 17, 23 DB 0, 0, 0, 16, 102, 27, 16, 107, 118, 183, 113, 1 DB 0, 0, 0, 16, 103, 27, 16, 119, 102, 182, 113, 1 DB 0, 0, 0, 96, 182, 1, 177, 102, 103, 118, 177, 0 DB 0, 96, 0, 27, 177, 1, 113, 103, 118, 183, 1, 11 DB 0, 96, 0, 6, 16, 0, 97, 183, 102, 182, 1, 11 DB 0, 0, 107, 0, 0, 0, 97, 27, 107, 27, 1, 11 DB 0, 0, 0, 0, 0, 0, 97, 27, 183, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 113, 27, 23, 119, 1, 0 DB 0, 0, 0, 0, 0, 0, 97, 119, 113, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 97, 182, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 182, 17, 17, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 118, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 113, 27, 23, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 97, 182, 17, 0, 0 DB 0, 0, 0, 0, 0, 0, 97, 118, 27, 113, 1, 0 DB 0, 0, 0, 0, 0, 16, 102, 123, 17, 119, 23, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 96, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 6, 0, 0, 0, 0, 0, 0, 176, 0, 0, 0, 0 DB 6, 0, 107, 0, 0, 16, 17, 1, 11, 0, 0, 0 DB 11, 96, 0, 6, 16, 177, 102, 27, 176, 0, 0, 0 DB 176, 6, 0, 176, 177, 27, 19, 19, 176, 0, 0, 0 DB 0, 0, 0, 96, 113, 103, 102, 187, 177, 0, 0, 0 DB 0, 0, 0, 96, 177, 102, 51, 115, 1, 11, 0, 0 DB 0, 0, 0, 27, 17, 119, 51, 179, 1, 11, 0, 0 DB 0, 0, 96, 97, 22, 107, 51, 179, 1, 11, 0, 0 DB 0, 0, 17, 102, 123, 113, 102, 27, 176, 0, 0, 0 DB 0, 16, 102, 183, 113, 119, 119, 17, 11, 0, 0, 0 DB 0, 97, 187, 17, 183, 182, 187, 113, 1, 0, 0, 0 DB 16, 118, 23, 113, 119, 119, 119, 113, 1, 0, 0, 0 DB 97, 27, 1, 177, 107, 102, 182, 17, 23, 0, 0, 0 DB 97, 183, 27, 113, 119, 102, 118, 113, 23, 0, 0, 0 DB 16, 103, 27, 177, 102, 119, 119, 113, 17, 0, 0, 0 DB 0, 97, 1, 177, 102, 102, 182, 17, 119, 1, 0, 0 DB 0, 96, 0, 113, 119, 102, 118, 17, 23, 23, 0, 0 DB 0, 11, 16, 107, 102, 119, 183, 1, 17, 27, 0, 0 DB 0, 176, 113, 119, 107, 102, 182, 1, 0, 11, 0, 0 DB 6, 96, 97, 27, 177, 102, 27, 23, 183, 0, 0, 0 DB 6, 11, 97, 27, 16, 187, 113, 119, 1, 0, 0, 0 DB 176, 0, 113, 27, 0, 177, 17, 23, 1, 0, 0, 0 DB 0, 0, 97, 23, 0, 16, 16, 113, 1, 0, 0, 0 DB 0, 0, 97, 27, 0, 0, 16, 119, 1, 0, 0, 0 DB 0, 0, 97, 27, 0, 0, 0, 113, 1, 0, 0, 0 DB 0, 0, 97, 183, 1, 0, 0, 17, 23, 0, 0, 0 DB 0, 0, 16, 102, 27, 0, 0, 113, 23, 0, 0, 0 DB 0, 0, 16, 103, 23, 0, 0, 17, 17, 17, 0, 0 DB 0, 0, 177, 118, 27, 0, 0, 113, 23, 119, 1, 0 DB 0, 16, 107, 118, 182, 1, 16, 119, 113, 119, 23, 0 espada_golpealto: DB 0, 0, 0, 0, 107, 102, 107, 187, 27, 119, 1, 0 DB 0, 0, 0, 182, 0, 176, 0, 97, 182, 17, 23, 0 DB 0, 0, 176, 0, 0, 0, 11, 16, 102, 27, 23, 0 DB 0, 0, 6, 0, 0, 0, 11, 0, 97, 27, 17, 0 DB 0, 176, 0, 0, 0, 176, 0, 17, 97, 23, 23, 0 DB 0, 11, 0, 0, 0, 11, 16, 107, 23, 118, 113, 1 DB 0, 6, 0, 0, 176, 0, 113, 119, 23, 182, 17, 1 DB 176, 0, 0, 0, 176, 16, 107, 102, 22, 182, 113, 1 DB 96, 0, 0, 0, 0, 27, 17, 17, 17, 118, 17, 0 DB 96, 0, 0, 0, 0, 177, 102, 103, 102, 183, 23, 0 DB 96, 0, 0, 0, 16, 103, 118, 102, 118, 187, 27, 0 DB 176, 17, 0, 0, 177, 118, 183, 187, 187, 17, 1, 0 DB 16, 107, 1, 0, 113, 183, 27, 17, 17, 0, 0, 0 DB 177, 123, 22, 0, 16, 22, 113, 119, 1, 0, 0, 0 DB 97, 103, 27, 0, 16, 103, 182, 187, 1, 0, 0, 0 DB 16, 182, 1, 0, 16, 118, 119, 187, 1, 0, 0, 0 DB 0, 17, 0, 0, 16, 102, 102, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 103, 102, 187, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 119, 119, 187, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 102, 118, 119, 17, 17, 0, 0 DB 0, 0, 0, 0, 177, 23, 107, 187, 113, 119, 1, 0 DB 0, 0, 0, 0, 97, 118, 177, 187, 113, 23, 23, 0 DB 0, 0, 0, 0, 97, 118, 177, 27, 113, 113, 23, 0 DB 0, 0, 0, 0, 97, 118, 177, 1, 16, 113, 23, 0 DB 0, 0, 0, 0, 16, 118, 17, 0, 0, 17, 1, 0 DB 0, 0, 0, 0, 97, 119, 1, 0, 16, 119, 1, 0 DB 0, 0, 0, 16, 107, 27, 0, 0, 16, 119, 1, 17 DB 0, 0, 0, 16, 183, 1, 0, 0, 16, 17, 16, 23 DB 0, 0, 0, 97, 27, 0, 0, 0, 113, 23, 113, 1 DB 0, 0, 0, 97, 23, 0, 0, 0, 113, 113, 23, 0 DB 0, 0, 16, 123, 182, 17, 0, 0, 113, 17, 1, 0 DB 0, 0, 177, 118, 102, 182, 1, 0, 17, 0, 0, 0 DB 0, 112, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 119, 0, 0, 0, 0, 0, 16, 17, 17, 0, 0 DB 0, 7, 0, 0, 0, 0, 0, 177, 102, 182, 1, 0 DB 112, 7, 0, 0, 0, 0, 0, 17, 17, 49, 1, 0 DB 112, 7, 0, 0, 0, 0, 16, 107, 102, 182, 27, 0 DB 112, 0, 0, 0, 0, 0, 16, 119, 119, 119, 1, 0 DB 112, 0, 0, 0, 0, 0, 0, 177, 102, 54, 3, 0 DB 112, 0, 0, 0, 0, 0, 16, 17, 177, 51, 3, 0 DB 7, 0, 0, 0, 0, 0, 177, 103, 23, 59, 3, 0 DB 7, 0, 0, 0, 0, 16, 107, 103, 118, 177, 27, 0 DB 7, 0, 0, 0, 0, 16, 107, 119, 103, 22, 1, 0 DB 7, 0, 0, 0, 0, 16, 119, 22, 177, 102, 1, 0 DB 7, 0, 0, 0, 0, 16, 107, 119, 23, 107, 22, 0 DB 7, 0, 0, 0, 0, 16, 119, 102, 187, 177, 102, 1 DB 7, 0, 0, 0, 0, 16, 107, 119, 187, 17, 123, 22 DB 7, 0, 0, 0, 0, 16, 107, 102, 183, 1, 177, 102 DB 7, 0, 0, 0, 0, 16, 103, 182, 123, 1, 16, 123 DB 7, 0, 0, 0, 0, 177, 118, 17, 17, 17, 1, 17 DB 7, 0, 0, 0, 0, 177, 102, 103, 102, 118, 27, 0 DB 7, 0, 0, 0, 0, 16, 123, 102, 102, 103, 182, 1 DB 112, 0, 0, 0, 0, 0, 113, 183, 23, 113, 27, 0 DB 0, 0, 0, 0, 0, 0, 16, 17, 113, 182, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 119, 97, 182, 1, 0 DB 0, 0, 0, 0, 0, 0, 16, 113, 97, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 23, 119, 1, 0, 0 DB 0, 0, 0, 0, 0, 0, 113, 23, 182, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 23, 177, 118, 27, 0, 0 DB 0, 0, 0, 0, 0, 16, 119, 17, 17, 182, 1, 0 DB 0, 0, 0, 0, 0, 16, 23, 0, 0, 97, 27, 0 DB 0, 0, 0, 0, 0, 113, 17, 0, 0, 16, 1, 0 DB 0, 0, 0, 0, 16, 119, 23, 17, 0, 0, 0, 0 DB 0, 0, 0, 0, 113, 119, 113, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 119, 119, 119, 119, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 119, 119, 7, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 112, 187, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 187, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 6, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 6 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 6 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 6 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 102 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 102 DB 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96, 102 DB 182, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 102 DB 96, 11, 0, 0, 0, 0, 0, 0, 0, 0, 17, 96 DB 0, 6, 0, 0, 0, 0, 0, 0, 0, 16, 107, 1 DB 0, 176, 0, 0, 0, 0, 0, 0, 0, 113, 103, 27 DB 0, 0, 11, 0, 0, 0, 0, 0, 0, 177, 118, 23 DB 0, 0, 96, 6, 0, 0, 0, 0, 0, 16, 182, 1 DB 0, 0, 0, 176, 6, 0, 0, 0, 0, 176, 17, 0 DB 0, 0, 0, 0, 96, 182, 0, 0, 176, 6, 0, 0 DB 0, 0, 0, 0, 0, 0, 107, 102, 11, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 96, 107, 11, 0, 0 DB 0, 0, 0, 17, 17, 0, 0, 6, 0, 176, 0, 0 DB 0, 0, 17, 107, 182, 1, 176, 0, 0, 0, 11, 0 DB 0, 16, 187, 49, 49, 1, 6, 0, 0, 0, 176, 0 DB 0, 16, 119, 102, 182, 27, 6, 0, 0, 0, 176, 0 DB 0, 16, 107, 54, 51, 23, 11, 0, 0, 0, 176, 0 DB 176, 0, 113, 55, 51, 27, 176, 0, 0, 0, 11, 0 DB 6, 11, 177, 54, 51, 27, 0, 6, 0, 176, 0, 0 DB 0, 6, 16, 103, 182, 1, 0, 96, 0, 11, 0, 0 DB 0, 96, 17, 113, 119, 1, 0, 176, 0, 11, 0, 0 DB 0, 16, 102, 103, 102, 27, 0, 11, 0, 11, 0, 0 DB 0, 97, 183, 113, 119, 119, 102, 0, 0, 176, 0, 0 DB 16, 102, 27, 103, 102, 183, 119, 1, 0, 0, 11, 0 DB 97, 17, 17, 17, 113, 22, 97, 27, 0, 17, 176, 0 DB 102, 118, 102, 103, 22, 97, 22, 27, 16, 107, 177, 0 DB 177, 183, 187, 183, 107, 102, 187, 113, 177, 118, 27, 0 DB 16, 17, 17, 17, 177, 187, 17, 119, 97, 103, 27, 0 DB 0, 0, 0, 0, 17, 17, 119, 187, 17, 182, 1, 0 DB 0, 0, 0, 16, 118, 107, 102, 27, 1, 17, 0, 0 DB 0, 0, 0, 97, 182, 97, 102, 27, 23, 0, 0, 0 DB 0, 0, 0, 113, 27, 97, 182, 113, 119, 1, 0, 0 DB 0, 0, 16, 102, 1, 16, 27, 16, 23, 23, 0, 0 DB 0, 0, 16, 183, 1, 0, 1, 0, 113, 119, 1, 0 DB 0, 0, 97, 22, 0, 0, 0, 0, 16, 23, 23, 0 DB 0, 16, 102, 27, 0, 0, 0, 0, 0, 113, 1, 0 DB 0, 0, 97, 183, 1, 0, 0, 0, 16, 23, 0, 0 DB 0, 0, 16, 102, 27, 0, 0, 0, 113, 1, 0, 0 DB 0, 0, 0, 113, 183, 1, 0, 16, 119, 17, 0, 0 DB 0, 0, 17, 107, 183, 1, 0, 113, 23, 119, 1, 0 DB 0, 16, 107, 102, 103, 27, 16, 119, 113, 119, 23, 0 espada_golpeadelante: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 17, 17, 1, 0, 0, 0, 0, 0, 0 DB 0, 0, 17, 182, 183, 27, 0, 0, 0, 0, 0, 0 DB 0, 16, 102, 51, 59, 179, 1, 0, 187, 0, 0, 0 DB 0, 97, 51, 182, 51, 51, 1, 176, 0, 11, 0, 0 DB 0, 177, 97, 54, 51, 51, 0, 176, 0, 11, 0, 0 DB 176, 16, 107, 183, 51, 51, 1, 11, 0, 176, 0, 0 DB 11, 6, 113, 103, 51, 51, 27, 11, 0, 176, 0, 0 DB 6, 11, 177, 118, 59, 179, 27, 11, 0, 0, 11, 176 DB 6, 176, 22, 97, 182, 187, 113, 17, 0, 0, 176, 11 DB 6, 0, 96, 22, 17, 17, 183, 187, 1, 0, 0, 0 DB 11, 0, 16, 118, 119, 187, 123, 119, 23, 1, 0, 0 DB 176, 0, 16, 103, 177, 119, 103, 102, 182, 27, 0, 0 DB 96, 0, 16, 107, 22, 113, 102, 102, 102, 182, 1, 0 DB 0, 11, 0, 177, 118, 22, 119, 119, 119, 119, 1, 0 DB 0, 96, 6, 16, 177, 102, 17, 103, 102, 102, 27, 0 DB 0, 0, 0, 0, 16, 123, 102, 113, 102, 102, 182, 1 DB 0, 0, 0, 0, 0, 17, 107, 22, 103, 102, 182, 1 DB 0, 0, 0, 0, 16, 119, 17, 97, 118, 119, 119, 1 DB 0, 0, 0, 0, 16, 102, 118, 119, 103, 103, 27, 11 DB 0, 0, 0, 0, 113, 119, 103, 119, 103, 183, 1, 11 DB 0, 0, 0, 0, 113, 119, 119, 102, 118, 23, 0, 11 DB 0, 0, 0, 0, 97, 102, 118, 119, 17, 1, 176, 0 DB 0, 0, 0, 0, 16, 97, 118, 123, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 16, 103, 182, 17, 113, 1, 0 DB 0, 0, 0, 0, 0, 97, 103, 187, 113, 119, 1, 0 DB 0, 0, 0, 0, 16, 103, 123, 27, 16, 23, 0, 0 DB 0, 0, 0, 0, 113, 187, 17, 1, 113, 1, 0, 0 DB 0, 0, 0, 16, 183, 17, 0, 16, 23, 0, 0, 0 DB 0, 0, 0, 97, 118, 187, 1, 113, 23, 17, 1, 0 DB 0, 0, 16, 187, 123, 187, 27, 119, 113, 119, 23, 0 DB 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0 DB 96, 6, 0, 0, 0, 107, 102, 182, 176, 187, 0, 0 DB 0, 176, 0, 96, 182, 0, 0, 0, 11, 0, 11, 0 DB 0, 0, 102, 11, 0, 0, 0, 0, 96, 0, 176, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 27 DB 0, 0, 0, 0, 0, 16, 17, 17, 17, 176, 0, 113 DB 0, 0, 0, 0, 17, 97, 118, 102, 102, 97, 16, 107 DB 0, 0, 0, 16, 102, 123, 123, 183, 187, 23, 177, 102 DB 0, 0, 0, 177, 187, 17, 17, 17, 113, 102, 113, 119 DB 0, 0, 0, 27, 17, 23, 119, 113, 17, 103, 113, 102 DB 0, 0, 176, 0, 113, 119, 17, 17, 22, 119, 177, 102 DB 0, 0, 96, 0, 16, 17, 0, 97, 103, 113, 113, 119 DB 0, 0, 96, 0, 0, 0, 16, 103, 119, 182, 177, 102 DB 0, 0, 96, 0, 0, 16, 97, 118, 118, 119, 113, 103 DB 0, 0, 0, 11, 0, 97, 103, 118, 187, 187, 17, 123 DB 0, 0, 0, 6, 16, 107, 22, 123, 187, 27, 16, 103 DB 0, 0, 0, 176, 0, 177, 103, 177, 183, 1, 16, 123 DB 0, 0, 0, 0, 11, 16, 107, 22, 27, 1, 0, 177 DB 0, 0, 0, 0, 96, 6, 177, 102, 113, 23, 0, 16 DB 0, 0, 0, 0, 0, 0, 16, 123, 22, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 0, 97, 182, 113, 23, 0 DB 0, 0, 0, 0, 0, 0, 17, 118, 27, 23, 1, 0 DB 0, 0, 0, 0, 0, 17, 102, 182, 113, 23, 0, 0 DB 0, 0, 0, 0, 16, 102, 103, 27, 23, 1, 0, 0 DB 0, 0, 0, 0, 0, 97, 23, 17, 113, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 27, 16, 119, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 182, 17, 23, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 27, 0, 1, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 112, 0, 0, 119, 7, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0, 0 DB 17, 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0 DB 187, 17, 0, 119, 119, 119, 187, 187, 0, 0, 176, 0 DB 118, 183, 1, 0, 0, 183, 187, 107, 102, 6, 0, 6 DB 103, 102, 27, 1, 0, 0, 0, 0, 102, 102, 102, 6 DB 22, 51, 97, 27, 0, 0, 0, 0, 0, 96, 102, 102 DB 17, 51, 182, 1, 0, 0, 0, 0, 0, 0, 17, 102 DB 102, 119, 23, 0, 0, 0, 0, 0, 0, 16, 107, 97 DB 102, 102, 27, 0, 0, 0, 0, 0, 0, 97, 118, 22 DB 119, 119, 1, 0, 0, 0, 0, 0, 0, 177, 103, 27 DB 102, 102, 1, 187, 182, 0, 0, 176, 102, 27, 182, 97 DB 103, 102, 177, 0, 0, 107, 107, 6, 0, 0, 17, 102 DB 118, 119, 1, 0, 16, 1, 0, 0, 0, 96, 102, 102 DB 102, 103, 27, 17, 177, 27, 0, 0, 102, 102, 6, 6 DB 119, 102, 102, 103, 118, 27, 176, 107, 102, 6, 0, 6 DB 187, 123, 119, 102, 27, 113, 187, 187, 0, 0, 187, 0 DB 17, 177, 187, 27, 113, 119, 0, 0, 0, 187, 0, 0 DB 0, 16, 17, 1, 0, 0, 0, 0, 119, 0, 0, 0 DB 0, 0, 0, 0, 112, 0, 0, 119, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 187, 11, 0, 0, 0, 0, 0, 0, 0, 107, 11 DB 0, 0, 176, 0, 17, 17, 17, 0, 0, 96, 0, 96 DB 176, 11, 11, 17, 107, 182, 187, 1, 0, 0, 182, 0 DB 11, 176, 16, 107, 102, 102, 119, 1, 0, 0, 0, 11 DB 11, 0, 177, 102, 119, 119, 182, 27, 0, 0, 0, 96 DB 11, 0, 113, 119, 102, 102, 102, 187, 1, 0, 0, 96 DB 176, 16, 107, 102, 118, 119, 119, 119, 177, 6, 0, 176 DB 176, 16, 119, 119, 103, 102, 102, 119, 11, 176, 0, 6 DB 0, 11, 177, 102, 118, 119, 119, 187, 23, 0, 107, 0 DB 0, 11, 177, 119, 103, 102, 102, 183, 183, 1, 0, 0 DB 0, 176, 16, 103, 182, 123, 119, 17, 102, 27, 0, 0 DB 0, 0, 27, 187, 123, 183, 182, 187, 97, 182, 1, 0 DB 0, 0, 113, 113, 183, 102, 118, 119, 17, 118, 27, 0 DB 0, 16, 119, 177, 107, 118, 183, 187, 1, 97, 182, 1 DB 0, 16, 17, 113, 119, 103, 118, 119, 1, 16, 118, 1 DB 0, 16, 119, 23, 107, 102, 183, 187, 1, 0, 97, 27 DB 0, 0, 113, 17, 119, 119, 118, 119, 97, 11, 97, 27 DB 0, 0, 16, 23, 107, 102, 118, 182, 1, 176, 16, 11 DB 0, 0, 176, 17, 119, 119, 103, 183, 1, 96, 0, 6 DB 0, 0, 11, 16, 107, 118, 102, 123, 27, 1, 107, 0 DB 0, 176, 0, 177, 183, 102, 183, 97, 182, 27, 1, 0 DB 0, 176, 0, 17, 113, 102, 27, 16, 102, 183, 27, 0 DB 0, 176, 0, 16, 23, 107, 27, 0, 17, 102, 182, 1 DB 0, 0, 11, 0, 113, 177, 1, 0, 0, 17, 119, 22 DB 0, 0, 176, 187, 16, 23, 1, 0, 0, 0, 97, 182 DB 0, 0, 0, 0, 0, 113, 1, 0, 0, 0, 113, 27 DB 0, 0, 0, 0, 0, 16, 23, 0, 0, 17, 182, 1 DB 0, 0, 0, 0, 0, 113, 23, 0, 16, 102, 23, 0 DB 0, 0, 0, 0, 16, 23, 1, 0, 177, 187, 23, 0 DB 0, 0, 0, 0, 113, 23, 0, 0, 16, 17, 182, 1 DB 0, 0, 0, 16, 23, 113, 17, 0, 0, 0, 97, 27 DB 0, 0, 0, 113, 119, 113, 119, 1, 0, 0, 16, 1 espada_comboadelante: DB 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0 DB 96, 6, 0, 0, 0, 107, 102, 182, 176, 187, 0, 0 DB 0, 176, 0, 96, 182, 0, 0, 0, 11, 0, 11, 0 DB 0, 0, 102, 11, 0, 0, 0, 0, 96, 0, 176, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 27 DB 0, 0, 0, 0, 0, 16, 17, 17, 17, 176, 0, 113 DB 0, 0, 0, 0, 17, 97, 118, 102, 102, 97, 16, 107 DB 0, 0, 0, 16, 102, 123, 123, 183, 187, 23, 177, 102 DB 0, 0, 0, 177, 187, 17, 17, 17, 113, 102, 113, 119 DB 0, 0, 0, 27, 17, 23, 119, 113, 17, 103, 113, 102 DB 0, 0, 176, 0, 113, 119, 17, 17, 22, 119, 177, 102 DB 0, 0, 96, 0, 16, 17, 0, 97, 103, 113, 113, 119 DB 0, 0, 96, 0, 0, 0, 16, 103, 119, 182, 177, 102 DB 0, 0, 96, 0, 0, 16, 97, 118, 118, 119, 113, 103 DB 0, 0, 0, 11, 0, 97, 103, 118, 187, 187, 17, 123 DB 0, 0, 0, 6, 16, 107, 22, 123, 187, 27, 16, 103 DB 0, 0, 0, 176, 0, 177, 103, 177, 183, 1, 16, 123 DB 0, 0, 0, 0, 11, 16, 107, 22, 27, 1, 0, 177 DB 0, 0, 0, 0, 96, 6, 177, 102, 113, 23, 0, 16 DB 0, 0, 0, 0, 0, 0, 16, 123, 22, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 0, 97, 182, 113, 23, 0 DB 0, 0, 0, 0, 0, 0, 17, 118, 27, 23, 1, 0 DB 0, 0, 0, 0, 0, 17, 102, 182, 113, 23, 0, 0 DB 0, 0, 0, 0, 16, 102, 103, 27, 23, 1, 0, 0 DB 0, 0, 0, 0, 0, 97, 23, 17, 113, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 27, 16, 119, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 182, 17, 23, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 27, 0, 1, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 112, 0, 0, 119, 7, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0, 0 DB 17, 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0 DB 187, 17, 0, 119, 119, 119, 187, 187, 0, 0, 176, 0 DB 118, 183, 1, 0, 0, 183, 187, 107, 102, 6, 0, 6 DB 103, 102, 27, 1, 0, 0, 0, 0, 102, 102, 102, 6 DB 22, 51, 97, 27, 0, 0, 0, 0, 0, 96, 102, 102 DB 17, 51, 182, 1, 0, 0, 0, 0, 0, 0, 17, 102 DB 102, 119, 23, 0, 0, 0, 0, 0, 0, 16, 107, 97 DB 102, 102, 27, 0, 0, 0, 0, 0, 0, 97, 118, 22 DB 119, 119, 1, 0, 0, 0, 0, 0, 0, 177, 103, 27 DB 102, 102, 1, 187, 182, 0, 0, 176, 102, 27, 182, 97 DB 103, 102, 177, 0, 0, 107, 107, 6, 0, 0, 17, 102 DB 118, 119, 1, 0, 16, 1, 0, 0, 0, 96, 102, 102 DB 102, 103, 27, 17, 177, 27, 0, 0, 102, 102, 6, 6 DB 119, 102, 102, 103, 118, 27, 176, 107, 102, 6, 0, 6 DB 187, 123, 119, 102, 27, 113, 187, 187, 0, 0, 187, 0 DB 17, 177, 187, 27, 113, 119, 0, 0, 0, 187, 0, 0 DB 0, 16, 17, 1, 0, 0, 0, 0, 119, 0, 0, 0 DB 0, 0, 0, 0, 112, 0, 0, 119, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 espada_golpebajo: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 107, 102, 0, 0, 0, 0, 0, 187, 0, 0 DB 0, 176, 0, 0, 11, 0, 0, 0, 176, 0, 11, 0 DB 0, 6, 0, 0, 96, 0, 0, 0, 11, 0, 176, 0 DB 0, 6, 0, 0, 0, 11, 0, 0, 11, 0, 0, 0 DB 0, 96, 0, 0, 0, 176, 0, 0, 11, 0, 0, 0 DB 0, 0, 0, 0, 0, 96, 0, 0, 176, 0, 0, 0 DB 0, 0, 0, 0, 0, 96, 0, 0, 0, 11, 0, 0 DB 0, 0, 0, 0, 0, 176, 0, 0, 0, 176, 0, 0 DB 0, 0, 0, 0, 0, 11, 0, 0, 0, 176, 0, 0 DB 0, 0, 0, 0, 0, 6, 0, 0, 0, 11, 0, 0 DB 0, 0, 0, 0, 0, 6, 0, 0, 16, 17, 1, 0 DB 0, 0, 0, 0, 0, 176, 0, 16, 177, 102, 27, 0 DB 0, 0, 0, 0, 0, 0, 22, 177, 27, 19, 19, 0 DB 0, 0, 0, 0, 0, 16, 97, 113, 103, 102, 187, 1 DB 0, 0, 0, 0, 16, 97, 103, 177, 102, 51, 115, 1 DB 0, 0, 0, 16, 97, 103, 119, 23, 119, 51, 179, 1 DB 0, 0, 0, 97, 103, 183, 103, 27, 107, 51, 179, 1 DB 0, 0, 16, 103, 183, 23, 102, 119, 17, 102, 27, 0 DB 0, 0, 97, 183, 123, 27, 119, 182, 1, 17, 17, 0 DB 0, 0, 97, 118, 17, 17, 102, 182, 1, 16, 119, 1 DB 0, 0, 16, 102, 103, 27, 102, 23, 0, 16, 119, 1 DB 0, 0, 0, 17, 97, 27, 119, 27, 17, 16, 113, 1 DB 0, 0, 0, 0, 16, 119, 97, 23, 119, 17, 23, 0 DB 0, 0, 0, 0, 16, 182, 113, 27, 113, 23, 23, 0 DB 0, 0, 0, 0, 16, 183, 97, 27, 23, 17, 23, 0 DB 0, 0, 0, 0, 97, 27, 23, 23, 23, 16, 113, 1 DB 0, 0, 0, 16, 118, 113, 17, 182, 1, 16, 119, 1 DB 0, 0, 0, 97, 103, 27, 119, 113, 27, 17, 23, 1 DB 0, 0, 16, 102, 103, 182, 113, 97, 27, 113, 113, 23 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 6, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0 DB 176, 0, 0, 0, 0, 176, 0, 0, 0, 0, 0, 0 DB 11, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0 DB 6, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0 DB 6, 0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0 DB 6, 0, 0, 0, 0, 176, 0, 0, 0, 0, 0, 0 DB 176, 0, 0, 0, 0, 0, 107, 102, 102, 182, 0, 0 DB 0, 107, 0, 0, 107, 182, 0, 0, 0, 0, 107, 6 DB 0, 0, 102, 182, 0, 0, 0, 0, 0, 0, 0, 176 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 17 DB 0, 0, 0, 0, 0, 16, 177, 102, 118, 102, 118, 103 DB 0, 0, 0, 0, 0, 177, 119, 102, 118, 103, 118, 102 DB 0, 0, 0, 0, 16, 107, 118, 183, 187, 183, 23, 119 DB 0, 0, 0, 0, 16, 103, 102, 119, 187, 119, 97, 123 DB 0, 0, 0, 0, 0, 113, 102, 123, 183, 27, 182, 113 DB 0, 0, 0, 96, 0, 16, 119, 17, 17, 17, 23, 17 DB 0, 0, 0, 0, 107, 22, 182, 113, 1, 97, 27, 23 DB 0, 0, 0, 0, 0, 16, 182, 113, 17, 102, 113, 23 DB 0, 0, 0, 0, 0, 97, 23, 23, 16, 119, 17, 1 DB 0, 0, 0, 0, 16, 102, 27, 23, 16, 27, 119, 1 DB 0, 0, 0, 0, 16, 183, 113, 1, 97, 27, 113, 1 DB 0, 0, 0, 0, 97, 27, 23, 16, 182, 17, 23, 1 DB 0, 0, 0, 16, 118, 23, 113, 17, 119, 17, 119, 1 DB 0, 0, 0, 97, 103, 123, 27, 23, 27, 17, 23, 1 DB 0, 0, 16, 102, 103, 102, 183, 97, 102, 27, 113, 23 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 7, 112, 112, 183, 187, 187, 187, 102, 102, 0 DB 1, 0, 0, 0, 0, 0, 0, 176, 107, 102, 102, 6 DB 27, 0, 0, 0, 0, 16, 17, 17, 17, 17, 97, 102 DB 183, 17, 0, 0, 16, 97, 118, 103, 54, 99, 27, 102 DB 118, 102, 17, 17, 97, 54, 51, 51, 102, 51, 182, 97 DB 119, 103, 102, 119, 54, 51, 51, 51, 51, 22, 97, 27 DB 119, 119, 123, 183, 51, 51, 51, 51, 51, 22, 97, 27 DB 187, 17, 17, 17, 59, 51, 51, 51, 51, 22, 97, 27 DB 17, 0, 0, 0, 177, 59, 51, 51, 102, 51, 182, 97 DB 0, 0, 0, 0, 16, 177, 123, 183, 59, 179, 27, 102 DB 0, 0, 0, 0, 0, 16, 17, 17, 17, 17, 97, 102 DB 0, 0, 0, 0, 0, 0, 0, 176, 107, 102, 102, 6 DB 0, 0, 7, 112, 112, 183, 187, 187, 187, 102, 102, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 102, 11, 0, 0, 0, 187, 11, 0, 0 DB 0, 0, 176, 0, 176, 0, 0, 176, 0, 176, 0, 0 DB 0, 0, 11, 0, 0, 6, 0, 176, 0, 0, 11, 0 DB 0, 0, 6, 0, 0, 6, 0, 17, 17, 0, 11, 0 DB 0, 0, 6, 0, 0, 6, 17, 187, 187, 17, 1, 0 DB 0, 0, 6, 16, 177, 17, 107, 119, 119, 182, 27, 0 DB 0, 0, 11, 97, 118, 183, 119, 102, 102, 119, 23, 0 DB 0, 96, 16, 102, 183, 23, 107, 119, 119, 102, 187, 1 DB 0, 11, 16, 119, 182, 113, 177, 102, 102, 119, 119, 1 DB 182, 0, 16, 102, 182, 177, 27, 119, 119, 102, 182, 27 DB 0, 0, 16, 102, 23, 113, 23, 187, 102, 119, 119, 1 DB 0, 0, 0, 113, 27, 187, 187, 17, 17, 102, 27, 0 DB 0, 0, 0, 97, 23, 119, 119, 113, 23, 17, 1, 0 DB 0, 0, 0, 113, 27, 107, 102, 113, 113, 1, 0, 0 DB 0, 0, 0, 97, 27, 103, 118, 17, 16, 23, 0, 0 DB 0, 0, 0, 113, 23, 123, 103, 1, 0, 1, 0, 0 DB 0, 0, 16, 182, 113, 113, 102, 1, 0, 0, 0, 0 DB 0, 0, 16, 182, 177, 22, 22, 1, 0, 0, 0, 0 DB 0, 0, 0, 177, 177, 23, 113, 23, 0, 0, 0, 0 DB 0, 0, 0, 16, 17, 182, 113, 113, 1, 0, 0, 0 DB 0, 0, 0, 0, 16, 183, 17, 119, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 23, 16, 17, 1, 0, 0, 0 DB 0, 0, 0, 0, 97, 27, 16, 119, 1, 0, 0, 0 DB 0, 0, 0, 16, 118, 1, 16, 119, 1, 0, 0, 0 DB 0, 0, 0, 177, 103, 27, 113, 23, 23, 0, 0, 0 DB 0, 0, 16, 107, 103, 182, 113, 113, 119, 1, 0, 0 espada_golpeatras: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 17, 17, 1, 0, 0, 0, 0, 0, 0 DB 0, 0, 17, 182, 183, 27, 0, 0, 0, 0, 0, 0 DB 0, 16, 102, 51, 59, 179, 1, 0, 187, 0, 0, 0 DB 0, 97, 51, 182, 51, 51, 1, 176, 0, 11, 0, 0 DB 0, 177, 97, 54, 51, 51, 0, 176, 0, 11, 0, 0 DB 176, 16, 107, 183, 51, 51, 1, 11, 0, 176, 0, 0 DB 11, 6, 113, 103, 51, 51, 27, 11, 0, 176, 0, 0 DB 6, 11, 177, 118, 59, 179, 27, 11, 0, 0, 11, 176 DB 6, 176, 22, 97, 182, 187, 113, 17, 0, 0, 176, 11 DB 6, 0, 96, 22, 17, 17, 183, 187, 1, 0, 0, 0 DB 11, 0, 16, 118, 119, 187, 123, 119, 23, 1, 0, 0 DB 176, 0, 16, 103, 177, 119, 103, 102, 182, 27, 0, 0 DB 96, 0, 16, 107, 22, 113, 102, 102, 102, 182, 1, 0 DB 0, 11, 0, 177, 118, 22, 119, 119, 119, 119, 1, 0 DB 0, 96, 6, 16, 177, 102, 17, 103, 102, 102, 27, 0 DB 0, 0, 0, 0, 16, 123, 102, 113, 102, 102, 182, 1 DB 0, 0, 0, 0, 0, 17, 107, 22, 103, 102, 182, 1 DB 0, 0, 0, 0, 16, 119, 17, 97, 118, 119, 119, 1 DB 0, 0, 0, 0, 16, 102, 118, 119, 103, 103, 27, 11 DB 0, 0, 0, 0, 113, 119, 103, 119, 103, 183, 1, 11 DB 0, 0, 0, 0, 113, 119, 119, 102, 118, 23, 0, 11 DB 0, 0, 0, 0, 97, 102, 118, 119, 17, 1, 176, 0 DB 0, 0, 0, 0, 16, 97, 118, 123, 113, 23, 0, 0 DB 0, 0, 0, 0, 0, 16, 103, 182, 17, 113, 1, 0 DB 0, 0, 0, 0, 0, 97, 103, 187, 113, 119, 1, 0 DB 0, 0, 0, 0, 16, 103, 123, 27, 16, 23, 0, 0 DB 0, 0, 0, 0, 113, 187, 17, 1, 113, 1, 0, 0 DB 0, 0, 0, 16, 183, 17, 0, 16, 23, 0, 0, 0 DB 0, 0, 0, 97, 118, 187, 1, 113, 23, 17, 1, 0 DB 0, 0, 16, 187, 123, 187, 27, 119, 113, 119, 23, 0 DB 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 187, 187, 0, 0, 0, 0, 0, 0, 0 DB 96, 6, 0, 0, 0, 107, 102, 182, 176, 187, 0, 0 DB 0, 176, 0, 96, 182, 0, 0, 0, 11, 0, 11, 0 DB 0, 0, 102, 11, 0, 0, 0, 0, 96, 0, 176, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0, 27 DB 0, 0, 0, 0, 0, 16, 17, 17, 17, 176, 0, 113 DB 0, 0, 0, 0, 17, 97, 118, 102, 102, 97, 16, 107 DB 0, 0, 0, 16, 102, 123, 123, 183, 187, 23, 177, 102 DB 0, 0, 0, 177, 187, 17, 17, 17, 113, 102, 113, 119 DB 0, 0, 0, 27, 17, 23, 119, 113, 17, 103, 113, 102 DB 0, 0, 176, 0, 113, 119, 17, 17, 22, 119, 177, 102 DB 0, 0, 96, 0, 16, 17, 0, 97, 103, 113, 113, 119 DB 0, 0, 96, 0, 0, 0, 16, 103, 119, 182, 177, 102 DB 0, 0, 96, 0, 0, 16, 97, 118, 118, 119, 113, 103 DB 0, 0, 0, 11, 0, 97, 103, 118, 187, 187, 17, 123 DB 0, 0, 0, 6, 16, 107, 22, 123, 187, 27, 16, 103 DB 0, 0, 0, 176, 0, 177, 103, 177, 183, 1, 16, 123 DB 0, 0, 0, 0, 11, 16, 107, 22, 27, 1, 0, 177 DB 0, 0, 0, 0, 96, 6, 177, 102, 113, 23, 0, 16 DB 0, 0, 0, 0, 0, 0, 16, 123, 22, 113, 1, 0 DB 0, 0, 0, 0, 0, 0, 0, 97, 182, 113, 23, 0 DB 0, 0, 0, 0, 0, 0, 17, 118, 27, 23, 1, 0 DB 0, 0, 0, 0, 0, 17, 102, 182, 113, 23, 0, 0 DB 0, 0, 0, 0, 16, 102, 103, 27, 23, 1, 0, 0 DB 0, 0, 0, 0, 0, 97, 23, 17, 113, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 27, 16, 119, 1, 0, 0 DB 0, 0, 0, 0, 0, 16, 182, 17, 23, 0, 0, 0 DB 0, 0, 0, 0, 0, 16, 27, 0, 1, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 119, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 112, 0, 0, 119, 7, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0, 0 DB 17, 0, 0, 0, 0, 0, 0, 0, 0, 176, 11, 0 DB 187, 17, 0, 119, 119, 119, 187, 187, 0, 0, 176, 0 DB 118, 183, 1, 0, 0, 183, 187, 107, 102, 6, 0, 6 DB 103, 102, 27, 1, 0, 0, 0, 0, 102, 102, 102, 6 DB 22, 51, 97, 27, 0, 0, 0, 0, 0, 96, 102, 102 DB 17, 51, 182, 1, 0, 0, 0, 0, 0, 0, 17, 102 DB 102, 119, 23, 0, 0, 0, 0, 0, 0, 16, 107, 97 DB 102, 102, 27, 0, 0, 0, 0, 0, 0, 97, 118, 22 DB 119, 119, 1, 0, 0, 0, 0, 0, 0, 177, 103, 27 DB 102, 102, 1, 187, 182, 0, 0, 176, 102, 27, 182, 97 DB 103, 102, 177, 0, 0, 107, 107, 6, 0, 0, 17, 102 DB 118, 119, 1, 0, 16, 1, 0, 0, 0, 96, 102, 102 DB 102, 103, 27, 17, 177, 27, 0, 0, 102, 102, 6, 6 DB 119, 102, 102, 103, 118, 27, 176, 107, 102, 6, 0, 6 DB 187, 123, 119, 102, 27, 113, 187, 187, 0, 0, 187, 0 DB 17, 177, 187, 27, 113, 119, 0, 0, 0, 187, 0, 0 DB 0, 16, 17, 1, 0, 0, 0, 0, 119, 0, 0, 0 DB 0, 0, 0, 0, 112, 0, 0, 119, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 187, 11, 0, 0, 0, 0, 0, 0, 0, 107, 11 DB 0, 0, 176, 0, 17, 17, 17, 0, 0, 96, 0, 96 DB 176, 11, 11, 17, 107, 182, 187, 1, 0, 0, 182, 0 DB 11, 176, 16, 107, 102, 102, 119, 1, 0, 0, 0, 11 DB 11, 0, 177, 102, 119, 119, 182, 27, 0, 0, 0, 96 DB 11, 0, 113, 119, 102, 102, 102, 187, 1, 0, 0, 96 DB 176, 16, 107, 102, 118, 119, 119, 119, 177, 6, 0, 176 DB 176, 16, 119, 119, 103, 102, 102, 119, 11, 176, 0, 6 DB 0, 11, 177, 102, 118, 119, 119, 187, 23, 0, 107, 0 DB 0, 11, 177, 119, 103, 102, 102, 183, 183, 1, 0, 0 DB 0, 176, 16, 103, 182, 123, 119, 17, 102, 27, 0, 0 DB 0, 0, 27, 187, 123, 183, 182, 187, 97, 182, 1, 0 DB 0, 0, 113, 113, 183, 102, 118, 119, 17, 118, 27, 0 DB 0, 16, 119, 177, 107, 118, 183, 187, 1, 97, 182, 1 DB 0, 16, 17, 113, 119, 103, 118, 119, 1, 16, 118, 1 DB 0, 16, 119, 23, 107, 102, 183, 187, 1, 0, 97, 27 DB 0, 0, 113, 17, 119, 119, 118, 119, 97, 11, 97, 27 DB 0, 0, 16, 23, 107, 102, 118, 182, 1, 176, 16, 11 DB 0, 0, 176, 17, 119, 119, 103, 183, 1, 96, 0, 6 DB 0, 0, 11, 16, 107, 118, 102, 123, 27, 1, 107, 0 DB 0, 176, 0, 177, 183, 102, 183, 97, 182, 27, 1, 0 DB 0, 176, 0, 17, 113, 102, 27, 16, 102, 183, 27, 0 DB 0, 176, 0, 16, 23, 107, 27, 0, 17, 102, 182, 1 DB 0, 0, 11, 0, 113, 177, 1, 0, 0, 17, 119, 22 DB 0, 0, 176, 187, 16, 23, 1, 0, 0, 0, 97, 182 DB 0, 0, 0, 0, 0, 113, 1, 0, 0, 0, 113, 27 DB 0, 0, 0, 0, 0, 16, 23, 0, 0, 17, 182, 1 DB 0, 0, 0, 0, 0, 113, 23, 0, 16, 102, 23, 0 DB 0, 0, 0, 0, 16, 23, 1, 0, 177, 187, 23, 0 DB 0, 0, 0, 0, 113, 23, 0, 0, 16, 17, 182, 1 DB 0, 0, 0, 16, 23, 113, 17, 0, 0, 0, 97, 27 DB 0, 0, 0, 113, 119, 113, 119, 1, 0, 0, 16, 1 espada_ouch: DB 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 187, 0 DB 176, 187, 0, 0, 17, 17, 1, 0, 0, 176, 0, 11 DB 11, 0, 0, 16, 102, 102, 27, 0, 187, 0, 11, 176 DB 96, 102, 0, 177, 49, 19, 19, 176, 0, 11, 11, 176 DB 0, 0, 27, 123, 102, 102, 187, 1, 11, 11, 176, 176 DB 176, 187, 16, 103, 51, 51, 51, 11, 11, 176, 176, 0 DB 11, 0, 16, 59, 51, 51, 51, 177, 0, 0, 11, 0 DB 96, 102, 17, 177, 51, 51, 51, 1, 48, 0, 0, 0 DB 0, 16, 118, 23, 102, 51, 179, 1, 0, 48, 3, 0 DB 0, 97, 102, 118, 17, 182, 27, 0, 3, 51, 0, 3 DB 16, 118, 187, 103, 118, 119, 1, 3, 0, 0, 48, 0 DB 97, 182, 17, 17, 103, 187, 1, 0, 3, 0, 0, 0 DB 97, 27, 177, 187, 118, 119, 1, 51, 0, 48, 0, 0 DB 113, 23, 113, 103, 102, 187, 49, 3, 0, 0, 48, 3 DB 97, 27, 177, 118, 103, 59, 51, 0, 51, 3, 0, 51 DB 97, 182, 177, 102, 118, 51, 51, 51, 3, 0, 0, 0 DB 97, 187, 113, 103, 102, 187, 51, 3, 0, 0, 3, 0 DB 16, 17, 177, 118, 103, 123, 1, 51, 48, 3, 0, 0 DB 0, 11, 113, 103, 118, 119, 27, 0, 0, 51, 0, 3 DB 0, 176, 177, 118, 102, 182, 27, 49, 17, 0, 0, 0 DB 0, 96, 16, 182, 177, 187, 113, 23, 55, 3, 48, 0 DB 0, 0, 22, 107, 23, 23, 119, 113, 23, 23, 48, 3 DB 0, 0, 0, 113, 182, 17, 17, 17, 113, 119, 1, 3 DB 0, 0, 0, 177, 102, 182, 1, 0, 16, 23, 0, 0 DB 0, 0, 0, 16, 17, 118, 27, 0, 113, 1, 0, 0 DB 0, 0, 0, 0, 0, 97, 182, 17, 23, 0, 0, 0 DB 0, 0, 0, 0, 16, 118, 27, 113, 1, 0, 0, 0 DB 0, 0, 0, 16, 97, 27, 17, 119, 23, 17, 0, 0 DB 0, 0, 0, 177, 118, 1, 0, 113, 113, 119, 1, 0 DB 0, 0, 16, 107, 23, 0, 0, 16, 17, 17, 0, 0 DB 0, 0, 0, 113, 182, 17, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 16, 102, 182, 1, 0, 0, 0, 0, 0 muere: DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 176, 187, 187, 11, 0, 0, 0, 0, 0 DB 0, 0, 187, 11, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 6, 0, 102, 102, 102, 102, 102, 102, 0, 0, 0 DB 0, 96, 102, 0, 0, 0, 0, 0, 0, 11, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 187, 187, 0, 0, 0 DB 0, 0, 0, 176, 187, 187, 187, 0, 0, 0, 0, 0 DB 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 16, 177, 102, 102, 102, 102, 182, 17, 0, 0 DB 0, 0, 97, 119, 119, 119, 119, 119, 119, 182, 1, 0 DB 0, 0, 97, 27, 119, 102, 102, 118, 23, 182, 1, 0 DB 0, 0, 113, 23, 107, 119, 119, 183, 27, 119, 1, 0 DB 0, 0, 97, 27, 113, 102, 102, 118, 17, 182, 1, 0 DB 0, 0, 113, 27, 177, 103, 102, 183, 17, 118, 1, 0 DB 0, 0, 97, 23, 177, 118, 119, 182, 17, 183, 1, 0 DB 0, 0, 97, 27, 113, 102, 102, 118, 17, 182, 1, 0 DB 0, 0, 113, 23, 177, 103, 102, 183, 17, 119, 1, 0 DB 0, 0, 97, 27, 123, 118, 119, 123, 27, 182, 1, 0 DB 0, 0, 97, 27, 123, 107, 102, 123, 27, 182, 1, 0 DB 0, 0, 97, 17, 119, 183, 182, 123, 23, 177, 1, 0 DB 0, 0, 16, 27, 182, 17, 27, 123, 27, 27, 0, 0 DB 0, 0, 176, 16, 182, 1, 23, 97, 27, 176, 0, 0 DB 0, 0, 96, 16, 119, 1, 6, 113, 23, 96, 0, 0 DB 0, 0, 96, 16, 182, 1, 0, 97, 27, 0, 0, 0 DB 0, 0, 0, 16, 183, 1, 0, 97, 23, 0, 0, 0 DB 0, 0, 0, 16, 118, 1, 0, 113, 27, 0, 0, 0 DB 0, 0, 0, 16, 182, 1, 0, 97, 27, 0, 0, 0 DB 0, 0, 0, 16, 183, 1, 0, 97, 23, 0, 0, 0 DB 0, 0, 0, 16, 119, 1, 0, 113, 23, 0, 0, 0 DB 0, 0, 0, 177, 182, 1, 0, 177, 182, 1, 0, 0 DB 0, 0, 16, 107, 102, 27, 16, 107, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 96, 102, 102, 102, 102, 102, 102, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 102, 6, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0 DB 0, 0, 0, 176, 187, 187, 187, 187, 187, 187, 11, 0 DB 0, 0, 187, 11, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 102, 102, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 102, 102, 102, 102, 102, 6, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 176, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 176, 187, 11, 0, 0 DB 0, 0, 176, 187, 187, 187, 187, 11, 0, 0, 0, 0 DB 0, 176, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 96, 22, 17, 17, 17, 17, 17, 17, 0, 0, 0 DB 0, 0, 97, 187, 102, 102, 102, 182, 182, 17, 0, 0 DB 0, 0, 97, 27, 119, 102, 102, 118, 23, 182, 1, 0 DB 0, 0, 113, 23, 103, 103, 102, 183, 23, 119, 1, 0 DB 0, 0, 97, 27, 118, 118, 119, 123, 27, 182, 1, 0 DB 0, 0, 97, 27, 118, 107, 102, 123, 27, 182, 1, 0 DB 0, 0, 97, 23, 119, 177, 182, 123, 23, 183, 1, 0 DB 0, 0, 16, 27, 182, 17, 27, 123, 27, 27, 0, 0 DB 0, 0, 176, 17, 182, 1, 1, 97, 27, 176, 0, 0 DB 0, 0, 96, 16, 119, 1, 6, 113, 23, 96, 0, 0 DB 0, 0, 96, 16, 182, 1, 1, 97, 27, 0, 0, 0 DB 0, 0, 0, 16, 183, 1, 0, 97, 23, 0, 0, 0 DB 0, 0, 0, 16, 118, 1, 0, 113, 27, 0, 0, 0 DB 0, 0, 0, 16, 182, 1, 0, 97, 27, 0, 0, 0 DB 0, 0, 0, 16, 183, 1, 0, 97, 23, 0, 0, 0 DB 0, 0, 0, 16, 119, 1, 0, 113, 23, 0, 0, 0 DB 0, 0, 0, 177, 182, 1, 0, 97, 187, 1, 0, 0 DB 0, 0, 16, 107, 102, 27, 16, 102, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 96, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 96, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 96, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0 DB 0, 0, 0, 187, 0, 0, 0, 96, 0, 0, 0, 0 DB 0, 0, 176, 0, 187, 187, 11, 0, 102, 0, 0, 0 DB 0, 0, 96, 0, 0, 0, 176, 0, 0, 11, 0, 0 DB 0, 0, 0, 102, 102, 0, 0, 187, 187, 0, 0, 0 DB 0, 0, 0, 0, 0, 102, 6, 0, 0, 0, 0, 0 DB 0, 0, 0, 187, 0, 0, 96, 102, 102, 6, 0, 0 DB 0, 0, 176, 0, 187, 11, 0, 0, 0, 176, 0, 0 DB 0, 0, 0, 6, 0, 176, 187, 187, 187, 11, 0, 0 DB 0, 0, 0, 96, 102, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 17, 102, 102, 102, 6, 0, 0, 0 DB 0, 0, 0, 16, 123, 119, 119, 119, 183, 1, 0, 0 DB 0, 0, 0, 16, 107, 187, 187, 107, 27, 0, 0, 0 DB 0, 0, 0, 0, 177, 17, 17, 177, 1, 0, 0, 0 DB 0, 0, 0, 16, 23, 0, 0, 16, 23, 0, 0, 0 DB 0, 0, 0, 177, 182, 1, 0, 177, 182, 1, 0, 0 DB 0, 0, 16, 107, 102, 27, 16, 107, 102, 27, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 DB 0, 0, 0, 176, 107, 182, 1, 0, 0, 0, 0, 0 DB 0, 0, 0, 27, 17, 23, 23, 17, 0, 0, 0, 0 DB 0, 0, 96, 17, 177, 182, 102, 187, 1, 0, 0, 0 DB 0, 0, 96, 177, 27, 17, 23, 119, 17, 0, 0, 0 DB 0, 0, 176, 17, 113, 107, 107, 102, 187, 1, 0, 0 DB 0, 0, 27, 113, 107, 17, 113, 119, 23, 1, 0, 0 DB 0, 0, 22, 187, 17, 177, 182, 102, 182, 27, 0, 0 DB 0, 0, 22, 17, 177, 22, 113, 113, 119, 17, 0, 0 DB 0, 0, 22, 187, 27, 177, 182, 102, 182, 27, 0, 0 DB 0, 0, 11, 17, 17, 17, 113, 113, 119, 177, 1, 0 DB 96, 182, 0, 177, 187, 107, 107, 102, 187, 27, 0, 0
63.422936
65
0.331364
890d352d81e67705f0e25bcf10294e148d1400ea
2,796
asm
Assembly
Aurora/Aurora/x64/Debug/udp.asm
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
8
2021-07-19T04:46:35.000Z
2022-03-12T17:56:00.000Z
Aurora/Aurora/x64/Debug/udp.asm
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
Aurora/Aurora/x64/Debug/udp.asm
manaskamal/aurora-xeneva
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
[ "BSD-2-Clause" ]
null
null
null
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG2998 DB 'UDP Packet sent', 0aH, 00H CONST ENDS PUBLIC ?udp_send_packet@@YAXPEAEGGPEAXH@Z ; udp_send_packet EXTRN ?memset@@YAXPEAXEI@Z:PROC ; memset EXTRN memcpy:PROC EXTRN ?printf@@YAXPEBDZZ:PROC ; printf EXTRN ?malloc@@YAPEAX_K@Z:PROC ; malloc EXTRN ?htons@@YAGG@Z:PROC ; htons pdata SEGMENT $pdata$?udp_send_packet@@YAXPEAEGGPEAXH@Z DD imagerel $LN3 DD imagerel $LN3+185 DD imagerel $unwind$?udp_send_packet@@YAXPEAEGGPEAXH@Z pdata ENDS xdata SEGMENT $unwind$?udp_send_packet@@YAXPEAEGGPEAXH@Z DD 011901H DD 06219H xdata ENDS ; Function compile flags: /Odtpy ; File e:\xeneva project\xeneva\aurora\aurora\net\udp.cpp _TEXT SEGMENT length$ = 32 packet$ = 40 dst_ip$ = 64 src_port$ = 72 dst_port$ = 80 data$ = 88 len$ = 96 ?udp_send_packet@@YAXPEAEGGPEAXH@Z PROC ; udp_send_packet ; 19 : void udp_send_packet (uint8_t* dst_ip, uint16_t src_port, uint16_t dst_port, void* data, int len) { $LN3: mov QWORD PTR [rsp+32], r9 mov WORD PTR [rsp+24], r8w mov WORD PTR [rsp+16], dx mov QWORD PTR [rsp+8], rcx sub rsp, 56 ; 00000038H ; 20 : int length = sizeof(udp_packet_t) + len; movsxd rax, DWORD PTR len$[rsp] add rax, 8 mov DWORD PTR length$[rsp], eax ; 21 : udp_packet_t *packet = (udp_packet_t*)malloc(length); movsxd rax, DWORD PTR length$[rsp] mov rcx, rax call ?malloc@@YAPEAX_K@Z ; malloc mov QWORD PTR packet$[rsp], rax ; 22 : memset(packet, 0, sizeof(udp_packet_t)); mov r8d, 8 xor edx, edx mov rcx, QWORD PTR packet$[rsp] call ?memset@@YAXPEAXEI@Z ; memset ; 23 : packet->src_port = htons (src_port); movzx ecx, WORD PTR src_port$[rsp] call ?htons@@YAGG@Z ; htons mov rcx, QWORD PTR packet$[rsp] mov WORD PTR [rcx], ax ; 24 : packet->dst_port = htons (dst_port); movzx ecx, WORD PTR dst_port$[rsp] call ?htons@@YAGG@Z ; htons mov rcx, QWORD PTR packet$[rsp] mov WORD PTR [rcx+2], ax ; 25 : packet->length = htons (length); movzx ecx, WORD PTR length$[rsp] call ?htons@@YAGG@Z ; htons mov rcx, QWORD PTR packet$[rsp] mov WORD PTR [rcx+4], ax ; 26 : packet->checksum = 0; xor eax, eax mov rcx, QWORD PTR packet$[rsp] mov WORD PTR [rcx+6], ax ; 27 : ; 28 : memcpy ((void*)(packet + sizeof(udp_packet_t)), data, len); mov rax, QWORD PTR packet$[rsp] add rax, 64 ; 00000040H mov r8d, DWORD PTR len$[rsp] mov rdx, QWORD PTR data$[rsp] mov rcx, rax call memcpy ; 29 : printf ("UDP Packet sent\n"); lea rcx, OFFSET FLAT:$SG2998 call ?printf@@YAXPEBDZZ ; printf ; 30 : //not completed ; 31 : } add rsp, 56 ; 00000038H ret 0 ?udp_send_packet@@YAXPEAEGGPEAXH@Z ENDP ; udp_send_packet _TEXT ENDS END
23.897436
108
0.688126
7277b8229a2edf7440a6083e501ac4915faa2d94
733
asm
Assembly
libsrc/video/msm6255/asm_set_lcd_mode.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/video/msm6255/asm_set_lcd_mode.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/video/msm6255/asm_set_lcd_mode.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_clib PUBLIC asm_set_lcd_mode INCLUDE "msm6255.inc" ; Set the mode of LCD controller ; 0000000x -> GRAPHICS (1), TEXT (0) ; 00000xx0 -> 4bit parallel (01) / serial (00) / serial EVEN-ODD (10) -> Bondwell 2 is EVEN-ODD ; 0000x000 -> Display ON/OFF ; 000x0000 -> TEXT Cursor blinking (e.g. 3D) ; 00x00000 -> TEXT Cursor ON/OFF ; 0x000000 -> TEXT Blinking time ; Useful modes on Bondwell 2 ; 0x75 ;DISPLAY OFF ; 0x7D ;DISPLAY ON (TEXT CSR. ON, useless on BW2) ; ; Uses: af, l, bc (on some targets) ; asm_set_lcd_mode: xor a IF address_w > 256 ld bc,address_w out (c),a ELSE out (address_w),a ENDIF IF register_w > 256 ld bc,register_w out (c),l ELSE ld a,l out (register_w),a ENDIF ret
15.270833
95
0.671214
2d0a437dcc65cfef3b81562dbd68f37af0fcbf02
204
asm
Assembly
src/parser/include.asm
jhm-ciberman/calculator-asm
f5305f345d7efdd616b34a485f7460f6789f4d9c
[ "MIT" ]
2
2019-08-03T17:09:30.000Z
2021-04-01T22:17:09.000Z
src/parser/include.asm
jhm-ciberman/calculator-asm
f5305f345d7efdd616b34a485f7460f6789f4d9c
[ "MIT" ]
null
null
null
src/parser/include.asm
jhm-ciberman/calculator-asm
f5305f345d7efdd616b34a485f7460f6789f4d9c
[ "MIT" ]
1
2019-08-04T21:26:32.000Z
2019-08-04T21:26:32.000Z
include 'ParserCommandAddChar.asm' include 'ParserCommandFinish.asm' include 'ParserCommandProcess.asm' include 'ParserInit.asm' include 'ParserParseString.asm' include 'ParserShowUnexpectedChar.asm'
34
38
0.833333
f79acc74dd14872e59904f16283911de98fe313c
1,021
asm
Assembly
src/test/ref/function-pointer-noarg-call-5.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/function-pointer-noarg-call-5.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/function-pointer-noarg-call-5.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// Tests calling into arrays of pointers to non-args no-return functions // Commodore 64 PRG executable file .file [name="function-pointer-noarg-call-5.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .segment Code main: { .label i = 4 .label f = 2 lda #0 sta.z i __b2: // void (*f)() = fns[++i&1] inc.z i // ++i&1 lda #1 and.z i // void (*f)() = fns[++i&1] asl tay lda fns,y sta.z f lda fns+1,y sta.z f+1 // (*f)() jsr icall1 jmp __b2 icall1: jmp (f) } fn2: { .label BG_COLOR = $d021 // (*BG_COLOR)++; inc BG_COLOR // } rts } fn1: { .label BORDER_COLOR = $d020 // (*BORDER_COLOR)++; inc BORDER_COLOR // } rts } .segment Data // declare fns as array 2 of pointer to function (void) returning void fns: .word fn1, fn2
19.634615
80
0.582762
60b124d8ea15f66c8ce56bc3756c028d226b9c48
40
asm
Assembly
test/assembler/main_not_zero/data/program.asm
jfitz/virtual-processor
b6aa15e7ed210ab862c9c80bbc7c46859ab50501
[ "MIT" ]
null
null
null
test/assembler/main_not_zero/data/program.asm
jfitz/virtual-processor
b6aa15e7ed210ab862c9c80bbc7c46859ab50501
[ "MIT" ]
null
null
null
test/assembler/main_not_zero/data/program.asm
jfitz/virtual-processor
b6aa15e7ed210ab862c9c80bbc7c46859ab50501
[ "MIT" ]
null
null
null
NOP NOP MAIN: PUSH BYTE 64 OUT EXIT
6.666667
18
0.675
557b7d8884746d43efe3199021f6866080c68ddf
696
asm
Assembly
oeis/046/A046194.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/046/A046194.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/046/A046194.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A046194: Heptagonal triangular numbers. ; Submitted by Jamie Morken(s1) ; 1,55,121771,5720653,12625478965,593128762435,1309034909945503,61496776341083161,135723357520344181225,6376108764003055554511,14072069153115290487843091,661087708807868029661744485,1459020273797576190840203197981,68542895818241264287385936157403,151274140013808225465578657485241095,7106664523565803055036880603010131505,15684405383452644158924550174544564031953,736833191063806696534092590393910518562151,1626190518815862911671806985731550830475727995,76396338908770941386481984902184549782550826621 seq $0,39835 ; Indices of triangular numbers which are also heptagonal. mov $2,$0 add $0,1 mul $0,$2 mul $0,2 div $0,4
63.272727
501
0.890805
ae6fba33ced663c585cd9c8022d5fc7958a5e38e
17,499
asm
Assembly
calc.asm
spencer-melnick/mips-calculator
da6ea24e2948c694a465130a6fe1102cb6285af3
[ "MIT" ]
null
null
null
calc.asm
spencer-melnick/mips-calculator
da6ea24e2948c694a465130a6fe1102cb6285af3
[ "MIT" ]
null
null
null
calc.asm
spencer-melnick/mips-calculator
da6ea24e2948c694a465130a6fe1102cb6285af3
[ "MIT" ]
null
null
null
.data str_buffer1: .space 64 expr_buffer1: .space 128 expr_buffer2: .space 128 stack: .space 128 prompt_msg: .asciiz ">>>> " invalid_msg: .asciiz "Invalid expression\n" result_msg: .asciiz "\n" invalid_char_msg_p1: .asciiz "Invalid character \"" invalid_char_msg_p2: .asciiz "\" at index [" invalid_char_msg_p3: .asciiz "]\n" invalid_num_msg_p1: .asciiz "Numeral length exceeds 4 at index [" invalid_num_msg_p2: .asciiz "]\n" invalid_lhs_msg: .asciiz "Left hand side of expression must be a variable name\n" invalid_paren_msg: .asciiz "Mismatched parentheses\n" divide_by_zero_msg: .asciiz "Divide by zero error\n" .text main: # Print prompt message li $v0, 4 la $a0, prompt_msg syscall # Read 64 characters to string buffer li $v0, 8 la $a0, str_buffer1 li $a1, 64 syscall jal lex_convert jal validate_expression jal convert_expr jal evaluate_expr beqz $s2, display_result #If $s2 is nonzero, assign temp variable move $s1, $v0 display_result: # Display result move $a0, $v0 li $v0, 1 syscall # Print result message li $v0, 4 la $a0, result_msg syscall j main_end # Display invalid character and location invalid_character: # Display message part 1 li $v0, 4 la $a0, invalid_char_msg_p1 syscall # Display character li $v0, 11 move $a0, $t1 syscall # Display message part 2 li $v0, 4 la $a0, invalid_char_msg_p2 syscall # Display index li $v0, 1 move $a0, $t0 syscall # Display message part 3 li $v0, 4 la $a0, invalid_char_msg_p3 syscall j main_end invalid_numeral: # Display message part 1 li $v0, 4 la $a0, invalid_num_msg_p1 syscall # Display index li $v0, 1 move $a0, $t0 syscall # Display message part 2 li $v0, 4 la $a0, invalid_num_msg_p2 syscall j main_end invalid_lhs: # Print invalid message li $v0, 4 la $a0, invalid_lhs_msg syscall j main_end invalid_paren: # Print invalid message li $v0, 4 la $a0, invalid_paren_msg syscall j main_end invalid_expression: # Print invalid message li $v0, 4 la $a0, invalid_msg syscall j main_end divide_by_zero: # Print error message li $v0, 4 la $a0, divide_by_zero_msg syscall j main_end main_end: j main ###################################################### # lex_convert ###################################################### # # lex_convert converts a string to tokens representing # a mathematical expression. The tokens are saved as # follows: # # Upper 16 bits - token type # Lower 16 bits - token value (if applicable) # # Token type 0 - End of expression # Token type 1 - Open paren # Token type 2 - Close paren # Token type 3 - + operator # Token type 4 - - operator # Token type 5 - * operator # Token type 6 - / operator # Token type 7 - negate operator # Token type 8 - = operator # Token type 9 - variable # Token type 10 - numeric literal # # Numeric literals and variables have token values # representing either their numeric value or variable # name. Operators have token values equal to their # operator precedence. # # The most significant bit of the token value for a # variable represents whether or not to negate the # variable. # # No arguments are needed: # The string is read from str_buffer1 and # the result is stored in expr_buffer1 lex_convert: # Using: # $t0 as string index # $t1 as current character # $t2 as FSM state # $t3 as token index # $t4 as token value # $t5 as numeral length # $t6 as previous token type # # Machine states are as follows: # State 0 - reading # State 1 - reading number # Initialize registers li $t0, 0 li $t1, 0 li $t2, 0 li $t3, 0 li $t4, 0 li $t5, 0 li $t6, 0 lex_convert_loop: # Read next character lb $t1, str_buffer1($t0) # Jump to machine state beq $t2, 0, lex_convert_state_0 beq $t2, 1, lex_convert_state_1 # Initial reading state lex_convert_state_0: # Check for end of line characters beq $t1, '\0', lex_convert_end beq $t1, '\n', lex_convert_end # If ' ', skip beq $t1, ' ', lex_convert_next_itr # Check if number blt $t1, '0', lex_convert_state_0_not_num bgt $t1, '9', lex_convert_state_0_not_num # Set FSM state to number reading li $t2, 1 # Set numeral length to 1 li $t5, 1 # Convert character to number subiu $t4, $t1, '0' j lex_convert_next_itr lex_convert_state_0_not_num: # Check if ( bne $t1, '(', lex_convert_state_0_not_open_paren # Store ( token li $t6, 1 lui $t4, 1 ori $t4, $t4, 0 j lex_convert_store_token lex_convert_state_0_not_open_paren: # Check if ) bne $t1, ')', lex_convert_state_0_not_close_paren # Store ) token li $t6, 2 lui $t4, 2 ori $t4, $t4, 0 j lex_convert_store_token lex_convert_state_0_not_close_paren: # Check if + bne $t1, '+', lex_convert_state_0_not_plus # If previous token was an operator or left paren # skip ble $t6, 1, lex_convert_next_itr bgt $t6, 8, lex_convert_state_0_plus_passed_check beq $t6, 2, lex_convert_state_0_plus_passed_check j lex_convert_next_itr lex_convert_state_0_plus_passed_check: # Store + token li $t6, 3 lui $t4, 3 ori $t4, $t4, 1 j lex_convert_store_token lex_convert_state_0_not_plus: # Check if - bne $t1, '-', lex_convert_state_0_not_minus # If previous token was an operator, left paren, # or empty, add an inversion operator ble $t6, 1, lex_convert_state_0_invert_sign bgt $t6, 8, lex_convert_state_0_minus_passed_check beq $t6, 2, lex_convert_state_0_minus_passed_check lex_convert_state_0_invert_sign: # Store invert token li $t6, 7 lui $t4, 7 ori $t4, 3 j lex_convert_store_token lex_convert_state_0_minus_passed_check: # Store - token li $t6, 4 lui $t4, 4 ori $t4, $t4, 1 j lex_convert_store_token lex_convert_state_0_not_minus: # Check if * bne $t1, '*', lex_convert_state_0_not_mult # Store * token li $t6, 5 lui $t4, 5 ori $t4, $t4, 2 j lex_convert_store_token lex_convert_state_0_not_mult: # Check if / bne $t1, '/', lex_convert_state_0_not_div # Store / token li $t6, 6 lui $t4, 6 ori $t4, $t4, 2 j lex_convert_store_token lex_convert_state_0_not_div: # Check if = bne $t1, '=', lex_convert_state_0_not_equals # Store = token li $t6, 8 lui $t4, 8 ori $t4, $t4, 4 j lex_convert_store_token lex_convert_state_0_not_equals: # Check if uppercase letter blt $t1, 'A', lex_convert_not_character ble $t1, 'Z', lex_convert_store_character blt $t1, 'a', lex_convert_not_character ble $t1, 'z', lex_convert_store_character j lex_convert_not_character lex_convert_store_character: # Store variable token li $t6, 9 lui $t4, 9 or $t4, $t4, $t1 j lex_convert_store_token lex_convert_not_character: j invalid_character # Numeric reading state lex_convert_state_1: # If not a number, move to state exit blt $t1, '0', lex_convert_state_1_exit bgt $t1, '9', lex_convert_state_1_exit # Otherwise, check numeral length addiu $t5, $t5, 1 bgt $t5, 4, invalid_numeral # Increment stored token value mulu $t4, $t4, 10 # Convert $t0 to digit subiu $t1, $t1, '0' # Add digit to token value addu $t4, $t4, $t1 j lex_convert_next_itr lex_convert_state_1_exit: # Put token type in upper 16 bits li $t6, 10 lui $t8, 10 or $t4, $t4, $t8 sw $t4, expr_buffer1($t3) addiu $t3, $t3, 4 # Move back to state 0 without looping li $t2, 0 j lex_convert_state_0 lex_convert_store_token: # Store token and increment token index sw $t4, expr_buffer1($t3) addiu $t3, $t3, 4 # Jump to next iteration j lex_convert_next_itr lex_convert_next_itr: addiu $t0, $t0, 1 j lex_convert_loop lex_convert_end: # Store an end of expression token before returning lui $t4, 0 sw $t4, expr_buffer1($t3) jr $ra ################################################### # End lex_convert ################################################### ################################################### # validate_expression ################################################### # # validate_expression checks the expression stored # at expr_buffer1 with a few simple checks: # # Only one = operator supported # Only one variable is allowed # The left hand side of must be only a variable token # Parentheses must be balanced # +* +/ -* -/ ** // */ /* (* (/ are invalid # ) must be followed by an operator # # validate_expression will jump unconditionally if # there are any errors # # The variable name will be stored in $s0 # If the expression is an assignment, then 8 will # be stored in $s2 validate_expression: # $t0 as token index # $t1 as previous token # $t2 as current token # $t3 as paren counter # $t4 as value counter # $t6 as previous token type # $t7 as current token type # $t9 as new variable name # $s0 as variable name li $t0, 0 li $t1, 0 li $t2, 0 li $t3, 0 li $t4, 0 li $t6, 0 li $t7, 0 move $t9, $s0 li $s2, 0 # Check if expr[0] is = lw $t2, expr_buffer1 srl $t2, $t2, 16 beq $t2, 8, invalid_lhs # Check if expr[1] is = lw $t2, expr_buffer1+4 srl $t2, $t2, 16 bne $t2, 8, validate_expression_loop_start # Check if expr[0] is a variable lw $t2, expr_buffer1 srl $t7, $t2, 16 bne $t7, 9, invalid_lhs # Set variable name andi $t9, $t2, 0xffff # Set token index to 2 li $t0, 8 li $s2, 8 j validate_expression_loop_start validate_expression_loop_start: li $t2, 0 li $t7, 0 j validate_expression_loop validate_expression_loop: # Store old token and type move $t1, $t2 move $t6, $t7 # Load next token lw $t2, expr_buffer1($t0) # Find current token type srl $t7, $t2, 16 # If token is end bne $t7, 0, validate_expression_not_end # Check paren counter bnez $t3, invalid_expression j validate_expression_exit validate_expression_not_end: # Check for extra = beq $t7, 8, invalid_expression # Check for variable bne $t7, 9, validate_expression_not_variable # Get current token variable name andi $t5, $t2, 0xffff # Increment value counter addiu $t4, $t4, 1 # If using a different variable name, invalidate bne $t5, $s0, invalid_expression # Cannot follow a ) beq $t6, 2, invalid_expression # Cannot follow a number beq $t6, 10, invalid_expression # Cannot follow another variable beq $t6, 9, invalid_expression j validate_expression_next_itr validate_expression_not_variable: # Check if ( bne $t7, 1, validate_expression_not_open_paren # Increment paren counter addiu $t3, $t3, 1 j validate_expression_next_itr validate_expression_not_open_paren: # Check if ) bne $t7, 2, validate_expression_not_close_paren # If paren counter goes below 0, invalid beqz $t3, invalid_paren # Decrement paren counter subiu $t3, $t3, 1 # Can't have () beq $t6, 1, invalid_expression # Can't have +) beq $t6, 3, invalid_expression # Can't have -) beq $t6, 4, invalid_expression # Can't have *) beq $t6, 5, invalid_expression # Can't have /) beq $t6, 6, invalid_expression # Can't have -) beq $t6, 7, invalid_expression j validate_expression_next_itr validate_expression_not_close_paren: # Check for * or / blt $t7, 5, validate_expression_not_mult_or_divide bgt $t7, 6, validate_expression_not_mult_or_divide # * or / can only be preceeded by a number, variable # or close paren beq $t6, 2, validate_expression_next_itr blt $t6, 9, invalid_expression j validate_expression_next_itr validate_expression_not_mult_or_divide: # Check for number bne $t7, 10, validate_expression_not_number # Increment value counter addiu $t4, $t4, 1 # Number preceeded by number or variable is invalid beq $t6, 10, invalid_expression beq $t6, 9, invalid_expression validate_expression_not_number: j validate_expression_next_itr validate_expression_next_itr: addiu $t0, $t0, 4 j validate_expression_loop validate_expression_exit: # Must have at least 1 variable or numeric literal # in expression beqz $t4, invalid_expression beq $t6, 2, validate_expression_final_check_passed blt $t6, 9, invalid_expression validate_expression_final_check_passed: # Store new variable move $s0, $t9 jr $ra ######################################################## # End validate_expression ######################################################## ######################################################## # convert_expression ######################################################## # # convert_expression converts the expression in # expr_buffer1 from infix notation to postfix notation # following the shunting-yard algorithm. The resulting # expression is stored in expr_buffer2, following the # same token format as lex_convert convert_expr: # $t0 as token index # $t1 as token # $t2 as token type # $t3 as token output index # $t4, $t5, $t6 as temp # $t8 as stack pointer # $t9 as stack top token move $t0, $s2 li $t1, 0 li $t2, 0 li $t3, 0 li $t8, 0 li $t9, 0 convert_expr_loop: # Load token value and type lw $t1, expr_buffer1($t0) srl $t2, $t1, 16 # Check for end beq $t2, 0, convert_expr_exit # Check if literal or variable blt $t2, 9, convert_expr_not_value # Store in ouput sw $t1, expr_buffer2($t3) addiu $t3, $t3, 4 j convert_expr_next_itr convert_expr_not_value: # If left paren bne $t2, 1, convert_expr_not_left_paren # Push to stack sw $t1, stack($t8) addiu $t8, $t8, 4 move $t9, $t1 j convert_expr_next_itr convert_expr_not_left_paren: # If right paren bne $t2, 2, convert_expr_operator # $t5 as token type convert_expr_inner_loop1: # Peek token on stack srl $t5, $t9, 16 # Exit loop once left paren is found beq $t5, 1, convert_expr_inner_loop1_end # Otherwise pop from the stack onto the result sw $t9, expr_buffer2($t3) addiu $t8, $t8, -8 lw $t9, stack($t8) addiu $t8, $t8, 4 addiu $t3, $t3, 4 j convert_expr_inner_loop1 convert_expr_inner_loop1_end: # Pop without storing for left paren addiu $t8, $t8, -8 # Update top stack value lw $t9, stack($t8) addiu $t8, $t8, 4 j convert_expr_next_itr convert_expr_operator: # Get token operator precedence andi $t4, $t1, 0xffff # Use $t4 as current token precedence # $t5 as stack token precedence # $t6 as stack token type convert_expr_inner_loop2: # Get stack token precedence andi $t5, $t9, 0xffff # If current token has higher precedence # than stack token, or stack is at end, # or both tokens are invert, # exit loop beq $t8, 0, convert_expr_inner_loop2_end bne $t2, 7, convert_expr_no_negate_token srl $t6, $t9, 16 beq $t6, 7, convert_expr_inner_loop2_end convert_expr_no_negate_token: bgt $t4, $t5, convert_expr_inner_loop2_end # Otherwise pop stack onto result sw $t9, expr_buffer2($t3) addiu $t3, $t3, 4 addiu $t8, $t8, -8 lw $t9, stack($t8) addiu $t8, $t8, 4 j convert_expr_inner_loop2 convert_expr_inner_loop2_end: # Push current token onto stack sw $t1, stack($t8) addiu $t8, $t8, 4 move $t9, $t1 convert_expr_next_itr: addiu $t0, $t0, 4 j convert_expr_loop convert_expr_exit: convert_expr_inner_loop3: # If at the end of the stack, exit beq $t8, 0, convert_expr_inner_loop3_end # Otherwise pop from the stack onto result sw $t9, expr_buffer2($t3) addiu $t3, $t3, 4 addiu $t8, $t8, -8 lw $t9, stack($t8) addiu $t8, $t8, 4 j convert_expr_inner_loop3 convert_expr_inner_loop3_end: sw $zero, expr_buffer2($t3) jr $ra ##################################################### # End convert_expr ##################################################### ##################################################### # evaluate_expr ##################################################### # # evaluate_expr evaluates the postfix expression # stored in expr_buffer2 evaluate_expr: # $t0 as token index # $t1 as token # $t2 as token type # $t3 as operand 1 # $t4 as operand 2 # $t5 as temp # $t8 as stack pointer li $t0, 0 li $t1, 0 li $t2, 0 li $t3, 0 li $t4, 0 li $t8, 0 evaluate_expr_loop: # Load token lw $t1, expr_buffer2($t0) srl $t2, $t1, 16 # Check for end token beq $t2, 0, evaluate_expr_exit # Check for operator bgt $t2, 8, evaluate_expr_no_op # Load operands from stack addiu $t8, $t8, -4 lw $t4, stack($t8) addiu $t8, $t8, -4 lw $t3, stack($t8) # Perform + operation and store on stack bne $t2, 3, evaluate_expr_no_add add $t3, $t3, $t4 sw $t3, stack($t8) addiu $t8, $t8, 4 j evaluate_expr_next_itr evaluate_expr_no_add: # Perform - operation and store on stack bne $t2, 4, evaluate_expr_no_sub sub $t3, $t3, $t4 sw $t3, stack($t8) addiu $t8, $t8, 4 j evaluate_expr_next_itr evaluate_expr_no_sub: # Perform * operation and store on stack bne $t2, 5, evaluate_expr_no_mult mul $t3, $t3, $t4 sw $t3, stack($t8) addiu $t8, $t8, 4 j evaluate_expr_next_itr evaluate_expr_no_mult: # Perform / operation and store on stack bne $t2, 6, evaluate_expr_no_div beqz $t4, divide_by_zero div $t3, $t3, $t4 sw $t3, stack($t8) addiu $t8, $t8, 4 j evaluate_expr_next_itr evaluate_expr_no_div: # Perform negate operation and store on stack bne $t2, 7, evaluate_expr_next_itr sub $t4, $zero, $t4 sw $t3, stack($t8) addiu $t8, $t8, 4 sw $t4, stack($t8) addiu $t8, $t8, 4 j evaluate_expr_next_itr evaluate_expr_no_op: bne $t2, 9, evaluate_expr_no_variable # Push stored variable to stack sw $s1, stack($t8) addiu $t8, $t8, 4 j evaluate_expr_next_itr evaluate_expr_no_variable: andi $t1, 0xffff sw $t1, stack($t8) addiu $t8, $t8, 4 evaluate_expr_next_itr: addiu $t0, $t0, 4 j evaluate_expr_loop evaluate_expr_exit: # Pop from the top of the stack lw $v0, stack jr $ra
20.230058
65
0.679639
27cff51d9ab74bfb52c1fb487388606611792c4d
130
asm
Assembly
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud3/Deutch/_ff_dkud3_TrnsDeutch.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud3/Deutch/_ff_dkud3_TrnsDeutch.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud3/Deutch/_ff_dkud3_TrnsDeutch.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION rodata_font_fzx PUBLIC _ff_dkud3_TrnsDeutch _ff_dkud3_TrnsDeutch: BINARY "font/fzx/fonts/dkud3/Deutch/trnsdeutch.fzx"
14.444444
51
0.846154
7e3eb94e4ca31cdfd1aaa98f0307cfffd4a0f153
799
asm
Assembly
libsrc/spectrum/opus/zx_opus.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
1
2018-09-04T23:07:24.000Z
2018-09-04T23:07:24.000Z
libsrc/spectrum/opus/zx_opus.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
libsrc/spectrum/opus/zx_opus.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
; ; ZX Spectrum specific routines ; Stefano Bodrato - 5/2/2008 ; ; int opus_installed(); ; ; The result is: ; - 0 (false) if the Opus Discovery Interface is missing ; - 1 (true) if the Opus Discovery Interface is connected ; ; Tries to issue a POINT #0,1 command, to see if the syntax is accepted. ; If so, tries the short style command LOAD *PI;"A" ; Shouldn't conflict with other interfaces. ; ; $Id: zx_opus.asm,v 1.3 2008/02/08 08:20:25 stefano Exp $ ; XLIB zx_opus LIB zx_syntax zx_opus: ld hl,testcmd call zx_syntax xor a or l ret z ld hl,testcmd2 ; further test (Disciple might accept "POINT") jp zx_syntax testcmd: defb 169,35,195,167,44,188,167,13 ; POINT # NOT PI,SGN PI <CR> testcmd2: defb 239,42,167,59,34,65,34,13 ; LOAD *PI;"A"
23.5
75
0.664581
d09d01a36001f11b6853e0772acb8d427bb4b3e9
608
asm
Assembly
Profiling/x32/example.asm
zummenix/asm-projects
2989d1b28cc7298647240870afab10d92c5281cb
[ "MIT" ]
1
2019-05-26T15:19:23.000Z
2019-05-26T15:19:23.000Z
Profiling/x32/example.asm
zummenix/asm-projects
2989d1b28cc7298647240870afab10d92c5281cb
[ "MIT" ]
null
null
null
Profiling/x32/example.asm
zummenix/asm-projects
2989d1b28cc7298647240870afab10d92c5281cb
[ "MIT" ]
null
null
null
format PE GUI include 'win32w.inc' section '.text' code readable executable start: stdcall Profiling.getTime mov [ValueTime],eax invoke Sleep,999 stdcall Profiling.showResult,[ValueTime] invoke ExitProcess,0 include 'Profiling.inc' section '.data' data readable writeable ValueTime dd ? section '.idata' import data readable writeable library kernel32,'KERNEL32.DLL',\ gdi32,'GDI32.DLL',\ user32,'USER32.DLL' include 'api\kernel32.inc' include 'api\gdi32.inc' include 'api\user32.inc'
19.612903
49
0.629934
60cf945a4653a136cec12e77e48c13203f9bb56f
14,488
asm
Assembly
libtool/src/gmp-6.1.2/mpn/x86_64/k8/sqr_basecase.asm
kroggen/aergo
05af317eaa1b62b21dc0144ef74a9e7acb14fb87
[ "MIT" ]
1,602
2015-01-06T11:26:31.000Z
2022-03-30T06:17:21.000Z
libtool/src/gmp-6.1.2/mpn/x86_64/k8/sqr_basecase.asm
kroggen/aergo
05af317eaa1b62b21dc0144ef74a9e7acb14fb87
[ "MIT" ]
11,789
2015-01-05T04:50:15.000Z
2022-03-31T23:39:19.000Z
libtool/src/gmp-6.1.2/mpn/x86_64/k8/sqr_basecase.asm
kroggen/aergo
05af317eaa1b62b21dc0144ef74a9e7acb14fb87
[ "MIT" ]
498
2015-01-08T18:58:18.000Z
2022-03-20T15:37:45.000Z
dnl AMD64 mpn_sqr_basecase. dnl Contributed to the GNU project by Torbjorn Granlund. dnl Copyright 2008, 2009, 2011, 2012 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of either: dnl dnl * the GNU Lesser General Public License as published by the Free dnl Software Foundation; either version 3 of the License, or (at your dnl option) any later version. dnl dnl or dnl dnl * the GNU General Public License as published by the Free Software dnl Foundation; either version 2 of the License, or (at your option) any dnl later version. dnl dnl or both in parallel, as here. dnl dnl The GNU MP Library is distributed in the hope that it will be useful, but dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License dnl for more details. dnl dnl You should have received copies of the GNU General Public License and the dnl GNU Lesser General Public License along with the GNU MP Library. If not, dnl see https://www.gnu.org/licenses/. include(`../config.m4') C The inner loops of this code are the result of running a code generation and C optimization tool suite written by David Harvey and Torbjorn Granlund. C NOTES C * There is a major stupidity in that we call mpn_mul_1 initially, for a C large trip count. Instead, we should follow the generic/sqr_basecase.c C code which uses addmul_2s from the start, conditionally leaving a 1x1 C multiply to the end. (In assembly code, one would stop invoking C addmul_2s loops when perhaps 3x2s respectively a 2x2s remains.) C * Another stupidity is in the sqr_diag_addlsh1 code. It does not need to C save/restore carry, instead it can propagate into the high product word. C * Align more labels, should shave off a few cycles. C * We can safely use 32-bit size operations, since operands with (2^32) C limbs will lead to non-termination in practice. C * The jump table could probably be optimized, at least for non-pic. C * The special code for n <= 4 was quickly written. It is probably too C large and unnecessarily slow. C * Consider combining small cases code so that the n=k-1 code jumps into the C middle of the n=k code. C * Avoid saving registers for small cases code. C * Needed variables: C n r11 input size C i r8 work left, initially n C j r9 inner loop count C r15 unused C v0 r13 C v1 r14 C rp rdi C up rsi C w0 rbx C w1 rcx C w2 rbp C w3 r10 C tp r12 C lo rax C hi rdx C rsp C INPUT PARAMETERS define(`rp', `%rdi') define(`up', `%rsi') define(`n_param', `%rdx') define(`n', `%r11') define(`tp', `%r12') define(`i', `%r8') define(`j', `%r9') define(`v0', `%r13') define(`v1', `%r14') define(`w0', `%rbx') define(`w1', `%rcx') define(`w2', `%rbp') define(`w3', `%r10') ABI_SUPPORT(DOS64) ABI_SUPPORT(STD64) ASM_START() TEXT ALIGN(16) PROLOGUE(mpn_sqr_basecase) FUNC_ENTRY(3) mov R32(n_param), R32(%rcx) mov R32(n_param), R32(n) C free original n register (rdx) add $-40, %rsp and $3, R32(%rcx) cmp $4, R32(n_param) lea 4(%rcx), %r8 mov %rbx, 32(%rsp) mov %rbp, 24(%rsp) mov %r12, 16(%rsp) mov %r13, 8(%rsp) mov %r14, (%rsp) cmovg %r8, %rcx lea L(tab)(%rip), %rax ifdef(`PIC', ` movslq (%rax,%rcx,4), %r10 add %r10, %rax jmp *%rax ',` jmp *(%rax,%rcx,8) ') JUMPTABSECT ALIGN(8) L(tab): JMPENT( L(4), L(tab)) JMPENT( L(1), L(tab)) JMPENT( L(2), L(tab)) JMPENT( L(3), L(tab)) JMPENT( L(0m4), L(tab)) JMPENT( L(1m4), L(tab)) JMPENT( L(2m4), L(tab)) JMPENT( L(3m4), L(tab)) TEXT L(1): mov (up), %rax mul %rax add $40, %rsp mov %rax, (rp) mov %rdx, 8(rp) FUNC_EXIT() ret L(2): mov (up), %rax mov %rax, %r8 mul %rax mov 8(up), %r11 mov %rax, (rp) mov %r11, %rax mov %rdx, %r9 mul %rax add $40, %rsp mov %rax, %r10 mov %r11, %rax mov %rdx, %r11 mul %r8 xor %r8, %r8 add %rax, %r9 adc %rdx, %r10 adc %r8, %r11 add %rax, %r9 mov %r9, 8(rp) adc %rdx, %r10 mov %r10, 16(rp) adc %r8, %r11 mov %r11, 24(rp) FUNC_EXIT() ret L(3): mov (up), %rax mov %rax, %r10 mul %rax mov 8(up), %r11 mov %rax, (rp) mov %r11, %rax mov %rdx, 8(rp) mul %rax mov 16(up), %rcx mov %rax, 16(rp) mov %rcx, %rax mov %rdx, 24(rp) mul %rax mov %rax, 32(rp) mov %rdx, 40(rp) mov %r11, %rax mul %r10 mov %rax, %r8 mov %rcx, %rax mov %rdx, %r9 mul %r10 xor %r10, %r10 add %rax, %r9 mov %r11, %rax mov %r10, %r11 adc %rdx, %r10 mul %rcx add $40, %rsp add %rax, %r10 adc %r11, %rdx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %rdx, %rdx adc %r11, %r11 add %r8, 8(rp) adc %r9, 16(rp) adc %r10, 24(rp) adc %rdx, 32(rp) adc %r11, 40(rp) FUNC_EXIT() ret L(4): mov (up), %rax mov %rax, %r11 mul %rax mov 8(up), %rbx mov %rax, (rp) mov %rbx, %rax mov %rdx, 8(rp) mul %rax mov %rax, 16(rp) mov %rdx, 24(rp) mov 16(up), %rax mul %rax mov %rax, 32(rp) mov %rdx, 40(rp) mov 24(up), %rax mul %rax mov %rax, 48(rp) mov %rbx, %rax mov %rdx, 56(rp) mul %r11 add $32, %rsp mov %rax, %r8 mov %rdx, %r9 mov 16(up), %rax mul %r11 xor %r10, %r10 add %rax, %r9 adc %rdx, %r10 mov 24(up), %rax mul %r11 xor %r11, %r11 add %rax, %r10 adc %rdx, %r11 mov 16(up), %rax mul %rbx xor %rcx, %rcx add %rax, %r10 adc %rdx, %r11 adc $0, %rcx mov 24(up), %rax mul %rbx pop %rbx add %rax, %r11 adc %rdx, %rcx mov 16(up), %rdx mov 24(up), %rax mul %rdx add %rax, %rcx adc $0, %rdx add %r8, %r8 adc %r9, %r9 adc %r10, %r10 adc %r11, %r11 adc %rcx, %rcx mov $0, R32(%rax) adc %rdx, %rdx adc %rax, %rax add %r8, 8(rp) adc %r9, 16(rp) adc %r10, 24(rp) adc %r11, 32(rp) adc %rcx, 40(rp) adc %rdx, 48(rp) adc %rax, 56(rp) FUNC_EXIT() ret L(0m4): lea -16(rp,n,8), tp C point tp in middle of result operand mov (up), v0 mov 8(up), %rax lea (up,n,8), up C point up at end of input operand lea -4(n), i C Function mpn_mul_1_m3(tp, up - i, i, up[-i - 1]) xor R32(j), R32(j) sub n, j mul v0 xor R32(w2), R32(w2) mov %rax, w0 mov 16(up,j,8), %rax mov %rdx, w3 jmp L(L3) ALIGN(16) L(mul_1_m3_top): add %rax, w2 mov w3, (tp,j,8) mov (up,j,8), %rax adc %rdx, w1 xor R32(w0), R32(w0) mul v0 xor R32(w3), R32(w3) mov w2, 8(tp,j,8) add %rax, w1 adc %rdx, w0 mov 8(up,j,8), %rax mov w1, 16(tp,j,8) xor R32(w2), R32(w2) mul v0 add %rax, w0 mov 16(up,j,8), %rax adc %rdx, w3 L(L3): xor R32(w1), R32(w1) mul v0 add %rax, w3 mov 24(up,j,8), %rax adc %rdx, w2 mov w0, 24(tp,j,8) mul v0 add $4, j js L(mul_1_m3_top) add %rax, w2 mov w3, (tp) adc %rdx, w1 mov w2, 8(tp) mov w1, 16(tp) lea eval(2*8)(tp), tp C tp += 2 lea -8(up), up jmp L(dowhile) L(1m4): lea 8(rp,n,8), tp C point tp in middle of result operand mov (up), v0 C u0 mov 8(up), %rax C u1 lea 8(up,n,8), up C point up at end of input operand lea -3(n), i C Function mpn_mul_2s_m0(tp, up - i, i, up - i - 1) lea -3(n), j neg j mov %rax, v1 C u1 mul v0 C u0 * u1 mov %rdx, w1 xor R32(w2), R32(w2) mov %rax, 8(rp) jmp L(m0) ALIGN(16) L(mul_2_m0_top): mul v1 add %rax, w0 adc %rdx, w1 mov -24(up,j,8), %rax mov $0, R32(w2) mul v0 add %rax, w0 mov -24(up,j,8), %rax adc %rdx, w1 adc $0, R32(w2) mul v1 C v1 * u0 add %rax, w1 mov w0, -24(tp,j,8) adc %rdx, w2 L(m0): mov -16(up,j,8), %rax C u2, u6 ... mul v0 C u0 * u2 mov $0, R32(w3) add %rax, w1 adc %rdx, w2 mov -16(up,j,8), %rax adc $0, R32(w3) mov $0, R32(w0) mov w1, -16(tp,j,8) mul v1 add %rax, w2 mov -8(up,j,8), %rax adc %rdx, w3 mov $0, R32(w1) mul v0 add %rax, w2 mov -8(up,j,8), %rax adc %rdx, w3 adc $0, R32(w0) mul v1 add %rax, w3 mov w2, -8(tp,j,8) adc %rdx, w0 L(m2x): mov (up,j,8), %rax mul v0 add %rax, w3 adc %rdx, w0 adc $0, R32(w1) add $4, j mov -32(up,j,8), %rax mov w3, -32(tp,j,8) js L(mul_2_m0_top) mul v1 add %rax, w0 adc %rdx, w1 mov w0, -8(tp) mov w1, (tp) lea -16(up), up lea eval(3*8-24)(tp), tp C tp += 3 jmp L(dowhile_end) L(2m4): lea -16(rp,n,8), tp C point tp in middle of result operand mov (up), v0 mov 8(up), %rax lea (up,n,8), up C point up at end of input operand lea -4(n), i C Function mpn_mul_1_m1(tp, up - (i - 1), i - 1, up[-i]) lea -2(n), j neg j mul v0 mov %rax, w2 mov (up,j,8), %rax mov %rdx, w1 jmp L(L1) ALIGN(16) L(mul_1_m1_top): add %rax, w2 mov w3, (tp,j,8) mov (up,j,8), %rax adc %rdx, w1 L(L1): xor R32(w0), R32(w0) mul v0 xor R32(w3), R32(w3) mov w2, 8(tp,j,8) add %rax, w1 adc %rdx, w0 mov 8(up,j,8), %rax mov w1, 16(tp,j,8) xor R32(w2), R32(w2) mul v0 add %rax, w0 mov 16(up,j,8), %rax adc %rdx, w3 xor R32(w1), R32(w1) mul v0 add %rax, w3 mov 24(up,j,8), %rax adc %rdx, w2 mov w0, 24(tp,j,8) mul v0 add $4, j js L(mul_1_m1_top) add %rax, w2 mov w3, (tp) adc %rdx, w1 mov w2, 8(tp) mov w1, 16(tp) lea eval(2*8)(tp), tp C tp += 2 lea -8(up), up jmp L(dowhile_mid) L(3m4): lea 8(rp,n,8), tp C point tp in middle of result operand mov (up), v0 C u0 mov 8(up), %rax C u1 lea 8(up,n,8), up C point up at end of input operand lea -5(n), i C Function mpn_mul_2s_m2(tp, up - i + 1, i - 1, up - i) lea -1(n), j neg j mov %rax, v1 C u1 mul v0 C u0 * u1 mov %rdx, w3 xor R32(w0), R32(w0) xor R32(w1), R32(w1) mov %rax, 8(rp) jmp L(m2) ALIGN(16) L(mul_2_m2_top): mul v1 add %rax, w0 adc %rdx, w1 mov -24(up,j,8), %rax mov $0, R32(w2) mul v0 add %rax, w0 mov -24(up,j,8), %rax adc %rdx, w1 adc $0, R32(w2) mul v1 C v1 * u0 add %rax, w1 mov w0, -24(tp,j,8) adc %rdx, w2 mov -16(up,j,8), %rax mul v0 mov $0, R32(w3) add %rax, w1 adc %rdx, w2 mov -16(up,j,8), %rax adc $0, R32(w3) mov $0, R32(w0) mov w1, -16(tp,j,8) mul v1 add %rax, w2 mov -8(up,j,8), %rax adc %rdx, w3 mov $0, R32(w1) mul v0 add %rax, w2 mov -8(up,j,8), %rax adc %rdx, w3 adc $0, R32(w0) mul v1 add %rax, w3 mov w2, -8(tp,j,8) adc %rdx, w0 L(m2): mov (up,j,8), %rax mul v0 add %rax, w3 adc %rdx, w0 adc $0, R32(w1) add $4, j mov -32(up,j,8), %rax mov w3, -32(tp,j,8) js L(mul_2_m2_top) mul v1 add %rax, w0 adc %rdx, w1 mov w0, -8(tp) mov w1, (tp) lea -16(up), up jmp L(dowhile_mid) L(dowhile): C Function mpn_addmul_2s_m2(tp, up - (i - 1), i - 1, up - i) lea 4(i), j neg j mov 16(up,j,8), v0 mov 24(up,j,8), v1 mov 24(up,j,8), %rax mul v0 xor R32(w3), R32(w3) add %rax, 24(tp,j,8) adc %rdx, w3 xor R32(w0), R32(w0) xor R32(w1), R32(w1) jmp L(am2) ALIGN(16) L(addmul_2_m2_top): add w3, (tp,j,8) adc %rax, w0 mov 8(up,j,8), %rax adc %rdx, w1 mov $0, R32(w2) mul v0 add %rax, w0 mov 8(up,j,8), %rax adc %rdx, w1 adc $0, R32(w2) mul v1 C v1 * u0 add w0, 8(tp,j,8) adc %rax, w1 adc %rdx, w2 mov 16(up,j,8), %rax mov $0, R32(w3) mul v0 C v0 * u1 add %rax, w1 mov 16(up,j,8), %rax adc %rdx, w2 adc $0, R32(w3) mul v1 C v1 * u1 add w1, 16(tp,j,8) adc %rax, w2 mov 24(up,j,8), %rax adc %rdx, w3 mul v0 mov $0, R32(w0) add %rax, w2 adc %rdx, w3 mov $0, R32(w1) mov 24(up,j,8), %rax adc $0, R32(w0) mul v1 add w2, 24(tp,j,8) adc %rax, w3 adc %rdx, w0 L(am2): mov 32(up,j,8), %rax mul v0 add %rax, w3 mov 32(up,j,8), %rax adc %rdx, w0 adc $0, R32(w1) mul v1 add $4, j js L(addmul_2_m2_top) add w3, (tp) adc %rax, w0 adc %rdx, w1 mov w0, 8(tp) mov w1, 16(tp) lea eval(2*8)(tp), tp C tp += 2 add $-2, R32(i) C i -= 2 L(dowhile_mid): C Function mpn_addmul_2s_m0(tp, up - (i - 1), i - 1, up - i) lea 2(i), j neg j mov (up,j,8), v0 mov 8(up,j,8), v1 mov 8(up,j,8), %rax mul v0 xor R32(w1), R32(w1) add %rax, 8(tp,j,8) adc %rdx, w1 xor R32(w2), R32(w2) jmp L(20) ALIGN(16) L(addmul_2_m0_top): add w3, (tp,j,8) adc %rax, w0 mov 8(up,j,8), %rax adc %rdx, w1 mov $0, R32(w2) mul v0 add %rax, w0 mov 8(up,j,8), %rax adc %rdx, w1 adc $0, R32(w2) mul v1 C v1 * u0 add w0, 8(tp,j,8) adc %rax, w1 adc %rdx, w2 L(20): mov 16(up,j,8), %rax mov $0, R32(w3) mul v0 C v0 * u1 add %rax, w1 mov 16(up,j,8), %rax adc %rdx, w2 adc $0, R32(w3) mul v1 C v1 * u1 add w1, 16(tp,j,8) adc %rax, w2 mov 24(up,j,8), %rax adc %rdx, w3 mul v0 mov $0, R32(w0) add %rax, w2 adc %rdx, w3 mov $0, R32(w1) mov 24(up,j,8), %rax adc $0, R32(w0) mul v1 add w2, 24(tp,j,8) adc %rax, w3 adc %rdx, w0 mov 32(up,j,8), %rax mul v0 add %rax, w3 mov 32(up,j,8), %rax adc %rdx, w0 adc $0, R32(w1) mul v1 add $4, j js L(addmul_2_m0_top) add w3, (tp) adc %rax, w0 adc %rdx, w1 mov w0, 8(tp) mov w1, 16(tp) lea eval(2*8)(tp), tp C tp += 2 L(dowhile_end): add $-2, R32(i) C i -= 2 jne L(dowhile) C Function mpn_addmul_2s_2 mov -16(up), v0 mov -8(up), v1 mov -8(up), %rax mul v0 xor R32(w3), R32(w3) add %rax, -8(tp) adc %rdx, w3 xor R32(w0), R32(w0) xor R32(w1), R32(w1) mov (up), %rax mul v0 add %rax, w3 mov (up), %rax adc %rdx, w0 mul v1 add w3, (tp) adc %rax, w0 adc %rdx, w1 mov w0, 8(tp) mov w1, 16(tp) C Function mpn_sqr_diag_addlsh1 lea -4(n,n), j mov 8(rp), %r11 lea -8(up), up lea (rp,j,8), rp neg j mov (up,j,4), %rax mul %rax test $2, R8(j) jnz L(odd) L(evn): add %r11, %r11 sbb R32(%rbx), R32(%rbx) C save CF add %rdx, %r11 mov %rax, (rp,j,8) jmp L(d0) L(odd): add %r11, %r11 sbb R32(%rbp), R32(%rbp) C save CF add %rdx, %r11 mov %rax, (rp,j,8) lea -2(j), j jmp L(d1) ALIGN(16) L(top): mov (up,j,4), %rax mul %rax add R32(%rbp), R32(%rbp) C restore carry adc %rax, %r10 adc %rdx, %r11 mov %r10, (rp,j,8) L(d0): mov %r11, 8(rp,j,8) mov 16(rp,j,8), %r10 adc %r10, %r10 mov 24(rp,j,8), %r11 adc %r11, %r11 nop sbb R32(%rbp), R32(%rbp) C save CF mov 8(up,j,4), %rax mul %rax add R32(%rbx), R32(%rbx) C restore carry adc %rax, %r10 adc %rdx, %r11 mov %r10, 16(rp,j,8) L(d1): mov %r11, 24(rp,j,8) mov 32(rp,j,8), %r10 adc %r10, %r10 mov 40(rp,j,8), %r11 adc %r11, %r11 sbb R32(%rbx), R32(%rbx) C save CF add $4, j js L(top) mov (up), %rax mul %rax add R32(%rbp), R32(%rbp) C restore carry adc %rax, %r10 adc %rdx, %r11 mov %r10, (rp) mov %r11, 8(rp) mov 16(rp), %r10 adc %r10, %r10 sbb R32(%rbp), R32(%rbp) C save CF neg R32(%rbp) mov 8(up), %rax mul %rax add R32(%rbx), R32(%rbx) C restore carry adc %rax, %r10 adc %rbp, %rdx mov %r10, 16(rp) mov %rdx, 24(rp) pop %r14 pop %r13 pop %r12 pop %rbp pop %rbx FUNC_EXIT() ret EPILOGUE()
17.930693
79
0.594423
4f5a15200206464c46937ea73660172787c77c37
4,650
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_ht_/i3-7100_9_0x84_notsx.log_16615_2425.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_ht_/i3-7100_9_0x84_notsx.log_16615_2425.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_ht_/i3-7100_9_0x84_notsx.log_16615_2425.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 %r12 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0xfe95, %rsi lea addresses_WC_ht+0xed95, %rdi nop cmp %r15, %r15 mov $13, %rcx rep movsw nop nop nop nop add $18482, %rax lea addresses_UC_ht+0x7f5f, %r11 nop nop sub %rsi, %rsi mov (%r11), %r15 nop nop inc %r11 lea addresses_WT_ht+0xf51f, %rsi lea addresses_normal_ht+0x4295, %rdi nop nop nop nop inc %r12 mov $97, %rcx rep movsl nop nop add $16298, %rdi pop %rsi pop %rdi pop %rcx pop %rax pop %r15 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r15 push %rax push %rbp push %rcx push %rdx // Faulty Load mov $0xa95, %rax nop cmp %rdx, %rdx vmovntdqa (%rax), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %rbp lea oracles, %r15 and $0xff, %rbp shlq $12, %rbp mov (%r15,%rbp,1), %rbp pop %rdx pop %rcx pop %rbp pop %rax pop %r15 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_P', 'same': False, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_P', 'same': True, 'size': 32, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 8, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'} {'49': 16615} 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 */
52.247191
2,999
0.662581
b4c2fb73d644239349849c0004cecde2c078005a
1,645
asm
Assembly
programs/oeis/240/A240001.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/240/A240001.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/240/A240001.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A240001: Number of 2 X n 0..3 arrays with no element equal to one plus the sum of elements to its left or two plus the sum of the elements above it or one plus the sum of the elements diagonally to its northwest, modulo 4. ; 5,13,25,42,65,95,133,180,237,305,385,478,585,707,845,1000,1173,1365,1577,1810,2065,2343,2645,2972,3325,3705,4113,4550,5017,5515,6045,6608,7205,7837,8505,9210,9953,10735,11557,12420,13325,14273,15265,16302,17385,18515,19693,20920,22197,23525,24905,26338,27825,29367,30965,32620,34333,36105,37937,39830,41785,43803,45885,48032,50245,52525,54873,57290,59777,62335,64965,67668,70445,73297,76225,79230,82313,85475,88717,92040,95445,98933,102505,106162,109905,113735,117653,121660,125757,129945,134225,138598,143065,147627,152285,157040,161893,166845,171897,177050,182305,187663,193125,198692,204365,210145,216033,222030,228137,234355,240685,247128,253685,260357,267145,274050,281073,288215,295477,302860,310365,317993,325745,333622,341625,349755,358013,366400,374917,383565,392345,401258,410305,419487,428805,438260,447853,457585,467457,477470,487625,497923,508365,518952,529685,540565,551593,562770,574097,585575,597205,608988,620925,633017,645265,657670,670233,682955,695837,708880,722085,735453,748985,762682,776545,790575,804773,819140,833677,848385,863265,878318,893545,908947,924525,940280,956213,972325,988617,1005090,1021745,1038583,1055605,1072812,1090205,1107785,1125553,1143510,1161657,1179995,1198525,1217248,1236165,1255277,1274585,1294090,1313793,1333695,1353797,1374100,1394605,1415313,1436225,1457342,1478665,1500195,1521933,1543880,1566037,1588405 add $0,4 mov $1,$0 bin $1,3 add $1,$0 add $1,$0 sub $1,7
164.5
1,361
0.821884
009b69641d6436126440500507adafb2c88cfabf
360
asm
Assembly
oeis/345/A345013.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/345/A345013.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/345/A345013.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A345013: Triangle read by rows, related to clusters of type D. ; Submitted by Christian Krause ; 1,4,3,15,20,6,56,105,60,10,210,504,420,140,15,792,2310,2520,1260,280,21,3003,10296,13860,9240,3150,504,28,11440,45045,72072,60060,27720,6930,840,36 lpb $0 add $1,1 sub $0,$1 lpe mov $2,$1 mul $2,2 sub $2,$0 add $2,2 bin $2,$1 bin $1,$0 mul $2,$1 mov $0,$2
21.176471
149
0.677778
940305f8e3b9c3cf4313c39739252e4d50160fe8
1,702
asm
Assembly
core/genBlock.asm
cristoferfb/columns
45737d5e53ea10fee1d770ca9b5c455f12df5999
[ "MIT" ]
null
null
null
core/genBlock.asm
cristoferfb/columns
45737d5e53ea10fee1d770ca9b5c455f12df5999
[ "MIT" ]
null
null
null
core/genBlock.asm
cristoferfb/columns
45737d5e53ea10fee1d770ca9b5c455f12df5999
[ "MIT" ]
null
null
null
generate_block: call procedure_delay ; Generamos un numero aleatorio mov bl,0x6 ; entre [0,5] este sera el color call procedure_generate_random_number ; de una de las secciones de una ; pieza inc al ; Aumentamos su valor en 1 para mov [block_color_1],al ; que no salga el "color" negro call procedure_delay mov bl,0x6 call procedure_generate_random_number inc al mov [block_color_2],al call procedure_delay mov bl,0x6 call procedure_generate_random_number inc al mov [block_color_3],al ret use_block: push ax ; Movemos los colores guardados ; y los asignamos al bloque actual mov al, byte [block_color_1] mov byte [cblock_color_1], al mov al, byte [block_color_2] mov byte [cblock_color_2], al mov al, byte [block_color_3] mov byte [cblock_color_3], al pop ax ret new_block: ; Comprobamos si es posible dibujar ; un nuevo bloque de ser asi ; se asigna su posicion inicial mov ah,02h xor bh,bh mov dh,8 mov dl,18 int 10h mov ah,08h int 10h cmp al,178 je quit ; De lo contratio game overs mov [block_x],dl mov [oblock_x],dl mov [block_y],dh mov [oblock_y],dh mov al,[lv_count] inc al mov [lv_count],al cmp al,5 je lv_up ret lv_up: mov al,[slowness] cmp al,1 je no_lv_up dec al mov [slowness],al mov byte [lv_count],0 ret no_lv_up: ret quit: mov ah,00h ; Terminamos la int 21h ; aplicacion
17.729167
75
0.585194
b5fd8eb3fcb5543b21eb10415c34698937fb7162
947
asm
Assembly
oeis/097/A097183.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/097/A097183.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/097/A097183.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A097183: Main diagonal of triangle A097181, in which the n-th row polynomial R_n(y) is formed from the initial (n+1) terms of g.f. A097182(y)^(n+1), where R_n(1/2) = 8^n for all n>=0. ; Submitted by Christian Krause ; 1,14,210,3220,49910,778596,12198004,191682920,3019005990,47633205620,752604648796,11904837171864,188493255221180,2986893121197160,47363590921840680,751502309293205456,11930099160029636614,189478045482823640340,3010595611560420063180,47852624983749834688440,760856737241622371546196,12101245249461993909353784,192519810786895357648810200,3063576119478421778237588400,48761919901698213303614948700,776289764835035555793549983304,12360921640065566157635757426456,196859122415859016584569470125040 mov $1,1 mov $2,1 mov $3,$0 mul $3,2 lpb $3 mul $1,$3 mul $1,3 sub $3,1 mul $2,$3 add $1,$2 mov $2,$1 mov $4,$5 cmp $4,0 add $5,$4 div $1,$5 div $2,$5 add $2,$1 mul $1,2 sub $3,1 add $5,1 lpe mov $0,$2
35.074074
495
0.768743
347b71a5933c3fbf9c0bbc7857e77ac55be3606b
424
asm
Assembly
oeis/309/A309914.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/309/A309914.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/309/A309914.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A309914: Distance from n to closest triangular number that is different from n. ; Submitted by Simon Strandgaard ; 1,1,1,2,1,1,3,1,2,1,4,1,2,2,1,5,1,2,3,2,1,6,1,2,3,3,2,1,7,1,2,3,4,3,2,1,8,1,2,3,4,4,3,2,1,9,1,2,3,4,5,4,3,2,1,10,1,2,3,4,5,5,4,3,2,1,11,1,2,3,4,5,6,5,4,3,2,1,12,1,2,3,4,5,6,6,5,4,3,2,1,13,1,2,3,4,5,6,7,6 mul $0,2 sub $0,1 mov $1,1 lpb $0 sub $0,$1 gcd $0,$2 sub $0,1 add $1,2 lpe div $0,2 add $0,1
26.5
205
0.584906
ed9ad1a8dee01912ac9318b109b1b73e50b3ff4b
343
asm
Assembly
programs/oeis/267/A267414.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/267/A267414.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/267/A267414.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A267414: Integers n such that n! = x^3 + y^3 + z^3 where x, y and z are nonnegative integers, is soluble. ; 0,1,2,4,9,10,11,12,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45 mov $3,$0 trn $0,2 mov $1,$0 mov $2,1 lpb $0,1 add $0,$2 div $0,2 div $1,2 add $1,3 mov $2,0 lpe add $1,$3
21.4375
116
0.600583
24311d6402eb3a95e5d20148c29c7ba77f22c0b5
1,741
asm
Assembly
programs/oeis/158/A158493.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/158/A158493.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/158/A158493.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A158493: a(n) = 20*n^2 + 1. ; 1,21,81,181,321,501,721,981,1281,1621,2001,2421,2881,3381,3921,4501,5121,5781,6481,7221,8001,8821,9681,10581,11521,12501,13521,14581,15681,16821,18001,19221,20481,21781,23121,24501,25921,27381,28881,30421,32001,33621,35281,36981,38721,40501,42321,44181,46081,48021,50001,52021,54081,56181,58321,60501,62721,64981,67281,69621,72001,74421,76881,79381,81921,84501,87121,89781,92481,95221,98001,100821,103681,106581,109521,112501,115521,118581,121681,124821,128001,131221,134481,137781,141121,144501,147921,151381,154881,158421,162001,165621,169281,172981,176721,180501,184321,188181,192081,196021,200001,204021,208081,212181,216321,220501,224721,228981,233281,237621,242001,246421,250881,255381,259921,264501,269121,273781,278481,283221,288001,292821,297681,302581,307521,312501,317521,322581,327681,332821,338001,343221,348481,353781,359121,364501,369921,375381,380881,386421,392001,397621,403281,408981,414721,420501,426321,432181,438081,444021,450001,456021,462081,468181,474321,480501,486721,492981,499281,505621,512001,518421,524881,531381,537921,544501,551121,557781,564481,571221,578001,584821,591681,598581,605521,612501,619521,626581,633681,640821,648001,655221,662481,669781,677121,684501,691921,699381,706881,714421,722001,729621,737281,744981,752721,760501,768321,776181,784081,792021,800001,808021,816081,824181,832321,840501,848721,856981,865281,873621,882001,890421,898881,907381,915921,924501,933121,941781,950481,959221,968001,976821,985681,994581,1003521,1012501,1021521,1030581,1039681,1048821,1058001,1067221,1076481,1085781,1095121,1104501,1113921,1123381,1132881,1142421,1152001,1161621,1171281,1180981,1190721,1200501,1210321,1220181,1230081,1240021 mov $1,$0 pow $1,2 mul $1,20 add $1,1
217.625
1,671
0.835727
f3cb3a09c8347c21790deeea8519adf763cdc3bd
1,249
asm
Assembly
src/boot/boot.asm
zys1310992814/BookOSv0.2
7dca0f968663a0e6de18dd9b3e533d1e0412674f
[ "BSD-2-Clause" ]
3
2019-02-24T11:05:46.000Z
2019-02-26T03:20:50.000Z
src/boot/boot.asm
zys1310992814/BookOSv0.2
7dca0f968663a0e6de18dd9b3e533d1e0412674f
[ "BSD-2-Clause" ]
null
null
null
src/boot/boot.asm
zys1310992814/BookOSv0.2
7dca0f968663a0e6de18dd9b3e533d1e0412674f
[ "BSD-2-Clause" ]
null
null
null
;boot/boot.asm ;description: loade loader ;auther: Hu Zicheng ;time: 2018/1/2 ;copyright: (C) 2018-2019 by BookOS developers. All rights reserved. ;E-mail: 2323168280@qq.com %include "const.inc" org 0x7c00 bits 16 align 16 BootStart: mov ax, cs mov ds, ax mov ss, ax mov sp, 0 mov ax, 0xb800 mov es, ax ;clean screan CleanScreen: mov ax, 0x02 int 0x10 ;show 'BOOT' mov byte [es:0],'B' mov byte [es:1],0x07 mov byte [es:2],'O' mov byte [es:3],0x07 mov byte [es:4],'O' mov byte [es:5],0x07 mov byte [es:6],'T' mov byte [es:7],0x07 ;we read load from sector 1(0 is first) width 8 sectors to 0x10000 ;es:dx=buffer address mov ax, LOADER_SEG mov es, ax xor bx, bx mov si, LOADER_OFF mov cx, LOADER_CNTS ReadLoader: call ReadSectors add bx, 512 inc si loop ReadLoader jmp LOADER_SEG:0 ;si=LBA address, from 0 ;cx=sectors ;es:dx=buffer address ;this function was borrowed from internet ReadSectors: push ax push cx push dx push bx mov ax, si xor dx, dx mov bx, 18 div bx inc dx mov cl, dl xor dx, dx mov bx, 2 div bx mov dh, dl xor dl, dl mov ch, al pop bx .RP: mov al, 0x01 mov ah, 0x02 int 0x13 jc .RP pop dx pop cx pop ax ret times 510-($-$$) db 0 dw 0xaa55
14.033708
68
0.660528
8113fff4b7b391280306132ed732ec97f5e9ea40
333
asm
Assembly
Code_14.asm
vishnuajith/PIC-18-Example-Codes
81d373fbb1d116a41673876240e2698c1ce09306
[ "MIT" ]
null
null
null
Code_14.asm
vishnuajith/PIC-18-Example-Codes
81d373fbb1d116a41673876240e2698c1ce09306
[ "MIT" ]
null
null
null
Code_14.asm
vishnuajith/PIC-18-Example-Codes
81d373fbb1d116a41673876240e2698c1ce09306
[ "MIT" ]
null
null
null
;******************************************************************** ;* Description : Implementing 2s Complement ;* ;******************************************************************** #include<p18f452.inc> CONFIG WDT=OFF ORG 0 ; twos complement NUM EQU 2H MOVLW NUM MOVWF 50H COMF 50H,W ADDLW 1H MOVWF 50H END
17.526316
69
0.396396
4c4fa646984a3acb9db90bcfa92adc6ab49f8998
1,331
asm
Assembly
libsrc/zx81/mirrortxt.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
1
2018-09-04T23:07:24.000Z
2018-09-04T23:07:24.000Z
libsrc/zx81/mirrortxt.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
libsrc/zx81/mirrortxt.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
; ; ZX81 libraries ; ;-------------------------------------------------------------- ; This code comes from the FidoNET Sinclair newsgroup ;-------------------------------------------------------------- ; ; $Id: mirrortxt.asm,v 1.1 2007/10/12 14:49:16 stefano Exp $ ; ;---------------------------------------------------------------- ; ; mirrortxt() - mirror text display ; ;---------------------------------------------------------------- XLIB mirrortxt mirrortxt: LD HL,(400CH) ; Puts the adress of the displayfile in HL LD DE,0010H ; This is the middle of the screen ADD HL,DE ; Add to displayfile LD D,H ; leave result in DE LD E,L ; INC DE ; counting up LD B,16H ; B as counter 22 lines .MIR1 LD A,(HL) ; Character in accumulator CP 76H ; look for end line JR Z,MIR2 ; If b not 0 goto 409E EX DE,HL ; temporary storage LD C,(HL) ; LD (HL),A ; Print to Dfile EX DE,HL ; get value back again LD (HL),C ; print to Dfile DEC HL ; counting down INC DE ; JR MIR1 ; Get next character .MIR2 LD DE,0031H ; Go to middle of next line ADD HL,DE ; LD D,H ; LD E,L ; INC DE ; DJNZ MIR1 ; until screen full repeat routine RET
29.577778
67
0.450038
630573d5643fd6f14f7e3954af6079b271790c7b
3,024
asm
Assembly
Transynther/x86/_processed/US/_ht_/i9-9900K_12_0xca_notsx.log_13_1026.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_ht_/i9-9900K_12_0xca_notsx.log_13_1026.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_ht_/i9-9900K_12_0xca_notsx.log_13_1026.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 %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x5b79, %rsi lea addresses_A_ht+0xe6b9, %rdi nop xor $40491, %r15 mov $24, %rcx rep movsq nop xor $33572, %r10 lea addresses_normal_ht+0x173b9, %r10 nop cmp %r11, %r11 movb (%r10), %cl nop nop dec %r15 lea addresses_normal_ht+0xbb9, %r11 nop nop nop add %rax, %rax movups (%r11), %xmm6 vpextrq $1, %xmm6, %rsi nop nop nop inc %rdi lea addresses_D_ht+0x15fb9, %rsi lea addresses_WT_ht+0x117b9, %rdi nop nop nop nop nop xor $20938, %rax mov $93, %rcx rep movsw nop nop nop nop dec %rcx lea addresses_UC_ht+0x10de9, %rax clflush (%rax) nop add $16103, %r10 movups (%rax), %xmm1 vpextrq $1, %xmm1, %r11 nop nop nop nop xor %rcx, %rcx lea addresses_WT_ht+0x17279, %rsi lea addresses_WC_ht+0x85f2, %rdi nop and %rbp, %rbp mov $84, %rcx rep movsw nop nop nop nop and %r10, %r10 lea addresses_D_ht+0x33b5, %rsi lea addresses_WT_ht+0x13ed9, %rdi nop nop cmp %rax, %rax mov $79, %rcx rep movsw nop nop nop nop nop inc %r11 lea addresses_WT_ht+0x181b9, %rbp nop nop nop inc %rsi mov (%rbp), %edi nop nop nop sub %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r15 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r15 push %rbx push %rcx push %rdx // Faulty Load lea addresses_US+0x3b9, %r10 nop and $16181, %rdx movups (%r10), %xmm1 vpextrq $1, %xmm1, %r15 lea oracles, %rcx and $0xff, %r15 shlq $12, %r15 mov (%rcx,%r15,1), %r15 pop %rdx pop %rcx pop %rbx pop %r15 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_US', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_US', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 11}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_WC_ht'}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 8}} {'46': 13} 46 46 46 46 46 46 46 46 46 46 46 46 46 */
20.16
148
0.654762
82863507d054629ad7537f794bbf002b7a93ee05
1,609
asm
Assembly
src/Data/Tilemaps/Main/Main.tilemap.asm
stoneface86/GameboyBoilerplateProj
7d2dedb2c3f6fe49819f8ca32c4f6308022d18c7
[ "MIT" ]
25
2018-06-08T19:19:53.000Z
2021-10-03T05:07:38.000Z
src/Data/Tilemaps/Main/Main.tilemap.asm
stoneface86/GameboyBoilerplateProj
7d2dedb2c3f6fe49819f8ca32c4f6308022d18c7
[ "MIT" ]
1
2020-07-14T20:15:47.000Z
2020-07-15T20:15:26.000Z
src/Data/Tilemaps/Main/Main.tilemap.asm
stoneface86/GameboyBoilerplateProj
7d2dedb2c3f6fe49819f8ca32c4f6308022d18c7
[ "MIT" ]
6
2019-05-23T05:32:11.000Z
2020-04-26T21:26:00.000Z
include "./src/Includes.inc" include "./src/General/Charmap.inc" section "ScreenMain", romx,bank[1] ScreenMain:: db 126,126,126,126,125,125,125,125,125,125,125,125,125,124,124,124,124,124,124,124,GSTOP db 126, 94,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113, 94,124,GSTOP db 126,116,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,106,124,GSTOP db 126,105, 63,123,113,113,113,113,113,113,113,113,113,113,113,108, 63, 63,105,124,GSTOP db 125,105,63,102,101,100,99,7,40,47,47,50,99,100,101,102,63,63,105,124,GSTOP db 125,105,63,109,113,113,113,113,113,113,113,113,113,113,113,122,63,63,105,124,GSTOP db 125,105,63,63,63,63,63,91,92,94,92,81,63,63,63,63,63,63,105,124,GSTOP db 125,105,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,105,125,GSTOP db 125,105,63,6,36,48,40,37,50,60,63,63,63,63,63,63,63,63,105,125,GSTOP db 125,105,63,63,1,50,44,47,40,53,51,47,36,55,40,63,63,63,105,125,GSTOP db 125,105,63,63,63,15,53,50,45,40,38,55,63,63,63,63,63,63,105,125,GSTOP db 124,105,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,105,125,GSTOP db 124,105,63,112,124,125,126,125,124,103,63,63,63,63,63,63,63,63,105,125,GSTOP db 124,105,63,102,124,125,126,125,124,102,63,63,21,40,53,62,28,63,105,125,GSTOP db 124,105,63,115,110,120,110,120,110,107,63,63,63,63,63,63,63,63,105,126,GSTOP db 124,115,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,120,107,126,GSTOP db 124,94,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,113,94,126,GSTOP db 124,124,124,124,124,124,124,125,125,125,125,125,125,125,125,125,126,126,126,126,GSTOP db GEND
61.884615
89
0.71473
70a9b3dd2c15e49107b72f40889c81a37000bf7e
4,117
asm
Assembly
_anim/Sonic.asm
vladjester2020/Sonic1TMR
22e749a2aab74cc725729e476d6252b071c12e42
[ "Apache-2.0" ]
null
null
null
_anim/Sonic.asm
vladjester2020/Sonic1TMR
22e749a2aab74cc725729e476d6252b071c12e42
[ "Apache-2.0" ]
2
2019-06-13T14:26:59.000Z
2019-10-10T13:15:14.000Z
_anim/Sonic.asm
vladjester2020/Sonic1TMR
22e749a2aab74cc725729e476d6252b071c12e42
[ "Apache-2.0" ]
null
null
null
; --------------------------------------------------------------------------- ; Sonic Animation Script ; --------------------------------------------------------------------------- dc.w SonAni_Walk-SonicAniData ;00 dc.w SonAni_Run-SonicAniData ;01 dc.w SonAni_Roll-SonicAniData ;02 dc.w SonAni_Roll2-SonicAniData ;03 dc.w SonAni_Push-SonicAniData ;04 dc.w SonAni_Wait-SonicAniData ;05 dc.w SonAni_Balance-SonicAniData ;06 dc.w SonAni_LookUp-SonicAniData ;07 dc.w SonAni_Duck-SonicAniData ;08 dc.w SonAni_Warp1-SonicAniData ;09 dc.w SonAni_Warp2-SonicAniData ;0A dc.w SonAni_Warp3-SonicAniData ;0B dc.w SonAni_Warp4-SonicAniData ;0C dc.w SonAni_Stop-SonicAniData ;0D dc.w SonAni_Float1-SonicAniData ;0E dc.w SonAni_Float2-SonicAniData ;0F dc.w SonAni_Spring-SonicAniData ;10 dc.w SonAni_LZHang-SonicAniData ;11 dc.w SonAni_Leap1-SonicAniData ;12 dc.w SonAni_Leap2-SonicAniData ;13 dc.w SonAni_Surf-SonicAniData ;14 dc.w SonAni_Bubble-SonicAniData ;15 dc.w SonAni_Death1-SonicAniData ;16 dc.w SonAni_Drown-SonicAniData ;17 dc.w SonAni_Death2-SonicAniData ;18 dc.w SonAni_Shrink-SonicAniData ;19 dc.w SonAni_Hurt-SonicAniData ;1A dc.w SonAni_LZSlide-SonicAniData ;1B dc.w SonAni_Blank-SonicAniData ;1C dc.w SonAni_Float3-SonicAniData ;1D dc.w SonAni_Float4-SonicAniData ;1E dc.w SonAni_Spin_Dash-SonicAniData ;1F dc.w SonAni_Peel-SonicAniData ;20 dc.w SonAni_PeelOutReal-SonicAniData ;21 dc.w SonAni_SSO-SonicAniData ;22 dc.w SonAni_Victory-SonicAniData ;23 dc.w SonAni_Falling-SonicAniData ;24 SonAni_Walk: dc.b $FF, 8, 9, $A, $B, 6, 7, $FF SonAni_Run: dc.b $FF, $1E, $1F, $20, $21, $FF, $FF, $FF SonAni_Roll: dc.b $FE, $2E, $2F, $30, $31, $32, $FF, $FF SonAni_Roll2: dc.b $FE, $2E, $2F, $32, $30, $31, $32, $FF SonAni_Push: dc.b $FD, $45, $46, $47, $48, $FF, $FF, $FF SonAni_Wait: dc.b $07, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, $77, 2, 2, 2, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, $7A, $7A, $7A, $7A, $7A, $7A, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, $7A, $7A, $7A, $7A, $7A, $7A, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, $7A, $7A, $7A, $7A, $7A, $7A, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, 4, 4, 3, 3, $7A, $7A, $7A, $7A, $7A, $7A, $7B, $7C, $7C, $7C, $7D, $7D, $7D, $FE, 6, 0 SonAni_Balance: dc.b $1F, $3A, $3B, $FF SonAni_LookUp: dc.b $05, $78, 5, $FE, 1, 0 SonAni_Duck: dc.b $05, $79, $39, $FE, 1, 0 SonAni_Warp1: dc.b $3F, $33, $FF, 0 SonAni_Warp2: dc.b $3F, $34, $FF, 0 SonAni_Warp3: dc.b $3F, $35, $FF, 0 SonAni_Warp4: dc.b $3F, $36, $FF, 0 SonAni_Stop: dc.b 7, $37, $37, $38, $7E, $7F, $FE, 1, 0 SonAni_Float1: dc.b 7, $3C, $3F, $FF SonAni_Float2: dc.b 7, $3C, $3D, $53, $3E, $54, $FF, 0 SonAni_Spring: dc.b $03, $6E, $6F, $70, $71, $40, $6E, $6F, $70, $71, $40, $6E, $6F, $70, $71, $FD, 36, 0 SonAni_LZHang: dc.b 4, $41, $42, $FF SonAni_Leap1: dc.b $F, $43, $43, $43, $FE, 1 SonAni_Leap2: dc.b $10, $43, $44, $44, $FE, 1, 0 SonAni_Surf: dc.b $3F, $49, $FF, 0 SonAni_Bubble: dc.b $B, $56, $56, $A, $B, $FD, 0, 0 SonAni_Death1: dc.b $20, $4B, $FF, 0 SonAni_Drown: dc.b $2F, $4C, $FF, 0 SonAni_Death2: dc.b 3, $4D, $4D, $4D, $4D, $4D, $4D, $4D, $4D, $4D, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $4C, $FF, 0 SonAni_Shrink: dc.b 3, $4E, $4F, $50, $51, $52, 0, $FE, 1, 0 SonAni_Hurt: dc.b 3, $55, $57, $FF SonAni_LZSlide: dc.b 3, $55, $57, $FF SonAni_Blank: dc.b $77, 0, $FD, 0 SonAni_Float3: dc.b 3, $3C, $3D, $53, $3E, $54, $FF, 0 SonAni_Float4: dc.b 3, $3C, $FD, 0 SonAni_Spin_Dash: dc.b 0, $58, $59, $58, $5A, $58, $5B, $58, $5C, $58, $5D, $FF SonAni_Peel: dc.b $FF, $5F, $60, $61, $5F, $FF, $FF, $FF SonAni_PeelOutReal: dc.b 1, $72, $72, $72, $72, $73, $73, $73, $73, $72, $72, $72, $73, $73, $73, $72, $72, $73, $73, $72, $73, $72, $73, $72, $73, $FE, 4 SonAni_SSO: dc.b 2, 8, 8, 8, 9, 9, $A, $A, $B, 6, 7, $72, $73, $72, $73, $72, $73, $72, $73, $FE, 4 SonAni_Victory: dc.b $08, $74, $75, $FF SonAni_Falling: dc.b $03, $32, $5E, $FE, 1, 0 even
52.782051
487
0.572261
8bbd2bc96d1a465707706717d55bbe0f09d947b1
374
asm
Assembly
tests/bonus.asm
meryacine/MIPS-VHDL
8a89a53d92b264c2beedc2ca1dbba05f15af4630
[ "MIT" ]
4
2022-01-12T07:27:54.000Z
2022-03-28T09:44:26.000Z
tests/bonus.asm
Ziyadhassan/MIPS-VHDL
052058a9c9acb469020b3fa552c55d7fe9366dc1
[ "MIT" ]
null
null
null
tests/bonus.asm
Ziyadhassan/MIPS-VHDL
052058a9c9acb469020b3fa552c55d7fe9366dc1
[ "MIT" ]
2
2022-01-12T07:27:54.000Z
2022-03-24T19:29:10.000Z
int1: 0x2000 inv rti # POP PC and flags restored main: 0x10 ldm R1, 0x30 # R1=30 ldm R2, 0x50 # R2=50 ldm R3, 0x100 # R3=100 ldm R4, 0x300 # R4=300 Push R4 # sp=FFFFFFFE, M[FFFFFFFF]=300 INT 0 # SP=FFFFFFFC, M[FFFFFFFD]=half next PC,M[FFFFFFFE]=other half next PC hlt func6: 0x3000 out R1, 0x30 out R2, 0x50 out R3, 0x100 out R4, 0x300 ret
17.809524
80
0.644385
8542a4477e43937d629d1417caa0827827135127
6,706
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_416.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_416.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_416.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 %r12 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1aa87, %r9 nop inc %rdi movups (%r9), %xmm4 vpextrq $1, %xmm4, %r12 nop sub %r11, %r11 lea addresses_UC_ht+0xe133, %rsi lea addresses_A_ht+0x6533, %rdi nop nop nop inc %rbp mov $23, %rcx rep movsq nop nop nop nop sub $3703, %r9 lea addresses_D_ht+0x1d333, %rsi lea addresses_WC_ht+0x1cd13, %rdi nop nop nop nop nop sub $58837, %r15 mov $67, %rcx rep movsw sub %r12, %r12 lea addresses_D_ht+0x184b3, %rsi lea addresses_D_ht+0x1133, %rdi nop nop nop nop cmp $40059, %r9 mov $99, %rcx rep movsq nop nop xor %r11, %r11 lea addresses_UC_ht+0x7433, %rdi nop nop sub $50049, %rbp mov $0x6162636465666768, %rcx movq %rcx, (%rdi) nop nop nop add %r12, %r12 lea addresses_A_ht+0x1274b, %rbp nop nop nop add $21654, %r9 movw $0x6162, (%rbp) nop nop nop cmp $64253, %rbp lea addresses_WC_ht+0xa52f, %rdi clflush (%rdi) nop cmp %r12, %r12 movl $0x61626364, (%rdi) nop nop cmp $34299, %rcx lea addresses_normal_ht+0x1d133, %rdi nop nop nop nop nop xor %r12, %r12 mov $0x6162636465666768, %r11 movq %r11, (%rdi) nop nop cmp %r15, %r15 lea addresses_normal_ht+0x12fa3, %r11 nop nop cmp %rbp, %rbp mov $0x6162636465666768, %r9 movq %r9, (%r11) nop nop nop nop nop and $62434, %r9 lea addresses_WT_ht+0x3e52, %r15 nop nop nop add %rbp, %rbp mov (%r15), %cx nop dec %r9 pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r15 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r14 push %r15 push %rbx push %rcx push %rdi push %rdx // Store lea addresses_WC+0x7de7, %rdi cmp %rdx, %rdx movb $0x51, (%rdi) nop and $64823, %r15 // Faulty Load lea addresses_D+0x17533, %r15 nop nop nop nop nop inc %r14 movups (%r15), %xmm2 vpextrq $1, %xmm2, %rbx lea oracles, %r15 and $0xff, %rbx shlq $12, %rbx mov (%r15,%rbx,1), %rbx pop %rdx pop %rdi pop %rcx pop %rbx pop %r15 pop %r14 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_D', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 1}} [Faulty Load] {'src': {'type': 'addresses_D', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 2}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}} {'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}} {'src': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 8, 'NT': True, 'same': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 4, 'NT': True, 'same': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 10}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 4}} {'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'} {'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 */
36.248649
2,999
0.657471
e19111efbf7be75bf45d6f857ddec1ad7d7aee8a
366
asm
Assembly
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_InsertCharStruct_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_InsertCharStruct_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_InsertCharStruct_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void __CALLEE__ sp1_InsertCharStruct_callee(struct sp1_update *u, struct sp1_cs *cs) ; 05.2007 aralbrec, Sprite Pack v3.0 ; sinclair zx version SECTION code_clib SECTION code_temp_sp1 PUBLIC sp1_InsertCharStruct_callee EXTERN asm_sp1_InsertCharStruct sp1_InsertCharStruct_callee: pop hl pop de ex (sp),hl ex de,hl jp asm_sp1_InsertCharStruct
17.428571
86
0.79235
c7aaca52222f9f8898fd53928c2401392e6e4822
665
asm
Assembly
oeis/049/A049001.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/049/A049001.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/049/A049001.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A049001: a(n) = prime(n)^2 - 2. ; Submitted by Jamie Morken(s3) ; 2,7,23,47,119,167,287,359,527,839,959,1367,1679,1847,2207,2807,3479,3719,4487,5039,5327,6239,6887,7919,9407,10199,10607,11447,11879,12767,16127,17159,18767,19319,22199,22799,24647,26567,27887,29927,32039,32759,36479,37247,38807,39599,44519,49727,51527,52439,54287,57119,58079,62999,66047,69167,72359,73439,76727,78959,80087,85847,94247,96719,97967,100487,109559,113567,120407,121799,124607,128879,134687,139127,143639,146687,151319,157607,160799,167279,175559,177239,185759,187487,192719,196247 mul $0,2 max $0,1 seq $0,173919 ; Numbers that are prime or one less than a prime. pow $0,2 sub $0,2
66.5
496
0.778947
5f58ef9db325fbb5d3c181716c6bd8a3535c0127
490
asm
Assembly
oeis/303/A303817.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/303/A303817.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/303/A303817.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A303817: Decimal expansion of 360/17. ; Submitted by Jon Maiga ; 2,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7,6,4,7,0,5,8,8,2,3,5,2,9,4,1,1,7 mov $1,1 mov $2,1 mov $3,$0 mul $3,5 lpb $3 cmp $1,21 mul $2,$3 add $1,$2 mul $2,17 div $5,3 max $5,1 mul $5,2 div $2,$5 sub $3,4 lpe mov $4,10 pow $4,$0 div $2,$4 div $1,$2 add $1,$4 mod $1,10 mov $0,$1
18.148148
201
0.530612
53f83f71e33342a23a524303fd6039d87ac686e6
147
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_msge6.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_msge6.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_msge6.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: zel_msge6.asm Type: file Size: 56864 Last-Modified: '2016-05-13T04:23:03Z' SHA-1: 57D0BBD6829289AD9076627D5FA3FEE3B60D8F96 Description: null
21
47
0.816327
50a6eaa4af3436b291c8444be76ab4fa0104de8f
842
asm
Assembly
oeis/295/A295723.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/295/A295723.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/295/A295723.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A295723: a(n) = a(n-1) + 3*a(n-2) -2*a(n-3) - 2*a(n-4), where a(0) = 0, a(1) = 1, a(2) = 2, a(3) = 3. ; Submitted by Christian Krause ; 0,1,2,3,7,10,21,31,60,91,167,258,457,715,1236,1951,3315,5266,8837,14103,23452,37555,62031,99586,163665,263251,431012,694263,1133467,1827730,2977581,4805311,7815660,12620971,20502167,33123138,53756377,86879515,140898036,227777551,369199875,596977426,967225877,1564203303,2533526332,4097729635,6635450271,10733179906,17377018785,28110198691,45503994692,73614193383,119151742507,192765935890,311984787261,504750723151,816869728140,1321620451291,2138758614887,3460379066178,5599674551977,9060053618155 lpb $0 sub $0,1 add $2,1 sub $3,$4 add $1,$3 add $4,1 add $4,$2 mov $5,$4 mov $4,$2 mov $2,$3 mul $2,2 add $4,$1 sub $1,$2 add $5,$4 mov $3,$5 add $4,2 lpe mov $0,$3 div $0,3
35.083333
499
0.706651
0fd92a270a2f0ec499e67f51c0101749bea332af
1,566
asm
Assembly
src/anim.asm
Mario-Kart-Felix/9os
e0000689a2c150d4758b87110bee731b1f950518
[ "Unlicense" ]
13
2016-06-04T19:10:37.000Z
2020-11-30T00:01:48.000Z
src/anim.asm
Mario-Kart-Felix/9os
e0000689a2c150d4758b87110bee731b1f950518
[ "Unlicense" ]
null
null
null
src/anim.asm
Mario-Kart-Felix/9os
e0000689a2c150d4758b87110bee731b1f950518
[ "Unlicense" ]
1
2021-03-09T05:00:09.000Z
2021-03-09T05:00:09.000Z
;----------------------------------------------------------------------------------------------------- ; ; Animation related operations reside here ; ;----------------------------------------------------------------------------------------------------- ; background: 7Fh ; keks: 42h ; streusel: 6Dh ; glasur: 3Dh ; baeckchen: 40h ; ; rainbow: ; red: 28h ; orange: 2Ah ; yellow: 2Bh ; green: 2Eh ; cyan: 36h ; violet: 6Bh ;-------------------------------------------- ; Draw animation frame ;-------------------------------------------- drawAnimFrame: call drawAnimBackground call drawAnimRainbow call drawAnimCat push 3 ; Shift rainbow every 3 ticks call shiftRainbowAnim retn ;-------------------------------------------- ; Draw background ;-------------------------------------------- drawAnimBackground: push 7Eh call fillScreen retn ;-------------------------------------------- ; Draw background ;-------------------------------------------- drawAnimCat: push 3 ; Scale push 65 ; Y push 110 ; X push nyanCatAnimBitmap call drawAnimBitmap retn ;-------------------------------------------- ; Shift rainbow animation ;-------------------------------------------- rainbowAnimIndex: dw 0 shiftRainbowAnim: pusha mov bp, sp mov bx, [rainbowAnimIndex] add bx, 1 mov ax, [bp + 12h] cmp bx, ax ; Every AX ticks jl shiftRainbowAnimStore xor bx, bx call shiftRainbowAlternation shiftRainbowAnimStore: mov [rainbowAnimIndex], bx popa retn 2
19.333333
102
0.42401
c7c1c8e1a4751e4920ad3360c3874d12931aab0b
1,236
asm
Assembly
programs/oeis/226/A226741.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/226/A226741.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/226/A226741.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A226741: Column 4 of array in A226513. ; 75,308,807,1704,3155,5340,8463,12752,18459,25860,35255,46968,61347,78764,99615,124320,153323,187092,226119,270920,322035,380028,445487,519024,601275,692900,794583,907032,1030979,1167180,1316415,1479488,1657227,1850484,2060135,2287080,2532243,2796572,3081039,3386640,3714395,4065348,4440567,4841144,5268195,5722860,6206303,6719712,7264299,7841300,8451975,9097608,9779507,10499004,11257455,12056240,12896763,13780452,14708759,15683160,16705155,17776268,18898047,20072064,21299915,22583220,23923623,25322792,26782419,28304220,29889935,31541328,33260187,35048324,36907575,38839800,40846883,42930732,45093279,47336480,49662315,52072788,54569927,57155784,59832435,62601980,65466543,68428272,71489339,74651940,77918295,81290648,84771267,88362444,92066495,95885760,99822603,103879412,108058599,112362600 mov $1,75 mov $2,138 mov $5,$0 mov $6,$0 lpb $2 add $1,$5 sub $2,1 lpe mov $3,$6 lpb $3 sub $3,1 add $4,$5 lpe mov $2,78 mov $5,$4 lpb $2 add $1,$5 sub $2,1 lpe mov $3,$6 mov $4,0 lpb $3 sub $3,1 add $4,$5 lpe mov $2,16 mov $5,$4 lpb $2 add $1,$5 sub $2,1 lpe mov $3,$6 mov $4,0 lpb $3 sub $3,1 add $4,$5 lpe mov $2,1 mov $5,$4 lpb $2 add $1,$5 sub $2,1 lpe mov $0,$1
25.75
797
0.752427
0fa738a570c544d2e305160de7ba69bb441173b1
493
asm
Assembly
programs/oeis/082/A082850.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/082/A082850.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/082/A082850.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A082850: Let S(0) = {}, S(n) = {S(n-1), S(n-1), n}; sequence gives S(infinity). ; 1,1,2,1,1,2,3,1,1,2,1,1,2,3,4,1,1,2,1,1,2,3,1,1,2,1,1,2,3,4,5,1,1,2,1,1,2,3,1,1,2,1,1,2,3,4,1,1,2,1,1,2,3,1,1,2,1,1,2,3,4,5,6,1,1,2,1,1,2,3,1,1,2,1,1,2,3,4,1,1,2,1,1,2,3,1,1,2,1,1,2,3,4,5,1,1,2,1,1,2,3,1,1,2,1 mov $1,12 lpb $0 mov $2,$0 cal $2,213724 ; Largest natural number x such that x=n+A000120(x), or zero if no such number exists. add $0,$2 sub $0,1 add $1,4 lpe sub $1,12 div $1,4 add $1,1
32.866667
211
0.551724
dfc499765c8a0e92cc3bed4bfb87ccd7249bb76d
1,767
asm
Assembly
libsrc/graphics/zx81/hr/copytxt.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/graphics/zx81/hr/copytxt.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/graphics/zx81/hr/copytxt.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ; ZX81 libraries ; ;-------------------------------------------------------------- ; This code comes from the 'HRG_Tool' ; by Matthias Swatosch ; Original function name: "HRG_Tool_TXTcopy" ;-------------------------------------------------------------- ; ; $Id: copytxt.asm,v 1.4 2017/01/02 22:58:00 aralbrec Exp $ ; ;---------------------------------------------------------------- ; ; HRG_Tool_TXTcopy ; hl = pointer to display array ; ; copies the textscreen (DFILE) into HRG ; ;---------------------------------------------------------------- SECTION smc_clib PUBLIC copytxt PUBLIC _copytxt EXTERN base_graphics copytxt: _copytxt: ld (ovmode),hl ld hl,(base_graphics) ld de,($400C) ; D_FILE inc de IF FORzx81hrg64 ld b,8 ELSE ld b,24 ENDIF ld c,0 HRG_TXTcopyLoop: ld a,(de) or a jr z,HRG_TXTcopyNextChar cp 118 jr z,HRG_TXTcopyNextLine push hl ; HL points to byte in HRG push de ; A is character push bc cp $40 ; inverse? push af ld de,$1e00 ; start of characters in ROM ld b,0 and $3f ld c,a or a rl c ; multiply BC by 8 rl b rl c rl b rl c rl b ex de,hl add hl,bc ex de,hl ; now DE is pointer to pixel code ld c,$00 ; C stores invers character information pop af ; inverse? jr c,HRG_TXTcopyNormal dec c ; if inverse character then C is $ff HRG_TXTcopyNormal: ld b,8 ; counter HRG_TXTcopyLoop2: ld a,(de) xor c ovmode: nop nop ;or (hl) ; plot the character to HRG ld (hl),a push bc ld bc,32 add hl,bc pop bc inc de djnz HRG_TXTcopyLoop2 pop bc pop de pop hl HRG_TXTcopyNextChar: inc de inc hl jr HRG_TXTcopyLoop HRG_TXTcopyNextLine: inc c inc de ld hl,(base_graphics) push bc ld b,c ld c,0 add hl,bc pop bc djnz HRG_TXTcopyLoop ret
13.697674
65
0.577816
7ea1cac2d3ec4985315882576f92eb92b629efa9
271
asm
Assembly
programs/oeis/027/A027779.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/027/A027779.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/027/A027779.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A027779: a(n) = 3*(n+1)*C(n+2,6). ; 15,126,588,2016,5670,13860,30492,61776,117117,210210,360360,594048,946764,1465128,2209320,3255840,4700619,6662502,9287124,12751200,17267250,23088780,30515940,39901680,51658425 add $0,6 mov $1,$0 bin $0,6 sub $1,1 mul $1,$0 mul $1,3
27.1
177
0.726937
61bbc4846620f0c110ea1b1d20141ebe7dd136f4
676
asm
Assembly
programs/oeis/010/A010156.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/010/A010156.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/010/A010156.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A010156: Continued fraction for sqrt(78). ; 8,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1,4,1,16,1 mov $1,$0 gcd $1,4 pow $1,2 pow $2,$0 add $2,5 gcd $2,$1 div $1,$2
61.454545
563
0.56213
f0e74c995953624569fa6fa476a964d77375ac6f
318
asm
Assembly
programs/oeis/117/A117856.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/117/A117856.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/117/A117856.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A117856: Number of palindromes of length n (in base 4). ; 3,3,12,12,48,48,192,192,768,768,3072,3072,12288,12288,49152,49152,196608,196608,786432,786432,3145728,3145728,12582912,12582912,50331648,50331648,201326592,201326592,805306368,805306368,3221225472,3221225472,12884901888 div $0,2 mov $1,4 pow $1,$0 mul $1,3
39.75
221
0.783019
8b309d198b654a1fc0cf7e342624fb940a238a21
527
asm
Assembly
oeis/171/A171545.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/171/A171545.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/171/A171545.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A171545: Decimal expansion of sqrt(2/7). ; Submitted by Christian Krause ; 5,3,4,5,2,2,4,8,3,8,2,4,8,4,8,7,6,9,3,6,9,1,0,6,9,6,1,7,5,9,5,0,7,0,4,3,1,0,8,0,0,2,8,2,9,6,8,2,6,7,5,2,7,8,0,4,3,3,9,2,2,0,9,6,1,7,1,4,7,8,7,9,4,7,2,4,1,9,8,6,1,1,3,9,5,4,4,2,7,0,7,4,2,0,5,4,2,2,4,5 add $0,1 mov $1,1 mov $3,$0 mul $3,4 lpb $3 add $2,$1 mul $1,$3 mul $2,$3 add $1,$2 cmp $6,0 add $5,$6 div $1,$5 div $2,$5 add $2,$1 mul $1,2 add $2,$1 sub $3,1 lpe mov $4,10 pow $4,$0 div $2,$4 div $1,$2 mod $1,10 mov $0,$1
18.172414
201
0.523719
2cf876a86e80dac5ce4663fa44663666b709ff63
326
asm
Assembly
programs/oeis/026/A026599.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/026/A026599.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/026/A026599.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A026599: a(n) = Sum_{0<=j<=2*i, 0<=i<=n} A026584(i,j). ; 1,3,9,23,61,155,401,1023,2629,6723,17241,44135,113101,289643,742049,1900623,4868821,12471315,31946601,81831863,209618269,536945723,1375418801,3523201695,9024876901,23117683683,59217191289,151687926023 add $0,2 seq $0,26597 ; Expansion of (1+x)/(1-x-4*x^2). div $0,4
46.571429
202
0.733129
423d91601d025e81b3617d5f0b5e687d2934c46a
8,254
asm
Assembly
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_1243.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_1243.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_1243.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 %r15 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xa4d6, %rbx nop nop and %r12, %r12 movl $0x61626364, (%rbx) nop nop nop nop nop sub %rdx, %rdx lea addresses_UC_ht+0x182a6, %rsi lea addresses_WC_ht+0xf5ae, %rdi add %r8, %r8 mov $35, %rcx rep movsq add $30449, %rsi lea addresses_UC_ht+0x124ae, %rsi lea addresses_normal_ht+0x8686, %rdi nop nop nop nop nop dec %rbx mov $61, %rcx rep movsq sub %rdi, %rdi lea addresses_A_ht+0x1d0ae, %rsi lea addresses_D_ht+0x11f26, %rdi clflush (%rdi) nop nop and %r15, %r15 mov $29, %rcx rep movsb mfence lea addresses_normal_ht+0x113f2, %rsi lea addresses_WC_ht+0x83ae, %rdi clflush (%rdi) nop nop add %rbx, %rbx mov $116, %rcx rep movsb cmp %rbx, %rbx lea addresses_WC_ht+0x16a5e, %rdx nop nop xor %r15, %r15 movl $0x61626364, (%rdx) xor $58168, %rsi lea addresses_UC_ht+0xd5ae, %rsi lea addresses_normal_ht+0xedae, %rdi xor $14911, %r8 mov $112, %rcx rep movsl add %r8, %r8 lea addresses_A_ht+0xf7d6, %rsi lea addresses_UC_ht+0x1a67c, %rdi cmp %rbx, %rbx mov $121, %rcx rep movsb nop nop nop add %r15, %r15 lea addresses_D_ht+0x1c3ae, %rbx inc %rsi movups (%rbx), %xmm4 vpextrq $0, %xmm4, %r8 nop nop nop nop cmp $3402, %r12 lea addresses_WC_ht+0x153ae, %rdi nop nop nop add %r15, %r15 movl $0x61626364, (%rdi) nop nop nop nop dec %rsi lea addresses_D_ht+0x1e88a, %rsi nop nop inc %rdi movl $0x61626364, (%rsi) nop nop nop nop inc %rcx lea addresses_normal_ht+0x1b7fe, %rsi lea addresses_normal_ht+0xbfe2, %rdi nop nop nop nop inc %r8 mov $25, %rcx rep movsw nop nop nop nop add %rbx, %rbx lea addresses_WT_ht+0x1a0ae, %rbx nop nop nop xor %rdi, %rdi mov (%rbx), %dx nop nop nop cmp %rbx, %rbx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r8 pop %r15 pop %r12 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi // Store lea addresses_PSE+0x10a51, %r11 sub $24263, %rdi movw $0x5152, (%r11) nop nop nop nop nop cmp $18292, %rcx // Store lea addresses_PSE+0x5a46, %r8 nop nop nop nop add $13139, %r13 movb $0x51, (%r8) nop dec %r8 // Store lea addresses_UC+0xa5ae, %r8 nop nop nop add %r9, %r9 mov $0x5152535455565758, %r11 movq %r11, (%r8) nop nop cmp $42653, %rbp // Store mov $0x3ce, %r11 nop nop nop nop nop dec %r9 movw $0x5152, (%r11) nop nop and $49965, %r9 // Faulty Load lea addresses_US+0x11dae, %r9 nop nop nop xor %r13, %r13 movups (%r9), %xmm7 vpextrq $1, %xmm7, %rbp lea oracles, %rcx and $0xff, %rbp shlq $12, %rbp mov (%rcx,%rbp,1), %rbp pop %rdi pop %rcx pop %rbp pop %r9 pop %r8 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_US'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'dst': {'NT': True, 'AVXalign': False, 'size': 8, 'congruent': 11, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 3, 'same': False, 'type': 'addresses_P'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': True, 'type': 'addresses_US'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'src': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'congruent': 7, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 6, 'same': True, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 5, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
33.417004
2,999
0.656288
2e39316bb930f024bc1131efbe066f63b7900f7b
24,344
asm
Assembly
Library/Spool/UI/uiPrintControlUtils.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Library/Spool/UI/uiPrintControlUtils.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Library/Spool/UI/uiPrintControlUtils.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Lib/Spool/UI FILE: uiPrintControlUtils.asm AUTHOR: Don Reeves, March 30, 1990 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ----------- Don 3/90/89 Initial revision DESCRIPTION: Utility routines needed in the print control module $Id: uiPrintControlUtils.asm,v 1.1 97/04/07 11:10:37 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PrintControlCommon segment resource COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCAccessTemp %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Access the PrintControl local variables CALLED BY: INTERNAL PASS: DS:*SI = PrintControl instance data RETURN: DS:DI = TempPrintCtrlInstance DESTROYED: Nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 2/26/90 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCAccessTemp proc far uses ax, bx .enter ; Find the variable data ; mov ax, TEMP_PRINT_CONTROL_INSTANCE call ObjVarFindData jnc allocate mov di, bx ; TempPrintCtrlInstance => DS:DI done: .leave ret ; Allocate the variable data allocate: push cx mov cx, size TempPrintCtrlInstance call ObjVarAddData ; add data & initialize to zero mov di, bx ; TempPrintCtrlInstance => DS:DI call PCCheckForFax ; set/clear fax attribute pop cx jmp done ; we're outta here PCAccessTemp endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCCheckForFax %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Check to see if there are any fax drivers available CALLED BY: INTERNAL PASS: DS:DI = TempPrintCtrlInstance RETURN: Zero = Set if no change from earlier status = Clear if change DESTROYED: AX, CL PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: Sets/clears the FAX attribute in TPCI_status REVISION HISTORY: Name Date Description ---- ---- ----------- Don 5/15/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCCheckForFax proc far ; Check for fax drivers, & clear/set the fax attribute ; mov cx, PDT_FACSIMILE ; PrinterDriverType => CL call SpoolGetNumPrinters ; number of faxes => AX mov cl, ds:[di].TPCI_status and ds:[di].TPCI_status, not (mask PSF_FAX_AVAILABLE) tst ax jz done or ds:[di].TPCI_status, mask PSF_FAX_AVAILABLE done: xor cl, ds:[di].TPCI_status and cl, mask PSF_FAX_AVAILABLE ; zero set if no change ret ; zero clear if status change PCCheckForFax endp PrintControlCommon ends ;--- PrintControlCode segment resource COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCDestroyTemp %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Destroy the PrintControl local variables CALLED BY: INTERNAL PASS: DS:*SI = PrintControl instance data RETURN: Nothing DESTROYED: Nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 5/18/90 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCDestroyTemp proc near uses ax .enter ; Remove the variable data ; mov ax, TEMP_PRINT_CONTROL_INSTANCE call ObjVarDeleteData .leave ret PCDestroyTemp endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCIsAddrControl %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: See if the print control is associated with a MailboxSpoolAddressControl CALLED BY: (INTERNAL) PASS: *ds:si = PrintControl object RETURN: carry set if it's associated with an address control DESTROYED: nothing SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 10/27/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCIsAddrControl proc far uses ax, bx .enter mov ax, TEMP_PRINT_CONTROL_ADDRESS_CONTROL call ObjVarFindData .leave ret PCIsAddrControl endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCCallAddressControl %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: If we're associated with a MailboxSpoolAddressControl, call it with the passed message and our identification CALLED BY: (INTERNAL) StartPrintJob, PrintControlPrintingCanceled PASS: ax = message to call on the thing cx = data to pass to it *ds:si = PrintControl RETURN: carry set if associated with print control ax, cx, dx, bp = from message carry clear if not associated with print control ax, cx, dx, bp = unchanged DESTROYED: nothing SIDE EFFECTS: depends on the message delivered PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 10/30/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCCallAddressControl proc far uses bx, si, di .enter push ax mov ax, TEMP_PRINT_CONTROL_ADDRESS_CONTROL call ObjVarFindData pop ax jnc done mov bp, si mov dx, ds:[LMBH_handle] mov si, ds:[bx].chunk mov bx, ds:[bx].handle call PCObjMessageCall stc done: .leave ret PCCallAddressControl endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCBuildSummons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Force the building of the SpoolSummons dialog box for this PrintControl object CALLED BY: PrintControl - GLOBAL PASS: DS:*SI = PrintControl instance data RETURN: DS:*DI = PrintControl instance data BX:SI = SpoolSummons OD DESTROYED: AX, CX, DX, BP PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 4/1/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCBuildSummons proc near class PrintControlClass .enter ; Generate the UI for the controller so we're sure we're on the ; active list and will be told when to destroy this summons we're ; about to create -- ardeb 3/11/93 ; mov ax, TEMP_GEN_CONTROL_INSTANCE call ObjVarFindData jnc notBuiltYet tst ds:[bx].TGCI_childBlock jnz builtAlready notBuiltYet: mov ax, MSG_GEN_CONTROL_GENERATE_UI call ObjCallInstanceNoLock builtAlready: ; First, make sure that controller is updating its own enable status, ; or child dialogs won't be enabled if they are brought up directly ; (such as via IACP) -- Doug 12/18/92 ; mov ax, MSG_GEN_CONTROL_NOTIFY_INTERACTABLE mov cx, mask GCIF_CONTROLLER call ObjCallInstanceNoLock ; First duplicate the entire PrintUI block ; mov cx, handle PrintDialogBox ; block handle => CX mov dx, offset PrintDialogBox ; chunk handle => DX mov bp, offset TPCI_currentSummons ; offset in LPCD => BP push si, si call PCDuplicateBlock ; new OD => BX:SI pop di ; *ds:di <- PC call PCAddAppUI ; set dialog usable, now (it was not-usable so it could be added as ; a child of the controller if associated with an address control) ; -- ardeb 10/27/94 mov ax, MSG_GEN_SET_USABLE mov dl, VUM_DELAYED_VIA_UI_QUEUE call PCObjMessageSend pop di ; PC handle => DI .leave ret PCBuildSummons endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCAddAppUI %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Obey the ATTR_PRINT_CONTROL_APP_UI hint, if present CALLED BY: (INTERNAL) PCBuildSummons, PCGenControlTweakDuplicatedUI PASS: ^lbx:si = summons *ds:di = PrintControl RETURN: nothing DESTROYED: ax, cx, dx, di, bp SIDE EFFECTS: PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 10/27/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCAddAppUI proc far .enter ; Add any application-defined print group; Find position where to add ; (Note: app-defined group is added before the object we look for here) ; push di mov cx, bx mov dx, offset PrintUI:PrintTriggerGroup mov ax, MSG_GEN_FIND_CHILD call PCObjMessageCall ; returns child number in BP ; Now actually add in the group if necessary ; pop ax ; restore PrintControl chunk push bx, si ; save new object block OD mov_tr si, ax mov ax, ATTR_PRINT_CONTROL_APP_UI call ObjVarFindData ; data => DS:BX jnc done ; if no extra UI, we're done mov cx, ds:[bx].handle mov dx, ds:[bx].chunk EC < mov bx, cx > EC < mov si, dx ; OD => BX:SI > EC < call ECCheckLMemOD ; check the OD > pop bx, si ; new object block OD => BX:SI mov ax, MSG_GEN_ADD_CHILD call PCObjMessageCall ; Set the group usable ; push bx, si mov bx, cx mov si, dx mov ax, MSG_GEN_SET_USABLE mov dl, VUM_DELAYED_VIA_UI_QUEUE call PCObjMessageCall done: pop bx, si ; new object block OD => BX:SI .leave ret PCAddAppUI endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCDestroySummons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Cleans up all linkage CALLED BY: PrintControlVisUnbuild, PrintControlDetach PASS: DS:*SI = PrintControlClass instance data RETURN: Carry = Set (if in the middle of printing) DESTROYED: AX, BX, CX, DX, DI, BP PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 5/18/90 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCDestroySummons proc far class PrintControlClass .enter ; Let's first take care of the Print dialog box. If we are ; in the middle of printing, then do nothing. ; call PCAccessTemp ; local data => DS:DI tst ds:[di].TPCI_jobParHandle stc jnz exit clr cx, dx xchg cx, ds:[di].TPCI_currentSummons.handle xchg dx, ds:[di].TPCI_currentSummons.chunk jcxz done ; if no block, do nothing ; Remove any application-defined print group ; push si ; save PrintControl chunk mov ax, ATTR_PRINT_CONTROL_APP_UI call ObjVarFindData ; data => DS:BX mov bp, bx ; OD => DS:BP mov bx, cx mov si, dx ; parent => BX:SI jnc freeDuplicate ; if not found, jump call PCRemoveObjectFromTree ; remove an app-defined objects ; Clean up the SpoolSummons object freeDuplicate: mov ax, MSG_SPOOL_SUMMONS_CLEAN_UP call PCObjMessageCall call PCSetNotUsable ; set dialog box not usable ; Remove from window list ; push bx, si mov dx, size GCNListParams sub sp, dx mov bp, sp mov ss:[bp].GCNLP_optr.handle, bx mov ss:[bp].GCNLP_optr.chunk, si mov ss:[bp].GCNLP_ID.GCNLT_manuf, MANUFACTURER_ID_GEOWORKS mov ss:[bp].GCNLP_ID.GCNLT_type, GAGCNLT_WINDOWS mov ax, MSG_META_GCN_LIST_REMOVE clr bx ; use current thread call GeodeGetAppObject ; ^lbx:si = app object mov di, mask MF_CALL or mask MF_FIXUP_DS or mask MF_STACK call ObjMessage add sp, size GCNListParams pop bx, si ; Free the duplicate block now ; mov ax, MSG_META_BLOCK_FREE call PCObjMessageSend pop si ; Finally, remove my local instance data done: call PCDestroyTemp ; destroy my local data clc exit: .leave ret PCDestroySummons endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCDuplicateBlock %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Duplicate the passed resource, and make the new OD a child of the passed PrintControl object CALLED BY: INTERNAL PASS: DS:*SI = PrintControl object CX = Resource to duplicate DX = Chunk of root of GenTree in resource BP = Offset in TempPrintCtrlInstance to store OD RETURN: BX:SI = OD of root of GenTree in duplicated resource DESTROYED: Nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 4/1/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCDuplicateBlock proc near uses ax, cx, dx, di, bp .enter ; Duplicate the block, and hook it into our tree ; mov bx, ds:[LMBH_handle] ; PC block handle => BX call MemOwner ; find the owner (in BX) xchg ax, bx ; owner to AX mov bx, cx clr cx ; have current thread run block call ObjDuplicateResource ; duplicate the block mov cx, bx ; block handle => CX call GenAddChildUpwardLinkOnly ; Store the OD in the TempPrintCtrlInstance ; cmp bp, -1 je updateOD call PCAccessTemp ; local data => DS:DI mov ds:[di][bp].handle, cx mov ds:[di][bp].chunk, dx ; Update all of the OD references ; updateOD: mov bx, cx xchg si, dx mov cx, ds:[LMBH_handle] ; want CX:DX to be the PC mov bp, PCPT_PRINT_CTRL mov ax, MSG_GEN_BRANCH_REPLACE_OUTPUT_OPTR_CONSTANT push cx, dx ; save OD of PrintControl object call PCObjMessageCall ; Set the output for the duplicated block ; mov di, si call ObjLockObjBlock ; lock the duplicated block mov ds, ax ; segment => DS pop bx, si call ObjBlockSetOutput ; set the output object mov bx, ds:[LMBH_handle] call MemUnlock xchg bx, cx ; exchange new & PC handle call MemDerefDS ; resource holding PC => DS mov bx, cx mov si, di ; duplicated block OD => BX:SI .leave ret PCDuplicateBlock endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCForceCallSummons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Call the SpoolSummons object owned by the PrintControl object with the passed method. Force the SpoolSummons to be built out if none exists. CALLED BY: PrintControl - GLOBAL PASS: DS:*SI = PrintControl instance data AX = Method to send CX, DX, BP = Data to send RETURN: AX, CX, DX, BP = Return values DESTROYED: Nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 4/1/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCForceCallSummons proc near ; Do we already have a SpoolSummons built out ?? ; push di call PCIsAddrControl jc doCall ; => is address control, ui generated, ; so we have the summons call PCAccessTemp ; access local data tst ds:[di].TPCI_currentSummons.handle ; is there a summons ?? jnz doCall ; yes, so don't worry ; Else we must built out the dialog box ; push ax, bx, cx, dx, di, bp call PCBuildSummons ; build out the summons mov si, di ; PrintControl => DS:*SI pop ax, cx, cx, dx, di, bp doCall: pop di FALL_THRU PCCallSummons ; do the calling PCForceCallSummons endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCCallSummons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Send a method over to the summons class CALLED BY: PrintControl - GLOBAL PASS: DS:*SI = PrintControl instance data AX = Method to send CX, DX, BP = Data to send RETURN: Carry = Set if method was sent {AX, CX, DX, BP} = Return values = Clear if no SpoolSummons built out yet DESTROYED: Nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 4/5/90 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCCallSummons proc near uses bx, di, si class PrintControlClass .enter call PCGetSummons jnc done call PCObjMessageCall stc ; set carry done: .leave ret PCCallSummons endp FarPCCallSummons proc far call PCCallSummons ret FarPCCallSummons endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCGetSummons %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Fetch the optr of the current summons, if we have one CALLED BY: (INTERNAL) PASS: *ds:si = PrintControl RETURN: carry set if summons exists: ^lbx:si = SpoolSummons object carry clear if summons doesn't exist: bx = 0 si = 0? DESTROYED: nothing SIDE EFFECTS: none PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- ardeb 10/31/94 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCGetSummons proc near uses di class PrintControlClass .enter call PCIsAddrControl jnc useTempData mov di, ds:[si] add di, ds:[di].Gen_offset movdw bxsi, ds:[di].GI_comp.CP_firstChild jmp haveSummons useTempData: call PCAccessTemp ; access local data mov bx, ds:[di].TPCI_currentSummons.handle mov si, ds:[di].TPCI_currentSummons.chunk haveSummons: tst_clc bx ; is there a summons ?? jz done ; if not, exit now stc done: .leave ret PCGetSummons endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCOpenPrintStrings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Access the print strings block and lock it CALLED BY: GLOBAL PASS: DS:*SI = PrintControl instance data RETURN: DS:DI = Printer strings CX = Length of the strings buffer DX = Current printer (0 -> N-1) DESTROYED: Nothing PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 3/30/90 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCOpenPrintStrings proc near uses ax, bx, si, bp .enter ; Call over to the SpoolSummons for the info ; mov ax, MSG_SPOOL_SUMMONS_GET_PRINTER_STRINGS call PCCallSummons ; Now set-up the registers ; call PCAccessTemp ; access the local data mov ds:[di].TPCI_printBlockHan, dx ; store the block handle mov bx, dx call MemLock ; lock the block mov ds, ax clr di ; DS:DI is the print strings mov dx, bp ; current printer => DX .leave ret PCOpenPrintStrings endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCClosePrintStrings %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Access the print strings block and unlock it CALLED BY: GLOBAL PASS: DS:*SI = PrintControl instance data RETURN: Nothing DESTROYED: Nothing (flags preserved) PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: none REVISION HISTORY: Name Date Description ---- ---- ----------- Don 3/30/90 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCClosePrintStrings proc near uses bx, di .enter pushf call PCAccessTemp ; access the local variables mov bx, ds:[di].TPCI_printBlockHan ; block handle => BX call MemFree ; free the block popf .leave ret PCClosePrintStrings endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCAddObjectToTree %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Add an object to a generic tree CALLED BY: EXTERNAL PASS: DS:[DI][BP] = OD of object to remove BX:SI = OD of parent RETURN: Nothing DESTROYED: AX, BX, CX, DX, DI, SI, BP PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Don 2/ 4/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ if 0 PCAddObjectToTree proc far .enter ; If there is any UI, add it to the tree ; mov cx, ds:[di][bp].handle mov dx, ds:[di][bp].chunk jcxz done ; if no UI, we're done mov ax, MSG_GEN_ADD_CHILD mov bp, CompChildFlags <0, CCO_LAST> call PCObjMessageCall ; add as a generic child ; Now set the new child usable ; mov bx, cx mov si, dx ; new child OD => BX:SI mov ax, MSG_GEN_SET_USABLE mov dl, VUM_DELAYED_VIA_UI_QUEUE call PCObjMessageSend ; set the UI stuff usable done: .leave ret PCAddObjectToTree endp endif COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCRemoveObjectFromTree %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Remove an object from a generic tree CALLED BY: PCDestroySummons() PASS: DS:[BP] = OD of object to remove BX:SI = OD of parent RETURN: Nothing DESTROYED: AX, CX, DX, DI, BP PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Don 2/ 3/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCRemoveObjectFromTree proc near ; First set it not usable (if it exists at all) ; push bx, si ; save parent OD mov bx, ds:[bp].handle mov si, ds:[bp].chunk call PCSetNotUsable ; set user-group not usable ; Now remove the user-group from the dialog box ; mov cx, bx mov dx, si ; user group => CX:DX pop bx, si ; parent OD => BX:SI mov ax, MSG_GEN_REMOVE_CHILD ; remove the child clr bp ; don't mark links as dirty GOTO PCObjMessageCall PCRemoveObjectFromTree endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCSetNotUsable %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Sets an object NOT_USABLE CALLED BY: INTERNAL PASS: BX:SI = OD of object RETURN: Nothing DESTROYED: AX, CX, DX, BP, DI PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Don 2/ 3/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCSetNotUsable proc near mov ax, MSG_GEN_SET_NOT_USABLE mov dl, VUM_NOW GOTO PCObjMessageCall PCSetNotUsable endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PCSendToOutputOD %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Send a message to one of the two PrintControl output OD's CALLED BY: INTERNAL PASS: *DS:SI = PrintControl object AX = Message to send BX = Offset in instance data to OD BP = Data RETURN: Nothing DESTROYED: BX, CX, DX, DI PSEUDO CODE/STRATEGY: Passed to destination: CX:DX = OD of PrintControl object BP = Data passed to this routine KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- Don 5/15/92 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PCSendToOutputOD proc near .enter ; Set things up for call to GenProcessAction ; mov di, ds:[si] add di, ds:[di].PrintControl_offset mov cx, ds:[LMBH_handle] mov dx, si ; Send our OD in CX:DX push ds:[di][bx].handle push ds:[di][bx].chunk ; ...to the OutputDescriptor mov di, mask MF_FIXUP_DS ; MessageFlags => DI call GenProcessAction ; send message to OD .leave ret PCSendToOutputOD endp PrintControlCode ends
24.174777
79
0.564492
4c759059d2007f83018b7ce36f70984f755f7a73
661
asm
Assembly
oeis/117/A117972.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/117/A117972.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/117/A117972.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A117972: Numerator of zeta'(-2n), n >= 0. ; Submitted by Christian Krause ; 1,-1,3,-45,315,-14175,467775,-42567525,638512875,-97692469875,9280784638125,-2143861251406875,147926426347074375,-48076088562799171875,9086380738369043484375,-3952575621190533915703125,122529844256906551386796875,-68739242628124575327993046875,21652861427859241228317809765625,-15221961583785046583507420265234375,2968282508838084083783946951720703125,-2555691240109590396137978325431525390625,1208841956571836257373263747929111509765625,-1251151425051850526381327979106630412607421875 mov $1,1 mov $2,1 lpb $0 mul $1,$0 sub $0,1 sub $2,2 mul $1,$2 dif $1,2 lpe mov $0,$1
44.066667
487
0.83056
ebde76a97d57c8adeff5372e4d07efa318aa68a6
4,831
asm
Assembly
Library/Text/TextSearchSp/tssC.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Library/Text/TextSearchSp/tssC.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Library/Text/TextSearchSp/tssC.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1991 -- All Rights Reserved PROJECT: Text FILE: tssC.asm AUTHOR: Andrew Wilson, Oct 9, 1991 ROUTINES: Name Description ---- ----------- TEXTSEARCHINSTRING C Stub for TextSearchInString TEXTSEARCHINHUGEARRAY C Stup for TextSearchInHugeArray REVISION HISTORY: Name Date Description ---- ---- ----------- atw 10/ 9/91 Initial revision DESCRIPTION: Contains C stubs for TextSearchIn... routines $Id: tssC.asm,v 1.1 97/04/07 11:19:25 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ SetGeosConvention TextC segment resource COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TEXTSEARCHINSTRING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Just a CStub for TextSearchInString C DECLARATION: char * _far _pascal TextSearchInString(const char *str1, const char *startPtr, const char *endPtr, word str1Size, const char *str2, word str2Size, word searchOptions, word *matchLen); REVISION HISTORY: Name Date Description ---- ---- ----------- atw 10/ 9/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ global TEXTSEARCHINSTRING:far TEXTSEARCHINSTRING proc far str1:fptr.char, startPtr:fptr.char, \ endPtr:fptr.char, str1Size:word, \ str2:fptr.char, str2Size:word, \ searchOptions:word, matchLen:fptr.word uses ds, si, es, di, bp .enter EC < mov ax, str1.segment > EC < cmp ax, startPtr.segment > EC < ERROR_NZ START_PTR_MUST_BE_IN_SAME_SEGMENT_AS_END_PTR > EC < cmp ax, endPtr.segment > EC < ERROR_NZ START_PTR_MUST_BE_IN_SAME_SEGMENT_AS_END_PTR > les di, startPtr mov bx, endPtr.offset lds si, str2 mov cx, str2Size mov dx, str1Size mov al, searchOptions.low push bp mov bp, str1.offset call TextSearchInString pop bp mov dx, 0 ;Don't change these to CLRs! mov ax, 0 jc exit movdw dxax, esdi les di, matchLen mov es:[di], cx exit: .leave ret TEXTSEARCHINSTRING endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TEXTSEARCHINHUGEARRAY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Just a CStub for TextSearchInHugeArray C DECLARATION: dword _far _pascal _pascal TextSearchInHugeArray(char *str2, word str2Size, dword str1Size, dword curOffset, dword endOffset, FileHandle hugeArrayFile, VMBlockHandle hugeArrayBlock, SearchOptions searchOptions, dword *matchLen); REVISION HISTORY: Name Date Description ---- ---- ----------- atw 10/ 9/91 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ global TEXTSEARCHINHUGEARRAY:far TEXTSEARCHINHUGEARRAY proc far str2:fptr.char, str2Size:word, \ str1Size:dword, curOffset:dword, \ endOffset:dword, hugeArrayFileHan:hptr, \ hugeArrayBlock:hptr, searchOptions:word, \ matchLen:fptr.dword uses ds, si, bp .enter sub sp, size TextSearchInHugeArrayFrame mov si, sp movdw ss:[si].TSIHAF_str1Size, str1Size, ax movdw ss:[si].TSIHAF_curOffset, curOffset, ax movdw ss:[si].TSIHAF_endOffset, endOffset, ax mov ax, hugeArrayFileHan mov ss:[si].TSIHAF_hugeArrayVMFile, ax mov ax, hugeArrayBlock mov ss:[si].TSIHAF_hugeArrayVMBlock, ax mov al, searchOptions.low mov ss:[si].TSIHAF_searchFlags, al push bp lds si, str2 mov cx, str2Size call TextSearchInHugeArray mov ax, bp pop bp lds si, matchLen jc notFound movdw ds:[si], axcx exit: add sp, TextSearchInHugeArrayFrame .leave ret notFound: clrdw ds:[si] jmp exit TEXTSEARCHINHUGEARRAY endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TEXTSETSPELLLIBRARY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Just a CStub for TextSetSpellLibrary C DECLARATION: extern void /* XXX */ _pascal TextSetSpellLibrary(MemHandle libHandle); PSEUDO CODE/STRATEGY: KNOWN BUGS/SIDE EFFECTS/IDEAS: REVISION HISTORY: Name Date Description ---- ---- ----------- cassie 12/ 3/93 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ global TEXTSETSPELLLIBRARY:far TEXTSETSPELLLIBRARY proc far libHandle:hptr.MemHandle uses bx .enter mov bx, ss:[libHandle] call TextSetSpellLibrary .leave ret TEXTSETSPELLLIBRARY endp ForceRef TEXTSETSPELLLIBRARY TextC ends SetDefaultConvention
25.973118
79
0.568826
cafd6ef0dfa21daed1c7ac2fee2b8724e2b952d2
466
asm
Assembly
tests/devices/longptr/org.asm
fengjixuchui/sjasmplus
df0fabd2411bf89e23637fce46d273f52dafbe16
[ "BSD-3-Clause" ]
220
2016-10-22T19:44:39.000Z
2022-03-29T20:57:04.000Z
tests/devices/longptr/org.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
153
2018-05-07T10:31:23.000Z
2022-03-30T04:35:59.000Z
tests/devices/longptr/org.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
51
2016-05-12T21:27:36.000Z
2022-03-27T15:16:16.000Z
OUTPUT "org.bin" DEVICE NONE ; no errors/warnings expected because of the --longptr option ORG $FFFF longptr1: DB 'A' longptr2: DB 'B' longptr3: DB 'C' DEVICE ZXSPECTRUM48 ; the --longptr should NOT affect actual devices => errors will be reported ORG $FFFF devbyte1: DB 'a' devbyte2: DB 'b' ; error crossing $10000 address boundary devbyte3: DB 'c' ; silent after first error reported
29.125
79
0.620172
003eef7a4cf42fd5ea88d7970da99a18c6e22817
8,283
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_591.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_591.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_591.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e0b5, %rsi lea addresses_WT_ht+0x98b5, %rdi nop nop nop nop nop inc %r13 mov $28, %rcx rep movsl xor $803, %r11 lea addresses_WT_ht+0x15c7b, %r10 nop nop nop cmp %r8, %r8 mov $0x6162636465666768, %rdi movq %rdi, %xmm6 movups %xmm6, (%r10) nop nop nop nop nop cmp $45987, %r13 lea addresses_A_ht+0xf4e5, %r13 cmp %r10, %r10 mov $0x6162636465666768, %rcx movq %rcx, (%r13) nop nop nop nop nop add $61411, %r10 lea addresses_A_ht+0x4b35, %r10 nop nop nop nop add %r11, %r11 vmovups (%r10), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $1, %xmm2, %rdi nop sub $40618, %r13 lea addresses_A_ht+0x10c6e, %r8 add $47788, %r10 movups (%r8), %xmm2 vpextrq $0, %xmm2, %r13 add %rsi, %rsi lea addresses_A_ht+0xdf85, %rsi lea addresses_D_ht+0x14101, %rdi nop nop nop nop and %r8, %r8 mov $16, %rcx rep movsq nop sub $59878, %r8 lea addresses_UC_ht+0x103b5, %rdi nop nop nop nop nop add %r10, %r10 vmovups (%rdi), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $0, %xmm2, %r13 nop nop nop nop sub %rcx, %rcx lea addresses_WC_ht+0x1a48d, %rsi lea addresses_A_ht+0x98b5, %rdi clflush (%rdi) nop nop nop nop and $6865, %r11 mov $30, %rcx rep movsw nop nop nop nop nop cmp %r11, %r11 lea addresses_WC_ht+0xef35, %rsi lea addresses_D_ht+0xcd75, %rdi nop nop nop add $39601, %r14 mov $108, %rcx rep movsw nop nop and $62499, %r13 lea addresses_D_ht+0xe4b5, %rsi lea addresses_UC_ht+0x162b5, %rdi nop xor %r11, %r11 mov $20, %rcx rep movsb nop nop nop nop xor $27555, %r11 lea addresses_WC_ht+0x5cb5, %rcx nop nop nop cmp $21667, %r10 mov $0x6162636465666768, %r14 movq %r14, (%rcx) nop nop add $14833, %rsi lea addresses_normal_ht+0x2675, %rsi lea addresses_A_ht+0x1328, %rdi nop nop nop nop add $27968, %r10 mov $42, %rcx rep movsq nop nop nop nop add %r8, %r8 lea addresses_normal_ht+0x18d9, %rsi nop nop nop nop nop cmp $14946, %rdi movb (%rsi), %r11b nop nop sub $13666, %r11 lea addresses_A_ht+0x18985, %rsi lea addresses_WC_ht+0x140b5, %rdi nop and $5993, %r13 mov $47, %rcx rep movsl nop sub $35650, %r14 pop %rsi pop %rdi pop %rcx pop %r8 pop %r14 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %rbp push %rbx push %rdi push %rsi // Load lea addresses_D+0x188b5, %r12 nop nop nop inc %r15 vmovups (%r12), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $1, %xmm5, %rbx nop nop nop nop dec %r15 // Store lea addresses_RW+0xd0b5, %rbp nop add $24139, %rdi movw $0x5152, (%rbp) cmp $95, %r11 // Faulty Load lea addresses_WC+0x148b5, %r15 sub %r12, %r12 movb (%r15), %bl lea oracles, %r15 and $0xff, %rbx shlq $12, %rbx mov (%r15,%rbx,1), %rbx pop %rsi pop %rdi pop %rbx pop %rbp pop %r15 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'AVXalign': False, 'congruent': 9, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 11, 'size': 2, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': True, 'NT': True}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 1, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 4, 'size': 8, 'same': True, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 6, 'size': 32, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': True, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 4, 'size': 32, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': True}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 9, 'size': 8, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': True}, 'dst': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 2, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
32.610236
2,999
0.657733
7f786ef7675e034233e6ceaa2e5ff337e3c0296a
8,529
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_12.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_0x48_notsx.log_21829_12.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_0x48_notsx.log_21829_12.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x118ee, %rsi nop nop nop and %rdi, %rdi movw $0x6162, (%rsi) nop nop nop nop nop and $31326, %rdx lea addresses_normal_ht+0x26ea, %r14 clflush (%r14) nop nop nop nop xor $62779, %rbp mov $0x6162636465666768, %rdx movq %rdx, %xmm3 vmovups %ymm3, (%r14) nop cmp %rdx, %rdx lea addresses_WT_ht+0x18eea, %rsi lea addresses_A_ht+0x193ea, %rdi nop nop nop nop nop cmp %r15, %r15 mov $23, %rcx rep movsw nop nop xor $27078, %r13 lea addresses_WC_ht+0x19aea, %r15 nop nop cmp $20674, %rdi movb $0x61, (%r15) nop nop dec %rbp lea addresses_D_ht+0x1daea, %rdx nop nop nop nop and %rdi, %rdi mov (%rdx), %rsi nop nop nop nop and %rsi, %rsi lea addresses_UC_ht+0x12ed6, %rsi cmp %rbp, %rbp mov $0x6162636465666768, %r13 movq %r13, %xmm5 movups %xmm5, (%rsi) xor $7307, %rbp lea addresses_WT_ht+0x1389a, %rsi lea addresses_UC_ht+0xb562, %rdi nop nop nop nop inc %rdx mov $0, %rcx rep movsw nop nop sub %r13, %r13 lea addresses_WT_ht+0x179ea, %rsi lea addresses_A_ht+0x1e1da, %rdi nop nop nop nop xor %r14, %r14 mov $103, %rcx rep movsl nop nop nop nop nop and %rdx, %rdx lea addresses_UC_ht+0xfaaa, %r13 and $30510, %rdi vmovups (%r13), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %rbp nop inc %r15 lea addresses_D_ht+0x12cea, %r14 nop dec %rdx and $0xffffffffffffffc0, %r14 movntdqa (%r14), %xmm2 vpextrq $0, %xmm2, %rsi nop nop nop nop nop cmp %r14, %r14 lea addresses_normal_ht+0x5d52, %rsi lea addresses_UC_ht+0x101ba, %rdi sub %rbp, %rbp mov $85, %rcx rep movsw nop nop nop nop xor $39634, %r13 lea addresses_normal_ht+0xeea, %rdx nop nop nop nop and $12322, %rdi mov (%rdx), %r14w nop nop nop nop cmp $33649, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r15 pop %r14 pop %r13 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r8 push %r9 push %rax push %rbx push %rsi // Store lea addresses_WC+0x166ea, %r10 nop nop dec %r13 movw $0x5152, (%r10) nop nop cmp $54777, %r8 // Store lea addresses_RW+0xe76a, %r13 sub %r8, %r8 movw $0x5152, (%r13) nop nop nop nop xor $63570, %r13 // Store lea addresses_US+0x13aea, %r13 nop add %r9, %r9 movb $0x51, (%r13) nop nop sub %r10, %r10 // Load lea addresses_A+0x1afea, %r13 nop and %rax, %rax vmovups (%r13), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $1, %xmm0, %r8 dec %rbx // Store lea addresses_PSE+0x1feea, %r8 nop nop nop nop nop and %r9, %r9 movw $0x5152, (%r8) nop dec %r9 // Store lea addresses_normal+0x150da, %r13 nop nop nop nop nop xor %rax, %rax movw $0x5152, (%r13) nop nop nop nop cmp $829, %rax // Faulty Load lea addresses_WT+0xe6ea, %rax nop nop nop inc %r8 mov (%rax), %r10d lea oracles, %r9 and $0xff, %r10 shlq $12, %r10 mov (%r9,%r10,1), %r10 pop %rsi pop %rbx pop %rax pop %r9 pop %r8 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 8, 'type': 'addresses_WT', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WC', 'congruent': 11}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_RW', 'congruent': 2}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': True, 'AVXalign': True, 'size': 1, 'type': 'addresses_US', 'congruent': 10}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A', 'congruent': 8}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_PSE', 'congruent': 10}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_normal', 'congruent': 1}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'NT': True, 'AVXalign': False, 'size': 2, 'type': 'addresses_WT_ht', 'congruent': 0}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_normal_ht', 'congruent': 11}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 7, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_WT_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WC_ht', 'congruent': 10}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D_ht', 'congruent': 9}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC_ht', 'congruent': 2}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 2, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}} {'dst': {'same': False, 'congruent': 2, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_UC_ht', 'congruent': 5}} {'OP': 'LOAD', 'src': {'same': False, 'NT': True, 'AVXalign': False, 'size': 16, 'type': 'addresses_D_ht', 'congruent': 8}} {'dst': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_normal_ht'}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_normal_ht', 'congruent': 10}} {'39': 21829} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
31.014545
2,999
0.653652
a18f6c298ddc42dd28eb85a8f0286f503bec5d8e
71
asm
Assembly
test/xle-bad.asm
kspalaiologos/asmbf
c98a51d61724a46855de291a27d68a49a034810b
[ "MIT" ]
67
2020-08-03T06:26:35.000Z
2022-03-24T19:50:51.000Z
test/xle-bad.asm
pyautogui/asmbf
37c54a8a62df2fc4bab28bdeb43237b4905cbecd
[ "MIT" ]
55
2019-10-02T19:37:08.000Z
2020-06-12T19:40:53.000Z
test/xle-bad.asm
pyautogui/asmbf
37c54a8a62df2fc4bab28bdeb43237b4905cbecd
[ "MIT" ]
9
2019-05-18T11:59:41.000Z
2020-06-21T20:40:25.000Z
mov r1, $(signed(5)) mov r2, $(signed(3)) xle r1, r2 add r1, .0 out r1
11.833333
20
0.591549
f67e5a8ea3283832cf7af41326e603a65c02f5e3
4,616
asm
Assembly
Driver/Printer/HP/Dj500c/dj500cDriverInfo.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Driver/Printer/HP/Dj500c/dj500cDriverInfo.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Driver/Printer/HP/Dj500c/dj500cDriverInfo.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Deskjet CMY printer driver FILE: dj500cDriverInfo.asm AUTHOR: Dave Durran, 27 Feb 1990 REVISION HISTORY: Name Date Description ---- ---- ----------- Dave 2/27/90 Initial revision Dave 6/22/92 Initial 2.0 revision DESCRIPTION: Driver info for the deskJet printer driver The file "printerDriver.def" should be included before this one $Id: dj500cDriverInfo.asm,v 1.1 97/09/10 14:02:57 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Driver Info Resource This part of the file contains the information that pertains to all device supported by the driver. It includes device names and a table of the resource handles for the specific device info. A pointer to this info is provided by the DriverInfo function. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ DriverInfo segment lmem LMEM_TYPE_GENERAL ;---------------------------------------------------------------------------- ; Device Enumerations ;---------------------------------------------------------------------------- ifdef GPC_ONLY ; ; GlobalPC printer drivers (compatibility modes only) ; DefPrinter PD_EARLY_DESKJET_3C, "HP DeskJet 3-Color Compatible", dj500cInfo else ; ; Default printer driver list (all known supported devices) ; ; The following models need to be officially tested: ; HP670C HP672C HP692C HP810C HP895C HP895CSE HP895CXI ; HP970CXI HP1120C HP1120CSE HP1220C HP1220CSE ; ; DefPrinter PD_DESKJET_500_C, "HP DeskJet 500C (Color)", dj500cInfo DefPrinter PD_DESKJET_540_C, "HP DeskJet 540C (Color)", dj500cInfo DefPrinter PD_DESKJET_550_3C, "HP DeskJet 550C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_560_3C, "HP DeskJet 560C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_600_C, "HP DeskJet 600C (Color)", dj500cInfo DefPrinter PD_DESKJET_660_3C, "HP DeskJet 660C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_670_3C, "HP DeskJet 670C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_672_3C, "HP DeskJet 672C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_680_3C, "HP DeskJet 680C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_682_3C, "HP DeskJet 682C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_692_3C, "HP DeskJet 692C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_810_3C, "HP DeskJet 810C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_850_3C, "HP DeskJet 850C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_895_3C, "HP DeskJet 895C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_895_3CSE, "HP DeskJet 895Cse (3 Color)", dj500cInfo DefPrinter PD_DESKJET_895_3CXI, "HP DeskJet 895Cxi (3 Color)", dj500cInfo DefPrinter PD_DESKJET_970_3CXI, "HP DeskJet 970Cxi (3 Color)", dj500cInfo DefPrinter PD_DESKJET_1120_3C, "HP DeskJet 1120C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_1120_3CSE, "HP DeskJet 1120Cse (3 Color)", dj500cInfo DefPrinter PD_DESKJET_1220_3C, "HP DeskJet 1220C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_1220_3CSE, "HP DeskJet 1220Cse (3 Color)", dj500cInfo DefPrinter PD_DESKJET_1600_3C, "HP DeskJet 1600C (3 Color)", dj500cInfo DefPrinter PD_DESKJET_CMY_NCC, "HP DeskJet CMY Non Col-Corr", nccCMYInfo DefPrinter PD_HP_PJ_XL300_3C, "HP PaintJet XL300 (3 Color)", pjxl300Info endif ;---------------------------------------------------------------------------- ; Driver Info Header ;---------------------------------------------------------------------------- DriverExtendedInfoTable < {}, ; lmem hdr PrintDevice/2, ; # devices offset deviceStrings, ; devices offset deviceInfoTab ; info blocks > PrintDriverInfo < 30, ;device timout PR_RESEND, ; isoSubstitutions, ;ISO sub tab. asciiTransTable, PDT_PRINTER, TRUE > ;---------------------------------------------------------------------------- ; Device String Table and Strings ;---------------------------------------------------------------------------- isoSubstitutions chunk.word 0ffffh ;no ISO subs. ; ASCII Translation List for Foreign Language Versions asciiTransTable chunk.char ";;",0 ;create the tables... PrinterTables DriverInfo ends
38.466667
79
0.592721
4cdaa0c19c04a8f3184a2cf46963bd7a0b4ed14d
10,428
asm
Assembly
tests/test13.asm
dasien/mfc6502
01e0da3589388f66bf6c5a5a07f0bc1a5ff95682
[ "MIT" ]
null
null
null
tests/test13.asm
dasien/mfc6502
01e0da3589388f66bf6c5a5a07f0bc1a5ff95682
[ "MIT" ]
null
null
null
tests/test13.asm
dasien/mfc6502
01e0da3589388f66bf6c5a5a07f0bc1a5ff95682
[ "MIT" ]
null
null
null
; ;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ;* * ;* COMPUTE THE DAY OF WEEK * ;* * ;* by W.J. Brier, March 2008 * ;* * ;* This 6502 assembly language program calculates the day of the week from any * ;* calendar date from September 14, 1752 to December 31, 9999. * ;* * ;* --------------------------------------------------------------------------- * ;* * ;* Copyright (C)2008 by W.J. Brier. All rights reserved. Permission is here- * ;* by granted to copy and redistribute this software, provided this copyright * ;* notice remains in the source code and proper attribution is given. Any re- * ;* distribution must be at no charge to the end user. This code MAY NOT be * ;* incorporated into any package intended for sale unless written permission * ;* has been given by the author. * ;* * ;* THERE IS NO WARRANTY OF ANY KIND WITH THIS SOFTWARE. It's free, so don't * ;* look a gift horse in the mouth. * ;* * ;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ; ; ; Calling Syntax: ; ; ldx #<date ;starting address of.., ; ldy #>date ;date data ; jsr cdow ;this subroutine ; sta dow ;day of week returned in .A ; ; .X and .Y are preserved. ; ; The information at DATE must be in the following format: ; ; Offset Data ; -------------------------------------------------------------- ; $00 Year MSB. For example, if the year is 2008 then this ; value would be $07. ; ; $01 Year LSB. For example, if the year is 2008 then this ; value would be $D8. ; ; $02 Month, ranging from $01 to $0C (12). ; ; $03 Date, ranging from $01 to $1F (31). ; -------------------------------------------------------------- ; ; Upon return, .A will contain the day of the week in the range $01-$07, ; with $01 being Sunday. Execution time will typically be 4150 clock ; cycles, depending on the supplied values. No range checking is perf- ; ormed. A bogus date will produce a bogus result. ; ;=============================================================================== ; ;DECLARATIONS ; _origin_ =$02000 ;assembly address ; zpptr =$10 ;working ZP pointer ; ; -------------------------------------------------------- ; Redefine the above assignments to suit your application. ; -------------------------------------------------------- ; dayswk =7 ;days in a week march =$03 ;March in binary s_bits =8 ;number of bits in a byte s_byte =1 ;size of a byte or char s_date =4 ;size of the input date s_dword =4 ;size of a double word s_word =2 ;size of a word y2fac =4 ;Y2 computation factor y3fac =100 ;Y3 computation factor y4fac =400 ;Y4 computation factor ; ;=============================================================================== ; ;COMPUTE DAY OF WEEK ; *=_origin_ ;set program counter ; cdow stx zpptr ;save pointer to... sty zpptr+1 ;date info ldy #s_date-1 ;bytes in date -1 ; cdow01 lda (zpptr),y ;copy user's date... sta userdate,y ;into our storage dey bpl cdow01 ; lda month ;month ldx yearlo ;year LSB ldy yearhi ;year MSB pha ;save month cmp #march ;month March or later? bcs cdow03 ;yes, no year adjustment ; txa ;year LSB sec sbc #1 ;move back a year bcs cdow02 ; dey ;adjust MSB ; cdow02 tax ;hold LSB ; cdow03 stx y1 ;save Y1 sty y1+1 ; ; ------------ ; compute Y1/4 ; ------------ ; jsr stafaca ;store Y1 in accummulator #1 ldx #<y2fac ;4 ldy #>y2fac jsr stafacb ;copy to accummulator #2 jsr dpdiv ;Y2=Y1/4 stx y2 ;store sty y2+1 ; ; --------------- ; compute Y1/100) ; --------------- ; jsr stay1fac ;copy Y1 to accummulator #1 ldx #<y3fac ldy #>y3fac jsr stafacb ;copy to accummulator #2 jsr dpdiv ;Y3=Y1/100 stx y3 ;store sty y3+1 ; ; -------------- ; compute Y1/400 ; -------------- ; jsr stay1fac ldx #<y4fac ldy #>y4fac jsr stafacb ;copy to accummulator #2 jsr dpdiv ;Y4=Y1/400 stx y4 ;store sty y4+1 ; ; ------------- ; combine terms ; ------------- ; clc lda y1 ;Y1 adc y2 ;Y2 sta acm1 lda y1+1 adc y2+1 sta acm1+1 sec lda acm1 sbc y3 ;Y3 sta acm1 lda acm1+1 sbc y3+1 sta acm1+1 clc lda acm1 adc y4 ;Y4 sta acm1 lda acm1+1 adc y4+1 sta acm1+1 pla ;get month tax ;change 1-12 to... dex ;0-11 clc lda acm1 ;combined terms adc dowmctab,x ;month comp factor bcc cdow04 ; inc acm1+1 ; cdow04 sta acm1 clc lda date ;date adc acm1 ;last term bcc cdow05 ; inc acm1+1 ; cdow05 sta acm1 ldx #<dayswk ;number of days in a week ldy #>dayswk jsr stafacb ;copy to accummulator #2 jsr dpdiv ;ACM1=ACM1 mod 7 adc #1 ;0-6 --> 1-7... ; ; ------------------------------------------------------- ; remove the above ADC #1 instruction for a 0-6 DOW range ; ------------------------------------------------------- ; ldx zpptr ;restore ldy zpptr+1 ;likewise rts ;return day of week in .A ; ;================================================================================ ; ;DOUBLE-PRECISION DIVISION ; ; ----------------------------------------- ; acm1 = 16 bit dividend ; acm2 = 16 bit divisor ; ----------------------------------------- ; acm1 = 16 bit quotient ; .A = remainder ; .X = quotient LSB ; .Y = quotient MSB ; ; The remainder is also available in acm1+2. ; ; No check is made for division by zero. ; ------------------------------------------ ; dpdiv lda #0 sta acm1+s_word ;clear dividend hi bits sta acm1+s_word+s_byte ldx #s_bits*s_word ;bits to process clc ; dpdiv01 rol acm1 ;rotate dividend rol acm1+s_byte rol acm1+s_word rol acm1+s_word+s_byte sec lda acm1+s_word sbc acm2 ;subtract divisor tay lda acm1+s_word+s_byte sbc acm2+s_byte bcc dpdiv02 ; sty acm1+s_word ;save partial quotient sta acm1+s_word+s_byte ; dpdiv02 dex bne dpdiv01 ;next ; rol acm1 ;rotate in last carry to... rol acm1+s_byte ;finish quotient lda acm1+s_word ;get remainder LSB ldx acm1 ;get quotient LSB ldy acm1+s_byte ;get quotient MSB rts ; ;================================================================================ ; ;STORE Y1 INTO ACCUMMULATOR #1 ; stay1fac ldx y1 ldy y1+1 ; ;================================================================================ ; ;STORE INTO ACCUMMULATOR #1 ; stafaca stx acm1 sty acm1+1 rts ; ;================================================================================ ; ;STORE INTO ACCUMMULATOR #2 ; stafacb stx acm2 sty acm2+1 rts ; ;=============================================================================== ; ;COMPENSATION TABLE ; dowmctab .byte 0 ;January .byte 3 ;February .byte 2 ;March .byte 5 ;April .byte 0 ;May .byte 3 ;June .byte 5 ;July .byte 1 ;August .byte 4 ;September .byte 6 ;October .byte 2 ;November .byte 4 ;December ; ;=============================================================================== ; ;WORKING STORAGE ; acm1 *=*+s_dword ;accummulator #1 acm2 *=*+s_word ;accummulator #2 y1 *=*+s_word ;adjusted year (Y1) y2 *=*+s_word ;Y1/4 y3 *=*+s_word ;Y1/100 y4 *=*+s_word ;Y1/400 ; ; ------------------------------------------------------------- ; The above locations should be defined on page zero if room is ; available. Execution time will be reduced about 20 percent. ; ------------------------------------------------------------- ; userdate *=*+s_date ;input date storage... ; yearhi =userdate ;year MSB yearlo =yearhi+s_byte ;year LSB month =yearlo+s_byte ;month date =month+s_byte ;date ; ;=============================================================================== .end
32.689655
81
0.374185
e3875dd05bb48a0bc8ad9ccafee3dcbc65da0533
104,291
asm
Assembly
main.asm
gcoulby/JP
9c058be14f6eda6af3eef6493734d230104812eb
[ "MIT" ]
null
null
null
main.asm
gcoulby/JP
9c058be14f6eda6af3eef6493734d230104812eb
[ "MIT" ]
null
null
null
main.asm
gcoulby/JP
9c058be14f6eda6af3eef6493734d230104812eb
[ "MIT" ]
null
null
null
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.0 #12072 (MINGW32) ;-------------------------------------------------------- .module main .optsdcc -mgbz80 ;-------------------------------------------------------- ; Public variables in this module ;-------------------------------------------------------- .globl _main .globl _init .globl _playGameOverSFX .globl _startBGM .globl _loop .globl _moveActivePlatform .globl _activePlatformIsWaiting .globl _seedRandom .globl _showGameOverScreen .globl _showStartScreen .globl _loadFonts .globl _randomiseValues .globl _changeActivePlatform .globl _updateScore .globl _setScore .globl _getRand .globl _updatePlayer .globl _jump .globl _platformIsUnderPlayer .globl _isCollision .globl _wouldHitSurface .globl _initPlayer .globl _initPlatform .globl _movePlayer .globl _movePlatform .globl _playSound .globl _performantDelay .globl _gbt_update .globl _gbt_loop .globl _gbt_stop .globl _gbt_play .globl _font_set .globl _font_load .globl _font_init .globl _rand .globl _initrand .globl _set_sprite_data .globl _set_win_tiles .globl _set_bkg_data .globl _wait_vbl_done .globl _set_interrupts .globl _disable_interrupts .globl _enable_interrupts .globl _waitpad .globl _joypad .globl _fontNumBase .globl _score .globl _gameActive .globl _waitCount .globl _platformDirection .globl _platformWaitLength .globl _platformSpeed .globl _activePlatform .globl _floor .globl _spriteSize .globl _jumping .globl _currentSpeedY .globl _player .globl _platforms .globl _SplashTiles .globl _Splash .globl _welcomemap .globl _gameOverMap .globl _windowmap .globl _Sprites .globl _BASE_JUMP_SPEED .globl _gravity ;-------------------------------------------------------- ; special function registers ;-------------------------------------------------------- ;-------------------------------------------------------- ; ram data ;-------------------------------------------------------- .area _DATA _Sprites:: .ds 192 _windowmap:: .ds 11 _gameOverMap:: .ds 22 _welcomemap:: .ds 11 _Splash:: .ds 360 _SplashTiles:: .ds 752 _platforms:: .ds 36 _player:: .ds 9 _currentSpeedY:: .ds 1 _jumping:: .ds 1 _spriteSize:: .ds 1 _floor:: .ds 1 _activePlatform:: .ds 1 _platformSpeed:: .ds 1 _platformWaitLength:: .ds 1 _platformDirection:: .ds 1 _waitCount:: .ds 1 _gameActive:: .ds 1 _score:: .ds 2 _fontNumBase:: .ds 1 ;-------------------------------------------------------- ; absolute external ram data ;-------------------------------------------------------- .area _DABS (ABS) ;-------------------------------------------------------- ; global & static initialisations ;-------------------------------------------------------- .area _HOME .area _GSINIT .area _GSFINAL .area _GSINIT ;Sprites.c:26: unsigned char Sprites[] = ld hl, #_Sprites ld (hl), #0xff ld hl, #(_Sprites + 0x0001) ld (hl), #0xff ld hl, #(_Sprites + 0x0002) ld (hl), #0x80 ld hl, #(_Sprites + 0x0003) ld (hl), #0xff ld hl, #(_Sprites + 0x0004) ld (hl), #0x80 ld hl, #(_Sprites + 0x0005) ld (hl), #0x80 ld hl, #(_Sprites + 0x0006) ld (hl), #0xff ld hl, #(_Sprites + 0x0007) ld (hl), #0x80 ld hl, #(_Sprites + 0x0008) ld (hl), #0xff ld hl, #(_Sprites + 0x0009) ld (hl), #0x80 ld hl, #(_Sprites + 0x000a) ld (hl), #0xff ld hl, #(_Sprites + 0x000b) ld (hl), #0x80 ld hl, #(_Sprites + 0x000c) ld (hl), #0x80 ld hl, #(_Sprites + 0x000d) ld (hl), #0xff ld hl, #(_Sprites + 0x000e) ld (hl), #0xff ld hl, #(_Sprites + 0x000f) ld (hl), #0xff ld hl, #(_Sprites + 0x0010) ld (hl), #0xff ld hl, #(_Sprites + 0x0011) ld (hl), #0xff ld hl, #(_Sprites + 0x0012) ld (hl), #0x00 ld hl, #(_Sprites + 0x0013) ld (hl), #0xff ld hl, #(_Sprites + 0x0014) ld (hl), #0x00 ld hl, #(_Sprites + 0x0015) ld (hl), #0x00 ld hl, #(_Sprites + 0x0016) ld (hl), #0xff ld hl, #(_Sprites + 0x0017) ld (hl), #0x00 ld hl, #(_Sprites + 0x0018) ld (hl), #0xff ld hl, #(_Sprites + 0x0019) ld (hl), #0x00 ld hl, #(_Sprites + 0x001a) ld (hl), #0xff ld hl, #(_Sprites + 0x001b) ld (hl), #0x00 ld hl, #(_Sprites + 0x001c) ld (hl), #0x00 ld hl, #(_Sprites + 0x001d) ld (hl), #0xff ld hl, #(_Sprites + 0x001e) ld (hl), #0xff ld hl, #(_Sprites + 0x001f) ld (hl), #0xff ld hl, #(_Sprites + 0x0020) ld (hl), #0xff ld hl, #(_Sprites + 0x0021) ld (hl), #0xff ld hl, #(_Sprites + 0x0022) ld (hl), #0x01 ld hl, #(_Sprites + 0x0023) ld (hl), #0xff ld hl, #(_Sprites + 0x0024) ld (hl), #0x01 ld hl, #(_Sprites + 0x0025) ld (hl), #0x01 ld hl, #(_Sprites + 0x0026) ld (hl), #0xff ld hl, #(_Sprites + 0x0027) ld (hl), #0x01 ld hl, #(_Sprites + 0x0028) ld (hl), #0xff ld hl, #(_Sprites + 0x0029) ld (hl), #0x01 ld hl, #(_Sprites + 0x002a) ld (hl), #0xff ld hl, #(_Sprites + 0x002b) ld (hl), #0x01 ld hl, #(_Sprites + 0x002c) ld (hl), #0x01 ld hl, #(_Sprites + 0x002d) ld (hl), #0xff ld hl, #(_Sprites + 0x002e) ld (hl), #0xff ld hl, #(_Sprites + 0x002f) ld (hl), #0xff ld hl, #(_Sprites + 0x0030) ld (hl), #0xff ld hl, #(_Sprites + 0x0031) ld (hl), #0x00 ld hl, #(_Sprites + 0x0032) ld (hl), #0xff ld hl, #(_Sprites + 0x0033) ld (hl), #0x00 ld hl, #(_Sprites + 0x0034) ld (hl), #0xc3 ld hl, #(_Sprites + 0x0035) ld (hl), #0x3c ld hl, #(_Sprites + 0x0036) ld (hl), #0xff ld hl, #(_Sprites + 0x0037) ld (hl), #0x00 ld hl, #(_Sprites + 0x0038) ld (hl), #0xf7 ld hl, #(_Sprites + 0x0039) ld (hl), #0x10 ld hl, #(_Sprites + 0x003a) ld (hl), #0xff ld hl, #(_Sprites + 0x003b) ld (hl), #0x18 ld hl, #(_Sprites + 0x003c) ld (hl), #0xff ld hl, #(_Sprites + 0x003d) ld (hl), #0x18 ld hl, #(_Sprites + 0x003e) ld (hl), #0xff ld hl, #(_Sprites + 0x003f) ld (hl), #0x18 ld hl, #(_Sprites + 0x0040) ld (hl), #0xff ld hl, #(_Sprites + 0x0041) ld (hl), #0x00 ld hl, #(_Sprites + 0x0042) ld (hl), #0xff ld hl, #(_Sprites + 0x0043) ld (hl), #0x00 ld hl, #(_Sprites + 0x0044) ld (hl), #0xc3 ld hl, #(_Sprites + 0x0045) ld (hl), #0x3c ld hl, #(_Sprites + 0x0046) ld (hl), #0xff ld hl, #(_Sprites + 0x0047) ld (hl), #0x00 ld hl, #(_Sprites + 0x0048) ld (hl), #0xf7 ld hl, #(_Sprites + 0x0049) ld (hl), #0x10 ld hl, #(_Sprites + 0x004a) ld (hl), #0xff ld hl, #(_Sprites + 0x004b) ld (hl), #0x18 ld hl, #(_Sprites + 0x004c) ld (hl), #0xff ld hl, #(_Sprites + 0x004d) ld (hl), #0x18 ld hl, #(_Sprites + 0x004e) ld (hl), #0xff ld hl, #(_Sprites + 0x004f) ld (hl), #0x18 ld hl, #(_Sprites + 0x0050) ld (hl), #0xff ld hl, #(_Sprites + 0x0051) ld (hl), #0x00 ld hl, #(_Sprites + 0x0052) ld (hl), #0xff ld hl, #(_Sprites + 0x0053) ld (hl), #0x00 ld hl, #(_Sprites + 0x0054) ld (hl), #0xff ld hl, #(_Sprites + 0x0055) ld (hl), #0x00 ld hl, #(_Sprites + 0x0056) ld (hl), #0xff ld hl, #(_Sprites + 0x0057) ld (hl), #0x00 ld hl, #(_Sprites + 0x0058) ld (hl), #0xf8 ld hl, #(_Sprites + 0x0059) ld (hl), #0x07 ld hl, #(_Sprites + 0x005a) ld (hl), #0xf8 ld hl, #(_Sprites + 0x005b) ld (hl), #0x07 ld hl, #(_Sprites + 0x005c) ld (hl), #0xff ld hl, #(_Sprites + 0x005d) ld (hl), #0x00 ld hl, #(_Sprites + 0x005e) ld (hl), #0xff ld hl, #(_Sprites + 0x005f) ld (hl), #0x00 ld hl, #(_Sprites + 0x0060) ld (hl), #0xff ld hl, #(_Sprites + 0x0061) ld (hl), #0x00 ld hl, #(_Sprites + 0x0062) ld (hl), #0xff ld hl, #(_Sprites + 0x0063) ld (hl), #0x00 ld hl, #(_Sprites + 0x0064) ld (hl), #0xff ld hl, #(_Sprites + 0x0065) ld (hl), #0x00 ld hl, #(_Sprites + 0x0066) ld (hl), #0xff ld hl, #(_Sprites + 0x0067) ld (hl), #0x00 ld hl, #(_Sprites + 0x0068) ld (hl), #0x1f ld hl, #(_Sprites + 0x0069) ld (hl), #0xe0 ld hl, #(_Sprites + 0x006a) ld (hl), #0x1f ld hl, #(_Sprites + 0x006b) ld (hl), #0xe0 ld hl, #(_Sprites + 0x006c) ld (hl), #0xff ld hl, #(_Sprites + 0x006d) ld (hl), #0x00 ld hl, #(_Sprites + 0x006e) ld (hl), #0xff ld hl, #(_Sprites + 0x006f) ld (hl), #0x00 ld hl, #(_Sprites + 0x0070) ld (hl), #0x00 ld hl, #(_Sprites + 0x0071) ld (hl), #0x00 ld hl, #(_Sprites + 0x0072) ld (hl), #0x00 ld hl, #(_Sprites + 0x0073) ld (hl), #0x00 ld hl, #(_Sprites + 0x0074) ld (hl), #0x00 ld hl, #(_Sprites + 0x0075) ld (hl), #0x00 ld hl, #(_Sprites + 0x0076) ld (hl), #0x00 ld hl, #(_Sprites + 0x0077) ld (hl), #0x00 ld hl, #(_Sprites + 0x0078) ld (hl), #0x00 ld hl, #(_Sprites + 0x0079) ld (hl), #0x00 ld hl, #(_Sprites + 0x007a) ld (hl), #0x00 ld hl, #(_Sprites + 0x007b) ld (hl), #0x00 ld hl, #(_Sprites + 0x007c) ld (hl), #0x00 ld hl, #(_Sprites + 0x007d) ld (hl), #0x00 ld hl, #(_Sprites + 0x007e) ld (hl), #0x00 ld hl, #(_Sprites + 0x007f) ld (hl), #0x00 ld hl, #(_Sprites + 0x0080) ld (hl), #0x00 ld hl, #(_Sprites + 0x0081) ld (hl), #0x00 ld hl, #(_Sprites + 0x0082) ld (hl), #0x00 ld hl, #(_Sprites + 0x0083) ld (hl), #0x00 ld hl, #(_Sprites + 0x0084) ld (hl), #0x00 ld hl, #(_Sprites + 0x0085) ld (hl), #0x00 ld hl, #(_Sprites + 0x0086) ld (hl), #0x00 ld hl, #(_Sprites + 0x0087) ld (hl), #0x00 ld hl, #(_Sprites + 0x0088) ld (hl), #0x00 ld hl, #(_Sprites + 0x0089) ld (hl), #0x00 ld hl, #(_Sprites + 0x008a) ld (hl), #0x00 ld hl, #(_Sprites + 0x008b) ld (hl), #0x00 ld hl, #(_Sprites + 0x008c) ld (hl), #0x00 ld hl, #(_Sprites + 0x008d) ld (hl), #0x00 ld hl, #(_Sprites + 0x008e) ld (hl), #0x00 ld hl, #(_Sprites + 0x008f) ld (hl), #0x00 ld hl, #(_Sprites + 0x0090) ld (hl), #0x00 ld hl, #(_Sprites + 0x0091) ld (hl), #0x00 ld hl, #(_Sprites + 0x0092) ld (hl), #0x00 ld hl, #(_Sprites + 0x0093) ld (hl), #0x00 ld hl, #(_Sprites + 0x0094) ld (hl), #0x00 ld hl, #(_Sprites + 0x0095) ld (hl), #0x00 ld hl, #(_Sprites + 0x0096) ld (hl), #0x00 ld hl, #(_Sprites + 0x0097) ld (hl), #0x00 ld hl, #(_Sprites + 0x0098) ld (hl), #0x00 ld hl, #(_Sprites + 0x0099) ld (hl), #0x00 ld hl, #(_Sprites + 0x009a) ld (hl), #0x00 ld hl, #(_Sprites + 0x009b) ld (hl), #0x00 ld hl, #(_Sprites + 0x009c) ld (hl), #0x00 ld hl, #(_Sprites + 0x009d) ld (hl), #0x00 ld hl, #(_Sprites + 0x009e) ld (hl), #0x00 ld hl, #(_Sprites + 0x009f) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a0) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a1) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a2) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a3) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a4) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a5) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a6) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a7) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a8) ld (hl), #0x00 ld hl, #(_Sprites + 0x00a9) ld (hl), #0x00 ld hl, #(_Sprites + 0x00aa) ld (hl), #0x00 ld hl, #(_Sprites + 0x00ab) ld (hl), #0x00 ld hl, #(_Sprites + 0x00ac) ld (hl), #0x00 ld hl, #(_Sprites + 0x00ad) ld (hl), #0x00 ld hl, #(_Sprites + 0x00ae) ld (hl), #0x00 ld hl, #(_Sprites + 0x00af) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b0) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b1) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b2) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b3) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b4) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b5) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b6) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b7) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b8) ld (hl), #0x00 ld hl, #(_Sprites + 0x00b9) ld (hl), #0x00 ld hl, #(_Sprites + 0x00ba) ld (hl), #0x00 ld hl, #(_Sprites + 0x00bb) ld (hl), #0x00 ld hl, #(_Sprites + 0x00bc) ld (hl), #0x00 ld hl, #(_Sprites + 0x00bd) ld (hl), #0x00 ld hl, #(_Sprites + 0x00be) ld (hl), #0x00 ld hl, #(_Sprites + 0x00bf) ld (hl), #0x00 ;windowmap.c:1: unsigned char windowmap[] = ld hl, #_windowmap ld (hl), #0x20 ld hl, #(_windowmap + 0x0001) ld (hl), #0x2d ld hl, #(_windowmap + 0x0002) ld (hl), #0x2e ld hl, #(_windowmap + 0x0003) ld (hl), #0x1e ld hl, #(_windowmap + 0x0004) ld (hl), #0x1f ld hl, #(_windowmap + 0x0005) ld (hl), #0x00 ld hl, #(_windowmap + 0x0006) ld (hl), #0x23 ld hl, #(_windowmap + 0x0007) ld (hl), #0x23 ld hl, #(_windowmap + 0x0008) ld (hl), #0x23 ld hl, #(_windowmap + 0x0009) ld (hl), #0x23 ld hl, #(_windowmap + 0x000a) ld (hl), #0x23 ;game_over_map.c:1: unsigned char gameOverMap[] = ld hl, #_gameOverMap ld (hl), #0x1a ld hl, #(_gameOverMap + 0x0001) ld (hl), #0x1c ld hl, #(_gameOverMap + 0x0002) ld (hl), #0x0f ld hl, #(_gameOverMap + 0x0003) ld (hl), #0x1d ld hl, #(_gameOverMap + 0x0004) ld (hl), #0x1d ld hl, #(_gameOverMap + 0x0005) ld (hl), #0x00 ld hl, #(_gameOverMap + 0x0006) ld (hl), #0x1d ld hl, #(_gameOverMap + 0x0007) ld (hl), #0x1e ld hl, #(_gameOverMap + 0x0008) ld (hl), #0x0b ld hl, #(_gameOverMap + 0x0009) ld (hl), #0x1c ld hl, #(_gameOverMap + 0x000a) ld (hl), #0x1e ld hl, #(_gameOverMap + 0x000b) ld (hl), #0x1a ld hl, #(_gameOverMap + 0x000c) ld (hl), #0x1c ld hl, #(_gameOverMap + 0x000d) ld (hl), #0x0f ld hl, #(_gameOverMap + 0x000e) ld (hl), #0x1d ld hl, #(_gameOverMap + 0x000f) ld (hl), #0x1d ld hl, #(_gameOverMap + 0x0010) ld (hl), #0x00 ld hl, #(_gameOverMap + 0x0011) ld (hl), #0x1d ld hl, #(_gameOverMap + 0x0012) ld (hl), #0x1e ld hl, #(_gameOverMap + 0x0013) ld (hl), #0x0b ld hl, #(_gameOverMap + 0x0014) ld (hl), #0x1c ld hl, #(_gameOverMap + 0x0015) ld (hl), #0x1e ;welcomemap.c:1: unsigned char welcomemap[] = ld hl, #_welcomemap ld (hl), #0x1a ld hl, #(_welcomemap + 0x0001) ld (hl), #0x1c ld hl, #(_welcomemap + 0x0002) ld (hl), #0x0f ld hl, #(_welcomemap + 0x0003) ld (hl), #0x1d ld hl, #(_welcomemap + 0x0004) ld (hl), #0x1d ld hl, #(_welcomemap + 0x0005) ld (hl), #0x00 ld hl, #(_welcomemap + 0x0006) ld (hl), #0x1d ld hl, #(_welcomemap + 0x0007) ld (hl), #0x1e ld hl, #(_welcomemap + 0x0008) ld (hl), #0x0b ld hl, #(_welcomemap + 0x0009) ld (hl), #0x1c ld hl, #(_welcomemap + 0x000a) ld (hl), #0x1e ;Splash.c:25: unsigned char Splash[] = ld hl, #_Splash ld (hl), #0x00 ld hl, #(_Splash + 0x0001) ld (hl), #0x00 ld hl, #(_Splash + 0x0002) ld (hl), #0x00 ld hl, #(_Splash + 0x0003) ld (hl), #0x00 ld hl, #(_Splash + 0x0004) ld (hl), #0x00 ld hl, #(_Splash + 0x0005) ld (hl), #0x00 ld hl, #(_Splash + 0x0006) ld (hl), #0x00 ld hl, #(_Splash + 0x0007) ld (hl), #0x00 ld hl, #(_Splash + 0x0008) ld (hl), #0x00 ld hl, #(_Splash + 0x0009) ld (hl), #0x00 ld hl, #(_Splash + 0x000a) ld (hl), #0x00 ld hl, #(_Splash + 0x000b) ld (hl), #0x00 ld hl, #(_Splash + 0x000c) ld (hl), #0x00 ld hl, #(_Splash + 0x000d) ld (hl), #0x00 ld hl, #(_Splash + 0x000e) ld (hl), #0x00 ld hl, #(_Splash + 0x000f) ld (hl), #0x00 ld hl, #(_Splash + 0x0010) ld (hl), #0x00 ld hl, #(_Splash + 0x0011) ld (hl), #0x00 ld hl, #(_Splash + 0x0012) ld (hl), #0x00 ld hl, #(_Splash + 0x0013) ld (hl), #0x00 ld hl, #(_Splash + 0x0014) ld (hl), #0x00 ld hl, #(_Splash + 0x0015) ld (hl), #0x00 ld hl, #(_Splash + 0x0016) ld (hl), #0x00 ld hl, #(_Splash + 0x0017) ld (hl), #0x00 ld hl, #(_Splash + 0x0018) ld (hl), #0x00 ld hl, #(_Splash + 0x0019) ld (hl), #0x00 ld hl, #(_Splash + 0x001a) ld (hl), #0x00 ld hl, #(_Splash + 0x001b) ld (hl), #0x00 ld hl, #(_Splash + 0x001c) ld (hl), #0x00 ld hl, #(_Splash + 0x001d) ld (hl), #0x00 ld hl, #(_Splash + 0x001e) ld (hl), #0x00 ld hl, #(_Splash + 0x001f) ld (hl), #0x00 ld hl, #(_Splash + 0x0020) ld (hl), #0x00 ld hl, #(_Splash + 0x0021) ld (hl), #0x00 ld hl, #(_Splash + 0x0022) ld (hl), #0x00 ld hl, #(_Splash + 0x0023) ld (hl), #0x00 ld hl, #(_Splash + 0x0024) ld (hl), #0x00 ld hl, #(_Splash + 0x0025) ld (hl), #0x00 ld hl, #(_Splash + 0x0026) ld (hl), #0x00 ld hl, #(_Splash + 0x0027) ld (hl), #0x00 ld hl, #(_Splash + 0x0028) ld (hl), #0x00 ld hl, #(_Splash + 0x0029) ld (hl), #0x1a ld hl, #(_Splash + 0x002a) ld (hl), #0x1b ld hl, #(_Splash + 0x002b) ld (hl), #0x1b ld hl, #(_Splash + 0x002c) ld (hl), #0x1c ld hl, #(_Splash + 0x002d) ld (hl), #0x00 ld hl, #(_Splash + 0x002e) ld (hl), #0x00 ld hl, #(_Splash + 0x002f) ld (hl), #0x00 ld hl, #(_Splash + 0x0030) ld (hl), #0x00 ld hl, #(_Splash + 0x0031) ld (hl), #0x00 ld hl, #(_Splash + 0x0032) ld (hl), #0x00 ld hl, #(_Splash + 0x0033) ld (hl), #0x00 ld hl, #(_Splash + 0x0034) ld (hl), #0x00 ld hl, #(_Splash + 0x0035) ld (hl), #0x00 ld hl, #(_Splash + 0x0036) ld (hl), #0x00 ld hl, #(_Splash + 0x0037) ld (hl), #0x00 ld hl, #(_Splash + 0x0038) ld (hl), #0x00 ld hl, #(_Splash + 0x0039) ld (hl), #0x00 ld hl, #(_Splash + 0x003a) ld (hl), #0x00 ld hl, #(_Splash + 0x003b) ld (hl), #0x00 ld hl, #(_Splash + 0x003c) ld (hl), #0x00 ld hl, #(_Splash + 0x003d) ld (hl), #0x00 ld hl, #(_Splash + 0x003e) ld (hl), #0x00 ld hl, #(_Splash + 0x003f) ld (hl), #0x00 ld hl, #(_Splash + 0x0040) ld (hl), #0x00 ld hl, #(_Splash + 0x0041) ld (hl), #0x00 ld hl, #(_Splash + 0x0042) ld (hl), #0x00 ld hl, #(_Splash + 0x0043) ld (hl), #0x00 ld hl, #(_Splash + 0x0044) ld (hl), #0x01 ld hl, #(_Splash + 0x0045) ld (hl), #0x02 ld hl, #(_Splash + 0x0046) ld (hl), #0x03 ld hl, #(_Splash + 0x0047) ld (hl), #0x04 ld hl, #(_Splash + 0x0048) ld (hl), #0x05 ld hl, #(_Splash + 0x0049) ld (hl), #0x00 ld hl, #(_Splash + 0x004a) ld (hl), #0x00 ld hl, #(_Splash + 0x004b) ld (hl), #0x00 ld hl, #(_Splash + 0x004c) ld (hl), #0x00 ld hl, #(_Splash + 0x004d) ld (hl), #0x00 ld hl, #(_Splash + 0x004e) ld (hl), #0x00 ld hl, #(_Splash + 0x004f) ld (hl), #0x00 ld hl, #(_Splash + 0x0050) ld (hl), #0x00 ld hl, #(_Splash + 0x0051) ld (hl), #0x00 ld hl, #(_Splash + 0x0052) ld (hl), #0x00 ld hl, #(_Splash + 0x0053) ld (hl), #0x00 ld hl, #(_Splash + 0x0054) ld (hl), #0x00 ld hl, #(_Splash + 0x0055) ld (hl), #0x00 ld hl, #(_Splash + 0x0056) ld (hl), #0x00 ld hl, #(_Splash + 0x0057) ld (hl), #0x00 ld hl, #(_Splash + 0x0058) ld (hl), #0x07 ld hl, #(_Splash + 0x0059) ld (hl), #0x08 ld hl, #(_Splash + 0x005a) ld (hl), #0x09 ld hl, #(_Splash + 0x005b) ld (hl), #0x0a ld hl, #(_Splash + 0x005c) ld (hl), #0x0b ld hl, #(_Splash + 0x005d) ld (hl), #0x00 ld hl, #(_Splash + 0x005e) ld (hl), #0x00 ld hl, #(_Splash + 0x005f) ld (hl), #0x00 ld hl, #(_Splash + 0x0060) ld (hl), #0x00 ld hl, #(_Splash + 0x0061) ld (hl), #0x00 ld hl, #(_Splash + 0x0062) ld (hl), #0x00 ld hl, #(_Splash + 0x0063) ld (hl), #0x00 ld hl, #(_Splash + 0x0064) ld (hl), #0x00 ld hl, #(_Splash + 0x0065) ld (hl), #0x00 ld hl, #(_Splash + 0x0066) ld (hl), #0x00 ld hl, #(_Splash + 0x0067) ld (hl), #0x00 ld hl, #(_Splash + 0x0068) ld (hl), #0x00 ld hl, #(_Splash + 0x0069) ld (hl), #0x00 ld hl, #(_Splash + 0x006a) ld (hl), #0x00 ld hl, #(_Splash + 0x006b) ld (hl), #0x0c ld hl, #(_Splash + 0x006c) ld (hl), #0x0d ld hl, #(_Splash + 0x006d) ld (hl), #0x0e ld hl, #(_Splash + 0x006e) ld (hl), #0x0f ld hl, #(_Splash + 0x006f) ld (hl), #0x10 ld hl, #(_Splash + 0x0070) ld (hl), #0x11 ld hl, #(_Splash + 0x0071) ld (hl), #0x00 ld hl, #(_Splash + 0x0072) ld (hl), #0x00 ld hl, #(_Splash + 0x0073) ld (hl), #0x1a ld hl, #(_Splash + 0x0074) ld (hl), #0x1b ld hl, #(_Splash + 0x0075) ld (hl), #0x1b ld hl, #(_Splash + 0x0076) ld (hl), #0x1c ld hl, #(_Splash + 0x0077) ld (hl), #0x00 ld hl, #(_Splash + 0x0078) ld (hl), #0x00 ld hl, #(_Splash + 0x0079) ld (hl), #0x00 ld hl, #(_Splash + 0x007a) ld (hl), #0x00 ld hl, #(_Splash + 0x007b) ld (hl), #0x00 ld hl, #(_Splash + 0x007c) ld (hl), #0x00 ld hl, #(_Splash + 0x007d) ld (hl), #0x00 ld hl, #(_Splash + 0x007e) ld (hl), #0x00 ld hl, #(_Splash + 0x007f) ld (hl), #0x12 ld hl, #(_Splash + 0x0080) ld (hl), #0x13 ld hl, #(_Splash + 0x0081) ld (hl), #0x14 ld hl, #(_Splash + 0x0082) ld (hl), #0x15 ld hl, #(_Splash + 0x0083) ld (hl), #0x00 ld hl, #(_Splash + 0x0084) ld (hl), #0x00 ld hl, #(_Splash + 0x0085) ld (hl), #0x00 ld hl, #(_Splash + 0x0086) ld (hl), #0x00 ld hl, #(_Splash + 0x0087) ld (hl), #0x00 ld hl, #(_Splash + 0x0088) ld (hl), #0x00 ld hl, #(_Splash + 0x0089) ld (hl), #0x00 ld hl, #(_Splash + 0x008a) ld (hl), #0x00 ld hl, #(_Splash + 0x008b) ld (hl), #0x00 ld hl, #(_Splash + 0x008c) ld (hl), #0x00 ld hl, #(_Splash + 0x008d) ld (hl), #0x00 ld hl, #(_Splash + 0x008e) ld (hl), #0x00 ld hl, #(_Splash + 0x008f) ld (hl), #0x00 ld hl, #(_Splash + 0x0090) ld (hl), #0x00 ld hl, #(_Splash + 0x0091) ld (hl), #0x00 ld hl, #(_Splash + 0x0092) ld (hl), #0x00 ld hl, #(_Splash + 0x0093) ld (hl), #0x00 ld hl, #(_Splash + 0x0094) ld (hl), #0x00 ld hl, #(_Splash + 0x0095) ld (hl), #0x00 ld hl, #(_Splash + 0x0096) ld (hl), #0x00 ld hl, #(_Splash + 0x0097) ld (hl), #0x00 ld hl, #(_Splash + 0x0098) ld (hl), #0x00 ld hl, #(_Splash + 0x0099) ld (hl), #0x00 ld hl, #(_Splash + 0x009a) ld (hl), #0x00 ld hl, #(_Splash + 0x009b) ld (hl), #0x00 ld hl, #(_Splash + 0x009c) ld (hl), #0x00 ld hl, #(_Splash + 0x009d) ld (hl), #0x00 ld hl, #(_Splash + 0x009e) ld (hl), #0x00 ld hl, #(_Splash + 0x009f) ld (hl), #0x00 ld hl, #(_Splash + 0x00a0) ld (hl), #0x00 ld hl, #(_Splash + 0x00a1) ld (hl), #0x00 ld hl, #(_Splash + 0x00a2) ld (hl), #0x00 ld hl, #(_Splash + 0x00a3) ld (hl), #0x00 ld hl, #(_Splash + 0x00a4) ld (hl), #0x00 ld hl, #(_Splash + 0x00a5) ld (hl), #0x00 ld hl, #(_Splash + 0x00a6) ld (hl), #0x00 ld hl, #(_Splash + 0x00a7) ld (hl), #0x00 ld hl, #(_Splash + 0x00a8) ld (hl), #0x00 ld hl, #(_Splash + 0x00a9) ld (hl), #0x00 ld hl, #(_Splash + 0x00aa) ld (hl), #0x00 ld hl, #(_Splash + 0x00ab) ld (hl), #0x00 ld hl, #(_Splash + 0x00ac) ld (hl), #0x00 ld hl, #(_Splash + 0x00ad) ld (hl), #0x00 ld hl, #(_Splash + 0x00ae) ld (hl), #0x00 ld hl, #(_Splash + 0x00af) ld (hl), #0x00 ld hl, #(_Splash + 0x00b0) ld (hl), #0x00 ld hl, #(_Splash + 0x00b1) ld (hl), #0x00 ld hl, #(_Splash + 0x00b2) ld (hl), #0x00 ld hl, #(_Splash + 0x00b3) ld (hl), #0x00 ld hl, #(_Splash + 0x00b4) ld (hl), #0x00 ld hl, #(_Splash + 0x00b5) ld (hl), #0x00 ld hl, #(_Splash + 0x00b6) ld (hl), #0x00 ld hl, #(_Splash + 0x00b7) ld (hl), #0x00 ld hl, #(_Splash + 0x00b8) ld (hl), #0x00 ld hl, #(_Splash + 0x00b9) ld (hl), #0x00 ld hl, #(_Splash + 0x00ba) ld (hl), #0x00 ld hl, #(_Splash + 0x00bb) ld (hl), #0x00 ld hl, #(_Splash + 0x00bc) ld (hl), #0x00 ld hl, #(_Splash + 0x00bd) ld (hl), #0x17 ld hl, #(_Splash + 0x00be) ld (hl), #0x17 ld hl, #(_Splash + 0x00bf) ld (hl), #0x00 ld hl, #(_Splash + 0x00c0) ld (hl), #0x00 ld hl, #(_Splash + 0x00c1) ld (hl), #0x00 ld hl, #(_Splash + 0x00c2) ld (hl), #0x00 ld hl, #(_Splash + 0x00c3) ld (hl), #0x00 ld hl, #(_Splash + 0x00c4) ld (hl), #0x00 ld hl, #(_Splash + 0x00c5) ld (hl), #0x00 ld hl, #(_Splash + 0x00c6) ld (hl), #0x00 ld hl, #(_Splash + 0x00c7) ld (hl), #0x00 ld hl, #(_Splash + 0x00c8) ld (hl), #0x00 ld hl, #(_Splash + 0x00c9) ld (hl), #0x00 ld hl, #(_Splash + 0x00ca) ld (hl), #0x00 ld hl, #(_Splash + 0x00cb) ld (hl), #0x00 ld hl, #(_Splash + 0x00cc) ld (hl), #0x00 ld hl, #(_Splash + 0x00cd) ld (hl), #0x00 ld hl, #(_Splash + 0x00ce) ld (hl), #0x00 ld hl, #(_Splash + 0x00cf) ld (hl), #0x00 ld hl, #(_Splash + 0x00d0) ld (hl), #0x00 ld hl, #(_Splash + 0x00d1) ld (hl), #0x18 ld hl, #(_Splash + 0x00d2) ld (hl), #0x19 ld hl, #(_Splash + 0x00d3) ld (hl), #0x00 ld hl, #(_Splash + 0x00d4) ld (hl), #0x00 ld hl, #(_Splash + 0x00d5) ld (hl), #0x00 ld hl, #(_Splash + 0x00d6) ld (hl), #0x00 ld hl, #(_Splash + 0x00d7) ld (hl), #0x00 ld hl, #(_Splash + 0x00d8) ld (hl), #0x00 ld hl, #(_Splash + 0x00d9) ld (hl), #0x00 ld hl, #(_Splash + 0x00da) ld (hl), #0x00 ld hl, #(_Splash + 0x00db) ld (hl), #0x00 ld hl, #(_Splash + 0x00dc) ld (hl), #0x00 ld hl, #(_Splash + 0x00dd) ld (hl), #0x00 ld hl, #(_Splash + 0x00de) ld (hl), #0x00 ld hl, #(_Splash + 0x00df) ld (hl), #0x00 ld hl, #(_Splash + 0x00e0) ld (hl), #0x00 ld hl, #(_Splash + 0x00e1) ld (hl), #0x00 ld hl, #(_Splash + 0x00e2) ld (hl), #0x00 ld hl, #(_Splash + 0x00e3) ld (hl), #0x00 ld hl, #(_Splash + 0x00e4) ld (hl), #0x00 ld hl, #(_Splash + 0x00e5) ld (hl), #0x00 ld hl, #(_Splash + 0x00e6) ld (hl), #0x00 ld hl, #(_Splash + 0x00e7) ld (hl), #0x00 ld hl, #(_Splash + 0x00e8) ld (hl), #0x00 ld hl, #(_Splash + 0x00e9) ld (hl), #0x00 ld hl, #(_Splash + 0x00ea) ld (hl), #0x00 ld hl, #(_Splash + 0x00eb) ld (hl), #0x00 ld hl, #(_Splash + 0x00ec) ld (hl), #0x00 ld hl, #(_Splash + 0x00ed) ld (hl), #0x00 ld hl, #(_Splash + 0x00ee) ld (hl), #0x00 ld hl, #(_Splash + 0x00ef) ld (hl), #0x00 ld hl, #(_Splash + 0x00f0) ld (hl), #0x00 ld hl, #(_Splash + 0x00f1) ld (hl), #0x00 ld hl, #(_Splash + 0x00f2) ld (hl), #0x00 ld hl, #(_Splash + 0x00f3) ld (hl), #0x00 ld hl, #(_Splash + 0x00f4) ld (hl), #0x00 ld hl, #(_Splash + 0x00f5) ld (hl), #0x00 ld hl, #(_Splash + 0x00f6) ld (hl), #0x00 ld hl, #(_Splash + 0x00f7) ld (hl), #0x00 ld hl, #(_Splash + 0x00f8) ld (hl), #0x1a ld hl, #(_Splash + 0x00f9) ld (hl), #0x1b ld hl, #(_Splash + 0x00fa) ld (hl), #0x1b ld hl, #(_Splash + 0x00fb) ld (hl), #0x1c ld hl, #(_Splash + 0x00fc) ld (hl), #0x00 ld hl, #(_Splash + 0x00fd) ld (hl), #0x00 ld hl, #(_Splash + 0x00fe) ld (hl), #0x00 ld hl, #(_Splash + 0x00ff) ld (hl), #0x00 ld hl, #(_Splash + 0x0100) ld (hl), #0x00 ld hl, #(_Splash + 0x0101) ld (hl), #0x00 ld hl, #(_Splash + 0x0102) ld (hl), #0x00 ld hl, #(_Splash + 0x0103) ld (hl), #0x00 ld hl, #(_Splash + 0x0104) ld (hl), #0x00 ld hl, #(_Splash + 0x0105) ld (hl), #0x00 ld hl, #(_Splash + 0x0106) ld (hl), #0x00 ld hl, #(_Splash + 0x0107) ld (hl), #0x00 ld hl, #(_Splash + 0x0108) ld (hl), #0x00 ld hl, #(_Splash + 0x0109) ld (hl), #0x00 ld hl, #(_Splash + 0x010a) ld (hl), #0x00 ld hl, #(_Splash + 0x010b) ld (hl), #0x00 ld hl, #(_Splash + 0x010c) ld (hl), #0x00 ld hl, #(_Splash + 0x010d) ld (hl), #0x00 ld hl, #(_Splash + 0x010e) ld (hl), #0x00 ld hl, #(_Splash + 0x010f) ld (hl), #0x00 ld hl, #(_Splash + 0x0110) ld (hl), #0x00 ld hl, #(_Splash + 0x0111) ld (hl), #0x00 ld hl, #(_Splash + 0x0112) ld (hl), #0x00 ld hl, #(_Splash + 0x0113) ld (hl), #0x00 ld hl, #(_Splash + 0x0114) ld (hl), #0x00 ld hl, #(_Splash + 0x0115) ld (hl), #0x00 ld hl, #(_Splash + 0x0116) ld (hl), #0x00 ld hl, #(_Splash + 0x0117) ld (hl), #0x00 ld hl, #(_Splash + 0x0118) ld (hl), #0x00 ld hl, #(_Splash + 0x0119) ld (hl), #0x00 ld hl, #(_Splash + 0x011a) ld (hl), #0x00 ld hl, #(_Splash + 0x011b) ld (hl), #0x00 ld hl, #(_Splash + 0x011c) ld (hl), #0x00 ld hl, #(_Splash + 0x011d) ld (hl), #0x00 ld hl, #(_Splash + 0x011e) ld (hl), #0x00 ld hl, #(_Splash + 0x011f) ld (hl), #0x00 ld hl, #(_Splash + 0x0120) ld (hl), #0x00 ld hl, #(_Splash + 0x0121) ld (hl), #0x00 ld hl, #(_Splash + 0x0122) ld (hl), #0x00 ld hl, #(_Splash + 0x0123) ld (hl), #0x00 ld hl, #(_Splash + 0x0124) ld (hl), #0x00 ld hl, #(_Splash + 0x0125) ld (hl), #0x00 ld hl, #(_Splash + 0x0126) ld (hl), #0x00 ld hl, #(_Splash + 0x0127) ld (hl), #0x00 ld hl, #(_Splash + 0x0128) ld (hl), #0x00 ld hl, #(_Splash + 0x0129) ld (hl), #0x00 ld hl, #(_Splash + 0x012a) ld (hl), #0x00 ld hl, #(_Splash + 0x012b) ld (hl), #0x00 ld hl, #(_Splash + 0x012c) ld (hl), #0x00 ld hl, #(_Splash + 0x012d) ld (hl), #0x00 ld hl, #(_Splash + 0x012e) ld (hl), #0x00 ld hl, #(_Splash + 0x012f) ld (hl), #0x00 ld hl, #(_Splash + 0x0130) ld (hl), #0x1d ld hl, #(_Splash + 0x0131) ld (hl), #0x1e ld hl, #(_Splash + 0x0132) ld (hl), #0x1f ld hl, #(_Splash + 0x0133) ld (hl), #0x20 ld hl, #(_Splash + 0x0134) ld (hl), #0x20 ld hl, #(_Splash + 0x0135) ld (hl), #0x00 ld hl, #(_Splash + 0x0136) ld (hl), #0x00 ld hl, #(_Splash + 0x0137) ld (hl), #0x20 ld hl, #(_Splash + 0x0138) ld (hl), #0x21 ld hl, #(_Splash + 0x0139) ld (hl), #0x22 ld hl, #(_Splash + 0x013a) ld (hl), #0x1e ld hl, #(_Splash + 0x013b) ld (hl), #0x21 ld hl, #(_Splash + 0x013c) ld (hl), #0x00 ld hl, #(_Splash + 0x013d) ld (hl), #0x00 ld hl, #(_Splash + 0x013e) ld (hl), #0x00 ld hl, #(_Splash + 0x013f) ld (hl), #0x00 ld hl, #(_Splash + 0x0140) ld (hl), #0x00 ld hl, #(_Splash + 0x0141) ld (hl), #0x00 ld hl, #(_Splash + 0x0142) ld (hl), #0x00 ld hl, #(_Splash + 0x0143) ld (hl), #0x00 ld hl, #(_Splash + 0x0144) ld (hl), #0x00 ld hl, #(_Splash + 0x0145) ld (hl), #0x00 ld hl, #(_Splash + 0x0146) ld (hl), #0x00 ld hl, #(_Splash + 0x0147) ld (hl), #0x00 ld hl, #(_Splash + 0x0148) ld (hl), #0x00 ld hl, #(_Splash + 0x0149) ld (hl), #0x00 ld hl, #(_Splash + 0x014a) ld (hl), #0x00 ld hl, #(_Splash + 0x014b) ld (hl), #0x00 ld hl, #(_Splash + 0x014c) ld (hl), #0x00 ld hl, #(_Splash + 0x014d) ld (hl), #0x00 ld hl, #(_Splash + 0x014e) ld (hl), #0x00 ld hl, #(_Splash + 0x014f) ld (hl), #0x00 ld hl, #(_Splash + 0x0150) ld (hl), #0x00 ld hl, #(_Splash + 0x0151) ld (hl), #0x00 ld hl, #(_Splash + 0x0152) ld (hl), #0x00 ld hl, #(_Splash + 0x0153) ld (hl), #0x00 ld hl, #(_Splash + 0x0154) ld (hl), #0x00 ld hl, #(_Splash + 0x0155) ld (hl), #0x00 ld hl, #(_Splash + 0x0156) ld (hl), #0x00 ld hl, #(_Splash + 0x0157) ld (hl), #0x00 ld hl, #(_Splash + 0x0158) ld (hl), #0x00 ld hl, #(_Splash + 0x0159) ld (hl), #0x00 ld hl, #(_Splash + 0x015a) ld (hl), #0x00 ld hl, #(_Splash + 0x015b) ld (hl), #0x00 ld hl, #(_Splash + 0x015c) ld (hl), #0x00 ld hl, #(_Splash + 0x015d) ld (hl), #0x00 ld hl, #(_Splash + 0x015e) ld (hl), #0x00 ld hl, #(_Splash + 0x015f) ld (hl), #0x00 ld hl, #(_Splash + 0x0160) ld (hl), #0x00 ld hl, #(_Splash + 0x0161) ld (hl), #0x00 ld hl, #(_Splash + 0x0162) ld (hl), #0x00 ld hl, #(_Splash + 0x0163) ld (hl), #0x00 ld hl, #(_Splash + 0x0164) ld (hl), #0x00 ld hl, #(_Splash + 0x0165) ld (hl), #0x00 ld hl, #(_Splash + 0x0166) ld (hl), #0x00 ld hl, #(_Splash + 0x0167) ld (hl), #0x00 ;SplashTiles.c:26: unsigned char SplashTiles[] = ld hl, #_SplashTiles ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0001) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0002) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0003) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0004) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0005) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0006) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0007) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0008) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0009) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x000a) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x000b) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x000c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x000d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x000e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x000f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0010) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0011) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0012) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0013) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0014) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0015) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0016) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0017) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0018) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0019) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x001a) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x001b) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x001c) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x001d) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x001e) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x001f) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0020) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0021) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0022) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0023) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0024) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0025) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0026) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0027) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0028) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0029) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x002a) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x002b) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x002c) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x002d) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x002e) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x002f) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0030) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0031) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0032) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0033) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0034) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0035) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0036) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0037) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0038) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0039) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x003a) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x003b) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x003c) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x003d) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x003e) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x003f) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0040) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0041) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0042) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0043) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0044) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0045) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0046) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0047) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0048) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0049) ld (hl), #0xff ld hl, #(_SplashTiles + 0x004a) ld (hl), #0xff ld hl, #(_SplashTiles + 0x004b) ld (hl), #0xff ld hl, #(_SplashTiles + 0x004c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x004d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x004e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x004f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0050) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0051) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0052) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0053) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0054) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0055) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0056) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0057) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0058) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x0059) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x005a) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x005b) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x005c) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x005d) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x005e) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x005f) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0060) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0061) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0062) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0063) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0064) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0065) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0066) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0067) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0068) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0069) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x006a) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x006b) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x006c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x006d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x006e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x006f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0070) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0071) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0072) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0073) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0074) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0075) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0076) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0077) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0078) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0079) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x007a) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x007b) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x007c) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x007d) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x007e) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x007f) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0080) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0081) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0082) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0083) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0084) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0085) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0086) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0087) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0088) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0089) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x008a) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x008b) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x008c) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x008d) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x008e) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x008f) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0090) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0091) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0092) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0093) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0094) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0095) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0096) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0097) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0098) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0099) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x009a) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x009b) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x009c) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x009d) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x009e) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x009f) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x00a0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a2) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a3) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a4) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a5) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a6) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a7) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a8) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00a9) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00aa) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00ab) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00ac) ld (hl), #0xff ld hl, #(_SplashTiles + 0x00ad) ld (hl), #0xff ld hl, #(_SplashTiles + 0x00ae) ld (hl), #0xff ld hl, #(_SplashTiles + 0x00af) ld (hl), #0xff ld hl, #(_SplashTiles + 0x00b0) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b1) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b2) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b3) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b4) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b5) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b6) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b7) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00b8) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x00b9) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x00ba) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x00bb) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x00bc) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x00bd) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x00be) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x00bf) ld (hl), #0xf0 ld hl, #(_SplashTiles + 0x00c0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c2) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c3) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c4) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c5) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c6) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c7) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c8) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00c9) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00ca) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00cb) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x00cc) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00cd) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00ce) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00cf) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00d0) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d1) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d2) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d3) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d4) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d5) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d6) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d7) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d8) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00d9) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00da) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00db) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00dc) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00dd) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00de) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00df) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x00e0) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e1) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e2) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e3) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e4) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e5) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e6) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e7) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e8) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00e9) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00ea) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00eb) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00ec) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00ed) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00ee) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00ef) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x00f0) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x00f1) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x00f2) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x00f3) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x00f4) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00f5) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00f6) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00f7) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00f8) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00f9) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00fa) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00fb) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00fc) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00fd) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00fe) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x00ff) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0100) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0101) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0102) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0103) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0104) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0105) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0106) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0107) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0108) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0109) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x010a) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x010b) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x010c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x010d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x010e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x010f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0110) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0111) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0112) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0113) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0114) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0115) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0116) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0117) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0118) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0119) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x011a) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x011b) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x011c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x011d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x011e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x011f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0120) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0121) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0122) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0123) ld (hl), #0x3f ld hl, #(_SplashTiles + 0x0124) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0125) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0126) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0127) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0128) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x0129) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x012a) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x012b) ld (hl), #0x03 ld hl, #(_SplashTiles + 0x012c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x012d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x012e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x012f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0130) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0131) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0132) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0133) ld (hl), #0x0f ld hl, #(_SplashTiles + 0x0134) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0135) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0136) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0137) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0138) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x0139) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x013a) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x013b) ld (hl), #0xfc ld hl, #(_SplashTiles + 0x013c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x013d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x013e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x013f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0140) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0141) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0142) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0143) ld (hl), #0xc0 ld hl, #(_SplashTiles + 0x0144) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0145) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0146) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0147) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0148) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0149) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x014a) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x014b) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x014c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x014d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x014e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x014f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0150) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0151) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0152) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0153) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0154) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0155) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0156) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0157) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0158) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0159) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x015a) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x015b) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x015c) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x015d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x015e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x015f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0160) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0161) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0162) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0163) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0164) ld (hl), #0xc3 ld hl, #(_SplashTiles + 0x0165) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0166) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0167) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0168) ld (hl), #0xf7 ld hl, #(_SplashTiles + 0x0169) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x016a) ld (hl), #0xff ld hl, #(_SplashTiles + 0x016b) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x016c) ld (hl), #0xff ld hl, #(_SplashTiles + 0x016d) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x016e) ld (hl), #0xff ld hl, #(_SplashTiles + 0x016f) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x0170) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0171) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0172) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0173) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0174) ld (hl), #0xc3 ld hl, #(_SplashTiles + 0x0175) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0176) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0177) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0178) ld (hl), #0xf7 ld hl, #(_SplashTiles + 0x0179) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x017a) ld (hl), #0xff ld hl, #(_SplashTiles + 0x017b) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x017c) ld (hl), #0xff ld hl, #(_SplashTiles + 0x017d) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x017e) ld (hl), #0xff ld hl, #(_SplashTiles + 0x017f) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x0180) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0181) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0182) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0183) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0184) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0185) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0186) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0187) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0188) ld (hl), #0xf8 ld hl, #(_SplashTiles + 0x0189) ld (hl), #0x07 ld hl, #(_SplashTiles + 0x018a) ld (hl), #0xf8 ld hl, #(_SplashTiles + 0x018b) ld (hl), #0x07 ld hl, #(_SplashTiles + 0x018c) ld (hl), #0xff ld hl, #(_SplashTiles + 0x018d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x018e) ld (hl), #0xff ld hl, #(_SplashTiles + 0x018f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0190) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0191) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0192) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0193) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0194) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0195) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0196) ld (hl), #0xff ld hl, #(_SplashTiles + 0x0197) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0198) ld (hl), #0x1f ld hl, #(_SplashTiles + 0x0199) ld (hl), #0xe0 ld hl, #(_SplashTiles + 0x019a) ld (hl), #0x1f ld hl, #(_SplashTiles + 0x019b) ld (hl), #0xe0 ld hl, #(_SplashTiles + 0x019c) ld (hl), #0xff ld hl, #(_SplashTiles + 0x019d) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x019e) ld (hl), #0xff ld hl, #(_SplashTiles + 0x019f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01a0) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01a1) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01a2) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01a3) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01a4) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01a5) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01a6) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01a7) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01a8) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01a9) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01aa) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01ab) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01ac) ld (hl), #0x80 ld hl, #(_SplashTiles + 0x01ad) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01ae) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01af) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01b0) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01b1) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01b2) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01b3) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01b4) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01b5) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01b6) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01b7) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01b8) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01b9) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01ba) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01bb) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01bc) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01bd) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01be) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01bf) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01c0) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01c1) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01c2) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01c3) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01c4) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01c5) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01c6) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01c7) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01c8) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01c9) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01ca) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01cb) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01cc) ld (hl), #0x01 ld hl, #(_SplashTiles + 0x01cd) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01ce) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01cf) ld (hl), #0xff ld hl, #(_SplashTiles + 0x01d0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01d1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01d2) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01d3) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01d4) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01d5) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01d6) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01d7) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01d8) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01d9) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01da) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01db) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01dc) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01dd) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01de) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01df) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01e0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01e1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01e2) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01e3) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01e4) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01e5) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01e6) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01e7) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01e8) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01e9) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01ea) ld (hl), #0x44 ld hl, #(_SplashTiles + 0x01eb) ld (hl), #0x44 ld hl, #(_SplashTiles + 0x01ec) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01ed) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x01ee) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01ef) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01f0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01f1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01f2) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x01f3) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x01f4) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01f5) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01f6) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01f7) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x01f8) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01f9) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01fa) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01fb) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x01fc) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x01fd) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x01fe) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x01ff) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0200) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0201) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0202) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0203) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0204) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x0205) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x0206) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0207) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0208) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x0209) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x020a) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x020b) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x020c) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x020d) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x020e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x020f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0210) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0211) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0212) ld (hl), #0xfe ld hl, #(_SplashTiles + 0x0213) ld (hl), #0xfe ld hl, #(_SplashTiles + 0x0214) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x0215) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x0216) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x0217) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x0218) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x0219) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x021a) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x021b) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x021c) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x021d) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x021e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x021f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0220) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0221) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0222) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0223) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0224) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0225) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0226) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0227) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0228) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x0229) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x022a) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x022b) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x022c) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x022d) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x022e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x022f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0230) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0231) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0232) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0233) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0234) ld (hl), #0x46 ld hl, #(_SplashTiles + 0x0235) ld (hl), #0x46 ld hl, #(_SplashTiles + 0x0236) ld (hl), #0x4a ld hl, #(_SplashTiles + 0x0237) ld (hl), #0x4a ld hl, #(_SplashTiles + 0x0238) ld (hl), #0x52 ld hl, #(_SplashTiles + 0x0239) ld (hl), #0x52 ld hl, #(_SplashTiles + 0x023a) ld (hl), #0x62 ld hl, #(_SplashTiles + 0x023b) ld (hl), #0x62 ld hl, #(_SplashTiles + 0x023c) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x023d) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x023e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x023f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0240) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0241) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0242) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x0243) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x0244) ld (hl), #0x28 ld hl, #(_SplashTiles + 0x0245) ld (hl), #0x28 ld hl, #(_SplashTiles + 0x0246) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x0247) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x0248) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x0249) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x024a) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x024b) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x024c) ld (hl), #0x3e ld hl, #(_SplashTiles + 0x024d) ld (hl), #0x3e ld hl, #(_SplashTiles + 0x024e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x024f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0250) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0251) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0252) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0253) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0254) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0255) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0256) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x0257) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x0258) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0259) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x025a) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x025b) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x025c) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x025d) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x025e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x025f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0260) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0261) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0262) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0263) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0264) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0265) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0266) ld (hl), #0x0c ld hl, #(_SplashTiles + 0x0267) ld (hl), #0x0c ld hl, #(_SplashTiles + 0x0268) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x0269) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x026a) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x026b) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x026c) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x026d) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x026e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x026f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0270) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0271) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0272) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x0273) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x0274) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x0275) ld (hl), #0x18 ld hl, #(_SplashTiles + 0x0276) ld (hl), #0x28 ld hl, #(_SplashTiles + 0x0277) ld (hl), #0x28 ld hl, #(_SplashTiles + 0x0278) ld (hl), #0x48 ld hl, #(_SplashTiles + 0x0279) ld (hl), #0x48 ld hl, #(_SplashTiles + 0x027a) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x027b) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x027c) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x027d) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x027e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x027f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0280) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0281) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0282) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x0283) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x0284) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x0285) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x0286) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x0287) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x0288) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x0289) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x028a) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x028b) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x028c) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x028d) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x028e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x028f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0290) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0291) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x0292) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0293) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x0294) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x0295) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x0296) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x0297) ld (hl), #0x7c ld hl, #(_SplashTiles + 0x0298) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x0299) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x029a) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x029b) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x029c) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x029d) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x029e) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x029f) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02a0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02a1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02a2) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x02a3) ld (hl), #0x7e ld hl, #(_SplashTiles + 0x02a4) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x02a5) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x02a6) ld (hl), #0x04 ld hl, #(_SplashTiles + 0x02a7) ld (hl), #0x04 ld hl, #(_SplashTiles + 0x02a8) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x02a9) ld (hl), #0x08 ld hl, #(_SplashTiles + 0x02aa) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x02ab) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x02ac) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x02ad) ld (hl), #0x10 ld hl, #(_SplashTiles + 0x02ae) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02af) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02b0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02b1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02b2) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02b3) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02b4) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02b5) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02b6) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02b7) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02b8) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02b9) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02ba) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02bb) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02bc) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02bd) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02be) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02bf) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02c0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02c1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02c2) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02c3) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02c4) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02c5) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02c6) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02c7) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02c8) ld (hl), #0x3e ld hl, #(_SplashTiles + 0x02c9) ld (hl), #0x3e ld hl, #(_SplashTiles + 0x02ca) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x02cb) ld (hl), #0x02 ld hl, #(_SplashTiles + 0x02cc) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02cd) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02ce) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02cf) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02d0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02d1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02d2) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02d3) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02d4) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02d5) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02d6) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x02d7) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x02d8) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x02d9) ld (hl), #0x40 ld hl, #(_SplashTiles + 0x02da) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02db) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02dc) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02dd) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02de) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02df) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02e0) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02e1) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02e2) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02e3) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02e4) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02e5) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02e6) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02e7) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02e8) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02e9) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02ea) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02eb) ld (hl), #0x42 ld hl, #(_SplashTiles + 0x02ec) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02ed) ld (hl), #0x3c ld hl, #(_SplashTiles + 0x02ee) ld (hl), #0x00 ld hl, #(_SplashTiles + 0x02ef) ld (hl), #0x00 ;main.c:25: BYTE jumping = 0; ld hl, #_jumping ld (hl), #0x00 ;main.c:26: UBYTE spriteSize = 8; ld hl, #_spriteSize ld (hl), #0x08 ;main.c:27: INT8 floor = 114; ld hl, #_floor ld (hl), #0x72 ;main.c:30: UINT8 activePlatform = 1; ld hl, #_activePlatform ld (hl), #0x01 ;main.c:31: UINT8 platformSpeed = 4; ld hl, #_platformSpeed ld (hl), #0x04 ;main.c:32: UINT8 platformWaitLength = 4; ld hl, #_platformWaitLength ld (hl), #0x04 ;main.c:33: enum PlatformDirection platformDirection = LEFT; ld hl, #_platformDirection ld (hl), #0x00 ;main.c:34: UINT8 waitCount = 0; ld hl, #_waitCount ld (hl), #0x00 ;main.c:35: UBYTE gameActive = 1; ld hl, #_gameActive ld (hl), #0x01 ;main.c:36: UINT16 score = 0; ld hl, #_score ld (hl), #0x00 inc hl ld (hl), #0x00 ;main.c:286: UINT8 fontNumBase = 0x01; ld hl, #_fontNumBase ld (hl), #0x01 ;-------------------------------------------------------- ; Home ;-------------------------------------------------------- .area _HOME .area _HOME ;-------------------------------------------------------- ; code ;-------------------------------------------------------- .area _CODE ;main.c:38: void performantDelay(UINT8 numloops) ; --------------------------------- ; Function performantDelay ; --------------------------------- _performantDelay:: ;main.c:41: for(i=0; i<numloops;i++){ ld c, #0x00 00103$: ld a, c ldhl sp, #2 sub a, (hl) ret NC ;main.c:42: wait_vbl_done(); call _wait_vbl_done ;main.c:41: for(i=0; i<numloops;i++){ inc c ;main.c:44: } jr 00103$ _gravity: .db #0xfe ; -2 _BASE_JUMP_SPEED: .db #0x0f ; 15 ;main.c:46: void playSound(enum Sound sound){ ; --------------------------------- ; Function playSound ; --------------------------------- _playSound:: ;main.c:47: switch(sound){ ldhl sp, #2 ld a, (hl) or a, a jr Z, 00101$ ldhl sp, #2 ld a, (hl) dec a jr Z, 00102$ ret ;main.c:48: case JUMP: 00101$: ;main.c:49: NR10_REG = 0x16; ld a, #0x16 ldh (_NR10_REG+0),a ;main.c:50: NR11_REG = 0x40; ld a, #0x40 ldh (_NR11_REG+0),a ;main.c:51: NR12_REG = 0x73; ld a, #0x73 ldh (_NR12_REG+0),a ;main.c:52: NR13_REG = 0x00; ld a, #0x00 ldh (_NR13_REG+0),a ;main.c:53: NR14_REG = 0xC3; ld a, #0xc3 ldh (_NR14_REG+0),a ;main.c:54: break; ret ;main.c:55: case GAME_OVER: 00102$: ;main.c:56: NR10_REG = 0x79; ld a, #0x79 ldh (_NR10_REG+0),a ;main.c:57: NR11_REG = 0xC2; ld a, #0xc2 ldh (_NR11_REG+0),a ;main.c:58: NR12_REG = 0x54; ld a, #0x54 ldh (_NR12_REG+0),a ;main.c:59: NR13_REG = 0x73; ld a, #0x73 ldh (_NR13_REG+0),a ;main.c:60: NR14_REG = 0x86; ld a, #0x86 ldh (_NR14_REG+0),a ;main.c:62: } ;main.c:63: } ret ;main.c:65: void movePlatform(struct MetaSprite* platform, UINT8 x, UINT8 y) ; --------------------------------- ; Function movePlatform ; --------------------------------- _movePlatform:: add sp, #-3 ;main.c:67: move_sprite(platform->spriteIds[0], x, y); ldhl sp, #8 ld a, (hl) ldhl sp, #0 ld (hl), a ldhl sp, #7 ld a, (hl) ldhl sp, #1 ld (hl), a ldhl sp,#5 ld a, (hl+) ld e, a ld d, (hl) ld a, (de) ld c, a ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; xor a, a ld l, c ld h, a add hl, hl add hl, hl ld bc, #_shadow_OAM add hl, bc ld c, l ld b, h ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ldhl sp, #0 ld a, (hl+) ld (bc), a inc bc ld a, (hl) ld (bc), a ;main.c:68: move_sprite(platform->spriteIds[1], x + spriteSize, y); ld a, (hl) ld hl, #_spriteSize add a, (hl) ld l, e ld h, d inc hl ld c, (hl) ldhl sp, #2 ld (hl), a ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; ld a, c ld h, #0x00 ld l, a add hl, hl add hl, hl ld bc, #_shadow_OAM add hl, bc ld c, l ld b, h ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ldhl sp, #0 ld a, (hl+) ld (bc), a inc bc inc hl ld a, (hl) ld (bc), a ;main.c:69: move_sprite(platform->spriteIds[2], x + (spriteSize * 2), y); ld a, (#_spriteSize) add a, a ldhl sp, #1 ld c, (hl) add a, c ld c, a inc de inc de ld a, (de) ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; ld l, a ld de, #_shadow_OAM+0 ld h, #0x00 add hl, hl add hl, hl add hl, de ld e, l ld d, h ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ldhl sp, #0 ld a, (hl) ld (de), a inc de ld a, c ld (de), a ;main.c:69: move_sprite(platform->spriteIds[2], x + (spriteSize * 2), y); ;main.c:70: } add sp, #3 ret ;main.c:72: void movePlayer(struct MetaSprite* player, UINT8 x, UINT8 y) ; --------------------------------- ; Function movePlayer ; --------------------------------- _movePlayer:: add sp, #-3 ;main.c:74: move_sprite(player->spriteIds[0], x, y); ldhl sp, #8 ld a, (hl) ldhl sp, #0 ld (hl), a ldhl sp, #7 ld a, (hl) ldhl sp, #1 ld (hl), a ldhl sp,#5 ld a, (hl+) ld e, a ld d, (hl) ld a, (de) ld c, a ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; xor a, a ld l, c ld h, a add hl, hl add hl, hl ld bc, #_shadow_OAM add hl, bc ld c, l ld b, h ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ldhl sp, #0 ld a, (hl+) ld (bc), a inc bc ld a, (hl) ld (bc), a ;main.c:75: move_sprite(player->spriteIds[1], x + spriteSize, y); ld a, (hl) ld hl, #_spriteSize add a, (hl) ld l, e ld h, d inc hl ld c, (hl) ldhl sp, #2 ld (hl), a ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; ld a, c ld h, #0x00 ld l, a add hl, hl add hl, hl ld bc, #_shadow_OAM add hl, bc ld c, l ld b, h ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ldhl sp, #0 ld a, (hl+) ld (bc), a inc bc inc hl ld a, (hl) ld (bc), a ;main.c:76: move_sprite(player->spriteIds[2], x, y + spriteSize); dec hl dec hl ld a, (hl) ld hl, #_spriteSize add a, (hl) ldhl sp, #2 ld (hl), a ld l, e ld h, d inc hl inc hl ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; ld a, (hl) ld h, #0x00 ld l, a add hl, hl add hl, hl ld bc, #_shadow_OAM add hl, bc ld c, l ld b, h ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ldhl sp, #2 ld a, (hl) ld (bc), a inc bc dec hl ld a, (hl) ld (bc), a ;main.c:77: move_sprite(player->spriteIds[3], x + spriteSize, y + spriteSize); dec hl ld a, (hl) ld hl, #_spriteSize add a, (hl) ld b, a ldhl sp, #1 ld a, (hl) ld hl, #_spriteSize add a, (hl) ld c, a inc de inc de inc de ld a, (de) ld e, a ;P:/_lib/gbdk/include/gb/gb.h:1218: OAM_item_t * itm = &shadow_OAM[nb]; ld d, #0x00 ld l, e ld h, d add hl, hl add hl, hl ld de, #_shadow_OAM add hl, de ;P:/_lib/gbdk/include/gb/gb.h:1219: itm->y=y, itm->x=x; ld a, b ld (hl+), a ld (hl), c ;main.c:77: move_sprite(player->spriteIds[3], x + spriteSize, y + spriteSize); ;main.c:78: } add sp, #3 ret ;main.c:80: void initPlatform(UINT8 id, UINT8 x, UINT8 y) ; --------------------------------- ; Function initPlatform ; --------------------------------- _initPlatform:: dec sp ;main.c:82: platforms[id].x = x; //76 ldhl sp, #3 ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld bc,#_platforms add hl,bc ld c, l ld b, h ld hl, #0x0004 add hl, bc ld e, l ld d, h ldhl sp, #4 ld a, (hl) ld (de), a ;main.c:83: platforms[id].y = y; //130 ld hl, #0x0005 add hl, bc ld e, l ld d, h ldhl sp, #5 ld a, (hl) ld (de), a ;main.c:84: platforms[id].width = 24; ld hl, #0x0006 add hl, bc ld (hl), #0x18 ;main.c:85: platforms[id].height = 8; ld hl, #0x0007 add hl, bc ld (hl), #0x08 ;main.c:86: platforms[id].yAtJump = y; ld hl, #0x0008 add hl, bc ld e, l ld d, h ldhl sp, #5 ld a, (hl) ld (de), a ;main.c:87: set_sprite_tile(5 + (id * 3),0); dec hl dec hl ld a, (hl) ld e, a add a, a add a, e ldhl sp, #0 ld (hl), a ld a, (hl) add a, #0x05 ld e, a ld d, e ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld h, #0x00 ld l, d add hl, hl add hl, hl push de ld de, #_shadow_OAM add hl, de pop de inc hl inc hl ld (hl), #0x00 ;main.c:88: platforms[id].spriteIds[0] = 5 + (id * 3); ld a, e ld (bc), a ;main.c:89: set_sprite_tile(6 + (id * 3),1); ldhl sp, #0 ld a, (hl) add a, #0x06 ld e, a ld d, e ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld h, #0x00 ld l, d add hl, hl add hl, hl push de ld de, #_shadow_OAM add hl, de pop de inc hl inc hl ld (hl), #0x01 ;main.c:90: platforms[id].spriteIds[1] = 6 + (id * 3); ld l, c ld h, b inc hl ld (hl), e ;main.c:91: set_sprite_tile(7 + (id * 3),2); ldhl sp, #0 ld a, (hl) add a, #0x07 ld e, a ld d, e ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld h, #0x00 ld l, d add hl, hl add hl, hl push de ld de, #_shadow_OAM add hl, de pop de inc hl inc hl ld (hl), #0x02 ;main.c:92: platforms[id].spriteIds[2] = 7 + (id * 3); ld l, c ld h, b inc hl inc hl ld (hl), e ;main.c:94: movePlatform(&platforms[id], platforms[id].x, platforms[id].y); ldhl sp, #5 ld a, (hl) push af inc sp dec hl ld a, (hl) push af inc sp push bc call _movePlatform add sp, #4 ;main.c:95: } inc sp ret ;main.c:97: void initPlayer(UINT8 x) ; --------------------------------- ; Function initPlayer ; --------------------------------- _initPlayer:: ;main.c:99: player.x = x; ld bc, #_player+0 ld de, #(_player + 0x0004) ldhl sp, #2 ld a, (hl) ld (de), a ;main.c:100: player.y = 84; ld hl, #(_player + 0x0005) ld (hl), #0x54 ;main.c:101: player.width = 16; ld hl, #(_player + 0x0006) ld (hl), #0x10 ;main.c:102: player.height = 16; ld hl, #(_player + 0x0007) ld (hl), #0x10 ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld hl, #(_shadow_OAM + 0x0006) ld (hl), #0x03 ;main.c:104: player.spriteIds[0] = 1; ld a, #0x01 ld (bc), a ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld hl, #(_shadow_OAM + 0x000a) ld (hl), #0x04 ;main.c:106: player.spriteIds[1] = 2; ld hl, #(_player + 0x0001) ld (hl), #0x02 ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld hl, #(_shadow_OAM + 0x000e) ld (hl), #0x05 ;main.c:108: player.spriteIds[2] = 3; ld hl, #(_player + 0x0002) ld (hl), #0x03 ;P:/_lib/gbdk/include/gb/gb.h:1145: shadow_OAM[nb].tile=tile; ld hl, #(_shadow_OAM + 0x0012) ld (hl), #0x06 ;main.c:110: player.spriteIds[3] = 4; ld hl, #(_player + 0x0003) ld (hl), #0x04 ;main.c:112: movePlayer(&player, player.x, player.y); ld a, (#(_player + 0x0005) + 0) push af inc sp ldhl sp, #3 ld a, (hl) push af inc sp push bc call _movePlayer add sp, #4 ;main.c:113: } ret ;main.c:115: INT8 wouldHitSurface(struct MetaSprite* platform) ; --------------------------------- ; Function wouldHitSurface ; --------------------------------- _wouldHitSurface:: ;main.c:117: if(platform->y <= platform->yAtJump){ pop bc pop de push de push bc ld hl, #0x0005 add hl, de ld c, (hl) ld hl, #0x0008 add hl, de ld e, (hl) ld a, e sub a, c ;main.c:118: return platform->yAtJump; ret NC ;main.c:120: return -1; ld e, #0xff ;main.c:121: } ret ;main.c:123: BOOLEAN isCollision(){ ; --------------------------------- ; Function isCollision ; --------------------------------- _isCollision:: ;main.c:124: if(platforms[activePlatform].y < 100){ ld hl, #_activePlatform ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld bc,#_platforms add hl,bc ld c, l ld b, h ld hl, #0x0005 add hl, bc ld a, (hl) sub a, #0x64 jr NC, 00106$ ;main.c:127: return platforms[activePlatform].x < 96; inc bc inc bc inc bc inc bc ;main.c:125: switch(platformDirection){ ld a, (#_platformDirection) or a, a jr Z, 00101$ ld a, (#_platformDirection) dec a jr Z, 00102$ jr 00103$ ;main.c:126: case LEFT: 00101$: ;main.c:127: return platforms[activePlatform].x < 96; ld a, (bc) sub a, #0x60 ld a, #0x00 rla ld e, a ret ;main.c:128: case RIGHT: 00102$: ;main.c:129: return platforms[activePlatform].x > 56 && platforms[activePlatform].x < 240; ld a, (bc) ld c, a ld a, #0x38 sub a, c jr NC, 00109$ ld a, c sub a, #0xf0 jr C, 00110$ 00109$: ld e, #0x00 ret 00110$: ld e, #0x01 ret ;main.c:130: default: 00103$: ;main.c:131: return 0; ld e, #0x00 ret ;main.c:132: } 00106$: ;main.c:134: return 0; ld e, #0x00 ;main.c:135: } ret ;main.c:137: BOOLEAN platformIsUnderPlayer(){ ; --------------------------------- ; Function platformIsUnderPlayer ; --------------------------------- _platformIsUnderPlayer:: ;main.c:138: if(platforms[activePlatform].y <= 102){ ld hl, #_activePlatform ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld bc,#_platforms add hl,bc ld c, l ld b, h ld hl, #0x0005 add hl, bc ld e, (hl) ld a, #0x66 sub a, e jr C, 00106$ ;main.c:141: return platforms[activePlatform].x < 90; inc bc inc bc inc bc inc bc ;main.c:139: switch(platformDirection){ ld a, (#_platformDirection) or a, a jr Z, 00101$ ld a, (#_platformDirection) dec a jr Z, 00102$ jr 00103$ ;main.c:140: case LEFT: 00101$: ;main.c:141: return platforms[activePlatform].x < 90; ld a, (bc) sub a, #0x5a ld a, #0x00 rla ld e, a ret ;main.c:142: case RIGHT: 00102$: ;main.c:143: return platforms[activePlatform].x > 62 && platforms[activePlatform].x < 240; ld a, (bc) ld c, a ld a, #0x3e sub a, c jr NC, 00109$ ld a, c sub a, #0xf0 jr C, 00110$ 00109$: ld e, #0x00 ret 00110$: ld e, #0x01 ret ;main.c:144: default: 00103$: ;main.c:145: return 0; ld e, #0x00 ret ;main.c:146: } 00106$: ;main.c:148: return 0; ld e, #0x00 ;main.c:149: } ret ;main.c:151: void jump() ; --------------------------------- ; Function jump ; --------------------------------- _jump:: add sp, #-4 ;main.c:155: if(jumping == 0) { ld a, (#_jumping) or a, a jr NZ, 00103$ ;main.c:156: playSound(JUMP); xor a, a push af inc sp call _playSound inc sp ;main.c:157: jumping = 1; ld hl, #_jumping ld (hl), #0x01 ;main.c:158: for (UINT8 i = 0; i < PLATFORM_COUNT; i++) ld c, #0x00 00113$: ld a, c sub a, #0x04 jr NC, 00101$ ;main.c:160: platforms[i].yAtJump = platforms[i].y; ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld de, #_platforms add hl, de ld a, l add a, #0x08 ld e, a ld a, h adc a, #0x00 ld d, a inc hl inc hl inc hl inc hl inc hl ld a, (hl) ld (de), a ;main.c:158: for (UINT8 i = 0; i < PLATFORM_COUNT; i++) inc c jr 00113$ 00101$: ;main.c:162: currentSpeedY = BASE_JUMP_SPEED; ld a, (#_BASE_JUMP_SPEED) ld (#_currentSpeedY),a 00103$: ;main.c:164: currentSpeedY = currentSpeedY + gravity; ld hl, #_gravity ld e, (hl) ld hl, #_currentSpeedY ld a, (hl) add a, e ld (hl), a ;main.c:165: if(currentSpeedY < -(BASE_JUMP_SPEED - gravity)) currentSpeedY = 0; ld a, (#_BASE_JUMP_SPEED) ld c, a rla sbc a, a ld b, a ld a, e rla sbc a, a ld d, a ld a, c sub a, e ld c, a ld a, b sbc a, d ld b, a xor a, a sub a, c ld c, a ld a, #0x00 sbc a, b ld b, a ld a, (#_currentSpeedY) ldhl sp, #2 ld (hl), a rla sbc a, a inc hl ld (hl-), a ld a, (hl) sub a, c inc hl ld a, (hl) sbc a, b ld d, (hl) ld a, b ld e, a bit 7, e jr Z, 00162$ bit 7, d jr NZ, 00163$ cp a, a jr 00163$ 00162$: bit 7, d jr Z, 00163$ scf 00163$: jr NC, 00127$ ld hl, #_currentSpeedY ld (hl), #0x00 ;main.c:167: for (UINT8 i = 0; i < PLATFORM_COUNT; i++) 00127$: xor a, a ldhl sp, #3 ld (hl), a 00116$: ldhl sp, #3 ld a, (hl) sub a, #0x04 jp NC, 00118$ ;main.c:169: if(platformIsUnderPlayer()){ call _platformIsUnderPlayer push hl ldhl sp, #4 ld (hl), e pop hl ;main.c:170: platforms[i].yAtJump = 100; ldhl sp, #3 ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld c, l ld b, h ;main.c:169: if(platformIsUnderPlayer()){ ldhl sp, #2 ld a, (hl) or a, a jr Z, 00107$ ;main.c:170: platforms[i].yAtJump = 100; ld hl, #_platforms add hl, bc ld de, #0x0008 add hl, de ld (hl), #0x64 00107$: ;main.c:172: platforms[i].y += currentSpeedY; ld hl, #_platforms add hl, bc ld c, l ld b, h ld hl, #0x0005 add hl, bc push hl ld a, l ldhl sp, #3 ld (hl), a pop hl ld a, h ldhl sp, #2 ld (hl-), a ld a, (hl+) ld e, a ld d, (hl) ld a, (de) ld hl, #_currentSpeedY add a, (hl) ldhl sp, #1 push af ld a, (hl+) ld h, (hl) ld l, a pop af ld (hl), a ;main.c:173: possibleSurfaceY = wouldHitSurface(&platforms[i]); ld e, c ld d, b push bc push de call _wouldHitSurface add sp, #2 pop bc ldhl sp, #0 ld (hl), e ;main.c:174: if(currentSpeedY == 0 || possibleSurfaceY > -1){ ld a, (#_currentSpeedY) or a, a jr Z, 00108$ ldhl sp, #0 ld e, (hl) ld a,#0xff ld d,a sub a, (hl) bit 7, e jr Z, 00164$ bit 7, d jr NZ, 00165$ cp a, a jr 00165$ 00164$: bit 7, d jr Z, 00165$ scf 00165$: jr NC, 00109$ 00108$: ;main.c:176: jumping = 0; ld hl, #_jumping ld (hl), #0x00 ;main.c:177: platforms[i].y = platforms[i].yAtJump; ld hl, #0x0008 add hl, bc ld a, (hl) ldhl sp, #1 push af ld a, (hl+) ld h, (hl) ld l, a pop af ld (hl), a 00109$: ;main.c:179: movePlatform(&platforms[i], platforms[i].x, platforms[i].y); ldhl sp,#1 ld a, (hl+) ld e, a ld d, (hl) ld a, (de) ld (hl), a ld hl, #0x0004 add hl, bc ld a, (hl) ldhl sp, #2 ld h, (hl) push hl inc sp push af inc sp push bc call _movePlatform add sp, #4 ;main.c:167: for (UINT8 i = 0; i < PLATFORM_COUNT; i++) ldhl sp, #3 inc (hl) jp 00116$ 00118$: ;main.c:181: } add sp, #4 ret ;main.c:183: void updatePlayer() ; --------------------------------- ; Function updatePlayer ; --------------------------------- _updatePlayer:: ;main.c:185: movePlayer(&player, player.x, player.y); ld hl, #_player + 5 ld b, (hl) ld hl, #_player + 4 ld c, (hl) push bc ld hl, #_player push hl call _movePlayer add sp, #4 ;main.c:186: } ret ;main.c:188: UINT8 getRand(UINT8 min, UINT8 max){ ; --------------------------------- ; Function getRand ; --------------------------------- _getRand:: dec sp ;main.c:189: return (((UINT8)rand()) % ((UINT8)max + (UINT8) 1 - min)) + min; call _rand ldhl sp, #0 ld (hl), e ldhl sp, #4 ld c, (hl) ld b, #0x00 inc bc dec hl ld e, (hl) ld d, #0x00 ld a, c sub a, e ld e, a ld a, b sbc a, d ld d, a ldhl sp, #0 ld c, (hl) ld b, #0x00 push de push bc call __modsint add sp, #4 ldhl sp, #3 ld a, (hl) add a, e ld e, a ;main.c:190: } inc sp ret ;main.c:192: void setScore(BOOLEAN increment){ ; --------------------------------- ; Function setScore ; --------------------------------- _setScore:: add sp, #-3 ;main.c:193: if(increment) score++; ldhl sp, #5 ld a, (hl) or a, a jr Z, 00122$ ld hl, #_score inc (hl) jr NZ, 00156$ inc hl inc (hl) 00156$: ;main.c:194: for (UINT8 i = 0; i < 4; i++) 00122$: ld c, #0x00 00116$: ;main.c:196: windowmap[7+i] = (unsigned char) (0x23); ld a,c cp a,#0x04 jr NC, 00103$ add a, #0x07 ld e, a rla sbc a, a ld d, a ld hl, #_windowmap add hl, de ld (hl), #0x23 ;main.c:194: for (UINT8 i = 0; i < 4; i++) inc c jr 00116$ 00103$: ;main.c:200: windowmap[10] = (unsigned char) (0x23 + score); ;main.c:199: if(score < 10){ ld hl, #_score ld a, (hl) sub a, #0x0a inc hl ld a, (hl) sbc a, #0x00 jr NC, 00113$ ;main.c:200: windowmap[10] = (unsigned char) (0x23 + score); ld a, (#_score) add a, #0x23 ld (#(_windowmap + 0x000a)),a jp 00118$ 00113$: ;main.c:204: UINT8 ones = score % 10; ld hl, #0x000a push hl ld hl, #_score ld a, (hl+) ld h, (hl) ld l, a push hl ;main.c:205: windowmap[9] = (unsigned char) (0x23 + tens); call __moduint add sp, #4 ld c, e ;main.c:204: UINT8 ones = score % 10; ;main.c:202: else if(score < 100){ ld hl, #_score ld a, (hl) sub a, #0x64 inc hl ld a, (hl) sbc a, #0x00 jr NC, 00110$ ;main.c:203: UINT8 tens = score / 10; push bc ld hl, #0x000a push hl ld hl, #_score ld a, (hl+) ld h, (hl) ld l, a push hl call __divuint add sp, #4 pop bc ld a, e ;main.c:204: UINT8 ones = score % 10; ;main.c:205: windowmap[9] = (unsigned char) (0x23 + tens); add a, #0x23 ld (#(_windowmap + 0x0009)),a ;main.c:206: windowmap[10] = (unsigned char) (0x23 + ones); ld a, c add a, #0x23 ld (#(_windowmap + 0x000a)),a jp 00118$ 00110$: ;main.c:210: UINT8 tens = (score % 100) / 10; push bc ld hl, #0x0064 push hl ld hl, #_score ld a, (hl+) ld h, (hl) ld l, a push hl ;main.c:212: windowmap[8] = (unsigned char) (0x23 + huns); call __moduint add sp, #4 ld hl, #0x000a push hl push de call __divuint add sp, #4 pop bc ld b, e ;main.c:208: else if(score < 1000){ ld hl, #_score ld a, (hl) sub a, #0xe8 inc hl ld a, (hl) sbc a, #0x03 jr NC, 00107$ ;main.c:209: UINT8 huns = score / 100; push bc ld hl, #0x0064 push hl ld hl, #_score ld a, (hl+) ld h, (hl) ld l, a push hl call __divuint add sp, #4 pop bc ld a, e ;main.c:210: UINT8 tens = (score % 100) / 10; ;main.c:211: UINT8 ones = score % 10; ;main.c:212: windowmap[8] = (unsigned char) (0x23 + huns); add a, #0x23 ld (#(_windowmap + 0x0008)),a ;main.c:213: windowmap[9] = (unsigned char) (0x23 + tens); ld a, b add a, #0x23 ld (#(_windowmap + 0x0009)),a ;main.c:214: windowmap[10] = (unsigned char) (0x23 + ones); ld a, c add a, #0x23 ld (#(_windowmap + 0x000a)),a jr 00118$ 00107$: ;main.c:216: else if(score < 10000){ ld hl, #_score ld a, (hl) sub a, #0x10 inc hl ld a, (hl) sbc a, #0x27 jr NC, 00118$ ;main.c:217: UINT8 thous = score / 1000; push bc ld hl, #0x03e8 push hl ld hl, #_score ld a, (hl+) ld h, (hl) ld l, a push hl call __divuint add sp, #4 pop bc ldhl sp, #0 ld (hl), e ;main.c:218: UINT8 huns = (score % 1000) / 100; push bc ld hl, #0x03e8 push hl ld hl, #_score ld a, (hl+) ld h, (hl) ld l, a push hl call __moduint add sp, #4 ld hl, #0x0064 push hl push de call __divuint add sp, #4 pop bc ldhl sp, #1 ;main.c:219: UINT8 tens = (score % 100) / 10; ld a, e ld (hl+), a ;main.c:220: UINT8 ones = score % 10; ;main.c:221: windowmap[7] = (unsigned char) (0x23 + thous); ld a, b ld (hl-), a dec hl ld a, (hl) add a, #0x23 ld (#(_windowmap + 0x0007)),a ;main.c:222: windowmap[8] = (unsigned char) (0x23 + huns); ldhl sp, #1 ld a, (hl) add a, #0x23 ld (#(_windowmap + 0x0008)),a ;main.c:223: windowmap[9] = (unsigned char) (0x23 + tens); ldhl sp, #2 ld a, (hl) add a, #0x23 ld (#(_windowmap + 0x0009)),a ;main.c:224: windowmap[10] = (unsigned char) (0x23 + ones); ld a, c add a, #0x23 ld (#(_windowmap + 0x000a)),a 00118$: ;main.c:226: } add sp, #3 ret ;main.c:228: void updateScore(){ ; --------------------------------- ; Function updateScore ; --------------------------------- _updateScore:: ;main.c:229: set_win_tiles(0,0,11,1, windowmap); ld hl, #_windowmap push hl ld de, #0x010b push de xor a, a push af inc sp xor a, a push af inc sp call _set_win_tiles add sp, #6 ;P:/_lib/gbdk/include/gb/gb.h:1015: WX_REG=x, WY_REG=y; ld a, #0x07 ldh (_WX_REG+0),a ld a, #0x88 ldh (_WY_REG+0),a ;main.c:230: move_win(7,136); ;main.c:231: } ret ;main.c:233: void changeActivePlatform(){ ; --------------------------------- ; Function changeActivePlatform ; --------------------------------- _changeActivePlatform:: ;main.c:234: activePlatform = activePlatform + 1 > 3 ? 0 : activePlatform + 1; ld hl, #_activePlatform ld c, (hl) ld b, #0x00 inc bc ld e, b ld d, #0x00 ld a, #0x03 cp a, c ld a, #0x00 sbc a, b bit 7, e jr Z, 00110$ bit 7, d jr NZ, 00111$ cp a, a jr 00111$ 00110$: bit 7, d jr Z, 00111$ scf 00111$: jr NC, 00103$ ld bc, #0x0000 jr 00104$ 00103$: ld a, (#_activePlatform) inc a ld c, a rla 00104$: ld hl, #_activePlatform ld (hl), c ;main.c:235: } ret ;main.c:237: void randomiseValues(BOOLEAN incrementScore){ ; --------------------------------- ; Function randomiseValues ; --------------------------------- _randomiseValues:: ;main.c:238: if(platforms[activePlatform].y == 100){ ld hl, #_activePlatform ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld bc,#_platforms add hl,bc ld bc, #0x0005 add hl, bc ld a, (hl) sub a, #0x64 ret NZ ;main.c:239: waitCount = 0; ld hl, #_waitCount ld (hl), #0x00 ;main.c:240: platformWaitLength = getRand(2,15); ld de, #0x0f02 push de call _getRand add sp, #2 ld hl, #_platformWaitLength ld (hl), e ;main.c:241: platformSpeed = getRand(8,10); ld de, #0x0a08 push de call _getRand add sp, #2 ld hl, #_platformSpeed ld (hl), e ;main.c:242: platformDirection = getRand(0,1); ld a, #0x01 push af inc sp xor a, a push af inc sp call _getRand add sp, #2 ld hl, #_platformDirection ld (hl), e ;main.c:243: initPlatform(activePlatform, 76, 100); ld de, #0x644c push de ld a, (#_activePlatform) push af inc sp call _initPlatform add sp, #3 ;main.c:245: changeActivePlatform(); call _changeActivePlatform ;main.c:247: UINT8 x = platformDirection ? 0xF0 : 170; ld hl, #_platformDirection ld a, (hl) or a, a jr Z, 00105$ ld bc, #0x00f0 jr 00106$ 00105$: ld bc, #0x00aa 00106$: ld a, c ;main.c:248: initPlatform(activePlatform, x, 60); ld h, #0x3c push hl inc sp push af inc sp ld a, (#_activePlatform) push af inc sp call _initPlatform add sp, #3 ;main.c:249: setScore(incrementScore); ldhl sp, #2 ld a, (hl) push af inc sp call _setScore inc sp ;main.c:251: } ret ;main.c:253: void loadFonts(){ ; --------------------------------- ; Function loadFonts ; --------------------------------- _loadFonts:: ;main.c:256: font_init(); call _font_init ;main.c:257: min_font = font_load(font_min); ld hl, #_font_min push hl call _font_load add sp, #2 ;main.c:258: font_set(min_font); push de call _font_set add sp, #2 ;main.c:259: } ret ;main.c:261: void showStartScreen(){ ; --------------------------------- ; Function showStartScreen ; --------------------------------- _showStartScreen:: ;main.c:262: set_win_tiles(0,0,20,18, Splash); ld hl, #_Splash push hl ld de, #0x1214 push de xor a, a push af inc sp xor a, a push af inc sp call _set_win_tiles add sp, #6 ;P:/_lib/gbdk/include/gb/gb.h:1015: WX_REG=x, WY_REG=y; ld a, #0x07 ldh (_WX_REG+0),a ld a, #0x00 ldh (_WY_REG+0),a ;main.c:264: SHOW_WIN; ldh a, (_LCDC_REG+0) or a, #0x20 ldh (_LCDC_REG+0),a ;main.c:265: waitpad(J_START); ld a, #0x80 push af inc sp call _waitpad inc sp ;main.c:266: } ret ;main.c:268: void showGameOverScreen(){ ; --------------------------------- ; Function showGameOverScreen ; --------------------------------- _showGameOverScreen:: ;main.c:269: initPlatform(0, 170, 100); ld de, #0x64aa push de xor a, a push af inc sp call _initPlatform add sp, #3 ;main.c:270: initPlatform(1, 170, 60); ld de, #0x3caa push de ld a, #0x01 push af inc sp call _initPlatform add sp, #3 ;main.c:271: initPlatform(2, 170, 60); ld de, #0x3caa push de ld a, #0x02 push af inc sp call _initPlatform add sp, #3 ;main.c:272: initPlatform(3, 170, 60); ld de, #0x3caa push de ld a, #0x03 push af inc sp call _initPlatform add sp, #3 ;main.c:273: initPlayer(170); ld a, #0xaa push af inc sp call _initPlayer inc sp ;main.c:274: set_win_tiles(0,0,20,18, Splash); ld hl, #_Splash push hl ld de, #0x1214 push de xor a, a push af inc sp xor a, a push af inc sp call _set_win_tiles add sp, #6 ;P:/_lib/gbdk/include/gb/gb.h:1015: WX_REG=x, WY_REG=y; ld a, #0x07 ldh (_WX_REG+0),a ld a, #0x00 ldh (_WY_REG+0),a ;main.c:276: SHOW_WIN; ldh a, (_LCDC_REG+0) or a, #0x20 ldh (_LCDC_REG+0),a ;main.c:277: waitpad(J_START); ld a, #0x80 push af inc sp call _waitpad inc sp ;main.c:278: } ret ;main.c:280: void seedRandom(){ ; --------------------------------- ; Function seedRandom ; --------------------------------- _seedRandom:: ;main.c:281: uint16_t seed = LY_REG; ldh a, (_LY_REG+0) ld c, a ld b, #0x00 ;main.c:282: seed |= (uint16_t)DIV_REG << 8; ldh a, (_DIV_REG+0) ld e, a ld a, #0x00 or a, c ld c, a ld a, e or a, b ld b, a ;main.c:283: initrand(seed); push bc call _initrand add sp, #2 ;main.c:284: } ret ;main.c:288: BOOLEAN activePlatformIsWaiting(){ ; --------------------------------- ; Function activePlatformIsWaiting ; --------------------------------- _activePlatformIsWaiting:: ;main.c:289: if(waitCount < platformWaitLength){ ld a, (#_waitCount) ld hl, #_platformWaitLength sub a, (hl) jr NC, 00102$ ;main.c:290: waitCount++; ld hl, #_waitCount inc (hl) ;main.c:291: return 1; ld e, #0x01 ret 00102$: ;main.c:293: return 0; ld e, #0x00 ;main.c:294: } ret ;main.c:296: void moveActivePlatform(){ ; --------------------------------- ; Function moveActivePlatform ; --------------------------------- _moveActivePlatform:: add sp, #-9 ;main.c:297: if(activePlatformIsWaiting()) return; call _activePlatformIsWaiting ld a, e or a, a jp NZ,00114$ ;main.c:301: if(platforms[activePlatform].x - platformSpeed > 76){ ld hl, #_activePlatform ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc push hl ld a, l ldhl sp, #9 ld (hl), a pop hl ld a, h ldhl sp, #8 ld (hl), a ld a, (#_platformSpeed) ldhl sp, #0 ld (hl), a xor a, a inc hl ld (hl), a ;main.c:299: switch(platformDirection){ ld a, (#_platformDirection) or a, a jr Z, 00103$ ld a, (#_platformDirection) dec a jp Z,00111$ jp 00114$ ;main.c:300: case LEFT: 00103$: ;main.c:301: if(platforms[activePlatform].x - platformSpeed > 76){ ;c ld de, #_platforms ldhl sp, #7 ld a, (hl+) ld h, (hl) ld l, a add hl, de ld c, l ld b, h ld hl, #0x0004 add hl, bc push hl ld a, l ldhl sp, #4 ld (hl), a pop hl ld a, h ldhl sp, #3 ld (hl-), a ld a, (hl+) ld e, a ld d, (hl) ld a, (de) inc hl ld (hl), a ld a, (hl+) ld (hl), a xor a, a inc hl ld (hl-), a ld a, (hl+) ld e, a ld d, (hl) pop hl push hl ld a, e sub a, l ld e, a ld a, d sbc a, h ldhl sp, #8 ld (hl-), a ld (hl), e ld a, #0x4c sub a, (hl) inc hl ld a, #0x00 sbc a, (hl) ld a, #0x00 ld d, a ld e, (hl) bit 7, e jr Z, 00143$ bit 7, d jr NZ, 00144$ cp a, a jr 00144$ 00143$: bit 7, d jr Z, 00144$ scf 00144$: jr NC, 00105$ ;main.c:302: platforms[activePlatform].x -= platformSpeed; ldhl sp, #4 ld a, (hl) ld hl, #_platformSpeed sub a, (hl) ld c, a ldhl sp, #2 ld a, (hl+) ld h, (hl) ld l, a ld (hl), c ;main.c:303: movePlatform(&platforms[activePlatform], platforms[activePlatform].x, platforms[activePlatform].y); ld hl, #_activePlatform ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld bc,#_platforms add hl,bc ld c, l ld b, h ld hl, #0x0005 add hl, bc ld d, (hl) ld hl, #0x0004 add hl, bc ld a, (hl) push de inc sp push af inc sp push bc call _movePlatform add sp, #4 jp 00114$ 00105$: ;main.c:306: movePlatform(&platforms[activePlatform], 76, platforms[activePlatform].y); ld hl, #0x0005 add hl, bc ld d, (hl) ld e,#0x4c push de push bc call _movePlatform add sp, #4 ;main.c:307: randomiseValues(TRUE); ld a, #0x01 push af inc sp call _randomiseValues inc sp ;main.c:309: break; jp 00114$ ;main.c:311: if((platforms[activePlatform].x <= 255 && platforms[activePlatform].x >= 224) || platforms[activePlatform].x + platformSpeed < 76){ 00111$: ;c ldhl sp,#7 ld a, (hl+) ld e, a ld d, (hl) ld hl, #_platforms add hl, de ld c, l ld b, h ld hl, #0x0004 add hl, bc push hl ld a, l ldhl sp, #6 ld (hl), a pop hl ld a, h ldhl sp, #5 ld (hl-), a ld a, (hl+) ld e, a ld d, (hl) ld a, (de) inc hl ld (hl), a sub a, #0xe0 jr NC, 00108$ ld e, (hl) ld d, #0x00 ;c pop hl push hl add hl, de push hl ld a, l ldhl sp, #9 ld (hl), a pop hl ld a, h ldhl sp, #8 ld (hl-), a ld a, (hl) sub a, #0x4c inc hl ld a, (hl) sbc a, #0x00 ld d, (hl) ld a, #0x00 ld e, a bit 7, e jr Z, 00145$ bit 7, d jr NZ, 00146$ cp a, a jr 00146$ 00145$: bit 7, d jr Z, 00146$ scf 00146$: jr NC, 00109$ 00108$: ;main.c:312: platforms[activePlatform].x += platformSpeed; ldhl sp, #6 ld a, (hl) ld hl, #_platformSpeed add a, (hl) ld c, a ldhl sp, #4 ld a, (hl+) ld h, (hl) ld l, a ld (hl), c ;main.c:313: movePlatform(&platforms[activePlatform], platforms[activePlatform].x, platforms[activePlatform].y); ld hl, #_activePlatform ld c, (hl) ld b, #0x00 ld l, c ld h, b add hl, hl add hl, hl add hl, hl add hl, bc ld bc,#_platforms add hl,bc ld c, l ld b, h ld hl, #0x0005 add hl, bc ld d, (hl) ld hl, #0x0004 add hl, bc ld a, (hl) push de inc sp push af inc sp push bc call _movePlatform add sp, #4 jr 00114$ 00109$: ;main.c:316: movePlatform(&platforms[activePlatform], 76, platforms[activePlatform].y); ld hl, #0x0005 add hl, bc ld d, (hl) ld e,#0x4c push de push bc call _movePlatform add sp, #4 ;main.c:317: randomiseValues(TRUE); ld a, #0x01 push af inc sp call _randomiseValues inc sp ;main.c:320: } 00114$: ;main.c:321: } add sp, #9 ret ;main.c:323: void loop(){ ; --------------------------------- ; Function loop ; --------------------------------- _loop:: ;main.c:324: while (1) 00109$: ;main.c:327: if(isCollision()) return; call _isCollision ld a, e or a, a ret NZ ;main.c:330: if((joypad() & J_A) || jumping == 1){ call _joypad bit 4, e jr NZ, 00103$ ld a, (#_jumping) dec a jr NZ, 00104$ 00103$: ;main.c:331: jump(); call _jump 00104$: ;main.c:335: if(isCollision()) return; call _isCollision ld a, e or a, a ret NZ ;main.c:338: moveActivePlatform(); call _moveActivePlatform ;main.c:340: updateScore(); call _updateScore ;main.c:342: performantDelay(5); ld a, #0x05 push af inc sp call _performantDelay inc sp ;main.c:343: gbt_update(); call _gbt_update ;main.c:345: } jr 00109$ ;main.c:347: void startBGM(){ ; --------------------------------- ; Function startBGM ; --------------------------------- _startBGM:: ;main.c:348: disable_interrupts(); call _disable_interrupts ;main.c:349: gbt_play(song_Data, 2, 2); ld de, #0x0202 push de ld hl, #_song_Data push hl call _gbt_play add sp, #4 ;main.c:350: gbt_loop(1); ld a, #0x01 push af inc sp call _gbt_loop inc sp ;main.c:352: set_interrupts(VBL_IFLAG); ld a, #0x01 push af inc sp call _set_interrupts inc sp ;main.c:353: enable_interrupts(); ;main.c:354: } jp _enable_interrupts ;main.c:356: void playGameOverSFX(){ ; --------------------------------- ; Function playGameOverSFX ; --------------------------------- _playGameOverSFX:: ;main.c:357: playSound(GAME_OVER); ld a, #0x01 push af inc sp call _playSound inc sp ;main.c:358: gbt_stop(); ;main.c:359: } jp _gbt_stop ;main.c:361: void init() ; --------------------------------- ; Function init ; --------------------------------- _init:: ;main.c:364: currentSpeedY = 0; ld hl, #_currentSpeedY ld (hl), #0x00 ;main.c:365: jumping = 0; ld hl, #_jumping ld (hl), #0x00 ;main.c:366: spriteSize = 8; ld hl, #_spriteSize ld (hl), #0x08 ;main.c:367: floor = 114; ld hl, #_floor ld (hl), #0x72 ;main.c:368: platformSpeed = 6; ld hl, #_platformSpeed ld (hl), #0x06 ;main.c:369: platformWaitLength = 4; ld hl, #_platformWaitLength ld (hl), #0x04 ;main.c:370: waitCount = 0; ld hl, #_waitCount ld (hl), #0x00 ;main.c:371: gameActive = 1; ld hl, #_gameActive ld (hl), #0x01 ;main.c:372: score = 0; ld hl, #_score ld a, #0x00 ld (hl+), a ld (hl), #0x00 ;main.c:373: setScore(FALSE); xor a, a push af inc sp call _setScore inc sp ;main.c:376: changeActivePlatform(); call _changeActivePlatform ;main.c:377: randomiseValues(FALSE); xor a, a push af inc sp call _randomiseValues inc sp ;main.c:379: updateScore(); call _updateScore ;main.c:382: set_win_tiles(0,0,11,1, windowmap); ld hl, #_windowmap push hl ld de, #0x010b push de xor a, a push af inc sp xor a, a push af inc sp call _set_win_tiles add sp, #6 ;P:/_lib/gbdk/include/gb/gb.h:1015: WX_REG=x, WY_REG=y; ld a, #0x07 ldh (_WX_REG+0),a ld a, #0x88 ldh (_WY_REG+0),a ;main.c:386: set_sprite_data(0,7,Sprites); ld hl, #_Sprites push hl ld a, #0x07 push af inc sp xor a, a push af inc sp call _set_sprite_data add sp, #4 ;main.c:389: initPlatform(0, 76, 100); ld de, #0x644c push de xor a, a push af inc sp call _initPlatform add sp, #3 ;main.c:390: initPlatform(1, 170, 60); ld de, #0x3caa push de ld a, #0x01 push af inc sp call _initPlatform add sp, #3 ;main.c:391: initPlatform(2, 170, 60); ld de, #0x3caa push de ld a, #0x02 push af inc sp call _initPlatform add sp, #3 ;main.c:392: initPlatform(3, 170, 60); ld de, #0x3caa push de ld a, #0x03 push af inc sp call _initPlatform add sp, #3 ;main.c:393: initPlayer(80); ld a, #0x50 push af inc sp call _initPlayer inc sp ;main.c:396: SHOW_SPRITES; ldh a, (_LCDC_REG+0) or a, #0x02 ldh (_LCDC_REG+0),a ;main.c:397: DISPLAY_ON; ldh a, (_LCDC_REG+0) or a, #0x80 ldh (_LCDC_REG+0),a ;main.c:398: } ret ;main.c:400: void main() ; --------------------------------- ; Function main ; --------------------------------- _main:: ;main.c:403: NR52_REG = 0x80; // is 1000 0000 in binary and turns on sound ld a, #0x80 ldh (_NR52_REG+0),a ;main.c:404: NR50_REG = 0x77; // sets the volume for both left and right channel just set to max 0x77 ld a, #0x77 ldh (_NR50_REG+0),a ;main.c:405: NR51_REG = 0xFF; // is 1111 1111 in binary, select which chanels we want to use in this case all of them. One bit for the L one bit for the R of all four channels ld a, #0xff ldh (_NR51_REG+0),a ;main.c:408: loadFonts(); call _loadFonts ;main.c:409: set_bkg_data(0,47, SplashTiles); ld hl, #_SplashTiles push hl ld a, #0x2f push af inc sp xor a, a push af inc sp call _set_bkg_data add sp, #4 ;main.c:410: showStartScreen(); call _showStartScreen ;main.c:411: seedRandom(); call _seedRandom ;main.c:413: while(1){ 00102$: ;main.c:414: startBGM(); call _startBGM ;main.c:415: init(); call _init ;main.c:416: loop(); call _loop ;main.c:417: playGameOverSFX(); call _playGameOverSFX ;main.c:418: showGameOverScreen(); call _showGameOverScreen ;main.c:420: } jr 00102$ .area _CODE .area _CABS (ABS)
21.026411
175
0.594596
838a1abaa1e1337843487d304c0053d6e59aafd4
373
asm
Assembly
programs/oeis/001/A001264.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/001/A001264.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/001/A001264.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A001264: Final 2 digits of 4^n. ; 1,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44,76,4,16,64,56,24,96,84,36,44 mul $0,2 seq $0,855 ; Final two digits of 2^n.
62.166667
290
0.648794
802c47407dfe45715ba0cebc455f4327a51aaaeb
371
asm
Assembly
programs/oeis/114/A114220.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/114/A114220.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/114/A114220.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A114220: a(n) = Sum_{k=0..floor(n/2)} k-(k-1)*0^(n-2k). ; 1,0,1,1,2,3,4,6,7,10,11,15,16,21,22,28,29,36,37,45,46,55,56,66,67,78,79,91,92,105,106,120,121,136,137,153,154,171,172,190,191,210,211,231,232,253,254,276,277,300,301,325,326,351,352,378,379,406,407,435,436 mov $2,4 add $2,$0 lpb $0 trn $0,2 add $2,$3 sub $2,2 add $3,1 lpe sub $2,3 add $0,$2 mov $1,$0
24.733333
207
0.609164
6e4fcf638afccefc3075f16f363a1c36be017db4
6,335
asm
Assembly
lib/igzip-042/igzip/huffman.asm
guillaume-gricourt/HmnTrimmer
b9c452913420f56b5be076a7c93cd9f8d1f56817
[ "BSD-3-Clause" ]
1
2020-09-24T08:32:16.000Z
2020-09-24T08:32:16.000Z
lib/igzip-042/igzip/huffman.asm
guillaume-gricourt/HmnTrimmer
b9c452913420f56b5be076a7c93cd9f8d1f56817
[ "BSD-3-Clause" ]
1
2020-09-10T12:32:37.000Z
2020-09-10T12:36:36.000Z
lib/igzip-042/igzip/huffman.asm
guillaume-gricourt/HmnTrimmer
b9c452913420f56b5be076a7c93cd9f8d1f56817
[ "BSD-3-Clause" ]
1
2020-09-24T08:32:19.000Z
2020-09-24T08:32:19.000Z
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; The MIT License ; ; Copyright (c) 2014 Intel Corporation ; ; Permission is hereby granted, free of charge, to any person ; obtaining a copy of this software and associated documentation ; files (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. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; %ifndef __HUFFMAN_ASM__ %define __HUFFMAN_ASM__ %include "options.asm" %include "lz0a_const.asm" ; Macros for doing Huffman Encoding %ifdef LONGER_HUFFTABLE %if (D > 8192) %error History D is larger than 8K, cannot use %LONGER_HUFFTABLE % error %else %define DIST_TABLE_SIZE 8192 %define DECODE_OFFSET 26 %endif %else %define DIST_TABLE_SIZE 1024 %define DECODE_OFFSET 20 %endif ;extern const struct HuffTables { ; ; // bits 7:0 are the length ; // bits 31:8 are the code ; UINT32 dist_table[DIST_TABLE_SIZE]; ; ; // bits 7:0 are the length ; // bits 31:8 are the code ; UINT32 len_table[256]; ; ; // bits 3:0 are the length ; // bits 15:4 are the code ; UINT16 lit_table[257]; ; ; // bits 3:0 are the length ; // bits 15:4 are the code ; UINT16 dcodes[30 - DECODE_OFFSET]; ; ;} huff_tables; extern huff_tables extern dist_table extern len_table extern lit_table %ifndef LONGER_HUFFTABLE extern dcodes %endif %ifdef LONGER_HUFFTABLE ; Uses RCX, clobbers dist ; get_dist_code dist, code, len %macro get_dist_code 3 %define %%dist %1d ; 32-bit IN, clobbered %define %%distq %1 ; 64-bit IN %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT %define %%lenq %3 ; 64-bit TMP ; mov %%len, [dist_table - 4 + 4*%%dist] lea %%lenq, [dist_table - 4 wrt rip] mov %%len, [%%lenq + 4*%%distq] mov %%code, %%len and %%len, 0xFF; shr %%code, 8 %endm %else ; Assumes (dist != 0) ; Uses RCX, clobbers dist ; void compute_dist_code dist, code, len %macro compute_dist_code 3 %define %%dist %1 ; IN, clobbered %define %%code %2 ; OUT %define %%len %3 ; OUT dec %%dist bsr ecx, %%dist ; ecx = msb = bsr(dist) dec ecx ; ecx = num_extra_bits = msb - N mov %%code, 1 shl %%code, CL dec %%code ; code = ((1 << num_extra_bits) - 1) and %%code, %%dist ; code = extra_bits shr %%dist, CL ; dist >>= num_extra_bits lea %%dist, [%%dist + 2*ecx] ; dist = sym = dist + num_extra_bits*2 movzx %%dist, word [dcodes + 2 * (%%dist - DECODE_OFFSET)] mov %%len, ecx ; len = num_extra_bits mov ecx, %%dist ; ecx = sym and ecx, 0xF ; ecx = sym & 0xF shl %%code, CL ; code = extra_bits << (sym & 0xF) shr %%dist, 4 ; dist = (sym >> 4) or %%code, %%dist ; code = (sym >> 4) | (extra_bits << (sym & 0xF)) add %%len, ecx ; len = num_extra_bits + (sym & 0xF) %endm ; Uses RCX, clobbers dist ; get_dist_code dist, code, len %macro get_dist_code 3 %define %%dist %1d ; 32-bit IN, clobbered %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT cmp %%dist, DIST_TABLE_SIZE jg %%do_compute mov %%len, [dist_table - 4 + 4*%%dist] mov %%code, %%len and %%len, 0xFF; shr %%code, 8 jmp %%done %%do_compute: compute_dist_code %%dist, %%code, %%len %%done: %endm %endif ; "len" can be same register as "length" ; get_len_code length, code, len %macro get_len_code 3 %define %%length %1d ; 32-bit IN %define %%lengthq %1 ; 64-bit IN %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT %define %%lenq %3 ; 64-bit TMP ; mov %%len, [len_table - 12 + 4*%%length] lea %%lenq, [len_table - 12 wrt rip] mov %%len, [%%lenq + 4*%%lengthq] mov %%code, %%len and %%len, 0xFF; shr %%code, 8 %endm %ifdef WIDER_LIT_TABLES ; Use 4-byte lit tables ; "len" can be same register as "lit" ; get_lit_code lit, code, len %macro get_lit_code 3 %define %%lit %1d ; 32-bit IN %define %%litq %1 ; 64-bit IN %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT %define %%lenq %3 ; 64-bit TMP ; movzx %%len, word [lit_table + 4*%%lit] lea %%lenq, [lit_table wrt rip] mov %%len, dword [%%lenq + 4*%%litq] mov %%code, %%len and %%len, 0xF; shr %%code, 4 %endm %macro get_lit_code_const 3 %define %%lit %1 ; 32-bit IN (constant) %define %%litq %1 ; 64-bit IN %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT %define %%lenq %3 ; 64-bit TMP mov %%len, dword [lit_table + 4*%%lit wrt rip] mov %%code, %%len and %%len, 0xF; shr %%code, 4 %endm %else ; Use 2-byte lit tables ; "len" can be same register as "lit" ; get_lit_code lit, code, len %macro get_lit_code 3 %define %%lit %1d ; 32-bit IN %define %%litq %1 ; 64-bit IN %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT %define %%lenq %3 ; 64-bit TMP ; movzx %%len, word [lit_table + 2*%%lit] lea %%lenq, [lit_table wrt rip] movzx %%len, word [%%lenq + 2*%%litq] mov %%code, %%len and %%len, 0xF; shr %%code, 4 %endm %macro get_lit_code_const 3 %define %%lit %1 ; 32-bit IN (constant) %define %%litq %1 ; 64-bit IN %define %%code %2d ; 32-bit OUT %define %%len %3d ; 32-bit OUT %define %%lenq %3 ; 64-bit TMP ; movzx %%len, word [lit_table + 2*%%lit] lea %%lenq, [lit_table wrt rip] movzx %%len, word [%%lenq + 2*%%litq] mov %%code, %%len and %%len, 0xF; shr %%code, 4 %endm %endif ;; end WIDER_LIT_TABLES / else %endif
27.424242
73
0.620363
8df3d4716ead9f0ebf5018a442a236a741db3840
396
asm
Assembly
src/intel/tools/tests/gen6/xor.asm
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/intel/tools/tests/gen6/xor.asm
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/intel/tools/tests/gen6/xor.asm
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
xor(8) g17<1>D g17<4>D g2<0>D { align16 1Q }; xor(8) g7<1>D g7<8,8,1>D g2.5<0,1,0>D { align1 1Q }; xor(16) g8<1>D g8<8,8,1>D g2.5<0,1,0>D { align1 1H }; xor(8) g9<1>UD g5<8,8,1>UD 0x000003ffUD { align1 1Q }; xor(16) g4<1>UD g7<8,8,1>UD 0x000003ffUD { align1 1H };
66
79
0.401515
61ea2b4b9acffbe2e036c7d21eb7a247fd8efdd5
204
asm
Assembly
lab1/lab1.asm
mochisvelas/Microprogramming
565d49e1c0c84b5e45b121e484324e770b65ed72
[ "MIT" ]
null
null
null
lab1/lab1.asm
mochisvelas/Microprogramming
565d49e1c0c84b5e45b121e484324e770b65ed72
[ "MIT" ]
null
null
null
lab1/lab1.asm
mochisvelas/Microprogramming
565d49e1c0c84b5e45b121e484324e770b65ed72
[ "MIT" ]
null
null
null
.model small .data Name DB 'Brenner Hernandez $' Carne DB '1023718 $' .stack .code program: MOV AX, @DATA MOV DS, AX MOV DX, offset Name MOV AH, 09h INT 21h MOV AH, 4Ch INT 21h END program
10.736842
30
0.661765
0b0861ff2214ed80846fa925f38e395997092b25
5,138
asm
Assembly
test/reference/test_mc68hc05.asm
tgtakaoka/libasm
41ae8dcca3924c20eb482dc9e034120d8ee966a7
[ "Apache-2.0" ]
15
2020-01-24T14:15:08.000Z
2022-03-29T15:13:16.000Z
test/reference/test_mc68hc05.asm
tgtakaoka/libasm
41ae8dcca3924c20eb482dc9e034120d8ee966a7
[ "Apache-2.0" ]
23
2020-05-31T14:13:53.000Z
2021-09-22T17:06:29.000Z
test/reference/test_mc68hc05.asm
tgtakaoka/libasm
41ae8dcca3924c20eb482dc9e034120d8ee966a7
[ "Apache-2.0" ]
null
null
null
;;; Copyright 2021 Tadashi G. Takaoka ;;; ;;; Licensed under the Apache License, Version 2.0 (the "License"); ;;; you may not use this file except in compliance with the License. ;;; You may obtain a copy of the License at ;;; ;;; http://www.apache.org/licenses/LICENSE-2.0 ;;; ;;; Unless required by applicable law or agreed to in writing, software ;;; distributed under the License is distributed on an "AS IS" BASIS, ;;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ;;; See the License for the specific language governing permissions and ;;; limitations under the License. cpu 68HC05 org $0100 ;;; 0X brset 0,$01, *+5 brclr 0,$02, *+6 brset 1,$03, *+7 brclr 1,$04, *+8 brset 2,$05, *+9 brclr 2,$06, *+10 brset 3,$07, *+11 brclr 3,$08, *+12 brset 4,$09, *+13 brclr 4,$0a, *+14 brset 5,$0b, *+15 brclr 5,$0c, *+16 brset 6,$0d, *+17 brclr 6,$0e, *+18 brset 7,$0f, *+19 brclr 7,$10, *+20 ;;; 1X bset 0,$11 bclr 0,$12 bset 1,$13 bclr 1,$14 bset 2,$15 bclr 2,$16 bset 3,$17 bclr 3,$18 bset 4,$19 bclr 4,$1a bset 5,$1b bclr 5,$1c bset 6,$1d bclr 6,$1e bset 7,$1f bclr 7,$20 ;;; 2X bra *+$23 brn *+$23 bhi *+$25 bls *+$26 bcc *+$27 bcs *+$28 bhs *+$27 blo *+$28 bne *+$29 beq *+$2a bhcc *+$2b bhcs *+$2c bpl *+$2d bmi *+$2e bmc *+$2f bms *+$30 bil *+$31 bih *+$32 ;;; 3X neg $31 com $34 lsr $35 ror $37 asr $38 lsl $39 asl $39 rol $3a dec $3b inc $3d tst $3e clr $40 ;;; 4X nega mul coma lsra rora asra lsla asla rola deca inca tsta clra ;;; 5X negx comx lsrx rorx asrx lslx aslx rolx decx incx tstx clrx ;;; 6X neg 0,x com 0,x lsr 1,x ror 6,x asr 8,x lsl 9,x asl 9,x rol 10,x dec 11,x inc 13,x tst 14,x clr 255,x ;;; 7X neg ,x com ,x lsr ,x ror ,x asr ,x lsl ,x asl ,x rol ,x dec ,x inc ,x tst ,x clr ,x ;;; 8X rti rts swi stop wait ;;; 9X tax clc sec cli sei rsp nop txa ;;; AX sub #$a1 cmp #$a2 sbc #$a3 cpx #$a4 and #$a5 bit #$a6 lda #$a7 eor #$a9 adc #$aa ora #$ab add #$ac bsr *-80 ldx #$af ;;; BX sub $b1 cmp $b2 sbc $b3 cpx $b4 and $b5 bit $b6 lda $b7 sta $b8 eor $b9 adc $ba ora $bb add $bc jmp $bd jsr $be ldx $bf stx $c0 ;;; CX sub $11c2 cmp $12c3 sbc $13c4 cpx $14c5 and $15c6 bit $16c7 lda $17c8 sta $18c9 eor $19ca adc $1acb ora $1bcc add $1ccd jmp $1dce jsr $1ecf ldx $1fd0 stx $10d1 ;;; DX sub $d1d2,x cmp $d2d3,x sbc $d3d4,x cpx $d4d5,x and $d5d6,x bit $d6d7,x lda $d7d8,x sta $d8d9,x eor $d9da,x adc $dadb,x ora $dbdc,x add $dcdd,x jmp $ddde,x jsr $dedf,x ldx $dfe0,x stx $e0e1,x ;;; EX sub $e1,x cmp $e2,x sbc $e3,x cpx $e4,x and $e5,x bit $e6,x lda $e7,x sta $e8,x eor $e9,x adc $ea,x ora $eb,x add $ec,x jmp $ed,x jsr $ee,x ldx $ef,x stx $f0,x ;;; FX sub ,x cmp ,x sbc ,x cpx ,x and ,x bit ,x lda ,x sta ,x eor ,x adc ,x ora ,x add ,x jmp ,x jsr ,x ldx ,x stx ,x
20.552
76
0.332814
8c1c7258432cf5c7520cd30538d1121787c255e1
137
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_acos.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_acos.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/math16/c/sdcc/cm16_sdcc_acos.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_math16 PUBLIC cm16_sdcc_acos EXTERN cm16_sdcc_read1, acosf16 cm16_sdcc_acos: call cm16_sdcc_read1 jp acosf16
12.454545
31
0.810219
ee1edeb60082bff23f8ed804bfd0fec7abad7a46
1,179
asm
Assembly
programs/oeis/115/A115716.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/115/A115716.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/115/A115716.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A115716: A divide-and-conquer sequence. ; 1,1,3,1,3,1,11,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,683,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,683,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,2731,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,683,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,2731,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,683,1,3,1,11,1,3,1,43,1,3,1,11,1,3,1,171,1,3,1,11,1,3,1,43,1,3,1 mov $8,$0 mov $10,2 lpb $10,1 clr $0,8 mov $0,$8 sub $10,1 add $0,$10 sub $0,1 mov $5,$0 mov $7,$0 add $7,1 lpb $7,1 mov $0,$5 sub $7,1 sub $0,$7 add $0,2 lpb $0,1 mov $1,$0 mul $1,2 mov $0,$1 mov $4,$1 sub $4,2 pow $4,7 add $1,$4 gcd $0,$1 lpe mov $1,$0 pow $1,2 mul $1,2 div $1,24 mul $1,2 add $1,1 add $6,$1 lpe mov $1,$6 mov $11,$10 lpb $11,1 mov $9,$1 sub $11,1 lpe lpe lpb $8,1 mov $8,0 sub $9,$1 lpe mov $1,$9
23.58
578
0.498728
e7b3dbdbc7389d9efdfa3665584db59e5f472eae
6,881
asm
Assembly
inc/base.asm
gb-archive/mealybug-tearoom-tests
70e88fb90b59d19dfbb9c3ac36c64105202bb1f4
[ "MIT" ]
37
2018-04-26T17:45:01.000Z
2022-03-19T16:11:08.000Z
inc/base.asm
gb-archive/mealybug-tearoom-tests
70e88fb90b59d19dfbb9c3ac36c64105202bb1f4
[ "MIT" ]
1
2020-09-26T23:49:49.000Z
2020-09-26T23:49:49.000Z
inc/base.asm
gb-archive/mealybug-tearoom-tests
70e88fb90b59d19dfbb9c3ac36c64105202bb1f4
[ "MIT" ]
6
2019-04-18T20:13:56.000Z
2022-02-15T04:22:09.000Z
; Copyright (C) 2020 Matt Currie <me@mattcurrie.com> ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (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. SECTION "lib", ROMX INCLUDE "mgblib/src/hardware.inc" INCLUDE "mgblib/src/macros.asm" IF DEF(REQUIRES_CGB) | ! DEF(USE_DMG_MODE) enable_cgb_mode ENDC INCLUDE "mgblib/src/old_skool_outline_thick.asm" INCLUDE "mgblib/src/display.asm" INCLUDE "mgblib/src/print.asm" INCLUDE "mgblib/src/misc/delay.asm" INCLUDE "mgblib/src/serial/SerialSendByte.asm" PUSHS SECTION "results", WRAM0, ALIGN[8] Results:: DS 254 ResultCounter:: DS 1 TestResult:: DS 1 POPS ; Writes byte in register `a` to [de] and increases ; the result counter ; ; @param a the value to store ; @param de the address to store the value ; @return de + 1 ; @destroys af store_result: MACRO ld [de], a inc de ld a, [ResultCounter] inc a ld [ResultCounter], a ENDM SECTION "boot", ROM0[$100] nop jp Main SECTION "header-remainder", ROM0[$14a] ds $150-@, $0 SECTION "main", ROMX Main:: di ld sp, $fffe push af call ResetDisplay call ResetCursor pop af IF DEF(REQUIRES_CGB) cp $11 jp nz, NotCGB ENDC xor a ld [ResultCounter], a ld de, Results call RunTest call ResetDisplay call LoadFont call GeneratePaleHexDigits ld de, TestTitle call PrintString ld a, [wPrintCursorAddress] and $1f jr z, .skip_extra_new_line print_string_literal "\\n" .skip_extra_new_line:: print_string_literal "\\n" IF DEF(DISPLAY_RESULTS_ONLY) call DisplayResults ELSE call CompareResults jp Quit ENDC NotCGB:: call LoadFont print_string_literal "CGB Required" ld a, "F" ld [TestResult], a jp Quit ; Displays and compares Results to CorrectResults ; ; @param [Results] results recorded from test ; @param [CorrectResults] the correct results ; @param [ResultCounter] number of results to compare CompareResults:: ld a, "P" ld [TestResult], a ld hl, Results ld de, CorrectResults ld a, [ResultCounter] ld c, a .loop ld a, [de] ld b, a ; b = correct result ld a, [hl] ; a = result push hl push de push bc ; print the result push bc push af call PrintHexU8NoDollar pop af pop bc cp b jr z, .matched ; record the failure ld a, "F" ld [TestResult], a ; print the correct result and a space ld a, b call PrintPaleHexU8NoDollar ld a, " " call PrintCharacter jr .continue .matched: print_string_literal " " .continue: pop bc pop de pop hl inc hl inc de dec c jr nz, .loop inc a ; print a new line if not already on the first character of the line call PrintNewLine ld a, [wPrintCursorAddress] and 31 jr z, .noExtraLine call PrintNewLine .noExtraLine:: ld a, [TestResult] cp "P" jr nz, .failed print_string_literal "Passed" ret .failed print_string_literal "Failed" ret ; Display the results only without comparing ; to any values DisplayResults:: ld hl, Results ld a, [ResultCounter] ld c, a .loop ld a, [hl] push hl push bc call PrintHexU8NoDollar print_string_literal " " pop bc pop hl inc hl dec c jr nz, .loop ; turn lcd on and loop forever lcd_on wait_ly 145 wait_ly 144 ld b, b .forever: jr .forever ; Set magic register values, sends result via serial ; output, and loops forever ; ; @param [TestResult] if "P" then reports a passed result, otherwise failed Quit:: lcd_on wait_ly 145 ld a, [TestResult] cp "P" jr nz, .failed ld b, 3 ld c, 5 ld d, 8 ld e, 13 ld h, 21 ld l, 34 jr .sendSerialResult .failed ld b, $42 ld c, b ld d, b ld e, b ld h, b ld l, b .sendSerialResult: ld a, b call SerialSendByte ld a, c call SerialSendByte ld a, d call SerialSendByte ld a, e call SerialSendByte ld a, h call SerialSendByte ld a, l call SerialSendByte wait_ly 144 xor a ld b, b .forever: jr .forever ; Print a 8-bit value in hexidecimal with pale colours, 2 digits only ; ; @param a number to print ; @destroys af, bc, hl PrintPaleHexU8NoDollar:: push af swap a call PrintPaleHexNibble pop af call PrintPaleHexNibble ret ; Print a 4-bit value in hexidecimal with pale colours ; ; @param a number to print (low nibble) ; @destroys af, bc, hl PrintPaleHexNibble:: and $0f add 128 ; pale hex digits start at $9000 jp PrintCharacter ; Generates pale versions of the hex digits at $8800 based ; on the tile data from the ASCII font located at $9000 ; ; @destroys af, c, de, hl GeneratePaleHexDigits:: ; generate numbers ld hl, $9000 + ("0" * 16) ld de, $8800 ld c, 10 * 8 .numbersLoop:: ; read bitplane 1 inc hl ld a, [hl-] ; write it as bitplane 0 ld [de], a ; zero out bitplane 1 inc de xor a ld [de], a ; advance to next row inc de inc hl inc hl dec c jr nz, .numbersLoop ; generate letters ld hl, $9000 + ("A" * 16) ld de, $8800 + 10 * 16 ld c, 6 * 8 .lettersLoop:: ; read bitplane 1 inc hl ld a, [hl-] ; write it as bitplane 0 ld [de], a ; zero out bitplane 1 inc de xor a ld [de], a ; advance to next row inc de inc hl inc hl dec c jr nz, .lettersLoop ret SwitchSpeed: xor a ldh [rIE], a ld a, $30 ldh [rP1], a ld a, $01 ldh [rKEY1], a stop ret PUSHS SECTION "header_title", ROM0[$134] IF STRLEN("{TITLE}") > 15 DB STRUPR(STRSUB("{TITLE}", 0, 15)) ELSE DB STRUPR("{TITLE}") ENDC SECTION "title", ROM0 TestTitle:: DB "{TITLE}", $00 POPS
17.826425
79
0.641477
86e9fabbf15e0032e05020a4c3d8e18ea876bf0d
1,175
asm
Assembly
programs/oeis/127/A127884.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/127/A127884.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/127/A127884.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A127884: a(n) = floor(Fibonacci(n)/n). ; 1,0,0,0,1,1,1,2,3,5,8,12,17,26,40,61,93,143,220,338,521,805,1245,1932,3001,4668,7274,11350,17732,27734,43428,68072,106805,167731,263641,414732,652913,1028636,1621691,2558353,4038540,6378911,10081265,15941107,25220070,39919823,63217341,100156812,158749837,251725380,399313942,633678463,1005967757,1597547616,2537888408,4033061316,6411145546,10194598791,16215627560,25800145932,41061160360,65366766740,104086830473,165784529026,264118156577,420877121746,670829406161,1069462650707,1705348267550,2719892724416,4338894664368,6922972387212,11048157986977,17634723580116,28153134373040,44953350301404,71791424686815,114671722099890,183194101578180,292709104355846,467766202137579,747631594165995,1195118711985005,1910721950194846,3055241140130853,4886001636366158,7814846409639221,12500997481432976,19999768719154092,32000746604120179,51209303410720113,81957758747242895,131184520592708352,210002917232640671,336215101420948420,538340717238107532,862073644225241473,1380631146374558633,2211343392268234030,3542248481792619150 add $0,1 mov $1,$0 seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1. div $0,$1
146.875
1,021
0.853617
dd0fa936c81188c492a06f6683c4ada97dc3ce44
2,441
asm
Assembly
danagy/fsin.asm
DW0RKiN/Floating-point-Library-for-Z80
494add6bc20922f4a634fbbacb32d8bd4dd185a7
[ "MIT" ]
12
2020-02-17T09:07:02.000Z
2022-02-09T22:15:34.000Z
danagy/fsin.asm
DW0RKiN/Floating-point-Library-for-Z80
494add6bc20922f4a634fbbacb32d8bd4dd185a7
[ "MIT" ]
null
null
null
danagy/fsin.asm
DW0RKiN/Floating-point-Library-for-Z80
494add6bc20922f4a634fbbacb32d8bd4dd185a7
[ "MIT" ]
1
2021-06-21T23:30:28.000Z
2021-06-21T23:30:28.000Z
if not defined @FSIN ; Trigonometric function sine ; Input: HL -π/2..π/2 ; Output: HL = sin(HL) ; Pollutes: AF, DE @FSIN: if not defined FSIN ; ***************************************** FSIN ; * ; ***************************************** endif LD A, H ; 1:4 AND $FF - SIGN_MASK ; 2:7 abs(HL) SUB $3F ; 2:7 JR nc, FSIN_3F40 ; 2:12/7 ADD A, $02 ; 2:7 JR c, FSIN_3D3E ; 2:12/7 INC A ; 1:4 RET nz ; 1:5/11 LD A, $71 ; 2:7 SUB L ; 1:4 RET nc ; 1:5/11 if carry_flow_warning OR A ; 1:4 reset carry endif DEC L ; 1:4 RET ; 1:10 FSIN_3D3E: LD D, SIN_TAB_3D3E/256 ; 2:7 RRA ; 1:4 LD A, L ; 1:4 RRA ; 1:4 LD E, A ; 1:4 LD A, (DE) ; 1:7 JR c, $+6 ; 2:12/7 RRA ; 1:4 RRA ; 1:4 RRA ; 1:4 RRA ; 1:4 OR $F0 ; 2:7 RL E ; 2:8 JR nc, FSIN_OK ; 2:12/7 JP p, FSIN_OK ; 3:10 SUB $08 ; 2:7 FSIN_OK: LD E, A ; 1:4 LD D, $FF ; 2:7 ADD HL, DE ; 1:11 if carry_flow_warning OR A ; 1:4 reset carry endif RET ; 1:10 FSIN_3F40: ADD A, high SIN_TAB_3F ; 2:7 EX DE, HL ; 1:4 LD H, A ; 1:4 LD L, E ; 1:4 LD L, (HL) ; 1:7 LD H, $FF ; 2:7 ADD HL, DE ; 1:11 if carry_flow_warning OR A ; 1:4 reset carry endif RET ; 1:10 endif
34.871429
63
0.24662
8ceb6d2fb3c4368cb66c2c83c4fc270608321fae
225
asm
Assembly
MOON.asm
Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family-
060422e19882bb32c35bf5b8d42aae29eee0d820
[ "MIT" ]
16
2018-07-20T03:11:03.000Z
2021-12-14T11:18:36.000Z
MOON.asm
Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family-
060422e19882bb32c35bf5b8d42aae29eee0d820
[ "MIT" ]
null
null
null
MOON.asm
Mohamed-94/Group-of-Assembly-Programs-Samples--8086-85-Processors-family-
060422e19882bb32c35bf5b8d42aae29eee0d820
[ "MIT" ]
3
2018-07-20T03:11:08.000Z
2020-09-18T18:57:53.000Z
;TITEL MOON .MODEL SMALL .STACK 100H .DATA .CODE MAIN PROC XOR BX,BX MOV AH,1 INT 21h While_: CMP AL, 0Dh JE END_While AND AL , 0fh SHL BX, 1 OR BL, AL INT 21h  JMP While_ END_While: ;MAIN ENDP ;END MAIN
11.25
14
0.653333
6d7b530f945648bb4d98eda76d32679c398f44e4
978
asm
Assembly
CO2008/W3/ex4.asm
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
null
null
null
CO2008/W3/ex4.asm
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
2
2020-10-12T09:57:12.000Z
2020-11-09T11:05:01.000Z
CO2008/W3/ex4.asm
Smithienious/hcmut-201
be16b77831aae83ff42e656a181881686c74e674
[ "MIT" ]
4
2020-10-12T10:30:56.000Z
2020-12-15T14:46:04.000Z
.data: X: .word 0, 11, 22, 33, 44, 55, 66, 77, 88, 99 msg1: .asciiz "Enter an integer between 0 and 10: " msg2: .asciiz "Data at index is " # Start program code .text: .globl main main: la $s7, X # Address of X add $s0, $zero, $zero # Counter addi $t6, $zero, 4 # Sum limiter addi $t7, $zero, 40 # Limiter # Print string msg1 li $v0, 4 la $a0, msg1 syscall # Get input and save li $v0, 5 syscall move $t1, $v0 mul $t6, $t1, $t6 Search: add $t0, $s0, $s7 # Address of element lw $t1, 0($t0) beq $s0, $t6, SExit beq $s0, $t7, SExit addi $s0, $s0, 4 # i = i + 1 j Search SExit: # Print string msg2 li $v0, 4 la $a0, msg2 syscall # Print sum li $v0, 1 move $a0, $t1 syscall # Exit li $v0, 10 syscall
19.959184
55
0.45092
2dc36e536c30426e779f1754cd028fbca1e03425
62
asm
Assembly
VirtualMachine/Win32/UnitTests/Conditionals/test3_not_2_Boolean.asm
ObjectPascalInterpreter/BookPart_3
95150d4d02f7e13e5b1ebb58c249073a384f2a0a
[ "Apache-2.0" ]
8
2021-11-07T22:45:25.000Z
2022-03-12T21:38:53.000Z
VirtualMachine/Win32/UnitTests/Conditionals/test3_not_2_Boolean.asm
Irwin1985/BookPart_2
4e8c2e47cd09b77c6e5bd3455ddfe7492adf26bf
[ "Apache-2.0" ]
4
2021-09-23T02:13:55.000Z
2021-12-07T06:08:17.000Z
VirtualMachine/Win32/UnitTests/Conditionals/test3_not_2_Boolean.asm
Irwin1985/BookPart_2
4e8c2e47cd09b77c6e5bd3455ddfe7492adf26bf
[ "Apache-2.0" ]
4
2021-11-24T17:24:56.000Z
2021-12-21T04:56:58.000Z
# Test 3, test not operation pushb true not halt
10.333333
28
0.596774
6cf91862dbfb8b3d58bc0299f84d5351062555b2
8,240
asm
Assembly
target/cos_117/disasm/iop_overlay1/NEWDIS.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
49
2020-10-09T12:29:16.000Z
2022-03-12T02:33:35.000Z
target/cos_117/disasm/iop_overlay1/NEWDIS.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
1
2021-12-29T15:59:25.000Z
2021-12-29T15:59:25.000Z
target/cos_117/disasm/iop_overlay1/NEWDIS.asm
jrrk2/cray-sim
52c9639808d6890517092637b188282c00cce4f7
[ "BSL-1.0" ]
6
2021-04-12T06:10:32.000Z
2022-02-08T23:11:19.000Z
0x0000 (0x000000) 0x2118- f:00020 d: 280 | A = OR[280] 0x0001 (0x000002) 0x1E00-0x0007 f:00017 d: 0 | A = A - 7 (0x0007) 0x0003 (0x000006) 0x9414- f:00112 d: 20 | R = P + 20 (0x0017), A = 0 0x0004 (0x000008) 0x2118- f:00020 d: 280 | A = OR[280] 0x0005 (0x00000A) 0x1E00-0x0006 f:00017 d: 0 | A = A - 6 (0x0006) 0x0007 (0x00000E) 0x9423- f:00112 d: 35 | R = P + 35 (0x002A), A = 0 0x0008 (0x000010) 0x2118- f:00020 d: 280 | A = OR[280] 0x0009 (0x000012) 0x1E00-0x000C f:00017 d: 0 | A = A - 12 (0x000C) 0x000B (0x000016) 0x9435- f:00112 d: 53 | R = P + 53 (0x0040), A = 0 0x000C (0x000018) 0x2102- f:00020 d: 258 | A = OR[258] 0x000D (0x00001A) 0x1407- f:00012 d: 7 | A = A + 7 (0x0007) 0x000E (0x00001C) 0x2908- f:00024 d: 264 | OR[264] = A 0x000F (0x00001E) 0x2119- f:00020 d: 281 | A = OR[281] 0x0010 (0x000020) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x0011 (0x000022) 0x102A- f:00010 d: 42 | A = 42 (0x002A) 0x0012 (0x000024) 0x2922- f:00024 d: 290 | OR[290] = A 0x0013 (0x000026) 0x1122- f:00010 d: 290 | A = 290 (0x0122) 0x0014 (0x000028) 0x5800- f:00054 d: 0 | B = A 0x0015 (0x00002A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0016 (0x00002C) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0017 (0x00002E) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x0018 (0x000030) 0x2922- f:00024 d: 290 | OR[290] = A 0x0019 (0x000032) 0x1800-0x0129 f:00014 d: 0 | A = 297 (0x0129) 0x001B (0x000036) 0x2923- f:00024 d: 291 | OR[291] = A 0x001C (0x000038) 0x211B- f:00020 d: 283 | A = OR[283] 0x001D (0x00003A) 0x2924- f:00024 d: 292 | OR[292] = A 0x001E (0x00003C) 0x211F- f:00020 d: 287 | A = OR[287] 0x001F (0x00003E) 0x2925- f:00024 d: 293 | OR[293] = A 0x0020 (0x000040) 0x211E- f:00020 d: 286 | A = OR[286] 0x0021 (0x000042) 0x2926- f:00024 d: 294 | OR[294] = A 0x0022 (0x000044) 0x1001- f:00010 d: 1 | A = 1 (0x0001) 0x0023 (0x000046) 0x2927- f:00024 d: 295 | OR[295] = A 0x0024 (0x000048) 0x1122- f:00010 d: 290 | A = 290 (0x0122) 0x0025 (0x00004A) 0x5800- f:00054 d: 0 | B = A 0x0026 (0x00004C) 0x1800-0x1518 f:00014 d: 0 | A = 5400 (0x1518) 0x0028 (0x000050) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0029 (0x000052) 0x0200- f:00001 d: 0 | EXIT 0x002A (0x000054) 0x2102- f:00020 d: 258 | A = OR[258] 0x002B (0x000056) 0x1413- f:00012 d: 19 | A = A + 19 (0x0013) 0x002C (0x000058) 0x2908- f:00024 d: 264 | OR[264] = A 0x002D (0x00005A) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x002E (0x00005C) 0x291B- f:00024 d: 283 | OR[283] = A 0x002F (0x00005E) 0x211B- f:00020 d: 283 | A = OR[283] 0x0030 (0x000060) 0x8602- f:00103 d: 2 | P = P + 2 (0x0032), A # 0 0x0031 (0x000062) 0x700E- f:00070 d: 14 | P = P + 14 (0x003F) 0x0032 (0x000064) 0x1019- f:00010 d: 25 | A = 25 (0x0019) 0x0033 (0x000066) 0x2922- f:00024 d: 290 | OR[290] = A 0x0034 (0x000068) 0x211B- f:00020 d: 283 | A = OR[283] 0x0035 (0x00006A) 0x2923- f:00024 d: 291 | OR[291] = A 0x0036 (0x00006C) 0x1122- f:00010 d: 290 | A = 290 (0x0122) 0x0037 (0x00006E) 0x5800- f:00054 d: 0 | B = A 0x0038 (0x000070) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0039 (0x000072) 0x7C09- f:00076 d: 9 | R = OR[9] 0x003A (0x000074) 0x2102- f:00020 d: 258 | A = OR[258] 0x003B (0x000076) 0x1413- f:00012 d: 19 | A = A + 19 (0x0013) 0x003C (0x000078) 0x2908- f:00024 d: 264 | OR[264] = A 0x003D (0x00007A) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x003E (0x00007C) 0x3908- f:00034 d: 264 | (OR[264]) = A 0x003F (0x00007E) 0x0200- f:00001 d: 0 | EXIT 0x0040 (0x000080) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0041 (0x000082) 0x2920- f:00024 d: 288 | OR[288] = A 0x0042 (0x000084) 0x2120- f:00020 d: 288 | A = OR[288] 0x0043 (0x000086) 0x1603- f:00013 d: 3 | A = A - 3 (0x0003) 0x0044 (0x000088) 0x8003- f:00100 d: 3 | P = P + 3 (0x0047), C = 0 0x0045 (0x00008A) 0x8402- f:00102 d: 2 | P = P + 2 (0x0047), A = 0 0x0046 (0x00008C) 0x7026- f:00070 d: 38 | P = P + 38 (0x006C) 0x0047 (0x00008E) 0x2120- f:00020 d: 288 | A = OR[288] 0x0048 (0x000090) 0x2647- f:00023 d: 71 | A = A - OR[71] 0x0049 (0x000092) 0x8402- f:00102 d: 2 | P = P + 2 (0x004B), A = 0 0x004A (0x000094) 0x700E- f:00070 d: 14 | P = P + 14 (0x0058) 0x004B (0x000096) 0x1028- f:00010 d: 40 | A = 40 (0x0028) 0x004C (0x000098) 0x2922- f:00024 d: 290 | OR[290] = A 0x004D (0x00009A) 0x1800-0x0174 f:00014 d: 0 | A = 372 (0x0174) 0x004F (0x00009E) 0x2923- f:00024 d: 291 | OR[291] = A 0x0050 (0x0000A0) 0x1003- f:00010 d: 3 | A = 3 (0x0003) 0x0051 (0x0000A2) 0x2924- f:00024 d: 292 | OR[292] = A 0x0052 (0x0000A4) 0x1122- f:00010 d: 290 | A = 290 (0x0122) 0x0053 (0x0000A6) 0x5800- f:00054 d: 0 | B = A 0x0054 (0x0000A8) 0x1800-0x1518 f:00014 d: 0 | A = 5400 (0x1518) 0x0056 (0x0000AC) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0057 (0x0000AE) 0x7013- f:00070 d: 19 | P = P + 19 (0x006A) 0x0058 (0x0000B0) 0x101F- f:00010 d: 31 | A = 31 (0x001F) 0x0059 (0x0000B2) 0x2922- f:00024 d: 290 | OR[290] = A 0x005A (0x0000B4) 0x2120- f:00020 d: 288 | A = OR[288] 0x005B (0x0000B6) 0x2923- f:00024 d: 291 | OR[291] = A 0x005C (0x0000B8) 0x1800-0x0174 f:00014 d: 0 | A = 372 (0x0174) 0x005E (0x0000BC) 0x2924- f:00024 d: 292 | OR[292] = A 0x005F (0x0000BE) 0x1003- f:00010 d: 3 | A = 3 (0x0003) 0x0060 (0x0000C0) 0x2925- f:00024 d: 293 | OR[293] = A 0x0061 (0x0000C2) 0x1122- f:00010 d: 290 | A = 290 (0x0122) 0x0062 (0x0000C4) 0x5800- f:00054 d: 0 | B = A 0x0063 (0x0000C6) 0x1800-0x1518 f:00014 d: 0 | A = 5400 (0x1518) 0x0065 (0x0000CA) 0x7C09- f:00076 d: 9 | R = OR[9] 0x0066 (0x0000CC) 0x2006- f:00020 d: 6 | A = OR[6] 0x0067 (0x0000CE) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B) 0x0068 (0x0000D0) 0x2908- f:00024 d: 264 | OR[264] = A 0x0069 (0x0000D2) 0x3108- f:00030 d: 264 | A = (OR[264]) 0x006A (0x0000D4) 0x2D20- f:00026 d: 288 | OR[288] = OR[288] + 1 0x006B (0x0000D6) 0x7229- f:00071 d: 41 | P = P - 41 (0x0042) 0x006C (0x0000D8) 0x0200- f:00001 d: 0 | EXIT 0x006D (0x0000DA) 0x0000- f:00000 d: 0 | PASS 0x006E (0x0000DC) 0x0000- f:00000 d: 0 | PASS 0x006F (0x0000DE) 0x0000- f:00000 d: 0 | PASS
79.230769
79
0.459951
c74ef6a93a5cd4e2346a96ed9ed6fc95788b2a86
10,191
asm
Assembly
bin/gcc/config/sparc/lb1spc.asm
aaliomer/exos
6a37c41cad910c373322441a9f23cfabdbfae275
[ "BSD-3-Clause" ]
1
2018-01-23T23:07:19.000Z
2018-01-23T23:07:19.000Z
bin/gcc/config/sparc/lb1spc.asm
aaliomer/exos
6a37c41cad910c373322441a9f23cfabdbfae275
[ "BSD-3-Clause" ]
null
null
null
bin/gcc/config/sparc/lb1spc.asm
aaliomer/exos
6a37c41cad910c373322441a9f23cfabdbfae275
[ "BSD-3-Clause" ]
null
null
null
/* This is an assembly language implementation of libgcc1.c for the sparc processor. These routines are derived from the Sparc Architecture Manual, version 8, slightly edited to match the desired calling convention, and also to optimize them for our purposes. */ #ifdef L_mulsi3 .text .align 4 .global .umul .proc 4 .umul: or %o0, %o1, %o4 ! logical or of multiplier and multiplicand mov %o0, %y ! multiplier to Y register andncc %o4, 0xfff, %o5 ! mask out lower 12 bits be mul_shortway ! can do it the short way andcc %g0, %g0, %o4 ! zero the partial product and clear NV cc ! ! long multiply ! mulscc %o4, %o1, %o4 ! first iteration of 33 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 ! 32nd iteration mulscc %o4, %g0, %o4 ! last iteration only shifts ! the upper 32 bits of product are wrong, but we do not care retl rd %y, %o0 ! ! short multiply ! mul_shortway: mulscc %o4, %o1, %o4 ! first iteration of 13 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 mulscc %o4, %o1, %o4 ! 12th iteration mulscc %o4, %g0, %o4 ! last iteration only shifts rd %y, %o5 sll %o4, 12, %o4 ! left shift partial product by 12 bits srl %o5, 20, %o5 ! right shift partial product by 20 bits retl or %o5, %o4, %o0 ! merge for true product #endif #ifdef L_divsi3 .text .align 4 .global .udiv .proc 4 .udiv: save %sp, -64, %sp b divide mov 0, %i2 ! result always positive .global .div .proc 4 .div: save %sp, -64, %sp orcc %i1, %i0, %g0 ! is either operand negative bge divide ! if not, skip this junk xor %i1, %i0, %i2 ! record sign of result in sign of %i2 tst %i1 bge 2f tst %i0 ! %i1 < 0 bge divide neg %i1 2: ! %i0 < 0 neg %i0 ! FALL THROUGH divide: ! Compute size of quotient, scale comparand. orcc %i1, %g0, %l1 ! movcc %i1, %l1 te 2 ! if %i1 = 0 mov %i0, %i3 mov 0, %i2 sethi %hi(1<<(32-2-1)), %l3 cmp %i3, %l3 blu not_really_big mov 0, %l0 ! ! Here, the %i0 is >= 2^(31-3) or so. We must be careful here, ! as our usual 3-at-a-shot divide step will cause overflow and havoc. ! The total number of bits in the result here is 3*%l0+%l4, where ! %l4 <= 3. ! Compute %l0 in an unorthodox manner: know we need to Shift %l1 into ! the top decade: so do not even bother to compare to %i3. 1: cmp %l1, %l3 bgeu 3f mov 1, %l4 sll %l1, 3, %l1 b 1b inc %l0 ! ! Now compute %l4 ! 2: addcc %l1, %l1, %l1 bcc not_too_big add %l4, 1, %l4 ! ! We are here if the %i1 overflowed when Shifting. ! This means that %i3 has the high-order bit set. ! Restore %l1 and subtract from %i3. sll %l3, 2, %l3 srl %l1, 1, %l1 add %l1, %l3, %l1 b do_single_div dec %l4 not_too_big: 3: cmp %l1, %i3 blu 2b nop be do_single_div nop ! %l1 > %i3: went too far: back up 1 step ! srl %l1, 1, %l1 ! dec %l4 ! do single-bit divide steps ! ! We have to be careful here. We know that %i3 >= %l1, so we can do the ! first divide step without thinking. BUT, the others are conditional, ! and are only done if %i3 >= 0. Because both %i3 and %l1 may have the ! high-order bit set in the first step, just falling into the regular ! division loop will mess up the first time around. ! So we unroll slightly... do_single_div: deccc %l4 bl end_regular_divide nop sub %i3, %l1, %i3 mov 1, %i2 b end_single_divloop nop single_divloop: sll %i2, 1, %i2 bl 1f srl %l1, 1, %l1 ! %i3 >= 0 sub %i3, %l1, %i3 b 2f inc %i2 1: ! %i3 < 0 add %i3, %l1, %i3 dec %i2 end_single_divloop: 2: deccc %l4 bge single_divloop tst %i3 b end_regular_divide nop not_really_big: 1: sll %l1, 3, %l1 cmp %l1, %i3 bleu 1b inccc %l0 be got_result dec %l0 do_regular_divide: ! Do the main division iteration tst %i3 ! Fall through into divide loop divloop: sll %i2, 3, %i2 ! depth 1, accumulated bits 0 bl L.1.8 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 ! depth 2, accumulated bits 1 bl L.2.9 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 ! depth 3, accumulated bits 3 bl L.3.11 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (3*2+1), %i2 L.3.11: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (3*2-1), %i2 L.2.9: ! remainder is negative addcc %i3,%l1,%i3 ! depth 3, accumulated bits 1 bl L.3.9 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (1*2+1), %i2 L.3.9: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (1*2-1), %i2 L.1.8: ! remainder is negative addcc %i3,%l1,%i3 ! depth 2, accumulated bits -1 bl L.2.7 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 ! depth 3, accumulated bits -1 bl L.3.7 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (-1*2+1), %i2 L.3.7: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (-1*2-1), %i2 L.2.7: ! remainder is negative addcc %i3,%l1,%i3 ! depth 3, accumulated bits -3 bl L.3.5 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (-3*2+1), %i2 L.3.5: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (-3*2-1), %i2 end_regular_divide: 9: deccc %l0 bge divloop tst %i3 bge got_result nop ! non-restoring fixup here dec %i2 got_result: tst %i2 bge 1f restore ! answer < 0 retl ! leaf-routine return neg %o2, %o0 ! quotient <- -%i2 1: retl ! leaf-routine return mov %o2, %o0 ! quotient <- %i2 #endif #ifdef L_modsi3 .text .align 4 .global .urem .proc 4 .urem: save %sp, -64, %sp b divide mov 0, %i2 ! result always positive .global .rem .proc 4 .rem: save %sp, -64, %sp orcc %i1, %i0, %g0 ! is either operand negative bge divide ! if not, skip this junk mov %i0, %i2 ! record sign of result in sign of %i2 tst %i1 bge 2f tst %i0 ! %i1 < 0 bge divide neg %i1 2: ! %i0 < 0 neg %i0 ! FALL THROUGH divide: ! Compute size of quotient, scale comparand. orcc %i1, %g0, %l1 ! movcc %i1, %l1 te 2 ! if %i1 = 0 mov %i0, %i3 mov 0, %i2 sethi %hi(1<<(32-2-1)), %l3 cmp %i3, %l3 blu not_really_big mov 0, %l0 ! ! Here, the %i0 is >= 2^(31-3) or so. We must be careful here, ! as our usual 3-at-a-shot divide step will cause overflow and havoc. ! The total number of bits in the result here is 3*%l0+%l4, where ! %l4 <= 3. ! Compute %l0 in an unorthodox manner: know we need to Shift %l1 into ! the top decade: so do not even bother to compare to %i3. 1: cmp %l1, %l3 bgeu 3f mov 1, %l4 sll %l1, 3, %l1 b 1b inc %l0 ! ! Now compute %l4 ! 2: addcc %l1, %l1, %l1 bcc not_too_big add %l4, 1, %l4 ! ! We are here if the %i1 overflowed when Shifting. ! This means that %i3 has the high-order bit set. ! Restore %l1 and subtract from %i3. sll %l3, 2, %l3 srl %l1, 1, %l1 add %l1, %l3, %l1 b do_single_div dec %l4 not_too_big: 3: cmp %l1, %i3 blu 2b nop be do_single_div nop ! %l1 > %i3: went too far: back up 1 step ! srl %l1, 1, %l1 ! dec %l4 ! do single-bit divide steps ! ! We have to be careful here. We know that %i3 >= %l1, so we can do the ! first divide step without thinking. BUT, the others are conditional, ! and are only done if %i3 >= 0. Because both %i3 and %l1 may have the ! high-order bit set in the first step, just falling into the regular ! division loop will mess up the first time around. ! So we unroll slightly... do_single_div: deccc %l4 bl end_regular_divide nop sub %i3, %l1, %i3 mov 1, %i2 b end_single_divloop nop single_divloop: sll %i2, 1, %i2 bl 1f srl %l1, 1, %l1 ! %i3 >= 0 sub %i3, %l1, %i3 b 2f inc %i2 1: ! %i3 < 0 add %i3, %l1, %i3 dec %i2 end_single_divloop: 2: deccc %l4 bge single_divloop tst %i3 b end_regular_divide nop not_really_big: 1: sll %l1, 3, %l1 cmp %l1, %i3 bleu 1b inccc %l0 be got_result dec %l0 do_regular_divide: ! Do the main division iteration tst %i3 ! Fall through into divide loop divloop: sll %i2, 3, %i2 ! depth 1, accumulated bits 0 bl L.1.8 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 ! depth 2, accumulated bits 1 bl L.2.9 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 ! depth 3, accumulated bits 3 bl L.3.11 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (3*2+1), %i2 L.3.11: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (3*2-1), %i2 L.2.9: ! remainder is negative addcc %i3,%l1,%i3 ! depth 3, accumulated bits 1 bl L.3.9 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (1*2+1), %i2 L.3.9: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (1*2-1), %i2 L.1.8: ! remainder is negative addcc %i3,%l1,%i3 ! depth 2, accumulated bits -1 bl L.2.7 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 ! depth 3, accumulated bits -1 bl L.3.7 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (-1*2+1), %i2 L.3.7: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (-1*2-1), %i2 L.2.7: ! remainder is negative addcc %i3,%l1,%i3 ! depth 3, accumulated bits -3 bl L.3.5 srl %l1,1,%l1 ! remainder is positive subcc %i3,%l1,%i3 b 9f add %i2, (-3*2+1), %i2 L.3.5: ! remainder is negative addcc %i3,%l1,%i3 b 9f add %i2, (-3*2-1), %i2 end_regular_divide: 9: deccc %l0 bge divloop tst %i3 bge got_result nop ! non-restoring fixup here add %i3, %i1, %i3 got_result: tst %i2 bge 1f restore ! answer < 0 retl ! leaf-routine return neg %o3, %o0 ! remainder <- -%i3 1: retl ! leaf-routine return mov %o3, %o0 ! remainder <- %i3 #endif
20.926078
76
0.633795
fdb7fda883528ea3d4732a72ad355e25b0f64daa
2,861
asm
Assembly
programs/oeis/001/A001547.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/001/A001547.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/001/A001547.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A001547: a(n) = (7*n+1)*(7*n+2)*(7*n+4). ; 8,792,4320,12650,27840,51948,87032,135150,198360,278720,378288,499122,643280,812820,1009800,1236278,1494312,1785960,2113280,2478330,2883168,3329852,3820440,4356990,4941560,5576208,6262992,7003970,7801200,8656740,9572648,10550982,11593800,12703160,13881120,15129738,16451072,17847180,19320120,20871950,22504728,24220512,26021360,27909330,29886480,31954868,34116552,36373590,38728040,41181960,43737408,46396442,49161120,52033500,55015640,58109598,61317432,64641200,68082960,71644770,75328688,79136772,83071080,87133670,91326600,95651928,100111712,104708010,109442880,114318380,119336568,124499502,129809240,135267840,140877360,146639858,152557392,158632020,164865800,171260790,177819048,184542632,191433600,198494010,205725920,213131388,220712472,228471230,236409720,244530000,252834128,261324162,270002160,278870180,287930280,297184518,306634952,316283640,326132640,336184010,346439808,356902092,367572920,378454350,389548440,400857248,412382832,424127250,436092560,448280820,460694088,473334422,486203880,499304520,512638400,526207578,540014112,554060060,568347480,582878430,597654968,612679152,627953040,643478690,659258160,675293508,691586792,708140070,724955400,742034840,759380448,776994282,794878400,813034860,831465720,850173038,869158872,888425280,907974320,927808050,947928528,968337812,989037960,1010031030,1031319080,1052904168,1074788352,1096973690,1119462240,1142256060,1165357208,1188767742,1212489720,1236525200,1260876240,1285544898,1310533232,1335843300,1361477160,1387436870,1413724488,1440342072,1467291680,1494575370,1522195200,1550153228,1578451512,1607092110,1636077080,1665408480,1695088368,1725118802,1755501840,1786239540,1817333960,1848787158,1880601192,1912778120,1945320000,1978228890,2011506848,2045155932,2079178200,2113575710,2148350520,2183504688,2219040272,2254959330,2291263920,2327956100,2365037928,2402511462,2440378760,2478641880,2517302880,2556363818,2595826752,2635693740,2675966840,2716648110,2757739608,2799243392,2841161520,2883496050,2926249040,2969422548,3013018632,3057039350,3101486760,3146362920,3191669888,3237409722,3283584480,3330196220,3377247000,3424738878,3472673912,3521054160,3569881680,3619158530,3668886768,3719068452,3769705640,3820800390,3872354760,3924370808,3976850592,4029796170,4083209600,4137092940,4191448248,4246277582,4301583000,4357366560,4413630320,4470376338,4527606672,4585323380,4643528520,4702224150,4761412328,4821095112,4881274560,4941952730,5003131680,5064813468,5127000152,5189693790,5252896440,5316610160 mov $2,$0 mov $6,$0 lpb $0,1 mul $0,$3 mul $2,7 add $2,1 mov $1,$2 add $2,1 mov $4,$2 sub $4,2 mul $1,$4 add $1,$4 lpe mul $1,7 add $1,8 mov $7,$6 mov $9,$6 lpb $9,1 add $8,$7 sub $9,1 lpe mov $7,$8 mov $8,0 mov $9,$6 lpb $9,1 add $8,$7 sub $9,1 lpe mov $5,343 mov $7,$8 lpb $5,1 add $1,$7 sub $5,1 lpe
75.289474
2,483
0.843761
2462952022c8e259290610b204ac655463611145
445
asm
Assembly
programs/oeis/111/A111074.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/111/A111074.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/111/A111074.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A111074: Let t(n) denote the triangular numbers (A000217). Sequence mixes t(n+2) and t(n). ; 3,0,6,1,10,3,15,6,21,10,28,15,36,21,45,28,55,36,66,45,78,55,91,66,105,78,120,91,136,105,153,120,171,136,190,153,210,171,231,190,253,210,276,231,300,253,325,276,351,300,378,325,406,351,435,378,465,406,496,435 mov $3,$0 gcd $0,8 mov $5,$3 add $5,3 mov $2,$5 mov $4,3 lpb $0,1 mov $0,1 add $2,$4 add $2,2 lpe sub $2,3 pow $2,2 add $1,$2 div $1,8
23.421053
209
0.644944
27ef248b0e5c39c48a75b0a552c1066e470cedb9
386
asm
Assembly
libsrc/_DEVELOPMENT/z80/c/sccz80/im2_create_generic_isr_8080_callee.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/z80/c/sccz80/im2_create_generic_isr_8080_callee.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/z80/c/sccz80/im2_create_generic_isr_8080_callee.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; void *im2_create_generic_isr_8080_callee(uint8_t num_callback, void *address) SECTION code_z80 PUBLIC im2_create_generic_isr_8080_callee, l0_im2_create_generic_isr_8080_callee EXTERN asm_im2_create_generic_isr_8080 im2_create_generic_isr_8080_callee: pop hl pop de ex (sp),hl l0_im2_create_generic_isr_8080_callee: ld a,l jp asm_im2_create_generic_isr_8080
18.380952
80
0.831606
55b0090a5443bea0a3296ddbf589db3578d46f42
7,572
asm
Assembly
sound.asm
picosonic/bbm
f3d8e3f7bedd36f6156bf8bc87068cc17800b41d
[ "MIT" ]
4
2020-09-16T12:05:50.000Z
2021-06-22T23:37:29.000Z
sound.asm
picosonic/bbm
f3d8e3f7bedd36f6156bf8bc87068cc17800b41d
[ "MIT" ]
null
null
null
sound.asm
picosonic/bbm
f3d8e3f7bedd36f6156bf8bc87068cc17800b41d
[ "MIT" ]
null
null
null
.sound_explosion { PHA:TXA:PHA:TYA:PHA ; Set pointer to sound params in XY LDX #effectparams MOD 256 LDY #effectparams DIV 256 ; Action OS sound function LDA #&07:JSR OSWORD PLA:TAY:PLA:TAX:PLA RTS ; Sound parameter block .effectparams EQUB &10 ; Channel LSB (noise channel 0, with flush) EQUB &00 ; Channel MSB EQUB &F7 ; Amplitude LSB EQUB &FF ; Amplitude MSB EQUB &06 ; Pitch LSB (low frequency white noise) EQUB &00 ; Pitch MSB EQUB &0C ; Duration LSB EQUB &00 ; Duration MSB } ; Stop playing melody .sound_stop LDA #&00:STA sound_music .sound_abort RTS .sound_eventvhandler { ; Check if melody playback disabled LDA sound_disable BNE sound_abort ; Check if any melody playing LDA sound_music BEQ sound_abort ; Check for init already done BMI update_melody ; Don't try to play melody > 10 CMP #&0B:BCS sound_stop STA sound_temp ; Flag current melody as initialised ORA #&80:STA sound_music ; Make melody id 0 based DEC sound_temp ; Multiply by 8, for offset into melodies table LDA sound_temp:ASL A:ASL A:ASL A:TAY ; Copy pointers to the three channels for current melody LDX #0 .copy_pointers LDA sound_melodies_table, Y STA sound_chandat, X INY:INX:CPX #(3*2) BNE copy_pointers ; Copy melody flags LDA sound_melodies_table, Y STA byte_D3 ; Duty cycle LDA sound_melodies_table+1, Y STA byte_D4 ; Init sound parameters LDA #&00 STA sound_cnt:STA sound_cnt+1:STA sound_cnt+2 STA byte_D5 STA byte_CD:STA byte_CD+1:STA byte_CD+2 STA byte_D0:STA byte_D0+1:STA byte_D0+2 LDA #&01 STA sound_note_timeout:STA sound_note_timeout+1:STA sound_note_timeout+2 STA sound_notelen:STA sound_notelen+1:STA sound_notelen+2 STA byte_D6:STA byte_D6+1:STA byte_D6+2 ; ** Don't worry about sound sweep ** .update_melody ; Start at 3rd channel, then work backwards LDA #&02:STA sound_chan ; Play something for this channel .next_channel LDX sound_chan DEC sound_note_timeout, X BEQ play_channel ; Move on to next channel for this melody .advance_channel DEC sound_chan BPL next_channel RTS .play_channel ; Load the pointer for the current channel TXA:ASL A:TAX LDA sound_chandat, X:STA sound_ptr LDA sound_chandat+1, X:STA sound_ptr+1 ; Check for a null pointer (if so then move on to next channel) ORA sound_ptr:BEQ advance_channel ; LDA #&17:JSR sound_play_note JSR sound_write_regs JMP advance_channel } .sound_write_regs { ; Get channel pointer LDX sound_chan LDY sound_cnt, X ; Read and cache next byte of channel data LDA (sound_ptr), Y:STA sound_temp ; Move channel pointer onwards INC sound_cnt, X ; Check for control byte LDA sound_temp:BMI control_byte ; Set current note timeout from current channel note length LDA sound_notelen, X STA sound_note_timeout, X ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; CPX #&02 BEQ fix_triangle LSR A:LSR A CMP #&10 BCC fix_delay LDA #&0F BNE fix_delay .fix_triangle ASL A BPL fix_delay LDA #&7F .fix_delay STA byte_D6, X LDA byte_D0, X BEQ loc_E57B LSR byte_D6, X .loc_E57B ; Skip zeroes (rests) LDA sound_temp:BEQ abort_write ; Y = X * 4 TXA:ASL A:ASL A:TAY LDA byte_CD, X BEQ loc_E59D BPL loc_E593 INC byte_CD, X BEQ loc_E59D .loc_E593 LDA #&9F CPX #&02 BNE loc_E5A1 .loc_E59D LDA byte_D6, X ORA byte_D3, X .loc_E5A1 ; STA sound_reg_base, Y LDA byte_CD, X CMP #&02 BNE set_wavelen RTS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .set_wavelen ; Set sound channel (with flush enabled) TXA:ORA #&10:STA soundparams:INC soundparams LDA sound_temp ; Convert to BBC Micro note range CMP #&10:BCS inrange LDA #&10 .inrange SEC:SBC #&0F ASL A:ASL A JSR sound_play_note .abort_write RTS .control_byte ; Test to see if it's an "effect" AND #&F0:CMP #&F0:BEQ exec_effect ; Timing control LDA sound_temp:AND #&7F ; TODO *** Convert 60Hz note lengths to 50Hz *** STA sound_notelen, X JMP sound_write_regs .exec_effect ; Determine which effect to action SEC:LDA #&FF:SBC sound_temp ; Use a case statement ASL A:TAY LDA effect_offsets+1, Y:PHA LDA effect_offsets, Y:PHA RTS .effect_offsets EQUW effect_1-1 EQUW effect_2-1 EQUW effect_3-1 EQUW effect_4-1 EQUW effect_5-1 EQUW effect_6-1 EQUW effect_7-1 EQUW effect_8-1 } ; FF ; Stop current playing melody .effect_1 { LDA #&00:STA sound_music RTS } ; FE ; Loop this channel back to the start .effect_2 { LDA #&00:STA sound_cnt, X JMP sound_write_regs } ; FD ; Set up pause/sustain for this channel (counter is next byte) .effect_3 { LDY sound_cnt, X LDA (sound_ptr), Y STA sound_pause_counter, X INY STY sound_cnt, X STY sound_pause_point, X JMP sound_write_regs } ; FC ; Action a pause/sustain for this channel .effect_4 { DEC sound_pause_counter, X BEQ done LDA sound_pause_point, X STA sound_cnt, X .done JMP sound_write_regs } ; FB .effect_5 { LDA byte_CD, X BEQ loc_E626 LDA #&02 STA byte_CD, X JMP sound_write_regs .loc_E626 LDA #&01 STA byte_CD, X JMP sound_write_regs } ; FA .effect_6 { LDA #&FF STA byte_CD, X JMP sound_write_regs } ; F9 .effect_7 { LDA #&FF STA byte_D0, X JMP sound_write_regs } ; F8 .effect_8 { LDA #&00 STA byte_D0, X JMP sound_write_regs } .sound_play_note { ; Set pitch LSB STA soundparams+4 ; Set all MSB to zero LDA #&00 STA soundparams+1 STA soundparams+3 STA soundparams+5 STA soundparams+7 ; Use envelope 1 for amplitude LDA #&01 STA soundparams+2 ;LDA #&F1:STA soundparams+2 ;LDA #&FF:STA soundparams+3 ; Set duration of 1 LDA #&01 STA soundparams+6 ; Set pointer to sound params in XY LDX #soundparams MOD 256 LDY #soundparams DIV 256 ; Action OS sound function LDA #&07:JSR OSWORD ; Go to next sound channel INC soundparams .done RTS } .sound_waittune { LDA sound_music BNE sound_waittune RTS } ; --------------------------------------------------------- .sound_disable EQUW &00 ; Current melody channel data (3 x pointers, plus 2 bytes) .sound_chandat EQUW &0000, &0000, &0000, &0000 ; Current channel .sound_chan EQUB &00 ; Temporary APU storage .sound_temp EQUB &00 ; Current melody (top bit set if already initialised) .sound_music EQUB &00 .sound_note_timeout EQUB &00, &00, &00 .sound_notelen EQUB &00, &00, &00 .byte_CD EQUB &00, &00, &00 .byte_D0 EQUB &00, &00, &00 .byte_D3 EQUB &00 .byte_D4 EQUB &00 .byte_D5 EQUB &00 .byte_D6 EQUB &00, &00, &00 ; Sound parameter block .soundparams EQUB &00 ; Channel LSB EQUB &00 ; Channel MSB EQUB &00 ; Amplitude LSB EQUB &00 ; Amplitude MSB EQUB &00 ; Pitch LSB EQUB &00 ; Pitch MSB EQUB &00 ; Duration LSB EQUB &00 ; Duration MSB ; Melodies table .sound_melodies_table EQUW melody_01_c1 , melody_01_c2 , melody_01_c3, &8080 EQUW melody_02_c1 , melody_02_c2 , melody_02_c3, &4040 EQUW &0000, &0000, melody_03_c3, &8080 EQUW melody_04_c1 , melody_04_c2 , melody_04_c3, &8080 EQUW melody_05_c1 , melody_05_c2 , melody_05_c3, &8080 EQUW melody_06_c1 , melody_06_c2 , melody_06_c3, &8080 EQUW melody_07_c1 , melody_07_c2 , melody_07_c3, &0040 EQUW melody_08_c1 , melody_08_c2 , &0000, &8080 EQUW melody_09_c1 , melody_09_c2 , melody_09_c3, &8080 EQUW melody_07_c1+55, melody_07_c2+59, melody_10_c3, &0040 ; ---------------------------------------------------------
16.789357
74
0.680534
134d719026febc0430eece37ceafbe5e7cb5cd84
282
asm
Assembly
p0702.asm
zhangyuesai/8086-asm-learning-code
a934fb3a98a53a6167b647535b3251680294a786
[ "MIT" ]
1
2018-07-23T10:30:22.000Z
2018-07-23T10:30:22.000Z
p0702.asm
zhangyuesai/8086-asm-learning-code
a934fb3a98a53a6167b647535b3251680294a786
[ "MIT" ]
null
null
null
p0702.asm
zhangyuesai/8086-asm-learning-code
a934fb3a98a53a6167b647535b3251680294a786
[ "MIT" ]
null
null
null
assume cs:codesg,ds:datasg datasg segment db 'welcome to masm!' db '................' datasg ends codesg segment start: mov ax,datasg mov ds,ax mov si,0 mov di,16 mov cx,16 s: mov al,[si] mov [di],al inc si inc di loop s mov ax,4c00h int 21h codesg ends end start
10.444444
26
0.64539
861a02064a7335adede3212c0e79b9728b5222f5
490
asm
Assembly
programs/oeis/104/A104522.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/104/A104522.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/104/A104522.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A104522: Expansion of (-1+x+3*x^2-x^3)/((x+1)(3*x-1)(x-1)^2). ; 1,3,7,19,53,155,459,1371,4105,12307,36911,110723,332157,996459,2989363,8968075,26904209,80712611,242137815,726413427,2179240261,6537720763,19613162267,58839486779,176518460313,529555380915,1588666142719,4765998428131 mov $2,$0 mov $3,$0 add $3,1 lpb $3 mov $0,$2 sub $3,1 sub $0,$3 mov $4,6 mov $5,5 lpb $0 sub $0,1 mul $5,3 lpe sub $4,5 div $5,2 add $5,5 add $4,$5 div $4,6 add $1,$4 lpe
20.416667
218
0.644898