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
3cdd6c8f6dc95ee8740281fe0c869db8e2e8d6be
416
asm
Assembly
ffight/lcs/1p/96.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
ffight/lcs/1p/96.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
ffight/lcs/1p/96.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 00A2C6 dbra D0, $a2c0 00A368 clr.b ($96,A4) 00A36C clr.b ($95,A4) 00A6B6 clr.b ($96,A6) 00A6BA clr.b ($98,A6) 00A7B4 jmp $36a2.w [1p+96] 00A88C clr.b ($96,A6) 00A890 tst.w ($18,A6) 00BC4A move.b #$18, ($3,A6) [1p+96] 00BC86 clr.b ($96,A6) 00BC8A moveq #$0, D0 copyright zengfr site:http://github.com/zengfr/romhack
26
54
0.615385
6880c78551fb4d5eb8ce33efdb4d67810b37082f
325
asm
Assembly
DoppelGate/DoppelGate/compilation.asm
asaurusrex/DoppelGate
c40ceb29a701f70081f262a8ed69bc08a196b3a9
[ "BSD-4-Clause" ]
98
2020-12-12T21:12:26.000Z
2022-03-31T11:23:28.000Z
DoppelGate/DoppelGate/compilation.asm
asaurusrex/DoppelGate
c40ceb29a701f70081f262a8ed69bc08a196b3a9
[ "BSD-4-Clause" ]
null
null
null
DoppelGate/DoppelGate/compilation.asm
asaurusrex/DoppelGate
c40ceb29a701f70081f262a8ed69bc08a196b3a9
[ "BSD-4-Clause" ]
19
2020-12-13T13:18:26.000Z
2022-03-29T18:50:54.000Z
.data wSystemCall DWORD 000h .code DoppelGate PROC mov wSystemCall, 000h mov wSystemCall, ecx ret DoppelGate ENDP DoppelDescent PROC mov r10, rcx mov eax, wSystemCall syscall ret DoppelDescent ENDP end
16.25
33
0.513846
fff5af18a8f780e65c5bd151bf0b3962174b0848
662
asm
Assembly
oeis/325/A325644.asm
loda-lang/loda-programs
773fe0baed2ca30c72b7faf16c0801749f2e6f9a
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/325/A325644.asm
loda-lang/loda-programs
773fe0baed2ca30c72b7faf16c0801749f2e6f9a
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/325/A325644.asm
loda-lang/loda-programs
773fe0baed2ca30c72b7faf16c0801749f2e6f9a
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A325644: "Sloping quaternary numbers": write numbers in quaternary under each other (right-justified), read diagonals in upward direction, convert to decimal. ; Submitted by Jamie Morken(w2) ; 0,1,2,7,4,5,6,11,8,9,10,15,12,13,30,19,16,17,18,23,20,21,22,27,24,25,26,31,28,29,46,35,32,33,34,39,36,37,38,43,40,41,42,47,44,45,62,51,48,49,50,55,52,53,54,59,56,57,58,63,60,125,78,67,64,65,66,71,68,69,70,75,72,73,74,79,76,77,94,83,80,81,82,87,84,85,86,91,88,89,90,95,92,93,110,99,96,97,98,103 add $0,1 mov $1,$0 mov $2,$0 mov $4,1 lpb $2 mul $4,4 mov $3,$4 mov $5,$0 add $0,1 mod $5,$4 cmp $5,0 mul $3,$5 add $1,$3 sub $2,3 lpe mov $0,$1 sub $0,1
30.090909
295
0.648036
a5fc4464fe4987c2090cd84d2ca46b6b574d8948
552
asm
Assembly
programs/oeis/315/A315207.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/315/A315207.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/315/A315207.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A315207: Coordination sequence Gal.5.140.5 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,6,10,14,20,24,30,34,38,44,50,54,58,64,68,74,78,82,88,94,98,102,108,112,118,122,126,132,138,142,146,152,156,162,166,170,176,182,186,190,196,200,206,210,214,220,226,230,234,240 mov $1,1 mov $2,$0 mul $2,2 mov $5,$0 lpb $0,1 mov $0,1 mov $6,4 bin $6,$2 add $2,1 div $2,3 mul $2,2 add $6,$4 trn $0,$6 mov $1,$2 add $4,1 lpe mov $3,$5 mul $3,4 add $1,$3
24
178
0.652174
5732000695c4322f5ef0d673b0278d3433855dfd
32,698
asm
Assembly
source_cpc/Source/EG_Sprites_Player_Grind.asm
kieranhj/edge-beeb
8af058259c91bdf8a0dfabd938cf9ce988b5274c
[ "MIT" ]
null
null
null
source_cpc/Source/EG_Sprites_Player_Grind.asm
kieranhj/edge-beeb
8af058259c91bdf8a0dfabd938cf9ce988b5274c
[ "MIT" ]
null
null
null
source_cpc/Source/EG_Sprites_Player_Grind.asm
kieranhj/edge-beeb
8af058259c91bdf8a0dfabd938cf9ce988b5274c
[ "MIT" ]
null
null
null
.PlayerSpriteGrind0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),164 res 3,h ld (hl),149 inc hl set 3,h ld (hl),180 res 3,h ld (hl),212 inc hl set 3,h ld (hl),168 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),230 res 3,h ld (hl),115 inc hl set 3,h ld (hl),225 res 3,h ld (hl),73 inc hl set 3,h ld (hl),180 res 3,h ld (hl),134 inc hl set 3,h ld (hl),121 res 3,h ld (hl),108 inc hl set 3,h ld (hl),136 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),68 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),217 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),73 res 3,h ld (hl),164 inc hl set 3,h ld (hl),28 res 3,h ld (hl),244 inc hl set 3,h ld (hl),168 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),217 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ld (hl),153 inc hl set 3,h ld (hl),68 res 3,h ld (hl),179 inc hl set 3,h ld (hl),151 res 3,h ld (hl),134 inc hl set 3,h ld (hl),72 res 3,h ld (hl),106 inc hl set 3,h ld (hl),252 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),243 res 3,h ld (hl),204 inc hl set 3,h ld (hl),166 res 3,h ld (hl),242 inc hl set 3,h ld (hl),210 res 3,h ld (hl),210 inc hl set 3,h ld (hl),28 res 3,h ld (hl),60 inc hl set 3,h ld (hl),230 res 3,h ld (hl),136 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),115 inc hl set 3,h ld (hl),243 res 3,h ld (hl),115 inc hl set 3,h ld (hl),166 res 3,h ld (hl),99 inc hl set 3,h ld (hl),210 res 3,h ld (hl),134 inc hl set 3,h ld (hl),28 res 3,h ld (hl),147 inc hl set 3,h ld (hl),230 res 3,h ld (hl),230 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ld (hl),204 inc hl set 3,h ld (hl),68 res 3,h ld (hl),204 inc hl set 3,h ld (hl),134 res 3,h ld (hl),181 inc hl set 3,h ld (hl),106 res 3,h ld (hl),88 inc hl set 3,h ld (hl),252 res 3,h ld (hl),60 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),136 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),68 res 3,h ld (hl),153 inc hl set 3,h ld (hl),217 res 3,h ld (hl),179 inc hl set 3,h ld (hl),73 res 3,h ld (hl),195 inc hl set 3,h ld (hl),28 res 3,h ld (hl),212 inc hl set 3,h ld (hl),168 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),230 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),181 res 3,h ld (hl),164 inc hl set 3,h ld (hl),88 res 3,h ld (hl),106 inc hl set 3,h ld (hl),60 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),136 res 3,h ld (hl),217 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),230 res 3,h ld (hl),115 inc hl set 3,h ld (hl),226 res 3,h ld (hl),114 inc hl set 3,h ld (hl),88 res 3,h ld (hl),134 inc hl set 3,h ld (hl),168 res 3,h ld (hl),124 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ld (hl),204 inc hl set 3,h res 3,h ld (hl),200 inc hl set 3,h res 3,h ld (hl),106 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy) .PlayerSpriteGrind1 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),64 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),132 res 3,h ld (hl),21 inc hl set 3,h ld (hl),212 res 3,h ld (hl),128 inc hl set 3,h ld (hl),236 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),55 res 3,h ld (hl),225 inc hl set 3,h ld (hl),88 res 3,h ld (hl),106 inc hl set 3,h ld (hl),25 res 3,h ld (hl),60 inc hl set 3,h ld (hl),230 res 3,h ld (hl),136 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),17 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),166 res 3,h ld (hl),200 inc hl set 3,h ld (hl),134 res 3,h ld (hl),210 inc hl set 3,h ld (hl),124 res 3,h ld (hl),252 inc hl set 3,h ld (hl),204 res 3,h ld (hl),243 inc hl set 3,h ld (hl),217 res 3,h ld (hl),136 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),181 res 3,h ld (hl),200 inc hl set 3,h ld (hl),12 res 3,h ld (hl),88 inc hl set 3,h ld (hl),121 res 3,h ld (hl),188 inc hl set 3,h ld (hl),115 res 3,h ld (hl),243 inc hl set 3,h ld (hl),230 res 3,h ld (hl),136 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),115 inc hl set 3,h ld (hl),193 res 3,h ld (hl),12 inc hl set 3,h ld (hl),164 res 3,h ld (hl),107 inc hl set 3,h ld (hl),121 res 3,h ld (hl),57 inc hl set 3,h ld (hl),115 res 3,h ld (hl),147 inc hl set 3,h ld (hl),230 res 3,h ld (hl),230 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),68 res 3,h ld (hl),153 inc hl set 3,h ld (hl),193 res 3,h ld (hl),225 inc hl set 3,h ld (hl),164 res 3,h ld (hl),150 inc hl set 3,h ld (hl),108 res 3,h ld (hl),236 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),217 res 3,h ld (hl),136 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),55 res 3,h ld (hl),164 inc hl set 3,h ld (hl),210 res 3,h ld (hl),106 inc hl set 3,h ld (hl),147 res 3,h ld (hl),60 inc hl set 3,h ld (hl),230 res 3,h ld (hl),243 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),136 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),200 res 3,h ld (hl),226 inc hl set 3,h ld (hl),72 res 3,h ld (hl),72 inc hl set 3,h ld (hl),252 res 3,h ld (hl),60 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),136 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),128 res 3,h ld (hl),106 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy) .PlayerSpriteGrind2 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),128 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),28 res 3,h ld (hl),126 inc hl set 3,h ld (hl),115 res 3,h ld (hl),236 inc hl set 3,h ld (hl),51 res 3,h ld (hl),204 inc hl set 3,h ld (hl),204 res 3,h ld (hl),136 inc hl set 3,h ld (hl),136 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),225 res 3,h ld (hl),132 inc hl set 3,h ld (hl),180 res 3,h ld (hl),212 inc hl set 3,h ld (hl),121 res 3,h ld (hl),57 inc hl set 3,h ld (hl),179 res 3,h ld (hl),211 inc hl set 3,h ld (hl),147 res 3,h ld (hl),115 inc hl set 3,h ld (hl),230 res 3,h ld (hl),217 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),181 res 3,h ld (hl),73 inc hl set 3,h ld (hl),194 res 3,h ld (hl),46 inc hl set 3,h ld (hl),124 res 3,h ld (hl),147 inc hl set 3,h ld (hl),243 res 3,h ld (hl),243 inc hl set 3,h ld (hl),243 res 3,h ld (hl),115 inc hl set 3,h ld (hl),136 res 3,h ld (hl),230 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ld (hl),200 inc hl set 3,h ld (hl),72 res 3,h ld (hl),210 inc hl set 3,h ld (hl),124 res 3,h ld (hl),150 inc hl set 3,h ld (hl),243 res 3,h ld (hl),195 inc hl set 3,h ld (hl),243 res 3,h ld (hl),243 inc hl set 3,h ld (hl),136 res 3,h ld (hl),243 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),128 res 3,h ld (hl),106 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),252 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),204 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),136 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy) .PlayerSpriteGrind3 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),68 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),21 res 3,h ld (hl),64 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),124 res 3,h ld (hl),252 inc hl set 3,h ld (hl),243 res 3,h ld (hl),204 inc hl set 3,h ld (hl),230 res 3,h ld (hl),217 inc hl set 3,h ld (hl),204 res 3,h ld (hl),179 inc hl set 3,h ld (hl),217 res 3,h ld (hl),211 inc hl set 3,h ld (hl),225 res 3,h ld (hl),132 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),124 res 3,h ld (hl),28 inc hl set 3,h ld (hl),243 res 3,h ld (hl),211 inc hl set 3,h ld (hl),243 res 3,h ld (hl),211 inc hl set 3,h ld (hl),243 res 3,h ld (hl),195 inc hl set 3,h ld (hl),230 res 3,h ld (hl),243 inc hl set 3,h ld (hl),132 res 3,h ld (hl),193 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),84 res 3,h ld (hl),252 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),136 res 3,h ld (hl),204 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),204 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),136 inc hl set 3,h ld (hl),64 res 3,h ld (hl),21 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy) .PlayerSpriteGrind4 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),128 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),136 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),72 res 3,h ld (hl),106 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),243 res 3,h ld (hl),204 inc hl set 3,h ld (hl),211 res 3,h ld (hl),243 inc hl set 3,h ld (hl),211 res 3,h ld (hl),243 inc hl set 3,h ld (hl),195 res 3,h ld (hl),243 inc hl set 3,h ld (hl),242 res 3,h ld (hl),226 inc hl set 3,h ld (hl),210 res 3,h ld (hl),72 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),102 inc hl set 3,h ld (hl),243 res 3,h ld (hl),230 inc hl set 3,h ld (hl),217 res 3,h ld (hl),230 inc hl set 3,h ld (hl),204 res 3,h ld (hl),243 inc hl set 3,h ld (hl),217 res 3,h ld (hl),140 inc hl set 3,h ld (hl),12 res 3,h ld (hl),194 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ld (hl),204 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),204 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),136 res 3,h ld (hl),204 inc hl set 3,h ld (hl),106 res 3,h ld (hl),72 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),128 res 3,h ld (hl),128 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy) .PlayerSpriteGrind5 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),106 res 3,h ld (hl),128 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),21 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),72 res 3,h ld (hl),72 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),68 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),115 res 3,h ld (hl),230 inc hl set 3,h ld (hl),211 res 3,h ld (hl),230 inc hl set 3,h ld (hl),99 res 3,h ld (hl),243 inc hl set 3,h ld (hl),164 res 3,h ld (hl),132 inc hl set 3,h ld (hl),128 res 3,h ld (hl),106 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),204 res 3,h ld (hl),230 inc hl set 3,h ld (hl),204 res 3,h ld (hl),230 inc hl set 3,h ld (hl),204 res 3,h ld (hl),243 inc hl set 3,h ld (hl),107 res 3,h ld (hl),193 inc hl set 3,h ld (hl),128 res 3,h ld (hl),148 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),179 res 3,h ld (hl),115 inc hl set 3,h ld (hl),179 res 3,h ld (hl),243 inc hl set 3,h ld (hl),195 res 3,h ld (hl),51 inc hl set 3,h ld (hl),216 res 3,h ld (hl),166 inc hl set 3,h ld (hl),210 res 3,h ld (hl),151 inc hl set 3,h ld (hl),124 res 3,h ld (hl),124 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),68 res 3,h ld (hl),204 inc hl set 3,h ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),230 res 3,h ld (hl),230 inc hl set 3,h ld (hl),243 res 3,h ld (hl),216 inc hl set 3,h ld (hl),46 res 3,h ld (hl),29 inc hl set 3,h ld (hl),212 res 3,h ld (hl),252 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),204 res 3,h ld (hl),204 inc hl set 3,h ld (hl),132 res 3,h ld (hl),132 inc hl set 3,h ld (hl),128 res 3,h ld (hl),128 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),21 res 3,h ld (hl),4 inc hl set 3,h ld (hl),128 res 3,h ld (hl),128 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),64 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy) .PlayerSpriteGrind6 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),64 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),132 res 3,h ld (hl),21 inc hl set 3,h ld (hl),128 res 3,h ld (hl),128 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),115 res 3,h ld (hl),230 inc hl set 3,h ld (hl),115 res 3,h ld (hl),230 inc hl set 3,h ld (hl),73 res 3,h ld (hl),164 inc hl set 3,h ld (hl),244 res 3,h ld (hl),128 inc hl set 3,h ld (hl),168 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),153 res 3,h ld (hl),68 inc hl set 3,h ld (hl),179 res 3,h ld (hl),230 inc hl set 3,h ld (hl),195 res 3,h ld (hl),230 inc hl set 3,h ld (hl),151 res 3,h ld (hl),225 inc hl set 3,h ld (hl),72 res 3,h ld (hl),62 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),249 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),230 res 3,h ld (hl),204 inc hl set 3,h ld (hl),179 res 3,h ld (hl),115 inc hl set 3,h ld (hl),242 res 3,h ld (hl),216 inc hl set 3,h ld (hl),210 res 3,h ld (hl),210 inc hl set 3,h ld (hl),124 res 3,h ld (hl),168 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),230 res 3,h ld (hl),115 inc hl set 3,h ld (hl),204 res 3,h ld (hl),115 inc hl set 3,h ld (hl),179 res 3,h ld (hl),99 inc hl set 3,h ld (hl),242 res 3,h ld (hl),166 inc hl set 3,h ld (hl),210 res 3,h ld (hl),134 inc hl set 3,h ld (hl),124 res 3,h ld (hl),124 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ld (hl),68 res 3,h ld (hl),153 inc hl set 3,h ld (hl),204 res 3,h ld (hl),227 inc hl set 3,h ld (hl),147 res 3,h ld (hl),115 inc hl set 3,h ld (hl),164 res 3,h ld (hl),149 inc hl set 3,h ld (hl),126 res 3,h ld (hl),88 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),168 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),115 res 3,h ld (hl),204 inc hl set 3,h ld (hl),115 res 3,h ld (hl),179 inc hl set 3,h ld (hl),73 res 3,h ld (hl),225 inc hl set 3,h ld (hl),244 res 3,h ld (hl),180 inc hl set 3,h ld (hl),168 res 3,h ld (hl),249 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),204 res 3,h ld (hl),230 inc hl set 3,h ld (hl),204 res 3,h ld (hl),230 inc hl set 3,h ld (hl),140 res 3,h ld (hl),164 inc hl set 3,h ld (hl),128 res 3,h ld (hl),128 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 inc hl set 3,h ld (hl),64 res 3,h ld (hl),21 inc hl set 3,h ; ld (hl),0 res 3,h ld (hl),128 inc hl set 3,h ; ld (hl),0 res 3,h ; ld (hl),0 ; ld l,(ix+0) inc ixl ld h,(ix+0) inc ixl res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 inc hl set 3,h res 3,h ; ld (hl),0 jp (iy)
13.006364
19
0.410056
b5407215ca852965087d7cc72c8f716218c81573
608
asm
Assembly
programs/oeis/066/A066715.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/066/A066715.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/066/A066715.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A066715: a(n) = gcd(2n+1, sigma(2n+1)). ; 1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1,1,1,3,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,3,1,7,1,5,1,3,1,1,3,1,1,1,1,1,13,1,1,3,1,1,1,1,1,15,1,1,3,1,5,3,1,1,9,1,1,3,1,1,3,1,1,1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1,1,1,3,1,1,3,1,1,1,1,1,1,1,1,3,1,1,1,1,1,1,1,1,3,1,1,3,1,1,3,1,1,3,1,1,7,1,1,1,1,1,15,7,1,1,1,5,3,1,1,3,1,1,1,1,1,3,1,1,3,1,1,1,1,1,1,1,1,3,1,1,3,1,1,1,1,1,3,1,1,1,1,1,3,1,1,3,1,1,1,1,1,1,1,1,3,5,1,1,1,1,3,1,1,3,1,1,1,1,1,3,1,1,3,1,1,15,1,1,3,1,5,3,1,1,1,7,1,9,1,1,3,1,1,1,11,5,9,1,1,3,1,1,1,1,1,9,1,1 mul $0,2 cal $0,9194 ; a(n) = gcd(n, sigma(n)). mov $1,$0
86.857143
506
0.506579
205b97addd5fc492dae0779708011845d058c09f
484
asm
Assembly
libsrc/graphics/drawb.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
libsrc/graphics/drawb.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
libsrc/graphics/drawb.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; ; ----- void __CALLEE__ drawb(int x, int y, int h, int v) ; ; $Id: drawb.asm $ ; SECTION code_graphics PUBLIC drawb PUBLIC _drawb EXTERN drawb_callee EXTERN ASMDISP_DRAWB_CALLEE .drawb ._drawb push ix ld ix,2 add ix,sp ld c,(ix+2) ld b,(ix+4) ld l,(ix+6) ld h,(ix+8) pop ix jp drawb_callee + ASMDISP_DRAWB_CALLEE
14.235294
57
0.61157
dbea34568ca6fa8d407b82a6a1c307d56f3454a4
668
asm
Assembly
oeis/000/A000178.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/000/A000178.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/000/A000178.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A000178: Superfactorials: product of first n factorials. ; Submitted by Jamie Morken ; 1,1,2,12,288,34560,24883200,125411328000,5056584744960000,1834933472251084800000,6658606584104736522240000000,265790267296391946810949632000000000,127313963299399416749559771247411200000000000,792786697595796795607377086400871488552960000000000000,69113789582492712943486800506462734562847413501952000000000000000,90378331112371142262979521568630736335023247731599748366336000000000000000000,1890966832292234727042877370627225068196418587883634153182519380410368000000000000000000000 mov $1,1 mov $2,1 mov $3,1 lpb $0 sub $0,1 add $2,1 mul $3,$1 mul $1,$2 lpe mov $0,$3
44.533333
485
0.872754
b00d90fb081401bdbe3d95aecf386b11fd7839e1
2,340
asm
Assembly
dino/lcs/base/796.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
dino/lcs/base/796.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
dino/lcs/base/796.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 004D2A move.l D0, (A4)+ 004D2C move.l D0, (A4)+ 02040E clr.l ($796,A5) 020412 clr.l ($7e0,A5) [base+796, base+798] 020A00 move.w ($0,A4), ($5a,A6) [base+7B5] 020A06 move.b ($e,A4), ($7b,A6) [base+796] 020EDC sub.w ($5a,A6), D0 [base+744] 020EE0 lsr.w #1, D0 [base+796] 020F1A sub.w ($5a,A6), D0 [base+744] 020F1E bsr $20f42 [base+796] 020FB6 sub.w ($5a,A6), D0 [base+744] 020FBA move.w ($5c,A6), D1 [base+796] 020FC8 move.w ($5a,A6), D2 020FCC move.w ($5c,A6), D3 [base+796] 022572 move.w ($0,A4), ($5a,A6) 022578 move.b ($e,A4), ($7b,A6) 0AAACA move.l (A0), D2 0AAACC move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, base+6FFE, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1] 0AAACE move.w D0, ($2,A0) 0AAAD2 cmp.l (A0), D0 0AAAD4 bne $aaafc 0AAAD8 move.l D2, (A0)+ 0AAADA cmpa.l A0, A1 [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, base+6FFE, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1] 0AAAE6 move.l (A0), D2 0AAAE8 move.w D0, (A0) [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, base+6FFE, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1] 0AAAF4 move.l D2, (A0)+ 0AAAF6 cmpa.l A0, A1 [123p+11A, 123p+11C, 123p+11E, 123p+120, 123p+122, 123p+124, 123p+126, 123p+128, 123p+12A, base+6FFE, enemy+BC, enemy+C0, enemy+C2, enemy+C4, enemy+CC, enemy+CE, enemy+D0, enemy+D2, enemy+D4, enemy+D6, enemy+D8, enemy+DA, item+86, item+88, item+8A, item+98, item+9A, item+9C, item+9E, item+A0, item+A2, item+A4, item+A6, scr1] copyright zengfr site:http://github.com/zengfr/romhack
68.823529
351
0.649145
ca94a0c17c937739d37de59497bb77d3b435862f
1,037
asm
Assembly
_build/dispatcher/jmp_ippsPrimeSet_BN_d9b184c1.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
1
2021-10-04T10:21:54.000Z
2021-10-04T10:21:54.000Z
_build/dispatcher/jmp_ippsPrimeSet_BN_d9b184c1.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
_build/dispatcher/jmp_ippsPrimeSet_BN_d9b184c1.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
extern m7_ippsPrimeSet_BN:function extern n8_ippsPrimeSet_BN:function extern y8_ippsPrimeSet_BN:function extern e9_ippsPrimeSet_BN:function extern l9_ippsPrimeSet_BN:function extern n0_ippsPrimeSet_BN:function extern k0_ippsPrimeSet_BN:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data align 8 dq .Lin_ippsPrimeSet_BN .Larraddr_ippsPrimeSet_BN: dq m7_ippsPrimeSet_BN dq n8_ippsPrimeSet_BN dq y8_ippsPrimeSet_BN dq e9_ippsPrimeSet_BN dq l9_ippsPrimeSet_BN dq n0_ippsPrimeSet_BN dq k0_ippsPrimeSet_BN segment .text global ippsPrimeSet_BN:function (ippsPrimeSet_BN.LEndippsPrimeSet_BN - ippsPrimeSet_BN) .Lin_ippsPrimeSet_BN: db 0xf3, 0x0f, 0x1e, 0xfa call ippcpSafeInit wrt ..plt align 16 ippsPrimeSet_BN: db 0xf3, 0x0f, 0x1e, 0xfa mov rax, qword [rel ippcpJumpIndexForMergedLibs wrt ..gotpc] movsxd rax, dword [rax] lea r11, [rel .Larraddr_ippsPrimeSet_BN] mov r11, qword [r11+rax*8] jmp r11 .LEndippsPrimeSet_BN:
26.589744
87
0.78785
ddb03ad557e2e26eb62866a44031db35e639e316
5,471
asm
Assembly
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_16872_497.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_16872_497.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_16872_497.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 %r9 push %rax push %rdx lea addresses_normal_ht+0x7cb8, %r11 nop nop xor %rax, %rax mov (%r11), %r9w nop nop nop sub %rdx, %rdx lea addresses_A_ht+0x3158, %rdx clflush (%rdx) nop nop nop and %rax, %rax mov (%rdx), %r11 nop nop xor $48239, %r12 pop %rdx pop %rax pop %r9 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r15 push %r9 push %rax push %rbp push %rbx push %rcx // Store lea addresses_RW+0x27f8, %rbx nop xor %rbp, %rbp movb $0x51, (%rbx) nop nop sub %r15, %r15 // Store lea addresses_RW+0xcf2c, %rbp clflush (%rbp) nop nop nop nop nop add $50906, %r12 movl $0x51525354, (%rbp) nop nop nop nop add $27318, %rbp // Load lea addresses_normal+0x86d8, %rbp dec %rbx movb (%rbp), %r15b nop nop nop add %rbx, %rbx // Store lea addresses_WT+0x19558, %rbp nop inc %rax movb $0x51, (%rbp) nop nop cmp %rbp, %rbp // Store lea addresses_UC+0x15958, %r12 clflush (%r12) nop nop nop nop nop sub $22893, %rbp movw $0x5152, (%r12) and $49860, %rbp // Faulty Load lea addresses_UC+0x15958, %rbx nop nop nop cmp $20247, %rax mov (%rbx), %rbp lea oracles, %r15 and $0xff, %rbp shlq $12, %rbp mov (%r15,%rbp,1), %rbp pop %rcx pop %rbx pop %rbp pop %rax pop %r9 pop %r15 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_RW'}} {'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_RW'}} {'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 1, 'NT': True, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT'}} {'OP': 'STOR', 'dst': {'congruent': 0, 'AVXalign': True, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_UC'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': False, 'type': 'addresses_UC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'52': 16872} 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 */
40.227941
2,999
0.652897
c3cc5b7101adad575e8b32af03a8d46b4d9642ad
542
asm
Assembly
oeis/144/A144693.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/144/A144693.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/144/A144693.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A144693: Triangle read by rows, A000012 * (3*A144328 - 2*A000012), where A000012 means a lower triangular matrix of all 1's. ; Submitted by Christian Krause ; 1,2,1,3,2,4,4,3,8,7,5,4,12,14,10,6,5,16,21,20,13,7,6,20,28,30,26,16,8,7,24,35,40,39,32,19,9,8,28,42,50,52,48,38,22,10,9,32,49,60,65,64,57,44,25,11,10,36,56,70,78,80,76,66,50,28,12,11,40,63,80,91,96,95,88,75,56,31,13,12,44,70,90,104,112,114,110,100,84,62,34,14,13,48,77,100,117,128,133,132 lpb $0 add $1,1 sub $0,$1 lpe sub $1,$0 trn $0,1 mul $0,3 add $0,1 mul $1,$0 add $0,$1
36.133333
290
0.656827
d01a15ba9a264872bcfd8a325a81fe5eaf0e8740
3,084
asm
Assembly
blank.asm
nsn/vcsdev
56e16a2d74ae222b089729d7372c8a9d0fe9452a
[ "Apache-2.0" ]
null
null
null
blank.asm
nsn/vcsdev
56e16a2d74ae222b089729d7372c8a9d0fe9452a
[ "Apache-2.0" ]
null
null
null
blank.asm
nsn/vcsdev
56e16a2d74ae222b089729d7372c8a9d0fe9452a
[ "Apache-2.0" ]
null
null
null
; blank vcs 2600 project processor 6502 include "vcs.h" include "macro.h" ;---------------------------- ; Constants ;---------------------------- ; ntsc constants VBLANK_WAIT = #43 NUM_SCANLINES = 191 ;--- end Constants ;############################ ; Bank1 ;############################ ;---------------------------- ; Variables ;---------------------------- SEG.U variables ORG $80 tmp ds 2 ;--- end Variables SEG code ORG $F000 Reset: ;---------------------------- ; Start of program ;---------------------------- ; clear RAM sei ; disable interrupts cld ; Clear BCD math flag ; set stack pointer to top of RAM ldx #$FF txs lda #0 ClearRam: sta 0,x dex bne ClearRam ; set TIA behaviour ; set bg color to black ($0) lda #$00 sta COLUBK ; set pf color to white lda #$0E sta COLUPF ; set pf behaviour lda #%00000000 sta CTRLPF ;---------------------------- ; Main Loop ;---------------------------- MainLoop: jsr VerticalBlank jsr DrawScreen jsr OverScan jmp MainLoop ; loop forever ;---------------------------- ; vertical blank wait ;---------------------------- VerticalBlank: ldx #0 ; ? lda #2 sta WSYNC ; ? sta WSYNC ; ? sta WSYNC ; ? ; begin vertical sync sta VSYNC ; first two lines of vsync sta WSYNC sta WSYNC ; use duration 3rd line of VSYNC ; to set the vertical blank timer lda VBLANK_WAIT sta TIM64T ; clear collision latches lda #0 sta CXCLR ; end vsync period sta WSYNC sta VSYNC ;---------------- ; free cycles! ;---------------- ; insert per-frame initializaton code here ; wait until vertical blank period is over VerticalBlankWait: lda INTIM bne VerticalBlankWait rts ; return ;---------------------------- ; Draw visible scanlines ;---------------------------- DrawScreen: ; wait for last line to finish sta WSYNC sta VBLANK ; since A = #0 ; Y will be our scanline counter ldy #NUM_SCANLINES ScanLoop: ; WSYNC is placed BEFORE calculations sta WSYNC ; work done, dec scanline counter, clean up DEY BNE ScanLoop ; clear registers to prevent bleeding lda #2 sta WSYNC ; finish scanline sta VBLANK ; make TIA output blank ; re-use Y which is still 0 sty PF0 sty PF1 sty PF2 sty GRP0 sty GRP1 sty ENAM0 sty ENAM1 sty ENABL rts ; DrawScreen ;---------------------------- ; Overscan ;---------------------------- OverScan: ; wait 30 scanline ldx #30 OverScanLineWait: sta WSYNC dex bne OverScanLineWait ; return rts ;---------------------------- ; Data ;---------------------------- ;---------------------------- ; Reset/Break ;---------------------------- ORG $FFFC ; set Reset pointer (at $FFFC and $FFFD) to Reset label .word Reset ; set BRK pointer (at $FFFE and $FFFF) to Reset label .word Reset
17.522727
60
0.482166
8c2d71363693f1092cdbdf97dda512d30765c480
872
asm
Assembly
x86.asm
zenny-chen/Cloud-Server-Building-and-Server-Development-Relevant-Resource-Collection
b905432366363a0b08fffb552d70969f484e42f3
[ "BSD-2-Clause" ]
2
2020-02-19T05:51:50.000Z
2021-12-06T09:36:40.000Z
x86.asm
zenny-chen/Cloud-Server-Building-and-Server-Development-Relevant-Resource-Collection
b905432366363a0b08fffb552d70969f484e42f3
[ "BSD-2-Clause" ]
null
null
null
x86.asm
zenny-chen/Cloud-Server-Building-and-Server-Development-Relevant-Resource-Collection
b905432366363a0b08fffb552d70969f484e42f3
[ "BSD-2-Clause" ]
null
null
null
; 汇编源文件func.asm .model flat .code _CFunc proc public mov eax, [esp + 4] ; EAX存放第一个参数 mov ecx, [esp + 8] ; ECX存放第二个参数 sub eax, ecx ret _CFunc endp _CFunc2 proc public mov edx, 12345678H ; 存放高4字节 mov eax, 90abcdefH ; 存放低4字节 ret _CFunc2 endp _CFunc3 proc public push 40 ; 给成员d赋值 push 30 ; 给成员c赋值 push 20 ; 给成员b赋值 push 10 ; 给成员a赋值 mov eax, esp ; 将当前栈指针赋给EAX作为所返回结构体对象的起始地址 add esp, 16 ; 将栈指针恢复到返回地址处 ret _CFunc3 endp @FastFunc@16 proc public mov eax, ecx sub eax, edx mov ecx, [esp + 4] mov edx, [esp + 8] sub ecx, edx sub eax, ecx ; 这里用ret 8是将压栈的两个参数在函数返回后直接推出栈 ; 相当于: ret; add esp, 8; ret 8 @FastFunc@16 endp end
15.854545
52
0.512615
9435c109aac4f5c24a3b418d81576f8c0f7e9691
490
asm
Assembly
wof/lcs/enemy/3C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
wof/lcs/enemy/3C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
wof/lcs/enemy/3C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 003D30 move.b (A1)+, ($3c,A0) [enemy+92] 003D34 move.l A1, ($bc,A0) [enemy+3C] 003D92 move.b (A1)+, ($3c,A0) [enemy+92] 003D96 move.b (A1)+, ($ae,A0) [enemy+3C] 0066CA move.l #$1500060, D1 [123p+ 3C, enemy+3C] 01226A move.l (A2)+, (A3)+ [enemy+38, enemy+3A] 01226C move.l (A2)+, (A3)+ [enemy+3C, enemy+3E] 01A75E dbra D4, $1a75c copyright zengfr site:http://github.com/zengfr/romhack
35
54
0.630612
1003282222f38ae282cf0c04ac36c25b0c4b923a
4,984
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1569.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1569.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1569.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x25dc, %rsi lea addresses_WC_ht+0x6c51, %rdi clflush (%rdi) lfence mov $122, %rcx rep movsb and %rcx, %rcx lea addresses_WT_ht+0x16cc4, %rsi lea addresses_WT_ht+0x172c4, %rdi nop lfence mov $82, %rcx rep movsl nop nop nop nop nop add %rdi, %rdi lea addresses_A_ht+0x7ac4, %rsi lea addresses_WC_ht+0xc2c4, %rdi nop xor %rdx, %rdx mov $109, %rcx rep movsb sub $42527, %rsi lea addresses_WT_ht+0x113b0, %r8 nop nop nop add %r13, %r13 mov $0x6162636465666768, %rcx movq %rcx, %xmm0 and $0xffffffffffffffc0, %r8 movntdq %xmm0, (%r8) nop nop nop cmp %rcx, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %r8 pop %r13 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %rbp push %rbx push %rdi push %rdx // Faulty Load lea addresses_WC+0x172c4, %rbx nop nop xor $50341, %rbp movups (%rbx), %xmm2 vpextrq $1, %xmm2, %r13 lea oracles, %rdi and $0xff, %r13 shlq $12, %r13 mov (%rdi,%r13,1), %r13 pop %rdx pop %rdi pop %rbx pop %rbp pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_WC', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_WC', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 2, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'} {'38': 21829} 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 */
50.857143
2,999
0.664727
cf7102deb183fbc9c3078b2b530b3329ba2d66a3
2,637
asm
Assembly
librfxcodec/src/common.asm
abm-osing/xrdp
3c5df611b820c725db70d69f33d8f556a1f83909
[ "Apache-2.0" ]
null
null
null
librfxcodec/src/common.asm
abm-osing/xrdp
3c5df611b820c725db70d69f33d8f556a1f83909
[ "Apache-2.0" ]
null
null
null
librfxcodec/src/common.asm
abm-osing/xrdp
3c5df611b820c725db70d69f33d8f556a1f83909
[ "Apache-2.0" ]
null
null
null
; ;Copyright 2017 Pavel Roskin ;Copyright 2017 mirabilos ; ;Permission to use, copy, modify, distribute, and sell this software and its ;documentation for any purpose is hereby granted without fee, provided that ;the above copyright notice appear in all copies and that both that ;copyright notice and this permission notice appear in supporting ;documentation. ; ;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 ;OPEN GROUP 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. ; ;Common nasm code ; ; Detect ELF formats %ifidn __OUTPUT_FORMAT__,elf %define is_elf 1 %endif %ifidn __OUTPUT_FORMAT__,elf32 %define is_elf 1 %endif %ifidn __OUTPUT_FORMAT__,elf64 %define is_elf 1 %endif ; Detect Mach-O formats %ifidn __OUTPUT_FORMAT__,macho %define is_macho 1 %endif %ifidn __OUTPUT_FORMAT__,macho32 %define is_macho 1 %endif %ifidn __OUTPUT_FORMAT__,macho64 %define is_macho 1 %endif ; Mark stack non-executable %ifdef is_elf section .note.GNU-stack noalloc noexec nowrite progbits %endif ; Global function header %macro PROC 1 align 16 %ifdef is_elf global %1:function %1: %else global _%1 _%1: %endif %endmacro ; Macros for relative access to local data %undef lsym %ifdef ASM_ARCH_AMD64 ; amd64; don't define or call RETRIEVE_RODATA %define lsym(name) rel name %endif %ifdef ASM_ARCH_I386 %ifdef PIC ; i386 PIC %macro END_OF_FILE 0 %ifdef I386_PIC_NEEDED section .text ..@get_caller_address: mov ebx, [esp] ret %endif %ifdef is_macho ; see below align 16 %endif %endmacro %macro RETRIEVE_RODATA 0 %define I386_PIC_NEEDED 1 call ..@get_caller_address %%the_caller_address: sub ebx, %%the_caller_address - ..@rodata_begin %endmacro %define lsym(name) ebx + name - ..@rodata_begin %else ; i386 non-PIC; default case for lsym and RETRIEVE_RODATA %endif %endif %ifndef lsym %macro RETRIEVE_RODATA 0 %endmacro %define lsym(name) name %endif %macro PREPARE_RODATA 0 section .text align 16 ..@rodata_begin: %endmacro %ifnmacro END_OF_FILE 0 %macro END_OF_FILE 0 %ifdef is_macho ; cf. https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/simd/jccolext-mmx.asm#L474-L476 align 16 %endif %endmacro %endif section .text
20.76378
96
0.773606
ec4f005f669ff2ab2e082bca047194312cbc0126
1,611
asm
Assembly
programs/oeis/277/A277108.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/277/A277108.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/277/A277108.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A277108: a(n) = 4n*(n+5). ; 24,56,96,144,200,264,336,416,504,600,704,816,936,1064,1200,1344,1496,1656,1824,2000,2184,2376,2576,2784,3000,3224,3456,3696,3944,4200,4464,4736,5016,5304,5600,5904,6216,6536,6864,7200,7544,7896,8256,8624,9000,9384,9776,10176,10584,11000,11424,11856,12296,12744,13200,13664,14136,14616,15104,15600,16104,16616,17136,17664,18200,18744,19296,19856,20424,21000,21584,22176,22776,23384,24000,24624,25256,25896,26544,27200,27864,28536,29216,29904,30600,31304,32016,32736,33464,34200,34944,35696,36456,37224,38000,38784,39576,40376,41184,42000,42824,43656,44496,45344,46200,47064,47936,48816,49704,50600,51504,52416,53336,54264,55200,56144,57096,58056,59024,60000,60984,61976,62976,63984,65000,66024,67056,68096,69144,70200,71264,72336,73416,74504,75600,76704,77816,78936,80064,81200,82344,83496,84656,85824,87000,88184,89376,90576,91784,93000,94224,95456,96696,97944,99200,100464,101736,103016,104304,105600,106904,108216,109536,110864,112200,113544,114896,116256,117624,119000,120384,121776,123176,124584,126000,127424,128856,130296,131744,133200,134664,136136,137616,139104,140600,142104,143616,145136,146664,148200,149744,151296,152856,154424,156000,157584,159176,160776,162384,164000,165624,167256,168896,170544,172200,173864,175536,177216,178904,180600,182304,184016,185736,187464,189200,190944,192696,194456,196224,198000,199784,201576,203376,205184,207000,208824,210656,212496,214344,216200,218064,219936,221816,223704,225600,227504,229416,231336,233264,235200,237144,239096,241056,243024,245000,246984,248976,250976,252984,255000 mov $1,$0 add $1,7 add $1,$0 pow $1,2 sub $1,25
179
1,533
0.819988
1c8d9a9f2e21e8db1542e049664aa8b661e782e0
146
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_sut1.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_sut1.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/フランス_NES/N_F_asm/zel_sut1.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: zel_sut1.asm Type: file Size: 67203 Last-Modified: '2016-05-13T04:22:15Z' SHA-1: EC74D956A544DE4AC0058BD1F3142094A50C254E Description: null
20.857143
47
0.815068
4daaa280af6b8c2bb7c1f49e40f9921194d0fa93
103
asm
Assembly
Assembly Tests/shiftTest.asm
idn0971/289-CPU
3d038b9057e0310f9628e9ec2cd3977ff6fc7e58
[ "MIT" ]
2
2020-03-07T03:59:48.000Z
2020-03-07T05:43:00.000Z
Assembly Tests/shiftTest.asm
idn0971/289-CPU
3d038b9057e0310f9628e9ec2cd3977ff6fc7e58
[ "MIT" ]
3
2020-03-07T05:42:03.000Z
2020-03-08T07:16:13.000Z
Assembly Tests/shiftTest.asm
idn0971/289-CPU
3d038b9057e0310f9628e9ec2cd3977ff6fc7e58
[ "MIT" ]
1
2020-03-13T15:37:17.000Z
2020-03-13T15:37:17.000Z
addi t0, zero, 1 sll t1, t0, t0 slli t2, t1, 1 srl t3, t2, t0 srli t4, t3, 1 auipc t5, 0 #end : jal end
14.714286
16
0.621359
e92de17b9f0650a75db4d54544d611804a963ba7
4,651
asm
Assembly
data/Updated_0x37_Event_Command/0x37 - Item.asm
nic0lette/ffr-hmsj
16a7f16c963687821c343d0059545682df906601
[ "Apache-2.0" ]
1
2019-06-06T00:19:18.000Z
2019-06-06T00:19:18.000Z
data/Updated_0x37_Event_Command/0x37 - Item.asm
nic0lette/ffr-hmsj
16a7f16c963687821c343d0059545682df906601
[ "Apache-2.0" ]
14
2019-06-04T11:39:22.000Z
2019-06-11T11:27:52.000Z
data/Updated_0x37_Event_Command/0x37 - Item.asm
nic0lette/ffr-hmsj
16a7f16c963687821c343d0059545682df906601
[ "Apache-2.0" ]
null
null
null
@Rewriting the item give/take/check command to allow for immediate parameters @by setting bit 0x40 in the mode parameter @However, you must use the 12-length command! @For 0x5E318 .thumb push {r4-r7,r14} mov r7,r10 mov r6,r9 mov r5,r8 push {r5-r7} mov r10,r0 ldr r4,GetVarMem bl Longcall_4 mov r8,r0 ldr r0,EventStructPointer add r0,r10 ldr r0,[r0] ldr r0,[r0] mov r9,r0 @Address of command in ROM mov r3,r9 @Copy to r3 ldrb r1,[r0,#0x2] @Loading command's mode byte mov r0,#0x40 and r0,r1 beq CheckTradeFlag ldrb r6,[r3,#0x8] @Load item type ldrb r7,[r3,#0xA] @And item ID b CommandSort @Merge with other branches now CheckTradeFlag: mov r0,#0x80 @Are we looking for a dwarf trade quest item? and r0,r1 cmp r0,#0x0 bne TradeQuestSelection ldrb r1,[r3,#0x3] @If not, load event item index from command b LoadItemFromTable TradeQuestSelection: @If so, advance to the input for our permutation of the quest ldr r1,TradeQuestSelectionParams ldr r0,TradeQuestCounter add r0,r8 ldrb r0,[r0] lsl r0,r0,#0x2 ldrb r2,[r3,#0x3] @Loading quest index from command add r0,r0,r2 add r1,#0x2 add r0,r0,r1 ldrb r1,[r0] @Use that to get the event item index LoadItemFromTable: ldr r0,EventItemList lsl r1,r1,#0x1 @Multiply input by 2... ldrb r6,[r0,r1] @Load item type add r0,#0x1 ldrb r7,[r0,r1] @And item ID CommandSort: ldrb r0,[r3,#0x2] @Reload command mode byte mov r1,#0x3F @Strip flags from mode byte and r1,r0 cmp r1,#0x1 @Are we adding, removing or checking for an item? beq RemoveItem cmp r1,#0x1 bgt CommandSort_2 cmp r1,#0x0 beq AddItem b MoveToNextEvent CommandSort_2: cmp r1,#0x2 beq CheckForItem b MoveToNextEvent AddItem: mov r0,r8 mov r1,r6 mov r2,r7 mov r3,#0x1 ldr r4,AddItemToInventory bl Longcall_4 ldr r0,EventStructPointer add r0,r10 ldr r5,[r0] ldr r0,UnkIndex add r5,r5,r0 mov r0,r8 mov r1,r6 mov r2,r7 mov r3,#0x1 ldr r4,GetItemNameText bl Longcall_4 mov r1,r0 mov r0,r5 ldr r4,CopyString bl Longcall_4 b MoveToNextEvent RemoveItem: mov r0,r8 mov r1,r6 mov r2,r7 mov r3,#0x1 ldr r4,RemoveItemFromInventory bl Longcall_4 b MoveToNextEvent CheckForItem: mov r0,r8 mov r1,r6 mov r2,r7 ldr r4,CountItemInInventory bl Longcall_4 cmp r0,#0x0 bgt MoveToNextEvent ldr r0,EventStructPointer add r0,r10 ldr r1,[r0] mov r2,r9 ldr r0,[r2,#0x4] str r0,[r1] b End MoveToNextEvent: ldr r0,EventStructPointer add r0,r10 ldr r2,[r0] mov r3,r9 ldrb r1,[r3,#0x1] ldr r0,[r2] add r0,r0,r1 str r0,[r2] End: mov r0,#0x1 pop {r3-r5} mov r8,r3 mov r9,r4 mov r10,r5 pop {r4-r7} pop {r1} bx r1 .align 2 TradeQuestCounter: .long 0x0000074C UnkIndex: .long 0x00001A5C EventStructPointer: .long 0x00007DAC AddItemToInventory: .long 0x0807EA15 GetItemNameText: .long 0x0807EEB5 CountItemInInventory: .long 0x0807EFBD RemoveItemFromInventory: .long 0x0807F029 GetVarMem: .long 0x0807F15D CopyString: .long 0x08192355 EventItemList: .long 0x082183B4 TradeQuestSelectionParams: .long 0x08218954 Longcall_4: bx r4
27.358824
101
0.480757
740c1aa3a62a18258b397cf5e7eae2e35c2271da
4,928
asm
Assembly
MSDOS/Virus.MSDOS.Unknown.creeper.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:13.000Z
2022-03-16T09:11:05.000Z
MSDOS/Virus.MSDOS.Unknown.creeper.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
null
null
null
MSDOS/Virus.MSDOS.Unknown.creeper.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:15.000Z
2022-01-08T20:51:04.000Z
; ; Demoralized Youth proudly presents: Creeper v1.0, Original Source ; ; Written by: TORMENTOR ; ; Yez, here it is... It's not like 4096 or Pogue, but it's a virus! ; The reason why I release the original source is that I think I ; can't do much more on this virus... I will start from scratch ; and write a larger and more smarter EXE-virus... ; And if I release this source maybe YOU will get some god ideas and ; write your own virus (or rewrite this!)... ; And if you do, Great! Feel free to mix with it as much as you want ; but please don't change this file! ; Well, go on and write virus! The world is to safe! ; ; ; Regards / TORMENTOR ; code segment byte public assume cs:code, ds:code, es:code, ss:code org 100h codebeg: mov ax,043FFh ; Remove virus from code! int 21h ; Let's allocate some mem! mov ax,ds sub ax,11h mov ds,ax cmp byte ptr ds:[0100h],5Ah jnz skip mov ax,ds:[0103h] sub ax,40h jb skip mov ds:[0103h],ax sub word ptr ds:[0112h],50h mov es,ds:[0112h] push cs pop ds mov cx,code_end-codebeg mov di,100h push di mov si,di rep movsb push es pop ds mov ax,351Ch int 21h mov word ptr ds:[int1Cret],bx mov word ptr ds:[int1Cret+2],es mov al,21h int 21h mov word ptr ds:[real21+1],bx mov word ptr ds:[real21+3],es mov ah,25h mov dx,offset int21beg int 21h mov al,1Ch mov dx,offset int1Cnew int 21h push cs push cs pop es pop ds ret skip: int 20h int21beg: push ax sub ax,4B00h jz infect pop ax cmp ax,043FFh ; Check if Harakiri. jne real21 mov ax,word ptr ds:[retdata] mov si,ax mov di,100h mov cx,code_end-codebeg rep movsb mov ax,100h pop cx pop cx push es push ax iret real21: db 0EAh, 00h, 00h, 00h, 00h ; Jump to org21vec. retdata: db 00h, 00h f_time: dw 0000h f_date: dw 0000h infect: pop ax push ax push bx push cx push di push ds push dx push si mov ah,43h ; Get file attr. int 21h mov ax,4301h and cx,0FEh ; Strip the Read-only-flag int 21h mov ax,3D02h ; Open victim. int 21h xchg ax,bx call sub_2 sub_2: mov di,sp ; God what I hate that Eskimo! mov si,ss:[di] inc sp inc sp push cs pop ds mov ax,5700h ; Get file's time and date int 21h mov [si-(sub_2-f_time)],cx mov [si-(sub_2-f_date)],dx ; And save them... mov ah,3Fh ; Read X byte from begin. mov cx,code_end-codebeg add si,code_end-sub_2 ; SI points to EOF mov dx,si int 21h cmp word ptr [si],'MZ' ; Mark Zimbowski? je close cmp word ptr [si],'ZM' ; Zimbowski Mark? je close mark: cmp word ptr [si+(mark-codebeg+4)],'YD' ; infected? je close call put_eof ; move file ptr to EOF cmp ax,(0FFFFh-(code_end-codebeg)-100h) ja close cmp ax,code_end-codebeg+100h jb close add ax,100h mov word ptr ds:[si-(code_end-retdata)],ax mov ah,40h ; Flytta beg to end. mov cx,code_end-codebeg mov dx,si int 21h mov ax,4200h ; fptr to filbeg. xor cx,cx xor dx,dx int 21h mov ah,40h ; Write virus to beg. mov cx,code_end-codebeg mov dx,si sub dx,cx int 21h close: mov ax,5701h mov cx,[si-(code_end-f_time)] mov dx,[si-(code_end-f_date)] int 21h mov ah,3Eh int 21h ; close file, bx=file handle pop si pop dx pop ds pop di pop cx pop bx pop ax jmp real21 put_eof: mov ax,4202h xor dx,dx xor cx,cx int 21h ret int1Cnew: push ax inc byte ptr cs:[counter] mov al,30h cmp byte ptr cs:[counter],al jz scan pop ax slut: jmp dword ptr cs:[int1Cret] scan: push bx push cx push di push ds push dx push es push si push cs pop ds cld xor bx,bx mov byte ptr cs:[counter],bh mov cx,0FA0h mov ax,0b800h mov es,ax xor di,di again: mov al,byte ptr cs:[text+bx] sub al,80h repnz scasb jnz stick maybe: inc di inc bx cmp bx,10d jz beep mov al,byte ptr cs:[text+bx] sub al,80h scasb jz maybe xor bx,bx jmp again beep: xor cx,cx mov bx,word ptr cs:[int1Cret] mov es,word ptr cs:[int1Cret+2] mov ax,251Ch int 21h overagain: mov dx,0180h xor bx,bx reset: mov ah,00h inc bx cmp bl,5h jz raise inc cx int 13h hoho: mov ax,0380h inc cx int 13h jc reset jmp hoho raise: xor cx,cx xor bx,bx inc dx cmp dl,85h jnz hoho jmp overagain stick: pop si pop es pop dx pop ds pop di pop cx pop bx pop ax jmp slut counter: db 00h text: db 'T'+80h, 'O'+80h, 'R'+80h, 'M'+80h, 'E'+80h, 'N'+80h db 'T'+80h, 'O'+80h, 'R'+80h, '!'+80h ; This is what it scans the screen for --^ int1Cret: db 0EAh, 00h, 00h, 00h, 00h code_end: ; THE END. code ends end codebeg ; ; Greetings to: Charlie, HITMAN, Wiper, Torpedo, Tortuer, WiCO, Drive Screwer ; And ALL other virus-writers! ;
14.978723
78
0.629261
d77623d765f172ad9ab64357f8d67ae77442cf4d
1,868
asm
Assembly
2/revshell_asm.asm
91fc7b/SLAE
8ba0831963b077cb3739b8bb53ed430cd3b564e0
[ "Unlicense" ]
null
null
null
2/revshell_asm.asm
91fc7b/SLAE
8ba0831963b077cb3739b8bb53ed430cd3b564e0
[ "Unlicense" ]
null
null
null
2/revshell_asm.asm
91fc7b/SLAE
8ba0831963b077cb3739b8bb53ed430cd3b564e0
[ "Unlicense" ]
null
null
null
global _start section .text _start: ;--------------------------------------- ; socket syscall mov eax,102 ; socket syscall mov ebx,1 ; subcall push 0 ; argument protocol push 1 ; argument type SOCK_STREAM push 2 ; argument domain AF_INET mov ecx,esp ; adress of arguments int 0x80 ; execute syscall, -> filedescriptor in eax mov edx,eax ; save filedescriptor to edx ;--------------------------------------- ; connect syscall mov eax,102 ; socket syscall mov ebx,3 ; subcall ;sockaddr struct push 0x0101017F ; IP reverse hex 127.1.1.1 push WORD 0xD204 ; Port: 1234 = 0x04D2, reverse 0xD204 push WORD 2 ; AF_INET mov ecx,esp ; save pointer to struct sockaddr ;push arguments push 16 ; addrlength push ecx ; sockaddr address push edx ; filedescriptor mov ecx,esp ; adress of arguments int 0x80 ; execute syscall ;--------------------------------------- ; dup2 syscall stdin mov eax,63 ; dup2 syscall mov ebx,edx ; fd socket mov ecx,0 ; stdin int 0x80 ; execute syscall ;--------------------------------------- ; dup2 syscall stdout mov eax,63 ; dup2 syscall mov ebx,edx ; fd socket mov ecx,1 ; stdout int 0x80 ; execute syscall ;--------------------------------------- ; dup2 syscall stderr mov eax,63 ; dup2 syscall mov ebx,edx ; fd socket mov ecx,2 ; stderr int 0x80 ; execute syscall ;--------------------------------------- ; execve /bin/bash mov eax,11 ; dup2 syscall ; push ////bin/bash on stack in reverse push 0 ; null byte push 0x68736162 push 0x2f6e6962 push 0x2f2f2f2f mov ebx,esp ; /bin/bash mov ecx,0 mov edx,0 int 0x80 ; execute syscall
20.086022
55
0.526231
1d44c2815c7a9f096257f3ba8e809f3837d269f0
360
asm
Assembly
programs/oeis/135/A135416.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/135/A135416.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/135/A135416.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A135416: a(n) = A036987(n)*(n+1)/2. ; 1,0,2,0,0,0,4,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,2 mov $1,$0 seq $1,209229 ; Characteristic function of powers of 2, cf. A000079. mul $1,$0 mov $0,$1 div $0,2
36
203
0.552778
2fe8f0aa9adc58c2742c81bb06c82f710b64d414
314
asm
Assembly
oeis/067/A067409.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/067/A067409.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/067/A067409.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A067409: Ninth column of triangle A067402. ; 1,17,1377,111537,9034497,731794257,59275334817,4801302120177,388905471734337,31501343210481297,2551608800048985057,206680312803967789617,16741105337121390958977 mov $2,1 lpb $0 sub $0,1 add $3,$2 mov $2,5 mul $3,81 lpe mov $0,$3 div $0,81 mul $0,16 add $0,1
20.933333
162
0.757962
8a8c67f120aa967c95e08b124ffb4c5c8bd518b9
147
asm
Assembly
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_tanh.asm
dikdom/z88dk
40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0
[ "ClArtistic" ]
1
2022-03-08T11:55:58.000Z
2022-03-08T11:55:58.000Z
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_tanh.asm
dikdom/z88dk
40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0
[ "ClArtistic" ]
2
2022-03-20T22:17:35.000Z
2022-03-24T16:10:00.000Z
libsrc/_DEVELOPMENT/math/float/am9511/c/sdcc/cam32_sdcc_tanh.asm
jorgegv/z88dk
127130cf11f9ff268ba53e308138b12d2b9be90a
[ "ClArtistic" ]
null
null
null
SECTION code_fp_am9511 PUBLIC cam32_sdcc_tanh EXTERN asm_sdcc_read1, _am9511_tanh .cam32_sdcc_tanh call asm_sdcc_read1 jp _am9511_tanh
13.363636
35
0.823129
1eb4a7859cd3933f699ba181e5588c0b88949b01
632
asm
Assembly
oeis/090/A090749.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/090/A090749.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/090/A090749.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A090749: a(n) = 12 * C(2n+1,n-5) / (n+7). ; Submitted by Jon Maiga ; 1,12,90,544,2907,14364,67298,303600,1332045,5722860,24192090,100975680,417225900,1709984304,6962078952,28192122176,113649492522,456442180920,1827459250276,7297426411968,29075683360185,115631433392020,459124809056550,1820529677650320,7210477496434485,28530105553459692,112792097461349754,445598409723850880,1759318006963275528,6942573665829847584,27384596126328843248,107977072198037809536,425619851348799604350,1677257488278232514920,6608222917372422478860,26031175990622065448640 mov $2,$0 add $2,11 add $0,$2 bin $0,$2 mul $0,12 mov $1,$2 add $1,1 div $0,$1
48.615385
482
0.830696
8d239374be06129cefc1a4568a01f332b74cfff2
732
asm
Assembly
oeis/183/A183767.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/183/A183767.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/183/A183767.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A183767: 1/32 the number of (n+1) X 5 binary arrays with equal numbers of 2 X 2 subblocks with sum mod two being 0 and 1. ; Submitted by Jamie Morken(s4) ; 12,280,7392,205920,5912192,173065984,5134924800,153876579840,4646469273600,141154845511680,4309194677698560,132086184685977600,4062564621910867968,125316146802859048960,3875293808717379141632,120102855700813613236224,3729397052242732874465280,116002007358331100647653376,3613718294662092609080524800,112729478904766714569419653120,3520930483980239823694347632640,110094211116422298081267233587200,3446001993553252916561094975160320,107962509266109891907153454274969600 mov $1,2 pow $1,$0 add $0,1 mov $2,$0 mul $0,2 mul $2,4 bin $2,$0 mul $1,$2 mov $0,$1 div $0,2 mul $0,4
45.75
470
0.838798
f38305d972def7f6a62387ad09e68a7d9a480736
7,304
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1808.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1808.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1808.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1d53f, %r13 nop nop nop nop nop sub $51579, %rbp vmovups (%r13), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %rax nop nop nop sub %rsi, %rsi lea addresses_WC_ht+0x18fbf, %r14 nop nop dec %r8 movb (%r14), %r11b nop nop nop nop xor $21753, %r13 lea addresses_D_ht+0xd35f, %rsi lea addresses_A_ht+0x198bf, %rdi clflush (%rsi) nop nop nop nop nop inc %r13 mov $87, %rcx rep movsq and %r13, %r13 lea addresses_WT_ht+0x6751, %r8 clflush (%r8) nop nop nop cmp %rsi, %rsi mov (%r8), %eax nop nop nop add $30547, %r14 lea addresses_normal_ht+0xa1, %r13 nop nop sub %rcx, %rcx movw $0x6162, (%r13) nop add %r13, %r13 lea addresses_A_ht+0x9bc3, %r11 sub $62739, %rdi mov (%r11), %rsi sub $10508, %rdi lea addresses_WC_ht+0xcb3f, %rbp nop nop nop nop and $60063, %r14 mov $0x6162636465666768, %rcx movq %rcx, %xmm7 vmovups %ymm7, (%rbp) nop nop add %r13, %r13 lea addresses_normal_ht+0x1353f, %rax nop add %rdi, %rdi mov $0x6162636465666768, %r14 movq %r14, %xmm6 movups %xmm6, (%rax) nop nop nop nop nop cmp %rcx, %rcx lea addresses_A_ht+0x4d1f, %rcx nop nop sub %r14, %r14 mov $0x6162636465666768, %rbp movq %rbp, (%rcx) nop nop nop sub $43668, %rbp lea addresses_D_ht+0xa1af, %r13 nop nop nop dec %rcx mov $0x6162636465666768, %rsi movq %rsi, %xmm1 vmovups %ymm1, (%r13) nop nop nop nop nop add %r13, %r13 lea addresses_A_ht+0x323f, %rsi clflush (%rsi) nop nop nop nop sub $55323, %r14 mov $0x6162636465666768, %r8 movq %r8, %xmm2 movups %xmm2, (%rsi) nop dec %r8 lea addresses_A_ht+0x1dc4b, %rsi lea addresses_WT_ht+0x17d97, %rdi inc %rbp mov $0, %rcx rep movsb nop nop nop nop cmp %rdi, %rdi lea addresses_D_ht+0x1d73f, %rsi lea addresses_WC_ht+0x8f3f, %rdi nop nop cmp $6740, %r11 mov $23, %rcx rep movsq nop add $59939, %rcx pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r8 pop %r14 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %rdx push %rsi // Faulty Load lea addresses_WC+0x1823f, %r14 nop nop nop nop nop add %r10, %r10 mov (%r14), %r13 lea oracles, %rdx and $0xff, %r13 shlq $12, %r13 mov (%rdx,%r13,1), %r13 pop %rsi pop %rdx pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_WC', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_WC', 'same': True, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_D_ht', 'same': True, 'size': 32, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 4, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 2, 'NT': True, 'AVXalign': True}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 16, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 16, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': True}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM'} {'38': 21829} 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 */
34.616114
2,999
0.657859
810fef337f305f2235ea869434f4ee36da478971
333
asm
Assembly
programs/oeis/241/A241575.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/241/A241575.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/241/A241575.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A241575: Sturmian expansion of 1/2 in base sqrt(2)-1. ; 0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0,1,0,1,0,1,0,0,1,0,1,0,0 add $0,36 seq $0,285073 ; 0-limiting word of the morphism 0->10, 1-> 010.
55.5
201
0.567568
5f94daa18541e1ccd99d3af515f8c7471ef5f68f
359
asm
Assembly
programs/oeis/084/A084861.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/084/A084861.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/084/A084861.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A084861: Expansion of (1-3x+4x^2-3x^3+x^4)/(1-2x)^2. ; 1,1,4,9,21,48,108,240,528,1152,2496,5376,11520,24576,52224,110592,233472,491520,1032192,2162688,4521984,9437184,19660800,40894464,84934656,176160768,364904448,754974720,1560281088,3221225472 mov $1,6 mov $2,$0 mul $0,4 lpb $2 add $0,$1 mul $0,2 sub $2,1 lpe div $0,16 mul $0,6 div $0,8 add $0,1
22.4375
192
0.70195
5300f2e73110ba7e62882e96877dfd11496a0263
988
asm
Assembly
day_01/helloos.asm
macrat/30days-os
58514889afd889dbd9d3f95d35592d2f898e4aaa
[ "MIT" ]
1
2020-01-10T03:04:01.000Z
2020-01-10T03:04:01.000Z
day_01/helloos.asm
macrat/30days-os
58514889afd889dbd9d3f95d35592d2f898e4aaa
[ "MIT" ]
null
null
null
day_01/helloos.asm
macrat/30days-os
58514889afd889dbd9d3f95d35592d2f898e4aaa
[ "MIT" ]
null
null
null
; hello-os ; FAT12 on floppy DB 0xeb, 0x4e, 0x90 DB "HELLOIPL" DW 512 DB 1 DW 1 DB 2 DW 224 DW 2880 DB 0xf0 DW 9 DW 18 DW 2 DD 0 DD 2880 DB 0, 0, 0x29 DD 0xffffffff DB "HELLO-OS " DB "FAT12 " TIMES 18 DB 0 ; main program DB 0xb8, 0x00, 0x00, 0x8e, 0xd0, 0xbc, 0x00, 0x7c DB 0x8e, 0xd8, 0x8e, 0xc0, 0xbe, 0x74, 0x7c, 0x8a DB 0x04, 0x83, 0xc6, 0x01, 0x3c, 0x00, 0x74, 0x09 DB 0xb4, 0x0e, 0xbb, 0x0f, 0x00, 0xcd, 0x10, 0xeb DB 0xee, 0xf4, 0xeb, 0xfd ; message DB 0x0a, 0x0a DB "hello, world!" DB 0x0a DB 0 TIMES 0x1fe-($-$$) DB 0 DB 0x55, 0xaa ; footer? DB 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 TIMES 4600 DB 0 DB 0xf0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00 TIMES 1469432 DB 0
22.454545
58
0.472672
aaaded8a107c7a0a03b2b4a3afe56b93620e3c80
894
asm
Assembly
programs/oeis/266/A266377.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/266/A266377.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/266/A266377.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A266377: Triangle read by rows giving successive states of cellular automaton generated by "Rule 21" initiated with a single ON (black) cell. ; 1,0,1,1,0,0,0,0,0,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 mov $2,2 lpb $0 mov $1,$0 cal $1,339265 ; Expansion of Product_{n >= 1} (1 - x^(2*n))*(1 - x^(2*n-1))*(1 - x^(2*n+1)). lpb $1,3983 add $2,$1 lpb $1 sub $1,1 lpe mov $0,1 lpe lpe sub $1,$0 gcd $2,$1 mov $1,$2 sub $1,1
44.7
501
0.535794
e6a1e623c32799c80f82d8192ee6c45f1a7d8e9f
614
asm
Assembly
tests/parsing/exclamation_label_prefix.asm
fengjixuchui/sjasmplus
df0fabd2411bf89e23637fce46d273f52dafbe16
[ "BSD-3-Clause" ]
220
2016-10-22T19:44:39.000Z
2022-03-29T20:57:04.000Z
tests/parsing/exclamation_label_prefix.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
153
2018-05-07T10:31:23.000Z
2022-03-30T04:35:59.000Z
tests/parsing/exclamation_label_prefix.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
51
2016-05-12T21:27:36.000Z
2022-03-27T15:16:16.000Z
LoudMainLabel1: !SilentMainLabel1: .loop: !.noEffectOnLocals: jr LoudMainLabel1.loop jr SilentMainLabel1 jr LoudMainLabel1.noEffectOnLocals @LoudMainLabel2: !@SilentMainLabel2: .loop: !.noEffectOnLocals: jr LoudMainLabel2.loop jr SilentMainLabel2 jr LoudMainLabel2.noEffectOnLocals jr @LoudMainLabel1.loop jr @LoudMainLabel2.loop jr @LoudMainLabel1.noEffectOnLocals jr @LoudMainLabel2.noEffectOnLocals STRUCT S_TEST bb BYTE $12 ENDS StructLoud S_TEST !StructSilent S_TEST .check: ld hl,StructLoud.check ld hl,@StructLoud.check
19.806452
40
0.724756
72c6efe7d03a626974b9bc51974bded004f7de3e
5,862
asm
Assembly
PIC16/assy/pwm.asm
Classrooms/Microcontrollers
554a2129d45a14306b69af0d72d5b3816b1e21ec
[ "MIT" ]
1
2020-11-04T17:00:32.000Z
2020-11-04T17:00:32.000Z
PIC16/assy/pwm.asm
Classrooms/Microcontrollers
554a2129d45a14306b69af0d72d5b3816b1e21ec
[ "MIT" ]
null
null
null
PIC16/assy/pwm.asm
Classrooms/Microcontrollers
554a2129d45a14306b69af0d72d5b3816b1e21ec
[ "MIT" ]
null
null
null
; ******************************************************************* ; Lesson 8 - PWM ; ; Pulse-Width Modulation (PWM) is a scheme that provides power to a load by switching ; quickly between fully on and fully off states. The PWM signal resembles a square wave ; where the high portion of the signal is considered the on state and the low portion of ; the signal is considered the off state. The high portion, also known as the pulse width, ; can vary in time and is defined in steps. A longer, high on time will illuminate the LED ; brighter. The frequency or period of the PWM does not change. A larger number of ; steps applied, which lengthens the pulse width, also supplies more power to the load. ; Lowering the number of steps applied, which shortens the pulse width, supplies less ; power. The PWM period is defined as the duration of one complete cycle or the total ; amount of on and off time combined. ; ; Rotating the POT will adjust the brightness of a single LED, DS4 ; ; PIC: 16F1829 ; Assembler: MPASM v5.43 ; IDE: MPLABX v1.10 ; ; Board: PICkit 3 Low Pin Count Demo Board ; Date: 6.1.2012 ; ; ******************************************************************* ; * See Low Pin Count Demo Board User's Guide for Lesson Information* ; ******************************************************************* #include <p16F1829.inc> __CONFIG _CONFIG1, (_FOSC_INTOSC & _WDTE_OFF & _PWRTE_OFF & _MCLRE_OFF & _CP_OFF & _CPD_OFF & _BOREN_ON & _CLKOUTEN_OFF & _IESO_OFF & _FCMEN_OFF); __CONFIG _CONFIG2, (_WRT_OFF & _PLLEN_OFF & _STVREN_OFF & _LVP_OFF); errorlevel -302 ;surpress the 'not in bank0' warning ; -------------------LATC----------------- ; Bit#: -7---6---5---4---3---2---1---0--- ; LED: ---------------|DS4|DS3|DS2|DS1|- ; ----------------------------------------- Org 0 Start: ;Setup main init banksel OSCCON ;bank1 movlw b'00111000' ;set cpu clock speed to 500KHz movwf OSCCON ;move contents of the working register into OSCCON ;Configure the ADC/Potentimator ;already in bank1 bsf TRISA, 4 ;Potentimator is connected to RA4....set as input movlw b'00001101' ;select RA4 as source of ADC and enable the module (carefull, this is actually AN3) movwf ADCON0 movlw b'00010000' ;left justified - Fosc/8 speed - vref is Vdd movwf ADCON1 banksel ANSELA ;bank3 bsf ANSELA, 4 ;analog for ADC ;Configure the LEDs banksel TRISC ;bank1 clrf TRISC ;make all of PORTC an output banksel LATC ;bank3 clrf LATC ;Configure the PWM module banksel CCP2CON ;bank 5 - use CCP2 movlw b'00001100' ;PWM mode - single output movwf CCP2CON movlw b'00000000' ;select timer2 as PWM source movwf CCPTMRS banksel PR2 ;bank0 movlw 0xFF ;Frequency at 488Hz. Anything over ~60Hz will get rid of any flicker movwf PR2 ;PWM Period = [PR2 + 1]*4*Tosc*T2CKPS = [50 + 1] * 4 * (1 / 500KHz) * 1 clrf T2CON ;1:1 postscaler and 1 prescaler bsf T2CON,TMR2ON ;start the PWM by setting TMR2ON bit MainLoop: call A2d ;begin the Analog to Digital conversion ;ADRESH and ADRESL are now both full of the ADC result! ;already in bank0 from the banksel inside of A2d movf ADRESH, w ;Get the top 8 MSbs (remember that the ADC result is LEFT justified!) banksel CCPR2L movwf CCPR2L ;to fill the 10bit PWM registers, these 2 LSBS will be put into the ;Duty Cycle Bits (DC2B) of the CCP2CON register which are bits 5 and 4. ;So we need to shift these LSb into place and OR them with CCP2CON ; in order to save the settings above and fill these last bits in banksel ADRESL ;ADRESL = b'xx000000' where 'xx' are the 2 LSBs from the ADC result lsrf ADRESL, f ;ADRESL = b'0xx00000' lsrf ADRESL, f ;ADRESL = b'00xx0000' movf ADRESL, w ;now move into wreg banksel CCP2CON ;move the 2 LSBs into place without disturbing the rest of CCP2CON settings xorwf CCP2CON, w ;clears bits that are the same and sets bits that are different. andlw B'00110000' ;clears all control bits in WREG so they don't change in the final step xorwf CCP2CON, f ;changes bits that changed and leaves everything else untouched. bra MainLoop ;do this forever A2d: ;Start the ADC nop ;requried ADC delay of 8uS => (1/(Fosc/4)) = (1/(500KHz/4)) = 8uS banksel ADCON0 bsf ADCON0, GO ;start the ADC btfsc ADCON0, GO ;this bit will be cleared when the conversion is complete goto $-1 ;keep checking the above line until GO bit is clear return end
52.339286
151
0.512282
f8aaf7485cb18b10156285754c9a466a5f499c5b
580
asm
Assembly
head.asm
laffey98/c64-snake
1fbd458930090a89b11aa837ee78b52a22bcff56
[ "MIT" ]
5
2021-03-31T12:41:46.000Z
2021-10-12T05:52:56.000Z
head.asm
fumiama/c64-snake
7797df0307b701d5d5aa7e1c47017bcbee330359
[ "MIT" ]
1
2021-04-12T12:12:54.000Z
2021-04-12T12:13:23.000Z
head.asm
laffey98/c64-snake
1fbd458930090a89b11aa837ee78b52a22bcff56
[ "MIT" ]
5
2021-03-31T12:41:51.000Z
2022-02-04T07:14:17.000Z
.alias cblk $66 ; 边框 .alias csnk $a0 ; 像素 .alias csps $20 ; 空白 .alias crnd $51 ; 食物 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; 按钮配置,调试时使用WASD控制 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .alias go_u 'W ;$55 ; 上 .alias go_d 'S ;$5f ; 下 .alias go_l 'A ;$1d ; 左 .alias go_r 'D ;$32 ; 右 .alias st_g 'P ;$a0 ; 开始/暂停 .alias ed_g 'Q ;$20 ; 结束 .data zp .space d 1 ; 方向 值定义如上 .space prev_d 1 ; 前一个方向 .space s 2 ; 得分 小端序 .space _ptr 2 ; 通用指针 .space eat 1 ; 吃到食物标记 .space shead 2 ; 蛇头指针 .alias title $0400 .alias field $0428 ; 蛇所在屏幕内存区 .data .org $c000 .text
19.333333
32
0.505172
301078c765d41cb6e165db1ae4b1c5cbef4db493
310
asm
Assembly
programs/oeis/021/A021802.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/021/A021802.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/021/A021802.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A021802: Decimal expansion of 1/798. ; 0,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2,8,3,2,0,8,0,2,0,0,5,0,1,2,5,3,1,3,2 add $0,1 mov $1,10 pow $1,$0 mul $1,5 div $1,3990 mod $1,10 mov $0,$1
28.181818
199
0.541935
b8a81244f08340828ce4daf2283b9f811674ebb0
1,879
asm
Assembly
FindingBiggest.asm
ClaudioKamoda/MIPS-Assembly-Projects
663597b8defb0a00e04e48cdae6d6680822fe304
[ "MIT" ]
null
null
null
FindingBiggest.asm
ClaudioKamoda/MIPS-Assembly-Projects
663597b8defb0a00e04e48cdae6d6680822fe304
[ "MIT" ]
null
null
null
FindingBiggest.asm
ClaudioKamoda/MIPS-Assembly-Projects
663597b8defb0a00e04e48cdae6d6680822fe304
[ "MIT" ]
null
null
null
# Made by Claudio, Beatriz and Israel # September 19, 2019 # Finding the biggest of three numbers :) .data msg: .asciiz "\nInsert the first number:\n" msg2: .asciiz "\nInsert the second number:\n" msg3: .asciiz "\nInsert the third number:\n" msg4: .asciiz " is the biggest\n" .text main: li $v0, 4 # syscall code to print a string la $a0, msg syscall li $v0, 5 # syscall code to get an int syscall move $s1, $v0 # move the entered int to register $s1 li $v0, 4 # syscall code to print a string la $a0, msg2 syscall li $v0, 5 # syscall code to get an int syscall move $s2, $v0 # move the entered int to register $s2 li $v0, 4 # syscall code to print a string la $a0, msg3 syscall li $v0, 5 # syscall code to get an int syscall move $s3, $v0 # move the entered int to register $s3 bgt $s1, $s2, check # check if $s1 is bigger than $s2, if so go to label 'check' bgt $s2, $s3, BIG_2 # if $s2 is bigger than $s1, check if $s2 is also bigger than $s3. If it is, then $s2 is the biggest j BIG_3 # proceed to print $s3 as the biggest number check: bgt $s1, $s3, BIG_1 # check if $s1 is also bigger than $s3. If it is, then $s1 is the biggest. j BIG_3 # if $s3 is bigger than $s1, then $s3 is the biggest BIG_1: # print $s1 as the biggest li $v0, 1 # syscall code to print an integer la $a0, ($s1) syscall li $v0, 4 # syscall code to print a string la $a0, msg4 syscall j end BIG_2: # print $s2 as the biggest li $v0, 1 # syscall code to print an integer la $a0, ($s2) syscall li $v0, 4 # syscall code to print a string la $a0, msg4 syscall j end BIG_3: # print $s3 as the biggest li $v0,1 # syscall code to print an integer la $a0, ($s3) syscall li $v0, 4 # syscall code to print a string la $a0, msg4 syscall end: li $v0, 10 # syscall code to finish the program syscall
23.197531
121
0.654071
2bb68bf01029710263aa7fb67a89d3dbc117a22f
154
asm
Assembly
src/docu/reg16.asm
MijnOS/MijnOS
faf73edc0e506cc6c8ceb16faafbb29f225c1eb0
[ "MIT" ]
null
null
null
src/docu/reg16.asm
MijnOS/MijnOS
faf73edc0e506cc6c8ceb16faafbb29f225c1eb0
[ "MIT" ]
null
null
null
src/docu/reg16.asm
MijnOS/MijnOS
faf73edc0e506cc6c8ceb16faafbb29f225c1eb0
[ "MIT" ]
null
null
null
[BITS 16] [MAP ALL reg16.map] start: mov bx,0 mov dx,word [bx] ret segments: mov ax,0 mov fs,ax ret
11.846154
25
0.448052
d1eb84e54deaf914caa62da22ecf870bb32c97e2
366
asm
Assembly
oeis/032/A032607.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/032/A032607.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/032/A032607.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A032607: Concatenation of n and n + 2 or {n,n+2}. ; Submitted by Jon Maiga ; 13,24,35,46,57,68,79,810,911,1012,1113,1214,1315,1416,1517,1618,1719,1820,1921,2022,2123,2224,2325,2426,2527,2628,2729,2830,2931,3032,3133,3234,3335,3436,3537,3638,3739,3840,3941,4042,4143,4244 mov $1,$0 add $0,1 add $1,6 mov $2,$0 lpb $1 mul $0,10 div $1,13 lpe add $0,$2 add $0,2
24.4
195
0.691257
06f4af0a68c1458153240610deb697e8af2b1c00
487
asm
Assembly
oeis/091/A091946.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/091/A091946.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/091/A091946.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A091946: a(n) = floor(11^n/10^n). ; Submitted by Jamie Morken(w3) ; 1,1,1,1,1,1,1,1,2,2,2,2,3,3,3,4,4,5,5,6,6,7,8,8,9,10,11,13,14,15,17,19,21,23,25,28,30,34,37,41,45,49,54,60,66,72,80,88,97,106,117,129,142,156,171,189,207,228,251,276,304,334,368,405,445,490,539,593,652,717,789,868,955,1051,1156,1271,1399,1538,1692,1862,2048,2253,2478,2726,2999,3298,3628,3991,4390,4830,5313,5844,6428,7071,7778,8556,9412,10353,11388,12527 mov $2,11 pow $2,$0 mov $3,10 pow $3,$0 div $2,$3 mov $0,$2
44.272727
357
0.681725
369d3d2d63375d07ff63722fc8900aa7c56274e1
678
asm
Assembly
oeis/166/A166152.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/166/A166152.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/166/A166152.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A166152: a(n) = (6^n+12*(-7)^n)/13. ; Submitted by Christian Krause ; 1,-6,48,-300,2316,-14916,112188,-738660,5450556,-36474276,265397628,-1797317220,12944017596,-88431340836,632080079868,-4346196394980,30893559749436,-213433808338596,1510963317814908,-10475183268035940,73935642616262076,-513893339873771556,3619190329756778748,-25202710604455184100,177208704454239891516,-1235722549841357623716,8678488136919433067388,-60578835230256453263460,425075336980872642093756,-2969386416651643679159076,20822550569848294647096828,-145536780069217329171778020 mov $1,1 lpb $0 sub $0,1 mul $1,6 mov $2,$3 mul $2,2 sub $2,$1 mul $3,5 add $3,$1 mov $1,$2 lpe mov $0,$1
39.882353
484
0.789086
96d9b8543c678a89e3272c41c6b74becb94ccb2d
178
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___ulonglong2fs_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___ulonglong2fs_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sdcc_iy/___ulonglong2fs_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_clib SECTION code_fp_math48 PUBLIC ___ulonglong2fs_callee EXTERN cm48_sdcciyp_ulonglong2ds_callee defc ___ulonglong2fs_callee = cm48_sdcciyp_ulonglong2ds_callee
17.8
62
0.904494
4aa1c3a90fadfc228a2007ee7f4820eb672a81ce
319
asm
Assembly
oeis/021/A021918.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/021/A021918.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/021/A021918.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A021918: Decimal expansion of 1/914. ; Submitted by Jon Maiga ; 0,0,1,0,9,4,0,9,1,9,0,3,7,1,9,9,1,2,4,7,2,6,4,7,7,0,2,4,0,7,0,0,2,1,8,8,1,8,3,8,0,7,4,3,9,8,2,4,9,4,5,2,9,5,4,0,4,8,1,4,0,0,4,3,7,6,3,6,7,6,1,4,8,7,9,6,4,9,8,9,0,5,9,0,8,0,9,6,2,8,0,0,8,7,5,2,7,3,5 seq $0,199685 ; a(n) = 5*10^n+1. div $0,457 mod $0,10
39.875
199
0.554859
94d8c031eb77239aa56dd61ad9107d3ad67f1859
1,296
asm
Assembly
libsrc/_DEVELOPMENT/target/rc2014/device/acia/z80/__acia_data_Rx.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/target/rc2014/device/acia/__acia_data_Rx.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/target/rc2014/device/acia/__acia_data_Rx.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
INCLUDE "config_private.inc" SECTION data_driver PUBLIC aciaRxCount, aciaRxIn, aciaRxOut, aciaRxLock aciaRxCount: defb 0 ; Space for Rx Buffer Management aciaRxIn: defw aciaRxBuffer ; pointer to buffer aciaRxOut: defw aciaRxBuffer ; pointer to buffer aciaRxLock: defb 0 ; lock flag for Rx exclusion IF __IO_ACIA_RX_SIZE = 256 SECTION data_align_256 ALIGN 256 ENDIF IF __IO_ACIA_RX_SIZE = 128 SECTION data_align_128 ALIGN 128 ENDIF IF __IO_ACIA_RX_SIZE = 64 SECTION data_align_64 ALIGN 64 ENDIF IF __IO_ACIA_RX_SIZE = 32 SECTION data_align_32 ALIGN 32 ENDIF IF __IO_ACIA_RX_SIZE = 16 SECTION data_align_16 ALIGN 16 ENDIF IF __IO_ACIA_RX_SIZE = 8 SECTION data_align_8 ALIGN 8 ENDIF IF __IO_ACIA_RX_SIZE%8 != 0 ERROR "__IO_ACIA_RX_SIZE not 2^n" ENDIF PUBLIC aciaRxBuffer aciaRxBuffer: defs __IO_ACIA_RX_SIZE ; Space for the Rx Buffer ; pad to next boundary IF __IO_ACIA_RX_SIZE = 256 ALIGN 256 ENDIF IF __IO_ACIA_RX_SIZE = 128 ALIGN 128 ENDIF IF __IO_ACIA_RX_SIZE = 64 ALIGN 64 ENDIF IF __IO_ACIA_RX_SIZE = 32 ALIGN 32 ENDIF IF __IO_ACIA_RX_SIZE = 16 ALIGN 16 ENDIF IF __IO_ACIA_RX_SIZE = 8 ALIGN 8 ENDIF
19.938462
73
0.698302
bace4c08de414a54c3b6f267d5c66035574b1028
1,413
asm
Assembly
programs/oeis/277/A277644.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/277/A277644.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/277/A277644.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A277644: Beatty sequence for sqrt(6)/2. ; 1,2,3,4,6,7,8,9,11,12,13,14,15,17,18,19,20,22,23,24,25,26,28,29,30,31,33,34,35,36,37,39,40,41,42,44,45,46,47,48,50,51,52,53,55,56,57,58,60,61,62,63,64,66,67,68,69,71,72,73,74,75,77,78,79,80,82,83,84,85,86,88,89,90,91,93,94,95,96,97,99,100,101,102,104,105,106,107,109,110,111,112,113,115,116,117,118,120,121,122,123,124,126,127,128,129,131,132,133,134,135,137,138,139,140,142,143,144,145,146,148,149,150,151,153,154,155,156,157,159,160,161,162,164,165,166,167,169,170,171,172,173,175,176,177,178,180,181,182,183,184,186,187,188,189,191,192,193,194,195,197,198,199,200,202,203,204,205,206,208,209,210,211,213,214,215,216,218,219,220,221,222,224,225,226,227,229,230,231,232,233,235,236,237,238,240,241,242,243,244,246,247,248,249,251,252,253,254,255,257,258,259,260,262,263,264,265,266,268,269,270,271,273,274,275,276,278,279,280,281,282,284,285,286,287,289,290,291,292,293,295,296,297,298,300,301,302,303,304,306 mov $4,$0 add $4,1 mov $9,$0 lpb $4,1 mov $0,$9 sub $4,1 sub $0,$4 mov $5,$0 mov $7,2 lpb $7,1 mov $0,$5 sub $7,1 add $0,$7 sub $0,1 mov $3,$0 mov $0,0 add $0,$3 add $0,1 mul $0,20 div $0,89 mov $2,4 mul $2,$0 mov $8,$7 mov $10,$2 lpb $8,1 mov $6,$10 sub $8,1 lpe lpe lpb $5,1 mov $5,0 sub $6,$10 lpe mov $10,$6 div $10,4 add $10,1 add $1,$10 lpe
33.642857
912
0.624204
3c431443be4e267537f59a0903bce44a26b83fc8
4,352
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_566_342.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_566_342.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_566_342.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 %r15 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x3250, %r9 nop nop dec %r15 mov (%r9), %rdi nop nop xor $6929, %rdx lea addresses_A_ht+0x195f8, %rax nop nop nop xor %rcx, %rcx mov (%rax), %r9d nop nop nop cmp %rdi, %rdi lea addresses_UC_ht+0x1ebf8, %rcx nop nop nop nop nop inc %r11 mov $0x6162636465666768, %rdi movq %rdi, %xmm2 movups %xmm2, (%rcx) nop nop nop nop nop sub %r11, %r11 lea addresses_normal_ht+0x1c238, %rcx nop and %r15, %r15 movups (%rcx), %xmm0 vpextrq $1, %xmm0, %r11 nop nop nop nop nop add $10608, %rax lea addresses_A_ht+0x17f8, %rdx nop add $50914, %rax movl $0x61626364, (%rdx) nop nop nop xor $23242, %r9 lea addresses_WC_ht+0x2658, %rsi lea addresses_WT_ht+0xd278, %rdi clflush (%rdi) nop nop inc %rdx mov $24, %rcx rep movsq add %r15, %r15 lea addresses_WC_ht+0x116f8, %rcx clflush (%rcx) nop nop nop nop nop cmp $31899, %rax mov $0x6162636465666768, %rdx movq %rdx, %xmm3 vmovups %ymm3, (%rcx) nop nop nop add %rdi, %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r9 pop %r15 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r9 push %rbx push %rdi // Faulty Load mov $0x19d09c00000001f8, %rbx nop nop nop nop and $33376, %rdi mov (%rbx), %r10d lea oracles, %r9 and $0xff, %r10 shlq $12, %r10 mov (%r9,%r10,1), %r10 pop %rdi pop %rbx pop %r9 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'00': 566} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
30.647887
1,697
0.656939
c0ca106ef72184b992f4ff614feb2454b43fa89d
2,481
asm
Assembly
KEK/Source/Windows-amd64/Window.asm
MarcasRealAccount/VulkanInAssemblyWHYYYYY
6033f60c3803f63dc1b02e82205c374148be89dd
[ "MIT" ]
3
2022-01-17T22:59:47.000Z
2022-01-29T15:56:13.000Z
KEK/Source/Windows-amd64/Window.asm
MarcasRealAccount/VulkanInAssemblyWHYYYYY
6033f60c3803f63dc1b02e82205c374148be89dd
[ "MIT" ]
null
null
null
KEK/Source/Windows-amd64/Window.asm
MarcasRealAccount/VulkanInAssemblyWHYYYYY
6033f60c3803f63dc1b02e82205c374148be89dd
[ "MIT" ]
null
null
null
%include "Common.asminc" %if BUILD_IS_SYSTEM_WINDOWS && BUILD_IS_PLATFORM_AMD64 %include "Windows-amd64/Window.asminc" %include "Windows-amd64/Logger.asminc" %include "Windows-amd64/LibC.asminc" %include "Windows-amd64/GLFW.asminc" extern AppLogger section .rdata GLFWErrorFormat: db "GLFW (%d) => %s", 0 section .data GlobalLabel WindowCount, { dq 0 } section .text StaticLabel GLFWErrorCallback ; ecx => errorCode, rdx => message mov r8, rcx mov r9, rdx lea rcx, [AppLogger] lea rdx, [GLFWErrorFormat] jmp LoggerLogError GlobalLabel WindowAlloc mov rcx, Window_size jmp malloc GlobalLabel WindowFree ; rcx => window jmp free GlobalLabel WindowCtor ; rcx => window, edx => width, r8d => height, r9 => title mov dword[rcx + Window.width], edx mov dword[rcx + Window.height], r8d mov qword[rcx + Window.title], r9 mov qword[rcx + Window.windowPtr], 0 ret GlobalLabel WindowDtor ; rcx => window cmp qword[rcx + Window.windowPtr], 0 je .exit jmp WindowDestroy .exit: ret GlobalLabel WindowCreate ; rcx => window cmp qword[rcx + Window.windowPtr], 0 je .continue ret .continue: mov [rsp + 8h], rcx sub rsp, 28h cmp qword[WindowCount], 0 jne .skipInit lea rcx, [GLFWErrorCallback] call glfwSetErrorCallback call glfwInit cmp rax, 0 je .exit .skipInit: call glfwDefaultWindowHints mov ecx, 22001h mov edx, 0 call glfwWindowHint mov ecx, 20003h mov edx, 1 call glfwWindowHint mov rax, [rsp + 28h + 8h] mov ecx, [rax + Window.width] mov edx, [rax + Window.height] mov r8, [rax + Window.title] mov r9, 0 mov qword[rsp + 20h], 0 call glfwCreateWindow cmp rax, 0 je .exit mov rcx, [rsp + 28h + 8h] mov [rcx + Window.windowPtr], rax add qword[WindowCount], 1 .exit: add rsp, 28h ret GlobalLabel WindowDestroy ; rcx => window cmp qword[rcx + Window.windowPtr], 0 jne .continue ret .continue: mov [rsp + 8h], rcx sub rsp, 28h mov rcx, [rcx + Window.windowPtr] call glfwDestroyWindow mov rcx, [rsp + 28h + 8h] mov qword[rcx + Window.windowPtr], 0 sub qword[WindowCount], 1 cmp qword[WindowCount], 0 jne .exit call glfwTerminate .exit: add rsp, 28h ret GlobalLabel WindowGetNative ; rcx => window mov rax, [rcx + Window.windowPtr] ret GlobalLabel WindowShouldClose ; rcx => window mov rcx, [rcx + Window.windowPtr] jmp glfwWindowShouldClose GlobalLabel WindowsUpdate jmp glfwPollEvents %endif
19.690476
81
0.688432
cd65597dcb10226c9bcf68fd9f06b90d0fb80cba
1,919
asm
Assembly
libsrc/input/excali64/in_keytranstbl.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/input/excali64/in_keytranstbl.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/input/excali64/in_keytranstbl.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; This table translates key presses into ascii codes. ; Also used by 'GetKey' and 'LookupKey'. An effort has been made for ; this key translation table to emulate a PC keyboard with the 'CTRL' key SECTION rodata_clib PUBLIC in_keytranstbl .in_keytranstbl ;Unshifted defb 'r', 'w', 255, 'e','\t', 6, 'a', 'q' ;r w SHIFT e TAB CAPS a q defb 130, 129, 131, ' ', 255, 255, 128, 255 ;f3 f2 f4 SPACE CTRL UN F1 UN defb '.', 'm', '/', ',', 'b', 255, 'n', 255 ;. m / m b UN n UN defb '\'', 'l', 13, ';', 'j', 'g', 'k', 'h' ; ' l RET ; j g k h defb '4', '2', '5', '3', 127, 27, '1', 255 ; 4 2 5 3 DEL ESC 1 INSERT defb '[', 'o', ']', 'p', 'u', 't', 'i', 'y' ; [ o ] p u t i y defb 'f', 'x', 'v', 'c', 'd', 's', 'z', 255 ; f x v c d s z UN defb '=', '0', 12, '-', '8', '6', '9', '7' ; = 0 BKSP - 8 6 9 7 ;Shifted defb 'R', 'W', 255, 'E','\t', 6, 'A', 'Q' ;r w SHIFT e TAB CAPS a q defb 130, 129, 131, ' ', 255, 255, 128, 255 ;f3 f2 f4 SPACE CTRL UN F1 UN defb '>', 'M', '?', '<', 'B', 255, 'N', 255 ;. m / m b UN n UN defb '\"', 'L', 13, ':', 'J', 'G', 'K', 'H' ; ' l RET ; j g k h defb '$', '@', '%', '#', 127, 27, '!', 255 ; 4 2 5 3 DEL ESC 1 INSERT defb '{', 'O', '}', 'P', 'U', 'T', 'I', 'Y' ; [ o ] p u t i y defb 'F', 'X', 'V', 'C', 'D', 'S', 'Z', 255 ; f x v c d s z UN defb '+', '0', 127, '_', '*', '^', '(', '&' ; = 0 BKSP - 8 6 9 7 ;Control defb 18, 23, 255, 5, '\t', 6, 1, 17 ;r w SHIFT e TAB CAPS a q defb 130, 129, 131, ' ', 255, 255, 128, 255 ;f3 f2 f4 SPACE CTRL UN F1 UN defb '.', 13, '/', ',', 2, 255, 14, 255 ;. m / m b UN n UN defb '\'', 12, 13, ';', 10, 7, 11, 8 ; ' l RET ; j g k h defb '4', '2', '5', '3', 127, 27, '1', 255 ; 4 2 5 3 DEL ESC 1 INSERT defb '[', 15, ']', 16, 21, 20, 9, 25 ; [ o ] p u t i y defb 6, 24, 22, 3, 4, 19, 26, 255 ; f x v c d s z UN defb '=', '0', 12, '-', '8', '6', '9', '7' ; = 0 BKSP - 8 6 9 7
47.975
74
0.450756
df8274c70d8590ab38b3a35d3f8b77c6649ebf63
236
asm
Assembly
programs/oeis/037/A037953.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/037/A037953.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/037/A037953.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A037953: C(n,[ (n-5)/2 ]). ; 0,0,0,0,0,1,1,7,8,36,45,165,220,715,1001,3003,4368,12376,18564,50388,77520,203490,319770,817190,1307504,3268760,5311735,13037895,21474180,51895935,86493225,206253075 mov $1,$0 div $0,2 add $0,3 bin $1,$0
29.5
167
0.70339
24e8bf3f57e41ed1992f19b820bca2892c890987
618
asm
Assembly
programs/oeis/173/A173196.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/173/A173196.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/173/A173196.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A173196: Partial sums of A002620. ; 0,0,1,3,7,13,22,34,50,70,95,125,161,203,252,308,372,444,525,615,715,825,946,1078,1222,1378,1547,1729,1925,2135,2360,2600,2856,3128,3417,3723,4047,4389,4750,5130,5530,5950,6391,6853,7337,7843,8372,8924,9500,10100,10725,11375,12051,12753,13482,14238,15022,15834,16675,17545,18445,19375,20336,21328,22352,23408,24497,25619,26775,27965,29190,30450,31746,33078,34447,35853,37297,38779,40300,41860,43460,45100,46781,48503,50267,52073,53922,55814,57750,59730,61755,63825,65941,68103,70312,72568,74872,77224,79625,82075 mov $1,$0 add $0,2 add $0,$1 bin $0,2 sub $0,3 mul $0,$1 div $0,24
56.181818
513
0.768608
838d0ea35abb9e30d7627d8c34dc6a39d3a65caa
462
asm
Assembly
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_back.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_back.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_push_back.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void p_forward_list_push_back(p_forward_list_t *list, void *item) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_push_back EXTERN asm_p_forward_list_push_back p_forward_list_push_back: pop af pop de pop hl push hl push de push af jp asm_p_forward_list_push_back ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_push_back defc _p_forward_list_push_back = p_forward_list_push_back ENDIF
15.931034
67
0.807359
06dc4a423341a26d518360829739fecab8b495f2
2,607
asm
Assembly
klc3-manual/examples/zjui_ece220_fa20/mp3/extra.asm
liuzikai/klc3
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
[ "NCSA" ]
null
null
null
klc3-manual/examples/zjui_ece220_fa20/mp3/extra.asm
liuzikai/klc3
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
[ "NCSA" ]
null
null
null
klc3-manual/examples/zjui_ece220_fa20/mp3/extra.asm
liuzikai/klc3
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
[ "NCSA" ]
null
null
null
.ORIG x4800 ; Weekday bit vector ; A bit vector of -1 ends the event list. ; May assume all bit vectors have 0 bits in the high 11 bits. ; May not assume that event bit vectors are non-zero. ; Event name pointer ; May assume valid and unique ASCII strings ; Event slot bit vector ; Can be anything ; Must ignore the meaningless bit (bit 15) ; KLC3: INPUT_FILE ; KLC3: SET_DATA_DEFAULT_FLAG READ_ONLY ; KLC3: COMMENT Extra event input of the test case. ; KLC3: COMMENT Note that this file may contains additional things after the end of extra list. ; KLC3: COMMENT lease carefully identify the end of the extra list. .BLKW #1 ; KLC3: SYMBOLIC as EXTRA1_WEEKDAY_BV ; KLC3: SYMBOLIC EXTRA1_WEEKDAY_BV >= #-1 & EXTRA1_WEEKDAY_BV <= #3 | EXTRA1_WEEKDAY_BV >= x10 & EXTRA1_WEEKDAY_BV <= x13 ; -1 (empty list), b00000 to b00011, b10000 to b10011 .FILL EXTRA1_NAME ; KLC3: INPUT EXTRA1_NAME_PTR .BLKW #1 ; KLC3: SYMBOLIC as EXTRA1_SLOT_BV ; KLC3: SYMBOLIC EXTRA1_SLOT_BV >= #0 & EXTRA1_SLOT_BV <= #3 | EXTRA1_SLOT_BV >= xC000 & EXTRA1_SLOT_BV <= xC003 | EXTRA1_SLOT_BV >= x8000 & EXTRA1_SLOT_BV <= x8003 | EXTRA1_SLOT_BV >= x4000 & EXTRA1_SLOT_BV <= x4003 ; Bit 0, 1, 14 and 15 (should not matter) ; KLC3: SYMBOLIC EXTRA1_WEEKDAY_BV != #0 | EXTRA1_SLOT_BV != #0 ; The case that won't be test .BLKW #1 ; KLC3: SYMBOLIC as EXTRA2_WEEKDAY_BV ; KLC3: SYMBOLIC EXTRA2_WEEKDAY_BV == #-1 | EXTRA2_WEEKDAY_BV == #14 ; -1 (end), b01110 .FILL EXTRA2_NAME ; KLC3: INPUT EXTRA2_NAME_PTR .BLKW #1 ; KLC3: SYMBOLIC as EXTRA2_SLOT_BV ; KLC3: SYMBOLIC EXTRA2_SLOT_BV > #0 & EXTRA2_SLOT_BV <= #3 | EXTRA2_SLOT_BV >= x4000 & EXTRA2_SLOT_BV <= x4003 ; Bit 0, 1 and 14, excluding all 0 case (already tested at EXTRA1) ; EXTRA2_WEEKDAY_BV won't be 0, EXTRA2_SLOT_BV won't be 0 .BLKW #1 ; KLC3: SYMBOLIC as EXTRA3_WEEKDAY_BV ; KLC3: SYMBOLIC EXTRA3_WEEKDAY_BV == #-1 | EXTRA3_WEEKDAY_BV == #24 ; -1 (end), b11000 .FILL EXTRA3_NAME ; KLC3: INPUT EXTRA3_NAME_PTR .FILL #1 ; KLC3: INPUT EXTRA3_SLOT_BV ; Bit 0 .FILL #-1 ; Mark the end of the extra list EXTRA1_NAME .STRINGZ "Z" ; KLC3: INPUT EXTRA1_NAME EXTRA2_NAME .STRINGZ "YYYYYYYYYY" ; KLC3: INPUT EXTRA2_NAME EXTRA3_NAME .STRINGZ "" ; KLC3: INPUT EXTRA3_NAME .END
42.737705
236
0.620253
07ae9da75ccf51a7088ed96923b57dd8afeda904
435
asm
Assembly
oeis/255/A255044.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/255/A255044.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/255/A255044.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A255044: Array A read by upward antidiagonals: A(n,k) = ((2*n+1)*9^k-1)/2, n,k >= 0. ; Submitted by Simon Strandgaard ; 0,1,4,2,13,40,3,22,121,364,4,31,202,1093,3280,5,40,283,1822,9841,29524,6,49,364,2551,16402,88573,265720,7,58,445,3280,22963,147622,797161,2391484,8,67,526,4009,29524,206671,1328602,7174453,21523360 lpb $0 add $1,1 sub $0,$1 lpe sub $1,$0 mul $1,6 add $1,3 lpb $0 sub $0,1 mul $1,9 lpe mov $0,$1 div $0,6
24.166667
199
0.666667
044eae3c500f6b3889050481717add1d22e1574c
626
asm
Assembly
programs/oeis/084/A084558.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/084/A084558.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/084/A084558.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A084558: a(0) = 0; for n >= 1: a(n) = largest m such that n >= m!. ; 0,1,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5 mov $1,2 lpb $0,1 div $0,$1 add $1,1 lpe sub $1,2
62.6
501
0.5
f3cefb84183899f30824075feb00c54f53720155
2,822
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_239_2026.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_0xca_notsx.log_239_2026.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_0xca_notsx.log_239_2026.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x6382, %rsi add %r8, %r8 movb (%rsi), %dl nop nop nop nop xor $33115, %rsi lea addresses_normal_ht+0x1abab, %rdi nop nop nop nop nop xor %rax, %rax movb $0x61, (%rdi) nop nop nop xor %rax, %rax lea addresses_D_ht+0x5ac2, %rbp nop nop and %r13, %r13 movb $0x61, (%rbp) nop nop nop nop nop add %rdi, %rdi lea addresses_WC_ht+0x3ec2, %rsi lea addresses_UC_ht+0x14ab2, %rdi nop nop xor $40846, %r13 mov $84, %rcx rep movsl nop nop nop nop nop cmp %rbp, %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %rax pop %r8 pop %r13 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %r8 push %rbp push %rbx push %rdx // Load mov $0x65dba00000000508, %rdx add $35857, %r10 mov (%rdx), %r15d nop nop nop nop nop xor $24792, %r10 // Faulty Load lea addresses_WT+0xac2, %r8 dec %rbx movups (%r8), %xmm1 vpextrq $1, %xmm1, %r11 lea oracles, %rdx and $0xff, %r11 shlq $12, %r11 mov (%rdx,%r11,1), %r11 pop %rdx pop %rbx pop %rbp pop %r8 pop %r15 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 10, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}} {'39': 239} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
23.714286
716
0.651311
be8e5e349ad9fe9cac893f574e4ebcdafb00a1ef
1,490
asm
Assembly
files/file.asm
urandu/assembly-language
368756ce3e48d825b6e4d8845528955f1c909d85
[ "Apache-2.0" ]
null
null
null
files/file.asm
urandu/assembly-language
368756ce3e48d825b6e4d8845528955f1c909d85
[ "Apache-2.0" ]
null
null
null
files/file.asm
urandu/assembly-language
368756ce3e48d825b6e4d8845528955f1c909d85
[ "Apache-2.0" ]
null
null
null
section .text global _start ;must be declared for using gcc _start: ;tell linker entry point ;create the file mov eax, 8 mov ebx, file_name mov ecx, 0777 ;read, write and execute by all int 0x80 ;call kernel mov [fd_out], eax ; write into the file mov edx,len ;number of bytes mov ecx, msg ;message to write mov ebx, [fd_out] ;file descriptor mov eax,4 ;system call number (sys_write) int 0x80 ;call kernel ; close the file mov eax, 6 mov ebx, [fd_out] ; write the message indicating end of file write mov eax, 4 mov ebx, 1 mov ecx, msg_done mov edx, len_done int 0x80 ;open the file for reading mov eax, 5 mov ebx, file_name mov ecx, 0 ;for read only access mov edx, 0777 ;read, write and execute by all int 0x80 mov [fd_in], eax ;read from file mov eax, 3 mov ebx, [fd_in] mov ecx, info mov edx, 26 int 0x80 ; close the file mov eax, 6 mov ebx, [fd_in] ; print the info mov eax, 4 mov ebx, 1 mov ecx, info mov edx, 26 int 0x80 mov eax,1 ;system call number (sys_exit) int 0x80 ;call kernel section .data file_name db "myfile.txt" msg db 'Welcome to Tutorials Point' len equ $-msg msg_done db 'Written to file', 0xa len_done equ $-msg_done section .bss fd_out resb 1 fd_in resb 1 info resb 26
20.135135
57
0.593289
107ff7fb90ddd9f7f040d941e9794d6a26ae2f55
1,591
asm
Assembly
programs/4bit_and_subroutine.asm
Kostu96/K4004
e9741e9df77de6426303b421bb8514ba6dd911cf
[ "MIT" ]
1
2021-11-18T11:40:38.000Z
2021-11-18T11:40:38.000Z
programs/4bit_and_subroutine.asm
Kostu96/K4004
e9741e9df77de6426303b421bb8514ba6dd911cf
[ "MIT" ]
null
null
null
programs/4bit_and_subroutine.asm
Kostu96/K4004
e9741e9df77de6426303b421bb8514ba6dd911cf
[ "MIT" ]
null
null
null
; four bit "AND" routine on the Intel 4004 ; START FIM P4, 0 ; LOAD ROM PORT 0 ADDRESS SRC P4 ; SEND ROM PORT ADDRESS RDR ; READ INPUT A XCH R0 ; A TO REGISTER 0 INC R8 ; LOAD ROM PORT 1 ADDRESS SRC P4 ; SEND ROM PORT ADDRESS RDR ; READ INPUT B XCH R1 ; B TO REGISTER 1 JMS AND ; EXECUTE "AND" XCH R2 ; LOAD RESULT C WMP ; STORE AT MEMORY PORT 0 JUN START ; RESTART NOP ; "AND" subroutine *=24 AND CLB ; CLEAR ACCUMULATOR AND CARRY XCH R2 ; CLEAR REGISTER 2 LDM 4 ; LOAD LOOP COUNT (LC) AND_3 XCH R0 ; LOAD A, LC TO REGISTER 0 RAR ; ROTATE LEAST SIGNIFICANT BIT TO CARRY XCH R0 ; RETURN ROTATED A TO REG 0, LC TO ACC JCN CZ, ROTR1 ; JUMP TO ROTR1 IF CARRY ZERO XCH R1 ; LOAD B, LC TO ACCUMULATOR RAR ; ROTATE LEAST SIGNIFICANT BIT TO CARRY XCH R1 ; RETURN ROTATED B TO REG 1, LC TO ACC ROTR2 XCH R2 ; LOAD PARTIAL RESULT C, LC TO REG 2 RAR ; ROTATE CARRY INTO PARTIAL RESULT MSB XCH R2 ; LOAD LC, RETURN C TO REGISTER 2 DAC ; DECREMENT THE ACCUMULATOR (LC) JCN ANZ, AND_3 ; LOOP IF LC NON ZERO BBL 0 ; RETURN ROTR1 XCH R1 ; LOAD B, LC TO REGISTER 1 RAR ; ROTATE B XCH R1 ; RETURN ROTATED B TO REG 1, LC TO ACC CLC ; CLEAR CARRY JUN ROTR2 ; RETURN TO LOOP CZ=10 ANZ=12
37
61
0.527341
ee02def8d044c5bfffe4a3ee0d3a91489b671faf
2,045
asm
Assembly
programs/oeis/250/A250655.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/250/A250655.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/250/A250655.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A250655: Number of (n+1) X (7+1) 0..1 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing min(x(i,j),x(i-1,j)) in the j direction. ; 81,169,345,697,1401,2809,5625,11257,22521,45049,90105,180217,360441,720889,1441785,2883577,5767161,11534329,23068665,46137337,92274681,184549369,369098745,738197497,1476395001,2952790009,5905580025,11811160057,23622320121,47244640249,94489280505,188978561017,377957122041,755914244089,1511828488185,3023656976377,6047313952761,12094627905529,24189255811065,48378511622137,96757023244281,193514046488569,387028092977145,774056185954297,1548112371908601,3096224743817209,6192449487634425,12384898975268857,24769797950537721,49539595901075449,99079191802150905,198158383604301817,396316767208603641,792633534417207289,1585267068834414585,3170534137668829177,6341068275337658361,12682136550675316729,25364273101350633465,50728546202701266937,101457092405402533881,202914184810805067769,405828369621610135545,811656739243220271097,1623313478486440542201,3246626956972881084409,6493253913945762168825,12986507827891524337657,25973015655783048675321,51946031311566097350649,103892062623132194701305,207784125246264389402617,415568250492528778805241,831136500985057557610489,1662273001970115115220985,3324546003940230230441977,6649092007880460460883961,13298184015760920921767929,26596368031521841843535865,53192736063043683687071737,106385472126087367374143481,212770944252174734748286969,425541888504349469496573945,851083777008698938993147897,1702167554017397877986295801,3404335108034795755972591609,6808670216069591511945183225,13617340432139183023890366457,27234680864278366047780732921,54469361728556732095561465849,108938723457113464191122931705,217877446914226928382245863417,435754893828453856764491726841,871509787656907713528983453689,1743019575313815427057966907385,3486039150627630854115933814777,6972078301255261708231867629561,13944156602510523416463735259129,27888313205021046832927470518265,55776626410042093665854941036537 mov $1,2 pow $1,$0 mul $1,88 sub $1,7 mov $0,$1
227.222222
1,835
0.913447
66a13c6d03f5b5dfac513fd273e2a0347d42e4a3
75
asm
Assembly
Tests/yasm-regression/fwdequ64.asm
13xforever/x86-assembly-textmate-bundle
f1bb62f77b776d87d0fd85b0276d4237ff72c43c
[ "MIT" ]
69
2015-04-16T18:01:22.000Z
2022-02-15T07:54:26.000Z
Tests/yasm-regression/fwdequ64.asm
javiercbk/x86-assembly-textmate-bundle
62d700e0196f62ef4353a9b95c2e64beb0a6afda
[ "MIT" ]
17
2016-09-20T08:49:09.000Z
2021-02-19T15:01:04.000Z
Tests/yasm-regression/fwdequ64.asm
javiercbk/x86-assembly-textmate-bundle
62d700e0196f62ef4353a9b95c2e64beb0a6afda
[ "MIT" ]
19
2016-05-31T07:11:14.000Z
2021-07-19T10:17:12.000Z
[bits 64] l1: inc dword [l2] ; out: ff 04 25 04 00 00 00 l2 equ 4-(l1-$$)
15
43
0.573333
5011ee34dc6a66f30279051447dafc245e61c32b
982
asm
Assembly
test/test.fs.stat.asm
richRemer/atlatl
169c0c9c29d277dc1295e6c37b0963af6e02741a
[ "MIT" ]
null
null
null
test/test.fs.stat.asm
richRemer/atlatl
169c0c9c29d277dc1295e6c37b0963af6e02741a
[ "MIT" ]
null
null
null
test/test.fs.stat.asm
richRemer/atlatl
169c0c9c29d277dc1295e6c37b0963af6e02741a
[ "MIT" ]
null
null
null
global test_case extern fs.stat extern sys.error %include "fs.inc" section .text test_case: lea rax, [test_path] ; test filesystem path call fs.stat ; get file stats mov rbx, rax ; stat result mov rax, [rbx+Stat.dev_id] ; device cmp rax, 0 ; test value jz .error ; should be non-zero mov rax, [rbx+Stat.inode] ; inode cmp rax, 0 ; test value jz .error ; should be non-zero mov rax, [rbx+Stat.nlinks] ; nlinks cmp rax, 0 ; test value jz .error ; should be non-zero mov rax, [rbx+Stat.mode] ; mode and rax, 0x124 ; read bits jz .error ; file statted; must be readable ret .error: mov rax, -1 call sys.error section .data test_path: db "/tmp", 0x0
25.179487
68
0.46945
502bdda0354f08a3452eae80001d1c6af0501f5d
8,322
asm
Assembly
home/pokemon.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
1
2022-02-15T00:19:44.000Z
2022-02-15T00:19:44.000Z
home/pokemon.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
home/pokemon.asm
opiter09/ASM-Machina
75d8e457b3e82cc7a99b8e70ada643ab02863ada
[ "CC0-1.0" ]
null
null
null
DrawHPBar:: ; Draw an HP bar d tiles long, and fill it to e pixels. ; If c is nonzero, show at least a sliver regardless. ; The right end of the bar changes with [wHPBarType]. push hl push de push bc ; Left ld a, $71 ; "HP:" ld [hli], a ld a, $62 ld [hli], a push hl ; Middle ld a, $63 ; empty .draw ld [hli], a dec d jr nz, .draw ; Right ld a, [wHPBarType] dec a ld a, $6d ; status screen and battle jr z, .ok dec a ; pokemon menu .ok ld [hl], a pop hl ld a, e and a jr nz, .fill ; If c is nonzero, draw a pixel anyway. ld a, c and a jr z, .done ld e, 1 .fill ld a, e sub 8 jr c, .partial ld e, a ld a, $6b ; full ld [hli], a ld a, e and a jr z, .done jr .fill .partial ; Fill remaining pixels at the end if necessary. ld a, $63 ; empty add e ld [hl], a .done pop bc pop de pop hl ret ; loads pokemon data from one of multiple sources to wLoadedMon ; loads base stats to wMonHeader ; INPUT: ; [wWhichPokemon] = index of pokemon within party/box ; [wMonDataLocation] = source ; 00: player's party ; 01: enemy's party ; 02: current box ; 03: daycare ; OUTPUT: ; [wcf91] = pokemon ID ; wLoadedMon = base address of pokemon data ; wMonHeader = base address of base stats LoadMonData:: jpfar LoadMonData_ OverwritewMoves:: ; Write c to [wMoves + b]. Unused. ld hl, wMoves ld e, b ld d, 0 add hl, de ld a, c ld [hl], a ret LoadFlippedFrontSpriteByMonIndex:: ld a, 1 ld [wSpriteFlipped], a LoadFrontSpriteByMonIndex:: push hl ld a, [wd11e] push af ld a, [wcf91] ld [wd11e], a predef IndexToPokedex ld hl, wd11e ld a, [hl] pop bc ld [hl], b and a pop hl ;jr z, .invalidDexNumber ; dex #0 invalid ;cp NUM_POKEMON + 1 ;jr c, .validDexNumber ; dex >#151 invalid jp .validDexNumber .invalidDexNumber ld a, RHYDON ; $1 ld [wcf91], a ret .validDexNumber push hl ld de, vFrontPic call LoadMonFrontSprite pop hl ldh a, [hLoadedROMBank] push af ld a, BANK(CopyUncompressedPicToHL) ldh [hLoadedROMBank], a ld [MBC1RomBank], a xor a ldh [hStartTileID], a call CopyUncompressedPicToHL xor a ld [wSpriteFlipped], a pop af ldh [hLoadedROMBank], a ld [MBC1RomBank], a ret PlayCry:: ; Play monster a's cry. call GetCryData call PlaySound jp WaitForSoundToFinish GetCryData:: ; Load cry data for monster a. dec a ld c, a ld b, 0 ld hl, CryData add hl, bc add hl, bc add hl, bc ld a, BANK(CryData) call BankswitchHome ld a, [hli] ld b, a ; cry id ld a, [hli] ld [wFrequencyModifier], a ld a, [hl] ld [wTempoModifier], a call BankswitchBack ; Cry headers have 3 channels, ; and start from index CRY_SFX_START, ; so add 3 times the cry id. ld a, b ld c, CRY_SFX_START rlca ; * 2 add b add c ret DisplayPartyMenu:: ldh a, [hTileAnimations] push af xor a ldh [hTileAnimations], a call GBPalWhiteOutWithDelay3 call ClearSprites call PartyMenuInit call DrawPartyMenu jp HandlePartyMenuInput GoBackToPartyMenu:: ldh a, [hTileAnimations] push af xor a ldh [hTileAnimations], a call PartyMenuInit call RedrawPartyMenu jp HandlePartyMenuInput PartyMenuInit:: ld a, 1 ; hardcoded bank call BankswitchHome call LoadHpBarAndStatusTilePatterns ld hl, wd730 set 6, [hl] ; turn off letter printing delay xor a ; PLAYER_PARTY_DATA ld [wMonDataLocation], a ld [wMenuWatchMovingOutOfBounds], a ld hl, wTopMenuItemY inc a ld [hli], a ; top menu item Y xor a ld [hli], a ; top menu item X ld a, [wPartyAndBillsPCSavedMenuItem] push af ld [hli], a ; current menu item ID inc hl ld a, [wPartyCount] and a ; are there more than 0 pokemon in the party? jr z, .storeMaxMenuItemID dec a ; if party is not empty, the max menu item ID is ([wPartyCount] - 1) ; otherwise, it is 0 .storeMaxMenuItemID ld [hli], a ; max menu item ID ld a, [wForcePlayerToChooseMon] and a ld a, A_BUTTON | B_BUTTON jr z, .next xor a ld [wForcePlayerToChooseMon], a inc a ; a = A_BUTTON .next ld [hli], a ; menu watched keys pop af ld [hl], a ; old menu item ID ret HandlePartyMenuInput:: ld a, 1 ld [wMenuWrappingEnabled], a ld a, $40 ld [wPartyMenuAnimMonEnabled], a call HandleMenuInput_ call PlaceUnfilledArrowMenuCursor ld b, a xor a ld [wPartyMenuAnimMonEnabled], a ld a, [wCurrentMenuItem] ld [wPartyAndBillsPCSavedMenuItem], a ld hl, wd730 res 6, [hl] ; turn on letter printing delay ld a, [wMenuItemToSwap] and a jp nz, .swappingPokemon pop af ldh [hTileAnimations], a bit 1, b jr nz, .noPokemonChosen ld a, [wPartyCount] and a jr z, .noPokemonChosen ld a, [wCurrentMenuItem] ld [wWhichPokemon], a ld hl, wPartySpecies ld b, 0 ld c, a add hl, bc ld a, [hl] ld [wcf91], a ld [wBattleMonSpecies2], a call BankswitchBack and a ret .noPokemonChosen call BankswitchBack scf ret .swappingPokemon bit 1, b ; was the B button pressed? jr z, .handleSwap ; if not, handle swapping the pokemon .cancelSwap ; if the B button was pressed farcall ErasePartyMenuCursors xor a ld [wMenuItemToSwap], a ld [wPartyMenuTypeOrMessageID], a call RedrawPartyMenu jr HandlePartyMenuInput .handleSwap ld a, [wCurrentMenuItem] ld [wWhichPokemon], a farcall SwitchPartyMon jr HandlePartyMenuInput DrawPartyMenu:: ld hl, DrawPartyMenu_ jr DrawPartyMenuCommon RedrawPartyMenu:: ld hl, RedrawPartyMenu_ DrawPartyMenuCommon:: ld b, BANK(RedrawPartyMenu_) jp Bankswitch ; prints a pokemon's status condition ; INPUT: ; de = address of status condition ; hl = destination address PrintStatusCondition:: push de dec de dec de ; de = address of current HP ld a, [de] ld b, a dec de ld a, [de] or b ; is the pokemon's HP zero? pop de jr nz, PrintStatusConditionNotFainted ; if the pokemon's HP is 0, print "FNT" ld a, "F" ld [hli], a ld a, "N" ld [hli], a ld [hl], "T" and a ret PrintStatusConditionNotFainted:: homecall_sf PrintStatusAilment ret ; function to print pokemon level, leaving off the ":L" if the level is at least 100 ; INPUT: ; hl = destination address ; [wLoadedMonLevel] = level PrintLevel:: ld a, "<LV>" ; ":L" tile ID ld [hli], a ld c, 2 ; number of digits ld a, [wLoadedMonLevel] ; level cp 100 jr c, PrintLevelCommon ; if level at least 100, write over the ":L" tile dec hl inc c ; increment number of digits to 3 jr PrintLevelCommon ; prints the level without leaving off ":L" regardless of level ; INPUT: ; hl = destination address ; [wLoadedMonLevel] = level PrintLevelFull:: ld a, "<LV>" ; ":L" tile ID ld [hli], a ld c, 3 ; number of digits ld a, [wLoadedMonLevel] ; level PrintLevelCommon:: ld [wd11e], a ld de, wd11e ld b, LEFT_ALIGN | 1 ; 1 byte jp PrintNumber GetwMoves:: ; Unused. Returns the move at index a from wMoves in a ld hl, wMoves ld c, a ld b, 0 add hl, bc ld a, [hl] ret ; copies the base stat data of a pokemon to wMonHeader ; INPUT: ; [wd0b5] = pokemon ID GetMonHeader:: ldh a, [hLoadedROMBank] push af ld a, BANK(BaseStats) ldh [hLoadedROMBank], a ld [MBC1RomBank], a push bc push de push hl ld a, [wd11e] push af ld a, [wd0b5] ld [wd11e], a ld de, FossilKabutopsPic ld b, $66 ; size of Kabutops fossil and Ghost sprites cp FOSSIL_KABUTOPS ; Kabutops fossil jr z, .specialID ld de, GhostPic cp MON_GHOST ; Ghost jr z, .specialID ld de, FossilAerodactylPic ld b, $77 ; size of Aerodactyl fossil sprite cp FOSSIL_AERODACTYL ; Aerodactyl fossil jr z, .specialID cp MEW jr z, .mew predef IndexToPokedex ; convert pokemon ID in [wd11e] to pokedex number ld a, [wd11e] dec a ld bc, BASE_DATA_SIZE ld hl, BaseStats call AddNTimes ld de, wMonHeader ld bc, BASE_DATA_SIZE call CopyData jr .done .specialID ld hl, wMonHSpriteDim ld [hl], b ; write sprite dimensions inc hl ld [hl], e ; write front sprite pointer inc hl ld [hl], d jr .done .mew ld hl, MewBaseStats ld de, wMonHeader ld bc, BASE_DATA_SIZE ld a, BANK(MewBaseStats) call FarCopyData .done ld a, [wd0b5] ld [wMonHIndex], a pop af ld [wd11e], a pop hl pop de pop bc pop af ldh [hLoadedROMBank], a ld [MBC1RomBank], a ret ; copy party pokemon's name to wcd6d GetPartyMonName2:: ld a, [wWhichPokemon] ; index within party ld hl, wPartyMonNicks ; this is called more often GetPartyMonName:: push hl push bc call SkipFixedLengthTextEntries ; add NAME_LENGTH to hl, a times ld de, wcd6d push de ld bc, NAME_LENGTH call CopyData pop de pop bc pop hl ret
18.210066
84
0.701754
a36cb6114864f4fc2b5ebd924a0ae7ddec88453b
1,693
asm
Assembly
programs/oeis/087/A087348.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/087/A087348.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/087/A087348.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A087348: a(n) = 10*n^2 - 6*n + 1. ; 5,29,73,137,221,325,449,593,757,941,1145,1369,1613,1877,2161,2465,2789,3133,3497,3881,4285,4709,5153,5617,6101,6605,7129,7673,8237,8821,9425,10049,10693,11357,12041,12745,13469,14213,14977,15761,16565,17389,18233,19097,19981,20885,21809,22753,23717,24701,25705,26729,27773,28837,29921,31025,32149,33293,34457,35641,36845,38069,39313,40577,41861,43165,44489,45833,47197,48581,49985,51409,52853,54317,55801,57305,58829,60373,61937,63521,65125,66749,68393,70057,71741,73445,75169,76913,78677,80461,82265,84089,85933,87797,89681,91585,93509,95453,97417,99401,101405,103429,105473,107537,109621,111725,113849,115993,118157,120341,122545,124769,127013,129277,131561,133865,136189,138533,140897,143281,145685,148109,150553,153017,155501,158005,160529,163073,165637,168221,170825,173449,176093,178757,181441,184145,186869,189613,192377,195161,197965,200789,203633,206497,209381,212285,215209,218153,221117,224101,227105,230129,233173,236237,239321,242425,245549,248693,251857,255041,258245,261469,264713,267977,271261,274565,277889,281233,284597,287981,291385,294809,298253,301717,305201,308705,312229,315773,319337,322921,326525,330149,333793,337457,341141,344845,348569,352313,356077,359861,363665,367489,371333,375197,379081,382985,386909,390853,394817,398801,402805,406829,410873,414937,419021,423125,427249,431393,435557,439741,443945,448169,452413,456677,460961,465265,469589,473933,478297,482681,487085,491509,495953,500417,504901,509405,513929,518473,523037,527621,532225,536849,541493,546157,550841,555545,560269,565013,569777,574561,579365,584189,589033,593897,598781,603685,608609,613553,618517,623501 mov $1,10 mul $1,$0 add $1,14 mul $1,$0 add $1,5
188.111111
1,606
0.825753
00a05b81e3c7c75d1d67ea21903963fef5dc42bc
395
asm
Assembly
programs/oeis/242/A242062.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/242/A242062.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/242/A242062.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A242062: Expansion of x * (1 - x^12) / ((1 - x^3) * (1 - x^4) * (1 - x^7)) in powers of x. ; 0,1,0,0,1,1,0,1,2,1,1,2,2,1,2,3,2,2,3,3,2,3,4,3,3,4,4,3,4,5,4,4,5,5,4,5,6,5,5,6,6,5,6,7,6,6,7,7,6,7,8,7,7,8,8,7,8,9,8,8,9,9,8,9,10,9,9,10,10,9,10,11,10,10,11,11,10,11,12,11,11,12,12,11,12,13,12,12,13,13,12,13,14,13,13,14,14,13,14,15 sub $2,$0 lpb $0 sub $0,1 add $2,4 max $0,$2 sub $0,2 lpe
35.909091
234
0.526582
45d316cb90b00b418b721afdad3d4052f183174e
18,940
asm
Assembly
tests/lab2.asm
Gennadiyev/yet-another-lc3-sim
00e301ea9c8f369798d11b4e5564795c998e7e5e
[ "MIT" ]
null
null
null
tests/lab2.asm
Gennadiyev/yet-another-lc3-sim
00e301ea9c8f369798d11b4e5564795c998e7e5e
[ "MIT" ]
null
null
null
tests/lab2.asm
Gennadiyev/yet-another-lc3-sim
00e301ea9c8f369798d11b4e5564795c998e7e5e
[ "MIT" ]
null
null
null
;10-22 main ; The Calculator, Main Algorithm ; .ORIG x3000 LEA R6,StackBase ; Initialize the Stack. LEA R0,PromptMsg PUTS GETC OUT ; ; Check the command ; Test LD R1,NegX ; Check for X ADD R1,R1,R0 BRz Exit ; LD R1,NegC ; Check for C ADD R1,R1,R0 BRz OpClear ; See Figure 10.27 ; LD R1,NegPlus ; Check for + ADD R1,R1,R0 BRz OpAdd ; See Figure 10.10 ; LD R1,NegMult ; Check for * ADD R1,R1,R0 BRz OpMult ; See Figure 10.14 ; LD R1,NegMinus ; Check for - ADD R1,R1,R0 BRz OpNeg ; See Figure 10.15 ; LD R1,NegD ; Check for D ADD R1,R1,R0 BRz OpDisplay ; See Figure 10.26 ; LD R1,NegMod ;Check for % ADD R1,R1,R0 BRz OpMod ; LD R1,NegXOR ;Check for @ ADD R1,R1,R0 BRz OpXOR ; ; Then we must be entering an integer ; BRnzp PushValue ; See Figure 10.23 ; NewCommand LEA R0,PromptMsg PUTS GETC OUT BRnzp Test Exit HALT PromptMsg .FILL x000A .STRINGZ "Enter a command:" NegX .FILL xFFA8 NegC .FILL xFFBD NegPlus .FILL xFFD5 NegMinus .FILL xFFD3 NegMult .FILL xFFD6 NegD .FILL xFFBC NegMod .FILL xFFDB NegXOR .FILL xFFC0 ;10-10 OpAdd ; ; Routine to pop the top two elements from the stack, ; add them, and push the sum onto the stack. R6 is ; the stack pointer. ; OpAdd JSR POP ; Get first source operand. ADD R5,R5,#0 ; Test if POP was successful. BRp ExitAdd ; Branch if not successful. ADD R1,R0,#0 ; Make room for second operand JSR POP ; Get second source operand. ADD R5,R5,#0 ; Test if POP was successful. BRp RestoreAdd1 ; Not successful, put back first. ADD R0,R0,R1 ; THE Add. JSR RangeCheck ; Check size of result. BRp RestoreAdd2 ; Out of range, restore both. JSR PUSH ; Push sum on the stack. BRnzp ExitAdd ; On to the next task... RestoreAdd2 ADD R6,R6,#-1 ; Decrement stack pointer. RestoreAdd1 ADD R6,R6,#-1 ; Decrement stack pointer. ExitAdd BRnzp NewCommand ;10-10 OpMod OpMod AND R2,R2,#0 JSR POP ; Get first source operand. ADD R5,R5,#0 ; Test if POP was successful. BRp ExitMod ; Branch if not successful. ADD R0,R0,#0 BRn RestoreMod1 ADD R1,R0,#0 ; Make room for second operand JSR POP ; Get second source operand. ADD R5,R5,#0 ; Test if POP was successful. BRp RestoreMod1 ; Not successful, put back first. ADD R0,R0,#0 BRn NegNum ; Add if R0 is negative and minus if R0 is positive NOT R1,R1 ADD R1,R1,#1 ; 2's com of R1 LoopMod ADD R2,R1,R0 BRn EndMod ADD R0,R0,R1 BRnzp LoopMod NegNum ADD R0,R0,R1 BRn NegNum EndMod JSR RangeCheck ; Check size of result. BRp RestoreMod2 ; Out of range, restore both. JSR PUSH ; Push sum on the stack. BRnzp ExitMod ; On to the next task... RestoreMod2 ADD R6,R6,#-1 ; Decrement stack pointer. RestoreMod1 ADD R6,R6,#-1 ; Decrement stack pointer. ExitMod BRnzp NewCommand ;OpXOR OpXOR AND R2,R2,#0 AND R3,R3,#0 JSR POP ; Get first source operand. ADD R5,R5,#0 ; Test if POP was successful. BRp ExitXOR ; Branch if not successful. ADD R1,R0,#0 ; Make room for second operand JSR POP ; Get second source operand. ADD R5,R5,#0 ; Test if POP was successful. BRp RestoreXOR1 ; Not successful, put back first. NOT R2,R0 AND R2,R2,R1 NOT R3,R1 AND R3,R3,R0 NOT R3,R3 NOT R2,R2 AND R2,R3,R2 NOT R0,R2 JSR RangeCheck ; Check size of result. BRp RestoreXOR2 ; Out of range, restore both. JSR PUSH ; Push sum on the stack. BRnzp ExitXOR ; On to the next task... RestoreXOR2 ADD R6,R6,#-1 ; Decrement stack pointer. RestoreXOR1 ADD R6,R6,#-1 ; Decrement stack pointer. ExitXOR BRnzp NewCommand ;10-14 OpMult ; ; Algorithm to pop two values from the stack, multiply them ; and if their product is within the acceptable range, push ; the result on the stack. R6 is stack pointer. ; OpMult AND R3,R3,#0 ; R3 holds sign of multiplier. JSR POP ; Get first source from stack. ADD R5,R5,#0 ; Test for successful POP BRp ExitMult ; Failure ADD R1,R0,#0 ; Make room for next POP JSR POP ; Get second source operand ADD R5,R5,#0 ; Test for successful POP BRp RestoreMult1 ; Failure; restore first POP ADD R2,R0,#0 ; Moves multiplier, tests sign BRzp PosMultiplier ADD R3,R3,#1 ; Sets FLAG: Multiplier is neg NOT R2,R2 ADD R2,R2,#1 ; R2 contains -(multiplier) PosMultiplier AND R0,R0,#0 ; Clear product register ADD R2,R2,#0 BRz PushMult ; Multiplier = 0, Done. ; MultLoop ADD R0,R0,R1 ; THE actual "multiply" ADD R2,R2,#-1 ; Iteration Control BRp MultLoop ; JSR RangeCheck ADD R5,R5,#0 ; R5 contains success/failure BRp RestoreMult2 ADD R3,R3,#0 ; Test for negative multiplier BRz PushMult NOT R0,R0 ; Adjust for ADD R0,R0,#1 ; sign of result PushMult JSR PUSH ; Push product on the stack. BRnzp ExitMult RestoreMult2 ADD R6,R6,#-1 ; Adjust stack pointer. RestoreMult1 ADD R6,R6,#-1 ; Adjust stack pointer. ExitMult BRnzp NewCommand ;10-15 OpNeg ; Algorithm to pop the top of the stack, form its negative, ; and push the result on the stack. ; OpNeg JSR POP ; Get the source operand ADD R5,R5,#0 ; test for successful pop BRp ExitNeg ; Branch if failure NOT R0,R0 ADD R0,R0,#1 ; Form the negative of the source. JSR PUSH ; Push the result on the stack. ExitNeg BRnzp NewCommand ;10-27 OpClear ; This routine clears the stack by resetting the stack pointer (R6). ; OpClear LEA R6,StackBase ; Initialize the Stack. BRnzp NewCommand ;10-26 OpDisplay ; This algorithm calls BinarytoASCII to convert the 2's complement ; number on the top of the stack into an ASCII character string, and ; then calls PUTS to display that number on the screen. OpDisplay JSR POP ; R0 gets the value to be displayed ADD R5,R5,#0 BRp NewCommand ; POP failed, nothing on the stack. JSR BinarytoASCII LD R0,NewlineChar OUT LEA R0,ASCIIBUFF PUTS ADD R6,R6,#-1 ; Push displayed number back on stack BRnzp NewCommand NewlineChar .FILL x000A ;10-24 POP ; This algorithm POPs a value from the stack and puts it in ; R0 before returning to the calling program. R5 is used to ; report success (R5=0) or failure (R5=1) of the POP operation. POP LEA R0,StackBase NOT R0,R0 ADD R0,R0,#1 ; R0 = -addr.ofStackBase ADD R0,R0,R6 ; R6 = StackPointer BRz Underflow LDR R0,R6,#0 ; The actual POP ADD R6,R6,#1 ; Adjust StackPointer AND R5,R5,#0 ; R5 <-- success RET Underflow ST R7,SavePOP ; TRAP/RET needs R7 LEA R0,UnderflowMsg PUTS ; Print error message. LD R7,SavePOP ; Restore R7 AND R5,R5,#0 ADD R5,R5,#1 ; R5 <-- failure RET SavePOP .FILL x0000 StackMax .BLKW 9 StackBase .FILL x9000 UnderflowMsg .FILL x000A .STRINGZ "Error: Too Few Values on the Stack." ;10-23 ASCII to Binary ; This algorithm takes a sequence of ASCII digits typed by the user, ; converts it into a binary value by calling the ASCIItoBinary ; subroutine and pushes the binary value onto the stack. ; PushValue LEA R1,ASCIIBUFF ; R1 points to string being LD R2,MaxDigits ; generated ; ValueLoop ADD R3,R0,xFFF3 ; Test for carriage return BRz GoodInput ADD R2,R2,#0 BRz TooLargeInput ADD R2,R2,#-1 ; Still room for more digits STR R0,R1,#0 ; Store last character read ADD R1,R1,#1 GETC OUT ; Echo it BRnzp ValueLoop ; GoodInput LEA R2,ASCIIBUFF NOT R2,R2 ADD R2,R2,#1 ADD R1,R1,R2 ; R1 now contains no. of char. JSR ASCIItoBinary JSR PUSH BRnzp NewCommand ; TooLargeInput GETC ; Spin until carriage return OUT ADD R3,R0,xFFF6 BRnp TooLargeInput LEA R0,TooManyDigits PUTS BRnzp NewCommand TooManyDigits .FILL x000A .STRINGZ "Too many digits" MaxDigits .FILL x0003 ;10-12 RangeCheck ; ; Routine to check that the magnitude of a value is ; between -999 and +999. ; RangeCheck LD R5,Neg999 ADD R4,R0,R5 ; Recall that R0 contains the BRp BadRange ; result being checked. LD R5,Pos999 ADD R4,R0,R5 BRn BadRange AND R5,R5,#0 ; R5 <-- success RET BadRange ST R7,Save ; R7 is needed by TRAP/RET LEA R0,RangeErrorMsg TRAP x22 ; Output character string LD R7,Save AND R5,R5,#0 ; ADD R5,R5,#1 ; R5 <-- failure RET Neg999 .FILL #-999 Pos999 .FILL #999 Save .FILL x0000 RangeErrorMsg .FILL x000A .STRINGZ "Error: Number is out of range." ;10-19 ASCII to Binary2 ; ; This algorithm takes an ASCII string of three decimal digits and ; converts it into a binary number. R0 is used to collect the result. ; R1 keeps track of how many digits are left to process. ASCIIBUFF ; contains the most significant digit in the ASCII string. ; ASCIItoBinary AND R0,R0,#0 ; R0 will be used for our result ADD R1,R1,#0 ; Test number of digits. BRz DoneAtoB ; There are no digits ; LD R3,NegASCIIOffset ; R3 gets xFFD0, i.e., -x0030 LEA R2,ASCIIBUFF ADD R2,R2,R1 ADD R2,R2,#-1 ; R2 now points to "ones" digit ; LDR R4,R2,#0 ; R4 <-- "ones" digit ADD R4,R4,R3 ; Strip off the ASCII template ADD R0,R0,R4 ; Add ones contribution ; ADD R1,R1,#-1 BRz DoneAtoB ; The original number had one digit ADD R2,R2,#-1 ; R2 now points to "tens" digit ; LDR R4,R2,#0 ; R4 <-- "tens" digit ADD R4,R4,R3 ; Strip off ASCII template LEA R5,LookUp10 ; LookUp10 is BASE of tens values ADD R5,R5,R4 ; R5 points to the right tens value LDR R4,R5,#0 ADD R0,R0,R4 ; Add tens contribution to total ; ADD R1,R1,#-1 BRz DoneAtoB ; The original number had two digits ADD R2,R2,#-1 ; R2 now points to "hundreds" digit ; LDR R4,R2,#0 ; R4 <-- "hundreds" digit ADD R4,R4,R3 ; Strip off ASCII template LEA R5,LookUp100 ; LookUp100 is hundreds BASE ADD R5,R5,R4 ; R5 points to hundreds value LDR R4,R5,#0 ADD R0,R0,R4 ; Add hundreds contribution to total ; DoneAtoB RET NegASCIIOffset .FILL xFFD0 ASCIIBUFF .BLKW 4 LookUp10 .FILL #0 .FILL #10 .FILL #20 .FILL #30 .FILL #40 .FILL #50 .FILL #60 .FILL #70 .FILL #80 .FILL #90 ; LookUp100 .FILL #0 .FILL #100 .FILL #200 .FILL #300 .FILL #400 .FILL #500 .FILL #600 .FILL #700 .FILL #800 .FILL #900 ;10-20 Binary to ASCII ; ; This algorithm takes the 2's complement representation of a signed ; integer, within the range -999 to +999, and converts it into an ASCII ; string consisting of a sign digit, followed by three decimal digits. ; R0 contains the initial value being converted. ; BinarytoASCII LEA R1,ASCIIBUFF ; R1 points to string being generated ADD R0,R0,#0 ; R0 contains the binary value BRn NegSign ; LD R2,ASCIIplus ; First store the ASCII plus sign STR R2,R1,#0 BRnzp Begin100 NegSign LD R2,ASCIIminus ; First store ASCII minus sign STR R2,R1,#0 NOT R0,R0 ; Convert the number to absolute ADD R0,R0,#1 ; value; it is easier to work with. ; Begin100 LD R2,ASCIIoffset ; Prepare for "hundreds" digit ; LD R3,Neg100 ; Determine the hundreds digit Loop100 ADD R0,R0,R3 BRn End100 ADD R2,R2,#1 BRnzp Loop100 ; End100 STR R2,R1,#1 ; Store ASCII code for hundreds digit LD R3,Pos100 ADD R0,R0,R3 ; Correct R0 for one-too-many subtracts ; LD R2,ASCIIoffset ; Prepare for "tens" digit ; Begin10 LD R3,Neg10 ; Determine the tens digit Loop10 ADD R0,R0,R3 BRn End10 ADD R2,R2,#1 BRnzp Loop10 ; End10 STR R2,R1,#2 ; Store ASCII code for tens digit ADD R0,R0,#10 ; Correct R0 for one-too-many subtracts Begin1 LD R2,ASCIIoffset ; Prepare for "ones" digit ADD R2,R2,R0 STR R2,R1,#3 RET ; ASCIIplus .FILL x002B ASCIIminus .FILL x002D ASCIIoffset .FILL x0030 Neg100 .FILL xFF9C Pos100 .FILL x0064 Neg10 .FILL xFFF6 ;10-25 PUSH ; This algorithm PUSHes on the stack the value stored in R0. ; R5 is used to report success (R5=0) or failure (R5=1) of ; the PUSH operation. ; PUSH ST R1,SavePUSH1 ; R1 is needed by this routine LEA R1,StackMax NOT R1,R1 ADD R1,R1,#1 ; R1 = - addr. of StackMax ADD R1,R1,R6 ; R6 = StackPointer BRz Overflow ADD R6,R6,#-1 ; Adjust StackPointer for PUSH STR R0,R6,#0 ; The actual PUSH BRnzp Success_exit Overflow ST R7,SavePUSH2 LEA R0,OverflowMsg PUTS LD R7,SavePUSH2 LD R1, SavePUSH1 ; Restore R1 AND R5,R5,#0 ADD R5,R5,#1 ; R5 <-- failure RET Success_exit LD R1,SavePUSH1 ; Restore R1 AND R5,R5,#0 ; R5 <-- success RET SavePUSH2 .FILL x0000 SavePUSH1 .FILL x0000 OverflowMsg .STRINGZ "Error: Stack is Full." .END
38.653061
89
0.44905
0fe654a2ba1f7b676867bbacfa85c5335e8e981a
379
asm
Assembly
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_pop_front.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_pop_front.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_pop_front.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void *p_forward_list_pop_front(p_forward_list_t *list) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_pop_front EXTERN asm_p_forward_list_pop_front defc p_forward_list_pop_front = asm_p_forward_list_pop_front ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_pop_front defc _p_forward_list_pop_front = p_forward_list_pop_front ENDIF
19.947368
60
0.881266
02516b20754e8b7f560c32c5ba66a0f321df00db
194
asm
Assembly
CSE3030: Assembly Programming/Lecture Notes and Codes From Text/Ch3 - Assembly Language Fundamentals/3.6-02_AddTwoSum_64-02.asm
yoonBot/Sogang-CSE
34a267a0f4debc2082d6ec11e289e4250019fb96
[ "MIT" ]
1
2020-11-05T15:55:48.000Z
2020-11-05T15:55:48.000Z
CSE3030: Assembly Programming/Lecture Notes and Codes From Text/Ch3 - Assembly Language Fundamentals/3.6-02_AddTwoSum_64-02.asm
yoonBot/Sogang-CSE
34a267a0f4debc2082d6ec11e289e4250019fb96
[ "MIT" ]
null
null
null
CSE3030: Assembly Programming/Lecture Notes and Codes From Text/Ch3 - Assembly Language Fundamentals/3.6-02_AddTwoSum_64-02.asm
yoonBot/Sogang-CSE
34a267a0f4debc2082d6ec11e289e4250019fb96
[ "MIT" ]
1
2021-01-13T10:36:51.000Z
2021-01-13T10:36:51.000Z
; AddTwoSum_64.asm - Chapter 3 example. ExitProcess PROTO .data sum QWORD 0 .code main PROC mov rax, 5 add rax, 6 mov sum, rax mov rcx, 0 call ExitProcess main ENDP END
11.411765
40
0.654639
2c213d8b17df30ac62e2b02ec4ca739389905b4d
472
asm
Assembly
libsrc/stdio_new/fd/general/stdio_getfdstruct.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
8
2017-01-18T12:02:17.000Z
2021-06-12T09:40:28.000Z
libsrc/stdio_new/fd/general/stdio_getfdstruct.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
1
2017-03-06T07:41:56.000Z
2017-03-06T07:41:56.000Z
libsrc/stdio_new/fd/general/stdio_getfdstruct.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
3
2017-03-07T03:19:40.000Z
2021-09-15T17:59:19.000Z
; stdio_getfdstruct ; 07.2009 aralbrec PUBLIC stdio_getfdstruct ; return fd struct address given fd table entry ; (see stdio_fdtblentry), validate it by checking ; if non-zero ; ; enter : hl = & stdio_fdtbl[fd] ; exit : ix = fdstruct *, carry reset ; hl = & stdio_fdtbl[fd] + 1 ; carry set if fdstruct is invalid ; uses : af, hl, ix .stdio_getfdstruct ld a,(hl) ld ixl,a inc hl ld a,(hl) ld ixh,a or ixl ret nz scf ret
16.857143
49
0.629237
836122a9be62633ec3294d2af78c5968190f3aa3
279
asm
Assembly
programs/oeis/070/A070435.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/070/A070435.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/070/A070435.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A070435: a(n) = n^2 mod 12, or alternately n^4 mod 12. ; 0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9,4,1,0,1,4,9 pow $0,2 mod $0,12
46.5
201
0.526882
0b3037c2fba11fcf4afc7c6585bb8a93de0b74f4
1,472
asm
Assembly
programs/oeis/069/A069205.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/069/A069205.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/069/A069205.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A069205: a(n) = Sum_{k=1..n} 2^bigomega(k). ; 1,3,5,9,11,15,17,25,29,33,35,43,45,49,53,69,71,79,81,89,93,97,99,115,119,123,131,139,141,149,151,183,187,191,195,211,213,217,221,237,239,247,249,257,265,269,271,303,307,315,319,327,329,345,349,365,369,373,375,391,393,397,405,469,473,481,483,491,495,503,505,537,539,543,551,559,563,571,573,605,621,625,627,643,647,651,655,671,673,689,693,701,705,709,713,777,779,787,795,811,813,821,823,839,847,851,853,885,887,895,899,931,933,941,945,953,961,965,969,1001,1005,1009,1013,1021,1029,1045,1047,1175,1179,1187,1189,1205,1209,1213,1229,1245,1247,1255,1257,1273,1277,1281,1285,1349,1353,1357,1365,1373,1375,1391,1393,1409,1417,1425,1429,1445,1447,1451,1455,1519,1523,1555,1557,1565,1573,1577,1579,1611,1615,1623,1631,1639,1641,1649,1657,1689,1693,1697,1699,1731,1733,1741,1745,1761,1765,1773,1777,1785,1801,1809,1811,1939,1941,1945,1953,1969,1971,1987,1989,2021,2025,2029,2033,2049,2053,2057,2065,2097,2101,2117,2119,2127,2131,2135,2139,2203,2207,2211,2215,2231,2235,2243,2245,2309,2325,2329,2331,2347,2349,2357,2365,2381,2383,2399,2403,2411,2415,2423,2425,2489,2491,2499,2531,2539,2547,2555,2559,2575,2579,2595 mov $27,$0 mov $29,$0 add $29,1 lpb $29 clr $0,27 mov $0,$27 sub $29,1 sub $0,$29 cal $0,61142 ; Replace each prime factor of n with 2: a(n) = 2^bigomega(n), where bigomega = A001222, number of prime factors counted with multiplicity. add $0,7 add $3,$0 mov $1,$3 sub $1,7 add $28,$1 lpe mov $1,$28
73.6
1,105
0.730978
ca30033bac08b262e8d13a543a9b7955f82ee182
4,895
asm
Assembly
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1494.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1494.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1494.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 %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xc187, %rdx sub $19120, %rbx movups (%rdx), %xmm2 vpextrq $1, %xmm2, %r8 add %rdi, %rdi lea addresses_WC_ht+0x1ec97, %rsi lea addresses_A_ht+0x9b69, %rdi and %rbx, %rbx mov $102, %rcx rep movsb nop nop nop nop cmp $18910, %rdx lea addresses_D_ht+0xf2b1, %rdx nop nop nop cmp %rbx, %rbx mov $0x6162636465666768, %rcx movq %rcx, %xmm6 movups %xmm6, (%rdx) nop nop nop cmp %rdx, %rdx lea addresses_WC_ht+0x8ff, %rsi lea addresses_D_ht+0x10e07, %rdi nop nop nop sub $16942, %r10 mov $70, %rcx rep movsw nop nop nop nop cmp $41609, %rbx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r8 pop %r10 ret .global s_faulty_load s_faulty_load: push %r8 push %r9 push %rax push %rdx push %rsi // Faulty Load mov $0x13d73a0000000207, %r9 add %r8, %r8 movb (%r9), %al lea oracles, %rdx and $0xff, %rax shlq $12, %rax mov (%rdx,%rax,1), %rax pop %rsi pop %rdx pop %rax pop %r9 pop %r8 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 4, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_D_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 */
50.989583
2,999
0.661287
e3599e9884fd1a2e7d3e5645bdb2c869ed9c22da
1,286
asm
Assembly
programs/oeis/281/A281482.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/281/A281482.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/281/A281482.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A281482: a(n) = 2^(n + 1) * (2^n + 1) - 1. ; 3,11,39,143,543,2111,8319,33023,131583,525311,2099199,8392703,33562623,134234111,536903679,2147549183,8590065663,34360000511,137439477759,549756862463,2199025352703,8796097216511,35184380477439,140737505132543,562949986975743,2251799880794111,9007199388958719,36028797287399423,144115188612726783,576460753377165311,2305843011361177599,9223372041149743103,36893488156009037823,147573952606856282111,590295810393065390079,2361183241503542083583,9444732965876729380863,37778931863232039616511,151115727452378402652159,604462909808414098980863,2417851639231457372667903,9671406556921431444160511,38685626227676929683619839,154742504910690126548434943,618970019642725321821650943,2475880078570830918542426111,9903520314283182936681349119,39614081257132450271748685823,158456325028529238137041321983,633825300114115826648258445311,2535301200456461054793220095999,10141204801825839715573253013503,40564819207303349855093757313023,162259276829213381405976519770111,649037107316853489595109060116479,2596148429267413886322842202537983,10384593717069655401176180734296063,41538374868278621316474346785472511,166153499473114484689436634838466559,664613997892457937604825034747019263 mov $1,2 pow $1,$0 add $1,1 bin $1,2 mul $1,4 sub $1,1 mov $0,$1
116.909091
1,174
0.905132
d1c59193850fa1cb8f3a0b03c6b376aefe761209
547
asm
Assembly
oeis/331/A331799.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/331/A331799.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/331/A331799.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A331799: Normalized volume of the Caracol flow polytope. Also equal to the number of "unified diagrams" of the Caracol graph (see Section 4.3 and Section 5 in Benedetti et al. reference). ; Submitted by Jon Maiga ; 1,3,32,625,18144,705894,34603008,2051893701,143000000000,11464341673642,1039964049506304,105353940923859082,11793014101010071552,1445828316284179687500,192713711798795989155840,27750747808814680091687085,4293818865468117678192721920 mov $1,1 mov $2,$0 mul $0,2 bin $0,$2 add $2,1 div $0,$2 add $1,$2 sub $2,1 pow $1,$2 mul $0,$1
36.466667
234
0.79159
45053b12085d8d14277958f079548413e71c7553
1,386
asm
Assembly
dist/vale/cpuid-x86_64-msvc.asm
beurdouche/hacl-core
34e39acbbb8c9037e8cadf056317bde36dee4415
[ "Apache-2.0" ]
2
2020-01-19T14:52:24.000Z
2020-05-11T11:03:25.000Z
src/hacl/c89-compatible/cpuid-x86_64-msvc.asm
rot256/everrs
94ccede5a3319613c7b01c2d3df73f25d35e2042
[ "MIT" ]
null
null
null
src/hacl/c89-compatible/cpuid-x86_64-msvc.asm
rot256/everrs
94ccede5a3319613c7b01c2d3df73f25d35e2042
[ "MIT" ]
1
2020-06-29T17:58:27.000Z
2020-06-29T17:58:27.000Z
.code ALIGN 16 check_aesni proc mov r9, rbx mov rcx, 0 mov rax, 1 cpuid mov rax, rcx and rax, 33554432 shr rax, 24 and rcx, 2 and rax, rcx mov rbx, r9 ret check_aesni endp ALIGN 16 check_sha proc mov r9, rbx mov rax, 7 mov rcx, 0 cpuid and rbx, 536870912 mov rax, rbx mov rbx, r9 ret check_sha endp ALIGN 16 check_adx_bmi2 proc mov r9, rbx mov rax, 7 mov rcx, 0 cpuid mov rax, rbx and rax, 524288 shr rax, 11 and rbx, 256 and rax, rbx mov rbx, r9 ret check_adx_bmi2 endp ALIGN 16 check_avx proc mov r9, rbx mov rcx, 0 mov rax, 1 cpuid mov rax, rcx and rax, 268435456 shr rax, 27 mov rbx, r9 ret check_avx endp ALIGN 16 check_avx2 proc mov r9, rbx mov rax, 7 mov rcx, 0 cpuid and rbx, 32 mov rax, rbx mov rbx, r9 ret check_avx2 endp ALIGN 16 check_movbe proc mov r9, rbx mov rcx, 0 mov rax, 1 cpuid mov rax, rcx and rax, 4194304 shr rax, 21 mov rbx, r9 ret check_movbe endp ALIGN 16 check_sse proc mov r9, rbx mov rcx, 0 mov rax, 1 cpuid mov rax, rcx and rax, 524288 and rcx, 512 and rdx, 67108864 shr rax, 10 shr rdx, 17 and rax, rdx and rax, rcx mov rbx, r9 ret check_sse endp ALIGN 16 check_rdrand proc mov r9, rbx mov rcx, 0 mov rax, 1 cpuid mov rax, rcx and rax, 1073741824 shr rax, 29 mov rbx, r9 ret check_rdrand endp end
13.075472
21
0.655844
e307c436e74cba92f5c1e2e6370605738d8e8d96
468
asm
Assembly
data/pokemon/base_stats/hoenn/whiscash.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
null
null
null
data/pokemon/base_stats/hoenn/whiscash.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
null
null
null
data/pokemon/base_stats/hoenn/whiscash.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
null
null
null
db 0 ; 340 DEX NO db 110, 78, 73, 60, 76, 71 ; hp atk def spd sat sdf db WATER, GROUND ; type db 75 ; catch rate db 158 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/hoenn/whiscash/front.dimensions" db 0, 0, 0, 0 ; padding db GROWTH_MEDIUM_FAST ; growth rate dn EGG_WATER_2, EGG_WATER_2 ; egg groups ; tm/hm learnset tmhm ; end
21.272727
53
0.668803
5f3dbf7c994a53694ba934cbd2472b706cb7053e
10,664
asm
Assembly
c/03-bootstrap/03-joypad/build/main.rgbds.asm.tidy.asm
willbr/gameboy-tests
a0d9f68f5a4898067b7993f690d8d4ca6de831c5
[ "MIT" ]
null
null
null
c/03-bootstrap/03-joypad/build/main.rgbds.asm.tidy.asm
willbr/gameboy-tests
a0d9f68f5a4898067b7993f690d8d4ca6de831c5
[ "MIT" ]
null
null
null
c/03-bootstrap/03-joypad/build/main.rgbds.asm.tidy.asm
willbr/gameboy-tests
a0d9f68f5a4898067b7993f690d8d4ca6de831c5
[ "MIT" ]
null
null
null
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.0.0 #11528 (MINGW64) ;-------------------------------------------------------- ; MODULE main .optsdcc -mgbz80 ; Generated using the rgbds tokens. ;-------------------------------------------------------- ; Public variables in this module ;-------------------------------------------------------- ;-------------------------------------------------------- ; special function registers ;-------------------------------------------------------- _p1_joypad = 0x0000 _interrupt_flag = 0x000f _interrupt_enable = 0x00ff _NR52 = 0x0026 _LCDC = 0x0040 _STAT = 0x0041 _SCY = 0x0042 _SCX = 0x0043 _LY = 0x0044 _LYC = 0x0045 _BGP = 0x0047 ;-------------------------------------------------------- ; ram data ;-------------------------------------------------------- SECTION "src\main.c_DATA",BSS _tiles = 0x9000 _bgmap = 0x9800 _joypad: DS 1 _joypad_dpad_state: DS 1 _joypad_btn_state: DS 1 ;-------------------------------------------------------- ; absolute external ram data ;-------------------------------------------------------- SECTION "DABS (ABS)",CODE ;-------------------------------------------------------- ;-------------------------------------------------------- SECTION "HOME",CODE SECTION "GSINIT",CODE SECTION "GSFINAL",CODE SECTION "GSINIT",CODE ;src\main.c:113: u8 joypad = 0; ld hl, _joypad ld [hl], $00 ;src\main.c:114: u8 joypad_dpad_state = 0; ld hl, _joypad_dpad_state ld [hl], $00 ;src\main.c:115: u8 joypad_btn_state = 0; ld hl, _joypad_btn_state ld [hl], $00 ;-------------------------------------------------------- ; Home ;-------------------------------------------------------- SECTION "src\main.c_HOME",HOME SECTION "src\main.c_HOME",HOME ;-------------------------------------------------------- ; code ;-------------------------------------------------------- SECTION "src\main.c_CODE",CODE ;src\main.c:117: void main() { ; --------------------------------- ; Function main ; --------------------------------- _main:: ;src\main.c:119: while (LY < 144) {} /* wait until vblank */ di .l00101: ldh a, (_LY+0) sub a, $90 jr C,.l00101 ei ;src\main.c:121: LCDC = 0; ld a, $00 ldh (_LCDC+0),a ;src\main.c:123: memcpy(&tiles, &font_tiles, sizeof(font_tiles)); ld hl, $0040 push hl ld hl, _font_tiles push hl ld hl, _tiles push hl call ___memcpy add sp, #6 ;src\main.c:126: memset(&bgmap, 0, 360); ld hl, $0168 push hl ld hl, $0000 push hl ld hl, _bgmap push hl call _memset add sp, #6 ;src\main.c:129: BGP = 0b11100100; ld a, $E4 ldh (_BGP+0),a ;src\main.c:131: SCY = 0; ld a, $00 ldh (_SCY+0),a ;src\main.c:132: SCX = 0; ld a, $00 ldh (_SCX+0),a ;src\main.c:134: NR52 = 0; ld a, $00 ldh (_NR52+0),a ;src\main.c:136: LCDC = 0b10000001; ld a, $81 ldh (_LCDC+0),a ;src\main.c:139: __asm__("ei"); ei ;src\main.c:140: interrupt_enable |= IEF_VBLANK; ld hl, _IEF_VBLANK ld c, [hl] ldh a, (_interrupt_enable+0) or a, c ldh (_interrupt_enable+0),a ;src\main.c:142: while(1) { .l00105: ;src\main.c:144: "nop"); halt nop ;src\main.c:152: *(&bgmap + 15) = joypad & 0b00000001 ? 3 : 0; ld hl, _joypad ld a, [hl] rrca jr NC,.l00109 .l00245: ld bc, $0003 jr .l00110 .l00109: ld bc, $0000 .l00110: ld hl, (_bgmap + 0x000f) ld [hl], c ;src\main.c:155: *(&bgmap + 32 + 0) = joypad & 0b00010000 ? 3 : 0; ld hl, _joypad ld a, [hl] bit 4, a jr Z,.l00111 .l00246: ld bc, $0003 jr .l00112 .l00111: ld bc, $0000 .l00112: ld hl, (_bgmap + 0x0020) ld [hl], c ;src\main.c:156: *(&bgmap + 32 + 1) = joypad & 0b00100000 ? 3 : 0; ld hl, _joypad ld a, [hl] bit 5, a jr Z,.l00113 .l00247: ld bc, $0003 jr .l00114 .l00113: ld bc, $0000 .l00114: ld hl, (_bgmap + 0x0021) ld [hl], c ;src\main.c:157: *(&bgmap + 32 + 2) = joypad & 0b01000000 ? 3 : 0; ld hl, _joypad ld a, [hl] bit 6, a jr Z,.l00115 .l00248: ld bc, $0003 jr .l00116 .l00115: ld bc, $0000 .l00116: ld hl, (_bgmap + 0x0022) ld [hl], c ;src\main.c:158: *(&bgmap + 32 + 3) = joypad & 0b10000000 ? 3 : 0; ld hl, _joypad ld a, [hl] rlca jr NC,.l00117 .l00249: ld bc, $0003 jr .l00118 .l00117: ld bc, $0000 .l00118: ld hl, (_bgmap + 0x0023) ld [hl], c ;src\main.c:160: *(&bgmap + 32 + 4) = joypad & 0b00000001 ? 3 : 0; ld hl, _joypad ld a, [hl] rrca jr NC,.l00119 .l00250: ld bc, $0003 jr .l00120 .l00119: ld bc, $0000 .l00120: ld hl, (_bgmap + 0x0024) ld [hl], c ;src\main.c:161: *(&bgmap + 32 + 5) = joypad & 0b00000010 ? 3 : 0; ld hl, _joypad ld a, [hl] bit 1, a jr Z,.l00121 .l00251: ld bc, $0003 jr .l00122 .l00121: ld bc, $0000 .l00122: ld hl, (_bgmap + 0x0025) ld [hl], c ;src\main.c:162: *(&bgmap + 32 + 6) = joypad & 0b00000100 ? 3 : 0; ld hl, _joypad ld a, [hl] bit 2, a jr Z,.l00123 .l00252: ld bc, $0003 jr .l00124 .l00123: ld bc, $0000 .l00124: ld hl, (_bgmap + 0x0026) ld [hl], c ;src\main.c:163: *(&bgmap + 32 + 7) = joypad & 0b00001000 ? 3 : 0; ld hl, _joypad ld a, [hl] bit 3, a jr Z,.l00125 .l00253: ld bc, $0003 jr .l00126 .l00125: ld bc, $0000 .l00126: ld hl, (_bgmap + 0x0027) ld [hl], c ;src\main.c:165: *(&bgmap + 0) = joypad_dpad_state & 0b0001 ? 3 : 0; ld hl, _joypad_dpad_state ld a, [hl] rrca jr NC,.l00127 .l00254: ld bc, $0003 jr .l00128 .l00127: ld bc, $0000 .l00128: ld hl, _bgmap ld [hl], c ;src\main.c:166: *(&bgmap + 1) = joypad_dpad_state & 0b0010 ? 3 : 0; ld hl, _joypad_dpad_state ld a, [hl] bit 1, a jr Z,.l00129 .l00255: ld bc, $0003 jr .l00130 .l00129: ld bc, $0000 .l00130: ld hl, (_bgmap + 0x0001) ld [hl], c ;src\main.c:167: *(&bgmap + 2) = joypad_dpad_state & 0b0100 ? 3 : 0; ld hl, _joypad_dpad_state ld a, [hl] bit 2, a jr Z,.l00131 .l00256: ld bc, $0003 jr .l00132 .l00131: ld bc, $0000 .l00132: ld hl, (_bgmap + 0x0002) ld [hl], c ;src\main.c:168: *(&bgmap + 3) = joypad_dpad_state & 0b1000 ? 3 : 0; ld hl, _joypad_dpad_state ld a, [hl] bit 3, a jr Z,.l00133 .l00257: ld bc, $0003 jr .l00134 .l00133: ld bc, $0000 .l00134: ld hl, (_bgmap + 0x0003) ld [hl], c ;src\main.c:170: *(&bgmap + 4) = joypad_btn_state & 0b0001 ? 3 : 0; ld hl, _joypad_btn_state ld a, [hl] rrca jr NC,.l00135 .l00258: ld bc, $0003 jr .l00136 .l00135: ld bc, $0000 .l00136: ld hl, (_bgmap + 0x0004) ld [hl], c ;src\main.c:171: *(&bgmap + 5) = joypad_btn_state & 0b0010 ? 3 : 0; ld hl, _joypad_btn_state ld a, [hl] bit 1, a jr Z,.l00137 .l00259: ld bc, $0003 jr .l00138 .l00137: ld bc, $0000 .l00138: ld hl, (_bgmap + 0x0005) ld [hl], c ;src\main.c:172: *(&bgmap + 6) = joypad_btn_state & 0b0100 ? 3 : 0; ld hl, _joypad_btn_state ld a, [hl] bit 2, a jr Z,.l00139 .l00260: ld bc, $0003 jr .l00140 .l00139: ld bc, $0000 .l00140: ld hl, (_bgmap + 0x0006) ld [hl], c ;src\main.c:173: *(&bgmap + 7) = joypad_btn_state & 0b1000 ? 3 : 0; ld hl, _joypad_btn_state ld a, [hl] bit 3, a jr Z,.l00141 .l00261: ld bc, $0003 jr .l00142 .l00141: ld bc, $0000 .l00142: ld hl, (_bgmap + 0x0007) ld [hl], c jp .l00105 .l00107: ;src\main.c:175: } ret _IEF_HILO: DB $10 ; 16 _IEF_SERIAL: DB $08 ; 8 _IEF_TIMER: DB $04 ; 4 _IEF_LCDC: DB $02 ; 2 _IEF_VBLANK: DB $01 ; 1 _font_tiles: DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $00 ; 0 DB $01 ; 1 DB $01 ; 1 DB $02 ; 2 DB $02 ; 2 DB $04 ; 4 DB $04 ; 4 DB $08 ; 8 DB $08 ; 8 DB $10 ; 16 DB $10 ; 16 DB $20 ; 32 DB $20 ; 32 DB $40 ; 64 DB $40 ; 64 DB $80 ; 128 DB $80 ; 128 DB $80 ; 128 DB $80 ; 128 DB $40 ; 64 DB $40 ; 64 DB $20 ; 32 DB $20 ; 32 DB $10 ; 16 DB $10 ; 16 DB $08 ; 8 DB $08 ; 8 DB $04 ; 4 DB $04 ; 4 DB $02 ; 2 DB $02 ; 2 DB $01 ; 1 DB $01 ; 1 DB $81 ; 129 DB $81 ; 129 DB $42 ; 66 'B' DB $42 ; 66 'B' DB $24 ; 36 DB $24 ; 36 DB $18 ; 24 DB $18 ; 24 DB $18 ; 24 DB $18 ; 24 DB $24 ; 36 DB $24 ; 36 DB $42 ; 66 'B' DB $42 ; 66 'B' DB $81 ; 129 DB $81 ; 129 ;src\main.c:177: void timer_isr(void) __interrupt ; --------------------------------- ; Function timer_isr ; --------------------------------- _timer_isr:: ei push af push bc push de push hl ;src\main.c:179: __asm__("ld b, b;bgb breakpoint"); ld b, b;bgb breakpoint .l00101: ;src\main.c:180: } pop hl pop de pop bc pop af ret ;src\main.c:182: void vblank_isr(void) __critical __interrupt ; --------------------------------- ; Function vblank_isr ; --------------------------------- _vblank_isr:: push af push bc push de push hl ;src\main.c:184: poll_joypad(); call _poll_joypad .l00101: ;src\main.c:186: } pop hl pop de pop bc pop af reti ;src\main.c:188: void lcd_isr(void) __critical __interrupt ; --------------------------------- ; Function lcd_isr ; --------------------------------- _lcd_isr:: push af push bc push de push hl ;src\main.c:190: __asm__("ld b, b;bgb breakpoint"); ld b, b;bgb breakpoint .l00101: ;src\main.c:191: } pop hl pop de pop bc pop af reti ;src\main.c:193: void serial_isr(void) __critical __interrupt ; --------------------------------- ; Function serial_isr ; --------------------------------- _serial_isr:: push af push bc push de push hl ;src\main.c:195: __asm__("ld b, b;bgb breakpoint"); ld b, b;bgb breakpoint .l00101: ;src\main.c:196: } pop hl pop de pop bc pop af reti ;src\main.c:198: void joypad_isr(void) __critical __interrupt ; --------------------------------- ; Function joypad_isr ; --------------------------------- _joypad_isr:: push af push bc push de push hl ;src\main.c:200: __asm__("ld b, b;bgb breakpoint"); ld b, b;bgb breakpoint .l00101: ;src\main.c:201: } pop hl pop de pop bc pop af reti ;src\main.c:204: void poll_joypad(void) ; --------------------------------- ; Function poll_joypad ; --------------------------------- _poll_joypad:: ;src\main.c:236: ); rP1 = #0xFF00ld a, #0x20 ld (rP1), a ld a, (rP1) ld a, (rP1) ld (_joypad_dpad_state), a ld a, (#0x10) ld (rP1), a ld a, (rP1) ld a, (rP1) ld a, (rP1) ld a, (rP1) ld a, (rP1) ld a, (rP1) ld (_joypad_btn_state), a ld a, (#0x30) ld (rP1), a ;src\main.c:239: joypad_btn_state = (~joypad_btn_state) & 0x0F; ld hl, _joypad_btn_state ld a, [hl] cpl and a, $0F ld [hl], a ;src\main.c:240: joypad_dpad_state = (~joypad_dpad_state) & 0x0F; ld hl, _joypad_dpad_state ld a, [hl] cpl and a, $0F ;src\main.c:242: joypad = (joypad_dpad_state << 4) ^ joypad_btn_state; ld [hl],a swap a and a, $F0 ld hl, _joypad_btn_state xor a, [hl] ld hl, _joypad ld [hl], a .l00101: ;src\main.c:244: } ret SECTION "src\main.c_CODE",CODE SECTION "CABS (ABS)",CODE
18.907801
70
0.537791
348918b12d68dfddaf8cc8f9ae1201780736cb72
272
asm
Assembly
src/test.asm
harkal/picovm
0dfd82db9f6315c9cf7e4bacb6ff7869d28b8243
[ "MIT" ]
14
2020-06-17T17:48:16.000Z
2022-02-11T23:02:28.000Z
src/test.asm
harkal/picovm
0dfd82db9f6315c9cf7e4bacb6ff7869d28b8243
[ "MIT" ]
null
null
null
src/test.asm
harkal/picovm
0dfd82db9f6315c9cf7e4bacb6ff7869d28b8243
[ "MIT" ]
1
2020-11-22T16:05:48.000Z
2020-11-22T16:05:48.000Z
LOAD32 [res] CALL sqr CALLUSER la: LOAD32 1 SUB32 JLT la HLT one: DB 0x04030001 res: DB 0x00000002 sqr: LOAD32 [sfp + 2] DUP32 MUL32 STORE32 [sfp + 2] RET
11.826087
25
0.415441
3cb6e1c594b7d9960f77f3b72b60378dfebc6a45
638
asm
Assembly
tests/data_unsized.asm
clubby789/customasm
c85b2422d933e6266dd817e0ec3cbb9e30b181fa
[ "Apache-2.0" ]
1
2021-01-02T13:38:01.000Z
2021-01-02T13:38:01.000Z
tests/data_unsized.asm
clubby789/customasm
c85b2422d933e6266dd817e0ec3cbb9e30b181fa
[ "Apache-2.0" ]
null
null
null
tests/data_unsized.asm
clubby789/customasm
c85b2422d933e6266dd817e0ec3cbb9e30b181fa
[ "Apache-2.0" ]
null
null
null
; ::: #d 0x00 ; = 0x00 ; ::: #d 0x0000 ; = 0x0000 ; ::: #d 0x12 ; = 0x12 ; ::: #d 0x1234 ; = 0x1234 ; ::: #d 10`16 ; = 0x000a ; ::: #d (0x12 + 0x34)`16 ; = 0x0046 ; ::: #d 0x12, 0x345, 0x6, 0x789a ; = 0x123456789a ; ::: x = 0x1234 #d x, 0x56, x ; = 0x1234561234 ; ::: #d x, 0x56, x ; = 0x1234561234 #d x, 0x56, x ; = 0x1234561234 x = 0x1234 ; ::: #d x ; = 0x55 label: #d16 label`16 ; = 0x0001 x = 0x55 ; ::: #d 10 ; error: infer size ; ::: #d 0x12, 10 ; error: infer size ; ::: #d 0x12 + 0x34 ; error: infer size ; ::: x = 10 #d x ; error: infer size ; ::: #d x ; error: infer size x = 10 ; ::: #d label ; error: infer size label:
13.020408
44
0.517241
8644e4c9f0e593e349b88e682d32b1a6808f248b
605
asm
Assembly
oeis/009/A009120.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/009/A009120.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/009/A009120.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A009120: a(n) = (4n)!/(2n)!. ; 1,12,1680,665280,518918400,670442572800,1295295050649600,3497296636753920000,12576278705767096320000,58102407620643984998400000,335367096786357081410764800000,2365008766537390138108713369600000,20007974164906320568399715106816000000,199999709752403580401723552207732736000000,2331996615713025747484096618742163701760000000,31370018474571622355156067715319586116075520000000,482219923991114978843459072919892677776312893440000000,8400271075925222931453057050264530446863370603724800000000 mul $0,2 mov $1,1 mov $2,$0 lpb $0 sub $0,1 add $2,1 mul $1,$2 lpe mov $0,$1
46.538462
489
0.867769
ae700c7647331c04e3c5dcf05eeb16b95129ea38
735
asm
Assembly
Scripts/game/system/round_manager.asm
1888games/golf
5078fc0699e5f91a53761cc30526b510d49e955c
[ "BSD-2-Clause" ]
1
2022-02-13T16:09:18.000Z
2022-02-13T16:09:18.000Z
Scripts/game/system/round_manager.asm
1888games/golf
5078fc0699e5f91a53761cc30526b510d49e955c
[ "BSD-2-Clause" ]
null
null
null
Scripts/game/system/round_manager.asm
1888games/golf
5078fc0699e5f91a53761cc30526b510d49e955c
[ "BSD-2-Clause" ]
null
null
null
ROUND_MANAGER: { * = * "-Round Manager" Init: { jsr GFX_SETUP.InitColours jsr SCORE_CARDS.ResetAll jsr GOLFER.Init rts } // ******************* // *** SUBROUTINES *** // ******************* //!zone { // round_s_init // jsr gfxs_s_init_colors // jsr sc_s_reset_all // jsr golfer_init2 // jsr sstore_init // jsr players_s_reset // jsr bdrop_s_init // lda #0 // sta round_v_current_player // ldx shared_v_holes // lda round_l_FIRST_HOLE_TO_PLAY,x // sta round_v_current_hole // lda #0 // sta transtn_v_is_active // lda #1 // sta round_v_must_render // jsr msg_s_clear // rts // end sub round_s_init // }
13.867925
39
0.548299
e302a38f3da40f20aac3c98b2423819143f550fd
560
asm
Assembly
programs/oeis/080/A080723.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/080/A080723.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/080/A080723.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A080723: a(0) = 1; for n>0, a(n) is taken to be the smallest positive integer greater than a(n-1) which is consistent with the condition "n is a member of the sequence if and only if a(n) == 1 mod 3". ; 1,4,5,6,7,10,13,16,17,18,19,20,21,22,23,24,25,28,31,34,37,40,43,46,49,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,82,85,88,91,94,97,100,103,106,109,112,115,118,121,124 lpb $0 mov $2,$0 sub $0,1 seq $2,122586 ; Leading digit of n expressed in base 3. add $1,$2 sub $1,1 add $1,$2 lpe add $1,1 mov $0,$1
40
209
0.651786
6bffc6ece1bf965ec8bd919bf9b0e866a174bae5
101
asm
Assembly
tests/sjasmplus_regressions/incbin.asm
cizo2000/sjasmplus
615d7c0e09a44aa2a923095fc9ed6dca6ecae4a4
[ "BSD-3-Clause" ]
220
2016-10-22T19:44:39.000Z
2022-03-29T20:57:04.000Z
tests/sjasmplus_regressions/incbin.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
153
2018-05-07T10:31:23.000Z
2022-03-30T04:35:59.000Z
tests/sjasmplus_regressions/incbin.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
51
2016-05-12T21:27:36.000Z
2022-03-27T15:16:16.000Z
device zxspectrum128 OUTPUT incbin.bin org #8000 INCBIN incbin.asm
14.428571
28
0.554455
f0016f222575450f82c8e2df15d5866291b57413
4,657
asm
Assembly
ModelRender/drawforwards-LL17.asm
ped7g/EliteNext
6e930f9b9924b295d7281ee6acb879600d7e597f
[ "Unlicense" ]
9
2021-09-29T22:08:15.000Z
2022-03-23T05:35:43.000Z
ModelRender/drawforwards-LL17.asm
ped7g/EliteNext
6e930f9b9924b295d7281ee6acb879600d7e597f
[ "Unlicense" ]
1
2022-01-21T12:35:42.000Z
2022-01-21T17:47:24.000Z
ModelRender/drawforwards-LL17.asm
ped7g/EliteNext
6e930f9b9924b295d7281ee6acb879600d7e597f
[ "Unlicense" ]
1
2022-01-15T10:13:49.000Z
2022-01-15T10:13:49.000Z
SetLastFaceVisible: MACRO ld a,$FF ; last normal is always visible ;;; ld (UbnkFaceVisArray+15),a ; XX2+15 ;;; ENDM SetLastFaceVisCall: ld a,$FF ld (UbnkFaceVisArray+15),a ret CheckIfExplodingCall: ; DEBUG TODO turn into MACRO later ; Sets Z flag to true if only some faces are visible ; Clears Z flag if exploding so all faces should be rendered ld a,(UBnKexplDsp) ; INWK+31 ;;; If bit 5 of exploding state is clear ;;DEBUG or $FF ; force bit 5 set so exploding ld (UBnKexplDsp),a ;;DEBUG ld c,a ; save explDsp into c ;;; and $20 ; mask bit5 exploding ;;; ret DrawForwardsIXL: DrawForwards: LL17: ; draw Wireframe (including nodes exploding) ;;; LL17 draw Wireframe ; Copy the three orientation vectors into XX16 LL15: call CopyRotmatToTransMat ; Copy Ship rotation to XX16 ;;; load object position to camera matrix XX16 ::LL91 (ish) ;;;;LL21: call NormaliseTransMat ; Normalise XX16 LL91lc: call LoadCraftToCamera ; Load Ship Coords to XX18 ; ...................................................... ;;; LastNormalAlwaysVisible: call SetLastFaceVisCall ; DEBUG TODO revert back to MACRO later ;;; Set last Normal to visible FF regarless ; HEre original does LDY 12 ; ...................................................... ;;; (Originally loaded faces count here and stored in B, but will remove to simplify code) CheckIfExplodingState: call CheckIfExplodingCall jr z,CullBackFaces ; EE29 no, only Some visible ;;; Goto EE29 - Only some faces visible ; ...................................................... ;;; else ItIsExploding: MakeAllFacesVisible: ;;; Set all faces in XX0 visible call SetAllFacesVisible ; code point EE30 ;;; ld b,0 ; X = 0 ;;; ldWriteZero LastNormalVisible ; XX4 \ visibility ;;; XX4 visibility = 0 LL41: ; visibilities now set in XX2,X Transpose matrix. ;;; jp TransposeMatrix ; LL42 \ jump to transpose matrix and onwards ;;; goto LL42 ; ...................................................... ;;; CullBackFaces: EE29Entry: call CullV2 ;-- All normals' visibilities now set in XX2,X ;;; TransposeMatrix: LL42: ; DO nodeX-Ycoords their comment \ TrnspMat ;;; ...................................................... call InverseXX16 call ProcessNodes ; Loop through and determine visibility based on faces and position DrawResults: call PrepLines ; LL72, process lines and clip call DrawLines ; Need to plot all lines ret
75.112903
233
0.335839
eaf99224bd6cb83a06db72fc1e41b7f6acb2eb6e
1,883
asm
Assembly
programs/oeis/209/A209345.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/209/A209345.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/209/A209345.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A209345: Number of 4-bead necklaces labeled with numbers -n..n allowing reversal, with sum zero with no three beads in a row equal ; 4,15,35,72,128,205,311,448,618,829,1083,1382,1734,2141,2605,3134,3730,4395,5137,5958,6860,7851,8933,10108,11384,12763,14247,15844,17556,19385,21339,23420,25630,27977,30463,33090,35866,38793,41873,45114,48518,52087,55829,59746,63840,68119,72585,77240,82092,87143,92395,97856,103528,109413,115519,121848,128402,135189,142211,149470,156974,164725,172725,180982,189498,198275,207321,216638,226228,236099,246253,256692,267424,278451,289775,301404,313340,325585,338147,351028,364230,377761,391623,405818,420354,435233,450457,466034,481966,498255,514909,531930,549320,567087,585233,603760,622676,641983,661683,681784,702288,723197,744519,766256,788410,810989,833995,857430,881302,905613,930365,955566,981218,1007323,1033889,1060918,1088412,1116379,1144821,1173740,1203144,1233035,1263415,1294292,1325668,1357545,1389931,1422828,1456238,1490169,1524623,1559602,1595114,1631161,1667745,1704874,1742550,1780775,1819557,1858898,1898800,1939271,1980313,2021928,2064124,2106903,2150267,2194224,2238776,2283925,2329679,2376040,2423010,2470597,2518803,2567630,2617086,2667173,2717893,2769254,2821258,2873907,2927209,2981166,3035780,3091059,3147005,3203620,3260912,3318883,3377535,3436876,3496908,3557633,3619059,3681188,3744022,3807569,3871831,3936810,4002514,4068945,4136105,4204002,4272638,4342015,4412141,4483018,4554648,4627039,4700193,4774112,4848804,4924271,5000515,5077544,5155360,5233965,5313367,5393568,5474570,5556381,5639003,5722438,5806694,5891773,5977677,6064414,6151986,6240395 mov $11,$0 mov $13,$0 add $13,1 lpb $13,1 clr $0,11 mov $0,$11 sub $13,1 sub $0,$13 mov $1,$0 add $1,1 add $4,1 mov $5,3 gcd $5,$1 add $9,$0 add $4,$9 mul $1,$4 sub $1,1 mul $1,2 add $1,$4 sub $5,4 sub $1,$5 add $12,$1 lpe mov $1,$12
67.25
1,478
0.795539
8c728c75f7645cd65615ac337557e60f0f16e4cf
6,458
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1309.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_0xca.log_21829_1309.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_0xca.log_21829_1309.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 %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xf11e, %r10 nop nop nop nop nop cmp $4244, %rax mov (%r10), %ebx nop xor $20628, %r10 lea addresses_D_ht+0x1b11e, %r8 nop nop nop nop and %rdx, %rdx vmovups (%r8), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %r9 nop nop nop xor $10560, %rax lea addresses_A_ht+0x681e, %rdx nop nop nop nop sub $41919, %r11 mov $0x6162636465666768, %r8 movq %r8, %xmm0 movups %xmm0, (%rdx) nop nop nop nop dec %r9 lea addresses_D_ht+0x1e91e, %rsi lea addresses_D_ht+0x885e, %rdi clflush (%rdi) nop nop nop nop add $31151, %rbx mov $90, %rcx rep movsb nop nop nop xor %r10, %r10 lea addresses_WT_ht+0x191e, %rsi lea addresses_A_ht+0x1c11e, %rdi nop nop nop nop and %rbx, %rbx mov $21, %rcx rep movsq nop dec %rcx lea addresses_A_ht+0x12c5a, %rsi lea addresses_normal_ht+0x1d91e, %rdi clflush (%rdi) nop nop nop inc %rdx mov $120, %rcx rep movsl nop nop sub $62365, %r9 lea addresses_A_ht+0x1a5be, %rsi lea addresses_A_ht+0x9b1e, %rdi nop nop nop nop nop and %rax, %rax mov $118, %rcx rep movsb nop inc %rcx lea addresses_normal_ht+0x641e, %rsi lea addresses_normal_ht+0x1941e, %rdi nop nop nop xor $53233, %rbx mov $120, %rcx rep movsb nop nop nop xor $3718, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rax pop %r9 pop %r8 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r13 push %r8 push %rax push %rbp push %rdi push %rdx push %rsi // Store lea addresses_normal+0x475a, %r13 nop add %rax, %rax movl $0x51525354, (%r13) nop nop nop nop nop add $36329, %rax // Faulty Load lea addresses_D+0x1c91e, %r8 nop nop nop nop nop xor $55881, %rsi mov (%r8), %edi lea oracles, %rsi and $0xff, %rdi shlq $12, %rdi mov (%rsi,%rdi,1), %rdi pop %rsi pop %rdx pop %rdi pop %rbp pop %rax pop %r8 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': True, 'type': 'addresses_normal', 'same': False, 'AVXalign': True, 'congruent': 2}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 11}} {'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 11}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_A_ht', 'same': True, 'AVXalign': False, 'congruent': 7}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_D_ht', 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 11}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 1}, 'dst': {'same': True, 'type': 'addresses_normal_ht', 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 4}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 8}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 8}} {'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 */
34.72043
2,999
0.662279
e13991f777dbccf6bdd5ea79c5138cd14d641497
584
asm
Assembly
Engine Hacks/ItemEffectRevamp/IERevamp_Core/MasterKey_Usability.asm
sme23/Christmas2
f3f3daeda1afe2b78bfed38cbf60d8bc17ca9f79
[ "CC0-1.0" ]
3
2020-06-15T14:22:38.000Z
2020-06-28T19:44:52.000Z
Wizardry/Necessary/ItemEffectRevamp/IERevamp_Core/MasterKey_Usability.asm
sme23/WhatHeck
746a2be83358aaa4e855182176b47c4808f2587a
[ "CC0-1.0" ]
null
null
null
Wizardry/Necessary/ItemEffectRevamp/IERevamp_Core/MasterKey_Usability.asm
sme23/WhatHeck
746a2be83358aaa4e855182176b47c4808f2587a
[ "CC0-1.0" ]
null
null
null
.thumb @Master Key Usability @r0 holds ram character pointer push {r4,r14} mov r4, r0 ldr r3, ChestCheck @check if on top of a chest tile? bl Jump lsl r0,r0, #0x18 cmp r0, #0x0 bne TrueCase mov r0, r4 ldr r3, DoorCheck @check if next to a door tile? bl Jump lsl r0,r0, #0x18 cmp r0, #0x0 bne TrueCase mov r0, r4 ldr r3, Routine3 bl Jump lsl r0,r0, #0x18 cmp r0, #0x0 bne TrueCase mov r0, #0x0 b PopBack TrueCase: mov r0, #0x1 PopBack: pop {r4} pop {r1} bx r1 Jump: bx r3 .align ChestCheck: .long 0x80290FC | 1 DoorCheck: .long 0x8029138 | 1 Routine3: .long 0x802914C | 1
14.243902
53
0.702055
9fd4c9460eddec04cef077c1b106f5c29bf670c5
742
asm
Assembly
oeis/294/A294810.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/294/A294810.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/294/A294810.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A294810: a(n) = Sum_{d|n} d^(n+2). ; Submitted by Christian Krause, https://github.com/ckrause ; 1,17,244,4161,78126,1686434,40353608,1074791425,31381236757,1000244144722,34522712143932,1283997101947770,51185893014090758,2177986570740006274,98526126098761952664,4722384497336874434561,239072435685151324847154,12748248377717699159262131,714209495693373205673756420,41943050000002401777981254346,2576580875135587039363299964832,165251102494014941587588125703714,11045767571919545466173812409689944,768231818913612055012090462005788650,55511151231257827028632164001464843751 add $0,1 mov $2,$0 lpb $0 mov $3,$2 dif $3,$0 cmp $3,$2 cmp $3,0 mul $3,$0 sub $0,1 mov $4,2 add $4,$2 pow $3,$4 add $1,$3 lpe add $1,1 mov $0,$1
35.333333
477
0.799191
501f33d191dd7fd9e743fed40c832646c33ad853
594
asm
Assembly
programs/oeis/070/A070474.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/070/A070474.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/070/A070474.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A070474: a(n) = n^3 mod 12, n^5 mod 12. ; 0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9,4,11,0,1,8,3,4,5,0,7,8,9 mov $1,$0 pow $1,7 mod $1,12
84.857143
521
0.520202
5cd545a9e5d80bc118acaf8fef8e05764d61aee5
1,077
asm
Assembly
sbsext/ut/cksep.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
sbsext/ut/cksep.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
sbsext/ut/cksep.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
* Check separators V0.5  1984 Tony Tebby QJUMP * * check if parameter is preceded by a given separator * section utils * xdef ut_ckcomma xdef ut_ckto xdef ut_cksemi xdef ut_cksep * include dev8_sbsext_ext_keys include dev8_sbsext_ext_ex_defs * ut_ckcomma moveq #%00010000,d0 check for comma bra.s ut_cksep (hash permitted) ut_ckto moveq #%01010000,d0 check for to bra.s ut_cksep ut_cksemi moveq #%00100000,d0 check for semicolon tst.b 1(a6,a3.l) is it preceded by a #? bmi.s ut_ckbp ... yes ut_cksep cmp.l parm_st+4(sp),a3 ble.s ut_ckbp it is the first parameter, preceded by no sep moveq #%01110000,d1 mask out all but the separator and.b -7(a6,a3.l),d1 ... from previous entry sub.b d1,d0 and set d0 to 0 if equal beq.s ut_ckrts ut_ckbp moveq #err.bp,d0 otherwise err.bp ut_ckrts rts end
29.108108
77
0.566388
a81123e818d599ef39a10f6a3e9f0f23d93b8987
753
asm
Assembly
data/player_names.asm
Trap-Master/spacworld97-thingy
a144827abecacdfec6cdc3baa32098e9290adf70
[ "blessing" ]
null
null
null
data/player_names.asm
Trap-Master/spacworld97-thingy
a144827abecacdfec6cdc3baa32098e9290adf70
[ "blessing" ]
null
null
null
data/player_names.asm
Trap-Master/spacworld97-thingy
a144827abecacdfec6cdc3baa32098e9290adf70
[ "blessing" ]
null
null
null
ChrisNameMenuHeader: db MENU_BACKUP_TILES ; flags menu_coords 0, 0, 10, TEXTBOX_Y - 1 dw .MaleNames db 1 ; ???? db 0 ; default option .MaleNames: db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags db 5 ; items db "New Name@" MalePlayerNameArray: db "Mat@" db "Purple@" db "Allan@" db "Jon@" db 2 ; displacement db " NAME @" ; title KrisNameMenuHeader: db MENU_BACKUP_TILES ; flags menu_coords 0, 0, 10, TEXTBOX_Y - 1 dw .FemaleNames db 1 ; ???? db 0 ; default option .FemaleNames: db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags db 5 ; items db "New Name@" FemalePlayerNameArray: db "Kris@" db "Pink@" db "Amanda@" db "Jodi@" db 2 ; displacement db " Name @" ; title
19.815789
77
0.698539
9b0c44c357dd64124d7aeab4f8c786c7e9f0e7d5
432
asm
Assembly
MP-CSE 4th Sem/8a.asm
MyCollegeForums/4thSemISE
7c8b64c594a081954e2a011e1dcac71638d5f9b5
[ "Apache-2.0" ]
null
null
null
MP-CSE 4th Sem/8a.asm
MyCollegeForums/4thSemISE
7c8b64c594a081954e2a011e1dcac71638d5f9b5
[ "Apache-2.0" ]
1
2018-02-06T10:51:31.000Z
2018-02-06T10:51:31.000Z
MP-CSE 4th Sem/8a.asm
MyCollegeForums/4thSemISE
7c8b64c594a081954e2a011e1dcac71638d5f9b5
[ "Apache-2.0" ]
3
2018-02-06T10:46:32.000Z
2018-04-23T13:41:07.000Z
PRESERVE8 THUMB AREA |.text|,CODE,READONLY EXPORT __main __main MOVS R0,#3 CMP R0,#3 BHI default_case MOVS R2,#4 MUL R0,R2,R0 LDR R1,=BranchTable LDR R2,[R1,R0] BX R2 ALIGN 4 BranchTable DCD Test0 DCD Test1 DCD Test2 DCD Test3 default_case MOVS R0,#1 stop B stop Test0 MOVS R0,#2 stop1 B stop1 Test1 MOVS r0,#3 stop2 B stop2 Test2 MOVS R0,#4 stop3 B stop3 Test3 MOVS R0,#5 stop4 B stop4 END
12
27
0.6875
63d33e4714dd0e8b4854ee863cd34459c46ab310
15,340
asm
Assembly
audio/music/sandgemtown.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
2
2022-02-17T11:11:03.000Z
2022-02-21T03:41:01.000Z
audio/music/sandgemtown.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
audio/music/sandgemtown.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
Music_SandgemTown: channel_count 4 channel 1, Music_SandgemTown_Ch1 channel 2, Music_SandgemTown_Ch2 channel 3, Music_SandgemTown_Ch3 channel 4, Music_SandgemTown_Ch4 Music_SandgemTown_Ch1: volume 10, 10 duty_cycle 2 note_type 12, 10, 6 tempo 82 ;Bar 1 octave 3 volume_envelope 12, 2 note A_, 4 volume_envelope 8, 2 note A_, 4 volume_envelope 12, 2 note F_, 4 volume_envelope 8, 2 note F_, 4 ;Bar 2 volume_envelope 12, 2 note G_, 4 volume_envelope 8, 2 note G_, 4 volume_envelope 12, 2 note F_, 4 volume_envelope 8, 2 note F_, 4 ;Bar 3 volume_envelope 12, 2 note E_, 4 volume_envelope 8, 2 note E_, 4 volume_envelope 12, 2 note C_, 4 volume_envelope 8, 2 note C_, 4 ;Bar 4 volume_envelope 12, 2 note C#, 4 volume_envelope 8, 2 note C#, 4 volume_envelope 12, 2 note D#, 4 volume_envelope 8, 2 note D#, 4 ;Bar 5 .loop octave 3 volume_envelope 15, 1 note B_, 4 volume_envelope 8, 1 note B_, 4 note B_, 4 volume_envelope 15, 1 note G#, 4 ;Bar 6 volume_envelope 8, 1 note G#, 4 note G#, 4 note G#, 4 note G#, 4 ;Bar 7 volume_envelope 15, 1 note G#, 4 volume_envelope 8, 1 note G#, 4 note G#, 4 volume_envelope 15, 1 note G#, 4 ;Bar 8 volume_envelope 8, 1 note G#, 4 volume_envelope 15, 1 note E_, 4 note E_, 4 note G#, 4 ;Bar 9 note A_, 4 volume_envelope 8, 1 note A_, 4 note A_, 4 volume_envelope 15, 1 note F#, 4 ;Bar 10 volume_envelope 8, 1 note F#, 4 note F#, 4 note F#, 4 note F#, 4 ;Bar 11 volume_envelope 12, 4 octave 4 note G#, 4 note F#, 4 note F_, 2 note F#, 2 note C#, 2 octave 3 note A_, 10 ;Bar 12 note A_, 8 ;Bar 13 octave 4 volume_envelope 15, 1 note C#, 4 volume_envelope 8, 1 note C#, 4 note C#, 4 note C#, 4 ;Bar 14 octave 3 volume_envelope 15, 1 note B_, 4 volume_envelope 8, 1 note B_, 4 note B_, 4 note B_, 4 ;Bar 15 volume_envelope 15, 1 note A_, 4 volume_envelope 8, 1 note A_, 4 note A_, 4 note A_, 4 ;Bar 16 volume_envelope 15, 1 note G#, 4 volume_envelope 8, 1 note G#, 4 note G#, 4 note G#, 4 ;Bar 17 volume_envelope 11, 5 note E_, 12 note D_, 12 ;Bar 18 octave 2 note A_, 8 ;Bar 19 note B_, 12 octave 3 note D_, 8 ;Bar 20 octave 2 note B_, 4 octave 3 note G#, 4 note B_, 4 ;Bar 21 volume_envelope 15, 1 note B_, 4 volume_envelope 8, 1 note B_, 4 note B_, 4 volume_envelope 15, 1 note G#, 4 ;Bar 22 volume_envelope 8, 1 note G#, 4 note G#, 4 note G#, 4 note G#, 4 ;Bar 23 volume_envelope 15, 1 note G#, 4 volume_envelope 8, 1 note G#, 4 note G#, 4 volume_envelope 15, 1 note G#, 4 ;Bar 24 volume_envelope 8, 1 note G#, 4 volume_envelope 15, 1 note E_, 4 note E_, 4 note G#, 4 ;Bar 25 note A_, 4 volume_envelope 8, 1 note A_, 4 note A_, 4 volume_envelope 15, 1 note F#, 4 ;Bar 26 volume_envelope 8, 1 note F#, 4 note F#, 4 note F#, 4 note F#, 4 ;Bar 27 volume_envelope 12, 4 octave 4 note G#, 4 note F#, 4 note F_, 2 note F#, 2 note C#, 2 octave 3 note A_, 10 ;Bar 28 note A_, 8 ;Bar 29 octave 4 volume_envelope 15, 1 note C#, 4 volume_envelope 8, 1 note C#, 4 note C#, 4 note C#, 4 ;Bar 30 octave 3 volume_envelope 15, 1 note B_, 4 volume_envelope 8, 1 note B_, 4 note B_, 4 note B_, 4 ;Bar 31 volume_envelope 15, 1 note A_, 4 volume_envelope 8, 1 note A_, 4 note A_, 4 note A_, 4 ;Bar 32 volume_envelope 15, 1 note G#, 4 volume_envelope 8, 1 note G#, 4 note G#, 4 note G#, 4 ;Bar 33 volume_envelope 11, 5 note E_, 12 note D_, 12 ;Bar 34 octave 2 note A_, 8 ;Bar 35 note B_, 12 octave 3 note D_, 8 ;Bar 36 octave 2 note B_, 4 octave 3 note G#, 4 note B_, 4 ;Bar 37 volume_envelope 12, 2 note A_, 4 volume_envelope 10, 2 note A_, 4 volume_envelope 12, 2 note E_, 4 volume_envelope 10, 2 note E_, 4 ;Bar 38 volume_envelope 12, 2 note C_, 4 volume_envelope 10, 2 note C_, 4 octave 4 volume_envelope 12, 2 note C_, 4 volume_envelope 10, 2 note C_, 4 ;Bar 39 octave 3 volume_envelope 12, 2 note B_, 4 volume_envelope 10, 2 note B_, 4 volume_envelope 12, 2 note G#, 4 volume_envelope 10, 2 note G#, 4 ;Bar 40 volume_envelope 12, 2 note D_, 4 volume_envelope 10, 2 note D_, 4 volume_envelope 12, 2 note G#, 4 volume_envelope 10, 2 note G#, 4 ;Bar 41 volume_envelope 12, 2 note E_, 4 volume_envelope 10, 2 note E_, 4 volume_envelope 12, 2 note C#, 4 volume_envelope 10, 2 note C#, 4 ;Bar 42 octave 2 volume_envelope 12, 2 note B_, 4 volume_envelope 10, 2 note B_, 4 octave 4 volume_envelope 12, 2 note D#, 4 volume_envelope 10, 2 note D#, 4 ;Bar 43 octave 3 volume_envelope 12, 2 note B_, 4 volume_envelope 10, 2 note B_, 4 volume_envelope 12, 2 note D#, 4 volume_envelope 10, 2 note D#, 4 ;Bar 44 volume_envelope 12, 2 note B_, 4 volume_envelope 10, 2 note B_, 4 volume_envelope 12, 2 note D_, 4 volume_envelope 10, 2 note D_, 4 ;Bar 45 volume_envelope 12, 2 note A_, 4 volume_envelope 10, 2 note A_, 4 volume_envelope 12, 2 note E_, 4 volume_envelope 10, 2 note E_, 4 ;Bar 46 volume_envelope 12, 2 note C_, 4 volume_envelope 10, 2 note C_, 4 octave 4 volume_envelope 12, 2 note C_, 4 volume_envelope 10, 2 note C_, 4 ;Bar 47 octave 3 volume_envelope 12, 2 note B_, 4 volume_envelope 10, 2 note B_, 4 octave 4 volume_envelope 12, 2 note D_, 4 volume_envelope 10, 2 note D_, 4 ;Bar 48 volume_envelope 12, 2 note C#, 4 volume_envelope 10, 2 note C#, 4 octave 3 volume_envelope 12, 2 note G#, 4 volume_envelope 10, 2 note G#, 4 ;Bar 49 volume_envelope 12, 2 note A_, 4 volume_envelope 10, 2 note A_, 4 volume_envelope 12, 2 note G#, 4 volume_envelope 10, 2 note G#, 4 ;Bar 50 volume_envelope 12, 2 note E_, 4 volume_envelope 10, 2 note E_, 4 volume_envelope 12, 2 note F#, 4 volume_envelope 10, 2 note F#, 4 ;Bar 51 volume_envelope 12, 2 note E_, 4 volume_envelope 10, 2 note E_, 4 volume_envelope 12, 2 note C_, 4 volume_envelope 10, 2 note C_, 4 ;Bar 52 octave 2 volume_envelope 12, 5 note B_, 16 sound_loop 0, .loop Music_SandgemTown_Ch2: volume 7, 7 duty_cycle 2 note_type 12, 10, 7 ;Bar 1 octave 4 volume_envelope 12, 2 note E_, 4 volume_envelope 8, 2 note E_, 4 volume_envelope 12, 2 note C_, 4 volume_envelope 8, 2 note C_, 4 ;Bar 2 volume_envelope 12, 2 note D_, 4 volume_envelope 8, 2 note D_, 4 volume_envelope 12, 2 note C_, 4 volume_envelope 8, 2 note C_, 4 ;Bar 3 octave 3 volume_envelope 12, 2 note B_, 4 volume_envelope 8, 2 note B_, 4 volume_envelope 12, 2 note G_, 4 volume_envelope 8, 2 note G_, 4 ;Bar 4 volume_envelope 12, 2 note A_, 4 volume_envelope 8, 2 note A_, 4 volume_envelope 12, 2 note B_, 4 volume_envelope 8, 2 note B_, 4 ;Bar 5 .loop volume_envelope 13, 5 octave 4 note F_, 1 note F#, 11 note E_, 4 ;Bar 6 note E_, 16 ;Bar 7 note D#, 4 note D#, 8 note E_, 8 ;Bar 8 note C#, 4 note D#, 4 note E_, 4 ;Bar 9 note G#, 12 note A_, 4 ;Bar 10 note C#, 16 ;Bar 11 volume_envelope 12, 4 note B_, 4 note A_, 4 note G#, 2 note A_, 2 note F#, 2 note C#, 10 ;Bar 12 note C#, 8 ;Bar 13 volume_envelope 13, 5 note G_, 1 note G#, 11 note F#, 2 rest 2 ;Bar 14 note F#, 12 note E_, 2 rest 1 note D#, 1 ;Bar 15 note E_, 12 note F#, 2 note E_, 2 ;Bar 16 note D#, 2 rest 2 note C#, 2 rest 2 octave 3 note B_, 2 octave 4 note C#, 6 ;Bar 17 volume_envelope 12, 6 octave 1 note D_, 12 note D_, 8 ;Bar 18 - OCTAVE ERROR START HERE octave 2 note D_, 4 octave 1 note D_, 8 ;Bar 19 octave 1 note B_, 8 octave 1 note B_, 4 note D_, 8 ;Bar 20 octave 2 note D_, 4 octave 1 note D#, 4 octave 2 note D#, 4 ;Bar 21 - OCTAVE ERROR END HERE octave 4 volume_envelope 13, 5 note F_, 1 note F#, 11 note G#, 4 ;Bar 22 note E_, 2 note D#, 2 note E_, 12 ;Bar 23 note D#, 4 note D#, 8 note E_, 8 ;Bar 24 note C#, 4 note D#, 4 note E_, 4 ;Bar 25 note G#, 12 note A_, 4 ;Bar 26 note C#, 16 ;Bar 27 volume_envelope 12, 4 note B_, 4 note A_, 4 note G#, 2 note A_, 2 note F#, 2 note C#, 10 ;Bar 28 note C#, 8 ;Bar 29 volume_envelope 13, 5 note G_, 1 note G#, 11 note B_, 2 rest 2 ;Bar 30 note F#, 12 note E_, 2 rest 1 note D#, 1 ;Bar 31 note E_, 12 note F#, 2 note E_, 2 ;Bar 32 note D#, 2 rest 2 note C#, 2 rest 2 octave 3 note B_, 2 octave 4 note C#, 6 ;Bar 33 volume_envelope 12, 6 octave 1 note D_, 12 note D_, 8 ;Bar 34 octave 2 note D_, 4 octave 1 note D_, 8 ;Bar 35 octave 1 note B_, 8 octave 1 note B_, 4 note D_, 8 ;Bar 36 octave 2 note D_, 4 octave 1 note D#, 4 octave 4 note B_, 2 octave 5 note C_, 2 ;Bar 37 volume_envelope 13, 5 note C#, 6 octave 4 note A_, 2 rest 4 note E_, 16 ;Bar 38 octave 5 note C#, 2 note D#, 2 ;Bar 39 octave 4 note B_, 10 note D#, 2 rest 2 note E_, 2 ;Bar 40 note B_, 12 note A_, 2 note G#, 2 ;Bar 41 note A_, 6 note E_, 2 rest 4 note C#, 4 ;Bar 42 note D#, 6 octave 3 note B_, 2 rest 4 octave 5 note C#, 2 note D#, 2 ;Bar 43 octave 4 note B_, 10 note D#, 2 rest 2 note E_, 2 ;Bar 44 note B_, 12 note A_, 2 note B_, 2 ;Bar 45 octave 5 note C#, 6 octave 4 note A_, 2 rest 2 note E_, 2 octave 5 note E_, 7 ;Bar 46 note F_, 1 note F#, 4 note D#, 4 note C#, 4 ;Bar 47 octave 4 note B_, 6 note G#, 2 rest 4 octave 5 note D_, 4 ;Bar 48 note C#, 8 rest 4 octave 4 note A_, 2 note G#, 2 ;Bar 49 note A_, 6 note E_, 6 note C#, 4 ;Bar 50 octave 3 note B_, 6 octave 4 note F#, 6 note D#, 4 ;Bar 51 volume_envelope 12, 0 note E_, 8 ;Bar 52 volume_envelope 12, 6 note E_, 16 octave 3 note B_, 8 sound_loop 0, .loop Music_SandgemTown_Ch3: note_type 12, 1, 5 ;Bar 1 octave 3 note C_, 8 octave 2 note A_, 8 ;Bar 2 octave 3 note C_, 6 note F_, 6 note D_, 4 ;Bar 3 note C_, 4 octave 2 note C_, 4 octave 3 note C_, 2 note D_, 2 note C_, 4 ;Bar 4 octave 2 note B_, 4 octave 1 note B_, 4 note B_, 4 octave 2 note D#, 4 ;Bar 5 .loop octave 2 note E_, 4 octave 3 note E_, 4 rest 4 octave 2 note E_, 2 note E_, 2 ;Bar 6 note E_, 2 rest 2 note E_, 2 rest 2 octave 3 note E_, 4 octave 2 note B_, 4 ;Bar 7 note E_, 4 octave 3 note E_, 4 rest 4 octave 2 note E_, 2 note E_, 2 ;Bar 8 note E_, 2 rest 2 note E_, 2 rest 2 octave 3 note E_, 4 octave 2 note B_, 4 ;Bar 9 note F#, 4 octave 3 note F#, 4 rest 4 octave 2 note F#, 2 note F#, 2 ;Bar 10 note F#, 2 rest 2 note F#, 2 rest 2 octave 3 note F#, 4 note C#, 4 ;Bar 11 octave 2 note F#, 4 octave 3 note F#, 4 rest 4 octave 2 note F#, 2 note F#, 2 ;Bar 12 note F#, 2 rest 2 note F#, 4 note G#, 4 note A_, 4 ;Bar 13 note B_, 4 octave 3 note B_, 4 rest 4 octave 2 note B_, 2 note B_, 2 ;Bar 14 note B_, 2 rest 2 note B_, 2 rest 2 octave 3 note B_, 4 note F#, 4 ;Bar 15 octave 2 note B_, 4 octave 3 note B_, 4 rest 4 octave 2 note B_, 2 note B_, 2 ;Bar 16 note B_, 2 rest 2 note B_, 2 rest 2 octave 3 note B_, 4 note F#, 4 ;Bar 17 note_type 12, 1, 4 vibrato 12, 2, 3 octave 4 note B_, 12 octave 5 note D_, 8 ;Bar 18 note C_, 4 octave 4 note B_, 4 note A_, 4 ;Bar 19 note G_, 4 note F#, 4 note E_, 4 note F#, 8 ;Bar 20 note A_, 4 rest 8 ;Bar 21 note_type 12, 1, 5 vibrato 0, 0, 0 octave 2 note E_, 4 octave 3 note E_, 4 rest 4 octave 2 note E_, 2 note E_, 2 ;Bar 22 note E_, 2 rest 2 note E_, 2 rest 2 octave 3 note E_, 4 octave 2 note B_, 4 ;Bar 23 note E_, 4 octave 3 note E_, 4 rest 4 octave 2 note E_, 2 note E_, 2 ;Bar 24 note E_, 2 rest 2 note E_, 2 rest 2 octave 3 note E_, 4 octave 2 note B_, 4 ;Bar 25 note F#, 4 octave 3 note F#, 4 rest 4 octave 2 note F#, 2 note F#, 2 ;Bar 26 note F#, 2 rest 2 note F#, 2 rest 2 octave 3 note F#, 4 note C#, 4 ;Bar 27 octave 2 note F#, 4 octave 3 note F#, 4 rest 4 octave 2 note F#, 2 note F#, 2 ;Bar 28 note F#, 2 rest 2 note F#, 4 note G#, 4 note A_, 4 ;Bar 29 note B_, 4 octave 3 note B_, 4 rest 4 octave 2 note B_, 2 note B_, 2 ;Bar 30 note B_, 2 rest 2 note B_, 2 rest 2 octave 3 note B_, 4 note F#, 4 ;Bar 31 octave 2 note B_, 4 octave 3 note B_, 4 rest 4 octave 2 note B_, 2 note B_, 2 ;Bar 32 note B_, 2 rest 2 note B_, 2 rest 2 octave 3 note B_, 4 note F#, 4 ;Bar 33 note_type 12, 1, 4 vibrato 12, 2, 3 octave 4 note B_, 12 octave 5 note D_, 8 ;Bar 34 note C_, 4 octave 4 note B_, 4 note A_, 4 ;Bar 35 note G_, 4 note F#, 4 note E_, 4 note F#, 8 ;Bar 36 note A_, 4 rest 4 note_type 12, 1, 5 vibrato 0, 0, 0 octave 2 note D#, 4 ;Bar 37 note A_, 5 rest 1 note A_, 2 rest 4 note E_, 2 rest 2 ;Bar 38 note A_, 4 rest 2 note A_, 2 rest 4 note B_, 2 octave 3 note C#, 2 ;Bar 39 octave 2 note G#, 5 rest 1 note G#, 2 rest 2 note D#, 4 rest 2 ;Bar 40 note B_, 2 note G#, 2 rest 2 octave 3 note D_, 2 rest 2 octave 2 note B_, 2 note G#, 2 note E_, 2 ;Bar 41 note F#, 4 rest 2 note F#, 2 rest 4 note C#, 4 ;Bar 42 note F#, 4 rest 4 note D#, 2 note F#, 2 note B_, 4 ;Bar 43 note E_, 4 rest 2 note E_, 2 rest 2 octave 3 note E_, 2 rest 4 ;Bar 44 octave 2 note G#, 2 note B_, 2 rest 2 octave 3 note D_, 4 rest 2 note C#, 2 octave 2 note G#, 2 ;Bar 45 note A_, 5 rest 1 note A_, 2 rest 4 note E_, 2 rest 2 ;Bar 46 note A_, 4 rest 2 note A_, 2 rest 4 note B_, 2 octave 3 note C#, 2 ;Bar 47 octave 2 note G#, 4 rest 2 note G#, 2 rest 2 note D#, 4 rest 2 ;Bar 48 note B_, 2 note G#, 2 rest 2 octave 3 note D_, 2 rest 2 octave 2 note B_, 2 note G#, 2 note E_, 2 ;Bar 49 note F#, 4 rest 2 note F#, 2 rest 4 note C#, 4 ;Bar 50 note F#, 4 rest 2 note F#, 2 note A_, 4 note B_, 4 ;Bar 51 note E_, 8 octave 1 note B_, 8 note E_, 8 rest 8 sound_loop 0, .loop Music_SandgemTown_Ch4: toggle_noise 3 drum_speed 12 drum_note x, x rest 16 rest 16 drum_note 5, 8 ; Triangle 2/8/9 are hat - 5 is a triangle - 11 kick2 - 12 open hat drum_note 5, 8 ; Triangle drum_note 5, 8 ; Triangle drum_note 4, 2 ; Kick drum_note 4, 2 ; Kick drum_note 3, 4 ; Snare .loop sound_call .sub1 sound_call .sub1 sound_call .sub1 sound_call .sub2 sound_call .sub1 sound_call .sub1 sound_call .sub1 sound_call .sub2 sound_call .sub1 sound_call .sub1 sound_call .sub1 drum_note 4, 4 ; Kick drum_note 9, 4 ; Hat drum_note 3, 4 ; Snare drum_note 9, 2 ; Hat drum_note 4, 2 ; Kick drum_note 4, 4 ; Kick drum_note 9, 4 ; Hat drum_note 3, 4 ; Snare drum_note 9, 4 ; Hat drum_note 4, 4 ; Kick drum_note 3, 4 ; Snare drum_note 4, 2 ; Kick drum_note 4, 2 ; Kick drum_note 3, 4 ; Snare drum_note 3, 8 ; Snare drum_note 7, 8 ; Open Hat sound_loop 0, .loop .sub1 drum_note 4, 4 ; Kick drum_note 9, 4 ; Hat drum_note 3, 4 ; Snare drum_note 9, 2 ; Hat drum_note 4, 2 ; Kick drum_note 4, 4 ; Kick drum_note 9, 4 ; Hat drum_note 3, 4 ; Snare drum_note 9, 4 ; Hat drum_note 4, 4 ; Kick drum_note 9, 4 ; Hat drum_note 3, 4 ; Snare drum_note 9, 2 ; Hat drum_note 4, 2 ; Kick drum_note 4, 4 ; Kick drum_note 9, 4 ; Hat drum_note 3, 4 ; Snare drum_note 7, 4 ; Open Hat sound_ret .sub2 drum_note 7, 12 ; Open Hat drum_note 7, 8 ; Open Hat drum_note 9, 4 ; Hat drum_note 9, 4 ; Hat drum_note 9, 4 ; Hat drum_note 7, 12 ; Open Hat drum_note 7, 4 ; Open Hat drum_note 3, 2 ; Snare drum_note 3, 2 ; Snare drum_note 4, 4 ; Kick drum_note 3, 4 ; Snare drum_note 4, 4 ; Kick sound_ret
13.133562
86
0.645046
664c58bd95fd3dd7a5c4273fddb2e6e20cba19ad
1,624
asm
Assembly
programs/oeis/153/A153644.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/153/A153644.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/153/A153644.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A153644: a(n) = 4*n^2 + 28*n + 10. ; 42,82,130,186,250,322,402,490,586,690,802,922,1050,1186,1330,1482,1642,1810,1986,2170,2362,2562,2770,2986,3210,3442,3682,3930,4186,4450,4722,5002,5290,5586,5890,6202,6522,6850,7186,7530,7882,8242,8610,8986,9370,9762,10162,10570,10986,11410,11842,12282,12730,13186,13650,14122,14602,15090,15586,16090,16602,17122,17650,18186,18730,19282,19842,20410,20986,21570,22162,22762,23370,23986,24610,25242,25882,26530,27186,27850,28522,29202,29890,30586,31290,32002,32722,33450,34186,34930,35682,36442,37210,37986,38770,39562,40362,41170,41986,42810,43642,44482,45330,46186,47050,47922,48802,49690,50586,51490,52402,53322,54250,55186,56130,57082,58042,59010,59986,60970,61962,62962,63970,64986,66010,67042,68082,69130,70186,71250,72322,73402,74490,75586,76690,77802,78922,80050,81186,82330,83482,84642,85810,86986,88170,89362,90562,91770,92986,94210,95442,96682,97930,99186,100450,101722,103002,104290,105586,106890,108202,109522,110850,112186,113530,114882,116242,117610,118986,120370,121762,123162,124570,125986,127410,128842,130282,131730,133186,134650,136122,137602,139090,140586,142090,143602,145122,146650,148186,149730,151282,152842,154410,155986,157570,159162,160762,162370,163986,165610,167242,168882,170530,172186,173850,175522,177202,178890,180586,182290,184002,185722,187450,189186,190930,192682,194442,196210,197986,199770,201562,203362,205170,206986,208810,210642,212482,214330,216186,218050,219922,221802,223690,225586,227490,229402,231322,233250,235186,237130,239082,241042,243010,244986,246970,248962,250962,252970,254986,257010 mov $1,$0 add $1,$0 add $1,9 pow $1,2 sub $1,39
180.444444
1,537
0.81835
113781d35ba3947a1a908e692431961e1334ff39
250
asm
Assembly
wof/lcs/enemy/4E.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
wof/lcs/enemy/4E.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
wof/lcs/enemy/4E.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 012272 move.l (A2)+, (A3)+ [enemy+48, enemy+4A] 012274 move.l (A2)+, (A3)+ 01A75E dbra D4, $1a75c copyright zengfr site:http://github.com/zengfr/romhack
27.777778
54
0.664
d43d34a87d5dec155355ac0bcdef448dd181122c
243
asm
Assembly
libsrc/_DEVELOPMENT/l/sccz80/5-z80/f48/dstore.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/l/sccz80/5-z80/f48/dstore.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/l/sccz80/5-z80/f48/dstore.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_clib SECTION code_l_sccz80 PUBLIC dstore EXTERN fa ;-------------- ; Copy FA to hl ;-------------- dstore: ld de,fa ex de,hl ld bc,6 ldir ex de,hl ; returns de=fa+6, hl=hl+6 ret
13.5
47
0.489712
ed508e6790ba6c7521bfdd434ac4f785323bf913
413
asm
Assembly
oeis/039/A039619.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/039/A039619.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/039/A039619.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A039619: Second column of Jabotinsky-triangle A038455 related to A006963. ; Submitted by Christian Krause ; 1,9,107,1650,31594,725592,19471500,598482000,20742534576,800575997760,34059828307680,1583808130195200,79925022369273600,4350478314951982080,254086498336122950400,15849890120755311667200 add $0,1 mov $1,1 mov $2,$0 add $2,1 lpb $0 sub $0,1 add $2,1 mul $3,$2 add $3,$1 mul $1,$2 lpe mov $0,$3
24.294118
187
0.762712
6333deb2cc2f80d18f959d85e8742fca6b270334
2,398
asm
Assembly
src/libYARP_dev/56f807/cotroller_dc/Support/DSP56800_xromxram.asm
robotology-legacy/yarp1
21434f5b776edea201b39a9644552dca59339dbc
[ "Artistic-1.0-Perl" ]
null
null
null
src/libYARP_dev/56f807/cotroller_dc/Support/DSP56800_xromxram.asm
robotology-legacy/yarp1
21434f5b776edea201b39a9644552dca59339dbc
[ "Artistic-1.0-Perl" ]
null
null
null
src/libYARP_dev/56f807/cotroller_dc/Support/DSP56800_xromxram.asm
robotology-legacy/yarp1
21434f5b776edea201b39a9644552dca59339dbc
[ "Artistic-1.0-Perl" ]
null
null
null
; metrowerks sample code ; this __romCopy copies xROM to xRAM ; define which __romCopy routine to assemble ; see alternative routine below ; use the software loop routine ; if you have more than 8191 elements to zero ; use the hardware loop routine ; if you have less than 8191 elements to zero ; 56800 loop LC register is 13-bits ; to handle the general case ; DSP56800 stationery default clearBSS is software loop DEFINE useSoftwareLoop '' section startup ; these variables are defined in the linker command file (LCF) XREF F_rom_to_ram XREF F_data_size XREF F_data_RAM_addr XREF F_data_ROM_addr org p: GLOBAL F__romCopy ; SUBROUTINE "F__romCopy",F__romCopy,F__romCopyEND-F__romCopy F__romCopy: ; optional check for xROM-xRAM copy request ; DSP56800 Stationery LCF sets variable F_rom_to_ram ; comment this test out if target's LCF is always set for xROM-xRAM move #F_rom_to_ram,x0 ; optional check tstw x0 beq end_romCopy ; if no xROM-to-xRAM, then exit IF @DEF('useSoftwareLoop') ; xROM-to-xRAM software loop move #F_data_size,y0 ; set count tstw y0 ; optional zero count test beq end_romCopy ; if zero count, then exit move #F_data_ROM_addr,r3 ; src address -- ROM data start move #F_data_RAM_addr,r1 ; dest address -- RAM data start nop loop_romCopy: move x:(r3)+,x0 ; fetch value at x address r3 move x0,x:(r1)+ ; stash value at x address r1 dec y0 ; decrement count and test bne loop_romCopy ; if not zero, continue loop ELSE ; xROM-to-xRAM hardware loop move #F_data_size,r2 ; set count ; hardware loop falls through if zero move #F_data_ROM_addr,r3 ; src address -- ROM data start move #F_data_RAM_addr,r1 ; dest address -- RAM data start nop do r2,end_romCopy ; copy for r2 times move x:(r3)+,x0 ; fetch value at address r3 move x0,x:(r1)+ ; stash value at address r1 ENDIF end_romCopy: rts F__romCopyEND: endsec end
19.031746
71
0.593411
d89a09356931bc582832671eac13565c9f81834e
382
asm
Assembly
libsrc/graphics/text6/swapgfxbk.asm
andydansby/z88dk-mk2
51c15f1387293809c496f5eaf7b196f8a0e9b66b
[ "ClArtistic" ]
1
2020-09-15T08:35:49.000Z
2020-09-15T08:35:49.000Z
libsrc/graphics/text6/swapgfxbk.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
libsrc/graphics/text6/swapgfxbk.asm
dex4er/deb-z88dk
9ee4f23444fa6f6043462332a1bff7ae20a8504b
[ "ClArtistic" ]
null
null
null
; ; Generic pseudo graphics routines for text-only platforms ; Version for the 2x3 graphics symbols ; ; Written by Stefano Bodrato 19/12/2006 ; ; ; Dummy gfx paging for text mode. ; ; ; $Id: swapgfxbk.asm,v 1.1 2006/12/23 21:33:10 stefano Exp $ ; XLIB swapgfxbk XDEF swapgfxbk1 .swapgfxbk .swapgfxbk1 ret
13.172414
64
0.591623
61b7d766c3620f24e029d15e890f5bed1dcffb9a
600
asm
Assembly
oeis/176/A176616.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/176/A176616.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/176/A176616.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A176616: Primes of the form x^2 + 7*y^2, where x and y=x+1 are consecutive natural numbers. ; Submitted by Christian Krause ; 7,29,67,191,277,379,631,947,1129,1327,2017,2557,2851,4561,4951,5779,6217,8647,9181,12721,13367,14029,15401,16111,17579,20707,21529,22367,24091,24977,31627,36857,37951,42487,43661,44851,47279,53629,58997 mov $1,2 mov $2,332202 mov $5,1 lpb $2 mov $3,$6 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 add $1,4 mov $4,$0 max $4,0 cmp $4,$0 mul $2,$4 sub $2,18 sub $5,1 add $5,$1 mov $6,$5 lpe mov $0,$5 add $0,1
25
204
0.675
44610e4a9f7995c73e167ef74dabf4bfb80c59b1
5,141
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_103.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.log_21829_103.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.log_21829_103.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 %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x10d89, %r14 nop nop nop lfence movb $0x61, (%r14) nop nop nop dec %r12 lea addresses_normal_ht+0xdc09, %rsi lea addresses_WT_ht+0x11e42, %rdi nop nop mfence mov $93, %rcx rep movsq nop nop nop inc %r15 pop %rsi pop %rdx pop %rdi pop %rcx pop %r15 pop %r14 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %r15 push %r9 push %rbp push %rdi // Store lea addresses_RW+0x10cc0, %r15 nop nop nop nop sub %rdi, %rdi mov $0x5152535455565758, %r14 movq %r14, %xmm5 movups %xmm5, (%r15) nop nop nop nop cmp %rbp, %rbp // Store lea addresses_RW+0x16609, %r14 nop nop nop nop nop xor $60483, %r9 movb $0x51, (%r14) nop nop nop nop nop add %r14, %r14 // Store lea addresses_RW+0x8f09, %r14 nop nop sub %r13, %r13 movl $0x51525354, (%r14) sub $56838, %r9 // Faulty Load lea addresses_PSE+0x3709, %r13 nop nop nop cmp $38971, %r14 mov (%r13), %rdi lea oracles, %rbp and $0xff, %rdi shlq $12, %rdi mov (%rbp,%rdi,1), %rdi pop %rdi pop %rbp pop %r9 pop %r15 pop %r14 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 8, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 9, 'size': 4, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': True, 'congruent': 6, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}} {'33': 21829} 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 */
40.480315
2,999
0.659988