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
ce48894d0f3aaccb03f91abb130ac7cc6fffe449
471
asm
Assembly
oeis/313/A313026.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/313/A313026.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/313/A313026.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A313026: Coordination sequence Gal.5.54.3 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. ; Submitted by Jamie Morken(s2) ; 1,4,9,14,18,22,26,31,36,40,44,49,54,58,62,66,71,76,80,84,89,94,98,102,106,111,116,120,124,129,134,138,142,146,151,156,160,164,169,174,178,182,186,191,196,200,204,209,214,218 mul $0,20 mov $2,$0 add $0,3 div $0,9 add $0,1 sub $2,4 div $2,9 add $2,$0 mov $0,$2
33.642857
176
0.707006
ac29ed1637c66ef8ca300dcc855a56876a6b6276
885
asm
Assembly
symbolinen_konekieli/Ratol_msdos/palvelu.asm
tkukka/VariousContent
f7e7ae98ff8521c6c709dabe30855104afe3fe04
[ "MIT" ]
null
null
null
symbolinen_konekieli/Ratol_msdos/palvelu.asm
tkukka/VariousContent
f7e7ae98ff8521c6c709dabe30855104afe3fe04
[ "MIT" ]
null
null
null
symbolinen_konekieli/Ratol_msdos/palvelu.asm
tkukka/VariousContent
f7e7ae98ff8521c6c709dabe30855104afe3fe04
[ "MIT" ]
null
null
null
;RaTol Symbolinen konekieli: Koetehtävä ;Tero Kukka IY96A ;Tiedosto: palvelu.asm ;Luotu 27.4.1998 ;Keskeytyspalvelu _kp public _kp ;! public laskuri public taulu .model large ;! Huom. muistimalli .stack 0h ;! pinon koko .data laskuri dw 0 taulu dw 10 dup(0) .code _kp proc push ds push ax push bx push di mov ax, @data mov ds, ax mov bx, offset taulu mov di, laskuri sal di, 1 ;word ptr! inc word ptr [bx + di] inc laskuri cmp laskuri, 10 jnz OHI mov laskuri, 0 OHI: pop di pop bx pop ax pop ds iret ;! _kp endp end
17.019231
48
0.429379
225dd7b6ccf26645f44c223df8184cd7ae539d84
1,431
asm
Assembly
Working Disassembly/General/Special Stage/Map - Sphere.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
5
2021-07-09T08:17:56.000Z
2022-02-27T19:57:47.000Z
Working Disassembly/General/Special Stage/Map - Sphere.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
null
null
null
Working Disassembly/General/Special Stage/Map - Sphere.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
null
null
null
Map_A464: dc.w word_A48A-Map_A464 dc.w word_A492-Map_A464 dc.w word_A49A-Map_A464 dc.w word_A4A2-Map_A464 dc.w word_A4AA-Map_A464 dc.w word_A4B2-Map_A464 dc.w word_A4BA-Map_A464 dc.w word_A4C2-Map_A464 dc.w word_A4CA-Map_A464 dc.w word_A4D2-Map_A464 dc.w word_A4DA-Map_A464 dc.w word_A4DA-Map_A464 dc.w word_A4E2-Map_A464 dc.w word_A4E2-Map_A464 dc.w word_A4EA-Map_A464 dc.w word_A4EA-Map_A464 dc.w word_A4F2-Map_A464 dc.w word_A4FA-Map_A464 dc.w word_A502-Map_A464 word_A48A: dc.w 1 dc.b $F0, $F, 0, 0, $FF, $F0 word_A492: dc.w 1 dc.b $F0, $F, 0, $10, $FF, $F0 word_A49A: dc.w 1 dc.b $F0, $F, 0, $20, $FF, $F0 word_A4A2: dc.w 1 dc.b $F0, $F, 0, $30, $FF, $F0 word_A4AA: dc.w 1 dc.b $F4, $A, 0, $40, $FF, $F4 word_A4B2: dc.w 1 dc.b $F4, $A, 0, $49, $FF, $F4 word_A4BA: dc.w 1 dc.b $F4, $A, 0, $52, $FF, $F4 word_A4C2: dc.w 1 dc.b $F4, $A, 0, $5B, $FF, $F4 word_A4CA: dc.w 1 dc.b $F8, 5, 0, $64, $FF, $F8 word_A4D2: dc.w 1 dc.b $F8, 5, 0, $68, $FF, $F8 word_A4DA: dc.w 1 dc.b $F8, 5, 0, $6C, $FF, $F8 word_A4E2: dc.w 1 dc.b $F8, 5, 0, $70, $FF, $F8 word_A4EA: dc.w 1 dc.b $FC, 0, 0, $74, $FF, $FC word_A4F2: dc.w 1 dc.b $FC, 0, 0, $75, $FF, $FC word_A4FA: dc.w 1 dc.b $FC, 0, 0, $76, $FF, $FC word_A502: dc.w 1 dc.b $FC, 0, 0, $77, $FF, $FC
27.519231
36
0.561146
51e906974cbf710259989080fb0636961ea47e0d
5,968
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1272.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1272.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1272.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 %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x15559, %r15 nop nop dec %r8 movb $0x61, (%r15) nop inc %r8 lea addresses_WC_ht+0x13363, %rcx nop nop nop nop dec %r11 mov (%rcx), %r14 nop nop nop nop nop and $53575, %r14 lea addresses_UC_ht+0x16d3, %rax nop nop xor %r8, %r8 mov $0x6162636465666768, %r11 movq %r11, %xmm0 and $0xffffffffffffffc0, %rax movntdq %xmm0, (%rax) nop nop nop xor %r14, %r14 lea addresses_D_ht+0x9763, %r8 nop nop nop and %rdx, %rdx movw $0x6162, (%r8) sub $36934, %rcx lea addresses_A_ht+0x27ef, %rsi lea addresses_WC_ht+0x1a777, %rdi nop nop nop xor $58359, %r15 mov $29, %rcx rep movsq nop nop and $12004, %rax lea addresses_WT_ht+0x1b63, %rax clflush (%rax) nop nop nop add $2505, %rsi movw $0x6162, (%rax) nop nop cmp $22976, %r11 lea addresses_WC_ht+0x5b63, %rsi nop nop nop nop cmp %rdx, %rdx movups (%rsi), %xmm2 vpextrq $1, %xmm2, %r15 nop nop nop nop add %rax, %rax pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r8 pop %r15 pop %r14 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r14 push %r15 push %rbp push %rbx push %rdx // Load lea addresses_WT+0xf363, %rbp add $15741, %rdx vmovups (%rbp), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $1, %xmm5, %r14 nop nop nop nop nop sub %rbp, %rbp // Faulty Load lea addresses_WT+0xf363, %r15 clflush (%r15) nop nop nop nop and $12889, %rbx mov (%r15), %r11w lea oracles, %r10 and $0xff, %r11 shlq $12, %r11 mov (%r10,%r11,1), %r11 pop %rdx pop %rbx pop %rbp pop %r15 pop %r14 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': True, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 32, 'NT': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WC_ht'}} {'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 16, 'NT': True, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': True, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': True, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
37.534591
2,999
0.657507
c402d0076ccb9d38a47e1f2fdd5cd14804b48b50
275
asm
Assembly
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshr_visit_wc_pix.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshr_visit_wc_pix.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshr_visit_wc_pix.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void tshr_visit_wc_pix(struct r_Rect8 *r, void *function) SECTION code_clib SECTION code_arch PUBLIC _tshr_visit_wc_pix EXTERN asm_tshr_visit_wc_pix _tshr_visit_wc_pix: pop af pop ix pop de push de push de push af jp asm_tshr_visit_wc_pix
13.095238
59
0.741818
c5b2afe3a08851ac30e5d56d42030632177be225
716
asm
Assembly
oeis/005/A005066.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/005/A005066.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/005/A005066.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A005066: Sum of squares of odd primes dividing n. ; Submitted by Jon Maiga ; 0,0,9,0,25,9,49,0,9,25,121,9,169,49,34,0,289,9,361,25,58,121,529,9,25,169,9,49,841,34,961,0,130,289,74,9,1369,361,178,25,1681,58,1849,121,34,529,2209,9,49,25,298,169,2809,9,146,49,370,841,3481,34,3721,961,58,0,194,130,4489,289,538,74,5041,9,5329,1369,34,361,170,178,6241,25,9,1681,6889,58,314,1849,850,121,7921,34,218,529,970,2209,386,9,9409,49,130,25 add $0,1 lpb $0 mov $3,$0 lpb $3 mov $4,$0 mov $6,$2 cmp $6,0 add $2,$6 mod $4,$2 cmp $4,0 cmp $4,0 mov $5,$2 add $2,2 cmp $5,1 max $4,$5 sub $3,$4 lpe mov $1,$2 pow $1,2 add $7,$1 lpb $0 dif $0,$2 lpe lpe mov $0,$7
23.866667
353
0.594972
4182eb55a908b615d5265ece4f1baf34f19ec57d
225
asm
Assembly
ohce/key/getkey.asm
Silva97/asm-tools
e0c9e80aba7fb89b6af6bbfd128f438ca8273904
[ "MIT" ]
3
2019-10-10T13:53:23.000Z
2020-06-25T22:22:29.000Z
ohce/key/getkey.asm
Silva97/asm-tools
e0c9e80aba7fb89b6af6bbfd128f438ca8273904
[ "MIT" ]
null
null
null
ohce/key/getkey.asm
Silva97/asm-tools
e0c9e80aba7fb89b6af6bbfd128f438ca8273904
[ "MIT" ]
null
null
null
bits 16 ;;;;; ; Gets a key if it is pressed. ; Return: ; AX The code of the key. Zero if not have a pressed key. ;;;;; getkey: mov ah, 0x01 int 0x16 jz .stop mov ah, 0x00 int 0x16 .stop: ret
14.0625
64
0.555556
20c63c6664efa188fae600cd9a49a0a1039962cd
4,988
asm
Assembly
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_521.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_521.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_521.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 %r8 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1d5b5, %rsi lea addresses_WC_ht+0xb1d5, %rdi nop nop nop nop nop sub $3566, %r8 mov $55, %rcx rep movsw cmp $3789, %rax pop %rsi pop %rdi pop %rcx pop %rax pop %r8 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r13 push %r14 push %r8 push %rbp push %rdx // Store lea addresses_UC+0xe287, %rbp xor $49400, %r14 movw $0x5152, (%rbp) nop add $18209, %rdx // Load mov $0xcf5, %r10 nop nop nop nop mfence movb (%r10), %r12b nop nop cmp %r10, %r10 // Store lea addresses_D+0xd9d5, %r8 nop nop nop add %r13, %r13 movb $0x51, (%r8) nop xor %r12, %r12 // Store lea addresses_WT+0x7b7d, %rdx nop nop inc %r10 mov $0x5152535455565758, %rbp movq %rbp, (%rdx) nop sub $18711, %r12 // Faulty Load lea addresses_A+0x59d5, %r8 nop add %r13, %r13 movb (%r8), %r12b lea oracles, %r8 and $0xff, %r12 shlq $12, %r12 mov (%r8,%r12,1), %r12 pop %rdx pop %rbp pop %r8 pop %r14 pop %r13 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 1}} {'src': {'type': 'addresses_P', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 10}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 2}} [Faulty Load] {'src': {'type': 'addresses_A', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}} {'51': 21829} 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 51 */
46.185185
2,999
0.654571
fc1cc182fbc4a879abb3d7dbd8d67c368491708e
1,416
asm
Assembly
color/dmg.asm
etdv-thevoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
1
2022-01-09T05:28:52.000Z
2022-01-09T05:28:52.000Z
color/dmg.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
color/dmg.asm
ETDV-TheVoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
null
null
null
; This gets run when you try to play it on a DMG. Shows an error message, plays a jingle. ; There's a copy of the audio engine in bank $31 that's used for this, hasn't been ; disassembled for now... RunDmgError: ld hl,Code_d000 ld de,$d000 ld b,Code_d000_end-Code_d000 .codeCopyLoop ld a,[hli] ld [de],a inc de dec b jr nz,.codeCopyLoop xor a ld [wAudioFadeOutCounterReloadValue],a ld [wAudioFadeOutCounter],a ; Use sound engine copy in bank $31 ld a,$31 ld [wAudioSavedROMBank],a ld [wAudioROMBank],a ld a,$c3 ld [wAudioFadeOutControl],a di call DisableLCD ; Load font ld de,FontCopy ld bc,$0200 ld hl,$8800 .nextByte ld a,[de] ld [hli],a ld [hli],a inc de dec bc ld a,c or b jr nz,.nextByte ; Load text ld de,DmgText ld bc,$0414 ld hl,$98e0 .nextCharacter ld a,[de] inc de ldi [hl],a dec c jr nz,.nextCharacter push de ld de,$000c add hl,de pop de ld c,$14 dec b jr nz,.nextCharacter call EnableLCD ei jp $d000 ; Copied to RAM at $d000 Code_d000: push af push bc push de push hl call FadeOutAudio ld a,[wAudioROMBank] ld [H_LOADEDROMBANK],a ld [MBC1RomBank],a call $5177 pop hl pop de pop bc pop af ld hl,rSTAT .frameWait bit 2,[hl] jr z,.frameWait jr Code_d000 Code_d000_end: FontCopy: INCBIN "gfx/font.1bpp" DmgText: db "This game will only " db " work on a " db " Gameboy Color " db " or GBA handheld "
13.485714
89
0.677966
156b4d2c746579fbbdaf9a55ef66fad17a9c39b2
6,666
asm
Assembly
third_party/ffmpeg/libswscale/x86/rgb_2_rgb.asm
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
third_party/ffmpeg/libswscale/x86/rgb_2_rgb.asm
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
third_party/ffmpeg/libswscale/x86/rgb_2_rgb.asm
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
;****************************************************************************** ;* Copyright Nick Kurshev ;* Copyright Michael (michaelni@gmx.at) ;* Copyright 2018 Jokyo Images ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as published by the Free Software Foundation; either ;* version 2.1 of the License, or (at your option) any later version. ;* ;* FFmpeg is distributed in the hope that it will be useful, ;* but WITHOUT ANY WARRANTY; without even the implied warranty of ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;* Lesser General Public License for more details. ;* ;* You should have received a copy of the GNU Lesser General Public ;* License along with FFmpeg; if not, write to the Free Software ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;****************************************************************************** %include "libavutil/x86/x86util.asm" SECTION_RODATA pb_shuffle2103: db 2, 1, 0, 3, 6, 5, 4, 7, 10, 9, 8, 11, 14, 13, 12, 15 pb_shuffle0321: db 0, 3, 2, 1, 4, 7, 6, 5, 8, 11, 10, 9, 12, 15, 14, 13 pb_shuffle1230: db 1, 2, 3, 0, 5, 6, 7, 4, 9, 10, 11, 8, 13, 14, 15, 12 pb_shuffle3012: db 3, 0, 1, 2, 7, 4, 5, 6, 11, 8, 9, 10, 15, 12, 13, 14 pb_shuffle3210: db 3, 2, 1, 0, 7, 6, 5, 4, 11, 10, 9, 8, 15, 14, 13, 12 SECTION .text %macro RSHIFT_COPY 3 ; %1 dst ; %2 src ; %3 shift %if cpuflag(avx) psrldq %1, %2, %3 %else mova %1, %2 RSHIFT %1, %3 %endif %endmacro ;------------------------------------------------------------------------------ ; shuffle_bytes_## (const uint8_t *src, uint8_t *dst, int src_size) ;------------------------------------------------------------------------------ ; %1-4 index shuffle %macro SHUFFLE_BYTES 4 cglobal shuffle_bytes_%1%2%3%4, 3, 5, 2, src, dst, w, tmp, x VBROADCASTI128 m0, [pb_shuffle%1%2%3%4] movsxdifnidn wq, wd mov xq, wq add srcq, wq add dstq, wq neg wq ;calc scalar loop and xq, mmsize-4 je .loop_simd .loop_scalar: mov tmpb, [srcq + wq + %1] mov [dstq+wq + 0], tmpb mov tmpb, [srcq + wq + %2] mov [dstq+wq + 1], tmpb mov tmpb, [srcq + wq + %3] mov [dstq+wq + 2], tmpb mov tmpb, [srcq + wq + %4] mov [dstq+wq + 3], tmpb add wq, 4 sub xq, 4 jg .loop_scalar ;check if src_size < mmsize cmp wq, 0 jge .end .loop_simd: movu m1, [srcq+wq] pshufb m1, m0 movu [dstq+wq], m1 add wq, mmsize jl .loop_simd .end: RET %endmacro INIT_XMM ssse3 SHUFFLE_BYTES 2, 1, 0, 3 SHUFFLE_BYTES 0, 3, 2, 1 SHUFFLE_BYTES 1, 2, 3, 0 SHUFFLE_BYTES 3, 0, 1, 2 SHUFFLE_BYTES 3, 2, 1, 0 ;----------------------------------------------------------------------------------------------- ; uyvytoyuv422(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, ; const uint8_t *src, int width, int height, ; int lumStride, int chromStride, int srcStride) ;----------------------------------------------------------------------------------------------- %macro UYVY_TO_YUV422 0 cglobal uyvytoyuv422, 9, 14, 8, ydst, udst, vdst, src, w, h, lum_stride, chrom_stride, src_stride, wtwo, whalf, tmp, x, back_w pxor m0, m0 pcmpeqw m1, m1 psrlw m1, 8 movsxdifnidn wq, wd movsxdifnidn lum_strideq, lum_strided movsxdifnidn chrom_strideq, chrom_strided movsxdifnidn src_strideq, src_strided mov back_wq, wq mov whalfq, wq shr whalfq, 1 ; whalf = width / 2 lea srcq, [srcq + wq * 2] add ydstq, wq add udstq, whalfq add vdstq, whalfq .loop_line: mov xq, wq mov wtwoq, wq add wtwoq, wtwoq ; wtwo = width * 2 neg wq neg wtwoq neg whalfq ;calc scalar loop count and xq, mmsize * 2 - 1 je .loop_simd .loop_scalar: mov tmpb, [srcq + wtwoq + 0] mov [udstq + whalfq], tmpb mov tmpb, [srcq + wtwoq + 1] mov [ydstq + wq], tmpb mov tmpb, [srcq + wtwoq + 2] mov [vdstq + whalfq], tmpb mov tmpb, [srcq + wtwoq + 3] mov [ydstq + wq + 1], tmpb add wq, 2 add wtwoq, 4 add whalfq, 1 sub xq, 2 jg .loop_scalar ; check if simd loop is need cmp wq, 0 jge .end_line .loop_simd: movu m2, [srcq + wtwoq ] movu m3, [srcq + wtwoq + mmsize ] movu m4, [srcq + wtwoq + mmsize * 2] movu m5, [srcq + wtwoq + mmsize * 3] ; extract y part 1 RSHIFT_COPY m6, m2, 1 ; UYVY UYVY -> YVYU YVY... pand m6, m1; YxYx YxYx... RSHIFT_COPY m7, m3, 1 ; UYVY UYVY -> YVYU YVY... pand m7, m1 ; YxYx YxYx... packuswb m6, m7 ; YYYY YYYY... movu [ydstq + wq], m6 ; extract y part 2 RSHIFT_COPY m6, m4, 1 ; UYVY UYVY -> YVYU YVY... pand m6, m1; YxYx YxYx... RSHIFT_COPY m7, m5, 1 ; UYVY UYVY -> YVYU YVY... pand m7, m1 ; YxYx YxYx... packuswb m6, m7 ; YYYY YYYY... movu [ydstq + wq + mmsize], m6 ; extract uv pand m2, m1 ; UxVx... pand m3, m1 ; UxVx... pand m4, m1 ; UxVx... pand m5, m1 ; UxVx... packuswb m2, m3 ; UVUV... packuswb m4, m5 ; UVUV... ; U pand m6, m2, m1 ; UxUx... pand m7, m4, m1 ; UxUx... packuswb m6, m7 ; UUUU movu [udstq + whalfq], m6 ; V psrlw m2, 8 ; VxVx... psrlw m4, 8 ; VxVx... packuswb m2, m4 ; VVVV movu [vdstq + whalfq], m2 add whalfq, mmsize add wtwoq, mmsize * 4 add wq, mmsize * 2 jl .loop_simd .end_line: add srcq, src_strideq add ydstq, lum_strideq add udstq, chrom_strideq add vdstq, chrom_strideq ;restore initial state of line variable mov wq, back_wq mov xq, wq mov whalfq, wq shr whalfq, 1 ; whalf = width / 2 sub hd, 1 jg .loop_line RET %endmacro %if ARCH_X86_64 INIT_XMM sse2 UYVY_TO_YUV422 INIT_XMM avx UYVY_TO_YUV422 %endif
28.126582
126
0.491899
7a887838d9cd7fdbb9658a08e2c62ff3afc506f4
215
asm
Assembly
data/pokemon/dex_entries/cloyster.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
data/pokemon/dex_entries/cloyster.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
data/pokemon/dex_entries/cloyster.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
db "BIVALVE@" ; species name dw 411, 2920 ; height, weight db "Even a missile" next "can't break the" next "spikes it uses to" page "stab opponents." next "They're even hard-" next "er than its shell.@"
19.545455
30
0.660465
f17f9226b4f0d173651123a2bf762e6e6f448bc4
803
asm
Assembly
oeis/029/A029759.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/029/A029759.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/029/A029759.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A029759: Number of permutations which are the union of an increasing and a decreasing subsequence. ; Submitted by Christian Krause ; 1,1,2,6,22,86,340,1340,5254,20518,79932,311028,1209916,4707964,18330728,71429176,278586182,1087537414,4249391468,16618640836,65048019092,254814326164,998953992728,3919041821896,15385395144092,60438585676636,237563884988120,934311596780040,3676495517376184,14474185732012088,57011153530262480,224656915621201776,885652912419210822,3492861836026915782,13780479845245611084,54388113081432337380,214729932989712917668,848052809484541707556,3350334574655466140216,13239822072430180232232 mov $1,2 mov $2,2 mov $3,$0 lpb $3 mul $1,$3 sub $1,$2 cmp $4,0 add $5,$4 div $1,$5 div $4,$2 add $2,$1 mul $1,2 mul $2,2 sub $3,1 lpe add $2,$1 mov $0,$2 div $0,4
34.913043
484
0.794521
e1e6a9da6b5c2f37d864940a35bab71af2bf85e3
3,534
asm
Assembly
src/shaders/h264/mc/save_I_PCM.asm
martin-kokos/intel-vaapi-driver
3ed3f6a783fdfff3fa1b567888518dcbda7eb2a3
[ "MIT" ]
192
2018-01-26T11:51:55.000Z
2022-03-25T20:04:19.000Z
src/shaders/h264/mc/save_I_PCM.asm
martin-kokos/intel-vaapi-driver
3ed3f6a783fdfff3fa1b567888518dcbda7eb2a3
[ "MIT" ]
256
2017-01-23T02:10:27.000Z
2018-01-23T10:00:05.000Z
src/shaders/h264/mc/save_I_PCM.asm
martin-kokos/intel-vaapi-driver
3ed3f6a783fdfff3fa1b567888518dcbda7eb2a3
[ "MIT" ]
64
2018-01-30T19:51:53.000Z
2021-11-24T01:26:14.000Z
/* * Save I_PCM Y samples to Y picture buffer * Copyright © <2010>, Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * distribute, sub license, and/or sell copies of the Software, and to * permit persons to whom the Software is furnished to do so, subject to * the following conditions: * * The above copyright notice and this permission notice (including the * next paragraph) 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 NON-INFRINGEMENT. * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS 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. * * This file was originally licensed under the following license * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * */ // Module name: save_I_PCM.asm // // First save I_PCM Y samples to Y picture buffer // mov (1) MSGSRC.2:ud 0x000F000F:ud {NoDDClr} // Block width and height (16x16) shl (2) MSGSRC.0:ud ORIX<2;2,1>:ub 4:w {NoDDChk} // Convert MB origin in pixel unit add (1) MSGDSC REG_MBAFF_FIELD<0;1,0>:uw MSG_LEN(8)+DWBWMSGDSC_WC+DESTY:ud // Set message descriptor $for(0; <8; 2) { mov (32) MSGPAYLOAD(%1)<1> I_PCM_Y(%1)REGION(16,1) {Compr,NoDDClr} mov (32) MSGPAYLOAD(%1,16)<1> I_PCM_Y(%1,16)REGION(16,1) {Compr,NoDDChk} } send (8) REG_WRITE_COMMIT_Y<1>:ud MSGHDR MSGSRC<8;8,1>:ud DAPWRITE MSGDSC // Then save I_PCM U/V samples to U/V picture buffer // mov (1) MSGHDR.2:ud 0x0007000F:ud {NoDDClr} // Block width and height (16x8) asr (1) MSGHDR.1:ud MSGSRC.1<0;1,0>:ud 1:w {NoDDChk} // Y offset should be halved add (1) MSGDSC MSGDSC 0x0-MSG_LEN(4)+0x1:d // Set message descriptor for U/V #if 0 and.z.f0.0 (1) NULLREG REG_CHROMA_FORMAT_IDC CHROMA_FORMAT_IDC:ud (f0.0) jmpi (1) MONOCHROME_I_PCM #endif #ifndef MONO // Non-monochrome picture // $for(0,0; <4; 2,1) { mov (16) MSGPAYLOAD(%1)<2> I_PCM_UV(%2)REGION(16,1) // U data mov (16) MSGPAYLOAD(%1,1)<2> I_PCM_UV(%2+2)REGION(16,1) // V data mov (16) MSGPAYLOAD(%1+1)<2> I_PCM_UV(%2,16)REGION(16,1) // U data mov (16) MSGPAYLOAD(%1+1,1)<2> I_PCM_UV(%2+2,16)REGION(16,1) // V data } #else // defined(MONO) MONOCHROME_I_PCM: $for(0; <4; 2) { mov (16) MSGPAYLOADD(%1)<1> 0x80808080:ud {Compr} } #endif // !defined(MONO) send (8) REG_WRITE_COMMIT_UV<1>:ud MSGHDR null:ud DAPWRITE MSGDSC // End of save_I_PCM
40.62069
106
0.694397
900af5d0211c6f0cacb9148fe9ef40f1cac02d02
801
asm
Assembly
sound/sfxasm/C1.asm
NatsumiFox/Sonic-3-93-Nov-03
032e4fc25f243636d458639c4a4311caca898f96
[ "MIT" ]
7
2019-12-05T00:35:57.000Z
2022-02-27T20:00:33.000Z
sound/sfxasm/C1.asm
NatsumiFox/Sonic-3-93-Nov-03
032e4fc25f243636d458639c4a4311caca898f96
[ "MIT" ]
null
null
null
sound/sfxasm/C1.asm
NatsumiFox/Sonic-3-93-Nov-03
032e4fc25f243636d458639c4a4311caca898f96
[ "MIT" ]
null
null
null
C1_Header: sHeaderInit ; Z80 offset is $D956 sHeaderPatch C1_Patches sHeaderTick $01 sHeaderCh $01 sHeaderSFX $80, $05, C1_FM5, $FB, $02 C1_FM5: sPatFM $00 ssModZ80 $01, $01, $85, $32 dc.b nBb2, $10 C1_Loop1: saVolFM $0F dc.b nBb2, $0D, nRst, $02 sLoop $00, $04, C1_Loop1 sStop C1_Patches: ; Patch $00 ; $83 ; $13, $10, $1F, $1D, $11, $1C, $0C, $14 ; $00, $10, $00, $00, $02, $02, $02, $02 ; $2F, $2F, $FF, $3F, $03, $0D, $64, $87 spAlgorithm $03 spFeedback $00 spDetune $01, $01, $01, $01 spMultiple $03, $0F, $00, $0D spRateScale $00, $00, $00, $00 spAttackRt $11, $0C, $1C, $14 spAmpMod $00, $00, $00, $00 spSustainRt $00, $00, $10, $00 spSustainLv $02, $0F, $02, $03 spDecayRt $02, $02, $02, $02 spReleaseRt $0F, $0F, $0F, $0F spTotalLv $03, $64, $0D, $07
21.078947
41
0.58427
294f62d30cd6a2de456696f8f1289b793b1ac1d7
12,120
asm
Assembly
timerA1_isr.asm
spqr/umichmoo
f73804e4808a1248bdeb2ad0ee2b933028c63c3d
[ "BSD-3-Clause" ]
7
2015-10-07T16:03:26.000Z
2020-12-02T11:53:52.000Z
timerA1_isr.asm
spqr/umichmoo
f73804e4808a1248bdeb2ad0ee2b933028c63c3d
[ "BSD-3-Clause" ]
null
null
null
timerA1_isr.asm
spqr/umichmoo
f73804e4808a1248bdeb2ad0ee2b933028c63c3d
[ "BSD-3-Clause" ]
9
2015-05-19T10:30:14.000Z
2020-01-30T17:03:43.000Z
/////////////////////////////////////////////////////////////////////////////// // / // IAR C/C++ Compiler V5.10.6.50180/W32 for MSP430 03/Aug/2012 15:07:54 / // Copyright 1996-2010 IAR Systems AB. / // / // __rt_version = 3 / // __double_size = 32 / // __reg_r4 = regvar / // __reg_r5 = regvar / // __pic = no / // __core = 430X / // __data_model = small / // Source file = C:\Documents and Settings\Addison / // Mayberry\Desktop\moofirmwaredev\build_timera1_isr.c / // Command line = "C:\Documents and Settings\Addison / // Mayberry\Desktop\moofirmwaredev\build_timera1_isr.c" / // -lcN "C:\Documents and Settings\Addison / // Mayberry\Desktop\moofirmwaredev\Debug\List\" -la / // "C:\Documents and Settings\Addison / // Mayberry\Desktop\moofirmwaredev\Debug\List\" -o / // "C:\Documents and Settings\Addison / // Mayberry\Desktop\moofirmwaredev\Debug\Obj\" --no_cse / // --no_unroll --no_inline --no_code_motion --no_tbaa / // --debug -D__MSP430F2618__ -e --double=32 / // --dlib_config "C:\Program Files\IAR Systems\Embedded / // Workbench 6.0\430\LIB\DLIB\dl430xsfn.h" --regvar_r4 / // --regvar_r5 --core=430X --data_model=small -Ol / // --multiplier=16s / // List file = C:\Documents and Settings\Addison / // Mayberry\Desktop\moofirmwaredev\Debug\List\build_timer / // a1_isr.s43 / // / // / /////////////////////////////////////////////////////////////////////////////// NAME timerA1_isr RTMODEL "__SystemLibrary", "DLib" RTMODEL "__core", "430X" RTMODEL "__data_model", "small" RTMODEL "__double_size", "32" RTMODEL "__pic", "no" RTMODEL "__reg_r4", "regvar" RTMODEL "__reg_r5", "regvar" RTMODEL "__rt_version", "3" RSEG CSTACK:DATA:SORT:NOROOT(0) PUBWEAK `??TimerA1_ISR??INTVEC 48` PUBWEAK TACCR1 PUBWEAK TACCTL1 PUBWEAK TAR PUBLIC TimerA1_ISR FUNCTION TimerA1_ISR,080233H ARGFRAME CSTACK, 0, STACK LOCFRAME CSTACK, 4, STACK PUBLIC timera1_isr_decls FUNCTION timera1_isr_decls,0201H ARGFRAME CSTACK, 0, STACK LOCFRAME CSTACK, 4, STACK CFI Names cfiNames0 CFI StackFrame CFA SP DATA CFI Resource PC:20, SP:20, SR:16, R4L:16, R4H:4, R4:20, R5L:16, R5H:4 CFI Resource R5:20, R6L:16, R6H:4, R6:20, R7L:16, R7H:4, R7:20, R8L:16 CFI Resource R8H:4, R8:20, R9L:16, R9H:4, R9:20, R10L:16, R10H:4 CFI Resource R10:20, R11L:16, R11H:4, R11:20, R12L:16, R12H:4, R12:20 CFI Resource R13L:16, R13H:4, R13:20, R14L:16, R14H:4, R14:20, R15L:16 CFI Resource R15H:4, R15:20 CFI ResourceParts R4 R4H, R4L CFI ResourceParts R5 R5H, R5L CFI ResourceParts R6 R6H, R6L CFI ResourceParts R7 R7H, R7L CFI ResourceParts R8 R8H, R8L CFI ResourceParts R9 R9H, R9L CFI ResourceParts R10 R10H, R10L CFI ResourceParts R11 R11H, R11L CFI ResourceParts R12 R12H, R12L CFI ResourceParts R13 R13H, R13L CFI ResourceParts R14 R14H, R14L CFI ResourceParts R15 R15H, R15L CFI EndNames cfiNames0 CFI Common cfiCommon0 Using cfiNames0 CFI CodeAlign 2 CFI DataAlign 2 CFI ReturnAddress PC CODE CFI CFA SP+4 CFI PC Frame(CFA, -4) CFI SR Undefined CFI R4L SameValue CFI R4H 0 CFI R4 Concat CFI R5L SameValue CFI R5H 0 CFI R5 Concat CFI R6L SameValue CFI R6H 0 CFI R6 Concat CFI R7L SameValue CFI R7H 0 CFI R7 Concat CFI R8L SameValue CFI R8H 0 CFI R8 Concat CFI R9L SameValue CFI R9H 0 CFI R9 Concat CFI R10L SameValue CFI R10H 0 CFI R10 Concat CFI R11L SameValue CFI R11H 0 CFI R11 Concat CFI R12L Undefined CFI R12H Undefined CFI R12 Undefined CFI R13L Undefined CFI R13H Undefined CFI R13 Undefined CFI R14L Undefined CFI R14H Undefined CFI R14 Undefined CFI R15L Undefined CFI R15H Undefined CFI R15 Undefined CFI EndCommon cfiCommon0 CFI Common cfiCommon1 Using cfiNames0 CFI CodeAlign 2 CFI DataAlign 2 CFI ReturnAddress PC CODE CFI CFA SP+4 CFI PC or(add(CFA, literal(-4)), lshift(add(CFA, literal(-2)), 4)) CFI SR Frame(CFA, -4) CFI R4L SameValue CFI R4H 0 CFI R4 Concat CFI R5L SameValue CFI R5H 0 CFI R5 Concat CFI R6L SameValue CFI R6H 0 CFI R6 Concat CFI R7L SameValue CFI R7H 0 CFI R7 Concat CFI R8L SameValue CFI R8H 0 CFI R8 Concat CFI R9L SameValue CFI R9H 0 CFI R9 Concat CFI R10L SameValue CFI R10H 0 CFI R10 Concat CFI R11L SameValue CFI R11H 0 CFI R11 Concat CFI R12L SameValue CFI R12H 0 CFI R12 Concat CFI R13L SameValue CFI R13H 0 CFI R13 Concat CFI R14L SameValue CFI R14H 0 CFI R14 Concat CFI R15L SameValue CFI R15H 0 CFI R15 Concat CFI EndCommon cfiCommon1 TimerA1_ISR SYMBOL "TimerA1_ISR" `??TimerA1_ISR??INTVEC 48` SYMBOL "??INTVEC 48", TimerA1_ISR EXTERN TRcal EXTERN bits ASEGN DATA16_AN:DATA:NOROOT,0164H // unsigned short volatile TACCTL1 TACCTL1: DS8 2 ASEGN DATA16_AN:DATA:NOROOT,0170H // unsigned short volatile TAR TAR: DS8 2 ASEGN DATA16_AN:DATA:NOROOT,0174H // unsigned short volatile TACCR1 TACCR1: DS8 2 // This is needed to make the inline assembly compile properly w/ this symbol RSEG CODE:CODE:REORDER:NOROOT(1) timera1_isr_decls: CFI Block cfiBlock0 Using cfiCommon0 CFI Function timera1_isr_decls MOV.W &0x174, R15 RETA CFI EndBlock cfiBlock0 REQUIRE TACCR1 //************************************************************************* //************************ Timer INTERRUPT ******************************* // Pin Setup : P1.2 // Description : RSEG ISR_CODE:CODE:REORDER:NOROOT(1) TimerA1_ISR: CFI Block cfiBlock1 Using cfiCommon1 CFI Function TimerA1_ISR // (6 cycles) to enter interrupt MOV TACCR1, R7 // move TACCR1 to R7(count) register (3 CYCLES) MOV.W #0x0, &0x170 // reset timer (4 cycles) BIC.W #0x1, &0x164 // must manually clear interrupt flag (4 cycles) //<------up to here 26 cycles + 6 cyles of Interrupt == 32 cycles --------> CMP #0003h, R5 // if (bits >= 3). it will do store bits JGE bit_Is_Over_Three // bit is not 3 CMP #0002h, R5 // if ( bits == 2) JEQ bit_Is_Two // if (bits == 2). // <----------------- bit is not 2 -------------------------------> CMP #0001h, R5 // if (bits == 1) -- measure RTcal value. JEQ bit_Is_One // bits == 1 // <-------------------- this is bit == 0 case ---------------------> bit_Is_Zero_In_Timer_Int: CLR R6 INC R5 // bits++ RETI // <------------------- end of bit 0 ---------------------------> // <-------------------- this is bit == 1 case ---------------------> bit_Is_One: // bits == 1. calculate RTcal value MOV R7, R9 // 1 cycle RRA R7 // R7(count) is divided by 2. 1 cycle MOV #0FFFFh, R8 // R8(pivot) is set to max value 1 cycle SUB R7, R8 // R8(pivot) = R8(pivot) -R7(count/2) make new R8(pivot) value 1 cycle INC R5 // bits++ CLR R6 RETI // <------------------ end of bit 1 ------------------------------> // <-------------------- this is bit == 2 case ---------------------> bit_Is_Two: CMP R9, R7 // if (count > (R9)(180)) this is hardcoded number, so have to change to proper value JGE this_Is_TRcal // this is data this_Is_Data_Bit: ADD R8, R7 // count = count + pivot ADDC.b @R4+,-1(R4) // roll left (emulated by adding to itself == multiply by 2 + carry) INC R6 CMP #0008,R6 // undo increment of dest* (R4) until we have 8 bits JGE out_p DEC R4 out_p: // decrement R4 if we haven't gotten 16 bits yet (3 or 4 cycles) BIC #0008h,R6 // when R6=8, this will set R6=0 (1 cycle) INC R5 RETI // <------------------ end of bit 2 ------------------------------> this_Is_TRcal: MOV R7, R5 // bits = count. use bits(R5) to assign new value ofvTRcal MOV.W R5, &TRcal // assign new value (4 cycles) MOV #0003h, R5 // bits = 3..assign 3 to bits, so it will keep track of current bits (2 cycles) CLR R6 // (1 cycle) RETI // <------------- this is bits >= 3 case -----------------------> bit_Is_Over_Three: // bits >= 3 , so store bits ADD R8, R7 // R7(count) = R8(pivot) + R7(count), // store bit by shifting carry flag into cmd[bits]=(dest*) and increment // dest* (5 cycles) ADDC.b @R4+,-1(R4) // roll left (emulated by adding to itself == multiply by 2 + carry) INC R6 CMP #0008,R6 // undo increment of dest* (R4) until we have 8 bits JGE out_p1 DEC R4 out_p1: // decrement R4 if we haven't gotten 16 bits yet (3 or 4 cycles) BIC #0008h,R6 // when R6=8, this will set R6=0 (1 cycle) INC R5 // bits++ RETI // <------------------ end of bit is over 3 ------------------------------> CFI EndBlock cfiBlock1 REQUIRE TAR REQUIRE TACCTL1 REQUIRE bits COMMON INTVEC:CONST:ROOT(1) ORG 48 `??TimerA1_ISR??INTVEC 48`: DC16 TimerA1_ISR END // // 6 bytes in segment CODE // 6 bytes in segment DATA16_AN // 2 bytes in segment INTVEC // 106 bytes in segment ISR_CODE // // 112 bytes of CODE memory // 0 bytes of CONST memory (+ 2 bytes shared) // 0 bytes of DATA memory (+ 6 bytes shared) // //Errors: none //Warnings: none
38.846154
120
0.460891
e999eb04f7fe8eca033e294ba58753865ff57f0f
168
asm
Assembly
libsrc/_DEVELOPMENT/l/sccz80/crt0_8085/crt0_variables.asm
yottatsa/z88dk
3d10c34737613cf0abcc4add8ba862d6750e51d5
[ "ClArtistic" ]
1
2021-08-04T03:14:51.000Z
2021-08-04T03:14:51.000Z
libsrc/_DEVELOPMENT/l/sccz80/crt0_8085/crt0_variables.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/l/sccz80/crt0_8085/crt0_variables.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
null
null
null
; 8085 has severe register constriction so we need some temporaries SECTION bss_crt PUBLIC __retloc PUBLIC __retloc2 __retloc: defw 0 __retloc2: defw 0
14
67
0.75
5a9dcc4770c8f942da7efaecc4293ad77799acaf
587
asm
Assembly
programs/oeis/168/A168014.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/168/A168014.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/168/A168014.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A168014: Sum of all parts of all partitions of n into equal parts that do not contain 1 as a part. ; 0,0,2,3,8,5,18,7,24,18,30,11,60,13,42,45,64,17,90,19,100,63,66,23,168,50,78,81,140,29,210,31,160,99,102,105,288,37,114,117,280,41,294,43,220,225,138,47,432,98,250,153,260,53,378,165,392,171,174,59,660,61,186,315,384,195,462,67,340,207,490,71,792,73,222,375,380,231,546,79,720,324,246,83,924,255,258,261,616,89,990,273,460,279,282,285,1056,97,490,495 mov $1,$0 seq $0,32741 ; a(0) = 0; for n > 0, a(n) = number of proper divisors of n (divisors of n which are less than n). mul $0,$1
83.857143
351
0.69506
b26d7fc42c87d6815ad2c57961bf8b53500d0342
8,169
asm
Assembly
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_407.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_407.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_407.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 %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x798d, %rbx nop nop nop sub $6876, %rsi movups (%rbx), %xmm7 vpextrq $1, %xmm7, %r8 xor $14126, %r9 lea addresses_WC_ht+0x40c3, %rcx nop nop nop nop and $3987, %r8 movb (%rcx), %bl add %r9, %r9 lea addresses_normal_ht+0x1a341, %rdx nop nop and $46090, %r9 movw $0x6162, (%rdx) nop nop nop nop nop inc %rdx lea addresses_D_ht+0x74c1, %rcx mfence vmovups (%rcx), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %r9 nop nop nop nop nop and $24388, %rbx lea addresses_D_ht+0x1d61, %rsi lea addresses_A_ht+0x4b55, %rdi nop nop nop nop nop cmp %rax, %rax mov $72, %rcx rep movsw nop nop nop nop cmp %rsi, %rsi lea addresses_D_ht+0xad11, %rsi nop nop sub $19619, %rcx mov $0x6162636465666768, %rax movq %rax, (%rsi) nop nop nop nop nop cmp $59059, %r9 lea addresses_WT_ht+0x1de0d, %r9 clflush (%r9) dec %rsi mov $0x6162636465666768, %rax movq %rax, %xmm0 vmovups %ymm0, (%r9) nop nop nop nop nop sub %rbx, %rbx lea addresses_D_ht+0x2f41, %rsi lea addresses_WT_ht+0x1db41, %rdi nop nop nop nop nop cmp %rdx, %rdx mov $71, %rcx rep movsw nop nop nop nop nop inc %rax lea addresses_D_ht+0x18441, %rsi lea addresses_WT_ht+0x81c1, %rdi nop nop nop and %rbx, %rbx mov $22, %rcx rep movsl nop nop nop add $19506, %rsi lea addresses_A_ht+0x3c81, %rsi lea addresses_UC_ht+0x1857d, %rdi clflush (%rdi) add $27695, %r9 mov $53, %rcx rep movsw nop nop nop nop nop cmp $57660, %rbx lea addresses_A_ht+0x18c41, %r8 nop nop nop nop xor %rdi, %rdi mov $0x6162636465666768, %rbx movq %rbx, %xmm0 vmovups %ymm0, (%r8) add $60069, %r9 lea addresses_WT_ht+0x1df41, %r8 nop xor $49131, %r9 mov (%r8), %cx nop nop nop nop nop cmp %r9, %r9 lea addresses_WC_ht+0x1bb41, %rsi lea addresses_WT_ht+0x1c5a5, %rdi clflush (%rsi) nop nop cmp %r8, %r8 mov $24, %rcx rep movsw and $6442, %rcx lea addresses_A_ht+0xd441, %rsi lea addresses_WC_ht+0x10935, %rdi clflush (%rdi) nop nop nop nop nop dec %rax mov $52, %rcx rep movsq nop nop nop nop add $18640, %rcx lea addresses_normal_ht+0x9341, %rax cmp $47713, %r8 movl $0x61626364, (%rax) nop nop nop nop xor %rsi, %rsi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rax pop %r9 pop %r8 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r14 push %rax push %rbp push %rdx // Load lea addresses_RW+0x153c1, %rdx nop nop nop sub $16412, %rbp movb (%rdx), %r14b nop nop nop nop inc %rax // Faulty Load lea addresses_US+0x2b41, %rdx clflush (%rdx) nop add %r11, %r11 mov (%rdx), %r10d lea oracles, %rbp and $0xff, %r10 shlq $12, %r10 mov (%rbp,%r10,1), %r10 pop %rdx pop %rbp pop %rax pop %r14 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_US'}, 'OP': 'LOAD'} {'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 4, 'NT': False, 'type': 'addresses_US'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}} {'src': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_A_ht'}} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 8, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_A_ht'}} {'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 2, 'same': True, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 8, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal_ht'}} {'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 */
31.785992
2,999
0.657608
c57063db531be40e44ee095e520ea9fa54fd7c6e
352
asm
Assembly
programs/oeis/174/A174989.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/174/A174989.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/174/A174989.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A174989: Partial sums of A003602. ; 1,2,4,5,8,10,14,15,20,23,29,31,38,42,50,51,60,65,75,78,89,95,107,109,122,129,143,147,162,170,186,187,204,213,231,236,255,265,285,288,309,320,342,348,371,383,407,409,434,447,473,480,507,521,549,553,582,597 mov $1,$0 lpb $1 mov $2,$1 sub $1,1 div $1,2 sub $2,$1 pow $2,2 add $0,$2 lpe div $0,2 add $0,1
23.466667
206
0.642045
aa76ce2141cd293d0ef027edfd637d4724d45114
914
nasm
Assembly
Assignment6/poly_map.nasm
xen0vas/SLAE
192cc7ccfbe5170681a886648330fc4c150ae8bd
[ "MIT" ]
1
2021-02-03T20:37:59.000Z
2021-02-03T20:37:59.000Z
Assignment6/poly_map.nasm
xen0vas/SLAE
192cc7ccfbe5170681a886648330fc4c150ae8bd
[ "MIT" ]
null
null
null
Assignment6/poly_map.nasm
xen0vas/SLAE
192cc7ccfbe5170681a886648330fc4c150ae8bd
[ "MIT" ]
2
2019-11-19T20:41:23.000Z
2021-02-03T20:40:03.000Z
; poly_map.nasm ; ; Adding a record in /etc/hosts ; ; Author: Xenofon Vassilakopoulos ; ; Student ID: SLAE - 1314 global _start section .text _start: xor ecx, ecx xor edx, edx xor eax, eax mov DWORD [esp-0x4],ecx mov DWORD [esp-0x8],0x7374736f mov DWORD [esp-0xc],0x682f2f2f mov DWORD [esp-0x10],0x6374652f sub esp,0x10 mov ebx,esp mov cx, 0x3b1 ;permmisions add cx, 0x50 mov al, 0x5 int 0x80 ;syscall to open file mov ebx, eax xor eax, eax jmp short _ldata ;jmp-call-pop technique to load the map write_data: pop ecx mov dl,0x12 add dl,0x3 mov al,0x4 int 0x80 ;syscall to write in the file add al,0x2 int 0x80 ;syscall to close the file xor eax,eax mov al,0x1 int 0x80 ;syscall to exit _ldata: call write_data message db "127.1.1.1 google.com",0x0A
19.041667
63
0.61488
79a55debbe95d8ce17dd8e710f7d2bf8284d82ef
672
asm
Assembly
oeis/175/A175014.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/175/A175014.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/175/A175014.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A175014: y-values in the solution to x^2-55*y^2=1. ; Submitted by Jamie Morken(w4) ; 0,12,2136,380196,67672752,12045369660,2144008126728,381621401187924,67926465403323744,12090529220390438508,2152046274764094730680,383052146378788471622532,68181130009149583854080016,12135858089482247137554620316,2160114558797830840900868336232,384488255607924407433217009228980,68436749383651746692271726774422208,12181356902034402986816934148837924044,2168213091812740079906722006766376057624,385929748985765699820409700270266100333028,68693327106374481827953019926100599483221360 lpb $0 sub $0,1 mov $1,$3 mul $1,176 add $2,1 add $2,$1 add $3,$2 lpe mov $0,$2 mul $0,12
44.8
483
0.849702
e86cd9ffe2c2615ca3d84937ca3c12531924bfa1
466
asm
Assembly
data/pokemon/base_stats/sinnoh/turtwig.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
null
null
null
data/pokemon/base_stats/sinnoh/turtwig.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
null
null
null
data/pokemon/base_stats/sinnoh/turtwig.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
null
null
null
db 0 ; 387 DEX NO db 55, 68, 64, 31, 45, 55 ; hp atk def spd sat sdf db GRASS, GRASS ; type db 45 ; catch rate db 64 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F12_5 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/sinnoh/turtwig/front.dimensions" db 0, 0, 0, 0 ; padding db GROWTH_MEDIUM_SLOW ; growth rate dn EGG_MONSTER, EGG_PLANT ; egg groups ; tm/hm learnset tmhm ; end
21.181818
53
0.665236
62d5c746c79a3127a756f9a425e87f01d93c0fca
6,617
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1551.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1551.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1551.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 %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1369, %r11 nop nop cmp %rdx, %rdx movups (%r11), %xmm1 vpextrq $1, %xmm1, %rbp nop nop nop inc %r15 lea addresses_UC_ht+0x1dd69, %rsi lea addresses_UC_ht+0x2b69, %rdi and $57867, %rbx mov $44, %rcx rep movsb nop nop nop and $60038, %rdi lea addresses_WT_ht+0x6b69, %rdi nop nop xor $39285, %rcx movb (%rdi), %r15b nop nop nop dec %rbx lea addresses_normal_ht+0x13369, %rsi lea addresses_A_ht+0x1a39, %rdi nop nop nop nop sub %r15, %r15 mov $58, %rcx rep movsl nop xor $20353, %rsi lea addresses_normal_ht+0x5f69, %rbp nop nop nop nop xor %rdx, %rdx movups (%rbp), %xmm6 vpextrq $0, %xmm6, %r11 nop nop nop nop add $9169, %r15 lea addresses_D_ht+0x1da29, %rsi nop nop nop add %r11, %r11 mov $0x6162636465666768, %rdi movq %rdi, %xmm3 movups %xmm3, (%rsi) nop nop nop nop sub %rdi, %rdi lea addresses_WT_ht+0xf149, %rsi lea addresses_WC_ht+0x1df69, %rdi nop nop nop nop nop xor $60072, %r11 mov $52, %rcx rep movsw nop nop nop nop nop xor %rbp, %rbp lea addresses_UC_ht+0x83d3, %r15 nop nop nop nop xor %rdi, %rdi mov (%r15), %rsi nop nop nop cmp %rdx, %rdx lea addresses_normal_ht+0x1b33d, %rsi lea addresses_UC_ht+0x13169, %rdi nop nop nop nop cmp $50007, %r15 mov $100, %rcx rep movsb nop add %rbx, %rbx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rbp pop %r15 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r15 push %r9 push %rax push %rdx push %rsi // Store lea addresses_UC+0x1b142, %r15 clflush (%r15) nop and $50743, %rax mov $0x5152535455565758, %rsi movq %rsi, %xmm0 vmovups %ymm0, (%r15) cmp %r14, %r14 // Faulty Load lea addresses_normal+0x4369, %r10 nop nop cmp %r9, %r9 mov (%r10), %rsi lea oracles, %rdx and $0xff, %rsi shlq $12, %rsi mov (%rdx,%rsi,1), %rsi pop %rsi pop %rdx pop %rax pop %r9 pop %r15 pop %r14 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_UC'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 0, 'same': True, 'type': 'addresses_normal'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 10, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 9, 'same': True, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 10, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 11, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 6, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'} {'src': {'congruent': 4, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 1, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'34': 21829} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
36.15847
2,999
0.660874
4b2e1991e38961b568e605367fe997f3349821c2
779
asm
Assembly
exercises/ptr.asm
amirshnll/assembly-exercises
473d970bfa48655b51ca238f961e434700f21ced
[ "MIT" ]
4
2019-11-17T02:35:34.000Z
2022-01-08T10:30:29.000Z
exercises/ptr.asm
amirshnll/assembly-exercises
473d970bfa48655b51ca238f961e434700f21ced
[ "MIT" ]
null
null
null
exercises/ptr.asm
amirshnll/assembly-exercises
473d970bfa48655b51ca238f961e434700f21ced
[ "MIT" ]
null
null
null
; multi-segment executable file template. data segment ; add your data here! x db 10 y db 100 z dw 12efh k dd 12005e32h ; q dq 0 pkey db "press any key...$" ends stack segment dw 128 dup(0) ends code segment start: ; set segment registers: mov ax, data mov ds, ax mov es, ax ; add your code here mov al,byte ptr z mov bl,byte ptr z+1 mov cx, word ptr k mov dx, word ptr k+1 ;dx=005e mov word ptr k+2,5a00h lea dx, pkey mov ah, 9 int 21h ; output string at ds:dx ; wait for any key.... mov ah, 1 int 21h mov ax, 4c00h ; exit to operating system. int 21h ends end start ; set entry point and stop the assembler.
16.229167
51
0.559692
528e1cd0808f9b13ef3c1e084283162b04e78cfd
6,411
asm
Assembly
audio/music/route201.asm
AtmaBuster/pokeplat-gen2
fa83b2e75575949b8f72cb2c48f7a1042e97f70f
[ "blessing" ]
6
2021-06-19T06:41:19.000Z
2022-02-15T17:12:33.000Z
audio/music/route201.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
audio/music/route201.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
2
2021-08-11T19:47:07.000Z
2022-01-01T07:07:56.000Z
Music_Route201: channel_count 4 channel 1, Music_Route201_Ch1 channel 2, Music_Route201_Ch2 channel 3, Music_Route201_Ch3 channel 4, Music_Route201_Ch4 Music_Route201_Ch1_sub_0: note C_, 2 note F_, 2 note C_, 2 note E_, 2 note C_, 2 note E_, 2 note C_, 2 note G_, 2 octave 2 note G_, 2 note A_, 2 note B_, 2 octave 3 note C_, 2 octave 2 note G_, 2 octave 3 note E_, 2 note C_, 2 sound_ret Music_Route201_Ch1_sub_1: stereo_panning TRUE, TRUE octave 2 note C_, 1 rest 1 note C_, 2 octave 3 stereo_panning TRUE, FALSE note C_, 4 sound_ret Music_Route201_Ch1:: tempo 160 volume 7, 7 stereo_panning TRUE, FALSE vibrato 18, 2, 2 duty_cycle 3 note_type 12, 9, 2 rest 4 octave 3 note C_, 4 rest 4 note C_, 4 rest 4 note D_, 4 rest 4 note C_, 4 .loop rest 4 volume_envelope 10, 2 note E_, 2 octave 2 note G_, 3 rest 3 octave 3 note E_, 2 octave 2 note G_, 3 rest 3 octave 3 note F_, 2 octave 2 note A_, 3 rest 3 octave 3 note E_, 2 octave 2 note G_, 3 rest 1 note A_, 2 octave 3 note F_, 2 octave 2 note A_, 2 rest 2 note G_, 2 octave 3 note E_, 2 octave 2 note G_, 2 rest 2 note A_, 2 octave 3 note F_, 2 note F#, 2 rest 2 octave 2 note A_, 2 octave 3 note A_, 2 note G_, 2 note F_, 2 sound_call Music_Route201_Ch1_sub_0 note F_, 2 sound_call Music_Route201_Ch1_sub_0 volume_envelope 10, 6 note C_, 6 note E_, 6 note D_, 4 note C_, 2 note D_, 2 note C_, 2 octave 2 note G_, 2 octave 3 note C_, 2 octave 2 note E_, 4 octave 3 note C_, 2 note C_, 6 note E_, 6 note D_, 4 volume_envelope 10, 2 note C_, 4 note C_, 4 note C_, 4 note D_, 4 volume_envelope 10, 2 sound_call Music_Route201_Ch1_sub_1 sound_call Music_Route201_Ch1_sub_1 rest 4 stereo_panning TRUE, FALSE note D_, 4 rest 4 note C_, 4 sound_loop 0, .loop Music_Route201_Ch2_sub_0: octave 3 note E_, 2 octave 2 note G_, 6 octave 3 note F_, 2 octave 2 note A_, 6 octave 3 stereo_panning FALSE, TRUE note G_, 2 octave 2 note B_, 6 octave 3 note F_, 2 octave 2 note A_, 2 sound_ret Music_Route201_Ch2:: stereo_panning FALSE, TRUE vibrato 22, 1, 1 duty_cycle 3 note_type 12, 11, 2 rest 4 sound_call Music_Route201_Ch2_sub_0 .loop note_type 12, 10, 4 octave 4 note G_, 2 note F_, 2 note E_, 2 note F_, 2 note E_, 2 note C_, 2 octave 3 note G_, 4 note A_, 2 note G_, 2 note A_, 2 note B_, 2 octave 4 note C_, 2 note G_, 6 note A_, 2 note G_, 2 note A_, 2 note B_, 2 octave 5 note C_, 2 octave 4 note G_, 6 note F_, 2 note E_, 2 note D_, 2 note C_, 2 volume_envelope 10, 2 note A_, 4 note G_, 4 duty_cycle 0 volume_envelope 11, 4 note C_, 2 rest 2 note C_, 2 rest 2 note C_, 2 rest 2 note C_, 2 rest 2 note G_, 2 note F_, 2 note E_, 2 note D_, 2 note E_, 2 note C_, 2 octave 3 note G_, 2 octave 4 note D_, 2 note C_, 2 rest 2 note C_, 2 rest 2 note C_, 2 rest 2 note C_, 2 rest 2 octave 3 note G_, 2 octave 4 note D_, 2 note E_, 2 note D_, 2 rest 2 note C_, 6 stereo_panning TRUE, TRUE volume_envelope 8, 5 duty_cycle 2 octave 2 note F_, 6 note F_, 2 note G_, 2 note G_, 4 note G_, 2 note E_, 6 note E_, 2 note C_, 2 note C_, 4 note E_, 2 note F_, 6 note F_, 2 note C_, 2 note C_, 4 note C_, 2 note F_, 6 note F_, 2 note C_, 2 note F_, 2 note G_, 2 note B_, 2 rest 4 duty_cycle 3 volume_envelope 12, 2 sound_call Music_Route201_Ch2_sub_0 sound_loop 0, .loop Music_Route201_Ch3_sub_0: rest 3 note F_, 1 rest 3 note C_, 1 rest 3 note C_, 1 rest 3 note G_, 2 rest 4 note G_, 2 note C_, 2 rest 4 note C_, 2 sound_ret Music_Route201_Ch3_sub_1: note C_, 1 rest 1 note C_, 5 rest 1 note C_, 1 rest 1 note C_, 5 sound_ret Music_Route201_Ch3_sub_2: note G_, 6 octave 6 note C_, 6 octave 5 note B_, 4 note A_, 2 note G_, 2 note E_, 2 sound_ret Music_Route201_Ch3_sub_3: note F_, 5 rest 1 note C_, 1 rest 1 note C_, 5 rest 1 note F_, 1 rest 1 sound_ret Music_Route201_Ch3:: stereo_panning TRUE, TRUE vibrato 16, 2, 3 note_type 12, 2, 5 octave 3 sound_call Music_Route201_Ch3_sub_1 rest 1 sound_call Music_Route201_Ch3_sub_1 rest 1 .loop note C_, 1 rest 1 note C_, 5 rest 1 note E_, 1 rest 1 note E_, 5 rest 1 note F_, 1 rest 1 sound_call Music_Route201_Ch3_sub_3 sound_call Music_Route201_Ch3_sub_3 note F_, 5 rest 1 note G_, 1 rest 1 note G_, 5 rest 1 note F_, 1 sound_call Music_Route201_Ch3_sub_0 note F_, 1 sound_call Music_Route201_Ch3_sub_0 stereo_panning FALSE, TRUE octave 5 sound_call Music_Route201_Ch3_sub_2 note D_, 2 note E_, 2 note C_, 4 note A_, 2 sound_call Music_Route201_Ch3_sub_2 note C_, 4 octave 4 note G_, 2 octave 5 note D_, 2 note C_, 2 note C_, 16 octave 3 stereo_panning TRUE, TRUE sound_call Music_Route201_Ch3_sub_1 rest 1 sound_loop 0, .loop Music_Route201_Ch4_sub_0: drum_note 3, 2 drum_note 3, 2 drum_note 7, 4 sound_ret Music_Route201_Ch4_sub_1: drum_note 3, 2 drum_note 3, 2 drum_note 7, 2 drum_note 7, 2 sound_ret Music_Route201_Ch4_sub_2: drum_note 7, 4 drum_note 7, 4 drum_note 7, 4 drum_note 7, 4 sound_ret Music_Route201_Ch4_sub_3: drum_note 7, 3 drum_note 7, 1 drum_note 3, 3 drum_note 3, 1 drum_note 7, 1 drum_note 7, 2 drum_note 7, 1 drum_note 3, 3 drum_note 3, 1 sound_ret Music_Route201_Ch4:: toggle_noise 3 drum_speed 12 sound_call Music_Route201_Ch4_sub_0 sound_call Music_Route201_Ch4_sub_0 sound_call Music_Route201_Ch4_sub_0 sound_call Music_Route201_Ch4_sub_0 .loop drum_note 3, 4 drum_note 7, 4 drum_note 3, 2 drum_note 3, 2 drum_note 7, 4 sound_call Music_Route201_Ch4_sub_1 drum_note 3, 2 drum_note 7, 6 sound_call Music_Route201_Ch4_sub_1 sound_call Music_Route201_Ch4_sub_1 sound_call Music_Route201_Ch4_sub_1 drum_note 3, 2 drum_note 7, 2 drum_note 7, 4 sound_call Music_Route201_Ch4_sub_2 sound_call Music_Route201_Ch4_sub_2 sound_call Music_Route201_Ch4_sub_2 sound_call Music_Route201_Ch4_sub_2 sound_call Music_Route201_Ch4_sub_3 sound_call Music_Route201_Ch4_sub_3 sound_call Music_Route201_Ch4_sub_3 drum_note 3, 1 drum_note 3, 2 drum_note 3, 1 drum_note 3, 1 drum_note 3, 2 drum_note 3, 1 drum_note 7, 2 drum_note 7, 2 drum_note 3, 2 drum_note 3, 2 sound_call Music_Route201_Ch4_sub_0 sound_call Music_Route201_Ch4_sub_0 sound_call Music_Route201_Ch4_sub_0 sound_call Music_Route201_Ch4_sub_0 sound_loop 0, .loop
15.014052
36
0.723288
ab682289efc1e019ffc6e97809e71ca13274a9a5
3,792
asm
Assembly
ispw/src/test/demo-workspace/rjk2/ASM/TRIRPTA.asm
david-kennedy/vscode-ispw
3d0688ba0038870961879e7dc34c4472d7f7ae72
[ "MIT" ]
5
2021-03-20T01:09:50.000Z
2022-01-06T21:51:15.000Z
ispw/src/test/demo-workspace/rjk2/ASM/TRIRPTA.asm
david-kennedy/vscode-ispw
3d0688ba0038870961879e7dc34c4472d7f7ae72
[ "MIT" ]
null
null
null
ispw/src/test/demo-workspace/rjk2/ASM/TRIRPTA.asm
david-kennedy/vscode-ispw
3d0688ba0038870961879e7dc34c4472d7f7ae72
[ "MIT" ]
2
2021-11-04T14:45:48.000Z
2022-02-09T20:04:03.000Z
TRIRPTA CSECT R1 EQU 1 R2 EQU 2 R3 EQU 3 R5 EQU 5 R6 EQU 6 R11 EQU 11 R12 EQU 12 R13 EQU 13 R14 EQU 14 R15 EQU 15 USING *,R15 ******************************************************** SETUP EQU * * STM R14,R12,12(R13) * SAVE REGISTERS LR R12,R15 * DROP R15 * OPEN UP USING TRIRPTA,R12 * LA R11,SAVEAREA * ST R13,4(R11) * CHAIN SAVE AREAS ST R11,8(R13) * LR R13,R11 * ******************************************************** ********* START INSTRUCTIONS ************************ START EQU * L R2,0(R1) POINT TO PARAMETER LIST LR R6,R2 SAVE ADDRESS IN R6 LA R3,TRI1 POINT R3 TO TITLES LA R5,4 SET COUNTER IN R5 USING TYPES,R2 SET ADDRESS FOR DSECT OPEN (OUTDCB,OUTPUT) OPEN OUTPUT FILE PUT OUTDCB,TITLE WRITE TITLE PUT OUTDCB,BLANK WRITE BLANK LINE BLDLINE MVC NUMBER,PATTERN MOVE EDIT PATTERN TO NUMBER ED NUMBER,0(R2) SET # OF TRIANGLES MVC TRITYP,0(R3) MOVE TITLE TO PRINTLN PRINT PUT OUTDCB,PRINTLN PRINT PRINTLN LA R2,2(,R2) BUMP POINTER TO NEXT TYPE LA R3,33(,R3) BUMP POINTER TO NEXT TITLE MVC NUMBER,=XL2'F0' ZERO OUT FIELD GOBACK BCT R5,BLDLINE DO IT AGAIN PUT OUTDCB,BLANK WRITE BLANK LINE LR R2,R6 POINT R2 TO PARAMETER LIST AP TYPEI,TYPEII SUM # OF TRIANGLES AP TYPEI,TYPEIII " AP TYPEI,TYPEIV " MVC NUMBER,PATTERN MOVE EDIT PATTERN TO NUMBER ED NUMBER,0(R2) SET # OF TRIANGLES MVC TRITYP,0(R3) MOVE TITLE TO PRINTLN PUT OUTDCB,PRINTLN PRINT PRINTLN CLOSE OUTDCB CLOSE OUTPUT FILE ********* END INSTRUCTIONS ************************ ******************************************************** SR R15,R15 * L R13,4(R13) * LM R14,R12,12(R13) * CLOSE UP BR R14 * ******************************************************** ********* DEFINITIONS ****************************** ******************************************************** SAVEAREA DS 0D DC 72X'0' ********* DEFINITIONS ************************** ******************************************************** OUTDCB DCB DSORG=PS,MACRF=(PM),DDNAME=OUTFILE, X RECFM=FB,LRECL=80 ******************************************************** TITLE DC CL33' *** TRIANGLE REPORT ***' BLANK DC 80C' ' TRI1 DC CL33'EQUILATERAL TRIANGLES' TRI2 DC CL33'ISOSCELES TRIANGLES ' TRI3 DC CL33'SCALENE TRIANGLES ' TRI4 DC CL33'INVALID TRIANGLES ' TRI#S DC CL33'INPUT RECORDS ' PRINTLN DS 0CL80 DC CL11'NUMBER OF ' TRITYP DC CL33' ' NUMBER DC ZL4'0' DC CL34' ' PATTERN DC XL4'40202120' ******************************************************** TYPES DSECT DS 0CL6 TYPEI DS PL2 TYPEII DS PL2 TYPEIII DS PL2 TYPEIV DS PL2 END TRIRPTA
43.090909
73
0.370517
014e2eebc180dfd31f6493891d9b2d055c902e89
392
asm
Assembly
oeis/328/A328981.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/328/A328981.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/328/A328981.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A328981: Indicator function of numbers whose binary representation ends in an even positive number of 0's. ; 0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1 add $0,1 mov $2,$0 lpb $0 dif $0,2 sub $2,3 lpe mov $0,$2 add $0,3 mod $0,2
30.153846
201
0.586735
e28912b82208896a89fa179583402a5ef791cb09
138
asm
Assembly
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font03/_ff_dkud4_Font03.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font03/_ff_dkud4_Font03.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font03/_ff_dkud4_Font03.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION rodata_font SECTION rodata_font_fzx PUBLIC _ff_dkud4_Font03 _ff_dkud4_Font03: BINARY "font/fzx/fonts/dkud4/Font03/font03.fzx"
13.8
47
0.84058
41e7e154394b52a0c505df5297021bca4088e06f
1,091
asm
Assembly
test/ir/sumEven.asm
kpsunil/gogo
e2579606fab0ad260dc3beeaaba49603c7842299
[ "MIT" ]
2
2018-08-21T06:30:16.000Z
2018-08-22T05:25:19.000Z
test/ir/sumEven.asm
kpsunil/gogo
e2579606fab0ad260dc3beeaaba49603c7842299
[ "MIT" ]
null
null
null
test/ir/sumEven.asm
kpsunil/gogo
e2579606fab0ad260dc3beeaaba49603c7842299
[ "MIT" ]
1
2018-08-21T06:30:21.000Z
2018-08-21T06:30:21.000Z
# Test to find sum of all even numbers less than n .data nStr: .asciiz "Enter n: " n: .word 0 i: .word 0 k: .word 0 l: .word 0 str: .asciiz "Sum of all even numbers less than n: " .text .globl main .ent main main: li $v0, 4 la $a0, nStr syscall li $v0, 5 syscall move $t1, $v0 li $t4, 0 # i -> $t4 sw $t1, n # spilled n, freed $t1 li $t1, 0 # k -> $t1 # Store variables back into memory sw $t1, k sw $t4, i loop: lw $t1, i lw $t4, n bge $t1, $t4, exit # exit -> $t0 rem $t3, $t1, 2 # l -> $t3 # Store variables back into memory sw $t1, i sw $t4, n sw $t3, l lw $t1, l beq $t1, 1, skip # skip -> $t0 lw $t4, k sw $t1, l # spilled l, freed $t1 lw $t1, i add $t4, $t4, $t1 # k -> $t4 addi $t1, $t1, 1 # i -> $t1 # Store variables back into memory sw $t1, i sw $t4, k j loop skip: lw $t1, i addi $t1, $t1, 1 # i -> $t1 # Store variables back into memory sw $t1, i j loop exit: li $v0, 4 la $a0, str syscall li $v0, 1 lw $t1, k move $a0, $t1 syscall # Store variables back into memory sw $t1, k li $v0, 10 syscall .end main
14.546667
52
0.568286
7bddf7ae187fae2f5676594cc5fed2926adf4ce5
597
asm
Assembly
oeis/053/A053699.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/053/A053699.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/053/A053699.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A053699: a(n) = n^4 + n^3 + n^2 + n + 1. ; 1,5,31,121,341,781,1555,2801,4681,7381,11111,16105,22621,30941,41371,54241,69905,88741,111151,137561,168421,204205,245411,292561,346201,406901,475255,551881,637421,732541,837931,954305,1082401,1222981,1376831,1544761,1727605,1926221,2141491,2374321,2625641,2896405,3187591,3500201,3835261,4193821,4576955,4985761,5421361,5884901,6377551,6900505,7454981,8042221,8663491,9320081,10013305,10744501,11515031,12326281,13179661,14076605,15018571,16007041,17043521,18129541,19266655,20456441,21700501 mov $1,$0 pow $0,2 add $1,$0 add $0,1 mul $0,$1 add $0,1
59.7
495
0.79062
97976866f5b6f9dce577a6e7144922e858476c63
3,268
asm
Assembly
asm/script/story/episode_12/script.asm
h3rmit-git/F-Zero-Climax-GBA-Translation
233901558ce721b75d643872bfa89cdebef8cd0a
[ "MIT", "Unlicense" ]
6
2019-05-15T09:08:51.000Z
2021-11-01T18:40:10.000Z
asm/script/story/episode_12/script.asm
h3rmit-git/F-Zero-Climax-GBA-Translation
233901558ce721b75d643872bfa89cdebef8cd0a
[ "MIT", "Unlicense" ]
2
2019-05-21T11:34:55.000Z
2019-06-11T09:53:02.000Z
asm/script/story/episode_12/script.asm
h3rmit-git/F-Zero-Climax-GBA-Translation
233901558ce721b75d643872bfa89cdebef8cd0a
[ "MIT", "Unlicense" ]
4
2017-03-04T07:07:05.000Z
2021-11-15T15:28:38.000Z
; F-Zero Climax Translation by Normmatt .align 4 StoryEpisode12PointerList: .word Episode12_Line1 .word Episode12_Line2 .word Episode12_Line3 .word Episode12_Line4 .word Episode12_Line5 .word Episode12_Line6 .word Episode12_Line7 .word Episode12_Line8 .word Episode12_Line9 .word Episode12_Line10 .word Episode12_Line11 .word Episode12_Line12 .word Episode12_Line13 .word Episode12_Line14 .word Episode12_Line15 .word Episode12_Line16 .word Episode12_Line17 .word Episode12_Line18 .word Episode12_Line19 .word Episode12_Line20 .word Episode12_Line21 .word Episode12_Line22 .word Episode12_Line23 .word Episode12_Line24 .word Episode12_Line25 .word Episode12_Line26 .word Episode12_Line27 .word Episode12_Line28 .word Episode12_Line29 .word Episode12_Line30 .word Episode12_Line31 .word Episode12_Line32 .word Episode12_Line33 .word Episode12_Line34 .word Episode12_Line35 .word EOF .word EOF Episode12_Line1: .ascii "Zoda's lead is abruptly taken" TextEnd Episode12_Line2: .ascii "away by his supposed ally, Miss Killer." TextEnd Episode12_Line3: .ascii "His machine breaks down, leaving" TextEnd Episode12_Line4: .ascii "him upset." TextEnd Episode12_Line5: .ascii "The next race is the \"Christmas" TextEnd Episode12_Line6: .ascii "Cup\", taking place at" TextEnd Episode12_Line7: .ascii "shooting-star-barraged Outer" TextEnd Episode12_Line8: .ascii "Space: Meteor Stream. Miss Killer" TextEnd Episode12_Line9: .ascii "wants to present a victory to" TextEnd Episode12_Line10: .ascii "Black Shadow; Zoda is" TextEnd Episode12_Line11: .ascii "mysteriously absent. Ryu and" TextEnd Episode12_Line12: .ascii "friends also cautiously enter" TextEnd Episode12_Line13: .ascii "the race. And as it turns out, a" TextEnd Episode12_Line14: .ascii "very unpleasant Christmas" TextEnd Episode12_Line15: .ascii "present has been prepared for" TextEnd Episode12_Line16: .ascii "them -- Ryu, Captain Falcon, and" TextEnd Episode12_Line17: .ascii "Miss Killer are dead even as a" TextEnd Episode12_Line18: .ascii "meteor suddenly bombards the" TextEnd Episode12_Line19: .ascii "track!" TextEnd Episode12_Line20: .ascii "Someone -- Zoda -- has" TextEnd Episode12_Line21: .ascii "deactivated the barrier above" TextEnd Episode12_Line22: .ascii "the track." TextEnd Episode12_Line23: .ascii "Zoda ignored even the danger to" TextEnd Episode12_Line24: .ascii "his ally Miss Killer in his efforts" TextEnd Episode12_Line25: .ascii "to attack Ryu and Falcon. But" TextEnd Episode12_Line26: .ascii "then the Black Bull appeared in" TextEnd Episode12_Line27: .ascii "the race! The enemy-scattering" TextEnd Episode12_Line28: .ascii "vehicle protects Miss Killer this" TextEnd Episode12_Line29: .ascii "time and explodes... but the" TextEnd Episode12_Line30: .ascii "driver is in fact not Black" TextEnd Episode12_Line31: .ascii "Shadow, but a a decoy robot. Ryu" TextEnd Episode12_Line32: .ascii "and friends gape in astonishment" TextEnd Episode12_Line33: .ascii "as the real Black Bull whooshes" TextEnd Episode12_Line34: .ascii "past them, cackling as he takes" TextEnd Episode12_Line35: .ascii "Miss Killer with him." TextEnd ; make sure to leave an empty line at the end
21.642384
49
0.784578
473547d126f2b71dcac9443f7cc021bc2ea2adf0
16,115
asm
Assembly
libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_tritone/m_triceropop.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_tritone/m_triceropop.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/EXAMPLES/zx/demo_tritone/m_triceropop.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION TRICEROPOP org 55000 ; *** Song layout *** LOOPSTART: DEFW PAT0 DEFW PAT0 DEFW PAT0 DEFW PAT0 DEFW PAT4 DEFW PAT3 DEFW PAT4 DEFW PAT3 DEFW PAT9 DEFW PAT9 DEFW PAT10 DEFW PAT10 DEFW PAT15 DEFW PAT15 DEFW PAT16 DEFW PAT16 DEFW PAT11 DEFW PAT12 DEFW PAT3 DEFW PAT4 DEFW PAT0 DEFW PAT0 DEFW PAT0 DEFW PAT0 DEFW PAT4 DEFW PAT3 DEFW PAT4 DEFW PAT3 DEFW PAT9 DEFW PAT10 DEFW PAT15 DEFW PAT27 DEFW PAT22 DEFW PAT23 DEFW PAT24 DEFW PAT25 DEFW PAT26 DEFW PAT26 DEFW PAT15 DEFW PAT15 DEFW PAT27 DEFW PAT27 DEFW PAT22 DEFW PAT23 DEFW PAT24 DEFW PAT25 DEFW $0000 DEFW LOOPSTART ; *** Patterns *** PAT0: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$80,$76,$F1,$61,$90,$EC DEFB $80,$EC,$01 ,$E1,$D8 DEFB $80,$76,$01 ,$90,$EC DEFB $80,$EC,$01 ,$91,$D8 DEFB $04,$80,$8C,$F1,$A4,$91,$18 DEFB $81,$18,$01 ,$E2,$31 DEFB $80,$8C,$01 ,$91,$18 DEFB $81,$18,$01 ,$92,$31 DEFB $06,$80,$9D,$F1,$D8,$91,$3B DEFB $81,$3B,$01 ,$E2,$76 DEFB $80,$9D,$01 ,$91,$3B DEFB $81,$3B,$01 ,$92,$76 DEFB $04,$80,$69,$F1,$3B,$90,$D2 DEFB $80,$D2,$01 ,$E1,$A4 DEFB $80,$69,$01 ,$90,$D2 DEFB $80,$D2,$01 ,$91,$A4 DEFB $FF ; End of Pattern PAT3: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$80,$EC,$F0,$ED,$B0,$76 DEFB $81,$61,$F1,$62,$01 DEFB $06,$81,$D8,$F1,$D9,$01 DEFB $80,$EC,$F0,$ED,$01 DEFB $03,$81,$61,$F1,$62,$01 DEFB $81,$D8,$F1,$D9,$01 DEFB $0E,$80,$EC,$F0,$ED,$01 DEFB $81,$61,$F1,$62,$01 DEFB $06,$81,$18,$F2,$31,$B1,$A4 DEFB $01 ,$01 ,$01 DEFB $06,$01 ,$81,$19,$81,$A4 DEFB $01 ,$01 ,$01 DEFB $03,$01 ,$F2,$31,$B1,$A4 DEFB $01 ,$01 ,$01 DEFB $0E,$E1,$18,$B1,$19,$E1,$A4 DEFB $01 ,$01 ,$01 DEFB $FF ; End of Pattern PAT4: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$80,$EC,$E3,$B0,$80,$77 DEFB $81,$61,$E3,$49,$D1,$62 DEFB $06,$81,$D8,$82,$C3,$D1,$D9 DEFB $80,$EC,$81,$D8,$80,$77 DEFB $04,$81,$61,$E1,$A4,$D1,$62 DEFB $81,$D8,$E1,$D8,$D1,$D9 DEFB $0E,$80,$EC,$F2,$31,$80,$77 DEFB $81,$61,$00 ,$D1,$62 DEFB $06,$81,$18,$D2,$C3,$F1,$A4 DEFB $01 ,$D2,$31,$F0,$D2 DEFB $09,$01 ,$81,$D8,$81,$A4 DEFB $01 ,$81,$A4,$80,$D2 DEFB $04,$01 ,$E3,$B0,$F1,$A4 DEFB $01 ,$E3,$49,$F0,$D2 DEFB $0E,$E1,$18,$82,$C3,$E1,$A4 DEFB $01 ,$E2,$C3,$01 DEFB $FF ; End of Pattern PAT9: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$ED,$90,$EC,$F1,$D8 DEFB $B0,$76,$01 ,$80,$EC DEFB $06,$B0,$D3,$90,$D2,$F1,$A4 DEFB $01 ,$01 ,$F0,$D2 DEFB $04,$B0,$ED,$90,$EC,$F1,$D8 DEFB $B0,$76,$01 ,$F0,$EC DEFB $0E,$B0,$ED,$90,$EC,$00 DEFB $09,$00 ,$01 ,$01 DEFB $06,$B0,$EC,$90,$ED,$F1,$D8 DEFB $B0,$76,$01 ,$F0,$EC DEFB $09,$01 ,$00 ,$00 DEFB $01 ,$01 ,$80,$EC DEFB $04,$B0,$ED,$90,$EC,$F1,$D8 DEFB $B0,$76,$00 ,$80,$EC DEFB $0E,$B0,$D2,$90,$D3,$F1,$A4 DEFB $B0,$69,$01 ,$80,$D2 DEFB $FF ; End of Pattern PAT10: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$ED,$90,$EC,$93,$B0 DEFB $B0,$76,$01 ,$00 DEFB $06,$B0,$D3,$90,$D2,$93,$49 DEFB $01 ,$01 ,$00 DEFB $04,$B0,$ED,$90,$EC,$94,$63 DEFB $B0,$76,$01 ,$E4,$63 DEFB $0E,$B0,$ED,$90,$EC,$93,$B0 DEFB $00 ,$01 ,$E3,$B0 DEFB $06,$B0,$EC,$90,$ED,$F1,$D8 DEFB $B0,$76,$01 ,$F0,$EC DEFB $0E,$01 ,$00 ,$00 DEFB $01 ,$01 ,$80,$EC DEFB $04,$B0,$ED,$90,$EC,$F1,$D8 DEFB $B0,$76,$00 ,$80,$EC DEFB $0E,$B0,$D3,$90,$D2,$F1,$A4 DEFB $B0,$69,$01 ,$80,$D2 DEFB $FF ; End of Pattern PAT11: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$80,$ED,$F0,$EC,$93,$B0 DEFB $80,$76,$01 ,$93,$49 DEFB $06,$80,$D3,$F0,$D2,$92,$C3 DEFB $01 ,$01 ,$93,$49 DEFB $04,$80,$ED,$F0,$EC,$93,$B0 DEFB $80,$76,$01 ,$00 DEFB $0E,$80,$ED,$F0,$EC,$94,$63 DEFB $00 ,$01 ,$D4,$63 DEFB $06,$80,$ED,$F0,$EC,$F4,$63 DEFB $80,$76,$01 ,$00 DEFB $06,$01 ,$00 ,$F3,$B0 DEFB $01 ,$01 ,$D3,$9C DEFB $04,$80,$ED,$F0,$EC,$E3,$87 DEFB $80,$76,$00 ,$B3,$73 DEFB $0E,$80,$D3,$F0,$D2,$93,$5E DEFB $80,$69,$01 ,$83,$49 DEFB $FF ; End of Pattern PAT12: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$80,$ED,$F0,$EC,$93,$49 DEFB $80,$76,$01 ,$D3,$49 DEFB $06,$80,$D3,$F0,$D2,$F3,$49 DEFB $01 ,$01 ,$00 DEFB $04,$80,$ED,$F0,$EC,$01 DEFB $80,$76,$01 ,$01 DEFB $0E,$80,$ED,$F0,$EC,$F1,$D8 DEFB $00 ,$01 ,$00 DEFB $06,$80,$ED,$F0,$EC,$D2,$C3 DEFB $80,$76,$F1,$D8,$E2,$31 DEFB $06,$01 ,$00 ,$F1,$D8 DEFB $01 ,$01 ,$00 DEFB $04,$80,$ED,$F0,$EC,$D1,$D8 DEFB $80,$76,$00 ,$81,$D8 DEFB $0E,$80,$D3,$F0,$D2,$D1,$A4 DEFB $80,$69,$01 ,$81,$A4 DEFB $FF ; End of Pattern PAT15: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$EC,$F1,$D8,$93,$B0 DEFB $B0,$76,$80,$EC,$91,$D8 DEFB $0E,$B0,$D2,$F1,$A4,$93,$49 DEFB $01 ,$F0,$D3,$91,$A4 DEFB $04,$B0,$EC,$F1,$D8,$94,$E7 DEFB $B0,$76,$F0,$EC,$95,$86 DEFB $0E,$B0,$EC,$00 ,$93,$B0 DEFB $00 ,$01 ,$E1,$D8 DEFB $06,$B0,$EC,$F1,$D9,$81,$D8 DEFB $B0,$76,$F0,$EC,$01 DEFB $0F,$01 ,$00 ,$80,$EC DEFB $01 ,$80,$ED,$01 DEFB $04,$B0,$EC,$F1,$D8,$D3,$B0 DEFB $B0,$76,$80,$EC,$91,$D8 DEFB $0E,$B0,$D2,$F1,$A4,$B3,$49 DEFB $B0,$69,$80,$D2,$B1,$A4 DEFB $FF ; End of Pattern PAT16: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$EC,$F1,$D8,$B6,$92 DEFB $B0,$76,$80,$EC,$B5,$86 DEFB $0E,$B0,$D2,$F1,$A4,$B4,$63 DEFB $01 ,$F0,$D3,$93,$B0 DEFB $04,$B0,$EC,$F1,$D8,$00 DEFB $B0,$76,$F0,$EC,$85,$37 DEFB $0E,$B0,$EC,$00 ,$F4,$E7 DEFB $00 ,$01 ,$B4,$E7 DEFB $06,$B0,$EC,$F1,$D8,$94,$63 DEFB $B0,$76,$F0,$EC,$00 DEFB $09,$01 ,$00 ,$93,$B0 DEFB $01 ,$80,$EC,$91,$D8 DEFB $04,$B0,$D2,$F1,$A4,$E3,$49 DEFB $B0,$69,$80,$D2,$00 DEFB $0E,$B0,$EC,$F1,$D8,$E3,$B0 DEFB $B0,$76,$80,$EC,$00 DEFB $FF ; End of Pattern PAT22: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$ED,$A3,$B0,$F1,$D8 DEFB $B0,$76,$A4,$63,$80,$EC DEFB $0E,$B0,$D3,$A5,$86,$F1,$A4 DEFB $01 ,$00 ,$F0,$D2 DEFB $04,$B0,$ED,$D3,$B0,$F1,$D8 DEFB $B0,$76,$00 ,$F0,$EC DEFB $0E,$B1,$19,$D4,$63,$F2,$31 DEFB $17,$B0,$8C,$D5,$86,$00 DEFB $06,$B0,$ED,$D7,$60,$F1,$D8 DEFB $B0,$76,$00 ,$F0,$EC DEFB $0E,$B0,$D2,$E8,$C6,$F1,$A4 DEFB $06,$01 ,$E8,$47,$80,$D2 DEFB $04,$B1,$19,$E7,$60,$F2,$31 DEFB $B0,$8C,$E6,$92,$01 DEFB $0E,$B0,$ED,$F5,$86,$F1,$D8 DEFB $B0,$76,$F4,$63,$01 DEFB $FF ; End of Pattern PAT23: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$D3,$E8,$47,$F1,$A4 DEFB $B0,$69,$01 ,$80,$D2 DEFB $0E,$B0,$BC,$01 ,$F1,$76 DEFB $06,$01 ,$01 ,$F0,$BB DEFB $04,$B0,$D3,$E6,$92,$F1,$A4 DEFB $B0,$69,$01 ,$F0,$D2 DEFB $0E,$B0,$BC,$01 ,$F1,$76 DEFB $07,$B0,$5D,$01 ,$00 DEFB $06,$B0,$D3,$D4,$E7,$F1,$A4 DEFB $B0,$69,$01 ,$F0,$D2 DEFB $06,$B0,$BB,$01 ,$F1,$76 DEFB $01 ,$01 ,$80,$BB DEFB $04,$B0,$D3,$B4,$63,$F1,$A4 DEFB $B0,$69,$01 ,$80,$D2 DEFB $05,$B0,$BC,$94,$23,$F1,$76 DEFB $06,$B0,$5D,$01 ,$80,$BB DEFB $FF ; End of Pattern PAT24: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$BC,$94,$63,$F1,$76 DEFB $B0,$5D,$A4,$63,$80,$BB DEFB $06,$B0,$ED,$B4,$63,$F1,$D8 DEFB $01 ,$C4,$63,$F0,$EC DEFB $04,$B1,$19,$D4,$63,$F2,$31 DEFB $B0,$8C,$E4,$63,$F1,$18 DEFB $0E,$B0,$ED,$F4,$63,$F1,$D8 DEFB $06,$01 ,$01 ,$00 DEFB $06,$B0,$BC,$E4,$E7,$F1,$76 DEFB $B0,$5D,$01 ,$F0,$BB DEFB $06,$B0,$EC,$E4,$63,$F1,$D8 DEFB $01 ,$01 ,$80,$EC DEFB $04,$B0,$ED,$E3,$B0,$F1,$D8 DEFB $01 ,$01 ,$80,$EC DEFB $09,$B0,$BC,$E2,$ED,$F1,$76 DEFB $B0,$5D,$01 ,$80,$BB DEFB $FF ; End of Pattern PAT25: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$B1,$E2,$C3,$F1,$61 DEFB $01 ,$B2,$C3,$80,$B0 DEFB $06,$B0,$DF,$E2,$C3,$F1,$BD DEFB $01 ,$B2,$C3,$F0,$DE DEFB $04,$B1,$09,$F2,$C3,$F2,$11 DEFB $B0,$84,$01 ,$F1,$08 DEFB $0E,$B0,$DF,$B2,$C3,$F1,$BD DEFB $04,$01 ,$92,$C3,$00 DEFB $06,$B0,$B1,$F2,$C3,$F1,$61 DEFB $01 ,$01 ,$F0,$B0 DEFB $06,$B0,$DE,$82,$C3,$F1,$BD DEFB $01 ,$01 ,$80,$DE DEFB $04,$B0,$DF,$F1,$61,$F1,$BD DEFB $01 ,$01 ,$80,$DE DEFB $0E,$B0,$B1,$F1,$62,$F1,$61 DEFB $09,$01 ,$01 ,$80,$B0 DEFB $FF ; End of Pattern PAT26: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$ED,$93,$B0,$91,$D8 DEFB $B0,$76,$91,$D8,$00 DEFB $0E,$B0,$D3,$93,$49,$91,$A4 DEFB $01 ,$91,$A4,$00 DEFB $04,$B0,$ED,$93,$B0,$91,$D8 DEFB $B0,$76,$94,$63,$E0,$EC DEFB $0E,$B0,$ED,$93,$B0,$90,$76 DEFB $00 ,$91,$D8,$01 DEFB $06,$B0,$ED,$90,$EC,$F1,$D8 DEFB $B0,$76,$01 ,$F0,$EC DEFB $0E,$01 ,$00 ,$00 DEFB $01 ,$01 ,$80,$EC DEFB $04,$B0,$ED,$90,$EC,$F1,$D8 DEFB $B0,$76,$00 ,$80,$EC DEFB $0E,$B0,$D3,$90,$D2,$F1,$A4 DEFB $B0,$69,$01 ,$80,$D2 DEFB $FF ; End of Pattern PAT27: DEFW 2896 ;; was 3692 ; Pattern tempo ; Drum,Chan.1 ,Chan.2 ,Chan.3 DEFB $06,$B0,$ED,$F1,$D8,$E3,$B0 DEFB $B0,$76,$80,$EC,$E3,$49 DEFB $0E,$B0,$D3,$F1,$A4,$85,$37 DEFB $01 ,$F0,$D2,$94,$E7 DEFB $04,$B0,$ED,$F1,$D8,$00 DEFB $B0,$76,$F0,$EC,$E4,$63 DEFB $0E,$B0,$ED,$00 ,$E3,$B0 DEFB $00 ,$01 ,$81,$D8 DEFB $06,$B0,$EC,$F1,$D9,$E4,$63 DEFB $B0,$76,$F0,$EC,$00 DEFB $06,$01 ,$00 ,$E3,$B0 DEFB $01 ,$80,$ED,$00 DEFB $04,$B0,$D2,$F1,$A4,$B3,$49 DEFB $B0,$69,$80,$D2,$91,$A4 DEFB $0E,$B0,$EC,$F1,$D8,$E3,$B0 DEFB $B0,$76,$80,$EC,$E1,$D8 DEFB $FF ; End of Pattern
43.436658
59
0.322743
296da2bd62690f72cce7e32b0d3b2090fbf86f85
955
asm
Assembly
programs/oeis/212/A212901.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212901.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212901.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A212901: Number of (w,x,y,z) with all terms in {0,...,n} and equal consecutive gap sizes. ; 1,4,13,26,45,66,95,126,163,204,251,300,357,416,481,550,625,702,787,874,967,1064,1167,1272,1385,1500,1621,1746,1877,2010,2151,2294,2443,2596,2755,2916,3085,3256,3433,3614,3801,3990,4187,4386,4591 mov $16,$0 mov $18,$0 add $18,1 lpb $18,1 clr $0,16 mov $0,$16 sub $18,1 sub $0,$18 mov $13,$0 mov $15,$0 add $15,1 lpb $15,1 mov $0,$13 sub $15,1 sub $0,$15 mov $9,$0 mov $11,2 lpb $11,1 mov $0,$9 sub $11,1 add $0,$11 sub $0,1 mov $4,$0 div $0,2 add $0,$4 mov $1,2 mul $1,$0 mov $3,$4 div $3,3 add $1,$3 mul $1,2 mov $12,$11 lpb $12,1 mov $10,$1 sub $12,1 lpe lpe lpb $9,1 mov $9,0 sub $10,$1 lpe mov $1,$10 trn $1,3 add $1,1 add $14,$1 lpe add $17,$14 lpe mov $1,$17
18.018868
196
0.499476
0e9fc95a2f565572110680eff474576a6ced2ed6
652
asm
Assembly
unittests/ASM/Secondary/09_XX_01_2.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
628
2020-03-06T14:01:32.000Z
2022-03-31T06:35:14.000Z
unittests/ASM/Secondary/09_XX_01_2.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
576
2020-03-06T08:25:12.000Z
2022-03-30T04:05:29.000Z
unittests/ASM/Secondary/09_XX_01_2.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
38
2020-03-07T06:10:00.000Z
2022-03-29T09:27:36.000Z
%ifdef CONFIG { "RegData": { "RAX": "0x80000000", "RDX": "0xFFFFFFFF", "RBX": "0x41424344", "RCX": "0x51525354", "R13": "0xFFFFFFFF80000000", "R14": "0x0" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov r15, 0xe0000000 mov rax, 0xFFFFFFFF80000000 mov [r15 + 8 * 0], rax mov r14, 0 ; Expected mov eax, 0xFFFFFFFF mov edx, 0xFFFFFFFF ; Desired mov ebx, 0x41424344 mov ecx, 0x51525354 cmpxchg8b [r15] ; Set r14 to 1 if if the memory location was expected setz r14b ; edx and eax will now contain the memory's data ; Check memory location to ensure it contains what we want mov r13, [r15 + 8 * 0] hlt
15.902439
58
0.653374
3bbc176e942606e9e6bc5bf2f0a977b137709329
435
asm
Assembly
oeis/101/A101616.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/101/A101616.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/101/A101616.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A101616: Partial sums of a Jacobsthal representation sequence. ; Submitted by Christian Krause ; 1,2,4,6,7,8,9,10,12,14,16,18,20,22,23,24,25,26,28,30,31,32,33,34,36,38,39,40,41,42,44,46,48,50,52,54,55,56,57,58,60,62,64,66,68,70,71,72,73,74,76 lpb $0 mov $2,$0 sub $0,1 seq $2,101615 ; Number of representations of n as a sum of the Jacobsthal numbers A078008 (2 is allowed twice as a part). add $3,$2 lpe mov $0,$3 add $0,1
33.461538
147
0.687356
b20c1f4cf9f3a81697245e1e9aae77d352c63b9e
288
asm
Assembly
programs/oeis/151/A151798.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/151/A151798.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/151/A151798.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A151798: a(0)=1, a(1)=2, a(n)=4 for n>=2. ; 1,2,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,4,4,4,4 pow $0,4 mov $1,3 trn $1,$0 gcd $1,4
36
205
0.496528
ef711b0d3c46e0a6980171de6db3e045907e3b35
467
asm
Assembly
src/firmware-tests/Platform/Adc/EnableDisable/EnableAdcCallsEnsureFastClockTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
1
2019-12-12T09:07:08.000Z
2019-12-12T09:07:08.000Z
src/firmware-tests/Platform/Adc/EnableDisable/EnableAdcCallsEnsureFastClockTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
src/firmware-tests/Platform/Adc/EnableDisable/EnableAdcCallsEnsureFastClockTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
#include "Platform.inc" #include "FarCalls.inc" #include "Adc.inc" #include "TestFixture.inc" #include "../../PowerManagement/PowerManagementMocks.inc" radix decimal EnableAdcCallsEnsureFastClockTest code global testArrange testArrange: fcall initialisePowerManagementMocks fcall initialiseAdc testAct: fcall enableAdc testAssert: banksel calledEnsureFastClock .assert "calledEnsureFastClock != 0, 'Expected ensureFastClock() called.'" return end
18.68
75
0.792291
6a0b570a0f8f92743a0b2c1ced44e968f8573a97
331
asm
Assembly
src/firmware-tests/Ui/States/Option/NextStateWaitsForButtonPressTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
1
2019-12-12T09:07:08.000Z
2019-12-12T09:07:08.000Z
src/firmware-tests/Ui/States/Option/NextStateWaitsForButtonPressTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
src/firmware-tests/Ui/States/Option/NextStateWaitsForButtonPressTest.asm
pete-restall/Cluck2Sesame-Prototype
99119b6748847a7b6aeadc4bee42cbed726f7fdc
[ "MIT" ]
null
null
null
#include "Mcu.inc" #include "FarCalls.inc" #include "Ui.inc" #include "../../UiStates.inc" #include "TestFixture.inc" radix decimal NextStateWaitsForButtonPressTest code global testAct testAct: fcall pollUi banksel uiState movlw UI_STATE_WAIT_BUTTONPRESS xorwf uiState, W btfss STATUS, Z goto testAct return end
15.045455
37
0.755287
b0514739abf4cc2e66f38736749652941a20090a
1,895
asm
Assembly
programs/oeis/177/A177065.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/177/A177065.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/177/A177065.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A177065: a(n) = (8*n+3)*(8*n+5). ; 15,143,399,783,1295,1935,2703,3599,4623,5775,7055,8463,9999,11663,13455,15375,17423,19599,21903,24335,26895,29583,32399,35343,38415,41615,44943,48399,51983,55695,59535,63503,67599,71823,76175,80655,85263,89999,94863,99855,104975,110223,115599,121103,126735,132495,138383,144399,150543,156815,163215,169743,176399,183183,190095,197135,204303,211599,219023,226575,234255,242063,249999,258063,266255,274575,283023,291599,300303,309135,318095,327183,336399,345743,355215,364815,374543,384399,394383,404495,414735,425103,435599,446223,456975,467855,478863,489999,501263,512655,524175,535823,547599,559503,571535,583695,595983,608399,620943,633615,646415,659343,672399,685583,698895,712335,725903,739599,753423,767375,781455,795663,809999,824463,839055,853775,868623,883599,898703,913935,929295,944783,960399,976143,992015,1008015,1024143,1040399,1056783,1073295,1089935,1106703,1123599,1140623,1157775,1175055,1192463,1209999,1227663,1245455,1263375,1281423,1299599,1317903,1336335,1354895,1373583,1392399,1411343,1430415,1449615,1468943,1488399,1507983,1527695,1547535,1567503,1587599,1607823,1628175,1648655,1669263,1689999,1710863,1731855,1752975,1774223,1795599,1817103,1838735,1860495,1882383,1904399,1926543,1948815,1971215,1993743,2016399,2039183,2062095,2085135,2108303,2131599,2155023,2178575,2202255,2226063,2249999,2274063,2298255,2322575,2347023,2371599,2396303,2421135,2446095,2471183,2496399,2521743,2547215,2572815,2598543,2624399,2650383,2676495,2702735,2729103,2755599,2782223,2808975,2835855,2862863,2889999,2917263,2944655,2972175,2999823,3027599,3055503,3083535,3111695,3139983,3168399,3196943,3225615,3254415,3283343,3312399,3341583,3370895,3400335,3429903,3459599,3489423,3519375,3549455,3579663,3609999,3640463,3671055,3701775,3732623,3763599,3794703,3825935,3857295,3888783,3920399,3952143,3984015 sub $1,$0 bin $1,2 mul $1,128 add $1,15
236.875
1,818
0.846966
ec26b0e761e04ebc3d7fe792033e681250fe8500
118
asm
Assembly
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font10/_ff_dkud4_Font10.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font10/_ff_dkud4_Font10.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/font/fzx/fonts/dkud4/Font10/_ff_dkud4_Font10.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION rodata_font_fzx PUBLIC _ff_dkud4_Font10 _ff_dkud4_Font10: BINARY "font/fzx/fonts/dkud4/Font10/font10.fzx"
13.111111
47
0.830508
fb9b3e6afe2723429b1007636b0120294da646cc
2,271
asm
Assembly
tb/tprog/asm/test.srl.asm
mshaklunov/mips_onemore
b52b01f4d3bf458285b610aafd700d23e8c7f676
[ "MIT" ]
null
null
null
tb/tprog/asm/test.srl.asm
mshaklunov/mips_onemore
b52b01f4d3bf458285b610aafd700d23e8c7f676
[ "MIT" ]
null
null
null
tb/tprog/asm/test.srl.asm
mshaklunov/mips_onemore
b52b01f4d3bf458285b610aafd700d23e8c7f676
[ "MIT" ]
null
null
null
#SRL INSTRUCTION #RUN ALL SHIFTING MODES (0-31) #EACH RESULT'S BIT GO THROUGH 0 AND 1 lui $1 0xFFFF ori $1 0xFFFF lui $2 0x0000 ori $2 0x0001 srl $3 $1 31 bne $3 $2 fail lui $2 0x0000 ori $2 0x0003 srl $3 $1 30 bne $3 $2 fail lui $2 0x0000 ori $2 0x0007 srl $3 $1 29 bne $3 $2 fail lui $2 0x0000 ori $2 0x000F srl $3 $1 28 bne $3 $2 fail lui $2 0x0000 ori $2 0x001F srl $3 $1 27 bne $3 $2 fail lui $2 0x0000 ori $2 0x003F srl $3 $1 26 bne $3 $2 fail lui $2 0x0000 ori $2 0x007F srl $3 $1 25 bne $3 $2 fail lui $2 0x0000 ori $2 0x00FF srl $3 $1 24 bne $3 $2 fail lui $2 0x0000 ori $2 0x01FF srl $3 $1 23 bne $3 $2 fail lui $2 0x0000 ori $2 0x03FF srl $3 $1 22 bne $3 $2 fail lui $2 0x0000 ori $2 0x07FF srl $3 $1 21 bne $3 $2 fail lui $2 0x0000 ori $2 0x0FFF srl $3 $1 20 bne $3 $2 fail lui $2 0x0000 ori $2 0x1FFF srl $3 $1 19 bne $3 $2 fail lui $2 0x0000 ori $2 0x3FFF srl $3 $1 18 bne $3 $2 fail lui $2 0x0000 ori $2 0x7FFF srl $3 $1 17 bne $3 $2 fail lui $2 0x0000 ori $2 0xFFFF srl $3 $1 16 bne $3 $2 fail lui $2 0x0001 ori $2 0xFFFF srl $3 $1 15 bne $3 $2 fail lui $2 0x0003 ori $2 0xFFFF srl $3 $1 14 bne $3 $2 fail lui $2 0x0007 ori $2 0xFFFF srl $3 $1 13 bne $3 $2 fail lui $2 0x000F ori $2 0xFFFF srl $3 $1 12 bne $3 $2 fail lui $2 0x001F ori $2 0xFFFF srl $3 $1 11 bne $3 $2 fail lui $2 0x003F ori $2 0xFFFF srl $3 $1 10 bne $3 $2 fail lui $2 0x007F ori $2 0xFFFF srl $3 $1 9 bne $3 $2 fail lui $2 0x00FF ori $2 0xFFFF srl $3 $1 8 bne $3 $2 fail lui $2 0x01FF ori $2 0xFFFF srl $3 $1 7 bne $3 $2 fail lui $2 0x03FF ori $2 0xFFFF srl $3 $1 6 bne $3 $2 fail lui $2 0x07FF ori $2 0xFFFF srl $3 $1 5 bne $3 $2 fail lui $2 0x0FFF ori $2 0xFFFF srl $3 $1 4 bne $3 $2 fail lui $2 0x1FFF ori $2 0xFFFF srl $3 $1 3 bne $3 $2 fail lui $2 0x3FFF ori $2 0xFFFF srl $3 $1 2 bne $3 $2 fail lui $2 0x7FFF ori $2 0xFFFF srl $3 $1 1 bne $3 $2 fail lui $2 0xFFFF ori $2 0xFFFF srl $3 $1 0 bne $3 $2 fail lui $1 0x7FFF ori $1 0xFFFF srl $3 $1 31 bne $3 $0 fail sll $0 $0 0
12.903409
37
0.558344
4195375de11a075e345c336af8f1a79bf1f10c45
4,556
asm
Assembly
Data/ships/Asp_Mk_2.asm
TinfoilAsteroid/EliteNext
417511cefd3d5c7dd7a46b0354eec801ea2c9ca2
[ "Unlicense" ]
9
2021-09-29T22:08:15.000Z
2022-03-23T05:35:43.000Z
Data/ships/Asp_Mk_2.asm
TinfoilAsteroid/EliteNext
417511cefd3d5c7dd7a46b0354eec801ea2c9ca2
[ "Unlicense" ]
1
2022-01-21T12:35:42.000Z
2022-01-21T17:47:24.000Z
Data/ships/Asp_Mk_2.asm
TinfoilAsteroid/EliteNext
417511cefd3d5c7dd7a46b0354eec801ea2c9ca2
[ "Unlicense" ]
1
2022-01-15T10:13:49.000Z
2022-01-15T10:13:49.000Z
Asp_Mk_2: DB $00 DW $0E10 DW Asp_Mk_2Edges DB Asp_Mk_2EdgesSize DB $20, $1A DB Asp_Mk_2VertSize /6 DB Asp_Mk_2VertSize DB Asp_Mk_2EdgesCnt DB $00, $C8 DB Asp_Mk_2NormalsSize DB $28, $96, $28 DW Asp_Mk_2Normals DB $01, $29 DW Asp_Mk_2Vertices DB 0,0 ; Type and Tactics DB ShipCanAnger Asp_Mk_2Vertices: DB $00, $12, $00, $56, $01, $22 ;01 DB $00, $09, $2D, $7F, $12, $BB ;02 DB $2B, $00, $2D, $3F, $16, $BB ;03 DB $45, $03, $00, $5F, $16, $79 ;04 DB $2B, $0E, $1C, $5F, $01, $77 ;05 DB $2B, $00, $2D, $BF, $25, $BB ;06 DB $45, $03, $00, $DF, $25, $8A ;07 DB $2B, $0E, $1C, $DF, $02, $88 ;08 DB $1A, $07, $49, $5F, $04, $79 ;09 DB $1A, $07, $49, $DF, $04, $8A ;10 DB $2B, $0E, $1C, $1F, $34, $69 ;11 DB $2B, $0E, $1C, $9F, $34, $5A ;12 DB $00, $09, $2D, $3F, $35, $6B ;13 DB $11, $00, $2D, $AA, $BB, $BB ;14 DB $11, $00, $2D, $29, $BB, $BB ;15 DB $00, $04, $2D, $6A, $BB, $BB ;16 DB $00, $04, $2D, $28, $BB, $BB ;17 DB $00, $07, $49, $4A, $04, $04 ;18 DB $00, $07, $53, $4A, $04, $04 ;19 Asp_Mk_2VertSize: equ $ - Asp_Mk_2Vertices Asp_Mk_2Edges: DB $16, $12, $00, $04 ;01 DB $16, $01, $00, $10 ;02 DB $16, $02, $00, $1C ;03 DB $1F, $1B, $04, $08 ;04 DB $1F, $16, $08, $0C ;05 DB $10, $79, $0C, $20 ;06 DB $1F, $04, $20, $24 ;07 DB $10, $8A, $18, $24 ;08 DB $1F, $25, $14, $18 ;09 DB $1F, $2B, $04, $14 ;10 DB $1F, $17, $0C, $10 ;11 DB $1F, $07, $10, $20 ;12 DB $1F, $28, $18, $1C ;13 DB $1F, $08, $1C, $24 ;14 DB $1F, $6B, $08, $30 ;15 DB $1F, $5B, $14, $30 ;16 DB $16, $36, $28, $30 ;17 DB $16, $35, $2C, $30 ;18 DB $16, $34, $28, $2C DB $1F, $5A, $18, $2C DB $1F, $4A, $24, $2C DB $1F, $69, $0C, $28 DB $1F, $49, $20, $28 DB $0A, $BB, $34, $3C DB $09, $BB, $3C, $38 DB $08, $BB, $38, $40 DB $08, $BB, $40, $34 DB $0A, $04, $48, $44 Asp_Mk_2EdgesSize: equ $ - Asp_Mk_2Edges Asp_Mk_2EdgesCnt: equ Asp_Mk_2EdgesSize/4 Asp_Mk_2Normals: DB $5F, $00, $23, $05 ;01 DB $7F, $08, $26, $07 ;02 DB $FF, $08, $26, $07 ;03 DB $36, $00, $18, $01 ;04 DB $1F, $00, $2B, $13 ;05 DB $BF, $06, $1C, $02 ;06 DB $3F, $06, $1C, $02 ;07 DB $5F, $3B, $40, $1F ;08 DB $DF, $3B, $40, $1F ;09 DB $1F, $50, $2E, $32 ;10 DB $9F, $50, $2E, $32 ;11 DB $3F, $00, $00, $5A ;12 Asp_Mk_2NormalsSize: equ $ - Asp_Mk_2Normals Asp_Mk_2Len: equ $ - Asp_Mk_2
54.238095
70
0.261853
943f5071926ad34f1a82c368a4893628fdf3d444
146
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_ply1.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_ply1.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/z00_ply1.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: z00_ply1.asm Type: file Size: 20837 Last-Modified: '2016-05-13T04:36:32Z' SHA-1: 4F498985F46C372C5742B1175C9B91D581F71B67 Description: null
20.857143
47
0.815068
759f728145bd393c4f9fe2d581c116f20479d4f5
48,234
asm
Assembly
getChildrenTest.asm
ehsansalimian/xv6_changed
f8bf5acd82f1b951dde9ee891a4eb5713ed5751e
[ "MIT-0" ]
null
null
null
getChildrenTest.asm
ehsansalimian/xv6_changed
f8bf5acd82f1b951dde9ee891a4eb5713ed5751e
[ "MIT-0" ]
null
null
null
getChildrenTest.asm
ehsansalimian/xv6_changed
f8bf5acd82f1b951dde9ee891a4eb5713ed5751e
[ "MIT-0" ]
null
null
null
_getChildrenTest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 56 push %esi 4: 53 push %ebx 5: 83 e4 f0 and $0xfffffff0,%esp 8: 83 ec 10 sub $0x10,%esp int pidd=0; pidd =getpid(); b: e8 82 03 00 00 call 392 <getpid> 10: 89 c3 mov %eax,%ebx int forkProc=0; printf(1, "processId: %d\n\n\n\n",getpid()); 12: e8 7b 03 00 00 call 392 <getpid> 17: c7 44 24 04 e8 07 00 movl $0x7e8,0x4(%esp) 1e: 00 1f: c7 04 24 01 00 00 00 movl $0x1,(%esp) 26: 89 44 24 08 mov %eax,0x8(%esp) 2a: e8 51 04 00 00 call 480 <printf> printf(1, "parentProcessId: %d\n\n\n\n",getppid()); 2f: e8 7e 03 00 00 call 3b2 <getppid> 34: c7 44 24 04 fb 07 00 movl $0x7fb,0x4(%esp) 3b: 00 3c: c7 04 24 01 00 00 00 movl $0x1,(%esp) 43: 89 44 24 08 mov %eax,0x8(%esp) 47: e8 34 04 00 00 call 480 <printf> printf(1, "childrensOfProcess: %d for prosessId:%d\n\n\n\n",getChildren(getpid()),getpid()); 4c: e8 41 03 00 00 call 392 <getpid> 51: 89 c6 mov %eax,%esi 53: e8 3a 03 00 00 call 392 <getpid> 58: 89 04 24 mov %eax,(%esp) 5b: e8 5a 03 00 00 call 3ba <getChildren> 60: 89 74 24 0c mov %esi,0xc(%esp) 64: c7 44 24 04 30 08 00 movl $0x830,0x4(%esp) 6b: 00 6c: c7 04 24 01 00 00 00 movl $0x1,(%esp) 73: 89 44 24 08 mov %eax,0x8(%esp) 77: e8 04 04 00 00 call 480 <printf> forkProc =fork(); 7c: e8 89 02 00 00 call 30a <fork> if (forkProc==0) 81: 85 c0 test %eax,%eax 83: 75 19 jne 9e <main+0x9e> { printf(1, "in the child process\n\n\n\n"); 85: c7 44 24 04 15 08 00 movl $0x815,0x4(%esp) 8c: 00 8d: c7 04 24 01 00 00 00 movl $0x1,(%esp) 94: e8 e7 03 00 00 call 480 <printf> printf(1, "childrensOfProcess: %d for prosessId:%d\n\n\n\n",getChildren(pidd),pidd); } exit(); 99: e8 74 02 00 00 call 312 <exit> printf(1, "in the child process\n\n\n\n"); } else { printf(1, "processId: %d\n\n\n\n",getpid()); 9e: e8 ef 02 00 00 call 392 <getpid> a3: c7 44 24 04 e8 07 00 movl $0x7e8,0x4(%esp) aa: 00 ab: c7 04 24 01 00 00 00 movl $0x1,(%esp) b2: 89 44 24 08 mov %eax,0x8(%esp) b6: e8 c5 03 00 00 call 480 <printf> printf(1, "childrensOfProcess: %d for prosessId:%d\n\n\n\n",getChildren(pidd),pidd); bb: 89 1c 24 mov %ebx,(%esp) be: e8 f7 02 00 00 call 3ba <getChildren> c3: 89 5c 24 0c mov %ebx,0xc(%esp) c7: c7 44 24 04 30 08 00 movl $0x830,0x4(%esp) ce: 00 cf: c7 04 24 01 00 00 00 movl $0x1,(%esp) d6: 89 44 24 08 mov %eax,0x8(%esp) da: e8 a1 03 00 00 call 480 <printf> df: eb b8 jmp 99 <main+0x99> e1: 66 90 xchg %ax,%ax e3: 66 90 xchg %ax,%ax e5: 66 90 xchg %ax,%ax e7: 66 90 xchg %ax,%ax e9: 66 90 xchg %ax,%ax eb: 66 90 xchg %ax,%ax ed: 66 90 xchg %ax,%ax ef: 90 nop 000000f0 <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, const char *t) { f0: 55 push %ebp f1: 89 e5 mov %esp,%ebp f3: 8b 45 08 mov 0x8(%ebp),%eax f6: 8b 4d 0c mov 0xc(%ebp),%ecx f9: 53 push %ebx char *os; os = s; while((*s++ = *t++) != 0) fa: 89 c2 mov %eax,%edx fc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 100: 83 c1 01 add $0x1,%ecx 103: 0f b6 59 ff movzbl -0x1(%ecx),%ebx 107: 83 c2 01 add $0x1,%edx 10a: 84 db test %bl,%bl 10c: 88 5a ff mov %bl,-0x1(%edx) 10f: 75 ef jne 100 <strcpy+0x10> ; return os; } 111: 5b pop %ebx 112: 5d pop %ebp 113: c3 ret 114: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 11a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 00000120 <strcmp>: int strcmp(const char *p, const char *q) { 120: 55 push %ebp 121: 89 e5 mov %esp,%ebp 123: 8b 55 08 mov 0x8(%ebp),%edx 126: 53 push %ebx 127: 8b 4d 0c mov 0xc(%ebp),%ecx while(*p && *p == *q) 12a: 0f b6 02 movzbl (%edx),%eax 12d: 84 c0 test %al,%al 12f: 74 2d je 15e <strcmp+0x3e> 131: 0f b6 19 movzbl (%ecx),%ebx 134: 38 d8 cmp %bl,%al 136: 74 0e je 146 <strcmp+0x26> 138: eb 2b jmp 165 <strcmp+0x45> 13a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 140: 38 c8 cmp %cl,%al 142: 75 15 jne 159 <strcmp+0x39> p++, q++; 144: 89 d9 mov %ebx,%ecx 146: 83 c2 01 add $0x1,%edx } int strcmp(const char *p, const char *q) { while(*p && *p == *q) 149: 0f b6 02 movzbl (%edx),%eax p++, q++; 14c: 8d 59 01 lea 0x1(%ecx),%ebx } int strcmp(const char *p, const char *q) { while(*p && *p == *q) 14f: 0f b6 49 01 movzbl 0x1(%ecx),%ecx 153: 84 c0 test %al,%al 155: 75 e9 jne 140 <strcmp+0x20> 157: 31 c0 xor %eax,%eax p++, q++; return (uchar)*p - (uchar)*q; 159: 29 c8 sub %ecx,%eax } 15b: 5b pop %ebx 15c: 5d pop %ebp 15d: c3 ret 15e: 0f b6 09 movzbl (%ecx),%ecx } int strcmp(const char *p, const char *q) { while(*p && *p == *q) 161: 31 c0 xor %eax,%eax 163: eb f4 jmp 159 <strcmp+0x39> 165: 0f b6 cb movzbl %bl,%ecx 168: eb ef jmp 159 <strcmp+0x39> 16a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 00000170 <strlen>: return (uchar)*p - (uchar)*q; } uint strlen(const char *s) { 170: 55 push %ebp 171: 89 e5 mov %esp,%ebp 173: 8b 4d 08 mov 0x8(%ebp),%ecx int n; for(n = 0; s[n]; n++) 176: 80 39 00 cmpb $0x0,(%ecx) 179: 74 12 je 18d <strlen+0x1d> 17b: 31 d2 xor %edx,%edx 17d: 8d 76 00 lea 0x0(%esi),%esi 180: 83 c2 01 add $0x1,%edx 183: 80 3c 11 00 cmpb $0x0,(%ecx,%edx,1) 187: 89 d0 mov %edx,%eax 189: 75 f5 jne 180 <strlen+0x10> ; return n; } 18b: 5d pop %ebp 18c: c3 ret uint strlen(const char *s) { int n; for(n = 0; s[n]; n++) 18d: 31 c0 xor %eax,%eax ; return n; } 18f: 5d pop %ebp 190: c3 ret 191: eb 0d jmp 1a0 <memset> 193: 90 nop 194: 90 nop 195: 90 nop 196: 90 nop 197: 90 nop 198: 90 nop 199: 90 nop 19a: 90 nop 19b: 90 nop 19c: 90 nop 19d: 90 nop 19e: 90 nop 19f: 90 nop 000001a0 <memset>: void* memset(void *dst, int c, uint n) { 1a0: 55 push %ebp 1a1: 89 e5 mov %esp,%ebp 1a3: 8b 55 08 mov 0x8(%ebp),%edx 1a6: 57 push %edi } static inline void stosb(void *addr, int data, int cnt) { asm volatile("cld; rep stosb" : 1a7: 8b 4d 10 mov 0x10(%ebp),%ecx 1aa: 8b 45 0c mov 0xc(%ebp),%eax 1ad: 89 d7 mov %edx,%edi 1af: fc cld 1b0: f3 aa rep stos %al,%es:(%edi) stosb(dst, c, n); return dst; } 1b2: 89 d0 mov %edx,%eax 1b4: 5f pop %edi 1b5: 5d pop %ebp 1b6: c3 ret 1b7: 89 f6 mov %esi,%esi 1b9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 000001c0 <strchr>: char* strchr(const char *s, char c) { 1c0: 55 push %ebp 1c1: 89 e5 mov %esp,%ebp 1c3: 8b 45 08 mov 0x8(%ebp),%eax 1c6: 53 push %ebx 1c7: 8b 55 0c mov 0xc(%ebp),%edx for(; *s; s++) 1ca: 0f b6 18 movzbl (%eax),%ebx 1cd: 84 db test %bl,%bl 1cf: 74 1d je 1ee <strchr+0x2e> if(*s == c) 1d1: 38 d3 cmp %dl,%bl 1d3: 89 d1 mov %edx,%ecx 1d5: 75 0d jne 1e4 <strchr+0x24> 1d7: eb 17 jmp 1f0 <strchr+0x30> 1d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 1e0: 38 ca cmp %cl,%dl 1e2: 74 0c je 1f0 <strchr+0x30> } char* strchr(const char *s, char c) { for(; *s; s++) 1e4: 83 c0 01 add $0x1,%eax 1e7: 0f b6 10 movzbl (%eax),%edx 1ea: 84 d2 test %dl,%dl 1ec: 75 f2 jne 1e0 <strchr+0x20> if(*s == c) return (char*)s; return 0; 1ee: 31 c0 xor %eax,%eax } 1f0: 5b pop %ebx 1f1: 5d pop %ebp 1f2: c3 ret 1f3: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 1f9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 00000200 <gets>: char* gets(char *buf, int max) { 200: 55 push %ebp 201: 89 e5 mov %esp,%ebp 203: 57 push %edi 204: 56 push %esi int i, cc; char c; for(i=0; i+1 < max; ){ 205: 31 f6 xor %esi,%esi return 0; } char* gets(char *buf, int max) { 207: 53 push %ebx 208: 83 ec 2c sub $0x2c,%esp int i, cc; char c; for(i=0; i+1 < max; ){ cc = read(0, &c, 1); 20b: 8d 7d e7 lea -0x19(%ebp),%edi gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 20e: eb 31 jmp 241 <gets+0x41> cc = read(0, &c, 1); 210: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 217: 00 218: 89 7c 24 04 mov %edi,0x4(%esp) 21c: c7 04 24 00 00 00 00 movl $0x0,(%esp) 223: e8 02 01 00 00 call 32a <read> if(cc < 1) 228: 85 c0 test %eax,%eax 22a: 7e 1d jle 249 <gets+0x49> break; buf[i++] = c; 22c: 0f b6 45 e7 movzbl -0x19(%ebp),%eax gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 230: 89 de mov %ebx,%esi cc = read(0, &c, 1); if(cc < 1) break; buf[i++] = c; 232: 8b 55 08 mov 0x8(%ebp),%edx if(c == '\n' || c == '\r') 235: 3c 0d cmp $0xd,%al for(i=0; i+1 < max; ){ cc = read(0, &c, 1); if(cc < 1) break; buf[i++] = c; 237: 88 44 1a ff mov %al,-0x1(%edx,%ebx,1) if(c == '\n' || c == '\r') 23b: 74 0c je 249 <gets+0x49> 23d: 3c 0a cmp $0xa,%al 23f: 74 08 je 249 <gets+0x49> gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 241: 8d 5e 01 lea 0x1(%esi),%ebx 244: 3b 5d 0c cmp 0xc(%ebp),%ebx 247: 7c c7 jl 210 <gets+0x10> break; buf[i++] = c; if(c == '\n' || c == '\r') break; } buf[i] = '\0'; 249: 8b 45 08 mov 0x8(%ebp),%eax 24c: c6 04 30 00 movb $0x0,(%eax,%esi,1) return buf; } 250: 83 c4 2c add $0x2c,%esp 253: 5b pop %ebx 254: 5e pop %esi 255: 5f pop %edi 256: 5d pop %ebp 257: c3 ret 258: 90 nop 259: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000260 <stat>: int stat(const char *n, struct stat *st) { 260: 55 push %ebp 261: 89 e5 mov %esp,%ebp 263: 56 push %esi 264: 53 push %ebx 265: 83 ec 10 sub $0x10,%esp int fd; int r; fd = open(n, O_RDONLY); 268: 8b 45 08 mov 0x8(%ebp),%eax 26b: c7 44 24 04 00 00 00 movl $0x0,0x4(%esp) 272: 00 273: 89 04 24 mov %eax,(%esp) 276: e8 d7 00 00 00 call 352 <open> if(fd < 0) 27b: 85 c0 test %eax,%eax stat(const char *n, struct stat *st) { int fd; int r; fd = open(n, O_RDONLY); 27d: 89 c3 mov %eax,%ebx if(fd < 0) 27f: 78 27 js 2a8 <stat+0x48> return -1; r = fstat(fd, st); 281: 8b 45 0c mov 0xc(%ebp),%eax 284: 89 1c 24 mov %ebx,(%esp) 287: 89 44 24 04 mov %eax,0x4(%esp) 28b: e8 da 00 00 00 call 36a <fstat> close(fd); 290: 89 1c 24 mov %ebx,(%esp) int r; fd = open(n, O_RDONLY); if(fd < 0) return -1; r = fstat(fd, st); 293: 89 c6 mov %eax,%esi close(fd); 295: e8 a0 00 00 00 call 33a <close> return r; 29a: 89 f0 mov %esi,%eax } 29c: 83 c4 10 add $0x10,%esp 29f: 5b pop %ebx 2a0: 5e pop %esi 2a1: 5d pop %ebp 2a2: c3 ret 2a3: 90 nop 2a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi int fd; int r; fd = open(n, O_RDONLY); if(fd < 0) return -1; 2a8: b8 ff ff ff ff mov $0xffffffff,%eax 2ad: eb ed jmp 29c <stat+0x3c> 2af: 90 nop 000002b0 <atoi>: return r; } int atoi(const char *s) { 2b0: 55 push %ebp 2b1: 89 e5 mov %esp,%ebp 2b3: 8b 4d 08 mov 0x8(%ebp),%ecx 2b6: 53 push %ebx int n; n = 0; while('0' <= *s && *s <= '9') 2b7: 0f be 11 movsbl (%ecx),%edx 2ba: 8d 42 d0 lea -0x30(%edx),%eax 2bd: 3c 09 cmp $0x9,%al int atoi(const char *s) { int n; n = 0; 2bf: b8 00 00 00 00 mov $0x0,%eax while('0' <= *s && *s <= '9') 2c4: 77 17 ja 2dd <atoi+0x2d> 2c6: 66 90 xchg %ax,%ax n = n*10 + *s++ - '0'; 2c8: 83 c1 01 add $0x1,%ecx 2cb: 8d 04 80 lea (%eax,%eax,4),%eax 2ce: 8d 44 42 d0 lea -0x30(%edx,%eax,2),%eax atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 2d2: 0f be 11 movsbl (%ecx),%edx 2d5: 8d 5a d0 lea -0x30(%edx),%ebx 2d8: 80 fb 09 cmp $0x9,%bl 2db: 76 eb jbe 2c8 <atoi+0x18> n = n*10 + *s++ - '0'; return n; } 2dd: 5b pop %ebx 2de: 5d pop %ebp 2df: c3 ret 000002e0 <memmove>: void* memmove(void *vdst, const void *vsrc, int n) { 2e0: 55 push %ebp char *dst; const char *src; dst = vdst; src = vsrc; while(n-- > 0) 2e1: 31 d2 xor %edx,%edx return n; } void* memmove(void *vdst, const void *vsrc, int n) { 2e3: 89 e5 mov %esp,%ebp 2e5: 56 push %esi 2e6: 8b 45 08 mov 0x8(%ebp),%eax 2e9: 53 push %ebx 2ea: 8b 5d 10 mov 0x10(%ebp),%ebx 2ed: 8b 75 0c mov 0xc(%ebp),%esi char *dst; const char *src; dst = vdst; src = vsrc; while(n-- > 0) 2f0: 85 db test %ebx,%ebx 2f2: 7e 12 jle 306 <memmove+0x26> 2f4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi *dst++ = *src++; 2f8: 0f b6 0c 16 movzbl (%esi,%edx,1),%ecx 2fc: 88 0c 10 mov %cl,(%eax,%edx,1) 2ff: 83 c2 01 add $0x1,%edx char *dst; const char *src; dst = vdst; src = vsrc; while(n-- > 0) 302: 39 da cmp %ebx,%edx 304: 75 f2 jne 2f8 <memmove+0x18> *dst++ = *src++; return vdst; } 306: 5b pop %ebx 307: 5e pop %esi 308: 5d pop %ebp 309: c3 ret 0000030a <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 30a: b8 01 00 00 00 mov $0x1,%eax 30f: cd 40 int $0x40 311: c3 ret 00000312 <exit>: SYSCALL(exit) 312: b8 02 00 00 00 mov $0x2,%eax 317: cd 40 int $0x40 319: c3 ret 0000031a <wait>: SYSCALL(wait) 31a: b8 03 00 00 00 mov $0x3,%eax 31f: cd 40 int $0x40 321: c3 ret 00000322 <pipe>: SYSCALL(pipe) 322: b8 04 00 00 00 mov $0x4,%eax 327: cd 40 int $0x40 329: c3 ret 0000032a <read>: SYSCALL(read) 32a: b8 05 00 00 00 mov $0x5,%eax 32f: cd 40 int $0x40 331: c3 ret 00000332 <write>: SYSCALL(write) 332: b8 10 00 00 00 mov $0x10,%eax 337: cd 40 int $0x40 339: c3 ret 0000033a <close>: SYSCALL(close) 33a: b8 15 00 00 00 mov $0x15,%eax 33f: cd 40 int $0x40 341: c3 ret 00000342 <kill>: SYSCALL(kill) 342: b8 06 00 00 00 mov $0x6,%eax 347: cd 40 int $0x40 349: c3 ret 0000034a <exec>: SYSCALL(exec) 34a: b8 07 00 00 00 mov $0x7,%eax 34f: cd 40 int $0x40 351: c3 ret 00000352 <open>: SYSCALL(open) 352: b8 0f 00 00 00 mov $0xf,%eax 357: cd 40 int $0x40 359: c3 ret 0000035a <mknod>: SYSCALL(mknod) 35a: b8 11 00 00 00 mov $0x11,%eax 35f: cd 40 int $0x40 361: c3 ret 00000362 <unlink>: SYSCALL(unlink) 362: b8 12 00 00 00 mov $0x12,%eax 367: cd 40 int $0x40 369: c3 ret 0000036a <fstat>: SYSCALL(fstat) 36a: b8 08 00 00 00 mov $0x8,%eax 36f: cd 40 int $0x40 371: c3 ret 00000372 <link>: SYSCALL(link) 372: b8 13 00 00 00 mov $0x13,%eax 377: cd 40 int $0x40 379: c3 ret 0000037a <mkdir>: SYSCALL(mkdir) 37a: b8 14 00 00 00 mov $0x14,%eax 37f: cd 40 int $0x40 381: c3 ret 00000382 <chdir>: SYSCALL(chdir) 382: b8 09 00 00 00 mov $0x9,%eax 387: cd 40 int $0x40 389: c3 ret 0000038a <dup>: SYSCALL(dup) 38a: b8 0a 00 00 00 mov $0xa,%eax 38f: cd 40 int $0x40 391: c3 ret 00000392 <getpid>: SYSCALL(getpid) 392: b8 0b 00 00 00 mov $0xb,%eax 397: cd 40 int $0x40 399: c3 ret 0000039a <sbrk>: SYSCALL(sbrk) 39a: b8 0c 00 00 00 mov $0xc,%eax 39f: cd 40 int $0x40 3a1: c3 ret 000003a2 <sleep>: SYSCALL(sleep) 3a2: b8 0d 00 00 00 mov $0xd,%eax 3a7: cd 40 int $0x40 3a9: c3 ret 000003aa <uptime>: SYSCALL(uptime) 3aa: b8 0e 00 00 00 mov $0xe,%eax 3af: cd 40 int $0x40 3b1: c3 ret 000003b2 <getppid>: SYSCALL(getppid) 3b2: b8 16 00 00 00 mov $0x16,%eax 3b7: cd 40 int $0x40 3b9: c3 ret 000003ba <getChildren>: SYSCALL(getChildren) 3ba: b8 17 00 00 00 mov $0x17,%eax 3bf: cd 40 int $0x40 3c1: c3 ret 000003c2 <getCount>: SYSCALL(getCount) 3c2: b8 18 00 00 00 mov $0x18,%eax 3c7: cd 40 int $0x40 3c9: c3 ret 000003ca <setPolicy>: SYSCALL(setPolicy) 3ca: b8 19 00 00 00 mov $0x19,%eax 3cf: cd 40 int $0x40 3d1: c3 ret 000003d2 <getPolicy>: SYSCALL(getPolicy) 3d2: b8 1a 00 00 00 mov $0x1a,%eax 3d7: cd 40 int $0x40 3d9: c3 ret 3da: 66 90 xchg %ax,%ax 3dc: 66 90 xchg %ax,%ax 3de: 66 90 xchg %ax,%ax 000003e0 <printint>: write(fd, &c, 1); } static void printint(int fd, int xx, int base, int sgn) { 3e0: 55 push %ebp 3e1: 89 e5 mov %esp,%ebp 3e3: 57 push %edi 3e4: 56 push %esi 3e5: 89 c6 mov %eax,%esi 3e7: 53 push %ebx 3e8: 83 ec 4c sub $0x4c,%esp char buf[16]; int i, neg; uint x; neg = 0; if(sgn && xx < 0){ 3eb: 8b 5d 08 mov 0x8(%ebp),%ebx 3ee: 85 db test %ebx,%ebx 3f0: 74 09 je 3fb <printint+0x1b> 3f2: 89 d0 mov %edx,%eax 3f4: c1 e8 1f shr $0x1f,%eax 3f7: 84 c0 test %al,%al 3f9: 75 75 jne 470 <printint+0x90> neg = 1; x = -xx; } else { x = xx; 3fb: 89 d0 mov %edx,%eax static char digits[] = "0123456789ABCDEF"; char buf[16]; int i, neg; uint x; neg = 0; 3fd: c7 45 c4 00 00 00 00 movl $0x0,-0x3c(%ebp) 404: 89 75 c0 mov %esi,-0x40(%ebp) x = -xx; } else { x = xx; } i = 0; 407: 31 ff xor %edi,%edi 409: 89 ce mov %ecx,%esi 40b: 8d 5d d7 lea -0x29(%ebp),%ebx 40e: eb 02 jmp 412 <printint+0x32> do{ buf[i++] = digits[x % base]; 410: 89 cf mov %ecx,%edi 412: 31 d2 xor %edx,%edx 414: f7 f6 div %esi 416: 8d 4f 01 lea 0x1(%edi),%ecx 419: 0f b6 92 6b 08 00 00 movzbl 0x86b(%edx),%edx }while((x /= base) != 0); 420: 85 c0 test %eax,%eax x = xx; } i = 0; do{ buf[i++] = digits[x % base]; 422: 88 14 0b mov %dl,(%ebx,%ecx,1) }while((x /= base) != 0); 425: 75 e9 jne 410 <printint+0x30> if(neg) 427: 8b 55 c4 mov -0x3c(%ebp),%edx x = xx; } i = 0; do{ buf[i++] = digits[x % base]; 42a: 89 c8 mov %ecx,%eax 42c: 8b 75 c0 mov -0x40(%ebp),%esi }while((x /= base) != 0); if(neg) 42f: 85 d2 test %edx,%edx 431: 74 08 je 43b <printint+0x5b> buf[i++] = '-'; 433: 8d 4f 02 lea 0x2(%edi),%ecx 436: c6 44 05 d8 2d movb $0x2d,-0x28(%ebp,%eax,1) while(--i >= 0) 43b: 8d 79 ff lea -0x1(%ecx),%edi 43e: 66 90 xchg %ax,%ax 440: 0f b6 44 3d d8 movzbl -0x28(%ebp,%edi,1),%eax 445: 83 ef 01 sub $0x1,%edi #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 448: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 44f: 00 450: 89 5c 24 04 mov %ebx,0x4(%esp) 454: 89 34 24 mov %esi,(%esp) 457: 88 45 d7 mov %al,-0x29(%ebp) 45a: e8 d3 fe ff ff call 332 <write> buf[i++] = digits[x % base]; }while((x /= base) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 45f: 83 ff ff cmp $0xffffffff,%edi 462: 75 dc jne 440 <printint+0x60> putc(fd, buf[i]); } 464: 83 c4 4c add $0x4c,%esp 467: 5b pop %ebx 468: 5e pop %esi 469: 5f pop %edi 46a: 5d pop %ebp 46b: c3 ret 46c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi uint x; neg = 0; if(sgn && xx < 0){ neg = 1; x = -xx; 470: 89 d0 mov %edx,%eax 472: f7 d8 neg %eax int i, neg; uint x; neg = 0; if(sgn && xx < 0){ neg = 1; 474: c7 45 c4 01 00 00 00 movl $0x1,-0x3c(%ebp) 47b: eb 87 jmp 404 <printint+0x24> 47d: 8d 76 00 lea 0x0(%esi),%esi 00000480 <printf>: } // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, const char *fmt, ...) { 480: 55 push %ebp 481: 89 e5 mov %esp,%ebp 483: 57 push %edi char *s; int c, i, state; uint *ap; state = 0; 484: 31 ff xor %edi,%edi } // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, const char *fmt, ...) { 486: 56 push %esi 487: 53 push %ebx 488: 83 ec 3c sub $0x3c,%esp int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 48b: 8b 5d 0c mov 0xc(%ebp),%ebx char *s; int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; 48e: 8d 45 10 lea 0x10(%ebp),%eax } // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, const char *fmt, ...) { 491: 8b 75 08 mov 0x8(%ebp),%esi char *s; int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; 494: 89 45 d4 mov %eax,-0x2c(%ebp) for(i = 0; fmt[i]; i++){ 497: 0f b6 13 movzbl (%ebx),%edx 49a: 83 c3 01 add $0x1,%ebx 49d: 84 d2 test %dl,%dl 49f: 75 39 jne 4da <printf+0x5a> 4a1: e9 c2 00 00 00 jmp 568 <printf+0xe8> 4a6: 66 90 xchg %ax,%ax c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ 4a8: 83 fa 25 cmp $0x25,%edx 4ab: 0f 84 bf 00 00 00 je 570 <printf+0xf0> #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 4b1: 8d 45 e2 lea -0x1e(%ebp),%eax 4b4: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 4bb: 00 4bc: 89 44 24 04 mov %eax,0x4(%esp) 4c0: 89 34 24 mov %esi,(%esp) c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ state = '%'; } else { putc(fd, c); 4c3: 88 55 e2 mov %dl,-0x1e(%ebp) #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 4c6: e8 67 fe ff ff call 332 <write> 4cb: 83 c3 01 add $0x1,%ebx int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 4ce: 0f b6 53 ff movzbl -0x1(%ebx),%edx 4d2: 84 d2 test %dl,%dl 4d4: 0f 84 8e 00 00 00 je 568 <printf+0xe8> c = fmt[i] & 0xff; if(state == 0){ 4da: 85 ff test %edi,%edi uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ c = fmt[i] & 0xff; 4dc: 0f be c2 movsbl %dl,%eax if(state == 0){ 4df: 74 c7 je 4a8 <printf+0x28> if(c == '%'){ state = '%'; } else { putc(fd, c); } } else if(state == '%'){ 4e1: 83 ff 25 cmp $0x25,%edi 4e4: 75 e5 jne 4cb <printf+0x4b> if(c == 'd'){ 4e6: 83 fa 64 cmp $0x64,%edx 4e9: 0f 84 31 01 00 00 je 620 <printf+0x1a0> printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ 4ef: 25 f7 00 00 00 and $0xf7,%eax 4f4: 83 f8 70 cmp $0x70,%eax 4f7: 0f 84 83 00 00 00 je 580 <printf+0x100> printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ 4fd: 83 fa 73 cmp $0x73,%edx 500: 0f 84 a2 00 00 00 je 5a8 <printf+0x128> s = "(null)"; while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ 506: 83 fa 63 cmp $0x63,%edx 509: 0f 84 35 01 00 00 je 644 <printf+0x1c4> putc(fd, *ap); ap++; } else if(c == '%'){ 50f: 83 fa 25 cmp $0x25,%edx 512: 0f 84 e0 00 00 00 je 5f8 <printf+0x178> #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 518: 8d 45 e6 lea -0x1a(%ebp),%eax 51b: 83 c3 01 add $0x1,%ebx 51e: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 525: 00 } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 526: 31 ff xor %edi,%edi #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 528: 89 44 24 04 mov %eax,0x4(%esp) 52c: 89 34 24 mov %esi,(%esp) 52f: 89 55 d0 mov %edx,-0x30(%ebp) 532: c6 45 e6 25 movb $0x25,-0x1a(%ebp) 536: e8 f7 fd ff ff call 332 <write> } else if(c == '%'){ putc(fd, c); } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); 53b: 8b 55 d0 mov -0x30(%ebp),%edx #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 53e: 8d 45 e7 lea -0x19(%ebp),%eax 541: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 548: 00 549: 89 44 24 04 mov %eax,0x4(%esp) 54d: 89 34 24 mov %esi,(%esp) } else if(c == '%'){ putc(fd, c); } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); 550: 88 55 e7 mov %dl,-0x19(%ebp) #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 553: e8 da fd ff ff call 332 <write> int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 558: 0f b6 53 ff movzbl -0x1(%ebx),%edx 55c: 84 d2 test %dl,%dl 55e: 0f 85 76 ff ff ff jne 4da <printf+0x5a> 564: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi putc(fd, c); } state = 0; } } } 568: 83 c4 3c add $0x3c,%esp 56b: 5b pop %ebx 56c: 5e pop %esi 56d: 5f pop %edi 56e: 5d pop %ebp 56f: c3 ret ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ state = '%'; 570: bf 25 00 00 00 mov $0x25,%edi 575: e9 51 ff ff ff jmp 4cb <printf+0x4b> 57a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi } else if(state == '%'){ if(c == 'd'){ printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ printint(fd, *ap, 16, 0); 580: 8b 45 d4 mov -0x2c(%ebp),%eax 583: b9 10 00 00 00 mov $0x10,%ecx } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 588: 31 ff xor %edi,%edi } else if(state == '%'){ if(c == 'd'){ printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ printint(fd, *ap, 16, 0); 58a: c7 04 24 00 00 00 00 movl $0x0,(%esp) 591: 8b 10 mov (%eax),%edx 593: 89 f0 mov %esi,%eax 595: e8 46 fe ff ff call 3e0 <printint> ap++; 59a: 83 45 d4 04 addl $0x4,-0x2c(%ebp) 59e: e9 28 ff ff ff jmp 4cb <printf+0x4b> 5a3: 90 nop 5a4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi } else if(c == 's'){ s = (char*)*ap; 5a8: 8b 45 d4 mov -0x2c(%ebp),%eax ap++; 5ab: 83 45 d4 04 addl $0x4,-0x2c(%ebp) ap++; } else if(c == 'x' || c == 'p'){ printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ s = (char*)*ap; 5af: 8b 38 mov (%eax),%edi ap++; if(s == 0) s = "(null)"; 5b1: b8 64 08 00 00 mov $0x864,%eax 5b6: 85 ff test %edi,%edi 5b8: 0f 44 f8 cmove %eax,%edi while(*s != 0){ 5bb: 0f b6 07 movzbl (%edi),%eax 5be: 84 c0 test %al,%al 5c0: 74 2a je 5ec <printf+0x16c> 5c2: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 5c8: 88 45 e3 mov %al,-0x1d(%ebp) #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 5cb: 8d 45 e3 lea -0x1d(%ebp),%eax ap++; if(s == 0) s = "(null)"; while(*s != 0){ putc(fd, *s); s++; 5ce: 83 c7 01 add $0x1,%edi #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 5d1: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 5d8: 00 5d9: 89 44 24 04 mov %eax,0x4(%esp) 5dd: 89 34 24 mov %esi,(%esp) 5e0: e8 4d fd ff ff call 332 <write> } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; while(*s != 0){ 5e5: 0f b6 07 movzbl (%edi),%eax 5e8: 84 c0 test %al,%al 5ea: 75 dc jne 5c8 <printf+0x148> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 5ec: 31 ff xor %edi,%edi 5ee: e9 d8 fe ff ff jmp 4cb <printf+0x4b> 5f3: 90 nop 5f4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 5f8: 8d 45 e5 lea -0x1b(%ebp),%eax } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 5fb: 31 ff xor %edi,%edi #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 5fd: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 604: 00 605: 89 44 24 04 mov %eax,0x4(%esp) 609: 89 34 24 mov %esi,(%esp) 60c: c6 45 e5 25 movb $0x25,-0x1b(%ebp) 610: e8 1d fd ff ff call 332 <write> 615: e9 b1 fe ff ff jmp 4cb <printf+0x4b> 61a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi } else { putc(fd, c); } } else if(state == '%'){ if(c == 'd'){ printint(fd, *ap, 10, 1); 620: 8b 45 d4 mov -0x2c(%ebp),%eax 623: b9 0a 00 00 00 mov $0xa,%ecx } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 628: 66 31 ff xor %di,%di } else { putc(fd, c); } } else if(state == '%'){ if(c == 'd'){ printint(fd, *ap, 10, 1); 62b: c7 04 24 01 00 00 00 movl $0x1,(%esp) 632: 8b 10 mov (%eax),%edx 634: 89 f0 mov %esi,%eax 636: e8 a5 fd ff ff call 3e0 <printint> ap++; 63b: 83 45 d4 04 addl $0x4,-0x2c(%ebp) 63f: e9 87 fe ff ff jmp 4cb <printf+0x4b> while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ putc(fd, *ap); 644: 8b 45 d4 mov -0x2c(%ebp),%eax } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); } state = 0; 647: 31 ff xor %edi,%edi while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ putc(fd, *ap); 649: 8b 00 mov (%eax),%eax #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 64b: c7 44 24 08 01 00 00 movl $0x1,0x8(%esp) 652: 00 653: 89 34 24 mov %esi,(%esp) while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ putc(fd, *ap); 656: 88 45 e4 mov %al,-0x1c(%ebp) #include "user.h" static void putc(int fd, char c) { write(fd, &c, 1); 659: 8d 45 e4 lea -0x1c(%ebp),%eax 65c: 89 44 24 04 mov %eax,0x4(%esp) 660: e8 cd fc ff ff call 332 <write> putc(fd, *s); s++; } } else if(c == 'c'){ putc(fd, *ap); ap++; 665: 83 45 d4 04 addl $0x4,-0x2c(%ebp) 669: e9 5d fe ff ff jmp 4cb <printf+0x4b> 66e: 66 90 xchg %ax,%ax 00000670 <free>: static Header base; static Header *freep; void free(void *ap) { 670: 55 push %ebp Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 671: a1 e4 0a 00 00 mov 0xae4,%eax static Header base; static Header *freep; void free(void *ap) { 676: 89 e5 mov %esp,%ebp 678: 57 push %edi 679: 56 push %esi 67a: 53 push %ebx 67b: 8b 5d 08 mov 0x8(%ebp),%ebx Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 67e: 8b 08 mov (%eax),%ecx void free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; 680: 8d 53 f8 lea -0x8(%ebx),%edx for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 683: 39 d0 cmp %edx,%eax 685: 72 11 jb 698 <free+0x28> 687: 90 nop if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 688: 39 c8 cmp %ecx,%eax 68a: 72 04 jb 690 <free+0x20> 68c: 39 ca cmp %ecx,%edx 68e: 72 10 jb 6a0 <free+0x30> 690: 89 c8 mov %ecx,%eax free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 692: 39 d0 cmp %edx,%eax if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 694: 8b 08 mov (%eax),%ecx free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 696: 73 f0 jae 688 <free+0x18> 698: 39 ca cmp %ecx,%edx 69a: 72 04 jb 6a0 <free+0x30> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 69c: 39 c8 cmp %ecx,%eax 69e: 72 f0 jb 690 <free+0x20> break; if(bp + bp->s.size == p->s.ptr){ 6a0: 8b 73 fc mov -0x4(%ebx),%esi 6a3: 8d 3c f2 lea (%edx,%esi,8),%edi 6a6: 39 cf cmp %ecx,%edi 6a8: 74 1e je 6c8 <free+0x58> bp->s.size += p->s.ptr->s.size; bp->s.ptr = p->s.ptr->s.ptr; } else bp->s.ptr = p->s.ptr; 6aa: 89 4b f8 mov %ecx,-0x8(%ebx) if(p + p->s.size == bp){ 6ad: 8b 48 04 mov 0x4(%eax),%ecx 6b0: 8d 34 c8 lea (%eax,%ecx,8),%esi 6b3: 39 f2 cmp %esi,%edx 6b5: 74 28 je 6df <free+0x6f> p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; 6b7: 89 10 mov %edx,(%eax) freep = p; 6b9: a3 e4 0a 00 00 mov %eax,0xae4 } 6be: 5b pop %ebx 6bf: 5e pop %esi 6c0: 5f pop %edi 6c1: 5d pop %ebp 6c2: c3 ret 6c3: 90 nop 6c4: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ bp->s.size += p->s.ptr->s.size; 6c8: 03 71 04 add 0x4(%ecx),%esi 6cb: 89 73 fc mov %esi,-0x4(%ebx) bp->s.ptr = p->s.ptr->s.ptr; 6ce: 8b 08 mov (%eax),%ecx 6d0: 8b 09 mov (%ecx),%ecx 6d2: 89 4b f8 mov %ecx,-0x8(%ebx) } else bp->s.ptr = p->s.ptr; if(p + p->s.size == bp){ 6d5: 8b 48 04 mov 0x4(%eax),%ecx 6d8: 8d 34 c8 lea (%eax,%ecx,8),%esi 6db: 39 f2 cmp %esi,%edx 6dd: 75 d8 jne 6b7 <free+0x47> p->s.size += bp->s.size; 6df: 03 4b fc add -0x4(%ebx),%ecx p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; freep = p; 6e2: a3 e4 0a 00 00 mov %eax,0xae4 bp->s.size += p->s.ptr->s.size; bp->s.ptr = p->s.ptr->s.ptr; } else bp->s.ptr = p->s.ptr; if(p + p->s.size == bp){ p->s.size += bp->s.size; 6e7: 89 48 04 mov %ecx,0x4(%eax) p->s.ptr = bp->s.ptr; 6ea: 8b 53 f8 mov -0x8(%ebx),%edx 6ed: 89 10 mov %edx,(%eax) } else p->s.ptr = bp; freep = p; } 6ef: 5b pop %ebx 6f0: 5e pop %esi 6f1: 5f pop %edi 6f2: 5d pop %ebp 6f3: c3 ret 6f4: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 6fa: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 00000700 <malloc>: return freep; } void* malloc(uint nbytes) { 700: 55 push %ebp 701: 89 e5 mov %esp,%ebp 703: 57 push %edi 704: 56 push %esi 705: 53 push %ebx 706: 83 ec 1c sub $0x1c,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 709: 8b 45 08 mov 0x8(%ebp),%eax if((prevp = freep) == 0){ 70c: 8b 1d e4 0a 00 00 mov 0xae4,%ebx malloc(uint nbytes) { Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 712: 8d 48 07 lea 0x7(%eax),%ecx 715: c1 e9 03 shr $0x3,%ecx if((prevp = freep) == 0){ 718: 85 db test %ebx,%ebx malloc(uint nbytes) { Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 71a: 8d 71 01 lea 0x1(%ecx),%esi if((prevp = freep) == 0){ 71d: 0f 84 9b 00 00 00 je 7be <malloc+0xbe> 723: 8b 13 mov (%ebx),%edx 725: 8b 7a 04 mov 0x4(%edx),%edi base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ 728: 39 fe cmp %edi,%esi 72a: 76 64 jbe 790 <malloc+0x90> 72c: 8d 04 f5 00 00 00 00 lea 0x0(,%esi,8),%eax morecore(uint nu) { char *p; Header *hp; if(nu < 4096) 733: bb 00 80 00 00 mov $0x8000,%ebx 738: 89 45 e4 mov %eax,-0x1c(%ebp) 73b: eb 0e jmp 74b <malloc+0x4b> 73d: 8d 76 00 lea 0x0(%esi),%esi nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 740: 8b 02 mov (%edx),%eax if(p->s.size >= nunits){ 742: 8b 78 04 mov 0x4(%eax),%edi 745: 39 fe cmp %edi,%esi 747: 76 4f jbe 798 <malloc+0x98> 749: 89 c2 mov %eax,%edx p->s.size = nunits; } freep = prevp; return (void*)(p + 1); } if(p == freep) 74b: 3b 15 e4 0a 00 00 cmp 0xae4,%edx 751: 75 ed jne 740 <malloc+0x40> morecore(uint nu) { char *p; Header *hp; if(nu < 4096) 753: 8b 45 e4 mov -0x1c(%ebp),%eax 756: 81 fe 00 10 00 00 cmp $0x1000,%esi 75c: bf 00 10 00 00 mov $0x1000,%edi 761: 0f 43 fe cmovae %esi,%edi 764: 0f 42 c3 cmovb %ebx,%eax nu = 4096; p = sbrk(nu * sizeof(Header)); 767: 89 04 24 mov %eax,(%esp) 76a: e8 2b fc ff ff call 39a <sbrk> if(p == (char*)-1) 76f: 83 f8 ff cmp $0xffffffff,%eax 772: 74 18 je 78c <malloc+0x8c> return 0; hp = (Header*)p; hp->s.size = nu; 774: 89 78 04 mov %edi,0x4(%eax) free((void*)(hp + 1)); 777: 83 c0 08 add $0x8,%eax 77a: 89 04 24 mov %eax,(%esp) 77d: e8 ee fe ff ff call 670 <free> return freep; 782: 8b 15 e4 0a 00 00 mov 0xae4,%edx } freep = prevp; return (void*)(p + 1); } if(p == freep) if((p = morecore(nunits)) == 0) 788: 85 d2 test %edx,%edx 78a: 75 b4 jne 740 <malloc+0x40> return 0; 78c: 31 c0 xor %eax,%eax 78e: eb 20 jmp 7b0 <malloc+0xb0> if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ 790: 89 d0 mov %edx,%eax 792: 89 da mov %ebx,%edx 794: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi if(p->s.size == nunits) 798: 39 fe cmp %edi,%esi 79a: 74 1c je 7b8 <malloc+0xb8> prevp->s.ptr = p->s.ptr; else { p->s.size -= nunits; 79c: 29 f7 sub %esi,%edi 79e: 89 78 04 mov %edi,0x4(%eax) p += p->s.size; 7a1: 8d 04 f8 lea (%eax,%edi,8),%eax p->s.size = nunits; 7a4: 89 70 04 mov %esi,0x4(%eax) } freep = prevp; 7a7: 89 15 e4 0a 00 00 mov %edx,0xae4 return (void*)(p + 1); 7ad: 83 c0 08 add $0x8,%eax } if(p == freep) if((p = morecore(nunits)) == 0) return 0; } } 7b0: 83 c4 1c add $0x1c,%esp 7b3: 5b pop %ebx 7b4: 5e pop %esi 7b5: 5f pop %edi 7b6: 5d pop %ebp 7b7: c3 ret base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ if(p->s.size >= nunits){ if(p->s.size == nunits) prevp->s.ptr = p->s.ptr; 7b8: 8b 08 mov (%eax),%ecx 7ba: 89 0a mov %ecx,(%edx) 7bc: eb e9 jmp 7a7 <malloc+0xa7> Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; 7be: c7 05 e4 0a 00 00 e8 movl $0xae8,0xae4 7c5: 0a 00 00 base.s.size = 0; 7c8: ba e8 0a 00 00 mov $0xae8,%edx Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; 7cd: c7 05 e8 0a 00 00 e8 movl $0xae8,0xae8 7d4: 0a 00 00 base.s.size = 0; 7d7: c7 05 ec 0a 00 00 00 movl $0x0,0xaec 7de: 00 00 00 7e1: e9 46 ff ff ff jmp 72c <malloc+0x2c>
28.744934
100
0.428805
52371d1583bbc763b1121e7832070dd1ddef2eb1
597
asm
Assembly
oeis/284/A284678.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/284/A284678.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/284/A284678.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A284678: Positions of 0 in A284677; complement of A284679. ; Submitted by Christian Krause ; 2,6,10,14,19,23,27,32,36,40,45,49,53,57,62,66,70,75,79,83,88,92,96,100,105,109,113,118,122,126,131,135,139,143,148,152,156,161,165,169,174,178,182,187,191,195,199,204,208,212,217,221,225,230,234,238,242,247,251,255,260,264,268,273,277,281,285,290,294,298,303,307,311,316,320,324,329,333,337,341,346,350,354,359,363,367,372,376,380,384,389,393,397,402,406,410,415,419,423,427 mul $0,3 mov $1,$0 seq $0,254528 ; Number of decimal digits in the integer part of e^n. add $0,2 add $1,$0 mov $0,$1 sub $0,1
49.75
376
0.718593
67f59ce9311911295c772e37ea2c7604c2578071
553
asm
Assembly
04.Machine_Language/Sum1toN.asm
metabuddy/NAND2Tetris
3452e019aa00676381fb6e1ba2a0283795b5ccbe
[ "MIT" ]
null
null
null
04.Machine_Language/Sum1toN.asm
metabuddy/NAND2Tetris
3452e019aa00676381fb6e1ba2a0283795b5ccbe
[ "MIT" ]
null
null
null
04.Machine_Language/Sum1toN.asm
metabuddy/NAND2Tetris
3452e019aa00676381fb6e1ba2a0283795b5ccbe
[ "MIT" ]
null
null
null
// Sum1toN.asm // Computes RAM[1] = 1+2+...+n // Usage: put a number(n) in RAM[0] // ====== pseudo code ==== // n = R0 // i = 1 // sum = 0 // LOOP: // if i > n goto STOP // sum = sum + i // i = i + 1 // goto LOOP // STOP: // R1 = sum // --------------------------------- @R0 D=M @n //n var M=D @i //i var M=1 @sum //sum var M=0 (LOOP) //if condition & goto @n D=M @i D=D-M @STOP D;JLT //if body @i D=M @sum M=M+D // sum=sum+i @i M=M+1 //i=i+1 @LOOP 0;JMP (STOP) @sum D=M @R1 M=D (END) @END 0;JMP
10.634615
37
0.41953
cc19b952b24ce7bfeb4742e47e50473cdd7dc850
4,888
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_352.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_352.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_352.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rbp push %rcx lea addresses_D_ht+0x66e9, %rbp nop nop and %r8, %r8 vmovups (%rbp), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $1, %xmm7, %rcx nop nop xor %r14, %r14 pop %rcx pop %rbp pop %r8 pop %r14 ret .global s_faulty_load s_faulty_load: push %r15 push %r8 push %rbp push %rbx push %rcx push %rdx push %rsi // Store lea addresses_UC+0x2911, %r8 nop nop nop sub %rcx, %rcx mov $0x5152535455565758, %r15 movq %r15, %xmm4 movups %xmm4, (%r8) nop and $8480, %r15 // Store lea addresses_WT+0x133ad, %rbx nop nop add $40299, %r8 mov $0x5152535455565758, %rdx movq %rdx, %xmm5 movups %xmm5, (%rbx) nop add %rcx, %rcx // Store lea addresses_PSE+0x158d1, %r8 nop nop nop nop xor %rsi, %rsi mov $0x5152535455565758, %rdx movq %rdx, %xmm4 movups %xmm4, (%r8) nop nop xor %r15, %r15 // Faulty Load lea addresses_UC+0xf611, %r15 and %rdx, %rdx mov (%r15), %ebx lea oracles, %rdx and $0xff, %rbx shlq $12, %rbx mov (%rdx,%rbx,1), %rbx pop %rsi pop %rdx pop %rcx pop %rbx pop %rbp pop %r8 pop %r15 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_UC', 'AVXalign': False, 'size': 32, 'NT': True, 'same': False, 'congruent': 0}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 8}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 5}} [Faulty Load] {'src': {'type': 'addresses_UC', 'AVXalign': False, 'size': 4, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'} {'37': 21829} 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 */
48.39604
2,999
0.657938
ef12c18853d35ccc2be1f306bb595739e4263db3
729
asm
Assembly
oeis/167/A167774.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/167/A167774.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/167/A167774.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A167774: Subsequence of A167708 whose indices are congruent to 1 mod 5, i.e., a(n) = A167708(5*n+1). ; Submitted by Jon Maiga ; 9,1530,520191,176863410,60133039209,20445056467650,6951259065961791,2363407637370541290,803551645446918076809,273205196044314775573770,92888963103421576777004991,31581974249967291789406123170,10737778356025775786821304872809,3650813059074513800227454250631890,1241265702306978666301547623909969791,422026687971313672028725964675139097050,143487832644544341511100526441923383027209,48785441072457104800102150264289275090154010,16586906476802771087693219989331911607269336191 lpb $0 sub $0,1 mov $1,$3 mul $1,338 add $2,1 add $2,$1 add $3,$2 add $2,1 lpe mov $0,$3 mul $0,1521 add $0,9
42.882353
475
0.834019
16b4ee2851c0f4f4bdfcb46a8db9913611c09dd4
582
asm
Assembly
oeis/334/A334957.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/334/A334957.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/334/A334957.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A334957: Triangular array read by rows. T(n,k) is the number of labeled digraphs on n nodes with exactly k self loops, n>=0, 0<=k<=n. ; Submitted by Christian Krause ; 1,1,1,4,8,4,64,192,192,64,4096,16384,24576,16384,4096,1048576,5242880,10485760,10485760,5242880,1048576,1073741824,6442450944,16106127360,21474836480,16106127360,6442450944,1073741824,4398046511104,30786325577728,92358976733184,153931627888640,153931627888640,92358976733184,30786325577728,4398046511104 lpb $0 add $1,1 sub $0,$1 mov $2,$1 bin $2,2 lpe bin $1,$0 mov $0,4 pow $0,$2 mul $1,$0 mov $0,$1
36.375
305
0.761168
b6910ff241533535e7b544ff4d1354ac82c33a81
8,678
asm
Assembly
dv3/q68/sdhc/inicrd.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
dv3/q68/sdhc/inicrd.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
dv3/q68/sdhc/inicrd.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
; Q68 Initilaise an SHDC card (via bit-banging) 1.03 (C) W. Lenerz 2017-2020 ; ; 1.03 2020-03-29 get sysvars from sms base, use delay loop (adapted from MK's code for qlsd) ; 1.02 2018-05-08 card type is set in sysvars. ; 1.01 try to detect SD cards as well. section dv3 xdef inicrd include 'dev8_keys_java' include 'DEV8_dv3_keys' include 'DEV8_keys_err' include 'DEV8_keys_sys' include 'DEV8_dv3_hd_keys' include 'dev8_keys_q68' include 'dev8_smsq_smsq_base_keys' inireg reg d1-d4/a2/a6 ; algo : ; put into spi mode ; cmd0 ; acmd41 ; cmd58 ;+++ ; This routine initialises an sdhc card ; *** read/write via bit bang ; ; d1 c p card number (0 or q68_coff) ; a3 c p device defn block ; ; status return 0 or ERR.MCHK ;--- inicrd movem.l inireg,-(a7) move.l sms.sysb,a6 ; a6 = sysvars move.l #q68_timer,a2 ; point to Q68 40 MHz timer move.l #q68_1sec,d0 ; one second timeout move.l (a2),d3 ; current time lock_wait bset #7,sys_cdiu(a6) ; prevent poll from accessing device beq.s lock_ok ; got the lock, proceed move.l (a2),d2 ; current time sub.l d3,d2 ; difference cmp.l d0,d3 ; time expired ? blt.s lock_wait ; no movem.l (a7)+,inireg moveq #err.fdiu,d0 ; yes, device is still being used rts lock_ok move.l #mmc1_cs,a2 ; point to card physical addresses add.w d1,a2 ; a2 points to the correct addresses for this drive sf drv_cs(a2) move.l d1,d4 beq.s set_typ moveq #1,d4 set_typ add.w #sys_q8ct,d4 ; point card in sysvars sf (a6,d4.w) ; preset that card is SDHC ;;;;; debug code ;;;;;--------------------------------- genif debug = 1 cmp.l #'gold',q68_jflg ; debug? bne.s nodebug ; no...-> move.l d0,-(a7) ; will be popped up in java moveq #5,d0 dc.w jva.trpa ; debug bra out ; and continue ok nodebug endgen ;;;;; end debug code ;;;;;;----------------------------- st drv_clk(a2) st drv_dout(a2) ; now put card into SPI mode ; pretend to send many bytes, toggles clock moveq #15,d2 inilp1 moveq #-1,d0 bsr sendbyte dbf d2,inilp1 st drv_cs(a2) ; enable the card ; send cmd0 101 times or until correct response moveq #100,d2 ; nbr of loop iterations +1 inilp2 move.l #$40000000,d0 move.w #$95,d1 bsr snd_cmd ; send command 0 - put to idle bne.s lp2dbf ; command sending went wrong -> subq.b #1,d1 ; sent OK, but correct response? beq.s reply1 ; ... yes -> lp2dbf dbf d2,inilp2 ; ... no, try again bra ini_err ; if we get here, no correct answer from card ; here I got a valid reply , so cmd0 was successful ; now try to send command8 reply1 move.l #$48000001,d0 ; prepare cmd8 move.w #$aa87,d1 bsr snd_cmd ; send command 8, return 1 + 4 more bytes bne ini_old ; tx error, could be old card cmp.b #1,d1 ; correct response? bne ini_old ; no, could be old card, sd v. 1 bsr readbyte ; 2 bsr readbyte ; 3 bsr readbyte ; 4 move.b d0,d2 ; keep 4th response byte bsr readbyte ; 5 cmp.b #1,d2 ; 4th response byte must be 1 bne.s ini_err ; but it isn't cmp.b #$aa,d0 ; 5th response byte must be $aa bne.s ini_err ; but is isn't ; now do cmd55 followed by cmd41 (acmd41) move.w #$9fff,d2 ; should be enough on a slow machine inilp3 move.l #$77000000,d0 ; send command 55 (special command to follow) move.w #$87,d1 bsr snd_cmd bne.s ini_err ; pb on send command move.l #$69400000,d0 ; send acmd41 (sd_send_op_cond) move.w #$87,d1 bsr.s snd_cmd ; reply will be 0 if success bne.s ini_err tst.b d1 ; check for correct reply from card beq.s reply2 ; got correct reply dbf d2,inilp3 ; didn't, so try again bra.s ini_err ; if we get here, reply never was 0 reply2 move.l #$7a000000,d0 ; send command 58 -read ocr move.w #$87,d1 bsr.s snd_cmd ; bne.s ini_err bsr.s readbyte ; 1 get 4 more response bytes move.b d0,d2 ; keep response 1 bsr.s readbyte ; 2 bsr.s readbyte ; 3 bsr.s readbyte ; 4 andi.b #$40,d2 ; is this an SDHC card? bne.s ini_ok ; ... yes, done blk_sz move.l #$50000002,d0 ; ... no, try to set block size move.w #$ff,d1 bsr.s snd_cmd ; set block size cmp.b #0,d1 ; correct reply? bne.s ini_err move.b #sys..q8sd,(a6,d4.w) ; card is SD card, in byte mode ini_ok moveq #0,d0 ini_out clr.b drv_cs(a2) ; unselect drive out movem.l (a7)+,inireg bclr #7,sys_cdiu(a6) ; release the sector xfer buffer & card tst.l d0 rts ini_err st (a6,d4.w) ; card type remains undetermined moveq #err.mchk,d0 bra.s ini_out ;+++ ; This routine reads a byte from an sdhc card through bit-banging. ; A byte is read bit by bit, the MSB comes first. ; ; d0 r byte read ; d1 s ; a2 c p pointer to interface base for the selected card ; ; no error return ;+++ readbyte moveq #7,d1 ; dbf for 8 bits moveq #0,d0 ; d0 will contain result rblp clr.b drv_clk(a2) ; set clock low tst.b drv_din(a2) ; got a bit ? beq.s nextbit ; ... no bset d1,d0 ; ... yes, show it nextbit st drv_clk(a2) ; set clock high dbf d1,rblp rts ;+++ ; This routine sends a command to an sdhc card. The command is 6 bytes long. ; Bytes are sent via bitbang. ; On entry d0 contains the first 4 bytes and d1.w the last two. ; ; d0 cr first 4 command bytes / error code ; d1 cr .W : 2 last command bytes / return byte ; d3 s ; a2 c p pointer to interface base ; ; status return 0 or ERR.MCHK (card didn't reply) ;--- ; I could loop this, but it's just a few bytes anyway snd_cmd move.w d1,-(a7) ; sendbyte destroys d1 move.l d0,d3 moveq #-1,d0 bsr.s sendbyte ; (pretend to) send a byte (sends 8 clock pulses) move.l d3,d0 rol.l #8,d0 bsr.s sendbyte ; send first byte rol.l #8,d0 bsr.s sendbyte ; send next byte rol.l #8,d0 bsr.s sendbyte ; send 3rd byte rol.l #8,d0 bsr.s sendbyte ; send 4th byte move.w (a7)+,d3 move.w d3,d0 ror.w #8,d0 bsr.s sendbyte ; penultimate byte move.b d3,d0 bsr.s sendbyte ; last byte ; now wait for response move.w #99,d3 waitlp bsr.s readbyte ; get response byte, myst be <>-1 if success cmp.b #-1,d0 ; was reply -1 (=bad)? bne.s got_rply ; ... no, so we're done ok dbf d3,waitlp ; ... yes, command not finished yet moveq #err.mchk,d0 ; if we get here, card didn't reply in time rts got_rply move.b d0,d1 ; return byte moveq #0,d0 ; all OK rts ;++++ ; This routine sends a byte to an sdhc card through bit-banging. ; A byte is sent bit by bit, the MSb comes first. ; ; d0 c p byte to send ; d1 s ; a2 c p pointer to interface base for the selected card ; ; no error return ;++++ sendbyte moveq #7,d1 ; dbf for 8 bits sb_lp btst d1,d0 ; is this bit set? beq.s not_set ; ... no st drv_dout(a2) ; ...yes output to high, bit was set bra.s common not_set clr.b drv_dout(a2) ; output to low, bit was not set common clr.b drv_clk(a2) ; clock low st drv_clk(a2) ; clock high dbf d1,sb_lp ; do for all bits rts ;++++++++++++++++++++++++++++++ ; ; try to init a v.1 card ; ;++++++++++++++++++++++++++++++ ini_old ; do acmd41 move.w #$9fff,d2 ; should be enough on a slow machine inilp4 move.l #$77000000,d0 ; send command 55 (special command to follow) move.w #$87,d1 bsr.s snd_cmd bne ini_err ; pb on send command move.l #$69400000,d0 ; send acmd41 (sd_send_op_cond) move.w #$87,d1 bsr.s snd_cmd ; reply will be 0 if success bne ini_err ; if not, real problem tst.b d1 ; check for correct reply from card beq blk_sz ; got correct reply, set block size dbf d2,inilp4 ; didn't, so try again bra ini_err ; if we get here, reply never was 0 end ;; debug err1 moveq #-1,d0 bra ini_out err2 moveq #-2,d0 bra ini_out err3 moveq #-3,d0 bra ini_out err4 moveq #-4,d0 bra ini_out err5 moveq #-5,d0 bra ini_out err6 moveq #-6,d0 bra ini_out err7 moveq #-7,d0 bra ini_out err8 moveq #-8,d0 bra ini_out err9 moveq #-9,d0 bra ini_out err10 moveq #-10,d0 bra ini_out err11 moveq #-11,d0 bra ini_out end void GenerateCRCTable() { int i, j; uint8_t CRCPoly = 0x89; // the value of our CRC-7 polynomial // generate a table value for all 256 possible byte values for (i = 0; i < 256; ++i) { CRCTable[i] = (i & 0x80) ? i ^ CRCPoly : i; for (j = 1; j < 8; ++j) { CRCTable[i] <<= 1; if (CRCTable[i] & 0x80) CRCTable[i] ^= CRCPoly; } } } // adds a message byte to the current CRC-7 to get a the new CRC-7 uint8_t CRCAdd(uint8_t CRC, uint8_t message_byte) { return CRCTable[(CRC << 1) ^ message_byte]; } // returns the CRC-7 for a message of "length" bytes uint8_t getCRC(uint8_t message[], int length) { int i; uint8_t CRC = 0; for (i = 0; i < length; ++i) CRC = CRCAdd(CRC, message[i]); return CRC; }
23.517615
94
0.650265
d0bd706d42e39df89565e5ef9b39f7a129195e86
1,257
asm
Assembly
programs/oeis/197/A197903.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/197/A197903.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/197/A197903.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A197903: Ceiling((n+1/n)^4). ; 16,40,124,327,732,1447,2604,4359,6892,10407,15132,21319,29244,39207,51532,66567,84684,106279,131772,161607,196252,236199,281964,334087,393132,459687,534364,617799,710652,813607,927372,1052679,1190284,1340967,1505532,1684807,1879644,2090919,2319532,2566407,2832492,3118759,3426204,3755847,4108732,4485927,4888524,5317639,5774412,6260007,6775612,7322439,7901724,8514727,9162732,9847047,10569004,11329959,12131292,12974407,13860732,14791719,15768844,16793607,17867532,18992167,20169084,21399879,22686172,24029607,25431852,26894599,28419564,30008487,31663132,33385287,35176764,37039399,38975052,40985607,43072972,45239079,47485884,49815367,52229532,54730407,57320044,60000519,62773932,65642407,68608092,71673159,74839804,78110247,81486732,84971527,88566924,92275239,96098812,100040007 mov $1,2 sub $1,$0 mul $1,2 mov $3,$0 trn $0,$1 add $1,$0 add $1,12 mov $2,11 mov $4,$3 lpb $2 add $1,$4 sub $2,1 lpe mov $6,$3 lpb $6 add $5,$4 sub $6,1 lpe mov $2,10 mov $4,$5 lpb $2 add $1,$4 sub $2,1 lpe mov $5,0 mov $6,$3 lpb $6 add $5,$4 sub $6,1 lpe mov $2,4 mov $4,$5 lpb $2 add $1,$4 sub $2,1 lpe mov $5,0 mov $6,$3 lpb $6 add $5,$4 sub $6,1 lpe mov $2,1 mov $4,$5 lpb $2 add $1,$4 sub $2,1 lpe mov $0,$1
23.716981
782
0.736675
a057e495f181b8e8d0c3ac093434402eda774462
7,507
asm
Assembly
ffmpeg-3.2.5/libavfilter/x86/vf_stereo3d.asm
huyu0415/FFmpeg
7a3f75791cb3255805bf17126d4074a328f46c8c
[ "Apache-2.0" ]
3,645
2016-08-25T09:31:17.000Z
2022-03-25T06:28:34.000Z
ffmpeg-3.2.5/libavfilter/x86/vf_stereo3d.asm
huyu0415/FFmpeg
7a3f75791cb3255805bf17126d4074a328f46c8c
[ "Apache-2.0" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
ffmpeg-3.2.5/libavfilter/x86/vf_stereo3d.asm
huyu0415/FFmpeg
7a3f75791cb3255805bf17126d4074a328f46c8c
[ "Apache-2.0" ]
764
2016-08-26T09:19:00.000Z
2022-03-22T12:07:16.000Z
;***************************************************************************** ;* x86-optimized functions for stereo3d filter ;* ;* Copyright (C) 2015 Paul B Mahol ;* ;* This file is part of FFmpeg. ;* ;* FFmpeg is free software; you can redistribute it and/or ;* modify it under the terms of the GNU Lesser General Public ;* License as published by the Free Software Foundation; either ;* version 2.1 of the License, or (at your option) any later version. ;* ;* FFmpeg is distributed in the hope that it will be useful, ;* but WITHOUT ANY WARRANTY; without even the implied warranty of ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;* Lesser General Public License for more details. ;* ;* You should have received a copy of the GNU Lesser General Public ;* License along with FFmpeg; if not, write to the Free Software ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ;***************************************************************************** %include "libavutil/x86/x86util.asm" SECTION_RODATA ; rgbrgbrgbrgb ; rrrrggggbbbb shuf: db 0, 4, 8, 1,5, 9, 2, 6,10,3, 7,11,-1,-1,-1,-1 ex_r: db 0,-1,-1,-1,3,-1,-1,-1,6,-1,-1,-1, 9,-1,-1,-1 ex_g: db 1,-1,-1,-1,4,-1,-1,-1,7,-1,-1,-1,10,-1,-1,-1 ex_b: db 2,-1,-1,-1,5,-1,-1,-1,8,-1,-1,-1,11,-1,-1,-1 SECTION .text INIT_XMM sse4 %if ARCH_X86_64 cglobal anaglyph, 6, 10, 14, 2*6*mmsize, dst, lsrc, rsrc, dst_linesize, l_linesize, r_linesize, width, height, o, cnt %define ana_matrix_rq r6q %define ana_matrix_gq r7q %define ana_matrix_bq r8q %else ; ARCH_X86_32 %if HAVE_ALIGNED_STACK cglobal anaglyph, 3, 7, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, l_linesize, o, cnt %else cglobal anaglyph, 3, 6, 8, 2*9*mmsize, dst, lsrc, rsrc, dst_linesize, o, cnt %define l_linesizeq r4mp %endif ; HAVE_ALIGNED_STACK %define ana_matrix_rq r3q %define ana_matrix_gq r4q %define ana_matrix_bq r5q %define r_linesizeq r5mp %define widthd r6mp %define heightd r7mp %define m8 [rsp+mmsize*12] %define m9 [rsp+mmsize*13] %define m10 [rsp+mmsize*14] %define m11 [rsp+mmsize*15] %define m12 [rsp+mmsize*16] %define m13 [rsp+mmsize*17] %endif ; ARCH mov ana_matrix_rq, r8m mov ana_matrix_gq, r9m mov ana_matrix_bq, r10m movu m3, [ana_matrix_rq+ 0] movq m5, [ana_matrix_rq+16] pshufd m0, m3, q0000 pshufd m1, m3, q1111 pshufd m2, m3, q2222 pshufd m3, m3, q3333 pshufd m4, m5, q0000 pshufd m5, m5, q1111 mova [rsp+mmsize*0], m0 mova [rsp+mmsize*1], m1 mova [rsp+mmsize*2], m2 mova [rsp+mmsize*3], m3 mova [rsp+mmsize*4], m4 mova [rsp+mmsize*5], m5 movu m3, [ana_matrix_gq+ 0] movq m5, [ana_matrix_gq+16] pshufd m0, m3, q0000 pshufd m1, m3, q1111 pshufd m2, m3, q2222 pshufd m3, m3, q3333 pshufd m4, m5, q0000 pshufd m5, m5, q1111 mova [rsp+mmsize*6 ], m0 mova [rsp+mmsize*7 ], m1 mova [rsp+mmsize*8 ], m2 mova [rsp+mmsize*9 ], m3 mova [rsp+mmsize*10], m4 mova [rsp+mmsize*11], m5 %if ARCH_X86_64 movu m11, [ana_matrix_bq+ 0] movq m13, [ana_matrix_bq+16] pshufd m8, m11, q0000 pshufd m9, m11, q1111 pshufd m10, m11, q2222 pshufd m11, m11, q3333 pshufd m12, m13, q0000 pshufd m13, m13, q1111 mov widthd, dword widthm mov heightd, dword heightm %else movu m3, [ana_matrix_bq+ 0] movq m5, [ana_matrix_bq+16] pshufd m0, m3, q0000 pshufd m1, m3, q1111 pshufd m2, m3, q2222 pshufd m3, m3, q3333 pshufd m4, m5, q0000 pshufd m5, m5, q1111 mova [rsp+mmsize*12], m0 mova [rsp+mmsize*13], m1 mova [rsp+mmsize*14], m2 mova [rsp+mmsize*15], m3 mova [rsp+mmsize*16], m4 mova [rsp+mmsize*17], m5 mov dst_linesizeq, r3m %if HAVE_ALIGNED_STACK mov l_linesizeq, r4m %endif %endif ; ARCH .nextrow: mov od, widthd xor cntd, cntd .loop: movu m3, [lsrcq+cntq] pshufb m1, m3, [ex_r] pshufb m2, m3, [ex_g] pshufb m3, [ex_b] movu m0, [rsrcq+cntq] pshufb m4, m0, [ex_r] pshufb m5, m0, [ex_g] pshufb m0, [ex_b] pmulld m1, [rsp+mmsize*0] pmulld m2, [rsp+mmsize*1] pmulld m3, [rsp+mmsize*2] pmulld m4, [rsp+mmsize*3] pmulld m5, [rsp+mmsize*4] pmulld m0, [rsp+mmsize*5] paddd m1, m2 paddd m3, m4 paddd m5, m0 paddd m1, m3 paddd m1, m5 movu m3, [lsrcq+cntq] pshufb m7, m3, [ex_r] pshufb m2, m3, [ex_g] pshufb m3, [ex_b] movu m0, [rsrcq+cntq] pshufb m4, m0, [ex_r] pshufb m5, m0, [ex_g] pshufb m0, [ex_b] pmulld m7, [rsp+mmsize*6] pmulld m2, [rsp+mmsize*7] pmulld m3, [rsp+mmsize*8] pmulld m4, [rsp+mmsize*9] pmulld m5, [rsp+mmsize*10] pmulld m0, [rsp+mmsize*11] paddd m7, m2 paddd m3, m4 paddd m5, m0 paddd m7, m3 paddd m7, m5 movu m4, [lsrcq+cntq] pshufb m2, m4, [ex_r] pshufb m3, m4, [ex_g] pshufb m4, [ex_b] movu m0, [rsrcq+cntq] pshufb m5, m0, [ex_r] pshufb m6, m0, [ex_g] pshufb m0, [ex_b] pmulld m2, m8 pmulld m3, m9 pmulld m4, m10 pmulld m5, m11 pmulld m6, m12 pmulld m0, m13 paddd m2, m3 paddd m4, m5 paddd m6, m0 paddd m2, m4 paddd m2, m6 psrld m1, 16 psrld m7, 16 psrld m2, 16 packusdw m1, m7 packusdw m2, m2 packuswb m1, m2 pshufb m1, [shuf] movq [dstq+cntq+0], m1 psrldq m1, 8 movd [dstq+cntq+8], m1 add cntd, 12 sub od, 4 jg .loop add dstq, dst_linesizeq add lsrcq, l_linesizeq add rsrcq, r_linesizeq sub heightd, 1 jg .nextrow REP_RET
34.59447
117
0.458639
e9e7a307b10466b0fb70b3fe4e920eb583945188
688
asm
Assembly
src/test/ref/string-escapes-10.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/test/ref/string-escapes-10.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/test/ref/string-escapes-10.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
// Test octal escapes in chars // Commodore 64 PRG executable file .file [name="string-escapes-10.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstart(main) .const MSG1 = 'a' .const MSG2 = 'b' .const MSG3 = 'c' .const MSG4 = '\$ff' .label SCREEN = $400 .segment Code main: { // SCREEN[0] = MSG1 lda #MSG1 sta SCREEN // SCREEN[1] = MSG2 lda #MSG2 sta SCREEN+1 // SCREEN[2] = MSG3 lda #MSG3 sta SCREEN+2 // SCREEN[3] = MSG4 lda #MSG4 sta SCREEN+3 // } rts }
21.5
68
0.614826
d016844d466a433a28f3b0b2eab71d199cd89d59
3,920
asm
Assembly
externals/mpir-3.0.0/mpn/x86_64w/divrem_2.asm
JaminChan/eos_win
c03e57151cfe152d0d3120abb13226f4df74f37e
[ "MIT" ]
12
2021-09-29T14:50:06.000Z
2022-03-31T15:01:21.000Z
externals/mpir-3.0.0/mpn/x86_64w/divrem_2.asm
JaminChan/eos_win
c03e57151cfe152d0d3120abb13226f4df74f37e
[ "MIT" ]
15
2021-12-24T22:53:49.000Z
2021-12-25T10:03:13.000Z
LibSource/mpir/mpn/x86_64w/divrem_2.asm
ekzyis/CrypTool-2
1af234b4f74486fbfeb3b3c49228cc36533a8c89
[ "Apache-2.0" ]
10
2021-10-17T19:46:51.000Z
2022-03-18T02:57:57.000Z
; PROLOGUE(mpn_divrem_2) ; x86-64 mpn_divrem_2 -- Divide an mpn number by a normalized 2-limb number. ; Copyright 2007, 2008 Free Software Foundation, Inc. ; Copyright Brian Gladman 2010 (Conversion to yasm format) ; This file is part of the GNU MP Library. ; The GNU MP Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free Software Foundation; either version 3 of the License, or (at ; your option) any later version. ; The GNU MP Library is distributed in the hope that it will be useful, but ; WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY ; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public ; License for more details. ; You should have received a copy of the GNU Lesser General Public License ; mp_limb_t mpn_divrem_2(mp_ptr, mp_size_t, mp_ptr, mp_size_t, mp_ptr) ; rax rdi rsi rdx rcx r8 ; rax rcx rdx r8 r9 [rsp+40] %include 'yasm_mac.inc' BITS 64 TEXT %define reg_save_list rbx, rbp, rsi, rdi, r12, r13, r14, r15 xalign 16 WIN64_GCC_PROC mpn_divrem_2, 5, frame lea rax, [rdx+rcx*8] mov r13, rsi lea r12, [rax-24] mov rbp, rdi mov r11, [r8+8] mov r9, [rax-8] mov r8, [r8] mov r10, [rax-16] xor r15d, r15d cmp r11, r9 ja .1 setb dl cmp r8, r10 setbe al or dl, al jne .10 .1: lea rbx, [rcx+r13-3] test rbx, rbx js .14 mov rdx, r11 mov rax, -1 not rdx div r11 mov rdx, r11 mov rdi, rax imul rdx, rax mov r14, rdx mul r8 mov rcx, rdx mov rdx, -1 add r14, r8 adc rdx, 0 add r14, rcx adc rdx, 0 js .3 .2: dec rdi sub r14, r11 sbb rdx, 0 jns .2 .3: %ifdef NEW lea rbp, [rbp+rbx*8] mov rcx, rbx mov rbx, r9 mov r9, rdi mov r14, r10 mov rsi, r11 neg rsi xalign 16 .4: mov rax, r9 mul rbx add rax, r14 mov r10, rax adc rdx, rbx mov rdi, rdx imul rdx, rsi mov rax, r8 lea rbx, [rdx+r14] mul rdi xor r14d, r14d cmp r13, rcx jg .5 mov r14, [r12] sub r12, 8 .5: sub r14, r8 sbb rbx, r11 sub r14, rax sbb rbx, rdx inc rdi xor edx, edx cmp rbx, r10 mov rax, r8 adc rdx, -1 add rdi, rdx and rax, rdx and rdx, r11 add r14, rax adc rbx, rdx cmp rbx, r11 jae .11 .6: mov [rbp], rdi sub rbp, 8 dec rcx jns .4 mov r10, r14 mov r9, rbx %else lea rbp, [rbp+rbx*8] mov rcx, rbx mov rax, r9 mov rsi, r10 xalign 16 .7: mov r14, rax mul rdi mov r9, r11 add rax, rsi mov rbx, rax adc rdx, r14 lea r10, [rdx+1] mov rax, rdx imul r9, rdx sub rsi, r9 xor r9d, r9d mul r8 cmp r13, rcx jg .8 mov r9, [r12] sub r12, 8 .8: sub r9, r8 sbb rsi, r11 sub r9, rax sbb rsi, rdx cmp rsi, rbx sbb rax, rax not rax add r10, rax mov rbx, r8 and rbx, rax and rax, r11 add r9, rbx adc rax, rsi cmp r11, rax jbe .12 .9: mov [rbp], r10 sub rbp, 8 mov rsi, r9 dec rcx jns .7 mov r10, rsi mov r9, rax %endif jmp .14 .10:inc r15d sub r10, r8 sbb r9, r11 jmp .1 %ifdef NEW .11:seta dl cmp r14, r8 setae al orb al, dl je .6 inc rdi sub r14, r8 sbb rbx, r11 jmp .6 %else .12:jb .13 cmp r9, r8 jb .9 .13:inc r10 sub r9, r8 sbb rax, r11 jmp .9 %endif .14:mov [r12+8], r10 mov [r12+16], r9 mov rax, r15 WIN64_GCC_END end
18.317757
77
0.539796
8573f4618d9206643dbe3d6bcb4c610066480ca2
6,019
asm
Assembly
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_938.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_938.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_938.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0xe855, %rcx nop mfence mov $0x6162636465666768, %rdx movq %rdx, %xmm3 and $0xffffffffffffffc0, %rcx vmovntdq %ymm3, (%rcx) nop nop nop nop and %rbx, %rbx lea addresses_A_ht+0x13d55, %rbp nop nop nop cmp %rsi, %rsi mov $0x6162636465666768, %r8 movq %r8, %xmm1 vmovups %ymm1, (%rbp) xor %rcx, %rcx lea addresses_WT_ht+0x11455, %rsi lea addresses_normal_ht+0x15995, %rdi clflush (%rdi) nop nop cmp %r15, %r15 mov $25, %rcx rep movsw add %rbx, %rbx lea addresses_WT_ht+0x935, %rsi lea addresses_A_ht+0x17555, %rdi nop xor $20394, %rbp mov $75, %rcx rep movsw and $5695, %rdx lea addresses_normal_ht+0x16d15, %rsi lea addresses_normal_ht+0x14a55, %rdi sub %rdx, %rdx mov $56, %rcx rep movsq inc %rdi lea addresses_D_ht+0x15c55, %r15 clflush (%r15) nop add %rcx, %rcx mov (%r15), %rbx nop and %rdi, %rdi lea addresses_normal_ht+0x12455, %rcx dec %rbp movb (%rcx), %bl inc %r15 lea addresses_A_ht+0x19a55, %rbp nop nop nop nop sub %rsi, %rsi movb (%rbp), %dl nop nop nop nop nop dec %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %rbp pop %r8 pop %r15 ret .global s_faulty_load s_faulty_load: push %r14 push %r15 push %r8 push %rbp push %rcx push %rdx push %rsi // Faulty Load mov $0x7597b70000000455, %rdx nop nop nop nop cmp $52064, %r14 vmovups (%rdx), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $0, %xmm1, %rsi lea oracles, %rcx and $0xff, %rsi shlq $12, %rsi mov (%rcx,%rsi,1), %rsi pop %rsi pop %rdx pop %rcx pop %rbp pop %r8 pop %r15 pop %r14 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 10, 'size': 32, 'same': False, 'NT': True}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 8, 'size': 32, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 11, 'size': 8, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 11, 'size': 1, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 8, 'size': 1, 'same': False, 'NT': 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 */
43.302158
2,999
0.661904
3520557232bc45f15a421be1967ee40b25ae1935
661
asm
Assembly
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadBGPalette.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadBGPalette.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_loadBGPalette.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; ************************************************** ; SMSlib - C programming library for the SMS/GG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "SMSlib_private.inc" SECTION code_clib SECTION code_SMSlib PUBLIC asm_SMSlib_loadBGPalette asm_SMSlib_loadBGPalette: ; void SMS_loadBGPalette (void *palette) ; ; enter : hl = void *palette ; ; uses : af, bc, hl di ld a,SMS_CRAMAddress&0xff out (VDPControlPort),a ld a,SMS_CRAMAddress/256 out (VDPControlPort),a ei ld bc,0x1000 + VDPDataPort loop: outi jp nz, loop ret
16.948718
52
0.558245
3f636c534d67c52452828ac86b67efe8851a9359
490
asm
Assembly
programs/oeis/074/A074909.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/074/A074909.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/074/A074909.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A074909: Running sum of Pascal's triangle (A007318), or beheaded Pascal's triangle read by beheaded rows. ; 1,1,2,1,3,3,1,4,6,4,1,5,10,10,5,1,6,15,20,15,6,1,7,21,35,35,21,7,1,8,28,56,70,56,28,8,1,9,36,84,126,126,84,36,9,1,10,45,120,210,252,210,120,45,10,1,11,55,165,330,462,462,330,165,55,11,1,12,66,220,495,792,924,792,495,220,66,12,1,13,78,286,715,1287,1716,1716,1287,715,286,78,13,1,14,91,364,1001,2002,3003,3432,3003 lpb $0 add $1,1 mov $2,$0 trn $0,$1 lpe bin $1,$2 mov $0,$1
44.545455
314
0.671429
7a6343378adcfb1f891b3c5e3fe19f9dcb7d2295
721
asm
Assembly
oeis/045/A045346.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/045/A045346.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/045/A045346.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A045346: Primes congruent to {0, 1, 2, 4, 5, 6} mod 7. ; Submitted by Jon Maiga ; 2,5,7,11,13,19,23,29,37,41,43,47,53,61,67,71,79,83,89,97,103,107,109,113,127,131,137,139,149,151,163,167,173,179,181,191,193,197,211,223,229,233,239,251,257,263,271,277,281,293,307,313,317,331,337,347,349,359,373,379,383,389,397,401,419,421,431,433,439,443,449,457,461,463,467,487,491,499,503,509,523,541,547,557,569,571,587,593,599,601,607,613,617,631,641,643,653,659,673,677 mov $1,6 mov $2,332202 lpb $2 mov $3,$6 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 add $1,7 mov $4,$0 max $4,0 cmp $4,$0 mul $2,$4 sub $2,18 add $5,$1 div $5,7 mov $6,$5 lpe mov $0,$5 add $0,1
31.347826
378
0.656033
698363781929533ea6606eb2eeb803f68313e31f
412
asm
Assembly
programs/oeis/204/A204435.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/204/A204435.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/204/A204435.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A204435: Symmetric matrix: f(i,j)=((i+j)^2 mod 3), read by (constant) antidiagonals. ; 1,0,0,1,1,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,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,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 lpb $0 add $2,7 add $3,1 sub $0,$3 trn $0,1 lpe mod $2,3 gcd $2,2 div $2,2 add $2,6 add $1,$2 pow $1,6 div $1,70993
24.235294
199
0.543689
f9ca40edb5d99369e4e6362560b7baee9f128134
927
asm
Assembly
libsrc/_DEVELOPMENT/arch/sms/z80/asm_sms_ldir_vram_to_vram.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/arch/sms/z80/asm_sms_ldir_vram_to_vram.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/arch/sms/z80/asm_sms_ldir_vram_to_vram.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ======================================================================== ; ; void *sms_ldir_vram_to_vram(void *dst, void *src, unsigned int n) ; ; memcpy within vram; ; VRAM addresses are assumed to be stable. ; ; ======================================================================== SECTION code_clib SECTION code_crt_common PUBLIC asm_sms_ldir_vram_to_vram asm_sms_ldir_vram_to_vram: ; memcpy within vram ; ; enter : hl = void *src in vram ; de = void *dst in vram ; bc = unsigned int n > 0 ; ; exit : hl = void *src, &byte after last read ; de = void *dst, &byte after last written ; ; uses : af, bc, de, hl, af' loop: ld a,l out ($bf),a ld a,h out ($bf),a in a,($be) ex af,af' ld a,e out ($bf),a ld a,d or $40 out ($bf),a ex af,af' out ($be),a inc de cpi jp pe, loop ret
17.826923
74
0.456311
9dbb29740e2210013662f752d7b04b3f67cb6b1d
424
asm
Assembly
software/firmware/lib/src/gpio_io_fast.asm
orgua/shepherd
347af12740b008a78b7012ae748d9eb2b147274b
[ "MIT" ]
null
null
null
software/firmware/lib/src/gpio_io_fast.asm
orgua/shepherd
347af12740b008a78b7012ae748d9eb2b147274b
[ "MIT" ]
5
2020-10-14T14:30:55.000Z
2020-11-04T15:52:07.000Z
software/firmware/lib/src/gpio_io_fast.asm
orgua/shepherd
347af12740b008a78b7012ae748d9eb2b147274b
[ "MIT" ]
1
2020-07-15T09:21:28.000Z
2020-07-15T09:21:28.000Z
.global gpio_read_pin gpio_read_pin: QBBS pin_is_set, r31, r14 pin_is_clear: LDI r14, 0 JMP r3.w2 pin_is_set: LDI r14, 1 JMP r3.w2 .global gpio_toggle_pin gpio_toggle_pin: QBBS gpio_clear_pin, r31, r14 ; .global gpio_set_pin gpio_set_pin: SET r30, r30, r14 ; set pin high JMP r3.w2 .global gpio_clear_pin gpio_clear_pin: CLR r30, r30, r14 ; set pin low JMP r3.w2
16.307692
36
0.667453
259ef16edc41fd30940fe9fdf12f0995ef77abb3
676
asm
Assembly
oeis/189/A189801.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/189/A189801.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/189/A189801.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A189801: a(n) = 6*a(n-1) + 9*a(n-2), with a(0)=0, a(1)=1. ; Submitted by Christian Krause ; 0,1,6,45,324,2349,17010,123201,892296,6462585,46806174,339000309,2455257420,17782547301,128792600586,932798529225,6755924580624,48930734246769,354387726706230,2566702968458301,18589707351105876,134638570822759965,975138791096512674,7062579883983915729,51151728423772108440,370473589498487892201,2683207092804876329166,19433504862315649004805,140749893009137780991324,1019400901815667526991189,7383154447976245190869050,53473534804198478888135001,387289598856977080046631456 mov $1,3 pow $1,$0 lpb $0 sub $0,1 mov $3,$1 mov $1,$2 mul $2,2 add $2,$3 lpe mov $0,$2 div $0,3
42.25
475
0.807692
f83e7c84a83141e47a1e332b9582154ee98031c7
729
asm
Assembly
oeis/160/A160074.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/160/A160074.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/160/A160074.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A160074: Numerator of Hermite(n, 11/26). ; Submitted by Christian Krause ; 1,11,-217,-9823,111985,14512531,-29616809,-29757197767,-257255805343,77633648903195,1636542297788551,-244399768017125039,-8773061711366208047,894781780252430869667,48391432742519857724855,-3701801623986784440290839,-286064381868430307508214079,16872634981967796870502502443,1829324923017646312517725624807,-82530537077097966722442242990335,-12655760563467402252935698635404239,418693064443040830261416877625217971,94436212188365070324213174567976686103,-2074603293126435840257550981773377285223 add $0,1 mov $3,1 lpb $0 sub $0,1 add $2,$3 mov $3,$1 mov $1,$2 mul $2,12 sub $2,$1 mul $1,2 mul $3,-169 mul $3,$0 lpe mov $0,$1 div $0,2
36.45
496
0.809328
c83ccf2c7b6615dda3d38159778d6a0f3b699915
268
asm
Assembly
programs/oeis/113/A113335.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/113/A113335.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/113/A113335.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A113335: Binomial(n+4,5)*3^5. ; 243,1458,5103,13608,30618,61236,112266,192456,312741,486486,729729,1061424,1503684,2082024,2825604,3767472,4944807,6399162,8176707,10328472,12910590,15984540,19617390,23882040,28857465,34628958 add $0,5 bin $0,5 mov $1,$0 mul $1,243
33.5
195
0.783582
472f2a7cb99ddfcd082b8414ede900cd67e22fce
2,136
asm
Assembly
kernel/src/cpu/irq.asm
Stoozy/osdev
2c56837ee8789be0b0db472c78f6e8b801f02f25
[ "MIT" ]
null
null
null
kernel/src/cpu/irq.asm
Stoozy/osdev
2c56837ee8789be0b0db472c78f6e8b801f02f25
[ "MIT" ]
null
null
null
kernel/src/cpu/irq.asm
Stoozy/osdev
2c56837ee8789be0b0db472c78f6e8b801f02f25
[ "MIT" ]
null
null
null
[bits 64] global load_idt global irq0 global irq1 global irq2 global irq3 global irq4 global irq5 global irq6 global irq7 global irq8 global irq9 global irq10 global irq11 global irq12 global irq13 global irq14 global irq15 global dummy_irq %macro pushaq 0 push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 push rbp push rcx push rbx push rax push rsi push rdi %endmacro %macro popaq 0 pop rdi pop rsi pop rax pop rbx pop rcx pop rbp pop r15 pop r14 pop r13 pop r12 pop r11 pop r10 pop r9 pop r8 %endmacro extern irq0_handler extern irq1_handler extern irq2_handler extern irq3_handler extern irq4_handler extern irq5_handler extern irq6_handler extern irq7_handler extern irq8_handler extern irq9_handler extern irq10_handler extern irq11_handler extern irq12_handler extern irq13_handler extern irq14_handler extern irq15_handler extern dummy_handler extern scheduler extern tick section .text hang: hlt jmp hang dummy_irq: pushaq call dummy_handler jmp hang ;popaq ;iretq irq0: pushaq call irq0_handler popaq iretq irq1: pushfq call irq1_handler popfq iretq irq2: pushfq call irq2_handler popfq iretq irq3: pushfq call irq3_handler popfq iretq irq4: pushfq call irq4_handler popfq iretq irq5: pushfq call irq5_handler popfq iretq irq6: pushfq call irq6_handler popfq iretq irq7: pushfq call irq7_handler popfq iretq irq8: pushfq call irq8_handler popfq iretq irq9: pushfq call irq9_handler popfq iretq irq10: pushfq call irq10_handler popfq iretq irq11: pushfq call irq11_handler popfq iretq irq12: pushfq call irq12_handler popfq iretq irq13: pushfq call irq13_handler popfq iretq irq14: pushfq call irq14_handler popfq iretq irq15: pushfq call irq15_handler popfq iretq
11.483871
22
0.663858
680c8cc7e2590c8b48224c0b4185f026235e77c8
471
asm
Assembly
programs/oeis/313/A313799.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/313/A313799.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/313/A313799.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A313799: Coordination sequence Gal.3.53.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,15,21,27,33,38,43,48,53,58,63,69,75,81,86,91,96,101,106,111,117,123,129,134,139,144,149,154,159,165,171,177,182,187,192,197,202,207,213,219,225,230,235,240,245,250,255,261 add $0,1 mov $2,2 add $2,$0 lpb $0 sub $0,1 add $1,6 trn $1,$2 trn $2,9 lpe trn $1,4 add $1,1 mov $0,$1
29.4375
180
0.690021
164fe43a2af1f429a5c7ad8b16d38328c850c66b
4,740
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_918.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_918.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_918.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 %rax push %rbp push %rcx push %rdx lea addresses_D_ht+0x18d73, %rdx nop nop nop nop nop xor %rax, %rax vmovups (%rdx), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %rbp nop nop nop xor %rcx, %rcx pop %rdx pop %rcx pop %rbp pop %rax ret .global s_faulty_load s_faulty_load: push %r11 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi // REPMOV lea addresses_D+0x9e23, %rsi lea addresses_D+0x14633, %rdi clflush (%rsi) nop nop cmp %rax, %rax mov $56, %rcx rep movsl nop nop and $32523, %rcx // Store lea addresses_PSE+0x16873, %rcx nop nop nop cmp %r11, %r11 mov $0x5152535455565758, %rbp movq %rbp, %xmm3 vmovups %ymm3, (%rcx) nop nop sub %rsi, %rsi // Faulty Load lea addresses_normal+0x15c73, %rsi nop nop and $23401, %r11 vmovups (%rsi), %ymm1 vextracti128 $0, %ymm1, %xmm1 vpextrq $1, %xmm1, %rax lea oracles, %rsi and $0xff, %rax shlq $12, %rax mov (%rsi,%rax,1), %rax pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %rax pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_normal', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_D', 'congruent': 6, 'same': False}, 'OP': 'REPM'} {'dst': {'type': 'addresses_PSE', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} [Faulty Load] {'src': {'type': 'addresses_normal', 'same': True, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'type': 'addresses_D_ht', 'same': False, 'size': 32, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'34': 21829} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
48.865979
2,999
0.661814
1d75114676c1ddef43d6a0d84f1ecafa5e6643b5
1,762
asm
Assembly
programs/oeis/250/A250806.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/250/A250806.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/250/A250806.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A250806: Number of (n+1) X (2+1) 0..2 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. ; 100,379,1315,4321,13735,42769,131455,400681,1214695,3669409,11058895,33278041,100036855,300516049,902359135,2708699401,8129342215,24394514689,73196520175,219615512761,658898442775,1976799137329,5930605030015,17792230326121,53377521450535,160134225295969,480405997776655,1441224637107481,4323687198877495,12971088171742609,38913317665448095,116740059296784841,350220390491235655,1050661596675469249,3151985640429932335,9455958622096846201,28367879267904637015,85103644606942107889,255310947427282717375,765932869494760939561,2297798662910108393575,6893396097581976330529,20680188510449231291215,62040565966754298472921,186121698771076104617335,558365098054854732249169,1675095297647817033541855,5025285899909956774214281,15075857713662881669820295,45227573168854667703815809,135682719562296048500157295,407048158798352236277891641,1221144476617984890388514455,3663433430299811034275222449,10990300291791145829045025535,32970900877156862939573793001,98912702635037439723598811815,296738107912246020980551301089,890214323751005466561163634575,2670642971281551206922510366361,8011928913901723235245570024375,24035786741819308934692787923729,72107360225686205261990519472415,216322080677515172701795869819721,648966242033458631937036232264135,1946898726102202123474405942402369,5840696178310258825749812318427055,17522088534938081387902625937721081,52566265604828853985014255778043095,157698796814515781597655523263889009,473096390443605784078192081651186495 mov $1,10 mov $2,11 lpb $0 sub $0,1 mul $1,3 add $1,$2 mul $2,2 lpe sub $1,8 mul $1,24 sub $1,48 div $1,24 mul $1,9 add $1,100 mov $0,$1
92.736842
1,455
0.891033
190849b2e5ad9014317329f07994b97ba175b320
2,907
asm
Assembly
programs/oeis/100/A100189.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/100/A100189.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/100/A100189.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A100189: Equatorial structured meta-anti-diamond numbers, the n-th number from an equatorial structured n-gonal anti-diamond number sequence. ; 1,6,27,92,245,546,1071,1912,3177,4990,7491,10836,15197,20762,27735,36336,46801,59382,74347,91980,112581,136466,163967,195432,231225,271726,317331,368452,425517,488970,559271,636896,722337,816102,918715,1030716,1152661,1285122,1428687,1583960,1751561,1932126,2126307,2334772,2558205,2797306,3052791,3325392,3615857,3924950,4253451,4602156,4971877,5363442,5777695,6215496,6677721,7165262,7679027,8219940,8788941,9386986,10015047,10674112,11365185,12089286,12847451,13640732,14470197,15336930,16242031,17186616,18171817,19198782,20268675,21382676,22541981,23747802,25001367,26303920,27656721,29061046,30518187,32029452,33596165,35219666,36901311,38642472,40444537,42308910,44237011,46230276,48290157,50418122,52615655,54884256,57225441,59640742,62131707,64699900,67346901,70074306,72883727,75776792,78755145,81820446,84974371,88218612,91554877,94984890,98510391,102133136,105854897,109677462,113602635,117632236,121768101,126012082,130366047,134831880,139411481,144106766,148919667,153852132,158906125,164083626,169386631,174817152,180377217,186068870,191894171,197855196,203954037,210192802,216573615,223098616,229769961,236589822,243560387,250683860,257962461,265398426,272994007,280751472,288673105,296761206,305018091,313446092,322047557,330824850,339780351,348916456,358235577,367740142,377432595,387315396,397391021,407661962,418130727,428799840,439671841,450749286,462034747,473530812,485240085,497165186,509308751,521673432,534261897,547076830,560120931,573396916,586907517,600655482,614643575,628874576,643351281,658076502,673053067,688283820,703771621,719519346,735529887,751806152,768351065,785167566,802258611,819627172,837276237,855208810,873427911,891936576,910737857,929834822,949230555,968928156,988930741,1009241442,1029863407,1050799800,1072053801,1093628606,1115527427,1137753492,1160310045,1183200346,1206427671,1229995312,1253906577,1278164790,1302773291,1327735436,1353054597,1378734162,1404777535,1431188136,1457969401,1485124782,1512657747,1540571780,1568870381,1597557066,1626635367,1656108832,1685981025,1716255526,1746935931,1778025852,1809528917,1841448770,1873789071,1906553496,1939745737,1973369502,2007428515,2041926516,2076867261,2112254522,2148092087,2184383760,2221133361,2258344726,2296021707,2334168172,2372788005,2411885106,2451463391,2491526792,2532079257,2573124750 mov $12,$0 mov $14,$0 add $14,1 lpb $14 clr $0,12 mov $0,$12 sub $14,1 sub $0,$14 mov $9,$0 mov $11,$0 add $11,1 lpb $11 mov $0,$9 sub $11,1 sub $0,$11 mul $0,2 trn $0,1 mov $1,1 lpb $0 mov $5,$0 sub $0,1 sub $5,1 mov $7,$5 mov $8,1 add $8,$0 mov $0,0 mul $7,$8 mov $1,$7 mul $1,2 add $1,4 lpe add $10,$1 lpe add $13,$10 lpe mov $1,$13
72.675
2,303
0.811146
6efc14b38427467bd326c3d23546676fb8191022
457
asm
Assembly
programs/oeis/168/A168583.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/168/A168583.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/168/A168583.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A168583: The number of ways of partitioning the multiset {1,1,2,3,...,n-1} into exactly three nonempty parts. ; 1,4,16,58,196,634,1996,6178,18916,57514,174076,525298,1582036,4758394,14299756,42948418,128943556,387027274,1161475036,3485211538,10457207476,31374768154,94130595916,282404370658,847238277796,2541765165034,7625396158396 mov $1,1 mov $3,3 lpb $0,1 sub $0,1 mul $1,2 add $1,5 add $2,$3 add $1,$2 sub $1,6 mov $3,$2 mul $2,2 lpe
28.5625
221
0.728665
fc3227cec2c0cae676316b2ffb80e096b9bc4142
3,873
asm
Assembly
audio/music/routes1.asm
etdv-thevoid/pokemon-rgb-enhanced
5b244c1cf46aab98b9c820d1b7888814eb7fa53f
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
audio/music/routes1.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
audio/music/routes1.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
Music_Routes1_Ch0:: tempo 152 volume 7, 7 vibrato 4, 2, 3 duty 2 toggleperfectpitch Music_Routes1_branch_9be9:: notetype 12, 10, 1 rest 4 octave 4 D_ 2 D_ 6 D_ 2 D_ 6 D_ 2 D_ 1 C# 1 octave 3 B_ 1 octave 4 C# 1 octave 3 A_ 2 A_ 2 A_ 6 octave 4 C# 2 C# 6 C# 2 C# 4 octave 3 A_ 2 octave 4 C# 2 octave 3 B_ 2 octave 4 C# 4 octave 3 A_ 2 A_ 6 octave 4 D_ 2 D_ 6 D_ 2 D_ 6 D_ 2 D_ 1 E_ 1 D_ 1 C# 1 octave 3 B_ 2 A_ 2 A_ 6 octave 4 C# 2 C# 6 octave 3 A_ 2 octave 4 E_ 2 octave 3 A_ 2 notetype 12, 10, 2 octave 4 G_ 4 E_ 4 F# 2 notetype 12, 10, 1 octave 3 A_ 2 A_ 6 A_ 2 F# 2 A_ 4 B_ 2 octave 4 C# 2 octave 3 B_ 4 A_ 2 F# 2 A_ 4 G_ 2 E_ 2 C# 4 A_ 2 octave 4 D_ 2 octave 3 A_ 4 B_ 2 G_ 2 B_ 4 octave 4 D_ 2 E_ 2 C# 2 D_ 2 octave 3 A_ 2 A_ 2 loopchannel 0, Music_Routes1_branch_9be9 endchannel Music_Routes1_Ch1:: duty 2 Music_Routes1_branch_9c53:: notetype 12, 13, 1 callchannel Music_Routes1_branch_9c65 callchannel Music_Routes1_branch_9c78 callchannel Music_Routes1_branch_9c65 callchannel Music_Routes1_branch_9c8d loopchannel 0, Music_Routes1_branch_9c53 Music_Routes1_branch_9c65:: octave 4 D_ 1 E_ 1 F# 2 F# 2 F# 2 D_ 1 E_ 1 F# 2 F# 2 F# 2 D_ 1 E_ 1 F# 2 F# 2 G_ 3 F# 1 E_ 6 endchannel Music_Routes1_branch_9c78:: C# 1 D_ 1 E_ 2 E_ 2 E_ 2 C# 1 D_ 1 E_ 2 E_ 2 E_ 2 C# 1 D_ 1 E_ 2 E_ 2 F# 1 E_ 1 E_ 1 F# 1 D_ 4 F# 2 endchannel Music_Routes1_branch_9c8d:: C# 1 D_ 1 E_ 2 G_ 2 F# 2 E_ 2 D_ 2 C# 2 octave 3 B_ 2 octave 4 C# 2 notetype 12, 13, 2 B_ 4 notetype 6, 13, 1 octave 3 B_ 1 octave 4 C# 1 notetype 12, 13, 1 octave 3 B_ 1 A_ 1 octave 4 C# 1 D_ 6 notetype 12, 13, 2 F# 1 G_ 1 A_ 2 A_ 2 F# 2 D_ 2 octave 5 D_ 2 C# 2 octave 4 B_ 2 octave 5 C# 2 octave 4 A_ 2 F# 2 D_ 3 F# 1 E_ 6 F# 1 G_ 1 A_ 2 A_ 2 F# 2 A_ 2 octave 5 D_ 2 C# 2 octave 4 B_ 3 G_ 1 A_ 2 octave 5 D_ 2 C# 2 E_ 2 D_ 2 notetype 12, 13, 1 octave 4 D_ 2 D_ 2 endchannel endchannel Music_Routes1_Ch2:: vibrato 8, 2, 5 notetype 12, 1, 3 Music_Routes1_branch_9cdd:: rest 2 octave 4 D_ 4 C# 4 octave 3 B_ 4 A_ 4 octave 4 D_ 4 octave 3 A_ 4 B_ 4 A_ 4 octave 4 C# 4 octave 3 A_ 4 B_ 4 octave 4 C_ 4 C# 4 octave 3 A_ 4 octave 4 D_ 4 octave 3 A_ 4 octave 4 D_ 4 C# 4 octave 3 B_ 4 A_ 4 octave 4 D_ 4 octave 3 A_ 4 B_ 4 A_ 4 octave 4 C# 4 octave 3 B_ 4 A_ 4 B_ 4 octave 4 C# 4 octave 3 A_ 4 octave 4 D_ 4 octave 3 A_ 4 octave 4 D_ 8 octave 3 G_ 8 A_ 8 octave 4 C# 8 D_ 8 octave 3 G_ 8 A_ 8 octave 4 D_ 6 loopchannel 0, Music_Routes1_branch_9cdd endchannel Music_Routes1_Ch3:: dspeed 12 rest 4 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 rest 4 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 rest 4 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 rest 4 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 rest 4 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 rest 4 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 rest 4 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 mutedsnare1 2 rest 2 mutedsnare1 2 mutedsnare1 2 loopchannel 0, Music_Routes1_Ch3 endchannel
9.562963
41
0.66615
bb29834584828a7a6cf9ea9c9325d989268adcc7
458
asm
Assembly
oeis/336/A336181.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/336/A336181.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/336/A336181.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A336181: a(n) = Sum_{k=0..n} (-2)^k * binomial(n,k)^3. ; Submitted by Christian Krause ; 1,-1,-11,47,241,-2281,-3779,104831,-110207,-4415281,16955269,161498831,-1252782959,-4376471737,73606867309,11876256767,-3715460133887,9838677757343,160921055160469,-957644184613393,-5553047963695439,65231925087461879,102267746634093469 add $0,1 mov $1,1 lpb $0 mov $3,$2 bin $3,$0 sub $0,1 pow $3,3 add $1,$3 mul $1,2 sub $1,1 sub $2,1 lpe mov $0,$1
25.444444
237
0.696507
7690d9d052c9bbb350e4236eac3e62f5b535ee47
8,929
asm
Assembly
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_379.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_379.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_379.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1c13f, %rbp nop cmp %rsi, %rsi movl $0x61626364, (%rbp) nop nop nop inc %r14 lea addresses_normal_ht+0x12357, %r9 nop and $5369, %r12 mov $0x6162636465666768, %r15 movq %r15, %xmm6 movups %xmm6, (%r9) nop nop nop nop nop inc %rsi lea addresses_WC_ht+0xb33f, %rsi nop nop nop cmp %rcx, %rcx movb (%rsi), %r9b nop nop sub %rcx, %rcx lea addresses_A_ht+0xf6bf, %rcx nop nop nop xor $34920, %r14 movb $0x61, (%rcx) and %rbp, %rbp lea addresses_WC_ht+0xbb0b, %r9 sub %r12, %r12 mov $0x6162636465666768, %rsi movq %rsi, %xmm7 and $0xffffffffffffffc0, %r9 vmovaps %ymm7, (%r9) nop nop nop nop and %rbp, %rbp lea addresses_D_ht+0x86f3, %r14 nop nop nop nop nop dec %r15 and $0xffffffffffffffc0, %r14 movaps (%r14), %xmm2 vpextrq $0, %xmm2, %rsi nop nop nop cmp $31606, %r14 lea addresses_WC_ht+0x22bf, %rsi lea addresses_A_ht+0xda7f, %rdi cmp $54882, %r15 mov $32, %rcx rep movsw cmp %rdi, %rdi lea addresses_UC_ht+0x13fff, %rsi lea addresses_WT_ht+0x11aff, %rdi clflush (%rdi) nop nop add %r14, %r14 mov $10, %rcx rep movsw nop nop sub %rsi, %rsi lea addresses_UC_ht+0xd3ff, %rsi lea addresses_WT_ht+0x1cdff, %rdi nop nop nop nop xor %r15, %r15 mov $39, %rcx rep movsq nop nop nop sub %rdi, %rdi lea addresses_UC_ht+0x21ff, %r14 nop nop nop nop nop xor %rcx, %rcx movl $0x61626364, (%r14) nop nop nop nop inc %rcx lea addresses_A_ht+0x661b, %rsi clflush (%rsi) nop nop nop nop nop and %rcx, %rcx movb (%rsi), %r9b nop nop nop nop nop dec %rcx lea addresses_UC_ht+0xf953, %r15 lfence mov $0x6162636465666768, %r12 movq %r12, %xmm2 movups %xmm2, (%r15) nop nop sub %r9, %r9 lea addresses_A_ht+0x1aff, %rdi nop nop dec %r14 movups (%rdi), %xmm6 vpextrq $0, %xmm6, %rsi nop nop nop nop nop and %rsi, %rsi lea addresses_D_ht+0x5fff, %rsi lea addresses_D_ht+0xc7a7, %rdi nop nop nop dec %r12 mov $47, %rcx rep movsq nop nop nop nop sub %rbp, %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r15 pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r13 push %r15 push %r8 push %rbx push %rdi push %rdx push %rsi // Load lea addresses_UC+0x1a7ff, %rsi nop nop nop nop nop sub $14285, %rdi vmovups (%rsi), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %r8 nop dec %rbx // Load lea addresses_D+0x1b43b, %rbx nop nop nop nop nop cmp %rdx, %rdx vmovups (%rbx), %ymm7 vextracti128 $1, %ymm7, %xmm7 vpextrq $1, %xmm7, %r13 nop nop nop nop xor %rdi, %rdi // Store lea addresses_A+0x1171c, %r13 nop nop nop nop nop and %r15, %r15 movl $0x51525354, (%r13) nop nop nop cmp %rdi, %rdi // Store lea addresses_UC+0x1a7ff, %rdi nop nop nop nop nop and $26054, %r13 mov $0x5152535455565758, %rsi movq %rsi, (%rdi) nop nop nop and %r8, %r8 // Store lea addresses_UC+0x1c66f, %r13 nop nop xor %rdi, %rdi movl $0x51525354, (%r13) nop nop nop nop nop sub %r15, %r15 // Faulty Load lea addresses_UC+0x1a7ff, %rdi nop nop nop add $53976, %r13 movb (%rdi), %bl lea oracles, %r15 and $0xff, %rbx shlq $12, %rbx mov (%r15,%rbx,1), %rbx pop %rsi pop %rdx pop %rdi pop %rbx pop %r8 pop %r15 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_UC', 'same': True, 'AVXalign': False, 'congruent': 0}} {'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': True, 'type': 'addresses_A', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_UC', 'same': True, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': True, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 2}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_UC', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 3}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': True, 'congruent': 2}} {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': True, 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 6}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 6}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 8}, 'dst': {'same': True, 'type': 'addresses_WT_ht', 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 10}, 'dst': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 5}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 9}, 'dst': {'same': False, 'type': 'addresses_D_ht', 'congruent': 2}} {'58': 21829} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
29.27541
2,999
0.654833
0486bdda8a2b8071261b4b94d47a9efbdf6474ab
112
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/__dtoa_base16.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/__dtoa_base16.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/__dtoa_base16.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math48 PUBLIC __dtoa_base16 EXTERN am48__dtoa_base16 defc __dtoa_base16 = am48__dtoa_base16
12.444444
38
0.866071
50cee5fbc0c4e8553b7187e8b5e11ef93a78a01f
549
asm
Assembly
libsrc/stdio/enterprise/puts_cons.asm
andydansby/z88dk-mk2
51c15f1387293809c496f5eaf7b196f8a0e9b66b
[ "ClArtistic" ]
1
2020-09-15T08:35:49.000Z
2020-09-15T08:35:49.000Z
libsrc/stdio/enterprise/puts_cons.asm
andydansby/z88dk-MK2
51c15f1387293809c496f5eaf7b196f8a0e9b66b
[ "ClArtistic" ]
null
null
null
libsrc/stdio/enterprise/puts_cons.asm
andydansby/z88dk-MK2
51c15f1387293809c496f5eaf7b196f8a0e9b66b
[ "ClArtistic" ]
null
null
null
; ; Enterprise 64/128 C Library ; ; puts_cons ; ; Stefano Bodrato - 2011 ; ; ; $Id: puts_cons.asm,v 1.1 2011/02/17 20:44:23 stefano Exp $ ; XLIB puts_cons ; ; Entry: hl = points text ; .puts_cons pop bc pop hl push hl push bc push hl ld b,255 ld c,b xor a cpir ; Locate the string termination pop de push de scf sbc hl,de ; Compute the number of chars to be printed pop de ; block address ld b,h ld c,l ; block length ld a,66h ; output channel (video) rst 30h ; EXOS defb 8 ; write block ret
12.2
60
0.628415
452b1b2e275949e1567f6f170cd2704fbdc74e78
673
asm
Assembly
src/Flow/_FlowExport.asm
fplu/Flow
99570c1f257b5e4b2698e09a503b8898666d42e5
[ "MIT" ]
1
2022-03-11T20:13:16.000Z
2022-03-11T20:13:16.000Z
src/Flow/_FlowExport.asm
fplu/Flow
99570c1f257b5e4b2698e09a503b8898666d42e5
[ "MIT" ]
null
null
null
src/Flow/_FlowExport.asm
fplu/Flow
99570c1f257b5e4b2698e09a503b8898666d42e5
[ "MIT" ]
1
2022-03-11T20:13:18.000Z
2022-03-11T20:13:18.000Z
GLOBAL _getAllRegister %include "_macros.hasm" section .text ; makes this executable USE64 _getAllRegister: movdqa [rcx + CONTEXT.Xmm6], xmm6 movdqa [rcx + CONTEXT.Xmm7], xmm7 movdqa [rcx + CONTEXT.Xmm8], xmm8 movdqa [rcx + CONTEXT.Xmm9], xmm9 movdqa [rcx + CONTEXT.Xmm10], xmm10 movdqa [rcx + CONTEXT.Xmm11], xmm11 movdqa [rcx + CONTEXT.Xmm12], xmm12 movdqa [rcx + CONTEXT.Xmm13], xmm13 movdqa [rcx + CONTEXT.Xmm14], xmm14 movdqa [rcx + CONTEXT.Xmm15], xmm15 mov [rcx + CONTEXT.SegCs], cs mov [rcx + CONTEXT.SegDs], ds mov [rcx + CONTEXT.SegEs], es mov [rcx + CONTEXT.SegFs], fs mov [rcx + CONTEXT.SegGs], gs mov [rcx + CONTEXT.SegSs], ss ret
19.794118
37
0.68945
6b04a5b5a0da2db23d4d13dd8acd8942394ee920
360
asm
Assembly
dv3/hd/version.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
dv3/hd/version.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
dv3/hd/version.asm
olifink/smsqe
c546d882b26566a46d71820d1539bed9ea8af108
[ "BSD-2-Clause" ]
null
null
null
; Floppy Disk Version section version xdef hd_vers xdef hd.rev ; Version 3.00 Derived from Atari FD V2.18 ; 3.01 Combined QXL Atari Version hd_vers equ '3.00' hd.rev equ 0 hd_vmess dc.w 'QXL Floppy Disk V' dc.l hd_vers dc.b ' ',$a hd_vmend ds.w 0 end
17.142857
44
0.513889
9b8ec225f39f5d0dd53057bb77105b342bc80adf
731
asm
Assembly
programs/oeis/024/A024142.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/024/A024142.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/024/A024142.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A024142: 12^n-n^2. ; 1,11,140,1719,20720,248807,2985948,35831759,429981632,5159780271,61917364124,743008370567,8916100448112,106993205378903,1283918464548668,15407021574586143,184884258895036160,2218611106740436703,26623333280885243580,319479999370622926487,3833759992447475121776,46005119909369701465671,552061438912436417592860,6624737266949237011119599,79496847203390844133440960,953962166440690129601297807,11447545997288281555215580508,137370551967459378662586973479,1648446623609512543951043689712,19781359483314150527412524285111,237376313799769806328950291430524,2848515765597237675947403497176127,34182189187166852111368841966124032,410186270246002225336426103593499583 mov $1,12 pow $1,$0 pow $0,2 sub $1,$0 mov $0,$1
81.222222
659
0.905609
cb9e8eba863a09d831711e7ab0969eb254eafdd7
2,178
asm
Assembly
Directory_Structure/Projects/lh5801_examples/blockInvert1.lh5801.asm
Jeff-Birt/TASM_vsCode_Extension
37589d66405a09ace0244432469a416606a39d55
[ "MIT" ]
4
2021-03-07T21:49:16.000Z
2021-05-12T15:07:45.000Z
Directory_Structure/Projects/lh5801_examples/blockInvert1.lh5801.asm
Jeff-Birt/TASM_vsCode_Extension
37589d66405a09ace0244432469a416606a39d55
[ "MIT" ]
1
2021-03-14T18:36:52.000Z
2021-03-23T15:15:38.000Z
Directory_Structure/Projects/lh5801_examples/blockInvert1.lh5801.asm
Jeff-Birt/TASM_vsCode_Extension
37589d66405a09ace0244432469a416606a39d55
[ "MIT" ]
1
2021-04-15T16:49:06.000Z
2021-04-15T16:49:06.000Z
; Block invert 1, first attempt to invert screen one line at a time. ; It shows the screwy screen mapping of the PC-1500 ; You can use the BASIC loader below to POKE it into memory, and RUN it ; Compare assembled program to BASIC loader values ; Program inspired by Pocket Computer Newsletter, Machine Language Programming, 1983 ; ; 300:POKE &78C0,&48,&76,&4A,&00,&05,&BD,&FF,&0E ; 310:POKE &78C8,&5A,&00,&58,&00,&54,&5C,&FF,&99 ; 320:POKE &78D0,&05,&BD,&FF,&41,&4E,&4E,&99,&14 ; 330:POKE $78D8,&4C,&77,&8B,&04,&48,&77,&9E,&1E,&9A ; 340:INPUT "YOUR MESSAGE?",X$ ; 350:CALL &78C0 ; 360:FOR X=1 TO 50:NEXT X ; 370:GOTO 350 ; 380:END #define BRB(n) &+2-n ; calculate backward branch #define BRF(n) &+n ; calculate forward branch QA_QC .EQU $76 ; MSB of QA and QC screen buffer block QB_QD .EQU $77 ; MSB of QB and QD screen buffer block .ORG $78C0 ; using Sharp Assembler Syntax begin: LDI XH,QA_QC ; Load Immedate X reg Hi (76h is left half of display) setPointer: LDI XL,$00 ; Load Immedate X reg Low (begining of this half) loop: LDA (X) ; Load Accumulator with value in register X EAI $FF ; XOR Accumulator with X register STA (X) ; Store inverted version to screen LDI YL,$00 ; Init delay counter low LDI YH,$00 ; Init delay counter high wait: INC Y ; Increment delay counter CPI YH,$20 ; If high byte less than $20 BZR wait ; loop back EAI $FF ; Invert back to normal SIN X ; Store A into address X and inc X CPI XL,$4E ; Compare XL with immediate value 4Eh BZR loop ; Loop back to 'loop' if above compare != 0 CPI XH,QB_QD ; Compare XH with immedate value 77H BZS done ; skip ahead if we are done LDI XH,QB_QD ; Load XH with immedate value 77H BCH setPointer ; Branch back to get second half of display done: RTN ; Return from subroutine .END
38.892857
84
0.576217
07f941bc5ba2ee8b72dfa632aea52670c0d1178a
416
asm
Assembly
programs/oeis/115/A115851.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/115/A115851.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/115/A115851.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A115851: G.f. x^2*(-1+x+x^2)/((1-x)*(2*x-1)*(x+1)*(x^2+1)). ; 0,0,1,1,1,2,5,9,17,34,69,137,273,546,1093,2185,4369,8738,17477,34953,69905,139810,279621,559241,1118481,2236962,4473925,8947849,17895697,35791394,71582789,143165577,286331153,572662306,1145324613 mov $1,12 mov $2,2 pow $2,$0 lpb $0 mod $0,2 add $2,$1 trn $1,$2 add $1,15 lpe div $2,$1 mov $3,$2 add $3,5 mov $0,$3 add $0,8 mov $1,$0 sub $1,13
20.8
197
0.639423
3b15e749aabcfd6846595e8fc5e09fb4cab6f4c4
1,207
asm
Assembly
wof/lcs/enemy/31.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/31.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
wof/lcs/enemy/31.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 00191C bne $1928 [enemy+31] 007A62 rts [enemy+31] 008586 movea.l ($5c,PC,D0.w), A4 [enemy+31] 008824 movea.l ($66,PC,D0.w), A4 [enemy+31] 008C1C movea.l ($e,PC,D0.w), A4 [enemy+31] 00901C movea.l ($2c,PC,D0.w), A4 [enemy+31] 0092A2 movea.l (-$42,PC,D0.w), A4 [enemy+31] 00958A movea.l ($50,PC,D0.w), A4 [enemy+31] 0096C6 move.b #$10, ($31,A1) 0096CC move.b ($16,A0), ($96,A1) [enemy+31] 009716 movea.l ($32,PC,D0.w), A4 [enemy+31] 0098E2 movea.l ($30,PC,D0.w), A4 [enemy+31] 009AC0 movea.l (-$66,PC,D0.w), A4 [enemy+31] 011C96 moveq #$2, D2 [123p+ 31, enemy+31] 011CCC move.w ($40,A0), D1 [enemy+31] 011DA8 rts [enemy+31] 012042 move.w ($40,A0), D1 [enemy+31] 01B4B4 beq $1b4e2 [enemy+31] 01B5A0 move.b #$0, ($31,A1) [enemy+96] 01B5A6 move.b #$2, ($2b,A0) 01C120 beq $1c15a [123p+ 31, enemy+31] 01C25A move.b #$0, ($31,A1) [enemy+96] 01C260 move.b #$2, ($2b,A0) 01D0BE beq $1d0ee [123p+ 31, enemy+31] 01D18A move.b #$0, ($31,A1) [enemy+96] 01D190 move.b #$2, ($2b,A0) 036B62 bra $36b72 [enemy+1F] 036B72 jsr $6684.w [enemy+31] copyright zengfr site:http://github.com/zengfr/romhack
36.575758
54
0.617233
a5e6afe5ff32a3b26c1ab202fb843425889f5b4c
38
asm
Assembly
IOTEST.asm
hackingotter/LC3-Simulator
dbb58929922149b29c0f0cf630d46261ed7cb01f
[ "MIT" ]
null
null
null
IOTEST.asm
hackingotter/LC3-Simulator
dbb58929922149b29c0f0cf630d46261ed7cb01f
[ "MIT" ]
null
null
null
IOTEST.asm
hackingotter/LC3-Simulator
dbb58929922149b29c0f0cf630d46261ed7cb01f
[ "MIT" ]
1
2018-09-22T23:01:40.000Z
2018-09-22T23:01:40.000Z
.orig x3000 GETC; OUT; GETC; OUT; .end
6.333333
11
0.684211
844e3b4eefafac69fe10b8f981f555b182ae8628
251
asm
Assembly
dino/lcs/123p/BD.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/123p/BD.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
dino/lcs/123p/BD.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 01924E move.b ($bd,A6), D2 019252 move.b ($3e,PC,D2.w), D2 [123p+ BD] 0192C0 move.b D0, ($bd,A6) 0192C4 bsr $192a2 [123p+ BD] copyright zengfr site:http://github.com/zengfr/romhack
27.888889
54
0.677291
29b86dadb75619239dc0660dcbde2f578b0e157b
14,311
asm
Assembly
std/list.asm
mossx-dev/Mycore
eb84409f1a263204d30ef0b9d4254a96a121726f
[ "MIT" ]
null
null
null
std/list.asm
mossx-dev/Mycore
eb84409f1a263204d30ef0b9d4254a96a121726f
[ "MIT" ]
null
null
null
std/list.asm
mossx-dev/Mycore
eb84409f1a263204d30ef0b9d4254a96a121726f
[ "MIT" ]
null
null
null
;; Author: Moss Gallagher ;; Date: 14-Oct-21 %ifndef _Mycelium_std_list_ %define _Mycelium_std_list_ %include "std/exception.asm" %include "std/type.asm" %include "std/mem.asm" ;; List archtecure ;; [memory size, user size, list type, amount of metadata, metadata..., type, data, type, data, etc...] list#meta#mem_size equ 0 list#meta#user_size equ 8 list#meta#type equ 16 list#meta#meta_size equ 24 list#global_allocate_stride: equ 25*8 ; The memory size of an list is always a multiple of this + the type specific metadata size list#type#global_meta: equ 4*8 list#type#basic: equ 0 list#type#2d: equ 1 list#type#vector: equ 2 list#type#string: equ 3 list#global_element_size equ 8 list#type#metadata_sizes: db 0, 2*8, 4*8, 0 ; Args ; rax: list type ; Returns ; rsi: size of the list metadata in bytes list#metadata_size: push rbx mov rbx, list#type#metadata_sizes add rbx, rax mov bl, [rbx] movzx rsi, bl pop rbx ret ; Args ; rax: pointer to the list ; rbx: list type ; rcx: list size ; Returns ; void list#populate_metadata: push rax push rsi mov [rax+list#meta#user_size], rcx ; User size mov [rax+list#meta#type], rbx ; list Type mov rcx, list#global_allocate_stride lea rdx, [rax] mov rax, rbx call list#metadata_size mov [rdx+list#meta#meta_size], rsi ; Meta size add rsi, list#type#global_meta add rcx, rsi lea rax, [rdx] mov [rax+list#meta#mem_size], rcx ; Memory Size pop rsi pop rax ret ; Args ; rax: the type of the list ; rbx: the size of the new list in elements ; Returns ; rsi: pointer to the list list#new: push rcx mov rcx, rbx mov rbx, rax call list#metadata_size ; Put the total metadata size into rsi mov rax, list#global_allocate_stride ; Load the stride into rax add rax, rsi ; Add the stride and type specific metadata size add rax, list#type#global_meta ; Add the global metadata size call mem~allocate ; Create an array in memory with the size specified in global stride lea rax, [rsi] call list#populate_metadata pop rcx ret ; Args ; rax: pointer to the list ; Returns ; void list~del: mov rbx, [rax] call mem~deallocate ret ; Args ; rax: pointer to the list ; Returns ; rsi: amount of metadata in bytes list~total_metadata: mov rsi, [rax+list#meta#meta_size] add rsi, list#type#global_meta ret ; Args ; rax: pointer to the list ; Returns ; rsi: pointer to the data after the metadata list~addr_after_meta: push rax mov rsi, [rax+list#meta#meta_size] add rsi, list#type#global_meta add rax, rsi mov rsi, rax pop rax ret ; Args ; rax: pointer to the list ; rbx: check value ; Returns ; zf: If the array contains the value list~contains: push r8 ; Temp value push r9 ; Counter push r10 ; Array push r11 ; Length push r12 ; Compare Value xor r9, r9 lea r10, [rax] mov r11, [r10+list#meta#user_size] mov r12, rbx jmp .loop_check .loop: mov rax, r10 mov rbx, r9 call list~get mov r8, rsi mov rax, r10 mov rbx, r9 call list~type_at mov rax, rsi mov rbx, r8 mov rcx, r12 call type~compare jne .not_equal add r9, 1 .loop_check: cmp r9, r11 jl .loop jmp .equal .not_equal: mov r12, 1 cmp r12, 0 ; If we get here we want to ensure that the zero flag is set correctly jmp .return .equal: mov r12, 1 cmp r12, 1 ; If we get here we want to ensure that the zero flag is set correctly .return: pop r12 pop r11 pop r10 pop r9 pop r8 ret ; Args ; rax: pointer to the list ; rbx: check value ; Returns ; zf: If the array contains the value list~compare: push r8 ; Temp value push r9 ; Counter push r10 ; Array push r11 ; Length push r12 ; Compare array push r13 ; 2nd temp value xor r9, r9 lea r10, [rax] mov r11, [r10+list#meta#user_size] lea r12, [rbx] jmp .loop_check .loop: lea rax, [r10] mov rbx, r9 call list~get mov r8, rsi lea rax, [r12] mov rbx, r9 call list~get mov r13, rsi lea rax, [r10] mov rbx, r9 call list~type_at mov rax, rsi mov rbx, r8 mov rcx, r13 call type~compare jne .not_equal add r9, 1 .loop_check: cmp r9, r11 jl .loop jmp .equal .not_equal: mov r12, 1 cmp r12, 0 ; If we get here we want to ensure that the zero flag is set correctly jmp .return .equal: mov r12, 1 cmp r12, 1 ; If we get here we want to ensure that the zero flag is set correctly .return: pop r13 pop r12 pop r11 pop r10 pop r9 pop r8 ret ; Args ; rax: pointer to the list ; Returns ; void list~print_string: .string: db ", ", 0x0 list~print: push rax push rcx push rdx push rsi push r9 push r10 mov r10, rax mov r9, list#global_element_size*2 ; Move the size to a usable location mov rax, [r10+list#meta#user_size] ; Get length mul r9 ; Multiple by the size of element stride lea rcx, [r10+list#meta#meta_size] add rcx, rax ; Get the end address mov rax, '[' call out~putc lea r10, [r10+list#type#global_meta] ; Offset by to the amount of metadata mov rsi, [r10] ; Get the amount of metadata add r10, rsi ; Add metadata offset to add rcx, rsi ; Offset the end address too mov rax, [r10+8] mov rbx, [r10] call type~print add r10, r9 ; Increment the index .loop: mov rax, list~print_string mov rbx, 2 call out~puts mov rax, [r10+8] mov rbx, [r10] call type~print add r10, r9 ; Increment the index .loop_check: cmp r10, rcx jl .loop mov rax, ']' call out~putc pop r10 pop r9 pop rsi pop rdx pop rcx pop rax ; Perserve the pointer to the start of the list ret ; Args ; rax: pointer to the list ; Returns ; void list~println: push rax call list~print mov rax, 0xA call out~putc pop rax ; Perserve the pointer to the start of the list ret ; Args ; rax: pointer to the list ; Returns ; void list~printn: push rax push rcx push rdx push rsi push r9 push r10 mov r10, rax mov r9, list#global_element_size ; Move the size to a usable location lea rcx, [r10] mov rax, [r10] ; Get length add rcx, rax ; Get the end address lea r10, [r10+list#meta#meta_size] ; Offset by to the amount of metadata lea rcx, [rcx+list#meta#meta_size] ; Offset the end address too mov rsi, [r10] ; Get the amount of metadata add r10, rsi ; Add metadata offset to add rcx, rsi ; Offset the end address too .loop: mov rax, [r10+8] mov rbx, [r10] call type~print mov rax, 0xA call out~putc add r10, r9 ; Increment the index .loop_check: cmp r10, rcx jl .loop pop r10 pop r9 pop rsi pop rdx pop rcx pop rax ; Perserve the pointer to the start of the list ret ; Args ; rax: pointer to the list ; Returns ; rsi: length of the list list~len: mov rsi, [rax+list#meta#user_size] ret ; Args ; rax: pointer to the list ; rbx: index of the element ; Returns ; rsi: element ; rdi: element type list~get: mov rsi, [rax+list#meta#user_size] ; Get the length cmp rsi, rbx ; Validate index jg .valid_index mov rax, exception~runtime~bad_index call exception~runtime~throw .valid_index: push rax call list~addr_after_meta shr rbx, 1 add rsi, rbx mov rdi, [rsi] mov rsi, [rsi+list#global_element_size] pop rax ; Perserve the pointer to the start of the list ret ; Args ; rax: pointer to the list ; rbx: index of the element ; Returns ; rsi: element type list~type_at: mov rsi, [rax+list#meta#user_size] ; Get the length cmp rsi, rbx ; Validate index jg .valid_index mov rax, exception~runtime~bad_index call exception~runtime~throw .valid_index: push rax call list~addr_after_meta shr rbx, 1 add rsi, rbx mov rsi, [rsi] pop rax ; Perserve the pointer to the start of the list ret ; Args ; rax: pointer to the list ; rbx: index of the element ; rcx: write value ; rdx: type ; Returns ; void list~set: mov rsi, [rax+list#meta#user_size] ; Get the length cmp rsi, rbx ; Validate index jg .valid_index mov rax, exception~runtime~bad_index call exception~runtime~throw .valid_index: push rax call list~addr_after_meta shl rbx, 4 ; Index * 2 to compensate for types and then index * 8 to compensate for the size of each element add rsi, rbx mov [rsi], rdx mov [rsi+list#global_element_size], rcx shr rbx, 4 ; Reset rbx to orignal value pop rax ; Perserve the pointer to the start of the list ret ; Args ; rax: pointer to the list ; rbx: new size ; Returns ; rax: new pointer if needed list~resize: push r9 push rdx push rbx push rax mov r9, [rax+list#meta#mem_size] mov rdx, rbx shl rdx, 3 ; Multiply by 8, the size of one element pop rax call list~total_metadata add rdx, rsi cmp rdx, r9 pop rbx jl .good_size push r10 mov r10d, 100 push rbx push rcx push rax mov rax, rbx shl rax, 3 ; Multiply by 3 to get the byte size mov rdx, 0 div r10d add rax, 1 ; Add one to result because integer division always rounds down when there is a remainder and it's more of an issue to have too little than too much mul r10d ; Get the new size in an multiple of 100 add rax, rsi ; Add the amount of metadata mov rcx, rax pop rax mov rbx, [rax+list#meta#mem_size] mov [rax+list#meta#mem_size], rcx call mem~reallocate pop rcx pop rbx pop r10 .good_size: mov [rax+list#meta#user_size], rbx pop rdx pop r9 ret ; Args ; rax: pointer to the list ; rbx: the amount increase size by ; Returns ; rax: new address pointer if needed ; rsi: the new size list~increase_size: push rdx push rcx mov rcx, [rax] mov rdx, [rax+list#meta#user_size] call list~total_metadata sub rcx, rsi push rax push rbx mov rax, rcx mov rbx, list#global_element_size mul rbx mov rcx, rax pop rbx pop rax add rdx, rsi cmp rdx, rcx jl .enough_mem push rbx mov rbx, rcx add rcx, list#global_allocate_stride call mem~reallocate .enough_mem: add [rax+list#meta#user_size], rbx mov rsi, [rax+list#meta#user_size] pop rcx pop rdx ret ; Args ; rax: pointer to the list ; rbx: value to push ; rcx: type ; Returns ; rax: the new pointer if needed list~push: push r9 push r10 mov r9, rbx ; Store value to push in temp place mov rbx, 1 ; Increase the size by 1 call list~increase_size mov rbx, rsi ; Put the new size as the index for set sub rbx, 1 mov rdx, rcx mov rcx, r9 ; Put the value as the push value to write the end of the list call list~set ; Set the value pop r10 pop r9 ret ; Args ; rax: pointer to the list ; Returns ; rsi: value list~pop: push rbx push rcx mov rbx, [rax] ; Load the size of the list into rbx sub rbx, 1 call list~get ; rax.get(rbx) mov [rax], rbx pop rcx pop rbx ret %endif ; ifdef guard
22.050847
180
0.510377
4b19214efdf0c93631164e27f7c49e462b79eab9
100
asm
Assembly
pennCompilertest2.asm
hackingotter/LC3-Simulator
dbb58929922149b29c0f0cf630d46261ed7cb01f
[ "MIT" ]
null
null
null
pennCompilertest2.asm
hackingotter/LC3-Simulator
dbb58929922149b29c0f0cf630d46261ed7cb01f
[ "MIT" ]
null
null
null
pennCompilertest2.asm
hackingotter/LC3-Simulator
dbb58929922149b29c0f0cf630d46261ed7cb01f
[ "MIT" ]
1
2018-09-22T23:01:40.000Z
2018-09-22T23:01:40.000Z
.ORIG x0000 AND R0, R0, #0 ; ADD R0, R0, #10; Looper ADD R0, R0, #1 ; STR R0, R0, #0 ; BR Looper ;
14.285714
23
0.56
32bd69c73497f83e03015838a0e6e246af3a705f
319
asm
Assembly
programs/oeis/050/A050605.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/050/A050605.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/050/A050605.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A050605: Column/row 2 of A050602: a(n) = add3c(n,2). ; 0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,4,4,0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,5,5,0,0,1,1,0,0,2,2,0,0,1,1,0,0,3,3,0,0,1,1,0,0,2,2,0,0,1,1,0,0,4,4,0,0,1,1 div $0,2 add $0,1 lpb $0 dif $0,2 add $1,1 lpe mov $0,$1
29
201
0.523511
0f075c9e2dc3f278ea9797596f9d78ab6681f376
1,487
asm
Assembly
programs/oeis/274/A274010.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/274/A274010.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/274/A274010.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A274010: Boris Stechkin function: a(n) is the number of m with 2 <= m <= n and floor(n(m-1)/m) divisible by m-1. ; 0,0,1,2,3,3,4,4,4,5,5,4,6,6,4,6,7,5,6,6,6,8,6,4,8,9,5,6,8,6,8,8,6,8,6,6,11,9,4,6,10,8,8,8,6,10,8,4,10,11,7,8,8,6,8,10,10,10,6,4,12,12,4,8,11,9,10,8,6,8,10,8,12,12,4,8,10,8,10,8,10,13,7,4,12,14,6,6,10,8,12,14,8,8,6,6,14,12,6,10,13,9,8,8,8,14,10,4,12,12,8,10,12,10,8,10,8,10,8,6,18,17,5,6,8,8,14,12,8,10,10,8,12,14,6,10,14,8,8,8,12,14,6,6,17,17,6,8,10,6,12,12,8,12,12,10,14,12,4,6,14,14,12,10,6,12,10,4,16,17,9,12,10,6,8,12,14,12,6,4,18,18,8,10,10,10,10,10,8,12,14,8,14,14,4,10,15,9,12,12,12,14,6,6,14,14,6,8,14,12,18,16,6,8,6,6,18,18,6,6,14,14,10,8,12,19,11,4,12,12,8,14,14,8,12,14,8,8,10,8,20,20,6,10,10,10,12,10,10,10 mov $21,$0 mov $23,2 lpb $23,1 mov $0,$21 sub $23,1 add $0,$23 sub $0,1 mov $17,$0 mov $19,2 lpb $19,1 mov $0,$17 sub $0,1 mov $13,$0 mov $15,2 sub $19,1 lpb $15,1 clr $0,13 mov $0,$13 sub $0,1 add $12,1 sub $15,1 lpb $12,1 mov $6,$0 mov $8,2 sub $12,1 lpb $8,1 clr $0,5 mov $0,$6 sub $8,1 add $0,$8 lpb $0,1 mov $1,$0 sub $0,1 add $3,1 div $1,$3 add $5,$1 lpe lpe lpe lpe lpe mov $1,$5 mov $24,$23 lpb $24,1 mov $22,$1 sub $24,1 lpe lpe lpb $21,1 mov $21,0 sub $22,$1 lpe mov $1,$22
26.087719
620
0.486214
c75d255c64fd6c4cfe95e59cef04545792ef0513
446
asm
Assembly
programs/oeis/156/A156755.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/156/A156755.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/156/A156755.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A156755: Period 9: repeat 1,1,2,1,1,2,2,2,3. ; 1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1,1,2,1,1,2,2,2,3,1 mod $0,9 sub $0,1 mov $1,4 mov $2,2 lpb $0 pow $0,$1 sub $0,1 mov $1,7 mov $2,1 lpe sub $1,1 mul $2,2 sub $2,1 mov $3,$0 sub $3,1 div $3,$1 add $1,$3 add $1,1 add $1,$2 sub $1,6 mov $0,$1
17.84
201
0.517937
965b5841ceae9485518c9e5b1fec797af4469cab
783
asm
Assembly
programs/oeis/314/A314015.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/314/A314015.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/314/A314015.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A314015: Coordination sequence Gal.4.100.3 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,11,15,19,25,30,35,41,45,49,55,60,65,71,75,79,85,90,95,101,105,109,115,120,125,131,135,139,145,150,155,161,165,169,175,180,185,191,195,199,205,210,215,221,225,229,235,240,245 mov $3,$0 add $3,1 mov $8,$0 lpb $3,1 mov $0,$8 sub $3,1 sub $0,$3 mov $4,5 mov $5,5 mov $6,$0 add $6,4 lpb $0,1 sub $0,1 mov $2,5 mul $4,2 sub $4,1 add $6,1 add $4,$6 add $4,2 add $5,4 mov $6,1 mov $7,$5 mov $5,1 add $7,1 mul $7,2 lpe add $2,5 add $4,5 add $7,$4 mod $7,3 add $7,1 add $2,$7 mov $4,$2 trn $4,8 add $4,1 add $1,$4 lpe
19.097561
179
0.573436
e1da1a0afb94a76d6153d105d5a7e79617dbdf82
8,587
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1885.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1885.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1885.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 %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1ce57, %r14 nop nop and %r8, %r8 movb $0x61, (%r14) cmp $4150, %rcx lea addresses_WC_ht+0x55df, %rax clflush (%rax) nop nop and $35540, %rdx movups (%rax), %xmm1 vpextrq $0, %xmm1, %r11 dec %rdx lea addresses_A_ht+0x6dc3, %rsi lea addresses_WC_ht+0x19c3f, %rdi nop cmp %r14, %r14 mov $83, %rcx rep movsb nop nop nop nop xor $59690, %rsi lea addresses_UC_ht+0x182bf, %rsi nop nop nop nop and %rdx, %rdx movw $0x6162, (%rsi) nop and $23815, %rsi lea addresses_UC_ht+0x5d3f, %r10 nop nop nop xor %r11, %r11 mov (%r10), %edx nop sub %rdx, %rdx lea addresses_WT_ht+0x1b33f, %rsi lea addresses_UC_ht+0x1143f, %rdi add %r14, %r14 mov $114, %rcx rep movsq nop nop and $21888, %rax lea addresses_normal_ht+0x2f3f, %rcx nop nop nop nop nop sub $36724, %r8 movw $0x6162, (%rcx) nop xor %rdx, %rdx lea addresses_WT_ht+0x1583f, %rdi nop dec %rax mov $0x6162636465666768, %r8 movq %r8, %xmm3 and $0xffffffffffffffc0, %rdi vmovaps %ymm3, (%rdi) nop sub %rdi, %rdi lea addresses_WT_ht+0x7bbf, %r8 nop sub $31838, %r10 movb (%r8), %r14b nop nop dec %r10 lea addresses_D_ht+0x1995f, %r11 nop nop nop nop nop dec %rsi movl $0x61626364, (%r11) nop nop nop nop cmp $58013, %r8 lea addresses_WT_ht+0x7d3f, %rcx nop nop nop dec %rax mov (%rcx), %r14w nop nop and $18962, %rcx lea addresses_UC_ht+0xd3ff, %rsi nop nop nop inc %r8 movups (%rsi), %xmm4 vpextrq $1, %xmm4, %r10 nop nop nop xor %rdx, %rdx lea addresses_WC_ht+0xda5f, %rsi lea addresses_WC_ht+0x66bf, %rdi clflush (%rsi) nop nop nop and $15183, %r11 mov $74, %rcx rep movsw nop sub $59507, %rsi lea addresses_WT_ht+0x1423f, %rax nop nop cmp $39863, %r14 movb $0x61, (%rax) nop nop nop nop nop xor %r14, %r14 lea addresses_D_ht+0x19a7f, %rax sub %rsi, %rsi mov (%rax), %r10 and %rdi, %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r8 pop %r14 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %rbp push %rcx push %rdi push %rsi // Load lea addresses_normal+0x7ecf, %rcx nop nop xor %r11, %r11 mov (%rcx), %ebp nop nop nop add $40850, %rcx // Store lea addresses_WC+0x176b1, %rsi nop nop nop nop nop dec %r13 mov $0x5152535455565758, %r11 movq %r11, (%rsi) add $61743, %r13 // Store lea addresses_WT+0x4b1f, %rsi nop nop nop nop cmp $17188, %r14 mov $0x5152535455565758, %r13 movq %r13, (%rsi) and $47479, %rsi // Store lea addresses_A+0x1ff3f, %rcx nop nop nop dec %rbp mov $0x5152535455565758, %r14 movq %r14, (%rcx) nop nop nop xor $39390, %r14 // Faulty Load lea addresses_D+0x343f, %r14 nop nop sub %rsi, %rsi mov (%r14), %di lea oracles, %rsi and $0xff, %rdi shlq $12, %rdi mov (%rsi,%rdi,1), %rdi pop %rsi pop %rdi pop %rcx pop %rbp pop %r14 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D'}, 'OP': 'LOAD'} {'src': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_normal'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WC'}} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_WT'}} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 8, 'NT': False, 'type': 'addresses_A'}} [Faulty Load] {'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 2, 'NT': False, 'type': 'addresses_D'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'congruent': 2, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 1, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_UC_ht'}} {'src': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_UC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': True, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}} {'src': {'congruent': 7, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 5, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'congruent': 8, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT_ht'}} {'src': {'congruent': 5, 'AVXalign': True, 'same': False, 'size': 8, 'NT': True, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'36': 21829} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
32.65019
2,999
0.652149
236103ec6e7eefd48dec5af3434f4475fc4b2139
232
asm
Assembly
tests/test2.asm
jamorton/rust-dcpu16
6312aa5b9dc03d66d1e4a16567d00c6f504214f5
[ "WTFPL" ]
3
2016-03-01T17:38:56.000Z
2019-09-16T15:23:47.000Z
tests/test2.asm
jamorton/rust-dcpu16
6312aa5b9dc03d66d1e4a16567d00c6f504214f5
[ "WTFPL" ]
null
null
null
tests/test2.asm
jamorton/rust-dcpu16
6312aa5b9dc03d66d1e4a16567d00c6f504214f5
[ "WTFPL" ]
null
null
null
SET I, 10 ; a861 SET A, 0x2000 ; 7c01 2000 SET [0x2000+I], [A] ; 2161 2000 SUB I, 0 ; 8463 IFN I, 0 ; 806d SET PC, 0x4 ; 7dc1 000d [*]
38.666667
42
0.349138
4b316fe8305e0e30390cfb2fc9d65407107ef713
872
asm
Assembly
oeis/267/A267581.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/267/A267581.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/267/A267581.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A267581: Decimal representation of the middle column of the "Rule 167" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by Jon Maiga ; 1,3,6,13,26,53,107,215,430,861,1723,3447,6895,13791,27583,55167,110334,220669,441339,882679,1765359,3530719,7061439,14122879,28245759,56491519,112983039,225966079,451932159,903864319,1807728639,3615457279,7230914558,14461829117,28923658235,57847316471,115694632943,231389265887,462778531775,925557063551,1851114127103,3702228254207,7404456508415,14808913016831,29617826033663,59235652067327,118471304134655,236942608269311,473885216538623,947770433077247,1895540866154495,3791081732308991 mov $2,$0 mov $4,$0 add $4,1 lpb $4 mov $0,$2 add $3,2 sub $4,1 sub $0,$4 add $0,1 mov $5,$0 mov $0,4 mul $1,2 mod $3,$5 trn $0,$3 mov $5,$0 div $5,4 pow $5,$0 add $1,$5 lpe mov $0,$1
34.88
490
0.764908
c21ad14bdd2b3c826754384747a320ac969f011d
1,734
asm
Assembly
programs/oeis/260/A260637.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/260/A260637.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/260/A260637.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A260637: Sums of seven consecutive squares: a(n) = n^2 + (n+1)^2 + (n+2)^2 + (n+3)^2 + (n+4)^2 + (n+5)^2 + (n+6)^2. ; 28,35,56,91,140,203,280,371,476,595,728,875,1036,1211,1400,1603,1820,2051,2296,2555,2828,3115,3416,3731,4060,4403,4760,5131,5516,5915,6328,6755,7196,7651,8120,8603,9100,9611,10136,10675,11228,11795,12376,12971,13580,14203,14840,15491,16156,16835,17528,18235,18956,19691,20440,21203,21980,22771,23576,24395,25228,26075,26936,27811,28700,29603,30520,31451,32396,33355,34328,35315,36316,37331,38360,39403,40460,41531,42616,43715,44828,45955,47096,48251,49420,50603,51800,53011,54236,55475,56728,57995,59276,60571,61880,63203,64540,65891,67256,68635,70028,71435,72856,74291,75740,77203,78680,80171,81676,83195,84728,86275,87836,89411,91000,92603,94220,95851,97496,99155,100828,102515,104216,105931,107660,109403,111160,112931,114716,116515,118328,120155,121996,123851,125720,127603,129500,131411,133336,135275,137228,139195,141176,143171,145180,147203,149240,151291,153356,155435,157528,159635,161756,163891,166040,168203,170380,172571,174776,176995,179228,181475,183736,186011,188300,190603,192920,195251,197596,199955,202328,204715,207116,209531,211960,214403,216860,219331,221816,224315,226828,229355,231896,234451,237020,239603,242200,244811,247436,250075,252728,255395,258076,260771,263480,266203,268940,271691,274456,277235,280028,282835,285656,288491,291340,294203,297080,299971,302876,305795,308728,311675,314636,317611,320600,323603,326620,329651,332696,335755,338828,341915,345016,348131,351260,354403,357560,360731,363916,367115,370328,373555,376796,380051,383320,386603,389900,393211,396536,399875,403228,406595,409976,413371,416780,420203,423640,427091,430556,434035 pow $0,2 add $0,4 mov $1,$0 mul $1,7
216.75
1,577
0.809689
5dcdecbbe0176ea013fdf022f5b594e1af32fec8
1,999
asm
Assembly
xy-VSFilter/src/thirdparty/VirtualDub/system/source/a_thunk.asm
wurui1994/AviSynth
d318f4b455c49a8864c30b3cce84925ebb16c002
[ "MIT" ]
1
2018-09-27T09:37:42.000Z
2018-09-27T09:37:42.000Z
xy-VSFilter/src/thirdparty/VirtualDub/system/source/a_thunk.asm
wurui1994/AviSynth
d318f4b455c49a8864c30b3cce84925ebb16c002
[ "MIT" ]
null
null
null
xy-VSFilter/src/thirdparty/VirtualDub/system/source/a_thunk.asm
wurui1994/AviSynth
d318f4b455c49a8864c30b3cce84925ebb16c002
[ "MIT" ]
null
null
null
segment .text align 16 global _VDMethodToFunctionThunk32 _VDMethodToFunctionThunk32: pop eax ;get return address in thunk ;re-copy arguments movzx ecx, byte [eax+1] mov edx, ecx argsloop: push dword [esp+edx] sub ecx, 4 jnz argsloop push eax ;replace thunk return address mov ecx, [eax+7] ;load 'this' pointer jmp dword [eax+3] ;tail-call function align 16 global _VDMethodToFunctionThunk32_4 _VDMethodToFunctionThunk32_4: pop eax ;get return address in thunk push dword [esp+4] ;replicate 1st argument push eax ;replace thunk return address mov ecx, [eax+7] ;load 'this' pointer jmp dword [eax+3] ;tail-call function align 16 global _VDMethodToFunctionThunk32_8 _VDMethodToFunctionThunk32_8: pop eax ;get return address in thunk push dword [esp+8] ;replicate 2nd argument push dword [esp+8] ;replicate 1st argument push eax ;replace thunk return address mov ecx, [eax+7] ;load 'this' pointer jmp dword [eax+3] ;tail-call function align 16 global _VDMethodToFunctionThunk32_12 _VDMethodToFunctionThunk32_12: pop eax ;get return address in thunk push dword [esp+12] ;replicate 3rd argument push dword [esp+12] ;replicate 2nd argument push dword [esp+12] ;replicate 1st argument push eax ;replace thunk return address mov ecx, [eax+7] ;load 'this' pointer jmp dword [eax+3] ;tail-call function align 16 global _VDMethodToFunctionThunk32_16 _VDMethodToFunctionThunk32_16: pop eax ;get return address in thunk push dword [esp+16] ;replicate 4th argument push dword [esp+16] ;replicate 3rd argument push dword [esp+16] ;replicate 2nd argument push dword [esp+16] ;replicate 1st argument push eax ;replace thunk return address mov ecx, [eax+7] ;load 'this' pointer jmp dword [eax+3] ;tail-call function end
31.234375
48
0.673837
ca8927831ad703a4c38c9308a19a83fdba3c20e6
1,025
asm
Assembly
ToolsRunner.Tests/Resources/multiboot.asm
pengwin/DotNetOS
5bcecf7a8fb2c4005934091fe3d8a45e6fb3d433
[ "MIT" ]
2
2017-07-28T01:34:48.000Z
2017-10-23T16:30:45.000Z
ToolsRunner.Tests/Resources/multiboot.asm
pengwin/DotNetOS
5bcecf7a8fb2c4005934091fe3d8a45e6fb3d433
[ "MIT" ]
null
null
null
ToolsRunner.Tests/Resources/multiboot.asm
pengwin/DotNetOS
5bcecf7a8fb2c4005934091fe3d8a45e6fb3d433
[ "MIT" ]
null
null
null
use32 UMB_START = 0x00100000 org UMB_START MB_MAGIC = 1BADB002h MB_F_BOOTALIGNED = 1 MB_F_MEMINFO = (1 shl 1) MB_F_VIDEOTABLE = (1 shl 2) MB_F_USE_MBOFFSETS = (1 shl 16) MB_FLAGS = MB_F_BOOTALIGNED or MB_F_MEMINFO or \ MB_F_USE_MBOFFSETS MB_CHECKSUM = dword - (MB_MAGIC + MB_FLAGS) VIDEO_MODE = 1 ; EGA text mode VIDEO_WIDTH = 80 VIDEO_HEIGHT = 25 VIDEO_DEPTH = 0 VIDEO_BASE_ADDR = 0xB8000 multiboot_header: dd MB_MAGIC ; Multiboot magic number flags: dd MB_FLAGS checksum: dd MB_CHECKSUM header_addr: dd multiboot_header load_addr: dd multiboot_header ; start of program text load_end_addr: dd load_end ; end of program text+data bss_end_addr: dd bss+10000h entry_addr: dd entry_point ; mode_type: dd VIDEO_MODE ; Video mode width: dd VIDEO_WIDTH ; Video Width height: dd VIDEO_HEIGHT ; Video Height depth: dd VIDEO_DEPTH ; Vide Depth entry_point: cmp eax,0x2BADB002 ; Are we multibooted hlt ; not really sure how we'd ever get here jmp $-1 fail: hlt load_end: bss: mbis: rd 0 umb_end: rd 0
23.295455
54
0.760976
baaa98cf6dfc5cbcfbc42bca418af5f5cb834816
154
asm
Assembly
libsrc/target/test/time/clock.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/target/test/time/clock.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/target/test/time/clock.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; ; SECTION code_clib PUBLIC clock PUBLIC _clock INCLUDE "target/test/def/test_cmds.def" .clock ._clock ld a,CMD_GETCLOCK call SYSCALL ret
9.625
41
0.720779
e6e785bcb8c0035b1093d4581e52c670b52f83b9
405
asm
Assembly
Laburi/Lab4/9-extract-from-vect/no_neg_pos.asm
DanBrezeanu/IOCLA
1a22cc2949afc72818289f47288e32004f633fd1
[ "MIT" ]
2
2019-11-18T15:56:21.000Z
2020-01-18T01:22:37.000Z
Laburi/Lab4/9-extract-from-vect/no_neg_pos.asm
zatbogdan99/IOCLA
3d499ad18624f571e6c49ff891649a05ac9908e4
[ "MIT" ]
null
null
null
Laburi/Lab4/9-extract-from-vect/no_neg_pos.asm
zatbogdan99/IOCLA
3d499ad18624f571e6c49ff891649a05ac9908e4
[ "MIT" ]
null
null
null
%include "io.inc" section .data v db -2, 3, 4, 11, -100, 4, -1, 0 len db 8 section .text global CMAIN CMAIN: ;write your code here xor eax, eax xor edx, edx mov ecx, [len] count: cmp byte [v + ecx - 1], 0 jl negative inc eax jmp end_loop negative: inc edx end_loop: loop count PRINT_DEC 4, eax NEWLINE PRINT_DEC 4, edx ret
13.064516
33
0.558025
8b168be896236c8f04a7c0b93d3e3c74061d3435
977
asm
Assembly
programs/oeis/038/A038794.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/038/A038794.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/038/A038794.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A038794: T(n,n-4), array T as in A038792. ; 1,5,12,21,34,55,88,138,211,314,455,643,888,1201,1594,2080,2673,3388,4241,5249,6430,7803,9388,11206,13279,15630,18283,21263,24596,28309,32430,36988,42013,47536,53589,60205,67418,75263 mov $2,$0 add $2,1 mov $12,$0 lpb $2 mov $0,$12 sub $2,1 sub $0,$2 mov $9,$0 mov $10,0 mov $11,$0 add $11,1 lpb $11 mov $0,$9 sub $11,1 sub $0,$11 mov $5,$0 mov $7,2 lpb $7 mov $0,$5 mov $3,0 sub $7,1 add $0,$7 sub $0,1 mov $4,$0 mov $0,-1 add $0,$4 add $3,$4 add $4,$0 add $0,1 trn $3,4 add $3,2 add $4,1 lpb $0 bin $0,3 add $3,$0 mov $0,1 add $3,2 mov $4,$3 lpe mov $8,$7 lpb $8 mov $6,$4 sub $8,1 lpe lpe lpb $5 mov $5,0 sub $6,$4 lpe mov $4,$6 add $4,1 add $10,$4 lpe add $1,$10 lpe mov $0,$1
16.283333
184
0.455476
689b829e459d67ca0ea870fe9606fe3de73159ca
102
asm
Assembly
libpal/intel_64bit_systemv_nasm/sgdt.asm
mars-research/pal
5977394cda8750ff5dcb89c2bf193ec1ef4cd137
[ "MIT" ]
26
2020-01-06T23:53:17.000Z
2022-02-01T08:58:21.000Z
libpal/intel_64bit_systemv_nasm/sgdt.asm
mars-research/pal
5977394cda8750ff5dcb89c2bf193ec1ef4cd137
[ "MIT" ]
30
2019-11-13T00:55:22.000Z
2022-01-06T08:09:35.000Z
libpal/intel_64bit_systemv_nasm/sgdt.asm
mars-research/pal
5977394cda8750ff5dcb89c2bf193ec1ef4cd137
[ "MIT" ]
14
2019-11-15T16:56:22.000Z
2021-12-22T10:14:17.000Z
bits 64 default rel section .text global pal_execute_sgdt pal_execute_sgdt : sgdt [rdi] ret
10.2
23
0.735294
22f19ad0c1974f4e62b995fd6df5240e234295d6
402
asm
Assembly
libsrc/sprites/software/sp1/ts2068hr/tiles/sp1_PrintAtInv.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/sprites/software/sp1/ts2068hr/tiles/sp1_PrintAtInv.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/sprites/software/sp1/ts2068hr/tiles/sp1_PrintAtInv.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void sp1_PrintAtInv(uchar row, uchar col, uint tile) ; CALLER linkage for function pointers SECTION code_sprite_sp1 PUBLIC sp1_PrintAtInv EXTERN sp1_PrintAtInv_callee EXTERN ASMDISP_SP1_PRINTATINV_CALLEE .sp1_PrintAtInv ld hl,2 add hl,sp ld c,(hl) inc hl ld b,(hl) inc hl ld e,(hl) inc hl inc hl ld d,(hl) jp sp1_PrintAtInv_callee + ASMDISP_SP1_PRINTATINV_CALLEE
17.478261
59
0.736318