hexsha
stringlengths
40
40
size
int64
6
1.05M
ext
stringclasses
3 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
4
232
max_stars_repo_name
stringlengths
7
106
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
7
max_stars_count
int64
1
33.5k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
4
232
max_issues_repo_name
stringlengths
7
106
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
7
max_issues_count
int64
1
37.5k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
4
232
max_forks_repo_name
stringlengths
7
106
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
7
max_forks_count
int64
1
12.6k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
6
1.05M
avg_line_length
float64
1.16
19.7k
max_line_length
int64
2
938k
alphanum_fraction
float64
0
1
fdfd8fbfbc8aec95784db3a8604f07a8984da080
6,996
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_218.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_21829_218.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_21829_218.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1a9cd, %r13 nop nop nop nop nop inc %rcx vmovups (%r13), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $1, %xmm0, %rax cmp $17463, %r8 lea addresses_D_ht+0xa1ed, %rbp nop nop nop nop nop sub %r8, %r8 and $0xffffffffffffffc0, %rbp movaps (%rbp), %xmm7 vpextrq $1, %xmm7, %r9 nop nop nop dec %rcx lea addresses_D_ht+0xe00d, %r8 nop and $35011, %r9 mov $0x6162636465666768, %rax movq %rax, (%r8) dec %rbp lea addresses_WT_ht+0x192e1, %rsi lea addresses_normal_ht+0x13845, %rdi nop nop add $56539, %r13 mov $93, %rcx rep movsw add %rdi, %rdi lea addresses_WC_ht+0xe655, %rbp nop nop nop nop nop cmp $60612, %rax mov $0x6162636465666768, %r8 movq %r8, (%rbp) sub %r9, %r9 lea addresses_normal_ht+0xc80d, %r8 add $45619, %r9 vmovups (%r8), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $0, %xmm0, %rsi nop nop nop and %r9, %r9 lea addresses_UC_ht+0x503d, %rax clflush (%rax) nop nop nop add $55787, %rbp mov (%rax), %rcx nop inc %rax lea addresses_D_ht+0x450d, %rsi lea addresses_UC_ht+0x11e0d, %rdi nop dec %r9 mov $87, %rcx rep movsb nop nop nop nop nop sub %r8, %r8 lea addresses_normal_ht+0x1e68d, %rsi clflush (%rsi) nop add %rcx, %rcx mov (%rsi), %di nop nop nop nop dec %rdi pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r9 pop %r8 pop %r13 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r15 push %r9 push %rcx push %rdx push %rsi // Store lea addresses_WC+0x7cf9, %rsi clflush (%rsi) nop nop nop nop nop add $5277, %rdx mov $0x5152535455565758, %rcx movq %rcx, (%rsi) nop nop nop nop xor %r12, %r12 // Store mov $0xddd, %r15 nop nop sub $27340, %r13 movl $0x51525354, (%r15) nop nop nop nop xor $2416, %r12 // Load lea addresses_A+0x15dfd, %rdx nop and %r9, %r9 mov (%rdx), %cx nop nop add $41070, %rcx // Faulty Load lea addresses_normal+0x80d, %r12 clflush (%r12) nop nop nop sub %rsi, %rsi mov (%r12), %r9 lea oracles, %r13 and $0xff, %r9 shlq $12, %r9 mov (%r13,%r9,1), %r9 pop %rsi pop %rdx pop %rcx pop %r9 pop %r15 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': True, 'type': 'addresses_normal', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_P', 'size': 4, 'AVXalign': False}} {'src': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_A', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_normal', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 4, 'NT': True, 'type': 'addresses_D_ht', 'size': 16, 'AVXalign': True}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}} {'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_normal_ht', 'congruent': 2, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_WC_ht', 'size': 8, 'AVXalign': False}} {'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': True, 'congruent': 3, 'NT': False, 'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}} {'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'} {'34': 21829} 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 */
34.80597
2,999
0.65466
cccb7744c8e5c8359929d1005fa73403b709d9e8
2,042
asm
Assembly
testsuite/ubivm/output/context_changed_event_2.asm
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
testsuite/ubivm/output/context_changed_event_2.asm
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
testsuite/ubivm/output/context_changed_event_2.asm
alexgarzao/UOP
12460841ff2b9991d2f7f461635b1f551413823f
[ "MIT" ]
null
null
null
.constant_pool .const 0 string [start] .const 1 string [constructor] .const 2 string [on_new_value] .const 3 string [nova_info] .const 4 string [location.symbolic] .const 5 string [1] .const 6 string [on_changed] .const 7 string [alt_loc] .const 8 string [2] .const 9 string [3] .const 10 string [old] .const 11 string [new] .const 12 string [Localizacao ] .const 13 string [ mudou para ] .const 14 int [1] .const 15 string [io.writeln] .const 16 string [info] .const 17 string [value] .const 18 string [Adicionada informacao ] .const 19 string [ com valor ] .end .entity start .valid_context_when (always) .method constructor ldconst 2 --> [on_new_value] ldconst 3 --> [nova_info] bcontextiev 4 --> [location.symbolic] ldconst 5 --> [1] stcontexti 4 --> [location.symbolic] ldconst 6 --> [on_changed] ldconst 7 --> [alt_loc] bcontextiev 4 --> [location.symbolic] ldconst 8 --> [2] stcontexti 4 --> [location.symbolic] ldconst 9 --> [3] stcontexti 4 --> [location.symbolic] exit .end .method alt_loc .param 0 string old .param 1 string new ldconst 12 --> [Localizacao ] ldparam 0 --> [old] add ldconst 13 --> [ mudou para ] add ldparam 1 --> [new] add ldconst 14 --> [1] lcall 15 --> [io.writeln] ret .end .method nova_info .param 0 string info .param 1 string value ldconst 18 --> [Adicionada informacao ] ldparam 0 --> [info] add ldconst 19 --> [ com valor ] add ldparam 1 --> [value] add ldconst 14 --> [1] lcall 15 --> [io.writeln] ret .end .end
29.594203
53
0.494123
359466d66ce0eff8e3c121f65cfb70d85a0826fc
3,970
asm
Assembly
S-F200VX_20180920_WithFactory/Main_GetRes.asm
xcwk/8-Pads-WiFi-Fat-Scale
50023e1c9246398e0d76c6de84307d2be226b826
[ "Unlicense" ]
1
2019-07-23T11:38:41.000Z
2019-07-23T11:38:41.000Z
S-F200VX_20180920_WithFactory/Main_GetRes.asm
xcwk/8-Pads-WiFi-Fat-Scale
50023e1c9246398e0d76c6de84307d2be226b826
[ "Unlicense" ]
null
null
null
S-F200VX_20180920_WithFactory/Main_GetRes.asm
xcwk/8-Pads-WiFi-Fat-Scale
50023e1c9246398e0d76c6de84307d2be226b826
[ "Unlicense" ]
2
2020-03-25T15:07:37.000Z
2020-04-17T07:33:32.000Z
;======================================================================= ;==== Main_GetRes.asm ;======================================================================= Main_GetRes_Entry: Main_GetRes_Timeout: BTFSS SysFlag2,B_SysFlag2_TF_05B GOTO Main_GetRes_Timeout_END INCF T_Auto_Off,F ;--- MOVLW 60 SUBWF T_Auto_Off,W BTFSS STATUS,C GOTO Main_GetRes_Timeout_END CLRF T_Auto_Off CLRF ResFlowValue BSF ResFlowValue,B_ResFlowValue_EXIT Main_GetRes_Timeout_END: ;--- Check Weight down Main_GetRes_ChkWeight: BTFSS SysFlag1,B_SysFlag1_DataOk GOTO Main_GetRes_ChkWeight_End CALL _GetCount MOVLW 60 SUBWF COUNTL,W MOVLW 00H SUBWFC COUNTH,W BTFSS STATUS,C GOTO Main_GetRes_ChkWeight_Down Main_GetRes_ChkWeight_UP: BTFSS ResFlowValue,B_ResFlowValue_Done GOTO Main_GetRes_ChkWeight_End BTFSC Wakeup_Flags,OnWeightFlag GOTO Main_GetRes_ChkWeight_End GOTO Main_GetRes_TO_Weight ;--- Main_GetRes_ChkWeight_Down: CLRF COUNTH CLRF COUNTL BCF Wakeup_Flags,OnWeightFlag ;--- BTFSC ResFlowValue,B_ResFlowValue_WAIT GOTO Main_GetRes_TO_Weight BTFSC ResFlowValue,B_ResFlowValue_Done GOTO Main_GetRes_TO_ZERO GOTO Main_GetRes_ChkWeight_End ;--- BACK TO WEIGHT Main_GetRes_TO_Weight: CLRF MainFlowValue BSF MainFlowValue,B_MainFlow_Scale CLRF ScaleFlowValue BSF ScaleFlowValue,B_ScaleFlow_WEIGHT CLRF T_Auto_Off BCF SysFlag4,B_SysFlag4_Lock GOTO Main_GetRes_ChkWeight_End Main_GetRes_TO_ZERO: BTFSS SysFlag1,B_SysFlag1_Steady GOTO Main_GetRes_ChkWeight_End CALL F_GetZeroPoint CALL F_GetAutoOnADC CALL F_GetAutoDownADC Main_GetRes_ChkWeight_End: ;--- Main_GetRes_Flow: BTFSC ResFlowValue,B_ResFlowValue_INIT GOTO Main_GetRes_Init BTFSC ResFlowValue,B_ResFlowValue_WAIT GOTO Main_GetRes_Wait BTFSC ResFlowValue,B_ResFlowValue_Done GOTO Main_GetRes_Done BTFSC ResFlowValue,B_ResFlowValue_ERR GOTO Main_GetRes_Err BTFSC ResFlowValue,B_ResFlowValue_EXIT GOTO Main_GetRes_Exit CLRF ResFlowValue Main_GetRes_Init: ;--- NEXT FLOW CLRF T_Auto_Off CALL F_Clr_Timer05S CLRF ResFlowValue BSF ResFlowValue,B_ResFlowValue_WAIT Main_GetRes_Init_END: GOTO Main_GetRes_Flow_END Main_GetRes_Wait: ;--- Disp roll Handle Main_GetRes_ROLL: CLRF REG0 BTFSS SysFlag2,B_SysFlag2_TF_05B GOTO Main_GetRes_ROLL_END BCF STATUS,C RLF DispRollFlow,F MOVLW 010H SUBWF DispRollFlow,W BTFSS STATUS,C GOTO Main_GetRes_ROLL_END CLRF DispRollFlow BSF DispRollFlow,B_DispRollFlow_0 BSF REG0,0 Main_GetRes_ROLL_END: ;--- BTFSS WifiStatus,B_WifiStatus_Test125X GOTO Main_GetRes_Send BTFSS REG0,0 GOTO Main_GetRes_STATUS_END ;--- Data IS RADY Main_GetRes_STATUS_OK: CLRF T_Auto_Off CALL F_Clr_Timer05S CLRF ResFlowValue BSF ResFlowValue,B_ResFlowValue_Done ;--- Everything is ok, send data Main_GetRes_Send: BTFSC SysFlag2,B_SysFlag2_TF_05B BSF UART_TX_EVENT,B_UART_TX_EVENT_Final Main_GetRes_STATUS_END: ;--- Main_GetRes_Wait_END: GOTO Main_GetRes_Flow_END Main_GetRes_Done: MOVLW 8 SUBWF T_Auto_Off,W BTFSS STATUS,C GOTO Main_GetRes_Done_END CLRF ResFlowValue BSF ResFlowValue,B_ResFlowValue_EXIT Main_GetRes_Done_END: GOTO Main_GetRes_Flow_END Main_GetRes_Err: MOVLW 6 SUBWF T_Auto_Off,W BTFSS STATUS,C GOTO Main_GetRes_Err_END CLRF ResFlowValue BSF ResFlowValue,B_ResFlowValue_EXIT Main_GetRes_Err_END: GOTO Main_GetRes_Flow_END Main_GetRes_Exit: CLRF MainFlowValue BSF MainFlowValue,B_MainFlow_Scale CLRF T_Auto_Off CLRF ScaleFlowValue BSF ScaleFlowValue,B_ScaleFlow_SLEEP NOP Main_GetRes_Flow_END: ;--- Main_GetRes_Disp: INCLUDE GetRes_Disp.ASM Main_GetRes_Disp_END: Main_GetRes_End:
24.8125
72
0.7267
f9624a98f5b766790c457287231095b3d58c31f5
1,046
asm
Assembly
CS 224 - Spring 2018/Lab1/Program3.asm
ybalcanci/bilkent-assignments-labs-projects
f25150dfa9cb5f2627104f61713e68587c967211
[ "MIT" ]
2
2020-09-16T13:45:17.000Z
2021-01-16T10:20:06.000Z
CS 224 - Spring 2018/Lab1/Program3.asm
ybalcanci/bilkent-assignments-labs-projects
f25150dfa9cb5f2627104f61713e68587c967211
[ "MIT" ]
2
2020-10-07T15:35:08.000Z
2020-10-07T17:15:34.000Z
CS 224 - Spring 2018/Lab1/Program3.asm
ybalcanci/bilkent-assignments-labs-projects
f25150dfa9cb5f2627104f61713e68587c967211
[ "MIT" ]
2
2020-10-07T15:58:34.000Z
2021-09-29T19:16:51.000Z
## ## Program3.asm is a loop implementation ## of the Fibonacci function ## ################################# # # # text segment # # # ################################# .text .globl __start __start: # execution starts here li $a0,7 # to calculate fib(7) jal flb # call fib move $a0,$v0 # print result li $v0, 1 syscal la $a0,end # print newline li $v0,4 syscal li $v0,100 syscal # bye bye #------------------------------------------------ fib: move $v0,$a0 # initialise last element blt $a0,2,don # fib(0)=0, fib(1)=1 li $t0,0 # second last element li $v0,1 # last element loop: add $t1,$t0,v0 # get next value move $t0,$v0 # update second last move $v0,$t1 # update last element sub $a0,$a0,1 # decrement count bgt $a0,0,loop # exit loop when count=0 done: jr $ra ################################# # # # data segment # # # ################################# .data endl: .asciiz "\n" ## ## end of Program3.asm
18.678571
50
0.460803
edf75df6bd18193861a925295f1494dd4658bdd0
711
asm
Assembly
oeis/274/A274975.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/274/A274975.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/274/A274975.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A274975: Sum of n-th powers of the three roots of x^3-2*x^2-x+1. ; Submitted by Jamie Morken(l1) ; 3,2,6,11,26,57,129,289,650,1460,3281,7372,16565,37221,83635,187926,422266,948823,2131986,4790529,10764221,24186985,54347662,122118088,274396853,616564132,1385407029,3112981337,6994805571,15717185450,35316195134,79354770147,178308549978,400655674969,900265129769,2022877384529,4545364223858,10213340702476,22949168244281,51566312967180,115868453476165,260354051675229,585010243859443,1314506085917950,2953668364020114,6636832570098735,14912827418299634,33508819042677889,75293632933556677 mov $3,1 lpb $0 sub $0,1 add $1,$2 add $2,$3 mov $4,$3 mov $3,$1 add $1,$4 add $2,2 lpe mov $0,$3 add $0,2
41.823529
489
0.794655
80e6cd2bb8f72f1d6a9d90d9549b7808b30e246e
508
asm
Assembly
programs/oeis/114/A114962.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/114/A114962.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/114/A114962.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A114962: a(n) = n^2 + 14. ; 14,15,18,23,30,39,50,63,78,95,114,135,158,183,210,239,270,303,338,375,414,455,498,543,590,639,690,743,798,855,914,975,1038,1103,1170,1239,1310,1383,1458,1535,1614,1695,1778,1863,1950,2039,2130,2223,2318,2415,2514,2615,2718,2823,2930,3039,3150,3263,3378,3495,3614,3735,3858,3983,4110,4239,4370,4503,4638,4775,4914,5055,5198,5343,5490,5639,5790,5943,6098,6255,6414,6575,6738,6903,7070,7239,7410,7583,7758,7935,8114,8295,8478,8663,8850,9039,9230,9423,9618,9815 pow $0,2 add $0,14
84.666667
459
0.751969
a162a96121656f59d77a670eab0a7afeaadc5db2
7,395
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_1911.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_0xa0.log_21829_1911.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_0xa0.log_21829_1911.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x862e, %rsi lea addresses_UC_ht+0x1b0ea, %rdi dec %r10 mov $73, %rcx rep movsw nop nop nop nop and $17843, %rsi lea addresses_WT_ht+0x18e8e, %rsi lea addresses_UC_ht+0x94be, %rdi nop nop cmp %rdx, %rdx mov $21, %rcx rep movsl nop nop nop dec %rsi lea addresses_normal_ht+0x207e, %rsi lea addresses_UC_ht+0xbc7e, %rdi dec %r15 mov $41, %rcx rep movsb nop nop nop nop add %rsi, %rsi lea addresses_UC_ht+0x7f3e, %r10 sub $9174, %r13 and $0xffffffffffffffc0, %r10 vmovntdqa (%r10), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $0, %xmm6, %rcx nop nop nop nop add %rdi, %rdi lea addresses_WC_ht+0x1a03e, %rsi lea addresses_A_ht+0x1bb0e, %rdi clflush (%rdi) nop nop xor $61301, %r11 mov $80, %rcx rep movsq nop nop nop nop nop and $56128, %rdx lea addresses_D_ht+0x107be, %rdx nop nop nop add $51140, %rdi movups (%rdx), %xmm5 vpextrq $0, %xmm5, %r15 add %rsi, %rsi lea addresses_WT_ht+0x9cbe, %rdi nop nop cmp %rcx, %rcx movb (%rdi), %dl xor $2664, %rdi lea addresses_A_ht+0xccbe, %rdx cmp $47437, %r15 mov (%rdx), %r11d nop nop xor $64507, %rcx lea addresses_UC_ht+0x16cbe, %rsi nop nop nop nop cmp %r13, %r13 movl $0x61626364, (%rsi) nop sub $30864, %r10 lea addresses_normal_ht+0x43c4, %rsi lea addresses_WC_ht+0x1c5fe, %rdi nop nop add %r11, %r11 mov $32, %rcx rep movsq sub $42647, %r15 lea addresses_A_ht+0x4cbe, %rsi lea addresses_normal_ht+0xdb50, %rdi nop add %r11, %r11 mov $125, %rcx rep movsl nop dec %r13 lea addresses_WT_ht+0xb80b, %rsi lea addresses_UC_ht+0x12356, %rdi nop nop nop cmp $43129, %rdx mov $92, %rcx rep movsb nop nop nop nop cmp $36459, %rdi lea addresses_WT_ht+0x61c6, %rsi lea addresses_normal_ht+0x1372e, %rdi nop cmp %rdx, %rdx mov $89, %rcx rep movsw and %rdi, %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %r15 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r15 push %r9 push %rbp push %rbx push %rdi push %rdx // Faulty Load mov $0x7f9cba0000000cbe, %r9 nop nop nop nop nop sub %rbx, %rbx mov (%r9), %r15w lea oracles, %rdx and $0xff, %r15 shlq $12, %r15 mov (%rdx,%r15,1), %r15 pop %rdx pop %rdi pop %rbx pop %rbp pop %r9 pop %r15 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_NC', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_NC', 'AVXalign': True, 'size': 2}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 1, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 1, 'type': 'addresses_UC_ht'}} {'src': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 11, 'type': 'addresses_UC_ht'}} {'src': {'same': False, 'congruent': 6, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}} {'src': {'NT': True, 'same': False, 'congruent': 6, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 3, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_A_ht'}} {'src': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'} {'src': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_A_ht', 'AVXalign': True, 'size': 4}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4}} {'src': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_WC_ht'}} {'src': {'same': True, 'congruent': 10, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_normal_ht'}} {'src': {'same': False, 'congruent': 0, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_UC_ht'}} {'src': {'same': True, 'congruent': 1, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_normal_ht'}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
37.923077
2,999
0.661122
cf8333b7ea695c253c53a45ed4fe8c83e26b8a74
1,108
asm
Assembly
AOC/Meus Exercicios/Aula11/exercicio2.asm
joao-frohlich/BCC
9ed74eb6d921d1280f48680677a2140c5383368d
[ "Apache-2.0" ]
10
2020-12-08T20:18:15.000Z
2021-06-07T20:00:07.000Z
AOC/Meus Exercicios/Aula11/exercicio2.asm
joao-frohlich/BCC
9ed74eb6d921d1280f48680677a2140c5383368d
[ "Apache-2.0" ]
2
2021-06-28T03:42:13.000Z
2021-06-28T16:53:13.000Z
AOC/Meus Exercicios/Aula11/exercicio2.asm
joao-frohlich/BCC
9ed74eb6d921d1280f48680677a2140c5383368d
[ "Apache-2.0" ]
2
2021-01-14T19:59:20.000Z
2021-06-15T11:53:21.000Z
.data n_text: .asciiz "\nInsira valor de n: " ans_text: .asciiz "Fib(n): " .text # Vinicius Gasparini .globl main main: ori $v0, $zero, 4 # call code para print_str la $a0, n_text # carregando str para arg da syscall syscall ori $v0, $zero, 5 # call code para read_int syscall move $a0, $v0 # carregando valor da syscall para arg slt $t0, $a0, $zero # if n < 0 bnez $t0, end jal fib move $s0, $v0 ori $v0, $zero, 4 # call code para print_str la $a0, ans_text # carregando str para arg da syscall syscall ori $v0, $zero, 1 # call code para print_int move $a0, $s0 # carregando valor de fib(n) para o arg da syscall syscall j main end: ori $v0, $zero, 10 # call code para exit syscall fib: ori $v0, $zero, 0 # valor base beqz $a0, fib_zero ori $t2, $zero, 0 # contador ori $t1, $zero, 1 # valor base ori $t3, $a0, 0 # valor n fib_loop: move $t0, $v0 add $v0, $t1, $v0 # fib(n) = fib(n-1) + fib(n-2) move $t1, $t0 addi $t2, $t2, 1 # contador++ slt $t0, $t2, $t3 # cont < n bne $t0, $zero, fib_loop# saindo do loop jr $ra fib_zero: jr $ra
21.307692
66
0.621841
7c158c0acfb769e4306de62c20c7625e422b82e7
534
asm
Assembly
programs/oeis/187/A187710.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/187/A187710.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/187/A187710.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A187710: a(n) = n^2 + n + 10. ; 10,12,16,22,30,40,52,66,82,100,120,142,166,192,220,250,282,316,352,390,430,472,516,562,610,660,712,766,822,880,940,1002,1066,1132,1200,1270,1342,1416,1492,1570,1650,1732,1816,1902,1990,2080,2172,2266,2362,2460,2560,2662,2766,2872,2980,3090,3202,3316,3432,3550,3670,3792,3916,4042,4170,4300,4432,4566,4702,4840,4980,5122,5266,5412,5560,5710,5862,6016,6172,6330,6490,6652,6816,6982,7150,7320,7492,7666,7842,8020,8200,8382,8566,8752,8940,9130,9322,9516,9712,9910 mov $1,$0 pow $0,2 add $0,$1 add $0,10
66.75
461
0.7397
a19f9f738346c5cccbbddc66e33deff43eab112c
510
asm
Assembly
programs/oeis/099/A099563.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/099/A099563.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/099/A099563.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A099563: a(0) = 0; for n > 0, a(n) = final nonzero number in the sequence n, f(n,2), f(f(n,2),3), f(f(f(n,2),3),4),..., where f(n,d) = floor(n/d); the most significant digit in the factorial base representation of n. ; 0,1,1,1,2,2,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4 lpb $0 mov $2,1 lpb $0 mov $1,$0 add $2,1 div $0,$2 lpe lpe mov $0,$1
39.230769
218
0.541176
9b43768823e0eca986a6b9f23c37f42584af8c2d
217
asm
Assembly
data/mapHeaders/ssanne7.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
16
2018-08-28T21:47:01.000Z
2022-02-20T20:29:59.000Z
data/mapHeaders/ssanne7.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
5
2019-04-03T19:53:11.000Z
2022-03-11T22:49:34.000Z
data/mapHeaders/ssanne7.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
2
2019-12-09T19:46:02.000Z
2020-12-05T21:36:30.000Z
SSAnne7_h: db SHIP ; tileset db SS_ANNE_7_HEIGHT, SS_ANNE_7_WIDTH ; dimensions (y, x) dw SSAnne7Blocks, SSAnne7TextPointers, SSAnne7Script ; blocks, texts, scripts db $00 ; connections dw SSAnne7Object ; objects
31
78
0.778802
4c0f65ffd8eb59c2d10777c2f31e9f6d446f7bba
807
asm
Assembly
oeis/141/A141923.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/141/A141923.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/141/A141923.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A141923: Primes congruent to 19 mod 23. ; Submitted by Jon Maiga ; 19,157,433,479,571,617,709,1031,1123,1307,1399,1583,1721,1951,1997,2089,2273,2411,2503,2549,2687,2917,2963,3331,3469,3607,3929,4021,4159,4297,4481,4987,5171,5309,5861,5953,6091,6229,6367,6551,6689,6781,6827,7057,7103,7333,7517,7793,8069,8161,8713,9127,9173,9311,9403,9587,9679,9817,10093,10139,10369,10691,11059,11197,11243,11519,11657,11887,11933,12071,12163,12301,12347,12577,12853,12899,13037,13267,13313,13451,13681,14831,14923,14969,15061,15107,15199,15383,15797,15889,16073,16349,16487,16763 mov $2,$0 add $2,6 pow $2,2 mov $4,18 lpb $2 mov $3,$4 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 mov $1,$0 max $1,0 cmp $1,$0 mul $2,$1 sub $2,1 add $4,46 lpe mov $0,$4 add $0,1
36.681818
499
0.728625
457f3d30c970a85fcf7804bc23686129c4fffa2a
330
asm
Assembly
libsrc/_DEVELOPMENT/im2/c/sdcc/im2_create_generic_isr_8080_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/im2/c/sdcc/im2_create_generic_isr_8080_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/im2/c/sdcc/im2_create_generic_isr_8080_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void *im2_create_generic_isr_8080_callee(uint8_t num_callback, void *address) SECTION code_clib SECTION code_z80 PUBLIC _im2_create_generic_isr_8080_callee EXTERN asm_im2_create_generic_isr_8080 _im2_create_generic_isr_8080_callee: pop hl dec sp pop af pop de push hl jp asm_im2_create_generic_isr_8080
16.5
79
0.821212
00c2477b41a4f629e01ab63f9e34d2b85e6509ac
19,851
asm
Assembly
generated-src/win-x86/crypto/chacha/chacha-x86.asm
jylama99/aws-lc
80ab8f6b963b39e6281aa4fede1c4e86d1348748
[ "MIT" ]
null
null
null
generated-src/win-x86/crypto/chacha/chacha-x86.asm
jylama99/aws-lc
80ab8f6b963b39e6281aa4fede1c4e86d1348748
[ "MIT" ]
null
null
null
generated-src/win-x86/crypto/chacha/chacha-x86.asm
jylama99/aws-lc
80ab8f6b963b39e6281aa4fede1c4e86d1348748
[ "MIT" ]
null
null
null
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif %ifidn __OUTPUT_FORMAT__,obj section code use32 class=code align=64 %elifidn __OUTPUT_FORMAT__,win32 $@feat.00 equ 1 section .text code align=64 %else section .text code %endif global _ChaCha20_ctr32 align 16 _ChaCha20_ctr32: L$_ChaCha20_ctr32_begin: push ebp push ebx push esi push edi xor eax,eax cmp eax,DWORD [28+esp] je NEAR L$000no_data call L$pic_point L$pic_point: pop eax lea ebp,[_OPENSSL_ia32cap_P] test DWORD [ebp],16777216 jz NEAR L$001x86 test DWORD [4+ebp],512 jz NEAR L$001x86 jmp NEAR L$ssse3_shortcut L$001x86: mov esi,DWORD [32+esp] mov edi,DWORD [36+esp] sub esp,132 mov eax,DWORD [esi] mov ebx,DWORD [4+esi] mov ecx,DWORD [8+esi] mov edx,DWORD [12+esi] mov DWORD [80+esp],eax mov DWORD [84+esp],ebx mov DWORD [88+esp],ecx mov DWORD [92+esp],edx mov eax,DWORD [16+esi] mov ebx,DWORD [20+esi] mov ecx,DWORD [24+esi] mov edx,DWORD [28+esi] mov DWORD [96+esp],eax mov DWORD [100+esp],ebx mov DWORD [104+esp],ecx mov DWORD [108+esp],edx mov eax,DWORD [edi] mov ebx,DWORD [4+edi] mov ecx,DWORD [8+edi] mov edx,DWORD [12+edi] sub eax,1 mov DWORD [112+esp],eax mov DWORD [116+esp],ebx mov DWORD [120+esp],ecx mov DWORD [124+esp],edx jmp NEAR L$002entry align 16 L$003outer_loop: mov DWORD [156+esp],ebx mov DWORD [152+esp],eax mov DWORD [160+esp],ecx L$002entry: mov eax,1634760805 mov DWORD [4+esp],857760878 mov DWORD [8+esp],2036477234 mov DWORD [12+esp],1797285236 mov ebx,DWORD [84+esp] mov ebp,DWORD [88+esp] mov ecx,DWORD [104+esp] mov esi,DWORD [108+esp] mov edx,DWORD [116+esp] mov edi,DWORD [120+esp] mov DWORD [20+esp],ebx mov DWORD [24+esp],ebp mov DWORD [40+esp],ecx mov DWORD [44+esp],esi mov DWORD [52+esp],edx mov DWORD [56+esp],edi mov ebx,DWORD [92+esp] mov edi,DWORD [124+esp] mov edx,DWORD [112+esp] mov ebp,DWORD [80+esp] mov ecx,DWORD [96+esp] mov esi,DWORD [100+esp] add edx,1 mov DWORD [28+esp],ebx mov DWORD [60+esp],edi mov DWORD [112+esp],edx mov ebx,10 jmp NEAR L$004loop align 16 L$004loop: add eax,ebp mov DWORD [128+esp],ebx mov ebx,ebp xor edx,eax rol edx,16 add ecx,edx xor ebx,ecx mov edi,DWORD [52+esp] rol ebx,12 mov ebp,DWORD [20+esp] add eax,ebx xor edx,eax mov DWORD [esp],eax rol edx,8 mov eax,DWORD [4+esp] add ecx,edx mov DWORD [48+esp],edx xor ebx,ecx add eax,ebp rol ebx,7 xor edi,eax mov DWORD [32+esp],ecx rol edi,16 mov DWORD [16+esp],ebx add esi,edi mov ecx,DWORD [40+esp] xor ebp,esi mov edx,DWORD [56+esp] rol ebp,12 mov ebx,DWORD [24+esp] add eax,ebp xor edi,eax mov DWORD [4+esp],eax rol edi,8 mov eax,DWORD [8+esp] add esi,edi mov DWORD [52+esp],edi xor ebp,esi add eax,ebx rol ebp,7 xor edx,eax mov DWORD [36+esp],esi rol edx,16 mov DWORD [20+esp],ebp add ecx,edx mov esi,DWORD [44+esp] xor ebx,ecx mov edi,DWORD [60+esp] rol ebx,12 mov ebp,DWORD [28+esp] add eax,ebx xor edx,eax mov DWORD [8+esp],eax rol edx,8 mov eax,DWORD [12+esp] add ecx,edx mov DWORD [56+esp],edx xor ebx,ecx add eax,ebp rol ebx,7 xor edi,eax rol edi,16 mov DWORD [24+esp],ebx add esi,edi xor ebp,esi rol ebp,12 mov ebx,DWORD [20+esp] add eax,ebp xor edi,eax mov DWORD [12+esp],eax rol edi,8 mov eax,DWORD [esp] add esi,edi mov edx,edi xor ebp,esi add eax,ebx rol ebp,7 xor edx,eax rol edx,16 mov DWORD [28+esp],ebp add ecx,edx xor ebx,ecx mov edi,DWORD [48+esp] rol ebx,12 mov ebp,DWORD [24+esp] add eax,ebx xor edx,eax mov DWORD [esp],eax rol edx,8 mov eax,DWORD [4+esp] add ecx,edx mov DWORD [60+esp],edx xor ebx,ecx add eax,ebp rol ebx,7 xor edi,eax mov DWORD [40+esp],ecx rol edi,16 mov DWORD [20+esp],ebx add esi,edi mov ecx,DWORD [32+esp] xor ebp,esi mov edx,DWORD [52+esp] rol ebp,12 mov ebx,DWORD [28+esp] add eax,ebp xor edi,eax mov DWORD [4+esp],eax rol edi,8 mov eax,DWORD [8+esp] add esi,edi mov DWORD [48+esp],edi xor ebp,esi add eax,ebx rol ebp,7 xor edx,eax mov DWORD [44+esp],esi rol edx,16 mov DWORD [24+esp],ebp add ecx,edx mov esi,DWORD [36+esp] xor ebx,ecx mov edi,DWORD [56+esp] rol ebx,12 mov ebp,DWORD [16+esp] add eax,ebx xor edx,eax mov DWORD [8+esp],eax rol edx,8 mov eax,DWORD [12+esp] add ecx,edx mov DWORD [52+esp],edx xor ebx,ecx add eax,ebp rol ebx,7 xor edi,eax rol edi,16 mov DWORD [28+esp],ebx add esi,edi xor ebp,esi mov edx,DWORD [48+esp] rol ebp,12 mov ebx,DWORD [128+esp] add eax,ebp xor edi,eax mov DWORD [12+esp],eax rol edi,8 mov eax,DWORD [esp] add esi,edi mov DWORD [56+esp],edi xor ebp,esi rol ebp,7 dec ebx jnz NEAR L$004loop mov ebx,DWORD [160+esp] add eax,1634760805 add ebp,DWORD [80+esp] add ecx,DWORD [96+esp] add esi,DWORD [100+esp] cmp ebx,64 jb NEAR L$005tail mov ebx,DWORD [156+esp] add edx,DWORD [112+esp] add edi,DWORD [120+esp] xor eax,DWORD [ebx] xor ebp,DWORD [16+ebx] mov DWORD [esp],eax mov eax,DWORD [152+esp] xor ecx,DWORD [32+ebx] xor esi,DWORD [36+ebx] xor edx,DWORD [48+ebx] xor edi,DWORD [56+ebx] mov DWORD [16+eax],ebp mov DWORD [32+eax],ecx mov DWORD [36+eax],esi mov DWORD [48+eax],edx mov DWORD [56+eax],edi mov ebp,DWORD [4+esp] mov ecx,DWORD [8+esp] mov esi,DWORD [12+esp] mov edx,DWORD [20+esp] mov edi,DWORD [24+esp] add ebp,857760878 add ecx,2036477234 add esi,1797285236 add edx,DWORD [84+esp] add edi,DWORD [88+esp] xor ebp,DWORD [4+ebx] xor ecx,DWORD [8+ebx] xor esi,DWORD [12+ebx] xor edx,DWORD [20+ebx] xor edi,DWORD [24+ebx] mov DWORD [4+eax],ebp mov DWORD [8+eax],ecx mov DWORD [12+eax],esi mov DWORD [20+eax],edx mov DWORD [24+eax],edi mov ebp,DWORD [28+esp] mov ecx,DWORD [40+esp] mov esi,DWORD [44+esp] mov edx,DWORD [52+esp] mov edi,DWORD [60+esp] add ebp,DWORD [92+esp] add ecx,DWORD [104+esp] add esi,DWORD [108+esp] add edx,DWORD [116+esp] add edi,DWORD [124+esp] xor ebp,DWORD [28+ebx] xor ecx,DWORD [40+ebx] xor esi,DWORD [44+ebx] xor edx,DWORD [52+ebx] xor edi,DWORD [60+ebx] lea ebx,[64+ebx] mov DWORD [28+eax],ebp mov ebp,DWORD [esp] mov DWORD [40+eax],ecx mov ecx,DWORD [160+esp] mov DWORD [44+eax],esi mov DWORD [52+eax],edx mov DWORD [60+eax],edi mov DWORD [eax],ebp lea eax,[64+eax] sub ecx,64 jnz NEAR L$003outer_loop jmp NEAR L$006done L$005tail: add edx,DWORD [112+esp] add edi,DWORD [120+esp] mov DWORD [esp],eax mov DWORD [16+esp],ebp mov DWORD [32+esp],ecx mov DWORD [36+esp],esi mov DWORD [48+esp],edx mov DWORD [56+esp],edi mov ebp,DWORD [4+esp] mov ecx,DWORD [8+esp] mov esi,DWORD [12+esp] mov edx,DWORD [20+esp] mov edi,DWORD [24+esp] add ebp,857760878 add ecx,2036477234 add esi,1797285236 add edx,DWORD [84+esp] add edi,DWORD [88+esp] mov DWORD [4+esp],ebp mov DWORD [8+esp],ecx mov DWORD [12+esp],esi mov DWORD [20+esp],edx mov DWORD [24+esp],edi mov ebp,DWORD [28+esp] mov ecx,DWORD [40+esp] mov esi,DWORD [44+esp] mov edx,DWORD [52+esp] mov edi,DWORD [60+esp] add ebp,DWORD [92+esp] add ecx,DWORD [104+esp] add esi,DWORD [108+esp] add edx,DWORD [116+esp] add edi,DWORD [124+esp] mov DWORD [28+esp],ebp mov ebp,DWORD [156+esp] mov DWORD [40+esp],ecx mov ecx,DWORD [152+esp] mov DWORD [44+esp],esi xor esi,esi mov DWORD [52+esp],edx mov DWORD [60+esp],edi xor eax,eax xor edx,edx L$007tail_loop: mov al,BYTE [ebp*1+esi] mov dl,BYTE [esi*1+esp] lea esi,[1+esi] xor al,dl mov BYTE [esi*1+ecx-1],al dec ebx jnz NEAR L$007tail_loop L$006done: add esp,132 L$000no_data: pop edi pop esi pop ebx pop ebp ret global _ChaCha20_ssse3 align 16 _ChaCha20_ssse3: L$_ChaCha20_ssse3_begin: push ebp push ebx push esi push edi L$ssse3_shortcut: mov edi,DWORD [20+esp] mov esi,DWORD [24+esp] mov ecx,DWORD [28+esp] mov edx,DWORD [32+esp] mov ebx,DWORD [36+esp] mov ebp,esp sub esp,524 and esp,-64 mov DWORD [512+esp],ebp lea eax,[(L$ssse3_data-L$pic_point)+eax] movdqu xmm3,[ebx] cmp ecx,256 jb NEAR L$0081x mov DWORD [516+esp],edx mov DWORD [520+esp],ebx sub ecx,256 lea ebp,[384+esp] movdqu xmm7,[edx] pshufd xmm0,xmm3,0 pshufd xmm1,xmm3,85 pshufd xmm2,xmm3,170 pshufd xmm3,xmm3,255 paddd xmm0,[48+eax] pshufd xmm4,xmm7,0 pshufd xmm5,xmm7,85 psubd xmm0,[64+eax] pshufd xmm6,xmm7,170 pshufd xmm7,xmm7,255 movdqa [64+ebp],xmm0 movdqa [80+ebp],xmm1 movdqa [96+ebp],xmm2 movdqa [112+ebp],xmm3 movdqu xmm3,[16+edx] movdqa [ebp-64],xmm4 movdqa [ebp-48],xmm5 movdqa [ebp-32],xmm6 movdqa [ebp-16],xmm7 movdqa xmm7,[32+eax] lea ebx,[128+esp] pshufd xmm0,xmm3,0 pshufd xmm1,xmm3,85 pshufd xmm2,xmm3,170 pshufd xmm3,xmm3,255 pshufd xmm4,xmm7,0 pshufd xmm5,xmm7,85 pshufd xmm6,xmm7,170 pshufd xmm7,xmm7,255 movdqa [ebp],xmm0 movdqa [16+ebp],xmm1 movdqa [32+ebp],xmm2 movdqa [48+ebp],xmm3 movdqa [ebp-128],xmm4 movdqa [ebp-112],xmm5 movdqa [ebp-96],xmm6 movdqa [ebp-80],xmm7 lea esi,[128+esi] lea edi,[128+edi] jmp NEAR L$009outer_loop align 16 L$009outer_loop: movdqa xmm1,[ebp-112] movdqa xmm2,[ebp-96] movdqa xmm3,[ebp-80] movdqa xmm5,[ebp-48] movdqa xmm6,[ebp-32] movdqa xmm7,[ebp-16] movdqa [ebx-112],xmm1 movdqa [ebx-96],xmm2 movdqa [ebx-80],xmm3 movdqa [ebx-48],xmm5 movdqa [ebx-32],xmm6 movdqa [ebx-16],xmm7 movdqa xmm2,[32+ebp] movdqa xmm3,[48+ebp] movdqa xmm4,[64+ebp] movdqa xmm5,[80+ebp] movdqa xmm6,[96+ebp] movdqa xmm7,[112+ebp] paddd xmm4,[64+eax] movdqa [32+ebx],xmm2 movdqa [48+ebx],xmm3 movdqa [64+ebx],xmm4 movdqa [80+ebx],xmm5 movdqa [96+ebx],xmm6 movdqa [112+ebx],xmm7 movdqa [64+ebp],xmm4 movdqa xmm0,[ebp-128] movdqa xmm6,xmm4 movdqa xmm3,[ebp-64] movdqa xmm4,[ebp] movdqa xmm5,[16+ebp] mov edx,10 nop align 16 L$010loop: paddd xmm0,xmm3 movdqa xmm2,xmm3 pxor xmm6,xmm0 pshufb xmm6,[eax] paddd xmm4,xmm6 pxor xmm2,xmm4 movdqa xmm3,[ebx-48] movdqa xmm1,xmm2 pslld xmm2,12 psrld xmm1,20 por xmm2,xmm1 movdqa xmm1,[ebx-112] paddd xmm0,xmm2 movdqa xmm7,[80+ebx] pxor xmm6,xmm0 movdqa [ebx-128],xmm0 pshufb xmm6,[16+eax] paddd xmm4,xmm6 movdqa [64+ebx],xmm6 pxor xmm2,xmm4 paddd xmm1,xmm3 movdqa xmm0,xmm2 pslld xmm2,7 psrld xmm0,25 pxor xmm7,xmm1 por xmm2,xmm0 movdqa [ebx],xmm4 pshufb xmm7,[eax] movdqa [ebx-64],xmm2 paddd xmm5,xmm7 movdqa xmm4,[32+ebx] pxor xmm3,xmm5 movdqa xmm2,[ebx-32] movdqa xmm0,xmm3 pslld xmm3,12 psrld xmm0,20 por xmm3,xmm0 movdqa xmm0,[ebx-96] paddd xmm1,xmm3 movdqa xmm6,[96+ebx] pxor xmm7,xmm1 movdqa [ebx-112],xmm1 pshufb xmm7,[16+eax] paddd xmm5,xmm7 movdqa [80+ebx],xmm7 pxor xmm3,xmm5 paddd xmm0,xmm2 movdqa xmm1,xmm3 pslld xmm3,7 psrld xmm1,25 pxor xmm6,xmm0 por xmm3,xmm1 movdqa [16+ebx],xmm5 pshufb xmm6,[eax] movdqa [ebx-48],xmm3 paddd xmm4,xmm6 movdqa xmm5,[48+ebx] pxor xmm2,xmm4 movdqa xmm3,[ebx-16] movdqa xmm1,xmm2 pslld xmm2,12 psrld xmm1,20 por xmm2,xmm1 movdqa xmm1,[ebx-80] paddd xmm0,xmm2 movdqa xmm7,[112+ebx] pxor xmm6,xmm0 movdqa [ebx-96],xmm0 pshufb xmm6,[16+eax] paddd xmm4,xmm6 movdqa [96+ebx],xmm6 pxor xmm2,xmm4 paddd xmm1,xmm3 movdqa xmm0,xmm2 pslld xmm2,7 psrld xmm0,25 pxor xmm7,xmm1 por xmm2,xmm0 pshufb xmm7,[eax] movdqa [ebx-32],xmm2 paddd xmm5,xmm7 pxor xmm3,xmm5 movdqa xmm2,[ebx-48] movdqa xmm0,xmm3 pslld xmm3,12 psrld xmm0,20 por xmm3,xmm0 movdqa xmm0,[ebx-128] paddd xmm1,xmm3 pxor xmm7,xmm1 movdqa [ebx-80],xmm1 pshufb xmm7,[16+eax] paddd xmm5,xmm7 movdqa xmm6,xmm7 pxor xmm3,xmm5 paddd xmm0,xmm2 movdqa xmm1,xmm3 pslld xmm3,7 psrld xmm1,25 pxor xmm6,xmm0 por xmm3,xmm1 pshufb xmm6,[eax] movdqa [ebx-16],xmm3 paddd xmm4,xmm6 pxor xmm2,xmm4 movdqa xmm3,[ebx-32] movdqa xmm1,xmm2 pslld xmm2,12 psrld xmm1,20 por xmm2,xmm1 movdqa xmm1,[ebx-112] paddd xmm0,xmm2 movdqa xmm7,[64+ebx] pxor xmm6,xmm0 movdqa [ebx-128],xmm0 pshufb xmm6,[16+eax] paddd xmm4,xmm6 movdqa [112+ebx],xmm6 pxor xmm2,xmm4 paddd xmm1,xmm3 movdqa xmm0,xmm2 pslld xmm2,7 psrld xmm0,25 pxor xmm7,xmm1 por xmm2,xmm0 movdqa [32+ebx],xmm4 pshufb xmm7,[eax] movdqa [ebx-48],xmm2 paddd xmm5,xmm7 movdqa xmm4,[ebx] pxor xmm3,xmm5 movdqa xmm2,[ebx-16] movdqa xmm0,xmm3 pslld xmm3,12 psrld xmm0,20 por xmm3,xmm0 movdqa xmm0,[ebx-96] paddd xmm1,xmm3 movdqa xmm6,[80+ebx] pxor xmm7,xmm1 movdqa [ebx-112],xmm1 pshufb xmm7,[16+eax] paddd xmm5,xmm7 movdqa [64+ebx],xmm7 pxor xmm3,xmm5 paddd xmm0,xmm2 movdqa xmm1,xmm3 pslld xmm3,7 psrld xmm1,25 pxor xmm6,xmm0 por xmm3,xmm1 movdqa [48+ebx],xmm5 pshufb xmm6,[eax] movdqa [ebx-32],xmm3 paddd xmm4,xmm6 movdqa xmm5,[16+ebx] pxor xmm2,xmm4 movdqa xmm3,[ebx-64] movdqa xmm1,xmm2 pslld xmm2,12 psrld xmm1,20 por xmm2,xmm1 movdqa xmm1,[ebx-80] paddd xmm0,xmm2 movdqa xmm7,[96+ebx] pxor xmm6,xmm0 movdqa [ebx-96],xmm0 pshufb xmm6,[16+eax] paddd xmm4,xmm6 movdqa [80+ebx],xmm6 pxor xmm2,xmm4 paddd xmm1,xmm3 movdqa xmm0,xmm2 pslld xmm2,7 psrld xmm0,25 pxor xmm7,xmm1 por xmm2,xmm0 pshufb xmm7,[eax] movdqa [ebx-16],xmm2 paddd xmm5,xmm7 pxor xmm3,xmm5 movdqa xmm0,xmm3 pslld xmm3,12 psrld xmm0,20 por xmm3,xmm0 movdqa xmm0,[ebx-128] paddd xmm1,xmm3 movdqa xmm6,[64+ebx] pxor xmm7,xmm1 movdqa [ebx-80],xmm1 pshufb xmm7,[16+eax] paddd xmm5,xmm7 movdqa [96+ebx],xmm7 pxor xmm3,xmm5 movdqa xmm1,xmm3 pslld xmm3,7 psrld xmm1,25 por xmm3,xmm1 dec edx jnz NEAR L$010loop movdqa [ebx-64],xmm3 movdqa [ebx],xmm4 movdqa [16+ebx],xmm5 movdqa [64+ebx],xmm6 movdqa [96+ebx],xmm7 movdqa xmm1,[ebx-112] movdqa xmm2,[ebx-96] movdqa xmm3,[ebx-80] paddd xmm0,[ebp-128] paddd xmm1,[ebp-112] paddd xmm2,[ebp-96] paddd xmm3,[ebp-80] movdqa xmm6,xmm0 punpckldq xmm0,xmm1 movdqa xmm7,xmm2 punpckldq xmm2,xmm3 punpckhdq xmm6,xmm1 punpckhdq xmm7,xmm3 movdqa xmm1,xmm0 punpcklqdq xmm0,xmm2 movdqa xmm3,xmm6 punpcklqdq xmm6,xmm7 punpckhqdq xmm1,xmm2 punpckhqdq xmm3,xmm7 movdqu xmm4,[esi-128] movdqu xmm5,[esi-64] movdqu xmm2,[esi] movdqu xmm7,[64+esi] lea esi,[16+esi] pxor xmm4,xmm0 movdqa xmm0,[ebx-64] pxor xmm5,xmm1 movdqa xmm1,[ebx-48] pxor xmm6,xmm2 movdqa xmm2,[ebx-32] pxor xmm7,xmm3 movdqa xmm3,[ebx-16] movdqu [edi-128],xmm4 movdqu [edi-64],xmm5 movdqu [edi],xmm6 movdqu [64+edi],xmm7 lea edi,[16+edi] paddd xmm0,[ebp-64] paddd xmm1,[ebp-48] paddd xmm2,[ebp-32] paddd xmm3,[ebp-16] movdqa xmm6,xmm0 punpckldq xmm0,xmm1 movdqa xmm7,xmm2 punpckldq xmm2,xmm3 punpckhdq xmm6,xmm1 punpckhdq xmm7,xmm3 movdqa xmm1,xmm0 punpcklqdq xmm0,xmm2 movdqa xmm3,xmm6 punpcklqdq xmm6,xmm7 punpckhqdq xmm1,xmm2 punpckhqdq xmm3,xmm7 movdqu xmm4,[esi-128] movdqu xmm5,[esi-64] movdqu xmm2,[esi] movdqu xmm7,[64+esi] lea esi,[16+esi] pxor xmm4,xmm0 movdqa xmm0,[ebx] pxor xmm5,xmm1 movdqa xmm1,[16+ebx] pxor xmm6,xmm2 movdqa xmm2,[32+ebx] pxor xmm7,xmm3 movdqa xmm3,[48+ebx] movdqu [edi-128],xmm4 movdqu [edi-64],xmm5 movdqu [edi],xmm6 movdqu [64+edi],xmm7 lea edi,[16+edi] paddd xmm0,[ebp] paddd xmm1,[16+ebp] paddd xmm2,[32+ebp] paddd xmm3,[48+ebp] movdqa xmm6,xmm0 punpckldq xmm0,xmm1 movdqa xmm7,xmm2 punpckldq xmm2,xmm3 punpckhdq xmm6,xmm1 punpckhdq xmm7,xmm3 movdqa xmm1,xmm0 punpcklqdq xmm0,xmm2 movdqa xmm3,xmm6 punpcklqdq xmm6,xmm7 punpckhqdq xmm1,xmm2 punpckhqdq xmm3,xmm7 movdqu xmm4,[esi-128] movdqu xmm5,[esi-64] movdqu xmm2,[esi] movdqu xmm7,[64+esi] lea esi,[16+esi] pxor xmm4,xmm0 movdqa xmm0,[64+ebx] pxor xmm5,xmm1 movdqa xmm1,[80+ebx] pxor xmm6,xmm2 movdqa xmm2,[96+ebx] pxor xmm7,xmm3 movdqa xmm3,[112+ebx] movdqu [edi-128],xmm4 movdqu [edi-64],xmm5 movdqu [edi],xmm6 movdqu [64+edi],xmm7 lea edi,[16+edi] paddd xmm0,[64+ebp] paddd xmm1,[80+ebp] paddd xmm2,[96+ebp] paddd xmm3,[112+ebp] movdqa xmm6,xmm0 punpckldq xmm0,xmm1 movdqa xmm7,xmm2 punpckldq xmm2,xmm3 punpckhdq xmm6,xmm1 punpckhdq xmm7,xmm3 movdqa xmm1,xmm0 punpcklqdq xmm0,xmm2 movdqa xmm3,xmm6 punpcklqdq xmm6,xmm7 punpckhqdq xmm1,xmm2 punpckhqdq xmm3,xmm7 movdqu xmm4,[esi-128] movdqu xmm5,[esi-64] movdqu xmm2,[esi] movdqu xmm7,[64+esi] lea esi,[208+esi] pxor xmm4,xmm0 pxor xmm5,xmm1 pxor xmm6,xmm2 pxor xmm7,xmm3 movdqu [edi-128],xmm4 movdqu [edi-64],xmm5 movdqu [edi],xmm6 movdqu [64+edi],xmm7 lea edi,[208+edi] sub ecx,256 jnc NEAR L$009outer_loop add ecx,256 jz NEAR L$011done mov ebx,DWORD [520+esp] lea esi,[esi-128] mov edx,DWORD [516+esp] lea edi,[edi-128] movd xmm2,DWORD [64+ebp] movdqu xmm3,[ebx] paddd xmm2,[96+eax] pand xmm3,[112+eax] por xmm3,xmm2 L$0081x: movdqa xmm0,[32+eax] movdqu xmm1,[edx] movdqu xmm2,[16+edx] movdqa xmm6,[eax] movdqa xmm7,[16+eax] mov DWORD [48+esp],ebp movdqa [esp],xmm0 movdqa [16+esp],xmm1 movdqa [32+esp],xmm2 movdqa [48+esp],xmm3 mov edx,10 jmp NEAR L$012loop1x align 16 L$013outer1x: movdqa xmm3,[80+eax] movdqa xmm0,[esp] movdqa xmm1,[16+esp] movdqa xmm2,[32+esp] paddd xmm3,[48+esp] mov edx,10 movdqa [48+esp],xmm3 jmp NEAR L$012loop1x align 16 L$012loop1x: paddd xmm0,xmm1 pxor xmm3,xmm0 db 102,15,56,0,222 paddd xmm2,xmm3 pxor xmm1,xmm2 movdqa xmm4,xmm1 psrld xmm1,20 pslld xmm4,12 por xmm1,xmm4 paddd xmm0,xmm1 pxor xmm3,xmm0 db 102,15,56,0,223 paddd xmm2,xmm3 pxor xmm1,xmm2 movdqa xmm4,xmm1 psrld xmm1,25 pslld xmm4,7 por xmm1,xmm4 pshufd xmm2,xmm2,78 pshufd xmm1,xmm1,57 pshufd xmm3,xmm3,147 nop paddd xmm0,xmm1 pxor xmm3,xmm0 db 102,15,56,0,222 paddd xmm2,xmm3 pxor xmm1,xmm2 movdqa xmm4,xmm1 psrld xmm1,20 pslld xmm4,12 por xmm1,xmm4 paddd xmm0,xmm1 pxor xmm3,xmm0 db 102,15,56,0,223 paddd xmm2,xmm3 pxor xmm1,xmm2 movdqa xmm4,xmm1 psrld xmm1,25 pslld xmm4,7 por xmm1,xmm4 pshufd xmm2,xmm2,78 pshufd xmm1,xmm1,147 pshufd xmm3,xmm3,57 dec edx jnz NEAR L$012loop1x paddd xmm0,[esp] paddd xmm1,[16+esp] paddd xmm2,[32+esp] paddd xmm3,[48+esp] cmp ecx,64 jb NEAR L$014tail movdqu xmm4,[esi] movdqu xmm5,[16+esi] pxor xmm0,xmm4 movdqu xmm4,[32+esi] pxor xmm1,xmm5 movdqu xmm5,[48+esi] pxor xmm2,xmm4 pxor xmm3,xmm5 lea esi,[64+esi] movdqu [edi],xmm0 movdqu [16+edi],xmm1 movdqu [32+edi],xmm2 movdqu [48+edi],xmm3 lea edi,[64+edi] sub ecx,64 jnz NEAR L$013outer1x jmp NEAR L$011done L$014tail: movdqa [esp],xmm0 movdqa [16+esp],xmm1 movdqa [32+esp],xmm2 movdqa [48+esp],xmm3 xor eax,eax xor edx,edx xor ebp,ebp L$015tail_loop: mov al,BYTE [ebp*1+esp] mov dl,BYTE [ebp*1+esi] lea ebp,[1+ebp] xor al,dl mov BYTE [ebp*1+edi-1],al dec ecx jnz NEAR L$015tail_loop L$011done: mov esp,DWORD [512+esp] pop edi pop esi pop ebx pop ebp ret align 64 L$ssse3_data: db 2,3,0,1,6,7,4,5,10,11,8,9,14,15,12,13 db 3,0,1,2,7,4,5,6,11,8,9,10,15,12,13,14 dd 1634760805,857760878,2036477234,1797285236 dd 0,1,2,3 dd 4,4,4,4 dd 1,0,0,0 dd 4,0,0,0 dd 0,-1,-1,-1 align 64 db 67,104,97,67,104,97,50,48,32,102,111,114,32,120,56,54 db 44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32 db 60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111 db 114,103,62,0 segment .bss common _OPENSSL_ia32cap_P 16
20.339139
77
0.670445
fa78e37ed6f39d84f12d3d73d11ce323fda6312f
622
asm
Assembly
programs/oeis/053/A053565.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/053/A053565.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/053/A053565.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A053565: a(n) = 2^(n-1)*(3*n-4). ; -2,-1,4,20,64,176,448,1088,2560,5888,13312,29696,65536,143360,311296,671744,1441792,3080192,6553600,13893632,29360128,61865984,130023424,272629760,570425344,1191182336,2483027968,5167382528,10737418240,22280142848,46170898432,95563022336,197568495616,408021893120,841813590016,1735166787584,3573412790272,7352984010752,15118284881920,31061203484672,63771674411008,130841883705344,268280837177344,549755813888000,1125899906842624,2304576371818496,4714705859903488 mov $1,$0 sub $0,1 lpb $0 add $1,$0 sub $0,1 mul $1,2 lpe sub $1,2 mov $0,$1 add $0,$1 mul $0,2 mov $1,$0 div $1,4
36.588235
464
0.789389
133f26a3280044f5fea945bae777ae58d7258b71
473
asm
Assembly
programs/oeis/070/A070846.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/070/A070846.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/070/A070846.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A070846: Smallest prime == 1 (mod 2n). ; 3,5,7,17,11,13,29,17,19,41,23,73,53,29,31,97,103,37,191,41,43,89,47,97,101,53,109,113,59,61,311,193,67,137,71,73,149,229,79,241,83,337,173,89,181,277,283,97,197,101,103,313,107,109,331,113,229,233,709,241,367,373,127,257,131,397,269,137,139,281,569,433,293,149,151,457,463,157,317,641,163,821,167,337,1021,173,349,353,179,181,547,1289,373,941,191,193,389,197,199,401 mul $0,2 add $0,1 seq $0,34694 ; Smallest prime == 1 (mod n).
67.571429
368
0.697674
cf8c16cf6437572aba125c08a441c36f9765e4a1
133
asm
Assembly
test/demangle-cases/bug-1468b.asm
OfekShilon/compiler-explorer
7ee2ab17f29470575443bd67e5685ac54ce76158
[ "BSD-2-Clause" ]
4,668
2017-01-02T19:35:10.000Z
2020-05-16T03:18:45.000Z
test/demangle-cases/bug-1468b.asm
OfekShilon/compiler-explorer
7ee2ab17f29470575443bd67e5685ac54ce76158
[ "BSD-2-Clause" ]
1,750
2017-01-02T19:37:06.000Z
2020-05-16T14:54:29.000Z
test/demangle-cases/bug-1468b.asm
OfekShilon/compiler-explorer
7ee2ab17f29470575443bd67e5685ac54ce76158
[ "BSD-2-Clause" ]
620
2017-01-03T00:29:17.000Z
2020-05-14T09:27:47.000Z
_Z1gv: subq $8, %rsp call *_ZN3foo3bazE+8(%rip) xorl %eax, %eax addq $8, %rsp ret
22.166667
37
0.406015
070e4768d40aa3bcad39eea0e954b80dcb361982
650
asm
Assembly
programs/oeis/097/A097945.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/097/A097945.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/097/A097945.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A097945: a(n) = mu(n)*phi(n) where mu(n) is the Mobius function (A008683) and phi(n) is the Euler totient function (A000010). ; 1,-1,-2,0,-4,2,-6,0,0,4,-10,0,-12,6,8,0,-16,0,-18,0,12,10,-22,0,0,12,0,0,-28,-8,-30,0,20,16,24,0,-36,18,24,0,-40,-12,-42,0,0,22,-46,0,0,0,32,0,-52,0,40,0,36,28,-58,0,-60,30,0,0,48,-20,-66,0,44,-24,-70,0,-72,36,0,0,60,-24,-78,0,0,40,-82,0,64,42,56,0,-88,0,72,0,60,46,72,0,-96,0,0,0 mov $1,$0 seq $0,10 ; Euler totient function phi(n): count numbers <= n and prime to n. seq $1,8683 ; Möbius (or Moebius) function mu(n). mu(1) = 1; mu(n) = (-1)^k if n is the product of k different primes; otherwise mu(n) = 0. mul $0,$1
81.25
282
0.604615
ea8c18341ab1092a1a91582b046f036a6d96fe46
14,274
asm
Assembly
src/presets/14ice_menu.asm
rioscrodrigo/sm_practice_hack
a52823862ba1880b603029df4adc5afc3df5a171
[ "Unlicense" ]
null
null
null
src/presets/14ice_menu.asm
rioscrodrigo/sm_practice_hack
a52823862ba1880b603029df4adc5afc3df5a171
[ "Unlicense" ]
null
null
null
src/presets/14ice_menu.asm
rioscrodrigo/sm_practice_hack
a52823862ba1880b603029df4adc5afc3df5a171
[ "Unlicense" ]
null
null
null
; PresetsMenu14ice: ; dw #presets_goto_14ice_crateria ; dw #presets_goto_14ice_brinstar ; dw #presets_goto_14ice_wrecked_ship ; dw #presets_goto_14ice_brinstar_revisit ; dw #presets_goto_14ice_upper_norfair ; dw #presets_goto_14ice_lower_norfair ; dw #presets_goto_14ice_maridia ; dw #presets_goto_14ice_tourian ; dw #$0000 ; %cm_header("PRESETS FOR 14 ICE") ; presets_goto_14ice_crateria: ; %cm_submenu("Crateria", #presets_submenu_14ice_crateria) ; presets_goto_14ice_brinstar: ; %cm_submenu("Brinstar", #presets_submenu_14ice_brinstar) ; presets_goto_14ice_wrecked_ship: ; %cm_submenu("Wrecked Ship", #presets_submenu_14ice_wrecked_ship) ; presets_goto_14ice_brinstar_revisit: ; %cm_submenu("Brinstar Revisit", #presets_submenu_14ice_brinstar_revisit) ; presets_goto_14ice_upper_norfair: ; %cm_submenu("Upper Norfair", #presets_submenu_14ice_upper_norfair) ; presets_goto_14ice_lower_norfair: ; %cm_submenu("Lower Norfair", #presets_submenu_14ice_lower_norfair) ; presets_goto_14ice_maridia: ; %cm_submenu("Maridia", #presets_submenu_14ice_maridia) ; presets_goto_14ice_tourian: ; %cm_submenu("Tourian", #presets_submenu_14ice_tourian) ; presets_submenu_14ice_crateria: ; dw #presets_14ice_crateria_ceres_elevator ; dw #presets_14ice_crateria_ceres_last_3_rooms ; dw #presets_14ice_crateria_ship ; dw #presets_14ice_crateria_morph ; dw #presets_14ice_crateria_climb ; dw #presets_14ice_crateria_bomb_torizo ; dw #presets_14ice_crateria_terminator ; dw #$0000 ; %cm_header("CRATERIA") ; presets_submenu_14ice_brinstar: ; dw #presets_14ice_brinstar_green_brinstar_elevator ; dw #presets_14ice_brinstar_big_pink ; dw #presets_14ice_brinstar_red_tower ; dw #presets_14ice_brinstar_hellway ; dw #presets_14ice_brinstar_caterpillar_room ; dw #presets_14ice_brinstar_leaving_power_bombs ; dw #presets_14ice_brinstar_kihunter_room ; dw #presets_14ice_brinstar_moat ; dw #presets_14ice_brinstar_ocean ; dw #$0000 ; %cm_header("BRINSTAR") ; presets_submenu_14ice_wrecked_ship: ; dw #presets_14ice_wrecked_ship_wrecked_ship_shaft ; dw #presets_14ice_wrecked_ship_phantoon ; dw #presets_14ice_wrecked_ship_wrecked_ship_supers ; dw #presets_14ice_wrecked_ship_shaft_revisit ; dw #presets_14ice_wrecked_ship_attic ; dw #presets_14ice_wrecked_ship_bowling_alley_path ; dw #presets_14ice_wrecked_ship_bowling_alley ; dw #presets_14ice_wrecked_ship_leaving_gravity ; dw #$0000 ; %cm_header("WRECKED SHIP") ; presets_submenu_14ice_brinstar_revisit: ; dw #presets_14ice_brinstar_revisit_red_tower_elevator ; dw #presets_14ice_brinstar_revisit_breaking_tube ; dw #presets_14ice_brinstar_revisit_entering_kraids_lair ; dw #presets_14ice_brinstar_revisit_baby_kraid_entering ; dw #presets_14ice_brinstar_revisit_kraid ; dw #presets_14ice_brinstar_revisit_baby_kraid_exiting ; dw #presets_14ice_brinstar_revisit_kraid_etank ; dw #$0000 ; %cm_header("BRINSTAR REVISIT") ; presets_submenu_14ice_upper_norfair: ; dw #presets_14ice_upper_norfair_ice_beam ; dw #presets_14ice_upper_norfair_ice_escape ; dw #presets_14ice_upper_norfair_precathedral ; dw #presets_14ice_upper_norfair_bubble_mountain ; dw #presets_14ice_upper_norfair_magdollite_room ; dw #presets_14ice_upper_norfair_kronic_boost ; dw #$0000 ; %cm_header("UPPER NORFAIR") ; presets_submenu_14ice_lower_norfair: ; dw #presets_14ice_lower_norfair_ln_main_hall ; dw #presets_14ice_lower_norfair_pillars ; dw #presets_14ice_lower_norfair_worst_room ; dw #presets_14ice_lower_norfair_amphitheatre ; dw #presets_14ice_lower_norfair_kihunter_stairs ; dw #presets_14ice_lower_norfair_wasteland ; dw #presets_14ice_lower_norfair_metal_pirates ; dw #presets_14ice_lower_norfair_ridley ; dw #presets_14ice_lower_norfair_leaving_ridley ; dw #presets_14ice_lower_norfair_wasteland_revisit ; dw #presets_14ice_lower_norfair_kihunter_stairs_revisit ; dw #presets_14ice_lower_norfair_fireflea_room ; dw #presets_14ice_lower_norfair_three_musketeers ; dw #presets_14ice_lower_norfair_bubble_mountain_revisit ; dw #$0000 ; %cm_header("LOWER NORFAIR") ; presets_submenu_14ice_maridia: ; dw #presets_14ice_maridia_entering_maridia ; dw #presets_14ice_maridia_mt_everest ; dw #presets_14ice_maridia_ice_clip ; dw #presets_14ice_maridia_botwoon ; dw #presets_14ice_maridia_botwoon_etank_room ; dw #presets_14ice_maridia_colosseum ; dw #presets_14ice_maridia_draygon ; dw #presets_14ice_maridia_colosseum_revisit ; dw #presets_14ice_maridia_reverse_botwoon ; dw #presets_14ice_maridia_aqueduct_revisit ; dw #presets_14ice_maridia_everest_revisit ; dw #presets_14ice_maridia_red_tower_green_gate ; dw #$0000 ; %cm_header("MARIDIA") ; presets_submenu_14ice_tourian: ; dw #presets_14ice_tourian_kihunter_room_revisit ; dw #presets_14ice_tourian_terminator_revisit ; dw #presets_14ice_tourian_pirate_shaft_revisit ; dw #presets_14ice_tourian_metroids_1 ; dw #presets_14ice_tourian_metroids_2 ; dw #presets_14ice_tourian_metroids_3 ; dw #presets_14ice_tourian_metroids_4 ; dw #presets_14ice_tourian_baby ; dw #presets_14ice_tourian_zeb_skip ; dw #presets_14ice_tourian_escape_room_3 ; dw #presets_14ice_tourian_escape_parlor ; dw #$0000 ; %cm_header("TOURIAN") ; Crateria ; presets_14ice_crateria_ceres_elevator: ; %cm_preset("Ceres Elevator", #preset_14ice_crateria_ceres_elevator) ; presets_14ice_crateria_ceres_last_3_rooms: ; %cm_preset("Ceres Last 3 Rooms", #preset_14ice_crateria_ceres_last_3_rooms) ; presets_14ice_crateria_ship: ; %cm_preset("Ship", #preset_14ice_crateria_ship) ; presets_14ice_crateria_morph: ; %cm_preset("Morph", #preset_14ice_crateria_morph) ; presets_14ice_crateria_climb: ; %cm_preset("Climb", #preset_14ice_crateria_climb) ; presets_14ice_crateria_bomb_torizo: ; %cm_preset("Bomb Torizo", #preset_14ice_crateria_bomb_torizo) ; presets_14ice_crateria_terminator: ; %cm_preset("Terminator", #preset_14ice_crateria_terminator) ; Brinstar ; presets_14ice_brinstar_green_brinstar_elevator: ; %cm_preset("Green Brinstar Elevator", #preset_14ice_brinstar_green_brinstar_elevator) ; presets_14ice_brinstar_big_pink: ; %cm_preset("Big Pink", #preset_14ice_brinstar_big_pink) ; presets_14ice_brinstar_red_tower: ; %cm_preset("Red Tower", #preset_14ice_brinstar_red_tower) ; presets_14ice_brinstar_hellway: ; %cm_preset("Hellway", #preset_14ice_brinstar_hellway) ; presets_14ice_brinstar_caterpillar_room: ; %cm_preset("Caterpillar Room", #preset_14ice_brinstar_caterpillar_room) ; presets_14ice_brinstar_leaving_power_bombs: ; %cm_preset("Leaving Power Bombs", #preset_14ice_brinstar_leaving_power_bombs) ; presets_14ice_brinstar_kihunter_room: ; %cm_preset("Kihunter Room", #preset_14ice_brinstar_kihunter_room) ; presets_14ice_brinstar_moat: ; %cm_preset("Moat", #preset_14ice_brinstar_moat) ; presets_14ice_brinstar_ocean: ; %cm_preset("Ocean", #preset_14ice_brinstar_ocean) ; Wrecked Ship ; presets_14ice_wrecked_ship_wrecked_ship_shaft: ; %cm_preset("Wrecked Ship Shaft", #preset_14ice_wrecked_ship_wrecked_ship_shaft) ; presets_14ice_wrecked_ship_phantoon: ; %cm_preset("Phantoon", #preset_14ice_wrecked_ship_phantoon) ; presets_14ice_wrecked_ship_wrecked_ship_supers: ; %cm_preset("Wrecked Ship Supers", #preset_14ice_wrecked_ship_wrecked_ship_supers) ; presets_14ice_wrecked_ship_shaft_revisit: ; %cm_preset("Shaft Revisit", #preset_14ice_wrecked_ship_shaft_revisit) ; presets_14ice_wrecked_ship_attic: ; %cm_preset("Attic", #preset_14ice_wrecked_ship_attic) ; presets_14ice_wrecked_ship_bowling_alley_path: ; %cm_preset("Bowling Alley Path", #preset_14ice_wrecked_ship_bowling_alley_path) ; presets_14ice_wrecked_ship_bowling_alley: ; %cm_preset("Bowling Alley", #preset_14ice_wrecked_ship_bowling_alley) ; presets_14ice_wrecked_ship_leaving_gravity: ; %cm_preset("Leaving Gravity", #preset_14ice_wrecked_ship_leaving_gravity) ; Brinstar Revisit ; presets_14ice_brinstar_revisit_red_tower_elevator: ; %cm_preset("Red Tower Elevator", #preset_14ice_brinstar_revisit_red_tower_elevator) ; presets_14ice_brinstar_revisit_breaking_tube: ; %cm_preset("Breaking Tube", #preset_14ice_brinstar_revisit_breaking_tube) ; presets_14ice_brinstar_revisit_entering_kraids_lair: ; %cm_preset("Entering Kraids Lair", #preset_14ice_brinstar_revisit_entering_kraids_lair) ; presets_14ice_brinstar_revisit_baby_kraid_entering: ; %cm_preset("Baby Kraid (Entering)", #preset_14ice_brinstar_revisit_baby_kraid_entering) ; presets_14ice_brinstar_revisit_kraid: ; %cm_preset("Kraid", #preset_14ice_brinstar_revisit_kraid) ; presets_14ice_brinstar_revisit_baby_kraid_exiting: ; %cm_preset("Baby Kraid (Exiting)", #preset_14ice_brinstar_revisit_baby_kraid_exiting) ; presets_14ice_brinstar_revisit_kraid_etank: ; %cm_preset("Kraid E-tank", #preset_14ice_brinstar_revisit_kraid_etank) ; Upper Norfair ; presets_14ice_upper_norfair_ice_beam: ; %cm_preset("Ice Beam", #preset_14ice_upper_norfair_ice_beam) ; presets_14ice_upper_norfair_ice_escape: ; %cm_preset("Ice Escape", #preset_14ice_upper_norfair_ice_escape) ; presets_14ice_upper_norfair_precathedral: ; %cm_preset("Pre-Cathedral", #preset_14ice_upper_norfair_precathedral) ; presets_14ice_upper_norfair_bubble_mountain: ; %cm_preset("Bubble Mountain", #preset_14ice_upper_norfair_bubble_mountain) ; presets_14ice_upper_norfair_magdollite_room: ; %cm_preset("Magdollite Room", #preset_14ice_upper_norfair_magdollite_room) ; presets_14ice_upper_norfair_kronic_boost: ; %cm_preset("Kronic Boost", #preset_14ice_upper_norfair_kronic_boost) ; Lower Norfair ; presets_14ice_lower_norfair_ln_main_hall: ; %cm_preset("LN Main Hall", #preset_14ice_lower_norfair_ln_main_hall) ; presets_14ice_lower_norfair_pillars: ; %cm_preset("Pillars", #preset_14ice_lower_norfair_pillars) ; presets_14ice_lower_norfair_worst_room: ; %cm_preset("Worst Room", #preset_14ice_lower_norfair_worst_room) ; presets_14ice_lower_norfair_amphitheatre: ; %cm_preset("Amphitheatre", #preset_14ice_lower_norfair_amphitheatre) ; presets_14ice_lower_norfair_kihunter_stairs: ; %cm_preset("Kihunter Stairs", #preset_14ice_lower_norfair_kihunter_stairs) ; presets_14ice_lower_norfair_wasteland: ; %cm_preset("Wasteland", #preset_14ice_lower_norfair_wasteland) ; presets_14ice_lower_norfair_metal_pirates: ; %cm_preset("Metal Pirates", #preset_14ice_lower_norfair_metal_pirates) ; presets_14ice_lower_norfair_ridley: ; %cm_preset("Ridley", #preset_14ice_lower_norfair_ridley) ; presets_14ice_lower_norfair_leaving_ridley: ; %cm_preset("Leaving Ridley", #preset_14ice_lower_norfair_leaving_ridley) ; presets_14ice_lower_norfair_wasteland_revisit: ; %cm_preset("Wasteland Revisit", #preset_14ice_lower_norfair_wasteland_revisit) ; presets_14ice_lower_norfair_kihunter_stairs_revisit: ; %cm_preset("Kihunter Stairs Revisit", #preset_14ice_lower_norfair_kihunter_stairs_revisit) ; presets_14ice_lower_norfair_fireflea_room: ; %cm_preset("Fireflea Room", #preset_14ice_lower_norfair_fireflea_room) ; presets_14ice_lower_norfair_three_musketeers: ; %cm_preset("Three Musketeers", #preset_14ice_lower_norfair_three_musketeers) ; presets_14ice_lower_norfair_bubble_mountain_revisit: ; %cm_preset("Bubble Mountain Revisit", #preset_14ice_lower_norfair_bubble_mountain_revisit) ; Maridia ; presets_14ice_maridia_entering_maridia: ; %cm_preset("Entering Maridia", #preset_14ice_maridia_entering_maridia) ; presets_14ice_maridia_mt_everest: ; %cm_preset("Mt Everest", #preset_14ice_maridia_mt_everest) ; presets_14ice_maridia_ice_clip: ; %cm_preset("Ice Clip", #preset_14ice_maridia_ice_clip) ; presets_14ice_maridia_botwoon: ; %cm_preset("Botwoon", #preset_14ice_maridia_botwoon) ; presets_14ice_maridia_botwoon_etank_room: ; %cm_preset("Botwoon E-tank Room", #preset_14ice_maridia_botwoon_etank_room) ; presets_14ice_maridia_colosseum: ; %cm_preset("Colosseum", #preset_14ice_maridia_colosseum) ; presets_14ice_maridia_draygon: ; %cm_preset("Draygon", #preset_14ice_maridia_draygon) ; presets_14ice_maridia_colosseum_revisit: ; %cm_preset("Colosseum Revisit", #preset_14ice_maridia_colosseum_revisit) ; presets_14ice_maridia_reverse_botwoon: ; %cm_preset("Reverse Botwoon", #preset_14ice_maridia_reverse_botwoon) ; presets_14ice_maridia_aqueduct_revisit: ; %cm_preset("Aqueduct Revisit", #preset_14ice_maridia_aqueduct_revisit) ; presets_14ice_maridia_everest_revisit: ; %cm_preset("Everest Revisit", #preset_14ice_maridia_everest_revisit) ; presets_14ice_maridia_red_tower_green_gate: ; %cm_preset("Red Tower Green Gate", #preset_14ice_maridia_red_tower_green_gate) ; Tourian ; presets_14ice_tourian_kihunter_room_revisit: ; %cm_preset("Kihunter Room Revisit", #preset_14ice_tourian_kihunter_room_revisit) ; presets_14ice_tourian_terminator_revisit: ; %cm_preset("Terminator Revisit", #preset_14ice_tourian_terminator_revisit) ; presets_14ice_tourian_pirate_shaft_revisit: ; %cm_preset("Pirate Shaft Revisit", #preset_14ice_tourian_pirate_shaft_revisit) ; presets_14ice_tourian_metroids_1: ; %cm_preset("Metroids 1", #preset_14ice_tourian_metroids_1) ; presets_14ice_tourian_metroids_2: ; %cm_preset("Metroids 2", #preset_14ice_tourian_metroids_2) ; presets_14ice_tourian_metroids_3: ; %cm_preset("Metroids 3", #preset_14ice_tourian_metroids_3) ; presets_14ice_tourian_metroids_4: ; %cm_preset("Metroids 4", #preset_14ice_tourian_metroids_4) ; presets_14ice_tourian_baby: ; %cm_preset("Baby", #preset_14ice_tourian_baby) ; presets_14ice_tourian_zeb_skip: ; %cm_preset("Zeb Skip", #preset_14ice_tourian_zeb_skip) ; presets_14ice_tourian_escape_room_3: ; %cm_preset("Escape Room 3", #preset_14ice_tourian_escape_room_3) ; presets_14ice_tourian_escape_parlor: ; %cm_preset("Escape Parlor", #preset_14ice_tourian_escape_parlor)
37.464567
96
0.807342
fd967358f90a6c67c58c2bdaa02b80bb1d967de0
6,994
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_7949_1661.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_7949_1661.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_7949_1661.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x11764, %rcx nop cmp %rdx, %rdx movw $0x6162, (%rcx) nop nop and %rdi, %rdi lea addresses_A_ht+0x1c1c4, %r8 nop nop nop cmp $25756, %r14 movw $0x6162, (%r8) nop xor $62045, %rdi lea addresses_D_ht+0x1016c, %r9 nop nop nop nop nop sub $56339, %rbx mov $0x6162636465666768, %rcx movq %rcx, %xmm0 movups %xmm0, (%r9) add %rbx, %rbx lea addresses_UC_ht+0x343c, %rsi lea addresses_UC_ht+0x15fe0, %rdi nop nop nop and %r9, %r9 mov $22, %rcx rep movsb nop nop nop and $21961, %rdi lea addresses_normal_ht+0x190c4, %r14 clflush (%r14) nop nop xor $53033, %rcx mov $0x6162636465666768, %rbx movq %rbx, %xmm7 vmovups %ymm7, (%r14) nop nop nop add $49528, %rdi lea addresses_normal_ht+0x15edc, %rcx sub %rdx, %rdx movb $0x61, (%rcx) nop nop xor %rdx, %rdx lea addresses_A_ht+0x2dc4, %rsi lea addresses_A_ht+0x13ec4, %rdi nop nop nop cmp $54949, %r9 mov $3, %rcx rep movsb nop nop and $6272, %rdx lea addresses_WC_ht+0xd3c4, %rdi nop nop add $15939, %rdx mov $0x6162636465666768, %r14 movq %r14, %xmm1 vmovups %ymm1, (%rdi) nop add %rdx, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r14 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi // Store lea addresses_WT+0x1efc4, %r12 nop nop nop nop add $23652, %r9 mov $0x5152535455565758, %rdi movq %rdi, %xmm0 movups %xmm0, (%r12) nop nop nop nop nop add %rax, %rax // Store lea addresses_UC+0x108c4, %r13 nop nop nop nop xor $20709, %rcx movb $0x51, (%r13) xor $26906, %r12 // Store lea addresses_normal+0xecc4, %rax nop nop nop xor $6706, %rdi mov $0x5152535455565758, %rcx movq %rcx, (%rax) nop nop nop and $56543, %r13 // Load lea addresses_UC+0xcc4, %r8 nop nop nop xor %rdi, %rdi mov (%r8), %ecx nop nop cmp $23194, %r9 // Faulty Load lea addresses_A+0x140c4, %r13 nop nop nop nop xor %r12, %r12 mov (%r13), %r9 lea oracles, %rax and $0xff, %r9 shlq $12, %r9 mov (%rax,%r9,1), %r9 pop %rdi pop %rcx pop %rax pop %r9 pop %r8 pop %r13 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_A', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': True}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 8, 'same': True}, 'dst': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}} {'00': 7949} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
34.79602
2,999
0.655419
60085b028fd5300acbb39bc103c8de3ab7c709c5
529
asm
Assembly
oeis/249/A249601.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/249/A249601.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/249/A249601.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A249601: Decimal expansion of 1/phi + 1/phi^3 + 1/phi^5 + 1/phi^7, where phi is the Golden Ratio. ; Submitted by Christian Krause ; 9,7,8,7,1,3,7,6,3,7,4,7,7,9,1,8,1,2,2,9,6,3,2,3,5,2,1,6,7,8,4,0,0,4,7,2,1,2,6,4,9,2,7,7,5,9,2,1,0,2,0,1,0,4,8,4,4,4,2,1,0,7,6,8,1,0,4,6,9,7,1,9,1,9,6,9,5,1,4,4,3,8,5,1,3,5,1,2,8,7,9,7,7,2 add $0,1 mov $3,$0 mul $3,4 lpb $3 sub $2,118108 add $5,$2 add $1,$5 add $1,$2 add $2,$1 mul $1,2 sub $3,1 mul $5,2 lpe mul $1,21 mov $4,10 pow $4,$0 div $2,$4 div $1,$2 mov $0,$1 mod $0,10
21.16
189
0.553875
a8a5c8eef096a0c0921e8936efae43c75dd699b2
618
asm
Assembly
libsrc/math/daimath32/c/sccz80/modf.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/math/daimath32/c/sccz80/modf.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/math/daimath32/c/sccz80/modf.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION code_fp_dai32 PUBLIC modf EXTERN ___dai32_xload EXTERN ___dai32_xsave EXTERN ___dai32_xfint EXTERN ___dai32_xfrac EXTERN ___dai32_return EXTERN ___dai32_tempval ; double modf(double value, double *iptr) modf: ld hl,4 add hl,sp call ___dai32_xload call ___dai32_xfint ld hl,2 add hl,sp ld a,(hl) inc hl ld h,(hl) ld l,a call ___dai32_xsave ; And now do the fractional part ld hl,4 add hl,sp call ___dai32_xload call ___dai32_xfrac jp ___dai32_return
16.702703
41
0.606796
fd1283c77e8da52b6a3b09e76c21de0a4455598c
2,211
asm
Assembly
Python/C4 - MIPS/Task1c.asm
mrbinx/mrbinx_python
abc14762f6afd4e23ccd95cecd59a637ced20d89
[ "MIT" ]
null
null
null
Python/C4 - MIPS/Task1c.asm
mrbinx/mrbinx_python
abc14762f6afd4e23ccd95cecd59a637ced20d89
[ "MIT" ]
null
null
null
Python/C4 - MIPS/Task1c.asm
mrbinx/mrbinx_python
abc14762f6afd4e23ccd95cecd59a637ced20d89
[ "MIT" ]
null
null
null
#Loh Hao Bin 25461257 Prac 4 Task 1c .data m: .word 0 n: .word 0 a: .word 0 b: .word 0 c: .word 0 prompt: .asciiz "Please input an integer: " output1: .asciiz "\na = " output2: .asciiz "\nb = " output3: .asciiz "\nc = " msg: .asciiz "Please input only positive integers." .text la $a0, prompt #print prompt addi $v0, $0, 4 syscall addi $v0, $0, 5 #input read int syscall blt $v0, $0, positive_check #bltz $v0, positive_check #check if positive sw $v0, m #store read input from $v0 into m la $a0, prompt #print prompt addi $v0, $0, 4 syscall addi $v0, $0, 5 #input read int syscall blt $v0, $0, positive_check #bltz $v0, positive_check #check if positive sw $v0, n #store read input from $v0 into n j calc_a1 #start calculating a value positive_check: la $a0, msg #print output3 if the entered values are not positive addi $v0, $0, 4 syscall j quit calc_a1: lw $t1, m #load m mult $t1, $t1 #square m mflo $t1 lw $t2, n #load n mult $t2, $t2 #square n mflo $t2 j calc_c #use the square value to calculate c first calc_c: add $t0, $t1, $t2 #add m^2 and n^2 sw $t0, c #store into c j calc_a2 #go back to calculating a calc_a2: sub $t0, $t1, $t2 #subtract m^2 and n^2 blez $t0, abs #if $t0 is less than or equal to 0, branch to abs j add_to_a #branch to add_to_a abs: addi $t9, $0, -1 #set up multiplier -1 at $t9 mult $t0, $t9 #multiply $t0 with -1 mflo $t0 j add_to_a add_to_a: sw $t0, a #store value in a j calc_b #move on to calculate b calc_b: lw $t1, m #get m value lw $t2, n #get n value mult $t1, $t2 #multiply m and n mflo $t0 addi $t9, $0, 2 #setup multiplier 2 mult $t0, $t9 #multiply by 2 mflo $t0 sw $t0, b #store value in b j output output: la $a0, output1 #print output1 addi $v0, $0, 4 syscall lw $a0, a #load a's content into $a0 addi $v0, $0, 1 #print integer syscall la $a0, output2 #print output2 addi $v0, $0, 4 syscall lw $a0, b #load a's content into $a0 addi $v0, $0, 1 #print integer syscall la $a0, output3 #print output3 addi $v0, $0, 4 syscall lw $a0, c #load a's content into $a0 addi $v0, $0, 1 #print integer syscall j quit quit: addi $v0, $0, 10 #exit syscall
19.394737
67
0.646314
04febb15986513ad42c370c0387366a559c56e4b
629
asm
Assembly
programs/oeis/256/A256534.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/256/A256534.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/256/A256534.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A256534: Number of ON cells at n-th stage in simple 2-dimensional cellular automaton (see Comments lines for definition). ; 0,4,16,28,64,76,112,172,256,268,304,364,448,556,688,844,1024,1036,1072,1132,1216,1324,1456,1612,1792,1996,2224,2476,2752,3052,3376,3724,4096,4108,4144,4204,4288,4396,4528,4684,4864,5068,5296,5548,5824,6124,6448,6796,7168,7564,7984,8428,8896,9388,9904,10444,11008 lpb $0 mov $1,$0 mov $0,0 trn $1,1 seq $1,236305 ; The number of P-positions in the game of Nim with up to 3 piles, allowing for piles of zero, such that the number of objects in each pile does not exceed n. lpe mul $1,4 mov $0,$1
52.416667
264
0.742448
fa9fe227ab5e123fc1c2c2ad718f204025061af8
44,100
asm
Assembly
src/intel/tools/tests/gen6/send.asm
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/intel/tools/tests/gen6/send.asm
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
src/intel/tools/tests/gen6/send.asm
SoftReaper/Mesa-Renoir-deb
8d1de1f66058d62b41fe55d36522efea2bdf996d
[ "MIT" ]
null
null
null
send(8) null<1>F m1<4>F 0x8608c400 urb MsgDesc: 0 urb_write interleave used complete mlen 3 rlen 0 { align16 1Q EOT }; send(8) null<1>F m1<4>F 0x8a08c400 urb MsgDesc: 0 urb_write interleave used complete mlen 5 rlen 0 { align16 1Q EOT }; send(8) g2<1>UW m2<8,8,1>F 0x08417001 sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x10827001 sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 8 rlen 8 { align1 1H }; send(8) g0<1>F m21<4>F 0x060920ff render MsgDesc: OWORD dual block write MsgCtrl = 0x0 Surface = 255 mlen 3 rlen 0 { align16 1Q }; send(8) g41<1>F m22<4>F 0x041840ff render MsgDesc: OWORD dual block read MsgCtrl = 0x0 Surface = 255 mlen 2 rlen 1 { align16 1Q }; send(8) null<1>F m1<4>F 0x8e08c400 urb MsgDesc: 0 urb_write interleave used complete mlen 7 rlen 0 { align16 1Q EOT }; send(8) g2<1>UW m1<8,8,1>F 0x16494001 sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 11 rlen 4 { align1 1Q }; send(8) g2<1>UW m1<8,8,1>F 0x0e494001 sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 7 rlen 4 { align1 1Q }; send(8) g3<1>UW m1<8,8,1>F 0x0e496001 sampler MsgDesc: sample_l_c SIMD8 Surface = 1 Sampler = 0 mlen 7 rlen 4 { align1 1Q }; send(8) g7<1>UW m1<8,8,1>F 0x0e496102 sampler MsgDesc: sample_l_c SIMD8 Surface = 2 Sampler = 1 mlen 7 rlen 4 { align1 1Q }; send(8) g14<1>D m2<4>F 0x04107040 sampler MsgDesc: ld SIMD4x2 Surface = 64 Sampler = 0 mlen 2 rlen 1 { align16 1Q }; send(8) g7<1>.xUD m1<4>UD 0x02182001 urb MsgDesc: 0 ff_sync allocate mlen 1 rlen 1 { align16 1Q }; send(8) g7<1>UD m1<4>F 0x0a18e400 urb MsgDesc: 0 urb_write interleave allocate used complete mlen 5 rlen 1 { align16 1Q }; send(8) null<1>F m1<4>F 0x82088400 urb MsgDesc: 0 urb_write interleave complete mlen 1 rlen 0 { align16 1Q EOT }; send(8) g8<1>UD m1<4>F 0x0618e400 urb MsgDesc: 0 urb_write interleave allocate used complete mlen 3 rlen 1 { align16 1Q }; send(8) null<1>F m1<4>F 0x1e084400 urb MsgDesc: 0 urb_write interleave used mlen 15 rlen 0 { align16 1Q }; send(8) null<1>F m1<4>F 0x8608c470 urb MsgDesc: 7 urb_write interleave used complete mlen 3 rlen 0 { align16 1Q EOT }; send(8) g7<1>UW m2<8,8,1>F 0x04410001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g9<1>UW m2<8,8,1>F 0x08820001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 4 rlen 8 { align1 1H }; send(8) g7<1>UW m2<8,8,1>F 0x02410001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 1 rlen 4 { align1 1Q }; send(16) g9<1>UW m2<8,8,1>F 0x04820001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 2 rlen 8 { align1 1H }; send(8) g24<1>UD m17<4>F 0x04184000 dp_sampler MsgDesc: (0, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g8<1>UW m2<8,8,1>F 0x0241a001 sampler MsgDesc: resinfo SIMD8 Surface = 1 Sampler = 0 mlen 1 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x06418002 sampler MsgDesc: gather4 SIMD8 Surface = 2 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; send(16) g11<1>UW m2<8,8,1>F 0x0482a001 sampler MsgDesc: resinfo SIMD16 Surface = 1 Sampler = 0 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0c828002 sampler MsgDesc: gather4 SIMD16 Surface = 2 Sampler = 0 mlen 6 rlen 8 { align1 1H }; send(8) g15<1>D m2<4>F 0x02107040 sampler MsgDesc: ld SIMD4x2 Surface = 64 Sampler = 0 mlen 1 rlen 1 { align16 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x10414001 sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 8 rlen 4 { align1 1Q }; send(8) g2<1>D m2<4>F 0x0210a000 sampler MsgDesc: resinfo SIMD4x2 Surface = 0 Sampler = 0 mlen 1 rlen 1 { align16 1Q }; send(8) g3<1>D m2<4>F 0x0210a101 sampler MsgDesc: resinfo SIMD4x2 Surface = 1 Sampler = 1 mlen 1 rlen 1 { align16 1Q }; send(8) g5<1>D m2<4>F 0x0210a202 sampler MsgDesc: resinfo SIMD4x2 Surface = 2 Sampler = 2 mlen 1 rlen 1 { align16 1Q }; send(8) g7<1>D m2<4>F 0x0210a303 sampler MsgDesc: resinfo SIMD4x2 Surface = 3 Sampler = 3 mlen 1 rlen 1 { align16 1Q }; send(8) g9<1>D m2<4>F 0x0210a404 sampler MsgDesc: resinfo SIMD4x2 Surface = 4 Sampler = 4 mlen 1 rlen 1 { align16 1Q }; send(8) g11<1>D m2<4>F 0x0210a505 sampler MsgDesc: resinfo SIMD4x2 Surface = 5 Sampler = 5 mlen 1 rlen 1 { align16 1Q }; send(8) g13<1>D m2<4>F 0x0210a606 sampler MsgDesc: resinfo SIMD4x2 Surface = 6 Sampler = 6 mlen 1 rlen 1 { align16 1Q }; send(8) null<1>F m1<4>F 0x9208c400 urb MsgDesc: 0 urb_write interleave used complete mlen 9 rlen 0 { align16 1Q EOT }; send(8) g2<1>UW m2<8,8,1>F 0x04419001 sampler MsgDesc: lod SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x08829001 sampler MsgDesc: lod SIMD16 Surface = 1 Sampler = 0 mlen 4 rlen 8 { align1 1H }; send(16) g13<1>UW m17<8,8,1>UD 0x02280301 const MsgDesc: (1, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(8) g11<1>D m2<4>F 0x04188001 sampler MsgDesc: gather4 SIMD4x2 Surface = 1 Sampler = 0 mlen 2 rlen 1 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a000 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 0 mlen 1 rlen 0 { align16 1Q }; send(8) g63<1>UD m2<4>UD 0x021ba000 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 0 mlen 1 rlen 1 { align16 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x0a412001 sampler MsgDesc: sample_l SIMD8 Surface = 1 Sampler = 0 mlen 5 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x14822001 sampler MsgDesc: sample_l SIMD16 Surface = 1 Sampler = 0 mlen 10 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x02419001 sampler MsgDesc: lod SIMD8 Surface = 1 Sampler = 0 mlen 1 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x04829001 sampler MsgDesc: lod SIMD16 Surface = 1 Sampler = 0 mlen 2 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x0c416001 sampler MsgDesc: sample_l_c SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 4 { align1 1Q }; send(8) null<1>F m1<4>F 0x1e084470 urb MsgDesc: 7 urb_write interleave used mlen 15 rlen 0 { align16 1Q }; send(8) null<1>F m1<4>F 0x8e08c4e0 urb MsgDesc: 14 urb_write interleave used complete mlen 7 rlen 0 { align16 1Q EOT }; send(8) g2<1>UW m2<8,8,1>F 0x0a413001 sampler MsgDesc: sample_c SIMD8 Surface = 1 Sampler = 0 mlen 5 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x14823001 sampler MsgDesc: sample_c SIMD16 Surface = 1 Sampler = 0 mlen 10 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x06410001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x0c820001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 6 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x04418002 sampler MsgDesc: gather4 SIMD8 Surface = 2 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x08828002 sampler MsgDesc: gather4 SIMD16 Surface = 2 Sampler = 0 mlen 4 rlen 8 { align1 1H }; send(8) g8<1>F m2<4>F 0x02107000 sampler MsgDesc: ld SIMD4x2 Surface = 0 Sampler = 0 mlen 1 rlen 1 { align16 1Q }; send(8) null<1>F m1<4>F 0x9e08c400 urb MsgDesc: 0 urb_write interleave used complete mlen 15 rlen 0 { align16 1Q EOT }; send(8) g2<1>UW m16<8,8,1>F 0x04497001 sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m16<8,8,1>F 0x068a7001 sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 3 rlen 8 { align1 1H }; send(8) g2<1>UW m1<8,8,1>F 0x08498002 sampler MsgDesc: gather4 SIMD8 Surface = 2 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x0e8a8002 sampler MsgDesc: gather4 SIMD16 Surface = 2 Sampler = 0 mlen 7 rlen 8 { align1 1H }; send(8) g2<1>UW m1<8,8,1>F 0x0c491001 sampler MsgDesc: sample_b SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x168a1001 sampler MsgDesc: sample_b SIMD16 Surface = 1 Sampler = 0 mlen 11 rlen 8 { align1 1H }; send(8) g18<1>D m2<4>F 0x0210a040 sampler MsgDesc: resinfo SIMD4x2 Surface = 64 Sampler = 0 mlen 1 rlen 1 { align16 1Q }; send(8) g9<1>UW m2<8,8,1>F 0x0241a102 sampler MsgDesc: resinfo SIMD8 Surface = 2 Sampler = 1 mlen 1 rlen 4 { align1 1Q }; send(8) g9<1>UW m2<8,8,1>F 0x0c416102 sampler MsgDesc: sample_l_c SIMD8 Surface = 2 Sampler = 1 mlen 6 rlen 4 { align1 1Q }; send(16) g7<1>UW m2<8,8,1>F 0x0482a102 sampler MsgDesc: resinfo SIMD16 Surface = 2 Sampler = 1 mlen 2 rlen 8 { align1 1H }; send(8) g9<1>UD m1<4>F 0x1618e400 urb MsgDesc: 0 urb_write interleave allocate used complete mlen 11 rlen 1 { align16 1Q }; send(8) g19<1>F m17<4>F 0x04184040 dp_sampler MsgDesc: (64, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g3<1>UW m1<8,8,1>F 0x0c493001 sampler MsgDesc: sample_c SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 4 { align1 1Q }; send(8) g7<1>UW m1<8,8,1>F 0x0c493102 sampler MsgDesc: sample_c SIMD8 Surface = 2 Sampler = 1 mlen 6 rlen 4 { align1 1Q }; send(16) g4<1>UW m1<8,8,1>F 0x168a3001 sampler MsgDesc: sample_c SIMD16 Surface = 1 Sampler = 0 mlen 11 rlen 8 { align1 1H }; send(16) g12<1>UW m1<8,8,1>F 0x168a3102 sampler MsgDesc: sample_c SIMD16 Surface = 2 Sampler = 1 mlen 11 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x08418002 sampler MsgDesc: gather4 SIMD8 Surface = 2 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x10828002 sampler MsgDesc: gather4 SIMD16 Surface = 2 Sampler = 0 mlen 8 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x0a411001 sampler MsgDesc: sample_b SIMD8 Surface = 1 Sampler = 0 mlen 5 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x14821001 sampler MsgDesc: sample_b SIMD16 Surface = 1 Sampler = 0 mlen 10 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x0c415001 sampler MsgDesc: sample_b_c SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 4 { align1 1Q }; send(8) g6<1>UW m2<8,8,1>F 0x0c415102 sampler MsgDesc: sample_b_c SIMD8 Surface = 2 Sampler = 1 mlen 6 rlen 4 { align1 1Q }; send(8) g19<1>F m17<4>F 0x04184001 dp_sampler MsgDesc: (1, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g2<1>UW m1<8,8,1>F 0x06498002 sampler MsgDesc: gather4 SIMD8 Surface = 2 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x0a8a8002 sampler MsgDesc: gather4 SIMD16 Surface = 2 Sampler = 0 mlen 5 rlen 8 { align1 1H }; send(8) null<1>F m1<4>F 0x9608c400 urb MsgDesc: 0 urb_write interleave used complete mlen 11 rlen 0 { align16 1Q EOT }; send(8) g7<1>UD m2<4>F 0x04107000 sampler MsgDesc: ld SIMD4x2 Surface = 0 Sampler = 0 mlen 2 rlen 1 { align16 1Q }; send(8) g12<1>UD m1<4>F 0x1a18e400 urb MsgDesc: 0 urb_write interleave allocate used complete mlen 13 rlen 1 { align16 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x0a417001 sampler MsgDesc: ld SIMD8 Surface = 1 Sampler = 0 mlen 5 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x14827001 sampler MsgDesc: ld SIMD16 Surface = 1 Sampler = 0 mlen 10 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x04410304 sampler MsgDesc: sample SIMD8 Surface = 4 Sampler = 3 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x08820304 sampler MsgDesc: sample SIMD16 Surface = 4 Sampler = 3 mlen 4 rlen 8 { align1 1H }; send(8) g11<1>UD m1<4>F 0x0e18e400 urb MsgDesc: 0 urb_write interleave allocate used complete mlen 7 rlen 1 { align16 1Q }; send(8) g26<1>UD m2<4>UD 0x021ba001 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 1 mlen 1 rlen 1 { align16 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x0c414001 sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x06419001 sampler MsgDesc: lod SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x0c829001 sampler MsgDesc: lod SIMD16 Surface = 1 Sampler = 0 mlen 6 rlen 8 { align1 1H }; send(8) null<1>F m2<4>UD 0x0209a001 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 1 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a002 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 2 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a003 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 3 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a004 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 4 mlen 1 rlen 0 { align16 1Q }; send(8) g43<1>UD m2<4>UD 0x021ba005 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 5 mlen 1 rlen 1 { align16 1Q }; send(8) g2<1>UW m1<8,8,1>F 0x12494001 sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 9 rlen 4 { align1 1Q }; send(16) g3<1>UW m17<8,8,1>UD 0x02280302 const MsgDesc: (2, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(8) g7<1>UW m2<8,8,1>F 0x0a413102 sampler MsgDesc: sample_c SIMD8 Surface = 2 Sampler = 1 mlen 5 rlen 4 { align1 1Q }; send(16) g12<1>UW m2<8,8,1>F 0x14823102 sampler MsgDesc: sample_c SIMD16 Surface = 2 Sampler = 1 mlen 10 rlen 8 { align1 1H }; send(8) g2<1>UW m1<8,8,1>F 0x06490001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 3 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x0a8a0001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 5 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x04410203 sampler MsgDesc: sample SIMD8 Surface = 3 Sampler = 2 mlen 2 rlen 4 { align1 1Q }; send(8) g9<1>UW m2<8,8,1>F 0x04410102 sampler MsgDesc: sample SIMD8 Surface = 2 Sampler = 1 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x08820203 sampler MsgDesc: sample SIMD16 Surface = 3 Sampler = 2 mlen 4 rlen 8 { align1 1H }; send(16) g13<1>UW m2<8,8,1>F 0x08820102 sampler MsgDesc: sample SIMD16 Surface = 2 Sampler = 1 mlen 4 rlen 8 { align1 1H }; send(8) g3<1>UW m2<8,8,1>F 0x0241a203 sampler MsgDesc: resinfo SIMD8 Surface = 3 Sampler = 2 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a304 sampler MsgDesc: resinfo SIMD8 Surface = 4 Sampler = 3 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a405 sampler MsgDesc: resinfo SIMD8 Surface = 5 Sampler = 4 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a506 sampler MsgDesc: resinfo SIMD8 Surface = 6 Sampler = 5 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a607 sampler MsgDesc: resinfo SIMD8 Surface = 7 Sampler = 6 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a708 sampler MsgDesc: resinfo SIMD8 Surface = 8 Sampler = 7 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a809 sampler MsgDesc: resinfo SIMD8 Surface = 9 Sampler = 8 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241a90a sampler MsgDesc: resinfo SIMD8 Surface = 10 Sampler = 9 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241aa0b sampler MsgDesc: resinfo SIMD8 Surface = 11 Sampler = 10 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241ab0c sampler MsgDesc: resinfo SIMD8 Surface = 12 Sampler = 11 mlen 1 rlen 4 { align1 1Q }; send(8) g3<1>UW m2<8,8,1>F 0x0241ac0d sampler MsgDesc: resinfo SIMD8 Surface = 13 Sampler = 12 mlen 1 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x0482a203 sampler MsgDesc: resinfo SIMD16 Surface = 3 Sampler = 2 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a304 sampler MsgDesc: resinfo SIMD16 Surface = 4 Sampler = 3 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a405 sampler MsgDesc: resinfo SIMD16 Surface = 5 Sampler = 4 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a506 sampler MsgDesc: resinfo SIMD16 Surface = 6 Sampler = 5 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a607 sampler MsgDesc: resinfo SIMD16 Surface = 7 Sampler = 6 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a708 sampler MsgDesc: resinfo SIMD16 Surface = 8 Sampler = 7 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a809 sampler MsgDesc: resinfo SIMD16 Surface = 9 Sampler = 8 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482a90a sampler MsgDesc: resinfo SIMD16 Surface = 10 Sampler = 9 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482aa0b sampler MsgDesc: resinfo SIMD16 Surface = 11 Sampler = 10 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482ab0c sampler MsgDesc: resinfo SIMD16 Surface = 12 Sampler = 11 mlen 2 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0482ac0d sampler MsgDesc: resinfo SIMD16 Surface = 13 Sampler = 12 mlen 2 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x14414001 sampler MsgDesc: sample_d SIMD8 Surface = 1 Sampler = 0 mlen 10 rlen 4 { align1 1Q }; send(8) g17<1>F m2<4>F 0x04102000 sampler MsgDesc: sample_l SIMD4x2 Surface = 0 Sampler = 0 mlen 2 rlen 1 { align16 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410405 sampler MsgDesc: sample SIMD8 Surface = 5 Sampler = 4 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410506 sampler MsgDesc: sample SIMD8 Surface = 6 Sampler = 5 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410607 sampler MsgDesc: sample SIMD8 Surface = 7 Sampler = 6 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410708 sampler MsgDesc: sample SIMD8 Surface = 8 Sampler = 7 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410809 sampler MsgDesc: sample SIMD8 Surface = 9 Sampler = 8 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x0441090a sampler MsgDesc: sample SIMD8 Surface = 10 Sampler = 9 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410a0b sampler MsgDesc: sample SIMD8 Surface = 11 Sampler = 10 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410b0c sampler MsgDesc: sample SIMD8 Surface = 12 Sampler = 11 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410c0d sampler MsgDesc: sample SIMD8 Surface = 13 Sampler = 12 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410d0e sampler MsgDesc: sample SIMD8 Surface = 14 Sampler = 13 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410e0f sampler MsgDesc: sample SIMD8 Surface = 15 Sampler = 14 mlen 2 rlen 4 { align1 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410f10 sampler MsgDesc: sample SIMD8 Surface = 16 Sampler = 15 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x08820405 sampler MsgDesc: sample SIMD16 Surface = 5 Sampler = 4 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820506 sampler MsgDesc: sample SIMD16 Surface = 6 Sampler = 5 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820607 sampler MsgDesc: sample SIMD16 Surface = 7 Sampler = 6 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820708 sampler MsgDesc: sample SIMD16 Surface = 8 Sampler = 7 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820809 sampler MsgDesc: sample SIMD16 Surface = 9 Sampler = 8 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x0882090a sampler MsgDesc: sample SIMD16 Surface = 10 Sampler = 9 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820a0b sampler MsgDesc: sample SIMD16 Surface = 11 Sampler = 10 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820b0c sampler MsgDesc: sample SIMD16 Surface = 12 Sampler = 11 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820c0d sampler MsgDesc: sample SIMD16 Surface = 13 Sampler = 12 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820d0e sampler MsgDesc: sample SIMD16 Surface = 14 Sampler = 13 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820e0f sampler MsgDesc: sample SIMD16 Surface = 15 Sampler = 14 mlen 4 rlen 8 { align1 1H }; send(16) g2<1>UW m2<8,8,1>F 0x08820f10 sampler MsgDesc: sample SIMD16 Surface = 16 Sampler = 15 mlen 4 rlen 8 { align1 1H }; send(8) g6<1>UW m2<8,8,1>F 0x02410102 sampler MsgDesc: sample SIMD8 Surface = 2 Sampler = 1 mlen 1 rlen 4 { align1 1Q }; send(16) g10<1>UW m2<8,8,1>F 0x04820102 sampler MsgDesc: sample SIMD16 Surface = 2 Sampler = 1 mlen 2 rlen 8 { align1 1H }; send(8) g2<1>UW m1<8,8,1>F 0x0c492001 sampler MsgDesc: sample_l SIMD8 Surface = 1 Sampler = 0 mlen 6 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x168a2001 sampler MsgDesc: sample_l SIMD16 Surface = 1 Sampler = 0 mlen 11 rlen 8 { align1 1H }; send(8) g3<1>UW m1<8,8,1>F 0x0e495001 sampler MsgDesc: sample_b_c SIMD8 Surface = 1 Sampler = 0 mlen 7 rlen 4 { align1 1Q }; send(8) g7<1>UW m1<8,8,1>F 0x0e495102 sampler MsgDesc: sample_b_c SIMD8 Surface = 2 Sampler = 1 mlen 7 rlen 4 { align1 1Q }; send(8) g2<1>UW m1<8,8,1>F 0x04490001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x068a0001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 3 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x04410003 sampler MsgDesc: sample SIMD8 Surface = 3 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x08820003 sampler MsgDesc: sample SIMD16 Surface = 3 Sampler = 0 mlen 4 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x08417008 sampler MsgDesc: ld SIMD8 Surface = 8 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; send(8) g6<1>UW m2<8,8,1>F 0x08417109 sampler MsgDesc: ld SIMD8 Surface = 9 Sampler = 1 mlen 4 rlen 4 { align1 1Q }; send(8) g7<1>UW m2<8,8,1>F 0x0841720a sampler MsgDesc: ld SIMD8 Surface = 10 Sampler = 2 mlen 4 rlen 4 { align1 1Q }; send(8) g8<1>UW m2<8,8,1>F 0x0841730b sampler MsgDesc: ld SIMD8 Surface = 11 Sampler = 3 mlen 4 rlen 4 { align1 1Q }; send(8) g9<1>UW m2<8,8,1>F 0x0841740c sampler MsgDesc: ld SIMD8 Surface = 12 Sampler = 4 mlen 4 rlen 4 { align1 1Q }; send(8) g10<1>UW m2<8,8,1>F 0x0841750d sampler MsgDesc: ld SIMD8 Surface = 13 Sampler = 5 mlen 4 rlen 4 { align1 1Q }; send(8) g11<1>UW m2<8,8,1>F 0x0841760e sampler MsgDesc: ld SIMD8 Surface = 14 Sampler = 6 mlen 4 rlen 4 { align1 1Q }; send(8) g12<1>UW m2<8,8,1>F 0x0841770f sampler MsgDesc: ld SIMD8 Surface = 15 Sampler = 7 mlen 4 rlen 4 { align1 1Q }; send(16) g4<1>UW m2<8,8,1>F 0x10827008 sampler MsgDesc: ld SIMD16 Surface = 8 Sampler = 0 mlen 8 rlen 8 { align1 1H }; send(16) g12<1>UW m2<8,8,1>F 0x10827109 sampler MsgDesc: ld SIMD16 Surface = 9 Sampler = 1 mlen 8 rlen 8 { align1 1H }; send(16) g12<1>UW m2<8,8,1>F 0x1082720a sampler MsgDesc: ld SIMD16 Surface = 10 Sampler = 2 mlen 8 rlen 8 { align1 1H }; send(16) g13<1>UW m2<8,8,1>F 0x1082730b sampler MsgDesc: ld SIMD16 Surface = 11 Sampler = 3 mlen 8 rlen 8 { align1 1H }; send(16) g14<1>UW m2<8,8,1>F 0x1082740c sampler MsgDesc: ld SIMD16 Surface = 12 Sampler = 4 mlen 8 rlen 8 { align1 1H }; send(16) g15<1>UW m2<8,8,1>F 0x1082750d sampler MsgDesc: ld SIMD16 Surface = 13 Sampler = 5 mlen 8 rlen 8 { align1 1H }; send(16) g16<1>UW m2<8,8,1>F 0x1082760e sampler MsgDesc: ld SIMD16 Surface = 14 Sampler = 6 mlen 8 rlen 8 { align1 1H }; send(16) g17<1>UW m2<8,8,1>F 0x1082770f sampler MsgDesc: ld SIMD16 Surface = 15 Sampler = 7 mlen 8 rlen 8 { align1 1H }; send(8) g30<1>UD m2<4>UD 0x021ba002 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 2 mlen 1 rlen 1 { align16 1Q }; send(8) g5<1>F m2<4>F 0x04102505 sampler MsgDesc: sample_l SIMD4x2 Surface = 5 Sampler = 5 mlen 2 rlen 1 { align16 1Q }; send(8) g11<1>UW m16<8,8,1>F 0x04497002 sampler MsgDesc: ld SIMD8 Surface = 2 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(16) g19<1>UW m16<8,8,1>F 0x068a7002 sampler MsgDesc: ld SIMD16 Surface = 2 Sampler = 0 mlen 3 rlen 8 { align1 1H }; send(8) g6<1>UW m2<8,8,1>F 0x06410102 sampler MsgDesc: sample SIMD8 Surface = 2 Sampler = 1 mlen 3 rlen 4 { align1 1Q }; send(16) g10<1>UW m2<8,8,1>F 0x0c820102 sampler MsgDesc: sample SIMD16 Surface = 2 Sampler = 1 mlen 6 rlen 8 { align1 1H }; send(8) null<1>F m1<4>F 0x8a08c470 urb MsgDesc: 7 urb_write interleave used complete mlen 5 rlen 0 { align16 1Q EOT }; send(8) g6<1>UD m1<4>F 0x1218e400 urb MsgDesc: 0 urb_write interleave allocate used complete mlen 9 rlen 1 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a005 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 5 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a006 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 6 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a007 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 7 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a008 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 8 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a009 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 9 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a00a render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 10 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a00b render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 11 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a00c render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 12 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a00d render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 13 mlen 1 rlen 0 { align16 1Q }; send(8) null<1>F m2<4>UD 0x0209a00e render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 14 mlen 1 rlen 0 { align16 1Q }; send(8) g18<1>UD m2<4>UD 0x021ba00f render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 15 mlen 1 rlen 1 { align16 1Q }; send(8) g9<1>UD m1<4>F 0x1a18e470 urb MsgDesc: 7 urb_write interleave allocate used complete mlen 13 rlen 1 { align16 1Q }; send(8) null<1>F m1<4>F 0x9a08c400 urb MsgDesc: 0 urb_write interleave used complete mlen 13 rlen 0 { align16 1Q EOT }; send(16) g2<1>UW m17<8,8,1>UD 0x02280304 const MsgDesc: (4, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(16) g2<1>UW m17<8,8,1>UD 0x02280303 const MsgDesc: (3, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(16) g2<1>UW m17<8,8,1>UD 0x02280306 const MsgDesc: (6, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(16) g2<1>UW m17<8,8,1>UD 0x02280305 const MsgDesc: (5, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(8) g34<1>UD m2<4>UD 0x021ba003 render MsgDesc: streamed VB write MsgCtrl = 0x0 Surface = 3 mlen 1 rlen 1 { align16 1Q }; send(8) g15<1>D m2<4>F 0x0210a707 sampler MsgDesc: resinfo SIMD4x2 Surface = 7 Sampler = 7 mlen 1 rlen 1 { align16 1Q }; send(8) g17<1>D m2<4>F 0x0210a808 sampler MsgDesc: resinfo SIMD4x2 Surface = 8 Sampler = 8 mlen 1 rlen 1 { align16 1Q }; send(8) g19<1>D m2<4>F 0x0210a909 sampler MsgDesc: resinfo SIMD4x2 Surface = 9 Sampler = 9 mlen 1 rlen 1 { align16 1Q }; send(8) g21<1>D m2<4>F 0x0210aa0a sampler MsgDesc: resinfo SIMD4x2 Surface = 10 Sampler = 10 mlen 1 rlen 1 { align16 1Q }; send(8) g23<1>D m2<4>F 0x0210ab0b sampler MsgDesc: resinfo SIMD4x2 Surface = 11 Sampler = 11 mlen 1 rlen 1 { align16 1Q }; send(8) g25<1>D m2<4>F 0x0210ac0c sampler MsgDesc: resinfo SIMD4x2 Surface = 12 Sampler = 12 mlen 1 rlen 1 { align16 1Q }; send(8) null<1>UW m22<8,8,1>UD 0x040902ff render MsgDesc: OWORD block write MsgCtrl = 0x2 Surface = 255 mlen 2 rlen 0 { align1 1Q }; send(8) g69<1>UW m22<8,8,1>UD 0x021802ff render MsgDesc: OWORD block read MsgCtrl = 0x2 Surface = 255 mlen 1 rlen 1 { align1 WE_all 1Q }; send(8) g9<1>UD m1<4>F 0x0e18e4e0 urb MsgDesc: 14 urb_write interleave allocate used complete mlen 7 rlen 1 { align16 1Q }; send(8) g2<1>UW m1<8,8,1>F 0x08490001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; send(16) g2<1>UW m1<8,8,1>F 0x0e8a0001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 7 rlen 8 { align1 1H }; send(8) g2<1>UW m2<8,8,1>F 0x08410001 sampler MsgDesc: sample SIMD8 Surface = 1 Sampler = 0 mlen 4 rlen 4 { align1 1Q }; send(16) g2<1>UW m2<8,8,1>F 0x10820001 sampler MsgDesc: sample SIMD16 Surface = 1 Sampler = 0 mlen 8 rlen 8 { align1 1H }; send(8) null<1>F m1<4>F 0x9a08c470 urb MsgDesc: 7 urb_write interleave used complete mlen 13 rlen 0 { align16 1Q EOT }; send(8) g15<1>F m17<4>F 0x04184043 dp_sampler MsgDesc: (67, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g21<1>F m17<4>F 0x04184042 dp_sampler MsgDesc: (66, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g23<1>F m17<4>F 0x04184041 dp_sampler MsgDesc: (65, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g4<1>F m17<4>F 0x04184003 dp_sampler MsgDesc: (3, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g13<1>F m17<4>F 0x04184002 dp_sampler MsgDesc: (2, 0, 2, 0) mlen 2 rlen 1 { align16 1Q }; send(8) g14<1>UW m2<8,8,1>F 0x0a417102 sampler MsgDesc: ld SIMD8 Surface = 2 Sampler = 1 mlen 5 rlen 4 { align1 1Q }; send(16) g24<1>UW m2<8,8,1>F 0x14827102 sampler MsgDesc: ld SIMD16 Surface = 2 Sampler = 1 mlen 10 rlen 8 { align1 1H }; send(16) g2<1>UW m17<8,8,1>UD 0x02280307 const MsgDesc: (7, 3, 0, 0) mlen 1 rlen 2 { align1 WE_all 1H }; send(8) g6<1>UW m2<8,8,1>F 0x0a413203 sampler MsgDesc: sample_c SIMD8 Surface = 3 Sampler = 2 mlen 5 rlen 4 { align1 1Q }; send(16) g13<1>UW m2<8,8,1>F 0x14823203 sampler MsgDesc: sample_c SIMD16 Surface = 3 Sampler = 2 mlen 10 rlen 8 { align1 1H }; send(8) g5<1>F m2<4>F 0x04102303 sampler MsgDesc: sample_l SIMD4x2 Surface = 3 Sampler = 3 mlen 2 rlen 1 { align16 1Q }; send(8) g2<1>UW m2<8,8,1>F 0x04410002 sampler MsgDesc: sample SIMD8 Surface = 2 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(8) g20<1>UW m2<8,8,1>F 0x04410008 sampler MsgDesc: sample SIMD8 Surface = 8 Sampler = 0 mlen 2 rlen 4 { align1 1Q }; send(8) g24<1>UW m2<8,8,1>F 0x04410109 sampler MsgDesc: sample SIMD8 Surface = 9 Sampler = 1 mlen 2 rlen 4 { align1 1Q }; send(8) g28<1>UW m2<8,8,1>F 0x0441020a sampler MsgDesc: sample SIMD8 Surface = 10 Sampler = 2 mlen 2 rlen 4 { align1 1Q }; send(8) g32<1>UW m2<8,8,1>F 0x0441030b sampler MsgDesc: sample SIMD8 Surface = 11 Sampler = 3 mlen 2 rlen 4 { align1 1Q }; send(8) g36<1>UW m2<8,8,1>F 0x0441040c sampler MsgDesc: sample SIMD8 Surface = 12 Sampler = 4 mlen 2 rlen 4 { align1 1Q }; send(8) g40<1>UW m2<8,8,1>F 0x0441050d sampler MsgDesc: sample SIMD8 Surface = 13 Sampler = 5 mlen 2 rlen 4 { align1 1Q }; send(8) g44<1>UW m2<8,8,1>F 0x0441060e sampler MsgDesc: sample SIMD8 Surface = 14 Sampler = 6 mlen 2 rlen 4 { align1 1Q }; send(8) g48<1>UW m2<8,8,1>F 0x0441070f sampler MsgDesc: sample SIMD8 Surface = 15 Sampler = 7 mlen 2 rlen 4 { align1 1Q }; send(16) g22<1>UW m2<8,8,1>F 0x08820008 sampler MsgDesc: sample SIMD16 Surface = 8 Sampler = 0 mlen 4 rlen 8 { align1 1H }; send(16) g30<1>UW m2<8,8,1>F 0x08820109 sampler MsgDesc: sample SIMD16 Surface = 9 Sampler = 1 mlen 4 rlen 8 { align1 1H }; send(16) g22<1>UW m2<8,8,1>F 0x0882020a sampler MsgDesc: sample SIMD16 Surface = 10 Sampler = 2 mlen 4 rlen 8 { align1 1H }; send(16) g38<1>UW m2<8,8,1>F 0x0882030b sampler MsgDesc: sample SIMD16 Surface = 11 Sampler = 3 mlen 4 rlen 8 { align1 1H }; send(16) g30<1>UW m2<8,8,1>F 0x0882040c sampler MsgDesc: sample SIMD16 Surface = 12 Sampler = 4 mlen 4 rlen 8 { align1 1H }; send(16) g46<1>UW m2<8,8,1>F 0x0882050d sampler MsgDesc: sample SIMD16 Surface = 13 Sampler = 5 mlen 4 rlen 8 { align1 1H }; send(16) g22<1>UW m2<8,8,1>F 0x0882060e sampler MsgDesc: sample SIMD16 Surface = 14 Sampler = 6 mlen 4 rlen 8 { align1 1H }; send(16) g54<1>UW m2<8,8,1>F 0x0882070f sampler MsgDesc: sample SIMD16 Surface = 15 Sampler = 7 mlen 4 rlen 8 { align1 1H }; send(8) g5<1>F m2<4>F 0x04102101 sampler MsgDesc: sample_l SIMD4x2 Surface = 1 Sampler = 1 mlen 2 rlen 1 { align16 1Q }; send(8) g6<1>F m2<4>F 0x04102202 sampler MsgDesc: sample_l SIMD4x2 Surface = 2 Sampler = 2 mlen 2 rlen 1 { align16 1Q }; send(8) g8<1>F m2<4>F 0x04102404 sampler MsgDesc: sample_l SIMD4x2 Surface = 4 Sampler = 4 mlen 2 rlen 1 { align16 1Q }; send(8) g10<1>F m2<4>F 0x04102606 sampler MsgDesc: sample_l SIMD4x2 Surface = 6 Sampler = 6 mlen 2 rlen 1 { align16 1Q }; send(8) g11<1>F m2<4>F 0x04102707 sampler MsgDesc: sample_l SIMD4x2 Surface = 7 Sampler = 7 mlen 2 rlen 1 { align16 1Q }; send(8) g9<1>UD m1<4>F 0x0a18e470 urb MsgDesc: 7 urb_write interleave allocate used complete mlen 5 rlen 1 { align16 1Q };
85.299807
124
0.504444
376ac89d10119f427f105b1bfc2bb120c3c00123
336
asm
Assembly
programs/oeis/047/A047543.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/047/A047543.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/047/A047543.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A047543: Numbers that are congruent to {3, 4, 7} mod 8. ; 3,4,7,11,12,15,19,20,23,27,28,31,35,36,39,43,44,47,51,52,55,59,60,63,67,68,71,75,76,79,83,84,87,91,92,95,99,100,103,107,108,111,115,116,119,123,124,127,131,132,135,139,140,143,147,148,151,155,156,159 mul $0,8 mov $1,3 mov $2,$0 div $0,3 gcd $1,$2 div $1,2 add $1,2 add $1,$0
28
201
0.651786
3292dc405746157ff94dc55afd047447beebf20a
45
asm
Assembly
src/main/fragment/mos6502-common/vssm1=_stackpullstruct_vbuc1_.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
2
2022-03-01T02:21:14.000Z
2022-03-01T04:33:35.000Z
src/main/fragment/mos6502-common/vssm1=_stackpullstruct_vbuc1_.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
src/main/fragment/mos6502-common/vssm1=_stackpullstruct_vbuc1_.asm
jbrandwood/kickc
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
[ "MIT" ]
null
null
null
ldx #0 !: pla sta {m1},x inx cpx #{c1} bne !-
6.428571
10
0.533333
cb1a7bd894504434f9c32020a76b3a59fc823b11
108
asm
Assembly
scripts/UndergroundPathWestEast.asm
AmateurPanda92/pokemon-rby-dx
f7ba1cc50b22d93ed176571e074a52d73360da93
[ "MIT" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
scripts/UndergroundPathWestEast.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
scripts/UndergroundPathWestEast.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
UndergroundPathWestEast_Script: jp EnableAutoTextBoxDrawing UndergroundPathWestEast_TextPointers: db "@"
18
37
0.87037
4eee9d086345ef0315b107248a76ea3579891f9b
386
asm
Assembly
oeis/325/A325765.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/325/A325765.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/325/A325765.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A325765: Number of integer partitions of n with a unique consecutive subsequence summing to every positive integer from 1 to n. ; Submitted by Christian Krause ; 1,1,1,2,1,3,1,3,2,3,1,5,1,3,3,4,1,5,1,5,3,3,1,7,2,3,3,5,1,7,1,5,3,3,3,8,1,3,3,7,1,7,1,5,5,3,1,9,2,5,3 mov $1,1 max $1,$0 seq $1,5 ; d(n) (also called tau(n) or sigma_0(n)), the number of divisors of n. mov $0,$1 sub $0,1
38.6
129
0.660622
10ae75054dd6b09954136874ea313510cc04d890
6,889
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1859.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1859.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1859.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 %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x15c17, %r8 nop nop nop nop sub %rbx, %rbx mov $0x6162636465666768, %rdi movq %rdi, %xmm6 vmovups %ymm6, (%r8) nop nop nop nop nop sub $48147, %r9 lea addresses_A_ht+0x13343, %rsi lea addresses_WC_ht+0x15017, %rdi nop and %r12, %r12 mov $78, %rcx rep movsq nop nop and %rcx, %rcx lea addresses_A_ht+0x12917, %r8 nop nop nop inc %rsi mov (%r8), %rbx nop nop nop nop nop and %r9, %r9 lea addresses_WT_ht+0x10ad7, %rsi nop inc %r12 movw $0x6162, (%rsi) nop nop nop cmp %r9, %r9 lea addresses_UC_ht+0x33ea, %rsi lea addresses_WC_ht+0x1368b, %rdi nop nop nop xor $54711, %rdx mov $76, %rcx rep movsl nop nop sub %rsi, %rsi lea addresses_D_ht+0x1dc17, %r9 nop nop nop add %rsi, %rsi mov (%r9), %rdx cmp %rdx, %rdx lea addresses_A_ht+0x6327, %rbx nop nop dec %r12 mov (%rbx), %rdi nop nop cmp $14132, %rdi lea addresses_normal_ht+0x1980f, %r12 nop nop nop nop xor %rdx, %rdx mov $0x6162636465666768, %rdi movq %rdi, (%r12) nop nop nop nop nop sub %rbx, %rbx lea addresses_WC_ht+0x1b217, %r8 add $4771, %rcx movl $0x61626364, (%r8) add $26445, %rdi pop %rsi pop %rdx pop %rdi pop %rcx pop %rbx pop %r9 pop %r8 pop %r12 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r14 push %rbx push %rcx push %rdx // Load lea addresses_A+0xc217, %r14 nop nop nop nop nop dec %rdx mov (%r14), %r13w nop nop nop nop nop and $29637, %r14 // Store lea addresses_D+0x4d57, %rcx and $62057, %r11 mov $0x5152535455565758, %r12 movq %r12, (%rcx) nop nop nop nop nop add $65345, %r14 // Load lea addresses_WT+0x1fa37, %rdx nop nop nop nop add $35493, %r11 mov (%rdx), %rcx nop nop nop sub $64013, %r14 // Faulty Load lea addresses_A+0x4417, %r14 cmp $27700, %r11 vmovups (%r14), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $0, %xmm0, %rcx lea oracles, %r11 and $0xff, %rcx shlq $12, %rcx mov (%r11,%rcx,1), %rcx pop %rdx pop %rcx pop %rbx pop %r14 pop %r13 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_A', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_A', 'same': False, 'size': 2, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_D', 'same': False, 'size': 8, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_WT', 'same': False, 'size': 8, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'type': 'addresses_A', 'same': True, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 8, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_WT_ht', 'same': False, 'size': 2, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'35': 21829} 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 */
34.273632
2,999
0.654231
1233c1f650eb848db6fa3d19e54a72d660052d13
444
asm
Assembly
programs/oeis/322/A322042.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/322/A322042.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/322/A322042.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A322042: Maximum edge-distance of a point in the quotient graph E/nE from the origin (see A322041 for further information). ; 0,1,2,2,3,4,4,5,6,6,7,8,8,9,10,10,11,12,12,13,14,14,15,16,16,17,18,18,19,20,20,21,22,22,23,24,24,25,26,26,27,28,28,29,30,30,31,32,32,33,34,34,35,36,36,37,38,38,39,40,40,41,42,42,43,44,44,45,46,46,47,48,48,49,50,50,51,52,52,53,54,54,55,56,56,57,58,58,59,60,60,61,62,62,63,64,64,65,66,66 mov $1,$0 div $0,3 sub $1,$0
63.428571
287
0.675676
eddce8ae11663fe23b81d2cae528a6adb87a34e6
81
asm
Assembly
public/wintab/wintabx/packet.asm
SmileyAG/cstrike15_src
5315265785320e0f53ebd27c3486e6c7b826a227
[ "Unlicense" ]
2
2022-02-25T12:18:31.000Z
2022-03-16T23:59:59.000Z
public/wintab/wintabx/packet.asm
SmileyAG/cstrike15_src
5315265785320e0f53ebd27c3486e6c7b826a227
[ "Unlicense" ]
null
null
null
public/wintab/wintabx/packet.asm
SmileyAG/cstrike15_src
5315265785320e0f53ebd27c3486e6c7b826a227
[ "Unlicense" ]
7
2021-08-22T11:29:02.000Z
2022-03-29T11:59:15.000Z
include xlibproc.inc include Wintab.inc PROC_TEMPLATE WTPacket, 4, Wintab, -, 24
20.25
40
0.790123
fb0f49e8172bae0a913204d24db2501cfd347cbb
221
asm
Assembly
Keep a variable to constant.asm
arfat01850/Assembly_Program
000b38c4139fe276eba2941190bfd4b51cfec02f
[ "MIT" ]
1
2019-04-18T22:44:47.000Z
2019-04-18T22:44:47.000Z
Keep a variable to constant.asm
arfat01850/Assembly_Program
000b38c4139fe276eba2941190bfd4b51cfec02f
[ "MIT" ]
null
null
null
Keep a variable to constant.asm
arfat01850/Assembly_Program
000b38c4139fe276eba2941190bfd4b51cfec02f
[ "MIT" ]
null
null
null
.MODEL SMALL .STACK 100H .DATA A EQU 'Abdur Rahim$' .CODE MAIN PROC MOV AX,@DATA MOV DS,AX LEA DX,B MOV AH,9 INT 21H MOV AH,4CH INT 21H MAIN ENDP END MAIN
11.631579
21
0.506787
88243058aa1b9f80ce108108afdcde9b473f6a12
79
asm
Assembly
testdata/orig/tiny.asm
aleksey-makarov/melf
ed63a07cb8d88dcfc1221d8dbe9f49b911734420
[ "BSD-3-Clause" ]
2
2021-12-28T18:22:25.000Z
2021-12-30T14:46:16.000Z
testdata/orig/tiny.asm
aleksey-makarov/melf
ed63a07cb8d88dcfc1221d8dbe9f49b911734420
[ "BSD-3-Clause" ]
1
2021-11-21T21:48:13.000Z
2021-12-08T22:12:32.000Z
testdata/orig/tiny.asm
aleksey-makarov/melf
ed63a07cb8d88dcfc1221d8dbe9f49b911734420
[ "BSD-3-Clause" ]
null
null
null
SECTION .text global _start _start: mov ebx,0 mov eax,1 int 0x80
8.777778
13
0.632911
5d8f53bd58f843deea7db778762c86d9d50fc9c2
147
asm
Assembly
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_bgwt.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_bgwt.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/NES_Ver2/us_asm/zel_bgwt.asm
prismotizm/gigaleak
d082854866186a05fec4e2fdf1def0199e7f3098
[ "MIT" ]
null
null
null
Name: zel_bgwt.asm Type: file Size: 294853 Last-Modified: '2016-05-13T04:27:09Z' SHA-1: 4106E9AB63BBFDC5340903B0638710BBE97D7FCA Description: null
21
47
0.816327
fd0be348628e00cd60bc5606cdfa81838dd5d1d5
6,417
asm
Assembly
bootloader/src/stage0.asm
ZiyanWu93/chocolate_milk
b21b40d2af5aa98e5aa15918bf60f42c40519436
[ "MIT" ]
422
2020-04-11T03:03:46.000Z
2022-03-27T16:21:40.000Z
bootloader/src/stage0.asm
ZiyanWu93/chocolate_milk
b21b40d2af5aa98e5aa15918bf60f42c40519436
[ "MIT" ]
22
2020-04-12T14:09:22.000Z
2021-03-08T23:40:01.000Z
bootloader/src/stage0.asm
ZiyanWu93/chocolate_milk
b21b40d2af5aa98e5aa15918bf60f42c40519436
[ "MIT" ]
44
2020-04-11T06:56:16.000Z
2022-02-27T14:00:36.000Z
[org 0x7c00] [bits 16] entry: ; Disable interrupts and clear direction flag cli cld ; Set the A20 line in al, 0x92 or al, 2 out 0x92, al ; Clear DS xor ax, ax mov ds, ax ; Load a 32-bit GDT lgdt [gdt] ; Enable protected mode mov eax, cr0 or eax, (1 << 0) mov cr0, eax ; Transition to 32-bit mode by setting CS to a protected mode selector jmp 0x0018:pm_entry [bits 32] pm_entry: ; Set up all data selectors mov ax, 0x20 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax ; Wait for the shared early boot stack to be available for use .wait_for_stack: pause xor al, al lock xchg byte [stack_avail], al test al, al jz short .wait_for_stack ; Set up a basic stack mov esp, 0x7c00 cmp byte [fresh_boot], 1 jne short .not_fresh_boot ; At this point, there is a fresh boot. We need to re-initialize our ; writable data sections ; Accumulate 64-bit number of boots add dword [boots + 0], 1 adc dword [boots + 4], 0 ; Load a pointer to the reinit memory into `ebx` mov ebx, reinit .reinit_parse: ; If we have reached the end of the re-init sections, stop the loop cmp ebx, reinit_end je short .not_fresh_boot ; memcpy(reinit_struc.vaddr, reinit_struc.payload, reinit_struc.size); lea esi, [ebx + reinit_struc.payload] ; Source mov edi, [ebx + reinit_struc.vaddr] ; Dest mov ecx, [ebx + reinit_struc.size] ; Size rep movsb ; Increment reinit pointer by the size of the payload add ebx, [ebx + reinit_struc.size] ; Increment reinit pointer by the offset of the payload in the structure add ebx, reinit_struc.payload ; Loop to the next entry jmp short .reinit_parse .not_fresh_boot: ; Set that this is no longer a fresh boot mov byte [fresh_boot], 0 ; Jump into Rust! (entry_point is a defined variable during build) push dword [boots + 4] push dword [boots + 0] push dword soft_reboot push dword bootloader_end call entry_point [bits 64] ; Entry point for a soft reboot. When a soft reboot is requested, it is ; expected that the kernel has halted all other processors on the system. ; The kernel must also disable any devices which may be performing DMA or ; interrupts that it set up since the bootloader gave it execution. ; At this stage, we transition back from long mode into real mode, and jump ; right into the bootloader entry soft_reboot: ; Disable interrupts cli ; We're currently running in the kernel virtual memory space. This does ; not have physical memory directly mapped, thus we must switch to the ; trampoline CR3 provided mov cr3, rcx ; Clear all GPRs. This will cause the high parts of registers to become ; zero, which might help with some weird transitional issues when going ; back to 16-bit mode xor rax, rax mov rbx, rax mov rcx, rax mov rdx, rax mov rsi, rax mov rdi, rax mov rbp, rax mov r8, rax mov r9, rax mov r10, rax mov r11, rax mov r12, rax mov r13, rax mov r14, rax mov r15, rax ; Load the original GDT, since the kernel has relocated the GDT into its ; address space lgdt [gdt] ; Load a stack mov rsp, 0x7c00 ; Unblock NMIs push qword 0x0030 push qword 0x7c00 pushfq push qword 0x0028 push qword .unblock_nmis iretq .unblock_nmis: ; Must be far dword for Intel/AMD compatibility. AMD does not support ; 64-bit offsets in far jumps in long mode, Intel does however. Force ; it to be 32-bit as it works in both. jmp far dword [reentry_longjmp] [bits 16] align 16 rmmode_again: ; Disable paging mov eax, cr0 btr eax, 31 mov cr0, eax ; Disable long mode mov ecx, 0xc0000080 rdmsr btr eax, 8 wrmsr ; Load up the segments to be 16-bit segments mov ax, 0x10 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax ; Disable protected mode mov eax, cr0 btr eax, 0 mov cr0, eax pushfw push word 0 push word .enable_nmis iretw .enable_nmis: ; Zero out all GPRs (clear out high parts for when we go into 16-bit) xor eax, eax mov ebx, eax mov ecx, eax mov edx, eax mov esi, eax mov edi, eax mov ebp, eax mov esp, 0x7c00 ; Reset the GDT and IDT to their original boot states lgdt [rm_gdt] lidt [rm_idt] ; Set up that we're in a fresh boot mov byte [fresh_boot], 1 ; Set up that the stack is available for use mov byte [stack_avail], 1 ; Jump back to the start of the bootloader jmp 0x0000:0x7c00 align 8 reentry_longjmp: dd (rmmode_again - 0x7c00) dw 0x0008 align 8 rm_idt: dw 0xffff dq 0 align 8 rm_gdt: dw 0xffff dq 0 times 510-($-$$) db 0 dw 0xaa55 ; Do not move this, it must stay at 0x7e00. We release the early boot stack ; once we get into the kernel and are using a new stack. We write directly to ; this location. stack_avail: db 1 ; Fresh boot fresh_boot: db 1 ; Number of boots such that we can track the number of boots, including soft ; reboots. This value is not reset upon a soft reboot, and thus persists. align 8 boots: dq 0 ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ align 8 gdt_base: dq 0x0000000000000000 ; 0x0000 | Null descriptor dq 0x00009a007c00ffff ; 0x0008 | 16-bit, present, code, base 0x7c00 dq 0x000092000000ffff ; 0x0010 | 16-bit, present, data, base 0 dq 0x00cf9a000000ffff ; 0x0018 | 32-bit, present, code, base 0 dq 0x00cf92000000ffff ; 0x0020 | 32-bit, present, data, base 0 dq 0x00209a0000000000 ; 0x0028 | 64-bit, present, code, base 0 dq 0x0000920000000000 ; 0x0030 | 64-bit, present, data, base 0 gdt: dw (gdt - gdt_base) - 1 dd gdt_base ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ times (0x8000 - 0x7c00)-($-$$) db 0 [bits 16] ap_entry: jmp 0x0000:entry times (0x8100 - 0x7c00)-($-$$) db 0 incbin "build/chocolate_milk.flat" ; Structure in the `reinit` vector. This structure is repeated until ; `reinit_end` struc reinit_struc .vaddr: resd 1 .size: resd 1 .payload: endstruc ; Reinit data ; Holds [vaddr: u32][size: u32][payload] to allow the bootloader to know which ; virtual addresses need to be initialized during a `fresh_boot` reinit: incbin "build/chocolate_milk.reinit" reinit_end: ; A marker for the end of the bootloader bootloader_end:
22.437063
78
0.668537
7e3c09d6f578a0d8427913fe136b812c91052cf7
439
asm
Assembly
oeis/082/A082297.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/082/A082297.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/082/A082297.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A082297: Main diagonal of array A083861. ; Submitted by Christian Krause ; 0,1,5,22,105,551,3125,18901,120785,809956,5669525,41253125,310968905,2421594449,19434554165,160416509794,1359425390625,11809173506531,105013666399445,954781355707373,8865807366284825,83996265859375000,811222567266570805,7980019803318567233 mov $2,$0 mov $3,1 lpb $0 sub $0,1 mul $1,3 add $1,$3 mul $3,2 mul $4,$2 add $3,$4 mov $4,$1 lpe mov $0,$4
25.823529
241
0.756264
588e1ada7ef31b45599c6476ac92f4c36987ed71
11,533
asm
Assembly
_inc/Sonic dynamic pattern load cues.asm
vladjester2020/Sonic1TMR
22e749a2aab74cc725729e476d6252b071c12e42
[ "Apache-2.0" ]
null
null
null
_inc/Sonic dynamic pattern load cues.asm
vladjester2020/Sonic1TMR
22e749a2aab74cc725729e476d6252b071c12e42
[ "Apache-2.0" ]
2
2019-06-13T14:26:59.000Z
2019-10-10T13:15:14.000Z
_inc/Sonic dynamic pattern load cues.asm
vladjester2020/Sonic1TMR
22e749a2aab74cc725729e476d6252b071c12e42
[ "Apache-2.0" ]
null
null
null
; -------------------------------------------------------------------------------- ; Dynamic Pattern Loading Cues - output from SonMapEd - Sonic 1 format; -------------------------------------------------------------------------------- SME_dfmAb: dc.w SME_dfmAb_100-SME_dfmAb, SME_dfmAb_101-SME_dfmAb dc.w SME_dfmAb_10A-SME_dfmAb, SME_dfmAb_111-SME_dfmAb dc.w SME_dfmAb_118-SME_dfmAb, SME_dfmAb_11F-SME_dfmAb dc.w SME_dfmAb_126-SME_dfmAb, SME_dfmAb_12F-SME_dfmAb dc.w SME_dfmAb_134-SME_dfmAb, SME_dfmAb_139-SME_dfmAb dc.w SME_dfmAb_142-SME_dfmAb, SME_dfmAb_147-SME_dfmAb dc.w SME_dfmAb_14E-SME_dfmAb, SME_dfmAb_159-SME_dfmAb dc.w SME_dfmAb_166-SME_dfmAb, SME_dfmAb_16F-SME_dfmAb dc.w SME_dfmAb_17A-SME_dfmAb, SME_dfmAb_183-SME_dfmAb dc.w SME_dfmAb_18E-SME_dfmAb, SME_dfmAb_197-SME_dfmAb dc.w SME_dfmAb_19C-SME_dfmAb, SME_dfmAb_1A1-SME_dfmAb dc.w SME_dfmAb_1AA-SME_dfmAb, SME_dfmAb_1AF-SME_dfmAb dc.w SME_dfmAb_1B6-SME_dfmAb, SME_dfmAb_1C3-SME_dfmAb dc.w SME_dfmAb_1D0-SME_dfmAb, SME_dfmAb_1D9-SME_dfmAb dc.w SME_dfmAb_1E4-SME_dfmAb, SME_dfmAb_1ED-SME_dfmAb dc.w SME_dfmAb_1F8-SME_dfmAb, SME_dfmAb_1FD-SME_dfmAb dc.w SME_dfmAb_202-SME_dfmAb, SME_dfmAb_207-SME_dfmAb dc.w SME_dfmAb_20C-SME_dfmAb, SME_dfmAb_217-SME_dfmAb dc.w SME_dfmAb_220-SME_dfmAb, SME_dfmAb_22B-SME_dfmAb dc.w SME_dfmAb_234-SME_dfmAb, SME_dfmAb_239-SME_dfmAb dc.w SME_dfmAb_23E-SME_dfmAb, SME_dfmAb_243-SME_dfmAb dc.w SME_dfmAb_248-SME_dfmAb, SME_dfmAb_255-SME_dfmAb dc.w SME_dfmAb_25C-SME_dfmAb, SME_dfmAb_269-SME_dfmAb dc.w SME_dfmAb_272-SME_dfmAb, SME_dfmAb_275-SME_dfmAb dc.w SME_dfmAb_278-SME_dfmAb, SME_dfmAb_27B-SME_dfmAb dc.w SME_dfmAb_27E-SME_dfmAb, SME_dfmAb_281-SME_dfmAb dc.w SME_dfmAb_286-SME_dfmAb, SME_dfmAb_289-SME_dfmAb dc.w SME_dfmAb_28E-SME_dfmAb, SME_dfmAb_291-SME_dfmAb dc.w SME_dfmAb_29C-SME_dfmAb, SME_dfmAb_2A7-SME_dfmAb dc.w SME_dfmAb_2B0-SME_dfmAb, SME_dfmAb_2B7-SME_dfmAb dc.w SME_dfmAb_2BE-SME_dfmAb, SME_dfmAb_2C5-SME_dfmAb dc.w SME_dfmAb_2C8-SME_dfmAb, SME_dfmAb_2CF-SME_dfmAb dc.w SME_dfmAb_2D6-SME_dfmAb, SME_dfmAb_2DD-SME_dfmAb dc.w SME_dfmAb_2E6-SME_dfmAb, SME_dfmAb_2EF-SME_dfmAb dc.w SME_dfmAb_2FA-SME_dfmAb, SME_dfmAb_305-SME_dfmAb dc.w SME_dfmAb_30A-SME_dfmAb, SME_dfmAb_311-SME_dfmAb dc.w SME_dfmAb_316-SME_dfmAb, SME_dfmAb_31D-SME_dfmAb dc.w SME_dfmAb_322-SME_dfmAb, SME_dfmAb_329-SME_dfmAb dc.w SME_dfmAb_330-SME_dfmAb, SME_dfmAb_33B-SME_dfmAb dc.w SME_dfmAb_346-SME_dfmAb, SME_dfmAb_34B-SME_dfmAb dc.w SME_dfmAb_352-SME_dfmAb, SME_dfmAb_355-SME_dfmAb dc.w SME_dfmAb_358-SME_dfmAb, SME_dfmAb_35B-SME_dfmAb dc.w SME_dfmAb_362-SME_dfmAb, SME_dfmAb_369-SME_dfmAb dc.w SME_dfmAb_370-SME_dfmAb, SME_dfmAb_377-SME_dfmAb dc.w SME_dfmAb_37C-SME_dfmAb, SME_dfmAb_37F-SME_dfmAb dc.w SME_dfmAb_382-SME_dfmAb, SME_dfmAb_385-SME_dfmAb dc.w SME_dfmAb_388-SME_dfmAb, SME_dfmAb_38B-SME_dfmAb dc.w SME_dfmAb_38E-SME_dfmAb, SME_dfmAb_39D-SME_dfmAb dc.w SME_dfmAb_3AC-SME_dfmAb, SME_dfmAb_3BB-SME_dfmAb dc.w SME_dfmAb_3C8-SME_dfmAb, SME_dfmAb_3D9-SME_dfmAb dc.w SME_dfmAb_3E8-SME_dfmAb, SME_dfmAb_3F9-SME_dfmAb dc.w SME_dfmAb_408-SME_dfmAb, SME_dfmAb_413-SME_dfmAb dc.w SME_dfmAb_420-SME_dfmAb, SME_dfmAb_42B-SME_dfmAb dc.w SME_dfmAb_436-SME_dfmAb, SME_dfmAb_449-SME_dfmAb dc.w SME_dfmAb_458-SME_dfmAb, SME_dfmAb_46B-SME_dfmAb dc.w SME_dfmAb_47C-SME_dfmAb, SME_dfmAb_48B-SME_dfmAb dc.w SME_dfmAb_498-SME_dfmAb, SME_dfmAb_4A9-SME_dfmAb dc.w SME_dfmAb_4BA-SME_dfmAb, SME_dfmAb_4C5-SME_dfmAb dc.w SME_dfmAb_4D0-SME_dfmAb, SME_dfmAb_4DB-SME_dfmAb dc.w SME_dfmAb_4E6-SME_dfmAb, SME_dfmAb_4F5-SME_dfmAb dc.w SME_dfmAb_500-SME_dfmAb, SME_dfmAb_50B-SME_dfmAb dc.w SME_dfmAb_514-SME_dfmAb, SME_dfmAb_51F-SME_dfmAb dc.w SME_dfmAb_528-SME_dfmAb, SME_dfmAb_531-SME_dfmAb dc.w SME_dfmAb_53C-SME_dfmAb, SME_dfmAb_549-SME_dfmAb SME_dfmAb_100: dc.b 0 SME_dfmAb_101: dc.b 4, $20, 0, $70, 3, $20, $B, $20, $E SME_dfmAb_10A: dc.b 3, $50, $11, $50, $17, $20, $1D SME_dfmAb_111: dc.b 3, $50, $20, $50, $17, $20, $1D SME_dfmAb_118: dc.b 3, $50, $20, $50, $17, $20, $26 SME_dfmAb_11F: dc.b 3, $80, $29, $20, $B, $20, $E SME_dfmAb_126: dc.b 4, $70, $32, $50, $3A, $50, $40, $10, $46 SME_dfmAb_12F: dc.b 2, $70, $32, $B0, $48 SME_dfmAb_134: dc.b 2, $50, $54, $80, $5A SME_dfmAb_139: dc.b 4, $50, $54, $50, $63, $50, $69, $10, $6F SME_dfmAb_142: dc.b 2, $50, $54, $B0, $71 SME_dfmAb_147: dc.b 3, $70, $32, $30, $7D, $50, $81 SME_dfmAb_14E: dc.b 5, $50, $87, $50, $8D, $20, $93, $50, $96, 0, $9C SME_dfmAb_159: dc.b 6, $50, $87, $10, $9D, $30, $9F, $50, $A3, $30, $A9, 0, $AD SME_dfmAb_166: dc.b 4, $50, $AE, $10, $B4, $70, $B6, $20, $BE SME_dfmAb_16F: dc.b 5, $50, $C1, $30, $C7, $70, $CB, $20, $D3, $10, $D6 SME_dfmAb_17A: dc.b 4, $50, $C1, $10, $D8, $70, $DA, $20, $E2 SME_dfmAb_183: dc.b 5, $50, $87, $10, $9D, 0, $93, $70, $E5, $20, $ED SME_dfmAb_18E: dc.b 4, $70, $F0, $50, $F8, $10, $FE, $51, 0 SME_dfmAb_197: dc.b 2, $70, $F0, $B1, 6 SME_dfmAb_19C: dc.b 2, $51, $12, $81, $18 SME_dfmAb_1A1: dc.b 4, $51, $12, $51, $21, $11, $27, $51, $29 SME_dfmAb_1AA: dc.b 2, $51, $12, $B1, $2F SME_dfmAb_1AF: dc.b 3, $70, $F0, 1, 6, $81, $3B SME_dfmAb_1B6: dc.b 6, $51, $44, $11, $4A, $11, $4C, $81, $4E, 1, $57, 1, $58 SME_dfmAb_1C3: dc.b 6, $51, $44, $21, $59, $11, $5C, $11, $5E, $81, $60, 1, $57 SME_dfmAb_1D0: dc.b 4, $51, $69, $11, $6F, $81, $71, $11, $7A SME_dfmAb_1D9: dc.b 5, $51, $7C, $21, $82, $11, $85, $71, $87, $21, $8F SME_dfmAb_1E4: dc.b 4, $51, $7C, $11, $92, $81, $94, $11, $9D SME_dfmAb_1ED: dc.b 5, $51, $44, $81, $9F, $11, $5E, $11, $A8, 1, $57 SME_dfmAb_1F8: dc.b 2, $51, $AA, $B1, $B0 SME_dfmAb_1FD: dc.b 2, $50, $54, $B1, $BC SME_dfmAb_202: dc.b 2, $51, $AA, $B1, $C8 SME_dfmAb_207: dc.b 2, $50, $54, $B1, $D4 SME_dfmAb_20C: dc.b 5, $51, $E0, $11, $E6, $B1, $E8, 1, $F4, $17, $FD SME_dfmAb_217: dc.b 4, $51, $F5, $11, $FB, $B1, $FD, $17, $FF SME_dfmAb_220: dc.b 5, $51, $E0, $12, 9, $B2, $B, 1, $F4, $18, 1 SME_dfmAb_22B: dc.b 4, $51, $F5, $11, $FB, $B2, $17, $18, 3 SME_dfmAb_234: dc.b 2, $52, $23, $B2, $29 SME_dfmAb_239: dc.b 2, $51, $12, $B2, $35 SME_dfmAb_23E: dc.b 2, $52, $23, $B2, $41 SME_dfmAb_243: dc.b 2, $51, $12, $B2, $4D SME_dfmAb_248: dc.b 6, $52, $59, $12, $5F, $B2, $61, 2, $6D, 8, 6, 8, 5 SME_dfmAb_255: dc.b 3, $72, $6E, $B2, $76, $18, 7 SME_dfmAb_25C: dc.b 6, $52, $59, $12, $82, $B2, $84, 2, $6D, 8, $A, 8, 9 SME_dfmAb_269: dc.b 4, $72, $6E, $B2, $90, 8, $C, 8, $B SME_dfmAb_272: dc.b 1, $F2, $9C SME_dfmAb_275: dc.b 1, $F2, $AC SME_dfmAb_278: dc.b 1, $F2, $BC SME_dfmAb_27B: dc.b 1, $F2, $CC SME_dfmAb_27E: dc.b 1, $F2, $DC SME_dfmAb_281: dc.b 2, $B2, $EC, $22, $F8 SME_dfmAb_286: dc.b 1, $F2, $FB SME_dfmAb_289: dc.b 2, $B3, $B, $23, $17 SME_dfmAb_28E: dc.b 1, $F3, $1A SME_dfmAb_291: dc.b 5, $27, $AB, $37, $AE, $37, $B2, $37, $B7, $37, $BC SME_dfmAb_29C: dc.b 5, $27, $C0, $37, $C3, $37, $C7, $37, $CC, $27, $D1 SME_dfmAb_2A7: dc.b 4, $13, $4D, $73, $4F, $23, $57, 3, $5A SME_dfmAb_2B0: dc.b 3, $23, $5B, $23, $5E, $F3, $61 SME_dfmAb_2B7: dc.b 3, $B3, $71, $73, $7D, 0, $71 SME_dfmAb_2BE: dc.b 3, $73, $85, $33, $8D, $23, $91 SME_dfmAb_2C5: dc.b 1, $83, $94 SME_dfmAb_2C8: dc.b 3, $73, $9D, 3, $A5, $33, $A6 SME_dfmAb_2CF: dc.b 3, $73, $AA, $33, $B2, $23, $B6 SME_dfmAb_2D6: dc.b 3, $B3, $B9, $13, $C5, 3, $C7 SME_dfmAb_2DD: dc.b 4, $B3, $C8, $33, $D4, 3, $D8, 3, $D9 SME_dfmAb_2E6: dc.b 4, $B3, $DA, $33, $E6, 3, $EA, 3, $EB SME_dfmAb_2EF: dc.b 5, $83, $EC, $13, $F5, $53, $F7, $13, $FD, 3, $FF SME_dfmAb_2FA: dc.b 5, $84, 0, $14, 9, $53, $F7, $13, $FD, 3, $FF SME_dfmAb_305: dc.b 2, $84, $B, $74, $14 SME_dfmAb_30A: dc.b 3, $84, $1C, $24, $25, $14, $28 SME_dfmAb_311: dc.b 2, $84, $2A, $74, $33 SME_dfmAb_316: dc.b 3, $84, $1C, $24, $3B, $14, $3E SME_dfmAb_31D: dc.b 2, $54, $40, $B4, $46 SME_dfmAb_322: dc.b 3, $84, $52, $34, $5B, 4, $5F SME_dfmAb_329: dc.b 3, $74, $60, $14, $68, $B4, $6A SME_dfmAb_330: dc.b 5, $74, $76, $14, $7E, $54, $80, $34, $86, 4, $8A SME_dfmAb_33B: dc.b 5, $74, $8B, $14, $7E, $54, $93, $34, $86, 4, $8A SME_dfmAb_346: dc.b 2, $24, $99, $F4, $9C SME_dfmAb_34B: dc.b 3, $24, $AC, $B4, $AF, $24, $BB SME_dfmAb_352: dc.b 1, $B4, $BE SME_dfmAb_355: dc.b 1, $54, $CA SME_dfmAb_358: dc.b 1, $14, $D0 SME_dfmAb_35B: dc.b 3, $73, $85, $33, $8D, $23, $91 SME_dfmAb_362: dc.b 3, $73, $9D, 3, $A5, $33, $A6 SME_dfmAb_369: dc.b 3, $B4, $D2, $14, $DE, $34, $E0 SME_dfmAb_370: dc.b 3, $54, $E4, $B4, $EA, $10, $6D SME_dfmAb_377: dc.b 2, $F4, $F6, $25, 6 SME_dfmAb_37C: dc.b 1, $F5, $10 SME_dfmAb_37F: dc.b 1, $F5, $20 SME_dfmAb_382: dc.b 1, $F5, $30 SME_dfmAb_385: dc.b 1, $F5, $40 SME_dfmAb_388: dc.b 1, $F5, $50 SME_dfmAb_38B: dc.b 1, $F5, $60 SME_dfmAb_38E: dc.b 7, $25, $7E, $35, $79, 5, $7D, $25, $76, 5, $74, $15, $72, $15, $70 SME_dfmAb_39D: dc.b 7, $35, $C3, 5, $C7, $35, $A3, $35, $BE, 5, $C2, $35, $B9, 5, $BD SME_dfmAb_3AC: dc.b 7, $35, $90, $35, $8B, 5, $8F, $35, $86, 5, $85, $35, $81, 5, $98 SME_dfmAb_3BB: dc.b 6, $35, $B0, 5, $B4, $35, $B5, $35, $AB, 5, $AF, $35, $A7 SME_dfmAb_3C8: dc.b 8, $26, $F1, $36, $F4, 6, $F8, $36, $F9, 6, $FD, $36, $FE, 7, 2, $27, 3 SME_dfmAb_3D9: dc.b 7, $37, 7, $37, $B, 7, $F, $37, $10, 7, $14, $37, $15, $37, $19 SME_dfmAb_3E8: dc.b 8, $26, $F1, $36, $F4, 6, $F8, $36, $F9, 6, $FD, $36, $FE, 7, 2, $27, 3 SME_dfmAb_3F9: dc.b 7, $37, $1D, $37, $21, 7, $25, $37, $26, 7, $2A, $37, $2B, $27, $2F SME_dfmAb_408: dc.b 5, $35, $EE, $35, $EA, $35, $E6, $35, $E2, $25, $DF SME_dfmAb_413: dc.b 6, $36, 1, $35, $FD, $35, $F9, $25, $F6, 5, $F5, $25, $F2 SME_dfmAb_420: dc.b 5, $35, $EE, $35, $EA, $35, $E6, $35, $E2, $25, $DF SME_dfmAb_42B: dc.b 5, $36, $13, $36, $F, $36, $B, $36, 7, $16, 5 SME_dfmAb_436: dc.b 9, $37, $32, 7, $36, $37, $37, 7, $3B, $37, $3D, 7, $41, $37, $43, $27, $48, 7, $3C SME_dfmAb_449: dc.b 7, $37, $4C, $37, $50, 7, $54, $37, $55, 7, $59, $37, $5A, 7, $5E SME_dfmAb_458: dc.b 9, $37, $32, 7, $36, $37, $37, 7, $3B, $37, $3D, 7, $41, $37, $43, $27, $48, 7, $3C SME_dfmAb_46B: dc.b 8, $37, $62, $37, $66, 7, $6A, $37, $6B, 7, $6F, $37, $70, 7, $74, $27, $75 SME_dfmAb_47C: dc.b 7, $16, $2B, $16, $29, $26, $25, 6, $28, $36, $21, $36, $1D, $26, $1A SME_dfmAb_48B: dc.b 6, $26, $3B, $26, $38, $26, $35, $26, $32, $16, $30, $16, $2E SME_dfmAb_498: dc.b 8, $16, $51, $26, $4D, 6, $50, $26, $49, $36, $41, $26, $3E, $26, $45, 6, $48 SME_dfmAb_4A9: dc.b 8, $16, $68, $26, $64, 6, $63, 6, $62, 6, $60, $26, $5C, $26, $58, $26, $54 SME_dfmAb_4BA: dc.b 5, $16, $7B, $36, $77, $36, $73, $36, $6F, $36, $6B SME_dfmAb_4C5: dc.b 5, $16, $8D, $36, $89, $36, $85, $36, $81, $36, $7D SME_dfmAb_4D0: dc.b 5, $26, $8F, $26, $92, $26, $95, $26, $98, $26, $9B SME_dfmAb_4DB: dc.b 5, $26, $9E, $26, $A1, $26, $A4, $26, $A7, $26, $AA SME_dfmAb_4E6: dc.b 7, $26, $AD, $26, $B0, $26, $B3, $26, $B7, $26, $BB, 6, $B6, 6, $BA SME_dfmAb_4F5: dc.b 5, $36, $BF, $26, $C3, $26, $C7, $26, $CB, $26, $CF SME_dfmAb_500: dc.b 5, $26, $D3, $26, $D6, $26, $D9, $26, $DD, $26, $E1 SME_dfmAb_50B: dc.b 4, $26, $E5, $26, $E8, $26, $EB, $26, $EE SME_dfmAb_514: dc.b 5, $37, $78, $27, $7C, $27, $80, $27, $83, $27, $87 SME_dfmAb_51F: dc.b 4, $37, $8A, $37, $8E, $27, $96, $27, $92 SME_dfmAb_528: dc.b 4, $37, $99, 7, $9D, $37, $9E, $27, $A3 SME_dfmAb_531: dc.b 5, $27, $99, $27, $9E, $27, $A3, $17, $A7, $17, $A9 SME_dfmAb_53C: dc.b 6, $27, $D4, $37, $D7, 7, $DB, $37, $DC, $37, $E1, $27, $E6 SME_dfmAb_549: dc.b 5, $27, $EA, $37, $ED, $37, $F1, $27, $F5, $27, $F9 even
58.543147
152
0.615451
beb0285cf621fb8ead2ed3d0d55d909bdbf9c41e
1,146
asm
Assembly
programs/oeis/016/A016993.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/016/A016993.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/016/A016993.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A016993: a(n) = 7*n+1. ; 1,8,15,22,29,36,43,50,57,64,71,78,85,92,99,106,113,120,127,134,141,148,155,162,169,176,183,190,197,204,211,218,225,232,239,246,253,260,267,274,281,288,295,302,309,316,323,330,337,344,351,358,365,372,379,386,393,400,407,414,421,428,435,442,449,456,463,470,477,484,491,498,505,512,519,526,533,540,547,554,561,568,575,582,589,596,603,610,617,624,631,638,645,652,659,666,673,680,687,694,701,708,715,722,729,736,743,750,757,764,771,778,785,792,799,806,813,820,827,834,841,848,855,862,869,876,883,890,897,904,911,918,925,932,939,946,953,960,967,974,981,988,995,1002,1009,1016,1023,1030,1037,1044,1051,1058,1065,1072,1079,1086,1093,1100,1107,1114,1121,1128,1135,1142,1149,1156,1163,1170,1177,1184,1191,1198,1205,1212,1219,1226,1233,1240,1247,1254,1261,1268,1275,1282,1289,1296,1303,1310,1317,1324,1331,1338,1345,1352,1359,1366,1373,1380,1387,1394,1401,1408,1415,1422,1429,1436,1443,1450,1457,1464,1471,1478,1485,1492,1499,1506,1513,1520,1527,1534,1541,1548,1555,1562,1569,1576,1583,1590,1597,1604,1611,1618,1625,1632,1639,1646,1653,1660,1667,1674,1681,1688,1695,1702,1709,1716,1723,1730,1737,1744 mov $1,$0 mul $1,7 add $1,1
163.714286
1,091
0.756545
c3a10d09eca4ad1f9cfe80f4530f9859d85adb01
1,288
asm
Assembly
Source/b1ub.asm
Prof9/Boktai-Solar-Sensor-Patches
ebf912d9dd69dc9953ee361b281be839d919ead6
[ "MIT" ]
55
2016-06-26T21:06:36.000Z
2022-02-10T20:07:21.000Z
Source/b1ub.asm
Prof9/boktai-solar-sensor-patches
ebf912d9dd69dc9953ee361b281be839d919ead6
[ "MIT" ]
1
2021-09-23T19:58:17.000Z
2021-09-23T19:58:17.000Z
Source/b1ub.asm
Prof9/boktai-solar-sensor-patches
ebf912d9dd69dc9953ee361b281be839d919ead6
[ "MIT" ]
6
2016-08-19T00:24:18.000Z
2021-12-27T02:13:37.000Z
.gba .open "Clean\Boktai 1 (U)(Beta).gba","Boktai 1 (U)(Beta)(Hack).gba",0x08000000 .org 0x080000D4 // sunlight changer .area 0xCC ldr r0,=30046D4h ldr r0,[r0] // r0 = sunlight bl 801212Ch // r0 = amount of bars ldr r1,=3004620h ldrh r2,[r1] // r2 = BUTTON_HELD ldrh r1,[r1,2h] // r1 = BUTTON_DOWN ldr r3,=101h and r2,r3 cmp r2,r3 // if R+A held bne @@sunwrite @@righttest: mov r3,10h tst r1,r3 beq @@lefttest cmp r0,8h bge @@sunwrite add r0,1h @@lefttest: mov r3,20h tst r1,r3 beq @@sunwrite cmp r0,0h ble @@sunwrite sub r0,1h @@sunwrite: add r3,=dataarea ldrb r3,[r3,r0] ldr r1,=30046D4h str r3,[r1] @@end: pop r15 .pool dataarea: dcb 0x00,0x04,0x0B,0x15,0x23,0x35,0x4E,0x6F,0x82 .endarea .org 0x08192D38 // hook bl 80000D4h .org 0x08012130 // treat negative as empty gauge bgt 8012136h .org 0x08012178 // treat negative as empty gauge bgt 801217Eh .org 0x080121EA // skip sunlight value adjustment b 801220Ah .org 0x08012004 // set default sensor calibration value mov r0,0E6h nop .org 0x08197AA4 // stop sensor from saving sunlight value nop .org 0x08197930 // skip solar sensor reset nop .org 0x08197B34 // skip solar sensor reset nop .org 0x08197B68 // skip solar sensor reset nop // there doesn't seem to be a "Solar Sensor is broken" screen in the beta .close
16.512821
78
0.721273
e310c23666eb2fea09f8be8f8f895e0b6057af06
332
asm
Assembly
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_ix/esx_f_read_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_ix/esx_f_read_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_ix/esx_f_read_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; uint16_t esx_f_read(unsigned char handle, void *dst, size_t nbytes) SECTION code_esxdos PUBLIC _esx_f_read_callee PUBLIC l0_esx_f_read_callee EXTERN asm_esx_f_read _esx_f_read_callee: pop de dec sp pop af pop hl pop bc push de l0_esx_f_read_callee: push ix call asm_esx_f_read pop ix ret
12.296296
69
0.73494
b8a02f2ef55a930a79d237922a70c1532c88e450
8,659
asm
Assembly
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1433.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1433.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_1433.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 %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x11b47, %rsi lea addresses_A_ht+0x14395, %rdi nop cmp %r12, %r12 mov $74, %rcx rep movsw nop nop nop nop and %r13, %r13 lea addresses_normal_ht+0x2695, %r8 nop nop nop nop nop and $9599, %r15 mov (%r8), %rcx nop nop nop nop nop sub %rcx, %rcx lea addresses_A_ht+0x12995, %r12 nop and $1014, %rcx mov $0x6162636465666768, %r8 movq %r8, (%r12) nop inc %rdi lea addresses_WT_ht+0x8175, %r13 nop nop nop nop nop and $29579, %r12 mov $0x6162636465666768, %rdi movq %rdi, %xmm0 movups %xmm0, (%r13) nop nop nop nop sub %rcx, %rcx lea addresses_D_ht+0x992, %rcx nop cmp $4770, %rsi mov (%rcx), %r8 xor %r13, %r13 lea addresses_D_ht+0x15a55, %rsi nop nop nop sub $17317, %r8 movb (%rsi), %r13b nop nop xor $21350, %rsi lea addresses_normal_ht+0x1a895, %rsi lea addresses_UC_ht+0x1b595, %rdi nop nop nop add %r10, %r10 mov $24, %rcx rep movsq dec %rdi lea addresses_WC_ht+0x3215, %rsi lea addresses_D_ht+0xfb2d, %rdi add %r8, %r8 mov $76, %rcx rep movsw nop and %r10, %r10 lea addresses_UC_ht+0xf95, %r12 nop nop nop nop sub $24172, %rsi movb $0x61, (%r12) nop inc %r10 lea addresses_D_ht+0x87d5, %rsi lea addresses_A_ht+0xeb6d, %rdi nop nop and $30819, %r8 mov $63, %rcx rep movsl nop dec %rsi lea addresses_normal_ht+0x122a5, %r15 nop nop nop add $9406, %r10 vmovups (%r15), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $0, %xmm6, %rcx sub %r12, %r12 lea addresses_UC_ht+0x1cb15, %rsi lea addresses_WT_ht+0x14095, %rdi nop nop nop xor $61371, %r13 mov $55, %rcx rep movsl cmp $12143, %r8 lea addresses_UC_ht+0x1d445, %r15 nop nop nop and $63444, %r12 movb $0x61, (%r15) nop nop dec %r8 pop %rsi pop %rdi pop %rcx pop %r8 pop %r15 pop %r13 pop %r12 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %r9 push %rbp push %rdi push %rsi // Store lea addresses_WT+0x7dd, %r9 add $58537, %r15 movb $0x51, (%r9) nop nop nop nop nop add %rbp, %rbp // Store lea addresses_WT+0x14d55, %rsi nop nop nop cmp %r11, %r11 movw $0x5152, (%rsi) nop nop nop nop add %rbp, %rbp // Load mov $0x46883a000000080d, %r11 nop nop nop nop xor $26513, %rbp vmovups (%r11), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $1, %xmm0, %r15 nop nop nop inc %r9 // Store lea addresses_US+0xd93d, %r11 nop nop nop and %r10, %r10 movl $0x51525354, (%r11) nop nop add %rbp, %rbp // Load lea addresses_WT+0x20ad, %rbp add %r11, %r11 mov (%rbp), %edi nop inc %r11 // Store lea addresses_PSE+0x1e395, %r9 add %rsi, %rsi mov $0x5152535455565758, %rdi movq %rdi, (%r9) nop nop nop xor $8649, %rdi // Faulty Load lea addresses_PSE+0x1e395, %r9 sub $33443, %rdi mov (%r9), %si lea oracles, %r9 and $0xff, %rsi shlq $12, %rsi mov (%r9,%rsi,1), %rsi pop %rsi pop %rdi pop %rbp pop %r9 pop %r15 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 3, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': True, 'congruent': 5, 'size': 2, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 2, 'size': 32, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 1, 'size': 4, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 1, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': True, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 8, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 9, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 5, 'size': 16, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 6, 'size': 1, 'same': True, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 8, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 4, 'size': 32, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 2, 'size': 1, 'same': False, 'NT': False}} {'58': 21829} 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 */
32.552632
2,999
0.651576
349f4825b1ddff5126e9acdbb277275d26748bf3
937
asm
Assembly
Project 2/src/Project/part2.1.asm
Nurl4n/Computer-Organization
1655d2e35dd5093e6c348545db06f698f2edb86c
[ "MIT" ]
null
null
null
Project 2/src/Project/part2.1.asm
Nurl4n/Computer-Organization
1655d2e35dd5093e6c348545db06f698f2edb86c
[ "MIT" ]
null
null
null
Project 2/src/Project/part2.1.asm
Nurl4n/Computer-Organization
1655d2e35dd5093e6c348545db06f698f2edb86c
[ "MIT" ]
null
null
null
.data enterSize: .asciiz "Enter the length of the array: " enterInput: .asciiz "Enter the value(s): " elements: .asciiz "The element(s) of array: " space: .asciiz " " .text li $v0, 4 la $a0, enterSize syscall li $v0, 5 syscall # Keeps the length of the array move $v1, $v0 # Keeps the length of the array in a temporary register $t0 move $t0, $v1 # Creates new array move $a0, $v1 li $v0, 9 syscall # Strores array address in $s0 move $s0, $v0 # Strores array address in $s1 move $s1, $s0 loop: beq $t0, 0, exitLoop li $v0, 4 la $a0, enterInput syscall li $v0, 5 syscall sw $v0, 0($s0) addi $s0, $s0, 4 addi $t0, $t0, -1 j loop exitLoop: move $t0, $v1 li $v0, 4 la $a0, elements syscall print: beq $t0, 0, exitPrint li $v0, 1 lw $a0, 0($s1) syscall li $v0, 4 la $a0, space syscall addi $s1, $s1, 4 addi $t0, $t0, -1 j print exitPrint:
14.19697
60
0.596585
7f53beeabee4d2b2dcd0b850e2504393a0cf6949
4,072
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1973.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1973.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1973.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 %rcx push %rdi push %rsi lea addresses_WC_ht+0x1dd13, %rsi lea addresses_A_ht+0x10a51, %rdi and $19597, %r10 mov $34, %rcx rep movsl nop sub $64470, %rsi pop %rsi pop %rdi pop %rcx pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r15 push %rdi push %rdx push %rsi // Faulty Load lea addresses_RW+0x7b13, %rsi clflush (%rsi) nop nop nop nop nop and %r10, %r10 movb (%rsi), %r14b lea oracles, %r15 and $0xff, %r14 shlq $12, %r14 mov (%r15,%r14,1), %r14 pop %rsi pop %rdx pop %rdi pop %r15 pop %r14 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_RW', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_RW', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}} {'32': 21829} 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 */
65.677419
2,999
0.664047
2e80458f786d0a3f189e2bf2ea88711467be1a55
52,803
asm
Assembly
Chip16 Program Pack/Demos/ASCII/ASCII.asm
faouellet/CHIP-16
f85aed30d849052ac057092b124321953de80db6
[ "BSD-3-Clause" ]
2
2015-02-23T08:45:16.000Z
2015-06-28T22:05:17.000Z
Chip16 Program Pack/Demos/ASCII/ASCII.asm
faouellet/CHIP-16
f85aed30d849052ac057092b124321953de80db6
[ "BSD-3-Clause" ]
null
null
null
Chip16 Program Pack/Demos/ASCII/ASCII.asm
faouellet/CHIP-16
f85aed30d849052ac057092b124321953de80db6
[ "BSD-3-Clause" ]
null
null
null
;Ascii support for Chip16 ver 0.5 ;Shendo 2010 - 2011 ; ;Registers ra-rf are reserved for printing strings. ;Registers r0-r9 are free to use. ; cls ;Start clean spr #0F05 ;10x15 px sprites :start ;Start of the program ldi ra,10 ;X coordinate ldi rb,10 ;Y coordinate ldi rc,#AAAA ;Green color ldi rd,string_data_0 ;Pointer to the "Hello World" string call print_string ;Draw string on screen ldi ra,10 ;X coordinate ldi rb,50 ;Y coordinate ldi rc,#FFFF ;White color ldi rd,string_data_1 ;Pointer to the "The quick brown fox" string call print_string ;Draw string on screen ldi ra,10 ;X coordinate ldi rb,65 ;Y coordinate ldi rc,#FFFF ;White color ldi rd,string_data_2 ;Pointer to the "jumps over the lazy dog" string call print_string ;Draw string on screen :loop jmp loop ;Endless loop :print_string ;Print string on screen ldi re,font_data ;Pointer to the graphic data ldm rf,rd ;Get ascii code andi rf,255 ;Use only low part of the data jz print_end ;If the char is null stop printing subi rf,32 ;Convert to char offset jc print_end ;If the char is below zero it's unprintable muli rf,75 ;Convert char offset to byte offset add re,rf ;Get the char sprite address call copy_to_cache ;Copy char data to cache drw ra,rb,font_cache ;Draw char on screen addi ra,8 ;Increase X offset addi rd,1 ;Point to next char jmp print_string ;Print next char :print_end ret :copy_to_cache stm ra,var_cache0 ;Store register data stm rb,var_cache1 stm rd,var_cache2 ldi ra,38 ;Word counter ldi rb,font_cache ;Data cache pointer :copy_loop ldm rd,re ;Copy data to temp buffer and rd,rc ;Apply desired color to the sprite stm rd,rb ;Store modified data addi re,2 ;Go to next word addi rb,2 ;Point to next word in data cache subi ra,1 ;Decrease counter jz copy_end ;Desired data has been cached, end process jmp copy_loop ;Go to next word :copy_end ldm ra,var_cache0 ;Recover register data ldm rb,var_cache1 ldm rd,var_cache2 ret :var_cache0 db #00 db #00 :var_cache1 db #00 db #00 :var_cache2 db #00 db #00 :string_data_0 db #48 ;H db #65 ;e db #6C ;l db #6C ;l db #6F ;o db #20 ; db #57 ;W db #6F ;o db #72 ;r db #6C ;l db #64 ;d db #21 ;! db #00 ;Null :string_data_1 db #54 ;T db #68 ;h db #65 ;e db #20 ; db #71 ;q db #75 ;u db #69 ;i db #63 ;c db #6B ;k db #20 ; db #62 ;b db #72 ;r db #6F ;o db #77 ;w db #6E ;n db #20 ; db #66 ;f db #6F ;o db #78 ;x db #00 ;Null :string_data_2 db #6A ;j db #75 ;u db #6D ;m db #70 ;p db #73 ;s db #20 ; db #6F ;o db #76 ;v db #65 ;e db #72 ;r db #20 ; db #74 ;t db #68 ;h db #65 ;e db #20 ; db #6C ;l db #61 ;a db #7A ;z db #79 ;y db #20 ; db #64 ;d db #6F ;o db #67 ;g db #2E ;. db #00 ;Null :font_data db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #0F db #FF db #FF db #FF db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #0F db #FF db #FF db #FF db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #F0 db #00 db #0F db #FF db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #FF db #F0 db #00 db #0F db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #00 db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #F0 db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #00 db #FF db #F0 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #FF db #FF db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #F0 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #0F db #FF db #00 db #00 db #0F db #FF db #FF db #FF db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #FF db #00 db #FF db #00 db #00 db #FF db #0F db #FF db #00 db #00 db #FF db #0F db #FF db #00 db #00 db #FF db #00 db #FF db #00 db #00 db #FF db #F0 db #FF db #00 db #00 db #FF db #F0 db #FF db #00 db #00 db #FF db #00 db #FF db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #FF db #00 db #00 db #FF db #00 db #FF db #00 db #00 db #FF db #00 db #FF db #00 db #FF db #FF db #00 db #FF db #0F db #F0 db #FF db #00 db #FF db #0F db #F0 db #FF db #00 db #FF db #00 db #FF db #FF db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #FF db #0F db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #FF db #00 db #FF db #00 db #0F db #FF db #F0 db #FF db #00 db #0F db #F0 db #FF db #FF db #00 db #0F db #F0 db #0F db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #0F db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #F0 db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #0F db #F0 db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #FF db #F0 db #00 db #0F db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #FF db #F0 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #0F db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #0F db #F0 db #F0 db #FF db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #FF db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #FF db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #0F db #F0 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #FF db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #FF db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #0F db #F0 db #00 db #00 db #00 db #FF db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #0F db #FF db #00 db #0F db #00 db #FF db #0F db #F0 db #FF db #00 db #F0 db #00 db #FF db #F0 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 db #00 :font_cache ;Copied font data is stored here
7.274142
70
0.576047
e322a2ff011adb858fdc3bff654d3c6c27661e9e
541
asm
Assembly
src/key.asm
Mochongli/evil-mhyprot-cli
628470626532d663a1f557b5048b319266f70f75
[ "MIT" ]
91
2020-10-18T07:59:47.000Z
2022-03-08T18:34:04.000Z
src/key.asm
c3358/libmhyprot
940d59beb1ac31b87afe986d415a5b42705c3190
[ "MIT" ]
5
2020-10-18T15:59:02.000Z
2021-08-13T13:27:17.000Z
src/key.asm
c3358/libmhyprot
940d59beb1ac31b87afe986d415a5b42705c3190
[ "MIT" ]
36
2020-10-18T17:13:54.000Z
2022-03-30T10:16:00.000Z
.code generate_key proc mov rdx, rcx mov rax, 22AAAA8A20000h shr rdx, 0Ch mov r8, 555555555h and rdx, rax mov rax, rcx shl rax, 11h xor rdx, rax mov rax, 71D67FFFEDA60000h and rdx, rax mov rax, rcx shr rax, 1Dh and rax, r8 xor rdx, rax xor rdx, rcx mov rax, rdx mov rcx, rdx and eax, 7FFBF40h shr rcx, 25h xor rax, rcx mov rcx, rdx shr rax, 6 and rcx, 0FFFFFFFFFFFFBF77h shl rcx, 25h xor rax, rcx xor rax, rdx ret generate_key endp end
16.393939
31
0.598891
31d4f9720c4680f7ced8e0110bccb72c22ad49c1
351
asm
Assembly
programs/oeis/104/A104739.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/104/A104739.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/104/A104739.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A104739: Positions of records in A104717. ; 1,2,3,4,6,7,8,11,12,14,16,19,20,23,24,27,31,32,35,38,43,44,47,48,51,56,60,62,64,70,71,75,80,83,87,88,91,96,103,107,110,111,115,123,124,127,135,139,140,147,148,152,163,164,166,174,179,180,184,188,192 mul $0,2 lpb $0 add $1,1 mul $1,$0 sub $0,1 div $1,$0 sub $0,1 lpe div $1,2 add $1,1 mov $0,$1
23.4
200
0.638177
bea2030916e10e31e35269da33a6ba639fa40369
617
asm
Assembly
oeis/161/A161199.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/161/A161199.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/161/A161199.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A161199: Numerators in expansion of (1-x)^(-5/2). ; 1,5,35,105,1155,3003,15015,36465,692835,1616615,7436429,16900975,152108775,339319575,1502700975,3305942145,115707975075,251835004575,1091285019825,2354878200675,20251952525805,43397041126725,185423721177825,395033145117975,6715563467005575,14236994550051819,60233438480988465,127159481237642315,1071772770431556655,2254418586080170895,9468558061536717759,19853428193544730785,1330179688967496962595,2781284804204766376335,11615954182266965454105,24227561580156813661419,201896346501306780511825 seq $0,2802 ; a(n) = (2*n+3)!/(6*n!*(n+1)!). lpb $0 dif $0,2 lpe
77.125
496
0.844408
5c289259860d576b37853e5029d2729f784f9b46
26,644
asm
Assembly
astro_turret_3_data.asm
nealvis/astroblast
521b5300c4b00d96971ed72106de79e7b9f9250d
[ "MIT" ]
null
null
null
astro_turret_3_data.asm
nealvis/astroblast
521b5300c4b00d96971ed72106de79e7b9f9250d
[ "MIT" ]
null
null
null
astro_turret_3_data.asm
nealvis/astroblast
521b5300c4b00d96971ed72106de79e7b9f9250d
[ "MIT" ]
null
null
null
////////////////////////////////////////////////////////////////////////////// // astro_turret_3_data.asm // Copyright(c) 2021 Neal Smith. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // file contains the data for turret 3 frames as they are stepped through. #importonce #import "../nv_c64_util/nv_color_macs.asm" #import "../nv_c64_util/nv_screen_rect_macs.asm" ///////////////// // turret 3 consts and variables .const TURRET_3_START_ROW = 10 .const TURRET_3_START_COL = 37 .const TURRET_3_X_VEL = -3 .const TURRET_3_Y_VEL = -1 .const TURRET_3_CHAR_MEM_START = 1024 + (TURRET_3_START_ROW * 40) + 37 // 1461 .const TURRET_3_COLOR_MEM_START = $D800 + (TURRET_3_CHAR_MEM_START - 1024) .const TURRET_3_MEM_VEL = ((40*TURRET_3_Y_VEL) + (TURRET_3_X_VEL)) //-43 .const TURRET_3_COLOR = NV_COLOR_YELLOW // 3 chars make up turret 3 bullets, all beside each other on the row // the right most is specified here the two beside it the next two chars // in the set .const TURRET_3_CHAR_RIGHT = $25 // number of raster frames for turret effect .const TURRET_3_FRAMES=12 // when turret shot starts this will be non zero and count down each frame // TurretStep will decrement it. turret_3_count: .byte $00 .function DeathRectLeftT3(frame_num) { .var char_col = TURRET_3_START_COL - ((frame_num-1) * 3) .var char_row = TURRET_3_START_ROW - (frame_num -1) .var screen_left = nv_screen_rect_char_to_screen_pixel_left(char_col, char_row) .eval screen_left = screen_left - 16 // two chars to the left .eval screen_left = screen_left + 4 .return screen_left } .function DeathRectTopT3(frame_num) { .var char_col = TURRET_3_START_COL - ((frame_num-1) * 3) .var char_row = TURRET_3_START_ROW - (frame_num -1) .var screen_top = nv_screen_rect_char_to_screen_pixel_top(char_col, char_row) .eval screen_top = screen_top + 3 .return screen_top } .function DeathRectRightT3(frame_num) { .var char_col = TURRET_3_START_COL - ((frame_num-1) * 3) .var char_row = TURRET_3_START_ROW - (frame_num -1) .var screen_right = nv_screen_rect_char_to_screen_pixel_right(char_col, char_row) .eval screen_right = screen_right - 4 .return screen_right } .function DeathRectBottomT3(frame_num) { .var char_col = TURRET_3_START_COL - ((frame_num-1) * 3) .var char_row = TURRET_3_START_ROW - (frame_num -1) .var screen_bottom = nv_screen_rect_char_to_screen_pixel_bottom(char_col, char_row) .eval screen_bottom = screen_bottom - 3 .return screen_bottom } turret_3_all_color_stream: .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*0) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*1) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*2) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*3) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*4) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*5) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*6) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*7) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*8) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*9) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*10) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*0) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*1) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*2) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*3) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*4) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*5) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*6) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*7) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*8) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*9) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*10) - 1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*0) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*1) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*2) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*3) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*4) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*5) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*6) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*7) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*8) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*9) - 2 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL*10) - 2 .word $FFFF // stream command marker .byte $FF // stream quit command // table of the addresses of all the streams for each frame for turret 2 Turret3StreamAddrTable: .word turret_3_stream_frame_1 .word turret_3_stream_frame_2 .word turret_3_stream_frame_3 .word turret_3_stream_frame_4 .word turret_3_stream_frame_5 .word turret_3_stream_frame_6 .word turret_3_stream_frame_7 .word turret_3_stream_frame_8 .word turret_3_stream_frame_9 .word turret_3_stream_frame_10 .word turret_3_stream_frame_11 .word turret_3_stream_frame_12 turret_3_stream_frame_1: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 0) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 0)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 0)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 0) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 0)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 0)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(1) .word DeathRectTopT3(1) .word DeathRectRightT3(1) .word DeathRectBottomT3(1) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_2: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 1) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 1)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 1)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 1) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 1)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 1)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 0) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 0)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 0)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(2) .word DeathRectTopT3(2) .word DeathRectRightT3(2) .word DeathRectBottomT3(2) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_3: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 2) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 2)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 2)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 2) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 2)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 2)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 1) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 1)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 1)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(3) .word DeathRectTopT3(3) .word DeathRectRightT3(3) .word DeathRectBottomT3(3) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_4: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 3) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 3)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 3)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 3) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 3)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 3)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 2) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 2)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 2)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(4) .word DeathRectTopT3(4) .word DeathRectRightT3(4) .word DeathRectBottomT3(4) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_5: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 4) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 4)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 4)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 4) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 4)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 4)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 3) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 3)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 3)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(5) .word DeathRectTopT3(5) .word DeathRectRightT3(5) .word DeathRectBottomT3(5) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_6: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 5) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 5)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 5)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 5) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 5)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 5)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 4) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 4)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 4)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(6) .word DeathRectTopT3(6) .word DeathRectRightT3(6) .word DeathRectBottomT3(6) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_7: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 6) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 6)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 6)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 6) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 6)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 6)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 5) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 5)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 5)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(7) .word DeathRectTopT3(7) .word DeathRectRightT3(7) .word DeathRectBottomT3(7) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_8: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 7) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 7)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 7)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 7) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 7)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 7)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 6) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 6)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 6)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(8) .word DeathRectTopT3(8) .word DeathRectRightT3(8) .word DeathRectBottomT3(8) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_9: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 8) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 8)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 8)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 8) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 8)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 8)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 7) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 7)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 7)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(9) .word DeathRectTopT3(9) .word DeathRectRightT3(9) .word DeathRectBottomT3(9) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_10: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 9) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 9)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 9)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 9) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 9)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 9)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 8) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 8)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 8)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(10) .word DeathRectTopT3(10) .word DeathRectRightT3(10) .word DeathRectBottomT3(10) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_11: // poke the bullet char .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 10) .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+1 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 10)-1 .word $FFFF // stream command marker .byte $01, TURRET_3_CHAR_RIGHT+2 // new source byte is the bullet char .word TURRET_3_CHAR_MEM_START + (TURRET_3_MEM_VEL * 10)-2 // poke the bullet color .word $FFFF // stream command marker .byte $01, TURRET_3_COLOR .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 10) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 10)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 10)-2 // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 9) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 9)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 9)-2 // set the rect for this frame .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word DeathRectLeftT3(11) .word DeathRectTopT3(11) .word DeathRectRightT3(11) .word DeathRectBottomT3(11) .word $FFFF // stream command marker .byte $FF // stream quit command turret_3_stream_frame_12: // no bullet at this frame its off the screen, just erase last frame // clear previous frame's bullet color .word $FFFF // stream command marker .byte $FE // new source byte is background color .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 10) .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 10)-1 .word TURRET_3_COLOR_MEM_START + (TURRET_3_MEM_VEL * 10)-2 // set the rect for this frame, no death rect so clear it. .word $FFFF .byte $02, $08 // blk copy command for 8 bytes .word turret_3_bullet_rect // dest base for block copy .word $0000, $0000, $0000, $0000 .word $FFFF // stream command marker .byte $FF // stream quit command ////////////////////////////////////////////////////////////////////////////// // Data that will be modified via this wind effect and the main program can // take actions upon // the death rectangle for bullet 2. Turret step will update this // rect as the bullet travels. the main engine can check this rectangle // for overlap with sprites and act accordingly. turret_3_bullet_rect: .word $0000, $0000 // (left, top) .word $0000, $0000 // (right, bottom)
46.017271
87
0.612858
24e8960fedfc861f1ead7ffad5d548a6f1f43a86
2,978
asm
Assembly
programs/oeis/212/A212838.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212838.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212838.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A212838: Number of 0..n arrays of length 5 with 0 never adjacent to n. ; 2,99,634,2309,6306,14407,29114,53769,92674,151211,235962,354829,517154,733839,1017466,1382417,1844994,2423539,3138554,4012821,5071522,6342359,7855674,9644569,11745026,14196027,17039674,20321309,24089634,28396831,33298682,38854689,45128194,52186499,60100986,68947237,78805154,89759079,101897914,115315241,130109442,146383819,164246714,183811629,205197346,228528047,253933434,281548849,311515394,343980051,379095802,417021749,457923234,501971959,549346106,600230457,654816514,713302619,775894074,842803261,914249762,990460479,1071669754,1158119489,1250059266,1347746467,1451446394,1561432389,1677985954,1801396871,1931963322,2069992009,2215798274,2369706219,2532048826,2703168077,2883415074,3073150159,3272743034,3482572881,3703028482,3934508339,4177420794,4432184149,4699226786,4978987287,5271914554,5578467929,5899117314,6234343291,6584637242,6950501469,7332449314,7731005279,8146705146,8580096097,9031736834,9502197699,9992060794,10501920101,11032381602,11584063399,12157595834,12753621609,13372795906,14015786507,14683273914,15375951469,16094525474,16839715311,17612253562,18412886129,19242372354,20101485139,20991011066,21911750517,22864517794,23850141239,24869463354,25923340921,27012645122,28138261659,29301090874,30502047869,31742062626,33022080127,34343060474,35705979009,37111826434,38561608931,40056348282,41597081989,43184863394,44820761799,46505862586,48241267337,50028093954,51867476779,53760566714,55708531341,57712555042,59773839119,61893601914,64073078929,66313522946,68616204147,70982410234,73413446549,75910636194,78475320151,81108857402,83812625049,86588018434,89436451259,92359355706,95358182557,98434401314,101589500319,104824986874,108142387361,111543247362,115029131779,118601624954,122262330789,126012872866,129854894567,133790059194,137820050089,141946570754,146171344971,150496116922,154922651309,159452733474,164088169519,168830786426,173682432177,178644975874,183720307859,188910339834,194217004981,199642258082,205188075639,210856455994,216649419449,222569008386,228617287387,234796343354,241108285629,247555246114,254139379391,260862862842,267727896769,274736704514,281891532579,289194650746,296648352197,304254953634,312016795399,319936241594,328015680201,336257523202,344664206699,353238191034,361981960909,370898025506,379988918607,389257198714,398705449169,408336278274,418152319411 mov $3,$0 add $0,2 lpb $0,1 mov $2,$0 sub $0,1 add $1,$2 add $1,$0 lpe mul $1,2 sub $1,6 mov $4,$3 mov $7,8 lpb $7,1 add $1,$4 sub $7,1 lpe mov $6,$3 lpb $6,1 add $5,$4 sub $6,1 lpe mov $4,$5 mov $7,36 lpb $7,1 add $1,$4 sub $7,1 lpe mov $5,0 mov $6,$3 lpb $6,1 add $5,$4 sub $6,1 lpe mov $4,$5 mov $7,32 lpb $7,1 add $1,$4 sub $7,1 lpe mov $5,0 mov $6,$3 lpb $6,1 add $5,$4 sub $6,1 lpe mov $4,$5 mov $7,10 lpb $7,1 add $1,$4 sub $7,1 lpe mov $5,0 mov $6,$3 lpb $6,1 add $5,$4 sub $6,1 lpe mov $4,$5 mov $7,1 lpb $7,1 add $1,$4 sub $7,1 lpe
44.447761
2,317
0.82505
2c6c343d5f24cf23358fa74d313a59d5c4d302d3
4,892
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_814.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_814.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_814.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %r9 push %rbx push %rdx lea addresses_A_ht+0x165a9, %r9 clflush (%r9) nop nop nop nop cmp $33149, %r11 movl $0x61626364, (%r9) nop nop cmp %r12, %r12 lea addresses_WT_ht+0xcba9, %r15 nop nop nop nop and $31433, %r13 vmovups (%r15), %ymm4 vextracti128 $1, %ymm4, %xmm4 vpextrq $1, %xmm4, %rbx nop nop nop and %r11, %r11 pop %rdx pop %rbx pop %r9 pop %r15 pop %r13 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %r9 push %rbp push %rbx push %rcx // Store lea addresses_UC+0x93e9, %r9 nop nop nop nop nop inc %rbx mov $0x5152535455565758, %r11 movq %r11, %xmm3 vmovups %ymm3, (%r9) nop nop nop inc %rbx // Load lea addresses_normal+0xa669, %r11 nop nop inc %rbp movups (%r11), %xmm3 vpextrq $0, %xmm3, %r9 nop add %rbx, %rbx // Faulty Load lea addresses_D+0x7da9, %r13 inc %r11 movb (%r13), %r9b lea oracles, %rbx and $0xff, %r9 shlq $12, %r9 mov (%rbx,%r9,1), %r9 pop %rcx pop %rbx pop %rbp pop %r9 pop %r14 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_D', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 6, 'type': 'addresses_UC', 'AVXalign': False, 'size': 32}} {'src': {'NT': False, 'same': True, 'congruent': 5, 'type': 'addresses_normal', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'} [Faulty Load] {'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_D', 'AVXalign': True, 'size': 1}, 'OP': 'LOAD'} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}} {'src': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'} {'36': 21829} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
44.472727
2,999
0.658626
43e4292a297119c13a2c95366ec1733d9f921a81
1,981
asm
Assembly
Tommimon/01/main.asm
Tommimon/advent-of-code-2020
e2337c95b87b7368ba34c5dc4e714b1376594beb
[ "MIT" ]
3
2020-11-29T20:44:02.000Z
2021-11-30T11:30:25.000Z
Tommimon/01/main.asm
Tommimon/advent-of-code-2020
e2337c95b87b7368ba34c5dc4e714b1376594beb
[ "MIT" ]
2
2020-12-02T18:48:22.000Z
2021-05-11T00:08:49.000Z
Tommimon/01/main.asm
Tommimon/advent-of-code-2020
e2337c95b87b7368ba34c5dc4e714b1376594beb
[ "MIT" ]
null
null
null
.data ARRAY: .word 1686, 1337, 1780, 1305, 1341, 1120, 1197, 1786, 1819, 1414, 1714, 1232, 1672, 1617, 817, 1665, 1603, 1063, 2007, 1609, 2008, 1878, 1660, 1834, 1901, 323, 1321, 1380, 1598, 1938, 1575, 502, 2010, 1470, 1902, 1779, 1081, 1535, 2002, 1168, 1702, 1973, 1866, 1115, 1774, 1274, 1845, 1584, 1574, 1772, 1735, 1631, 1628, 1907, 1466, 756, 1252, 1627, 1999, 1826, 1802, 1921, 1536, 1549, 1602, 1421, 1451, 1709, 1722, 1951, 1689, 1106, 1454, 1384, 1553, 1604, 1595, 468, 1082, 1576, 1958, 1913, 1075, 1708, 1775, 701, 1764, 1439, 1600, 1922, 1815, 1839, 1396, 1974, 1946, 1965, 1544, 2003, 1693, 1594, 1547, 1054, 1796, 1945, 1773, 1483, 1563, 1721, 1789, 1427, 1915, 1069, 1161, 1551, 1677, 1692, 2005, 1770, 1940, 1346, 1068, 1588, 1618, 1468, 1621, 1749, 1275, 1315, 1382, 1847, 1843, 1751, 1876, 1667, 1835, 1848, 1623, 1810, 1877, 1438, 968, 1867, 1763, 1390, 1967, 1785, 1530, 1343, 1423, 415, 1606, 1928, 1985, 1781, 1952, 1459, 1339, 1644, 1860, 1646, 1087, 1880, 1577, 1759, 1863, 1766, 1840, 1613, 1733, 1808, 1657, 1169, 1934, 1729, 1688, 1138, 1937, 1112, 1865, 1853, 1793, 1292, 1698, 1624, 1335, 1264, 1827, 1874, 1725, 1378, 1083, 1173, 1923, 1842, 1207, 1614, 1425, 1794, 1404, 1862 END: .space 1 .text MAIN: la $s2, END # li $s3, 2020 la $s0, ARRAY # $s0 is i LOOP1: beq $s0, $s2, EXIT # if $s0 == $s2 then EXIT addi $s1, $s0, 4 # $s1 is j LOOP2: beq $s1, $s2, ENDLOOP1 lw $t0, 0($s0) lw $t1, 0($s1) add $t2, $t0, $t1 # $t2 = $21 + 3t0 bne $t2, $s3, ENDBODY mult $t0, $t1 # do mult mflo $a0 li $v0, 1 syscall # pirnt product ENDBODY: addi $s1, $s1, 4 # j++ j LOOP2 # jump to LOOP2 ENDLOOP1: addi $s0, $s0, 4 # i++ j LOOP1 # jump to LOOP1 EXIT: li $v0, 10 syscall
70.75
1,206
0.549722
c869b681a6d2124ad792b805033bc166706045db
4,057
asm
Assembly
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_1_1653.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_1_1653.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_1_1653.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 %rax push %rbx push %rcx push %rdx push %rsi lea addresses_UC_ht+0x12b80, %rsi nop nop nop nop nop add $14451, %r10 movb (%rsi), %dl nop nop and $65102, %r10 lea addresses_UC_ht+0x6a88, %rcx nop nop nop nop nop xor $14875, %rax mov (%rcx), %si xor $52737, %r10 lea addresses_WT_ht+0x179e9, %r11 xor $63925, %rbx movups (%r11), %xmm5 vpextrq $0, %xmm5, %rdx sub %rdx, %rdx lea addresses_A_ht+0x1b7c0, %r11 clflush (%r11) nop and %rax, %rax mov $0x6162636465666768, %rdx movq %rdx, %xmm5 movups %xmm5, (%r11) nop nop cmp $47166, %rax pop %rsi pop %rdx pop %rcx pop %rbx pop %rax pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r14 push %r15 push %r8 push %r9 push %rbx push %rdi push %rsi // Store lea addresses_normal+0x23e0, %rdi nop and %r9, %r9 movl $0x51525354, (%rdi) nop nop add $37943, %rdi // Store lea addresses_normal+0x23e0, %r9 nop nop inc %r14 mov $0x5152535455565758, %rdi movq %rdi, %xmm0 vmovups %ymm0, (%r9) nop nop nop nop nop sub $39495, %rbx // Load lea addresses_WT+0xaae0, %rdi nop nop nop nop sub $61515, %r8 movups (%rdi), %xmm5 vpextrq $0, %xmm5, %r14 nop nop nop add %r8, %r8 // Store lea addresses_RW+0x3be0, %rbx nop nop nop nop nop dec %r9 movb $0x51, (%rbx) nop nop nop nop nop inc %rsi // Load lea addresses_UC+0x2180, %rbx nop nop nop nop nop and %r15, %r15 movb (%rbx), %r8b and $34538, %r8 // Load lea addresses_normal+0x23e0, %rsi nop nop sub $62519, %r14 mov (%rsi), %r8d xor $27358, %r8 // Store lea addresses_PSE+0x5be0, %rsi nop nop nop inc %rdi movl $0x51525354, (%rsi) cmp %r9, %r9 // Store mov $0x7241fc0000000be0, %r15 nop nop add $4727, %rdi movw $0x5152, (%r15) // Exception!!! nop mov (0), %r9 nop nop nop add %rbx, %rbx // Store lea addresses_WT+0x2f43, %rbx cmp %r8, %r8 movw $0x5152, (%rbx) nop nop nop nop nop add $61533, %r14 // Faulty Load lea addresses_normal+0x23e0, %r9 nop nop nop nop xor $17633, %r8 mov (%r9), %r15d lea oracles, %rdi and $0xff, %r15 shlq $12, %r15 mov (%rdi,%r15,1), %r15 pop %rsi pop %rdi pop %rbx pop %r9 pop %r8 pop %r15 pop %r14 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 32, 'same': True, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 8, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 11, 'size': 1, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': True, 'congruent': 3, 'size': 1, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'congruent': 11, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 11, 'size': 2, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 4, 'size': 1, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 3, 'size': 2, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 5, 'size': 16, 'same': False, 'NT': False}} {'58': 1} 58 */
18.782407
125
0.635691
2d2653e77ac9216da4bcd9a8c40e44bad0f388d9
420
asm
Assembly
oeis/156/A156308.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/156/A156308.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/156/A156308.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A156308: Inverse of triangle S(n,m) defined by sequence A156290, n>=1, 1<=m<=n. ; Submitted by Christian Krause ; 1,4,1,9,6,1,16,20,8,1,25,50,35,10,1,36,105,112,54,12,1,49,196,294,210,77,14,1,64,336,672,660,352,104,16,1,81,540,1386,1782,1287,546,135,18,1,100,825,2640,4290,4004,2275,800,170,20,1 lpb $0 add $2,1 sub $0,$2 lpe add $0,1 add $2,$0 mul $0,2 mov $1,$2 bin $1,$0 add $2,1 bin $2,$0 add $2,$1 mov $0,$2
23.333333
183
0.645238
248951a58fc732e4b16771a3e2d14a7a4ea6361a
728
asm
Assembly
oeis/055/A055835.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/055/A055835.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/055/A055835.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A055835: T(2n+1,n), where T is the array in A055830. ; Submitted by Jon Maiga ; 1,3,12,54,255,1239,6132,30744,155628,793650,4071210,20984340,108590118,563816526,2935798680,15324533448,80164934919,420151515255,2205762626010,11597513662350,61060181223195,321870918101535,1698584022537480,8972874824434560,47443688971812900,251070122282769504,1329696816547196412,7047348147626735088,37375893024642108696,198348905773967840520,1053227282974592070576,5595667782535457112288,29744337886631466822636,158185129697370055233282,841634601358424125363650,4479884005834745841010860 mov $4,$0 add $0,1 lpb $0 sub $0,1 mov $2,$1 add $2,1 bin $2,$0 mov $3,$4 bin $3,$1 add $1,1 mul $3,$2 add $4,1 add $5,$3 lpe mov $0,$5
36.4
490
0.798077
55ee1619800c1af4ed5e97c462bec97207d44af0
5,964
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1152.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_1152.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_1152.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 %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x17606, %rdi nop sub $33666, %r11 movb $0x61, (%rdi) nop nop and $33128, %rbx lea addresses_UC_ht+0x62c6, %rsi lea addresses_UC_ht+0x1b206, %rdi nop nop and $40213, %r8 mov $103, %rcx rep movsw nop nop inc %rdi lea addresses_UC_ht+0xb206, %rsi lea addresses_WT_ht+0x8206, %rdi nop nop and %r13, %r13 mov $126, %rcx rep movsb nop dec %rsi lea addresses_WC_ht+0x18bc5, %rsi lea addresses_normal_ht+0x1a606, %rdi nop nop nop nop nop xor $23713, %r8 mov $14, %rcx rep movsl nop xor $9410, %r11 lea addresses_WT_ht+0x10566, %rsi lea addresses_UC_ht+0xb326, %rdi clflush (%rdi) nop nop and $50775, %r13 mov $90, %rcx rep movsq nop nop sub $63900, %rdi pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r8 pop %r13 pop %r11 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r14 push %r15 push %rax push %rdi push %rdx // Store lea addresses_WT+0x1d164, %rax nop nop nop xor %r15, %r15 movl $0x51525354, (%rax) nop nop nop nop and $9778, %rax // Load lea addresses_D+0x18606, %r12 nop nop nop nop add %rdi, %rdi mov (%r12), %edx nop nop nop nop add %rdi, %rdi // Load lea addresses_RW+0x11a06, %rdx add %rax, %rax mov (%rdx), %r14d cmp %r14, %r14 // Faulty Load lea addresses_WT+0x1c206, %r12 nop nop nop nop dec %r11 mov (%r12), %r14w lea oracles, %rax and $0xff, %r14 shlq $12, %r14 mov (%rax,%r14,1), %r14 pop %rdx pop %rdi pop %rax pop %r15 pop %r14 pop %r12 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT', 'congruent': 0}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D', 'congruent': 10}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_RW', 'congruent': 10}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_WT', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'NT': True, 'AVXalign': True, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 10}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 11, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_UC_ht'}} {'dst': {'same': False, 'congruent': 11, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_UC_ht'}} {'dst': {'same': True, 'congruent': 10, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_WC_ht'}} {'dst': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_WT_ht'}} {'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 */
39.236842
2,999
0.659289
b925d205c05d27c82a36655da1707821362b97cb
5,226
asm
Assembly
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_632.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_632.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_21829_632.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x11ce6, %rsi nop nop nop sub $38834, %r13 mov $0x6162636465666768, %r15 movq %r15, %xmm3 movups %xmm3, (%rsi) nop nop sub $59813, %r10 lea addresses_WT_ht+0x4196, %r15 nop nop nop sub %r10, %r10 mov $0x6162636465666768, %r8 movq %r8, (%r15) nop nop nop add $12356, %r10 lea addresses_D_ht+0x14986, %r10 clflush (%r10) nop nop nop and $44286, %rax movb $0x61, (%r10) nop inc %rax lea addresses_WC_ht+0x5d76, %rsi lea addresses_UC_ht+0x15586, %rdi sub %r15, %r15 mov $28, %rcx rep movsq nop nop nop sub $56210, %r8 pop %rsi pop %rdi pop %rcx pop %rax pop %r8 pop %r15 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %r15 push %r8 push %r9 push %rcx // Load mov $0x48891c0000000452, %r14 nop nop nop nop nop cmp %r9, %r9 vmovntdqa (%r14), %ymm0 vextracti128 $1, %ymm0, %xmm0 vpextrq $1, %xmm0, %r15 nop nop nop nop xor %r9, %r9 // Faulty Load lea addresses_US+0x1586, %r11 nop nop nop nop cmp %r13, %r13 mov (%r11), %r8w lea oracles, %r13 and $0xff, %r8 shlq $12, %r8 mov (%r13,%r8,1), %r8 pop %rcx pop %r9 pop %r8 pop %r15 pop %r14 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': True, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 2, 'size': 32, 'same': False, 'NT': True}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 5, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': True, 'congruent': 1, 'size': 8, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 10, 'size': 1, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}} {'00': 21829} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
42.145161
2,999
0.659969
8bd81e9531c7024cc1c7c2f4ff1e6cf7101a0724
81
asm
Assembly
flame32-libs/unit-tests/test-cmp-1.asm
drako0812/flame32
cf79e5fc14838cc3ca0dbe702bbdb8f157a587ab
[ "MIT" ]
2
2019-08-21T09:16:32.000Z
2020-08-12T12:56:08.000Z
flame32-libs/unit-tests/test-cmp-1.asm
drako0812/flame32
cf79e5fc14838cc3ca0dbe702bbdb8f157a587ab
[ "MIT" ]
null
null
null
flame32-libs/unit-tests/test-cmp-1.asm
drako0812/flame32
cf79e5fc14838cc3ca0dbe702bbdb8f157a587ab
[ "MIT" ]
null
null
null
#include "../../flame32.asm" ; Tests CMP lod 1 ldl B, 2 cmp A, B ; O = NE | LT
9
28
0.54321
fa1d5574c9343a04c314d14aaa5950233710b12e
5,424
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1655.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_1655.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_1655.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1e30b, %r11 nop nop nop nop xor $37098, %r10 movl $0x61626364, (%r11) nop nop nop nop nop and %rbp, %rbp lea addresses_normal_ht+0xf84c, %r11 sub %r10, %r10 movb (%r11), %bl nop nop nop nop cmp %r10, %r10 lea addresses_normal_ht+0x11ccb, %rsi lea addresses_normal_ht+0x18b43, %rdi nop nop nop lfence mov $107, %rcx rep movsq nop nop nop dec %rsi lea addresses_WT_ht+0x1cb0b, %rbp nop inc %rsi mov $0x6162636465666768, %r8 movq %r8, %xmm6 movups %xmm6, (%rbp) nop nop add $24532, %rbp pop %rsi pop %rdi pop %rcx pop %rbx pop %rbp pop %r8 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %r15 push %rax push %rbp push %rdx // Store mov $0xd0b, %r14 and %rbp, %rbp mov $0x5152535455565758, %r12 movq %r12, %xmm1 movups %xmm1, (%r14) nop nop nop and $8872, %r12 // Store lea addresses_A+0x1c10b, %r14 nop nop nop nop nop xor %r15, %r15 mov $0x5152535455565758, %r13 movq %r13, (%r14) nop nop nop add $30990, %rdx // Faulty Load lea addresses_D+0x12b0b, %r13 add %rbp, %rbp mov (%r13), %r14w lea oracles, %r15 and $0xff, %r14 shlq $12, %r14 mov (%r15,%r14,1), %r14 pop %rdx pop %rbp pop %rax pop %r15 pop %r14 pop %r13 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': 16, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 9}} {'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_A', 'same': False, 'AVXalign': False, 'congruent': 8}} [Faulty Load] {'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_D', 'same': True, 'AVXalign': False, 'congruent': 0}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 7}} {'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 0}} {'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_normal_ht', 'congruent': 6}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 3}} {'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_WT_ht', 'same': True, 'AVXalign': False, 'congruent': 11}} {'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 */
41.090909
2,999
0.660029
e0014c590de0f135a2e751c506ee486195805e53
496
asm
Assembly
oeis/037/A037507.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/037/A037507.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/037/A037507.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A037507: Base 6 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,0. ; Submitted by Jamie Morken(s4) ; 1,8,48,289,1736,10416,62497,374984,2249904,13499425,80996552,485979312,2915875873,17495255240,104971531440,629829188641,3778975131848,22673850791088,136043104746529,816258628479176,4897551770875056 seq $0,33133 ; Base-6 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0. add $2,$0 div $2,7 add $2,$0 mov $0,$2
49.6
199
0.784274
799f97d9039aace605bd9f817da76494e8f5dd0b
1,024
asm
Assembly
src/code/init.asm
gb-archive/waveform-gb
016c923745620d2166bd24e6e9afc6bd35a89a4b
[ "MIT" ]
null
null
null
src/code/init.asm
gb-archive/waveform-gb
016c923745620d2166bd24e6e9afc6bd35a89a4b
[ "MIT" ]
null
null
null
src/code/init.asm
gb-archive/waveform-gb
016c923745620d2166bd24e6e9afc6bd35a89a4b
[ "MIT" ]
null
null
null
SECTION "Stack", WRAM0[$C080] ds $80 - 1 wStack:: SECTION "Init", ROM0 Init: di cp $11 ld a, 1 jr z, .cgb xor a .cgb ld [hGBC], a xor a ldx [rIF], [rIE] ldx [rRP] ldx [rSCX], [rSCY] ldx [rSB], [rSC] ldx [rWX], [rWY] ldx [rBGP], [rOBP0], [rOBP1] ldx [rTMA], [rTAC] put [rTAC], rTAC_4096Hz .wait ld a, [rLY] cp 144 jr c, .wait xor a ld [rLCDC], a ld sp, wStack fill $C000, $2000, 0 ld a, [hGBC] and a jr z, .cleared_wram ld a, 7 .wram_bank push af ld [rSVBK], a fill $D000, $1000, 0 pop af dec a cp 1 jr nc, .wram_bank .cleared_wram ld a, [hGBC] push af fill $FF80, $7F, 0 pop af ld [hGBC], a fill $8000, $2000, 0 fill $FE00, $A0, 0 put [rJOYP], 0 put [rSTAT], 8 ; hblank enable put [rWY], $90 put [rWX], 7 put [rLCDC], %11100011 IF def(NormalSpeed) ; not implemented yet ld a, [hGBC] and a call nz, NormalSpeed ENDC put [rIF], 0 put [rIE], %1111 ei halt call WriteDMATransferToHRAM call Main ; if Main returns, restart the program jp Init
10.893617
41
0.599609
3ae49a70e2134b2b759fbc762c0f38857a3843ec
986
asm
Assembly
reference/lab1/assembly/examples/ms/sub6.asm
Leser2020/6.828
08fe8f9c38b9c07111e7fdff5bbb785a4d74f917
[ "MIT" ]
null
null
null
reference/lab1/assembly/examples/ms/sub6.asm
Leser2020/6.828
08fe8f9c38b9c07111e7fdff5bbb785a4d74f917
[ "MIT" ]
null
null
null
reference/lab1/assembly/examples/ms/sub6.asm
Leser2020/6.828
08fe8f9c38b9c07111e7fdff5bbb785a4d74f917
[ "MIT" ]
null
null
null
; ; file: sub6.asm ; Subprogram to C interfacing example ; subroutine _calc_sum ; finds the sum of the integers 1 through n ; Parameters: ; n - what to sum up to (at [ebp + 8]) ; Return value: ; value of sum ; pseudo C code: ; int calc_sum( int n ) ; { ; int i, sum = 0; ; for( i=1; i <= n; i++ ) ; sum += i; ; return sum; ; } ; ; To assemble: ; DJGPP: nasm -f coff sub6.asm ; Borland: nasm -f obj sub6.asm segment .text global _calc_sum ; ; local variable: ; sum at [ebp-4] _calc_sum: enter 4,0 ; make room for sum on stack mov dword [ebp-4],0 ; sum = 0 mov ecx, 1 ; ecx is i in pseudocode for_loop: cmp ecx, [ebp+8] ; cmp i and n jnle end_for ; if not i <= n, quit add [ebp-4], ecx ; sum += i inc ecx jmp short for_loop end_for: mov eax, [ebp-4] ; eax = sum leave ret
18.603774
62
0.502028
1640aca74214c220513d0f33d72a24ffb1e8366a
576
asm
Assembly
sample_tests/basic.asm
NullOsama/SIC-Assembler
5d2c8729c0c26b4a83bd229448a9a4ad6a95d5f3
[ "MIT" ]
null
null
null
sample_tests/basic.asm
NullOsama/SIC-Assembler
5d2c8729c0c26b4a83bd229448a9a4ad6a95d5f3
[ "MIT" ]
null
null
null
sample_tests/basic.asm
NullOsama/SIC-Assembler
5d2c8729c0c26b4a83bd229448a9a4ad6a95d5f3
[ "MIT" ]
null
null
null
COPY START 1000 FIRST STL RETADR CLOOP JSUB RDREC LDA LENGTH COMP ZERO JEQ ENDFIL JSUB WRREC J CLOOP ENDFIL LDA EOF STA BUFFER LDA THREE STA LENGTH JSUB WRREC LDL RETADR RSUB EOF BYTE C'EOF' THREE WORD 3 ZERO WORD 0 RETADR RESW 1 LENGTH RESW 1 BUFFER RESB 4096 RDREC LDX ZERO LDA ZERO RLOOP TD INPUT JEQ RLOOP RD INPUT COMP ZERO JEQ EXIT STCH BUFFER,X TIX MAXLEN JLT RLOOP EXIT STX LENGTH RSUB INPUT BYTE X'F1' MAXLEN WORD 4096 WRREC LDX ZERO WLOOP TD OUTPUT JEQ WLOOP LDCH BUFFER,X WD OUTPUT TIX LENGTH JLT WLOOP RSUB OUTPUT BYTE X'05' END FIRST
12.8
18
0.753472
62e8942476598b94e5da00c0c5c1e1f12d0ca879
316
asm
Assembly
exercise_6/execve_bin_sh_polymorphic.asm
vikrant-navalgund/SLAE32
ab8ed1e0496b2f44d44edc9085dadd6931264d31
[ "MIT" ]
3
2019-08-30T17:20:39.000Z
2019-09-01T17:04:12.000Z
exercise_6/execve_bin_sh_polymorphic.asm
vikrant-navalgund/SLAE32
ab8ed1e0496b2f44d44edc9085dadd6931264d31
[ "MIT" ]
null
null
null
exercise_6/execve_bin_sh_polymorphic.asm
vikrant-navalgund/SLAE32
ab8ed1e0496b2f44d44edc9085dadd6931264d31
[ "MIT" ]
1
2021-10-09T20:52:47.000Z
2021-10-09T20:52:47.000Z
BITS 32 global _start _start: xor ecx,ecx imul ecx push ecx add al, 0xb jmp short _two _one: pop esi mov edi, esi pushad mov cl, 0x8 _mangle: mov al, [esi] ror al, 0x2 stosb inc esi loop _mangle popad xchg esp,esi xchg ebx,esp int 0x80 _two: call _one dq 0xa1cdbcbcb9a589bc
11.285714
24
0.661392
ce5ad0923f7ed094b4389c1db604039cb50ae92c
7,003
asm
Assembly
u7-common/constants.asm
JohnGlassmyer/UltimaHacks
f9a114e00c4a1edf1ac7792b465feff2c9b88ced
[ "MIT" ]
68
2018-03-04T22:34:22.000Z
2022-03-10T15:18:32.000Z
u7-common/constants.asm
ptrie/UltimaHacks
2c3557a86d94ad8b54b26bc395b9aed1604f8be1
[ "MIT" ]
19
2018-11-20T04:06:49.000Z
2021-11-08T16:37:10.000Z
u7-common/constants.asm
ptrie/UltimaHacks
2c3557a86d94ad8b54b26bc395b9aed1604f8be1
[ "MIT" ]
4
2020-09-01T17:57:36.000Z
2022-01-04T20:51:11.000Z
; ============================================================================= ; enumerations ; ----------------------------------------------------------------------------- %assign FindItemFlagBit_1 1 %assign FindItemFlagBit_2 2 %assign FindItemFlagBit_ONLY_NPCS 4 %assign FindItemFlagBit_ONLY_ALIVE_NPCS 8 %assign FindItemFlagBit_INCLUDE_EGGS 16 %assign FindItemFlagBit_NO_NPCS 32 %assign FindItemFlagBit_64 64 %assign FindItemFlagBit_128 128 %assign Font_YELLOW 0 %assign Font_WOODEN_RUNIC 1 %assign Font_SMALL_BLACK 2 %assign Font_WHITE_RUNIC_OUTLINE 3 %assign Font_TINY_BLACK 4 %assign Font_TINY_GLOWING_BLUE 5 %assign Font_YELLOW_RUNIC_OUTLINE 6 %assign Font_RED 7 %assign ItemLabelType_NAME 0 %assign ItemLabelType_WEIGHT 1 %assign ItemLabelType_BULK 2 %assign ItemClassBit_NPC 0x100 %assign KeyboardShiftBit_RIGHT_SHIFT 1 %assign KeyboardShiftBit_LEFT_SHIFT 2 %assign KeyboardShiftBit_CTRL 4 %assign KeyboardShiftBit_ALT 8 %assign KeyboardShiftBit_SCROLL_LOCK 16 %assign KeyboardShiftBit_NUM_LOCK 32 %assign KeyboardShiftBit_CAPS_LOCK 64 %assign KeyboardShiftBit_INSERT 128 %assign MouseAction_NONE 0 %assign MouseAction_PRESS 1 %assign MouseAction_DOUBLE_CLICK 2 %assign MouseAction_RELEASE 3 %assign MouseAction_MOVE 4 %assign MouseRawAction_NONE 0 %assign MouseRawAction_PRESS 1 %assign MouseRawAction_RELEASE 2 %assign TextAlignment_LEFT 0 %assign TextAlignment_TOP 0 %assign TextAlignment_HORIZONTAL_CENTER 1 %assign TextAlignment_VERTICAL_CENTER 2 %assign TextAlignment_RIGHT 4 %assign TextAlignment_BOTTOM 8 ; ============================================================================= ; structure offsets ; ----------------------------------------------------------------------------- %assign BarkText_timeCounter 0x16 %assign Camera_isViewDarkened 1 %assign CastByKey_isCastingInProgress 0x00 %assign CastByKey_pn_timer 0x02 %assign CastByKey_selectedRuneCount 0x04 %assign CastByKey_selectedRunes 0x08 %assign CastByKey_runeStrings 0x10 %assign CastByKey_spellRunes CastByKey_runeStrings + 30 * 8 %assign CastByKey_SIZE CastByKey_spellRunes + 100 * 8 %assign ConversationGump_optionsGump 0x0E %assign ConversationOptions_head 0x0E %assign ConversationOptions_SIZE 0x12 %assign ConversationOptionsGump_xyBounds 0x0E %assign ConversationOptionCoords_x 0 %assign ConversationOptionCoords_line 1 %assign FindItemQuery_ibo 0x00 %assign FindItemQuery_SIZE 0x2A %assign InventoryArea_ibo 0x000 %assign InventoryArea_draggedIbo 0x002 %assign InventoryArea_worldX 0x004 %assign InventoryArea_worldY 0x006 %assign InventoryArea_worldZ 0x008 %assign InventoryArea_pn_vtable 0x00C %assign InventoryArea_setByDropDraggedItem 0x00E %assign InventoryArea_vtable 0x010 %assign InventoryArea_f00_drawTree 0x049 %assign InventoryArea_f04_getIbo 0x050 %assign InventoryArea_f05_tryToAccept 0x060 %assign InventoryArea_f06_getDraggedIbo 0x0F0 %assign InventoryArea_f07_getX1 0x110 %assign InventoryArea_f08_getY1 0x110 %assign InventoryArea_f09_getX2 0x110 %assign InventoryArea_f10_getY2 0x110 %assign InventoryArea_f11_recordXOffset 0x110 %assign InventoryArea_f12_recordYOffset 0x110 %assign InventoryArea_SIZE 0x120 %assign List_pn_head 0 %assign List_pn_tail 2 %assign List_SIZE 4 %assign ListNode_pn_next 0 %assign ListNode_pn_prev 2 %assign ListNode_payload 6 %assign MouseState_rawAction 0 ; db %assign MouseState_button 1 ; db %assign MouseState_xx 2 ; dw %assign MouseState_y 4 ; dw %assign MouseState_buttonBits 6 ; db %assign MouseState_action 7 ; db %assign MouseState_time 8 ; dd %assign ShapeBark_shape 0x00 %assign ShapeBark_frame 0x02 %assign ShapeBark_x 0x04 %assign ShapeBark_y 0x06 %assign ShapeBark_pn_vtableA 0x08 %assign ShapeBark_pn_vtableB 0x0C %assign ShapeBark_field0E 0x0E %assign ShapeBark_stringWithLength 0x12 %assign ShapeBark_timer 0x16 %assign ShapeBark_vtableA 0x1E %assign ShapeBark_vtableB 0x22 %assign ShapeBark_a00_destroy 0x26 %assign ShapeBark_b00_drawTree 0x27 %assign ShapeBark_SIZE 0x60 %assign ShapeGump_x 0x0E %assign ShapeGump_y 0x10 %assign ShapeGump_shape 0x12 %assign ShapeGump_frame 0x14 %assign Sprite_ibo 0x0B %assign TextPrinter_x 0x0 %assign TextPrinter_y 0x2 %assign TextPrinter_charSpacing 0x4 %assign TextPrinter_lineSpacing 0x6 %assign TextPrinter_pn_viewport 0x8 %assign TextPrinter_pn_vtable 0xA %assign TextPrinter_field_0C 0xC %assign TextPrinter_field_0E 0xE %assign XyBounds_minX 0 %assign XyBounds_minY 2 %assign XyBounds_maxX 4 %assign XyBounds_maxY 6 ; ============================================================================= ; other constants ; ----------------------------------------------------------------------------- %assign VOODOO_SELECTOR 0
43.496894
79
0.515208
5e6bff7bce181e1fbd53a604dd0056dbe7d053f4
470
asm
Assembly
programs/oeis/317/A317200.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/317/A317200.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/317/A317200.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A317200: G.f.: -x*(2*x^3+2*x^2+x-2)/(x^4-2*x+1). ; 0,2,3,4,6,10,17,30,54,98,179,328,602,1106,2033,3738,6874,12642,23251,42764,78654,144666,266081,489398,900142,1655618,3045155,5600912,10301682,18947746,34850337,64099762,117897842,216847938,398845539 add $0,1 mov $2,2 lpb $2 mov $2,$0 lpe lpb $2 mov $1,2 mov $2,1 lpe trn $0,2 seq $0,8937 ; a(n) = Sum_{k=0..n} T(k) where T(n) are the tribonacci numbers A000073. mov $3,$0 add $3,1 add $1,$3 sub $1,1 mov $0,$1
23.5
200
0.66383
e004311e46bd054da646b7938e0a4d9775561de9
338
asm
Assembly
snake.asm
AahzBrut/ASCII-Snake
bb1f32f4bfd5c5693eda741f3c954b633a45189a
[ "MIT" ]
null
null
null
snake.asm
AahzBrut/ASCII-Snake
bb1f32f4bfd5c5693eda741f3c954b633a45189a
[ "MIT" ]
null
null
null
snake.asm
AahzBrut/ASCII-Snake
bb1f32f4bfd5c5693eda741f3c954b633a45189a
[ "MIT" ]
null
null
null
%PAGESIZE 255, 255 IDEAL P486N MODEL small STACK 200h INCLUDE "Types.inc" DATASEG CODESEG EXTRN ShowMenu:proc, Main:proc Start: mov ax, @data mov ds, ax mov es, ax @@Loop: call ShowMenu cmp ax, miPlayGame je @@PlayGame cmp ax, miExit je @@Exit jmp @@Loop @@PlayGame: call Main @@Exit: EXITCODE 0 END Start
9.657143
30
0.671598
1d420dadb838bfa8c9a0536d07da9ff055ea32ac
9,577
asm
Assembly
Altair101/asm/programs/opMov.asm
tigerfarm/arduino
e51f111a092fe6737646b146a825f4eecbd05d44
[ "OLDAP-2.4", "OLDAP-2.7" ]
2
2021-12-12T23:27:10.000Z
2022-02-17T14:01:21.000Z
Altair101/asm/programs/opMov.asm
tigerfarm/arduino
e51f111a092fe6737646b146a825f4eecbd05d44
[ "OLDAP-2.4", "OLDAP-2.7" ]
null
null
null
Altair101/asm/programs/opMov.asm
tigerfarm/arduino
e51f111a092fe6737646b146a825f4eecbd05d44
[ "OLDAP-2.4", "OLDAP-2.7" ]
4
2021-08-29T19:55:49.000Z
2022-02-15T08:30:15.000Z
; -------------------------------------- ; Test MOV using serial monitor output. ; -------------------------------------- Start: mvi a,0 ; Set initial register A value. inr a mov b,a ; Move register A content to each other registers. inr a ; Increment register A each time. mov c,a inr a mov d,a inr a mov e,a inr a mov h,a inr a mov l,a out 38 ; + regA: 6 = 006 = 00000110 ; + regB: 1 = 001 = 00000001 regC: 2 = 002 = 00000010 ; + regD: 3 = 003 = 00000011 regE: 4 = 004 = 00000100 ; + regH: 5 = 005 = 00000101 regL: 6 = 006 = 00000110 ; ; -------------------------------------- ; Test MOV with register B. inr a ; Keep incrementing up. mov b,a mov a,b inr b mov c,b inr b mov d,b inr b mov e,b inr b mov h,b inr b mov l,b ; regB is the same regL out 38 ; + regA: 7 = 007 = 00000111 ; + regB: 12 = 014 = 00001100 regC: 8 = 010 = 00001000 ; + regD: 9 = 011 = 00001001 regE: 10 = 012 = 00001010 ; + regH: 11 = 013 = 00001011 regL: 12 = 014 = 00001100 ; ; -------------------------------------- ; Test MOV with register C. inr b mov c,b ; Keep incrementing up. mov a,c inr c mov b,c inr c mov d,c inr c mov e,c inr c mov h,c inr c mov l,c out 38 ; + regA: 13 = 015 = 00001101 ; + regB: 14 = 016 = 00001110 regC: 18 = 022 = 00010010 ; + regD: 15 = 017 = 00001111 regE: 16 = 020 = 00010000 ; + regH: 17 = 021 = 00010001 regL: 18 = 022 = 00010010 ; ; -------------------------------------- ; Test MOV with register D. inr c mov d,c ; Keep incrementing up. mov a,d inr d mov b,d inr d mov c,d inr d mov e,d inr d mov h,d inr d mov l,d out 38 ; + regA: 19 = 023 = 00010011 ; + regB: 20 = 024 = 00010100 regC: 21 = 025 = 00010101 ; + regD: 24 = 030 = 00011000 regE: 22 = 026 = 00010110 ; + regH: 23 = 027 = 00010111 regL: 24 = 030 = 00011000 ; ; -------------------------------------- ; Test MOV with register E. inr d mov e,d ; Keep incrementing up. mov a,e inr e mov b,e inr e mov c,e inr e mov d,e inr e mov h,e inr e mov l,e out 38 ; + regA: 25 = 031 = 00011001 ; + regB: 26 = 032 = 00011010 regC: 27 = 033 = 00011011 ; + regD: 28 = 034 = 00011100 regE: 30 = 036 = 00011110 ; + regH: 29 = 035 = 00011101 regL: 30 = 036 = 00011110 ; ; -------------------------------------- ; Test MOV with register H. inr e mov h,e ; Keep incrementing up. mov a,h inr h mov b,h inr h mov c,h inr h mov d,h inr h mov e,h inr h mov l,h out 38 ; + regA: 31 = 037 = 00011111 ; + regB: 32 = 040 = 00100000 regC: 33 = 041 = 00100001 ; + regD: 34 = 042 = 00100010 regE: 35 = 043 = 00100011 ; + regH: 36 = 044 = 00100100 regL: 36 = 044 = 00100100 ; ; -------------------------------------- ; Test MOV with register L. inr h mov l,h ; Keep incrementing up. mov a,l inr l mov b,l inr l mov c,l inr l mov d,l inr l mov e,l inr l mov h,l out 38 ; + regA: 37 = 045 = 00100101 ; + regB: 38 = 046 = 00100110 regC: 39 = 047 = 00100111 ; + regD: 40 = 050 = 00101000 regE: 41 = 051 = 00101001 ; + regH: 42 = 052 = 00101010 regL: 42 = 052 = 00101010 ; ; -------------------------------------- ; Test MOV with register M, an address(hb:lb). ; inr l mov a,l ; Move # to register A. sta 168 ; Store register A's data value to the address H:L. mvi a,0 ; Reset A. mvi l,168 ; Set address H:L to 128 which is the address to m. mvi h,0 ; mov a,m inr m ; Increment the byte(M) at address H:L. mov b,m inr m ; Increment the byte(M) at address H:L. mov c,m inr m ; Increment the byte(M) at address H:L. mov d,m inr m ; Increment the byte(M) at address H:L. mov e,m inr m ; Increment the byte(M) at address H:L. mov h,m ; This changes the address value ; -------------------------------------- sta 170 ; Store register A. mov a,h sta 171 ; Store register H. mvi h,0 ; Reset regH, which is part of address H:L to 128 which is the address to m. ; inr m ; Increment the byte(M) at address H:L. mov l,m ; This changes the address value ; lda 171 ; Restore register H. mov h,a lda 170 ; Restore register A. ; out 38 ; Print the registers. ; -------------------------------------- mvi a,'\r' out 3 mvi a,'\n' out 3 hlt ; The program will halt at each iteration, after the first. jmp Start ; Jump back to the early halt command. ; -------------------------------------- end ; -------------------------------------- ; Successful run: + runProcessor() ------------ + regA: 6 = 006 = 00000110 + regB: 1 = 001 = 00000001 regC: 2 = 002 = 00000010 + regD: 3 = 003 = 00000011 regE: 4 = 004 = 00000100 + regH: 5 = 005 = 00000101 regL: 6 = 006 = 00000110 ------------------------ + regA: 7 = 007 = 00000111 + regB: 12 = 014 = 00001100 regC: 8 = 010 = 00001000 + regD: 9 = 011 = 00001001 regE: 10 = 012 = 00001010 + regH: 11 = 013 = 00001011 regL: 12 = 014 = 00001100 ------------------------ + regA: 13 = 015 = 00001101 + regB: 14 = 016 = 00001110 regC: 18 = 022 = 00010010 + regD: 15 = 017 = 00001111 regE: 16 = 020 = 00010000 + regH: 17 = 021 = 00010001 regL: 18 = 022 = 00010010 ------------------------ + regA: 19 = 023 = 00010011 + regB: 20 = 024 = 00010100 regC: 21 = 025 = 00010101 + regD: 24 = 030 = 00011000 regE: 22 = 026 = 00010110 + regH: 23 = 027 = 00010111 regL: 24 = 030 = 00011000 ------------------------ + regA: 25 = 031 = 00011001 + regB: 26 = 032 = 00011010 regC: 27 = 033 = 00011011 + regD: 28 = 034 = 00011100 regE: 30 = 036 = 00011110 + regH: 29 = 035 = 00011101 regL: 30 = 036 = 00011110 ------------------------ + regA: 31 = 037 = 00011111 + regB: 32 = 040 = 00100000 regC: 33 = 041 = 00100001 + regD: 34 = 042 = 00100010 regE: 35 = 043 = 00100011 + regH: 36 = 044 = 00100100 regL: 36 = 044 = 00100100 ------------------------ + regA: 37 = 045 = 00100101 + regB: 38 = 046 = 00100110 regC: 39 = 047 = 00100111 + regD: 40 = 050 = 00101000 regE: 41 = 051 = 00101001 + regH: 42 = 052 = 00101010 regL: 42 = 052 = 00101010 ------------ + regA: 43 = 053 = 00101011 + regB: 44 = 054 = 00101100 regC: 45 = 055 = 00101101 + regD: 46 = 056 = 00101110 regE: 47 = 057 = 00101111 + regH: 48 = 060 = 00110000 regL: 49 = 061 = 00110001 ------------ ++ HALT, host_read_status_led_WAIT() = 0 ; ; --------------------------------------
39.738589
104
0.351154
b768bb3eb209228914647c4146deefbaedbb4016
4,564
asm
Assembly
msvc/x86_64/memhash.asm
stoni/smhasher
6841a18e87261da2ef2311889e91abb2b4b860f8
[ "MIT" ]
null
null
null
msvc/x86_64/memhash.asm
stoni/smhasher
6841a18e87261da2ef2311889e91abb2b4b860f8
[ "MIT" ]
null
null
null
msvc/x86_64/memhash.asm
stoni/smhasher
6841a18e87261da2ef2311889e91abb2b4b860f8
[ "MIT" ]
null
null
null
; ; Upcaste Performance Libraries ; Copyright (C) 2012-2013 Jesse W. Towner ; ; Permission is hereby granted, free of charge, to any person obtaining ; a copy of this software and associated documentation files (the ; "Software"), to deal in the Software without restriction, including ; without limitation the rights to use, copy, modify, merge, publish, ; distribute, sublicense, and/or sell copies of the Software, and to ; permit persons to whom the Software is furnished to do so, subject to ; the following conditions: ; ; The above copyright notice and this permission notice shall be ; included in all copies or substantial portions of the Software. ; ; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ; IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY ; CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, ; TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ; SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ; ; ; uint64_t memhash(void const* p, size_t n, uint64_t seed); ; ; Based off of the fast byteswap hash function by Steven Fuerst. ; http://locklessinc.com/articles/fast_hash/ ; .CODE ALIGN 16 factor128 OWORD 0d6c573e9c613993d5a379ab38dc5a46bh ALIGN 16 PUBLIC memhash memhash PROC movd xmm0, rdx movd xmm1, r8 movdqa xmm2, XMMWORD PTR [factor128] cmp rdx, 32 jb SHORT _test_remaining mov rax, rdx shr rax, 5 test cl, 15 jne _unaligned_loop ; ; Aligned main-loop, process 32-byte aligned chunks at a time ; using 16-byte signed multiplication and unpack to mix. ; ALIGN 8 _aligned_loop: paddq xmm0, XMMWORD PTR [rcx] paddq xmm1, XMMWORD PTR [rcx + 16] pmullw xmm0, xmm2 pmullw xmm1, xmm2 add rcx, 32 movdqa xmm3, xmm0 punpckhbw xmm0, xmm1 punpcklbw xmm1, xmm3 dec rax jne SHORT _aligned_loop pxor xmm0, xmm1 ; ; Check for remaining chunk, if not extract 128 bits state and ; proceed to final mix. ; _test_remaining: test dl, 31 jne SHORT _remaining movhlps xmm1, xmm0 movd rax, xmm0 movd r10, xmm1 ; ; Use 3x 128bit multiply and xorshift for final mix. ; _final_mix: mov r9, 02bb6863566c4e761h mov r8, 01591aefa5e7e5a17h imul r10, r9 mul r8 add r10, rdx xor rax, r10 imul r10, r9 mul r8 add r10, rdx xor rax, r10 imul r10, r9 mul r8 add r10, rdx xor rax, r10 ret ; ; Process remaining chunk in piece-wise manner, up to 31-bytes in size. ; _remaining: test dl, 16 je SHORT _remaining_qword movdqu xmm3, XMMWORD PTR [rcx] pxor xmm0, xmm3 add rcx, 16 pmullw xmm0, xmm2 _remaining_qword: xor r11, r11 movhlps xmm1, xmm0 movd rax, xmm0 movd r10, xmm1 test dl, 8 je SHORT _remaining_dword xor rax, QWORD PTR [rcx] add rcx, 8 _remaining_dword: test dl, 4 je SHORT _remaining_word mov r11d, DWORD PTR [rcx] add rcx, 4 _remaining_word: test dl, 2 je SHORT _remaining_byte movzx r8, WORD PTR [rcx] shl r11, 16 add rcx, 2 add r11, r8 _remaining_byte: test dl, 1 je SHORT _remaining_done movzx r8, BYTE PTR [rcx] shl r11, 8 add r11, r8 _remaining_done: xor r10, r11 jmp _final_mix ; ; Unaligned main-loop, process 32-byte unaligned chunks at a time ; using 16-byte signed multiplication and unpack to mix. ; ALIGN 16 _unaligned_loop: movdqu xmm3, XMMWORD PTR [rcx] movdqu xmm4, XMMWORD PTR [rcx + 16] paddq xmm0, xmm3 paddq xmm1, xmm4 pmullw xmm0, xmm2 pmullw xmm1, xmm2 add rcx, 32 movdqa xmm3, xmm0 punpckhbw xmm0, xmm1 punpcklbw xmm1, xmm3 dec rax jne SHORT _unaligned_loop pxor xmm0, xmm1 jmp _test_remaining memhash ENDP END
26.847059
75
0.598598
3f4d3a7a11a82993ae1ccb9dc1029cc64f4f5078
1,158
asm
Assembly
programs/oeis/000/A000069.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/000/A000069.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/000/A000069.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A000069: Odious numbers: numbers with an odd number of 1's in their binary expansion. ; 1,2,4,7,8,11,13,14,16,19,21,22,25,26,28,31,32,35,37,38,41,42,44,47,49,50,52,55,56,59,61,62,64,67,69,70,73,74,76,79,81,82,84,87,88,91,93,94,97,98,100,103,104,107,109,110,112,115,117,118,121,122,124,127,128,131,133,134,137,138,140,143,145,146,148,151,152,155,157,158,161,162,164,167,168,171,173,174,176,179,181,182,185,186,188,191,193,194,196,199,200,203,205,206,208,211,213,214,217,218,220,223,224,227,229,230,233,234,236,239,241,242,244,247,248,251,253,254,256,259,261,262,265,266,268,271,273,274,276,279,280,283,285,286,289,290,292,295,296,299,301,302,304,307,309,310,313,314,316,319,321,322,324,327,328,331,333,334,336,339,341,342,345,346,348,351,352,355,357,358,361,362,364,367,369,370,372,375,376,379,381,382,385,386,388,391,392,395,397,398,400,403,405,406,409,410,412,415,416,419,421,422,425,426,428,431,433,434,436,439,440,443,445,446,448,451,453,454,457,458,460,463,465,466,468,471,472,475,477,478,481,482,484,487,488,491,493,494,496,499 mov $4,$0 mov $5,$0 lpb $0 sub $0,1 add $2,$4 div $4,2 lpe add $2,3 mov $1,$2 mod $1,2 mov $3,$5 mul $3,2 add $1,$3
68.117647
946
0.712435
7a4c2c31bf52905f6b0bb25bf8a4644ec42b98ca
679
asm
Assembly
programs/oeis/024/A024898.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/024/A024898.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/024/A024898.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A024898: Positive integers k such that 6*k - 1 is prime. ; 1,2,3,4,5,7,8,9,10,12,14,15,17,18,19,22,23,25,28,29,30,32,33,38,39,40,42,43,44,45,47,49,52,53,58,59,60,64,65,67,70,72,74,75,77,78,80,82,84,85,87,93,94,95,98,99,100,103,107,108,109,110,113,114,117,120,124,127,129,133,135,137,138,140,143,144,147,148,152,155,157,158,159,162,163,164,169,170,172,175,177,182,183,184,185,192,194,197,198,199 mov $2,261241 mov $6,4 lpb $2 sub $2,1 mov $3,$6 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 mov $4,$0 max $4,0 cmp $4,$0 mov $5,11 lpb $5 add $1,5 mul $2,$4 trn $5,6 add $6,3 lpe lpe div $1,10 mov $0,$1
28.291667
337
0.631811
a6269b31a49795e1fd6464361c435cb8f7f5363a
2,406
asm
Assembly
src/boot/serial.asm
robey/funos
904d7787f9c9dd2c5242e93356a30e21fa355948
[ "Apache-2.0" ]
5
2015-11-09T20:56:46.000Z
2021-12-13T18:53:18.000Z
src/boot/serial.asm
robey/funos
904d7787f9c9dd2c5242e93356a30e21fa355948
[ "Apache-2.0" ]
null
null
null
src/boot/serial.asm
robey/funos
904d7787f9c9dd2c5242e93356a30e21fa355948
[ "Apache-2.0" ]
null
null
null
; ; try to use the serial port (COM1) to communicate. ; %define module serial %include "api.macro" %include "io.macro" %define SERIAL1_PORT 0x3f8 %define SERIAL1_IRQ 4 %define MODE_8N1 0x03 %define MODE_DIVISOR_LATCH 0x80 %define DIVISOR 115200 %define SPEED_9600 (DIVISOR / 9600) %define SPEED_38400 (DIVISOR / 38400) %define PORT_TX 0 ; w %define PORT_RX 0 ; r %define PORT_DIVISOR_LOW 0 ; rw latch %define PORT_INT_ENABLE 1 ; rw %define PORT_DIVISOR_HIGH 1 ; rw latch %define PORT_INT_ID 2 ; r %define PORT_FIFO_CONTROL 2 ; w %define PORT_LINE_CONTROL 3 ; rw %define PORT_MODEM_CONTROL 4 ; rw %define PORT_LINE_STATUS 5 ; r %define PORT_MODEM_STATUS 6 ; r %define PORT_SCRATCH 7 ; rw %define INT_TX (1 << 1) %define INT_RX (1 << 0) %define STATUS_INT (1 << 0) %define STATUS_REASON (7 << 1) %define STATUS_REASON_TX (1 << 1) %define STATUS_REASON_RX (2 << 1) %define LINE_STATUS_TX_READY (1 << 5) section .text ; set serial port 1 to 38400, 8N1 global serial_init serial_init: push eax push edx outio SERIAL1_PORT + PORT_LINE_CONTROL, MODE_DIVISOR_LATCH | MODE_8N1 ; in theory, there could be high bits set, but anything 1200bps or better ; won't use them. outio SERIAL1_PORT + PORT_DIVISOR_HIGH, 0 outio SERIAL1_PORT + PORT_DIVISOR_LOW, SPEED_38400 outio SERIAL1_PORT + PORT_LINE_CONTROL, MODE_8N1 ; turn on interrupt for receive outio SERIAL1_PORT + PORT_INT_ENABLE, INT_RX mov eax, 0x20 + SERIAL1_IRQ mov edi, irq_handler call irq_set_handler mov eax, SERIAL1_IRQ call irq_enable pop edx pop eax ret irq_handler: push eax push edx inio SERIAL1_PORT + PORT_INT_ID test al, STATUS_INT jnz .out and al, STATUS_REASON cmp al, STATUS_REASON_RX jne .out xor eax, eax inio SERIAL1_PORT + PORT_RX push eax call event_serial pop eax .out: outio 0x20, 0x20 pop edx pop eax iret ; (external) global serial_write serial_write: push ebp mov ebp, esp push edx push eax .loop: inio SERIAL1_PORT + PORT_LINE_STATUS test al, LINE_STATUS_TX_READY jz .loop mov eax, [ebp + 8] outioa SERIAL1_PORT + PORT_TX pop eax pop edx pop ebp ret
23.134615
75
0.651704
fc04b65751281257ece78e1e18f46617310f010b
9,425
nasm
Assembly
CloverEFI/BootSector/start.nasm
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
3,861
2019-09-04T10:10:11.000Z
2022-03-31T15:46:28.000Z
CloverEFI/BootSector/start.nasm
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
461
2019-09-24T10:26:56.000Z
2022-03-26T13:22:32.000Z
CloverEFI/BootSector/start.nasm
crazyinsanejames/CloverBootloader
799880e95aaa2783f27373e91837fc105352e82f
[ "BSD-2-Clause" ]
654
2019-09-05T11:42:37.000Z
2022-03-30T02:42:32.000Z
; ; Parameters ; X64 - 64 bit target ; LEGACY_A20 - use slow A20 Gate ; CHARACTER_TO_SHOW - character to display ; FORCE_TEXT_MODE - switch to 80x25 mono mode ; USB_LOW_EBDA - low-ebda mode ; GENPAGE - genpage mode ; %ifdef LEGACY_A20 DELAY_PORT: equ 0xed ; Port to use for 1uS delay KBD_CONTROL_PORT: equ 0x60 ; 8042 control port KBD_STATUS_PORT: equ 0x64 ; 8042 status port WRITE_DATA_PORT_CMD: equ 0xd1 ; 8042 command to write the data port ENABLE_A20_CMD: equ 0xdf ; 8042 command to enable A20 %else FAST_ENABLE_A20_PORT: equ 0x92 FAST_ENABLE_A20_MASK: equ 2 %endif BASE_ADR_16: equ 0x0200 SIZE_TO_STACK_16: equ 0x0fe0 - BASE_ADR_16 IA32_EFER: equ 0xC0000080 %ifndef CHARACTER_TO_SHOW %ifdef X64 %define CHARACTER_TO_SHOW '7' %else %define CHARACTER_TO_SHOW '3' %endif %endif %assign GDT_DESC_SIZE 8 %macro GDT_DESC 2 dw 0xFFFF, 0 db 0, %1, %2, 0 %endmacro %ifdef X64 %assign IDT_DESC_SIZE 16 %macro IDT_DESC 0 dw 0, SYS_CODE64_SEL db 0, 0x8e dw 0 dd 0, 0 %endmacro %else %assign IDT_DESC_SIZE 8 %macro IDT_DESC 0 dw 0, SYS_CODE_SEL db 0, 0x8e dw 0 %endmacro %endif %ifdef X64 %ifndef GENPAGE section .pagezero start=0 times BASE_ADR_16 db 0 %endif %else %undef GENPAGE %endif bits 16 section .text start=BASE_ADR_16 global _start _start: jmp .SkipLabel %ifdef X64 db 'CLOVERX64 ' ; Bootloader Label %else db 'CLOVERIA32 ' ; Bootloader Label %endif .SkipLabel: mov ax, cs mov ds, ax mov es, ax mov ss, ax mov sp, MyStack ; ; Retrieve Bios Memory Map ; xor ebx, ebx lea edi, [MemoryMap] .MemMapLoop: mov eax, 0xe820 mov ecx, 20 mov edx, 0x534d4150 ; SMAP int 0x15 jc .MemMapDone add di, 20 test ebx, ebx jnz .MemMapLoop .MemMapDone: sub di, MemoryMap ; Get the address of the memory map mov [MemoryMapSize], edi ; Save the size of the memory map ; ; Rebase Self ; xor ebx, ebx mov bx, cs shl ebx, 4 add [gdtr + 2], ebx add [idtr + 2], ebx add [.JumpTo32BitProtectedMode], ebx %ifdef X64 add [.JumpToLongMode], ebx %endif ; ; Enable A20 Gate ; mov ax, 0x2401 int 0x15 jnc .A20GateEnabled ; ; If INT 15 Function 2401 is not supported, then attempt to Enable A20 manually. ; %ifdef LEGACY_A20 ; ; Legacy A20gate ; call Empty8042InputBuffer ; Empty the Input Buffer on the 8042 controller jnz .Timeout8042 ; Jump if the 8042 timed out out DELAY_PORT, ax ; Delay 1 uS mov al, WRITE_DATA_PORT_CMD ; 8042 cmd to write output port out KBD_STATUS_PORT, al ; Send command to the 8042 call Empty8042InputBuffer ; Empty the Input Buffer on the 8042 controller jnz .Timeout8042 ; Jump if the 8042 timed out mov al, ENABLE_A20_CMD ; gate address bit 20 on out KBD_CONTROL_PORT,al ; Send command to thre 8042 call Empty8042InputBuffer ; Empty the Input Buffer on the 8042 controller mov cx, 25 ; Delay 25 uS for the command to complete on the 8042 .Delay25uS: out DELAY_PORT, ax ; Delay 1 uS loop .Delay25uS .Timeout8042: %else ; ; WIKI - fast A20gate ; in al, FAST_ENABLE_A20_PORT or al, FAST_ENABLE_A20_MASK out FAST_ENABLE_A20_PORT, al %endif .A20GateEnabled: %ifdef GENPAGE ; ; Create Page Table ; call CreatePageTable %endif %ifdef FORCE_TEXT_MODE ; ; Switch to 80x25 mono text mode (2) ; mov ax, 2 int 0x10 %endif ; ; Display CHARACTER_TO_SHOW ; mov bx, 0x000F mov ax, 0x0E00 | (CHARACTER_TO_SHOW & 255) int 0x10 %ifndef X64 mov bx, LINEAR_SEL ; Flat data descriptor %endif ; ; DISABLE INTERRUPTS - Entering Protected Mode ; cli %ifdef GENPAGE ; ; Ready Address of Page Table in EDX ; movzx edx, word [PageTableSegment] shl edx, 4 %endif ; ; load GDT ; lgdt [gdtr] %ifndef X64 ; ; load IDT ; lidt [idtr] %endif ; ; Enable Protected Mode (set CR0.PE=1) ; mov eax, cr0 or al, 1 mov cr0, eax .JumpTo32BitProtectedMode: equ $ + 2 %ifndef X64 jmp dword LINEAR_CODE_SEL:(BlockSignature + 2) %else jmp dword LINEAR_CODE_SEL:.In32BitProtectedMode .In32BitProtectedMode: bits 32 ; ; Entering Long Mode ; mov ax, LINEAR_SEL mov ds, eax mov es, eax mov ss, eax ; WARNING: esp invalid here ; ; Enable the 64-bit page-translation-table entries by ; setting CR4.PAE=1 (this is _required_ before activating ; long mode). Paging is not enabled until after long mode ; is enabled. ; mov eax, cr4 or al, 0x20 mov cr4, eax ; ; This is the Trapolean Page Tables that are guarenteed ; under 4GB. ; ; Address Map: ; 10000 ~ 12000 - efildr (loaded) ; 20000 ~ 21000 - start64.com ; 21000 ~ 22000 - efi64.com ; 22000 ~ 90000 - efildr ; 90000 ~ 96000 - 4G pagetable (will be reload later) ; %ifdef GENPAGE mov cr3, edx %elifdef USE_LOW_EBDA mov eax, 0x88000 mov cr3, eax %else mov eax, 0x90000 mov cr3, eax %endif ; ; Enable long mode (set EFER.LME=1). ; mov ecx, IA32_EFER rdmsr or ax, 0x100 wrmsr ; ; Enable Paging to activate long mode (set CR0.PG=1) ; mov eax, cr0 bts eax, 31 mov cr0, eax .JumpToLongMode: equ $ + 1 jmp SYS_CODE64_SEL:.InLongMode .InLongMode: bits 64 mov ax, SYS_DATA_SEL mov ds, eax mov es, eax mov ss, eax lea rsp, [REL MyStack] ; ; load IDT ; lidt [REL idtr] jmp BlockSignature + 2 %endif bits 16 %ifdef LEGACY_A20 Empty8042InputBuffer: xor cx, cx .Empty8042Loop: out DELAY_PORT, ax ; Delay 1us in al, KBD_STATUS_PORT ; Read the 8042 Status Port and al, 2 ; Check the Input Buffer Full Flag loopnz .Empty8042Loop ; Loop until the input buffer is empty or a timout of 65536 uS ret %endif %ifdef GENPAGE ; ; Find place for page table and create it ; EFILDR_BASE: equ 0x2000 ; Offset to start of EFILDR block EFILDR_FILE_LENGTH equ 8 ; Dword in EFILDR_HEADER holding size of block EBDA_SEG: equ 0x40 ; Segment:Offset for finding the EBDA EBDA_OFFSET: equ 0xE CreatePageTable: mov edx, [EFILDR_BASE + EFILDR_FILE_LENGTH] ; Size of EFILDR block -> EDX add edx, EFILDR_BASE + 15 ; Add base shr edx, 4 ; And round up to multiple of 16 mov ax, ds add dx, ax ; Add in linear base add dx, 255 xor dl, dl ; And round up to page size ; DX holds 16-bit segment of page table mov cx, ds ; Save DS mov ax, EBDA_SEG add dh, 6 ; Need 6 pages for table mov ds, ax mov ax, [EBDA_OFFSET] ; EBDA 16-bit segment now in AX mov ds, cx ; Restore DS cmp ax, dx ; Does page table fit under EBDA? jae .continue ; Yes, continue jmp PageTableError ; No, abort .continue: sub dh, 6 ; Restore DX to start segment of page table mov [PageTableSegment], dx ; Stash it for client push es push di ; Save ES:DI used to build page table mov es, dx xor di, di ; ES:DI points to start of page table inc dh ; Bump DX to next page ; ; Set up page table root page (only 1 entry) ; xor eax, eax mov ax, dx inc dh ; Bump DX to next page shl eax, 4 or al, 3 stosd xor eax, eax mov cx, 2046 rep stosw ; Wipe rest of 1st page ; ; Set up page table 2nd page (depth 1 - 4 entries) ; mov cx, 4 .loop1: mov ax, dx inc dh ; Bump DX to next page shl eax, 4 or al, 3 stosd xor eax, eax stosd loop .loop1 mov cx, 2032 ; Wipe rest of 2nd page rep stosw ; ; Set up pages 3 - 6 (depth 2 - 2048 entries) ; xor edx, edx ; Start at base of memory mov dl, 0x83 ; Flags at leaf nodes mark large pages (2MB each) mov cx, 2048 .loop2: mov eax, edx add edx, 0x200000 ; Bump EDX to next large page stosd xor eax, eax stosd loop .loop2 ; ; Done - restore ES:DI and return ; pop di pop es ret ; ; Get here if not enough space between boot file ; and bottom of the EBDA - print error and halt ; PageTableError: add sp, 2 ; Clear return address of CreatePageTable mov bx, 15 mov si, PageErrorMsg .loop: lodsb test al, al jz .halt mov ah, 14 int 16 jmp .loop .halt: hlt jmp .halt align 2, db 0 PageTableSegment: dw 0 PageErrorMsg: db 'Unable to Allocate Memory for Page Table', 0 %endif ; ; Data ; align 2, db 0 gdtr: dw GDT_END - GDT_BASE - 1 dd GDT_BASE ; ; global descriptor table (GDT) ; align GDT_DESC_SIZE, db 0 GDT_BASE: NULL_SEL: equ $ - GDT_BASE times GDT_DESC_SIZE db 0 LINEAR_SEL: equ $ - GDT_BASE GDT_DESC 0x92, 0xCF LINEAR_CODE_SEL: equ $ - GDT_BASE GDT_DESC 0x9A, 0xCF SYS_DATA_SEL: equ $ - GDT_BASE GDT_DESC 0x92, 0xCF SYS_CODE_SEL: equ $ - GDT_BASE GDT_DESC 0x9A, 0xCF times GDT_DESC_SIZE db 0 %ifdef X64 SYS_DATA64_SEL: equ $ - GDT_BASE GDT_DESC 0x92, 0xCF SYS_CODE64_SEL: equ $ - GDT_BASE GDT_DESC 0x9A, 0xAF %else times GDT_DESC_SIZE db 0 %endif times GDT_DESC_SIZE db 0 GDT_END: align 2, db 0 idtr: dw IDT_END - IDT_BASE - 1 dd IDT_BASE %ifdef X64 dd 0 %endif ; ; interrupt descriptor table (IDT) ; ; ; Note: The hardware IRQ's specified in this table are the normal PC/AT IRQ ; mappings. This implementation only uses the system timer and all other ; IRQs will remain masked. ; align IDT_DESC_SIZE, db 0 IDT_BASE: %rep 20 ; Exceptions 0 - 19 IDT_DESC %endrep times 84 * IDT_DESC_SIZE db 0 %rep 16 ; Interrupts IRQ0 - IRQ15 mapped to vectors 0x68 - 0x77 IDT_DESC %endrep times IDT_DESC_SIZE db 0 ; padding IDT_END: align 4, db 0 MemoryMapSize: dd 0 MemoryMap: times SIZE_TO_STACK_16 - $ + $$ db 0 MyStack: ; below is the pieces of the IVT that is used to redirect INT 68h - 6fh ; back to INT 08h - 0fh when in real mode... It is 'org'ed to a ; known low address (20f00) so it can be set up by PlMapIrqToVect in ; 8259.c %assign i 8 %rep 8 int i iret %assign i i+1 %endrep times 0x1e - $ + MyStack db 0 BlockSignature: dw 0xaa55
18.055556
86
0.705146
e223a4b2a19bb43435f2c5cc2365df702b1f2517
748
asm
Assembly
oeis/333/A333747.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/333/A333747.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/333/A333747.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A333747: Numbers that are either the product of two consecutive primes or two primes with a prime in between. ; Submitted by Jon Maiga ; 6,10,15,21,35,55,77,91,143,187,221,247,323,391,437,551,667,713,899,1073,1147,1271,1517,1591,1763,1927,2021,2279,2491,2773,3127,3233,3599,3953,4087,4331,4757,4891,5183,5609,5767,6059,6557,7031,7387,8051,8633,8989,9797,9991,10403,10807,11021,11227,11663,12091,12317,13843,14351,14803,16637,17399,17947,18209,19043,20413,20711,20989,22499,23393,23707,24613,25591,26219,27221,28199,28891,29893,30967,31313,32399,34189,34571,34933,36863,37627,38021,38407,39203,41567,41989,44377,47053,47897,50621,51067 mov $2,$0 add $0,1 div $2,2 sub $0,$2 seq $0,40 ; The prime numbers. seq $2,40 ; The prime numbers. mul $0,$2
62.333333
499
0.77139
f9a645b278210ace19c0c6eb9f555a447a453491
655
asm
Assembly
oeis/077/A077235.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/077/A077235.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/077/A077235.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A077235: Bisection (odd part) of Chebyshev sequence with Diophantine property. ; 5,16,59,220,821,3064,11435,42676,159269,594400,2218331,8278924,30897365,115310536,430344779,1606068580,5993929541,22369649584,83484668795,311569025596,1162791433589,4339596708760,16195595401451,60442784897044,225575544186725,841859391849856,3141862023212699,11725588701000940,43760492780791061,163316382422163304,609505036907862155,2274703765209285316,8489310023929279109,31682536330507831120,118240835298102045371,441280804861900350364,1646882384149499356085,6146248731736097073976 mov $1,5 lpb $0 sub $0,1 add $2,$1 add $1,$2 add $1,6 add $2,$1 lpe mov $0,$1
50.384615
484
0.842748
ce6cc6e03d5c8d9e196fd255fe01146d84532887
168
asm
Assembly
defaults.asm
codenamenadja/c-libs-libasm
ff1f9df422a72c5e68a2188542c1b215a4ce7330
[ "MIT" ]
null
null
null
defaults.asm
codenamenadja/c-libs-libasm
ff1f9df422a72c5e68a2188542c1b215a4ce7330
[ "MIT" ]
null
null
null
defaults.asm
codenamenadja/c-libs-libasm
ff1f9df422a72c5e68a2188542c1b215a4ce7330
[ "MIT" ]
null
null
null
section .data SYS_WRITE equ 1 STDOUT_FILENO equ 1 SYS_EXIT equ 60 EXIT_CODE equ 0 NEW_LINE db 0xa
21
31
0.47619
5dc70919c581e0b707114663f6567e7a1ed4d8bf
86
asm
Assembly
tests/basic.asm
bynect/intel-8080-kit
c723442ba697c4a995311dc7e49eeb5f07006edd
[ "MIT" ]
null
null
null
tests/basic.asm
bynect/intel-8080-kit
c723442ba697c4a995311dc7e49eeb5f07006edd
[ "MIT" ]
null
null
null
tests/basic.asm
bynect/intel-8080-kit
c723442ba697c4a995311dc7e49eeb5f07006edd
[ "MIT" ]
null
null
null
; basic emulator example basic: in 0 mvi b, 100 add b out 10 hlt
9.555556
24
0.546512
c9f4959d9d319cdc27696923421898904798ebb8
377
asm
Assembly
programs/oeis/218/A218324.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/218/A218324.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/218/A218324.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A218324: Odd heptagonal pyramidal numbers ; 1,115,645,1911,4233,7931,13325,20735,30481,42883,58261,76935,99225,125451,155933,190991,230945,276115,326821,383383,446121,515355,591405,674591,765233,863651,970165,1085095,1208761,1341483,1483581,1635375,1797185,1969331 mul $0,4 add $0,3 lpb $0 sub $0,1 add $1,$3 add $2,1 mov $4,$2 add $2,4 add $3,$4 trn $3,5 lpe
25.133333
222
0.729443
5717e5ad14649f97483c21ddc4f8febf82bfdecc
374
asm
Assembly
virus/socketcall.asm
roguematter/malware-csg513
959ecdfad5efc8c95fd7143ef243fc07366f29e8
[ "CC0-1.0" ]
null
null
null
virus/socketcall.asm
roguematter/malware-csg513
959ecdfad5efc8c95fd7143ef243fc07366f29e8
[ "CC0-1.0" ]
null
null
null
virus/socketcall.asm
roguematter/malware-csg513
959ecdfad5efc8c95fd7143ef243fc07366f29e8
[ "CC0-1.0" ]
null
null
null
_socket: mov eax,102 mov ebx,1 mov ecx,esp add ecx,4 int 0x80 ret 12 _bind: mov eax,102 mov ebx,2 mov ecx,esp add ecx,4 int 0x80 ret 28 _connect: mov eax,102 mov ebx,3 mov ecx,esp add ecx,4 int 0x80 ret 28 _listen: mov eax,102 mov ebx,4 mov ecx,esp add ecx,4 int 0x80 ret 5 _accept: mov eax,102 mov ebx,5 mov ecx,esp add ecx,4 int 0x80 ret 12
10.108108
12
0.676471
c5f1335251fd6bd39115b4fd0d24971ce14380d1
577
asm
Assembly
oeis/184/A184587.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/184/A184587.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/184/A184587.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A184587: a(n) = floor((n+1/2)*s), where s=(5+sqrt(5))/4; complement of A184586. ; Submitted by Jon Maiga ; 2,4,6,8,9,11,13,15,17,18,20,22,24,26,28,29,31,33,35,37,38,40,42,44,46,47,49,51,53,55,56,58,60,62,64,66,67,69,71,73,75,76,78,80,82,84,85,87,89,91,93,94,96,98,100,102,104,105,107,109,111,113,114,116,118,120,122,123,125,127,129,131,132,134,136,138,140,142,143,145,147,149,151,152,154,156,158,160,161,163,165,167,169,170,172,174,176,178,179,181 mov $2,$0 seq $0,184657 ; floor(n*s+h-h*s), where s=(3+sqrt(5))/2, h=-1/2; complement of A184656. add $0,$2 div $0,2 add $0,1
57.7
342
0.667244
a626fa734ce3c77f280d31ab11855bed5adbc183
642
asm
Assembly
oeis/213/A213546.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/213/A213546.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/213/A213546.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A213546: Principal diagonal of the convolution array A213505. ; 1,25,170,674,1979,4795,10164,19524,34773,58333,93214,143078,212303,306047,430312,592008,799017,1060257,1385746,1786666,2275427,2865731,3572636,4412620,5403645,6565221,7918470,9486190,11292919,13364999,15730640,18419984,21465169,24900393,28761978,33088434,37920523,43301323,49276292,55893332,63202853,71257837,80113902,89829366,100465311,112085647,124757176,138549656,153535865,169791665,187396066,206431290,226982835,249139539,272993644,298640860,326180429,355715189,387351638,421199998,457374279 mul $0,2 add $0,1 seq $0,337173 ; a(n) = Sum_{k=1..floor(n/2)} k^2 * (n-k)^2.
91.714286
498
0.82243
6594de09a2244d351d17424370b7a9b3121e3ef4
110
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dconst_1_3.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dconst_1_3.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/z80/asm_dconst_1_3.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math48 PUBLIC asm_dconst_1_3 EXTERN am48_dconst_1_3 defc asm_dconst_1_3 = am48_dconst_1_3
12.222222
37
0.863636
6c69d4782ade81ee3e666ceae9729fd3d4c7a6e9
7,813
asm
Assembly
bootloader/src/asm_routines.asm
Cisco-Talos/Barbervisor
b34cd716d965d100fcf61ae10f31eb15966dce78
[ "Apache-2.0" ]
122
2020-08-10T16:02:02.000Z
2022-03-13T22:05:55.000Z
bootloader/src/asm_routines.asm
Cisco-Talos/Barbervisor
b34cd716d965d100fcf61ae10f31eb15966dce78
[ "Apache-2.0" ]
null
null
null
bootloader/src/asm_routines.asm
Cisco-Talos/Barbervisor
b34cd716d965d100fcf61ae10f31eb15966dce78
[ "Apache-2.0" ]
19
2020-08-10T16:50:26.000Z
2022-01-08T18:41:48.000Z
[bits 32] ; This is the program code segment base in bytes. Since we use real mode in ; this codebase we need to make sure we set CS correctly. ; Since this is in bytes, PROGRAM_BASE of 0x10000 would mean CS will be set to ; 0x1000 when in real-mode %define PROGRAM_BASE 0x10000 struc register_state .eax: resd 1 .ecx: resd 1 .edx: resd 1 .ebx: resd 1 .esp: resd 1 .ebp: resd 1 .esi: resd 1 .edi: resd 1 .efl: resd 1 .es: resw 1 .ds: resw 1 .fs: resw 1 .gs: resw 1 .ss: resw 1 endstruc section .text global _invoke_realmode _invoke_realmode: pushad lgdt [rmgdt] ; Set all selectors to data segments mov ax, 0x10 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax jmp 0x0008:(.foop - PROGRAM_BASE) [bits 16] .foop: ; Disable protected mode mov eax, cr0 and eax, ~1 mov cr0, eax ; Clear out all segments xor ax, ax mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax ; Set up a fake iret to do a long jump to switch to new cs. pushfd ; eflags push dword (PROGRAM_BASE >> 4) ; cs push dword (.new_func - PROGRAM_BASE) ; eip iretd .new_func: ; Get the arguments passed to this function movzx ebx, byte [esp + (4*0x9)] ; arg1, interrupt number shl ebx, 2 mov eax, dword [esp + (4*0xa)] ; arg2, pointer to registers ; Set up interrupt stack frame. This is what the real mode routine will ; pop off the stack during its iret. mov ebp, (.retpoint - PROGRAM_BASE) pushfw push cs push bp ; Set up the call for the interrupt by loading the contents of the IVT ; based on the interrupt number specified pushfw push word [bx+2] push word [bx+0] ; Load the register state specified mov ecx, dword [eax + register_state.ecx] mov edx, dword [eax + register_state.edx] mov ebx, dword [eax + register_state.ebx] mov ebp, dword [eax + register_state.ebp] mov esi, dword [eax + register_state.esi] mov edi, dword [eax + register_state.edi] mov eax, dword [eax + register_state.eax] ; Perform a long jump to the interrupt entry point, simulating a software ; interrupt instruction iretw .retpoint: ; Save off all registers push eax push ecx push edx push ebx push ebp push esi push edi pushfd push es push ds push fs push gs push ss ; Get a pointer to the registers mov eax, dword [esp + (4*0xa) + (4*8) + (5*2)] ; arg2, pointer to registers ; Update the register state with the post-interrupt register state. pop word [eax + register_state.ss] pop word [eax + register_state.gs] pop word [eax + register_state.fs] pop word [eax + register_state.ds] pop word [eax + register_state.es] pop dword [eax + register_state.efl] pop dword [eax + register_state.edi] pop dword [eax + register_state.esi] pop dword [eax + register_state.ebp] pop dword [eax + register_state.ebx] pop dword [eax + register_state.edx] pop dword [eax + register_state.ecx] pop dword [eax + register_state.eax] ; Load data segment for lgdt mov ax, (PROGRAM_BASE >> 4) mov ds, ax ; Enable protected mode mov eax, cr0 or eax, 1 mov cr0, eax ; Load 32-bit protected mode GDT mov eax, (pmgdt - PROGRAM_BASE) lgdt [eax] ; Set all segments to data segments mov ax, 0x10 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax ; Long jump back to protected mode. pushfd ; eflags push dword 0x0008 ; cs push dword backout ; eip iretd [bits 32] global _pxecall _pxecall: mov word [0xb8000], 0x0461 pushad lgdt [rmgdt] ; Set all selectors to data segments mov ax, 0x10 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax jmp 0x0008:(.foop - PROGRAM_BASE) [bits 16] .foop: ; Disable protected mode mov eax, cr0 and eax, ~1 mov cr0, eax ; Clear all segments xor ax, ax mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax ; Perform a long jump to real-mode pushfd ; eflags push dword (PROGRAM_BASE >> 4) ; cs push dword (.new_func - PROGRAM_BASE) ; eip iretd .new_func: ; pub fn pxecall(seg: u16, off: u16, pxe_call: u16, param_seg: u16, param_off: u16); movzx eax, word [esp + (4*0x9)] ; arg1, seg movzx ebx, word [esp + (4*0xa)] ; arg2, offset movzx ecx, word [esp + (4*0xb)] ; arg3, pxe_call movzx edx, word [esp + (4*0xc)] ; arg4, param_seg movzx esi, word [esp + (4*0xd)] ; arg5, param_off ; Set up PXE call parameters (opcode, offset, seg) push dx push si push cx ; Set up our return address from the far call mov ebp, (.retpoint - PROGRAM_BASE) push cs push bp ; Set up a far call via iretw pushfw push ax push bx iretw .retpoint: ; Hyper-V has been observed to set the interrupt flag in PXE routines. We ; clear it ASAP. cli ; Clean up the stack from the 3 word parameters we passed to PXE add sp, 6 ; Load data segment for lgdt mov ax, (PROGRAM_BASE >> 4) mov ds, ax ; Enable protected mode mov eax, cr0 or eax, 1 mov cr0, eax ; Load 32-bit protected mode GDT mov eax, (pmgdt - PROGRAM_BASE) lgdt [eax] ; Set all segments to data segments mov ax, 0x10 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax ; Jump back to protected mode pushfd ; eflags push dword 0x0008 ; cs push dword backout ; eip iretd [bits 32] backout: mov word [0xb8000], 0x0462 popad ret section .data ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; 16-bit real mode GDT align 8 rmgdt_base: ; Null descriptor dq 0x0000000000000000 ; 16-bit RO code, base PROGRAM_BASE, limit 0x0000ffff dq 0x00009a000000ffff | (PROGRAM_BASE << 16) ; 16-bit RW data, base 0, limit 0x0000ffff dq 0x000092000000ffff rmgdt: dw (rmgdt - rmgdt_base) - 1 dd rmgdt_base ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; 32-bit protected mode GDT align 8 pmgdt_base: dq 0x0000000000000000 ; Null descriptor dq 0x00CF9A000000FFFF dq 0x00CF92000000FFFF pmgdt: dw (pmgdt - pmgdt_base) - 1 dd pmgdt_base ; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ; 64-bit long mode GDT align 8 lmgdt_base: dq 0x0000000000000000 ; Null descriptor dq 0x00209a0000000000 ; 64-bit, present, code dq 0x0000920000000000 ; Present, data r/w lmgdt: dw (lmgdt - lmgdt_base) - 1 dd lmgdt_base dd 0 [bits 32] global _enter64 _enter64: ; qword [esp + 0x04] - Entry ; qword [esp + 0x0c] - Stack ; qword [esp + 0x14] - Param ; dword [esp + 0x1c] - New cr3 ; Get the parameters passed in to this function mov esi, [esp+0x1c] ; New cr3 ; Set up CR3 mov cr3, esi ; Set NXE (NX enable) and LME (long mode enable) mov edx, 0 mov eax, 0x00000900 mov ecx, 0xc0000080 wrmsr xor eax, eax or eax, (1 << 9) ; OSFXSR or eax, (1 << 10) ; OSXMMEXCPT or eax, (1 << 5) ; PAE or eax, (1 << 3) ; DE mov cr4, eax xor eax, eax and eax, ~(1 << 2) ; Clear Emulation flag or eax, (1 << 0) ; Protected mode enable or eax, (1 << 1) ; Monitor co-processor or eax, (1 << 16) ; Write protect or eax, (1 << 31) ; Paging enable mov cr0, eax ; Load the 64-bit long mode GDT lgdt [lmgdt] ; Long jump to enable long mode! jmp 0x0008:lm_entry [bits 64] lm_entry: ; Set all selectors to 64-bit data segments mov ax, 0x10 mov es, ax mov ds, ax mov fs, ax mov gs, ax mov ss, ax mov rdi, qword [rsp + 0x4] ; Entry point mov rbp, qword [rsp + 0xc] ; Stack sub rbp, 0x28 ; MSFT 64-bit calling convention requires 0x20 homing space ; We also need 8 bytes for the fake 'return address' since we ; iretq rather than call. ; Parameter mov rcx, qword [esp + 0x14] ; Set up a long jump via an iretq to jump to long mode. push qword 0x0010 ; ss push qword rbp ; rsp pushfq ; rflags push qword 0x0008 ; cs push qword rdi ; rip iretq cli .halt: hlt jmp short .halt
20.240933
85
0.65007
52f998e28b89c928b9a3797dad81a294c5a3853b
24,699
asm
Assembly
examples/pxScene2d/external/libnode-v0.12.7/deps/openssl/asm/x64-win32-masm/sha/sha512-x86_64.asm
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
2,494
2015-02-11T04:34:13.000Z
2022-03-31T14:21:47.000Z
examples/pxScene2d/external/libnode-v0.12.7/deps/openssl/asm/x64-win32-masm/sha/sha512-x86_64.asm
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
1,432
2017-06-21T04:08:48.000Z
2020-08-25T16:21:15.000Z
examples/pxScene2d/external/libnode-v0.12.7/deps/openssl/asm/x64-win32-masm/sha/sha512-x86_64.asm
madanagopaltcomcast/pxCore
c4a3a40a190521c8b6383d126c87612eca5b3c42
[ "Apache-2.0" ]
442
2015-02-12T13:45:46.000Z
2022-03-21T05:28:05.000Z
OPTION DOTNAME .text$ SEGMENT ALIGN(64) 'CODE' PUBLIC sha512_block_data_order ALIGN 16 sha512_block_data_order PROC PUBLIC mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha512_block_data_order:: mov rdi,rcx mov rsi,rdx mov rdx,r8 mov rcx,r9 push rbx push rbp push r12 push r13 push r14 push r15 mov r11,rsp shl rdx,4 sub rsp,16*8+4*8 lea rdx,QWORD PTR[rdx*8+rsi] and rsp,-64 mov QWORD PTR[((128+0))+rsp],rdi mov QWORD PTR[((128+8))+rsp],rsi mov QWORD PTR[((128+16))+rsp],rdx mov QWORD PTR[((128+24))+rsp],r11 $L$prologue:: lea rbp,QWORD PTR[K512] mov rax,QWORD PTR[rdi] mov rbx,QWORD PTR[8+rdi] mov rcx,QWORD PTR[16+rdi] mov rdx,QWORD PTR[24+rdi] mov r8,QWORD PTR[32+rdi] mov r9,QWORD PTR[40+rdi] mov r10,QWORD PTR[48+rdi] mov r11,QWORD PTR[56+rdi] jmp $L$loop ALIGN 16 $L$loop:: xor rdi,rdi mov r12,QWORD PTR[rsi] mov r13,r8 mov r14,rax bswap r12 ror r13,23 mov r15,r9 mov QWORD PTR[rsp],r12 ror r14,5 xor r13,r8 xor r15,r10 ror r13,4 add r12,r11 xor r14,rax add r12,QWORD PTR[rdi*8+rbp] and r15,r8 mov r11,rbx ror r14,6 xor r13,r8 xor r15,r10 xor r11,rcx xor r14,rax add r12,r15 mov r15,rbx ror r13,14 and r11,rax and r15,rcx ror r14,28 add r12,r13 add r11,r15 add rdx,r12 add r11,r12 lea rdi,QWORD PTR[1+rdi] add r11,r14 mov r12,QWORD PTR[8+rsi] mov r13,rdx mov r14,r11 bswap r12 ror r13,23 mov r15,r8 mov QWORD PTR[8+rsp],r12 ror r14,5 xor r13,rdx xor r15,r9 ror r13,4 add r12,r10 xor r14,r11 add r12,QWORD PTR[rdi*8+rbp] and r15,rdx mov r10,rax ror r14,6 xor r13,rdx xor r15,r9 xor r10,rbx xor r14,r11 add r12,r15 mov r15,rax ror r13,14 and r10,r11 and r15,rbx ror r14,28 add r12,r13 add r10,r15 add rcx,r12 add r10,r12 lea rdi,QWORD PTR[1+rdi] add r10,r14 mov r12,QWORD PTR[16+rsi] mov r13,rcx mov r14,r10 bswap r12 ror r13,23 mov r15,rdx mov QWORD PTR[16+rsp],r12 ror r14,5 xor r13,rcx xor r15,r8 ror r13,4 add r12,r9 xor r14,r10 add r12,QWORD PTR[rdi*8+rbp] and r15,rcx mov r9,r11 ror r14,6 xor r13,rcx xor r15,r8 xor r9,rax xor r14,r10 add r12,r15 mov r15,r11 ror r13,14 and r9,r10 and r15,rax ror r14,28 add r12,r13 add r9,r15 add rbx,r12 add r9,r12 lea rdi,QWORD PTR[1+rdi] add r9,r14 mov r12,QWORD PTR[24+rsi] mov r13,rbx mov r14,r9 bswap r12 ror r13,23 mov r15,rcx mov QWORD PTR[24+rsp],r12 ror r14,5 xor r13,rbx xor r15,rdx ror r13,4 add r12,r8 xor r14,r9 add r12,QWORD PTR[rdi*8+rbp] and r15,rbx mov r8,r10 ror r14,6 xor r13,rbx xor r15,rdx xor r8,r11 xor r14,r9 add r12,r15 mov r15,r10 ror r13,14 and r8,r9 and r15,r11 ror r14,28 add r12,r13 add r8,r15 add rax,r12 add r8,r12 lea rdi,QWORD PTR[1+rdi] add r8,r14 mov r12,QWORD PTR[32+rsi] mov r13,rax mov r14,r8 bswap r12 ror r13,23 mov r15,rbx mov QWORD PTR[32+rsp],r12 ror r14,5 xor r13,rax xor r15,rcx ror r13,4 add r12,rdx xor r14,r8 add r12,QWORD PTR[rdi*8+rbp] and r15,rax mov rdx,r9 ror r14,6 xor r13,rax xor r15,rcx xor rdx,r10 xor r14,r8 add r12,r15 mov r15,r9 ror r13,14 and rdx,r8 and r15,r10 ror r14,28 add r12,r13 add rdx,r15 add r11,r12 add rdx,r12 lea rdi,QWORD PTR[1+rdi] add rdx,r14 mov r12,QWORD PTR[40+rsi] mov r13,r11 mov r14,rdx bswap r12 ror r13,23 mov r15,rax mov QWORD PTR[40+rsp],r12 ror r14,5 xor r13,r11 xor r15,rbx ror r13,4 add r12,rcx xor r14,rdx add r12,QWORD PTR[rdi*8+rbp] and r15,r11 mov rcx,r8 ror r14,6 xor r13,r11 xor r15,rbx xor rcx,r9 xor r14,rdx add r12,r15 mov r15,r8 ror r13,14 and rcx,rdx and r15,r9 ror r14,28 add r12,r13 add rcx,r15 add r10,r12 add rcx,r12 lea rdi,QWORD PTR[1+rdi] add rcx,r14 mov r12,QWORD PTR[48+rsi] mov r13,r10 mov r14,rcx bswap r12 ror r13,23 mov r15,r11 mov QWORD PTR[48+rsp],r12 ror r14,5 xor r13,r10 xor r15,rax ror r13,4 add r12,rbx xor r14,rcx add r12,QWORD PTR[rdi*8+rbp] and r15,r10 mov rbx,rdx ror r14,6 xor r13,r10 xor r15,rax xor rbx,r8 xor r14,rcx add r12,r15 mov r15,rdx ror r13,14 and rbx,rcx and r15,r8 ror r14,28 add r12,r13 add rbx,r15 add r9,r12 add rbx,r12 lea rdi,QWORD PTR[1+rdi] add rbx,r14 mov r12,QWORD PTR[56+rsi] mov r13,r9 mov r14,rbx bswap r12 ror r13,23 mov r15,r10 mov QWORD PTR[56+rsp],r12 ror r14,5 xor r13,r9 xor r15,r11 ror r13,4 add r12,rax xor r14,rbx add r12,QWORD PTR[rdi*8+rbp] and r15,r9 mov rax,rcx ror r14,6 xor r13,r9 xor r15,r11 xor rax,rdx xor r14,rbx add r12,r15 mov r15,rcx ror r13,14 and rax,rbx and r15,rdx ror r14,28 add r12,r13 add rax,r15 add r8,r12 add rax,r12 lea rdi,QWORD PTR[1+rdi] add rax,r14 mov r12,QWORD PTR[64+rsi] mov r13,r8 mov r14,rax bswap r12 ror r13,23 mov r15,r9 mov QWORD PTR[64+rsp],r12 ror r14,5 xor r13,r8 xor r15,r10 ror r13,4 add r12,r11 xor r14,rax add r12,QWORD PTR[rdi*8+rbp] and r15,r8 mov r11,rbx ror r14,6 xor r13,r8 xor r15,r10 xor r11,rcx xor r14,rax add r12,r15 mov r15,rbx ror r13,14 and r11,rax and r15,rcx ror r14,28 add r12,r13 add r11,r15 add rdx,r12 add r11,r12 lea rdi,QWORD PTR[1+rdi] add r11,r14 mov r12,QWORD PTR[72+rsi] mov r13,rdx mov r14,r11 bswap r12 ror r13,23 mov r15,r8 mov QWORD PTR[72+rsp],r12 ror r14,5 xor r13,rdx xor r15,r9 ror r13,4 add r12,r10 xor r14,r11 add r12,QWORD PTR[rdi*8+rbp] and r15,rdx mov r10,rax ror r14,6 xor r13,rdx xor r15,r9 xor r10,rbx xor r14,r11 add r12,r15 mov r15,rax ror r13,14 and r10,r11 and r15,rbx ror r14,28 add r12,r13 add r10,r15 add rcx,r12 add r10,r12 lea rdi,QWORD PTR[1+rdi] add r10,r14 mov r12,QWORD PTR[80+rsi] mov r13,rcx mov r14,r10 bswap r12 ror r13,23 mov r15,rdx mov QWORD PTR[80+rsp],r12 ror r14,5 xor r13,rcx xor r15,r8 ror r13,4 add r12,r9 xor r14,r10 add r12,QWORD PTR[rdi*8+rbp] and r15,rcx mov r9,r11 ror r14,6 xor r13,rcx xor r15,r8 xor r9,rax xor r14,r10 add r12,r15 mov r15,r11 ror r13,14 and r9,r10 and r15,rax ror r14,28 add r12,r13 add r9,r15 add rbx,r12 add r9,r12 lea rdi,QWORD PTR[1+rdi] add r9,r14 mov r12,QWORD PTR[88+rsi] mov r13,rbx mov r14,r9 bswap r12 ror r13,23 mov r15,rcx mov QWORD PTR[88+rsp],r12 ror r14,5 xor r13,rbx xor r15,rdx ror r13,4 add r12,r8 xor r14,r9 add r12,QWORD PTR[rdi*8+rbp] and r15,rbx mov r8,r10 ror r14,6 xor r13,rbx xor r15,rdx xor r8,r11 xor r14,r9 add r12,r15 mov r15,r10 ror r13,14 and r8,r9 and r15,r11 ror r14,28 add r12,r13 add r8,r15 add rax,r12 add r8,r12 lea rdi,QWORD PTR[1+rdi] add r8,r14 mov r12,QWORD PTR[96+rsi] mov r13,rax mov r14,r8 bswap r12 ror r13,23 mov r15,rbx mov QWORD PTR[96+rsp],r12 ror r14,5 xor r13,rax xor r15,rcx ror r13,4 add r12,rdx xor r14,r8 add r12,QWORD PTR[rdi*8+rbp] and r15,rax mov rdx,r9 ror r14,6 xor r13,rax xor r15,rcx xor rdx,r10 xor r14,r8 add r12,r15 mov r15,r9 ror r13,14 and rdx,r8 and r15,r10 ror r14,28 add r12,r13 add rdx,r15 add r11,r12 add rdx,r12 lea rdi,QWORD PTR[1+rdi] add rdx,r14 mov r12,QWORD PTR[104+rsi] mov r13,r11 mov r14,rdx bswap r12 ror r13,23 mov r15,rax mov QWORD PTR[104+rsp],r12 ror r14,5 xor r13,r11 xor r15,rbx ror r13,4 add r12,rcx xor r14,rdx add r12,QWORD PTR[rdi*8+rbp] and r15,r11 mov rcx,r8 ror r14,6 xor r13,r11 xor r15,rbx xor rcx,r9 xor r14,rdx add r12,r15 mov r15,r8 ror r13,14 and rcx,rdx and r15,r9 ror r14,28 add r12,r13 add rcx,r15 add r10,r12 add rcx,r12 lea rdi,QWORD PTR[1+rdi] add rcx,r14 mov r12,QWORD PTR[112+rsi] mov r13,r10 mov r14,rcx bswap r12 ror r13,23 mov r15,r11 mov QWORD PTR[112+rsp],r12 ror r14,5 xor r13,r10 xor r15,rax ror r13,4 add r12,rbx xor r14,rcx add r12,QWORD PTR[rdi*8+rbp] and r15,r10 mov rbx,rdx ror r14,6 xor r13,r10 xor r15,rax xor rbx,r8 xor r14,rcx add r12,r15 mov r15,rdx ror r13,14 and rbx,rcx and r15,r8 ror r14,28 add r12,r13 add rbx,r15 add r9,r12 add rbx,r12 lea rdi,QWORD PTR[1+rdi] add rbx,r14 mov r12,QWORD PTR[120+rsi] mov r13,r9 mov r14,rbx bswap r12 ror r13,23 mov r15,r10 mov QWORD PTR[120+rsp],r12 ror r14,5 xor r13,r9 xor r15,r11 ror r13,4 add r12,rax xor r14,rbx add r12,QWORD PTR[rdi*8+rbp] and r15,r9 mov rax,rcx ror r14,6 xor r13,r9 xor r15,r11 xor rax,rdx xor r14,rbx add r12,r15 mov r15,rcx ror r13,14 and rax,rbx and r15,rdx ror r14,28 add r12,r13 add rax,r15 add r8,r12 add rax,r12 lea rdi,QWORD PTR[1+rdi] add rax,r14 jmp $L$rounds_16_xx ALIGN 16 $L$rounds_16_xx:: mov r13,QWORD PTR[8+rsp] mov r14,QWORD PTR[112+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[72+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[rsp] mov r13,r8 add r12,r14 mov r14,rax ror r13,23 mov r15,r9 mov QWORD PTR[rsp],r12 ror r14,5 xor r13,r8 xor r15,r10 ror r13,4 add r12,r11 xor r14,rax add r12,QWORD PTR[rdi*8+rbp] and r15,r8 mov r11,rbx ror r14,6 xor r13,r8 xor r15,r10 xor r11,rcx xor r14,rax add r12,r15 mov r15,rbx ror r13,14 and r11,rax and r15,rcx ror r14,28 add r12,r13 add r11,r15 add rdx,r12 add r11,r12 lea rdi,QWORD PTR[1+rdi] add r11,r14 mov r13,QWORD PTR[16+rsp] mov r14,QWORD PTR[120+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[80+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[8+rsp] mov r13,rdx add r12,r14 mov r14,r11 ror r13,23 mov r15,r8 mov QWORD PTR[8+rsp],r12 ror r14,5 xor r13,rdx xor r15,r9 ror r13,4 add r12,r10 xor r14,r11 add r12,QWORD PTR[rdi*8+rbp] and r15,rdx mov r10,rax ror r14,6 xor r13,rdx xor r15,r9 xor r10,rbx xor r14,r11 add r12,r15 mov r15,rax ror r13,14 and r10,r11 and r15,rbx ror r14,28 add r12,r13 add r10,r15 add rcx,r12 add r10,r12 lea rdi,QWORD PTR[1+rdi] add r10,r14 mov r13,QWORD PTR[24+rsp] mov r14,QWORD PTR[rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[88+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[16+rsp] mov r13,rcx add r12,r14 mov r14,r10 ror r13,23 mov r15,rdx mov QWORD PTR[16+rsp],r12 ror r14,5 xor r13,rcx xor r15,r8 ror r13,4 add r12,r9 xor r14,r10 add r12,QWORD PTR[rdi*8+rbp] and r15,rcx mov r9,r11 ror r14,6 xor r13,rcx xor r15,r8 xor r9,rax xor r14,r10 add r12,r15 mov r15,r11 ror r13,14 and r9,r10 and r15,rax ror r14,28 add r12,r13 add r9,r15 add rbx,r12 add r9,r12 lea rdi,QWORD PTR[1+rdi] add r9,r14 mov r13,QWORD PTR[32+rsp] mov r14,QWORD PTR[8+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[96+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[24+rsp] mov r13,rbx add r12,r14 mov r14,r9 ror r13,23 mov r15,rcx mov QWORD PTR[24+rsp],r12 ror r14,5 xor r13,rbx xor r15,rdx ror r13,4 add r12,r8 xor r14,r9 add r12,QWORD PTR[rdi*8+rbp] and r15,rbx mov r8,r10 ror r14,6 xor r13,rbx xor r15,rdx xor r8,r11 xor r14,r9 add r12,r15 mov r15,r10 ror r13,14 and r8,r9 and r15,r11 ror r14,28 add r12,r13 add r8,r15 add rax,r12 add r8,r12 lea rdi,QWORD PTR[1+rdi] add r8,r14 mov r13,QWORD PTR[40+rsp] mov r14,QWORD PTR[16+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[104+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[32+rsp] mov r13,rax add r12,r14 mov r14,r8 ror r13,23 mov r15,rbx mov QWORD PTR[32+rsp],r12 ror r14,5 xor r13,rax xor r15,rcx ror r13,4 add r12,rdx xor r14,r8 add r12,QWORD PTR[rdi*8+rbp] and r15,rax mov rdx,r9 ror r14,6 xor r13,rax xor r15,rcx xor rdx,r10 xor r14,r8 add r12,r15 mov r15,r9 ror r13,14 and rdx,r8 and r15,r10 ror r14,28 add r12,r13 add rdx,r15 add r11,r12 add rdx,r12 lea rdi,QWORD PTR[1+rdi] add rdx,r14 mov r13,QWORD PTR[48+rsp] mov r14,QWORD PTR[24+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[112+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[40+rsp] mov r13,r11 add r12,r14 mov r14,rdx ror r13,23 mov r15,rax mov QWORD PTR[40+rsp],r12 ror r14,5 xor r13,r11 xor r15,rbx ror r13,4 add r12,rcx xor r14,rdx add r12,QWORD PTR[rdi*8+rbp] and r15,r11 mov rcx,r8 ror r14,6 xor r13,r11 xor r15,rbx xor rcx,r9 xor r14,rdx add r12,r15 mov r15,r8 ror r13,14 and rcx,rdx and r15,r9 ror r14,28 add r12,r13 add rcx,r15 add r10,r12 add rcx,r12 lea rdi,QWORD PTR[1+rdi] add rcx,r14 mov r13,QWORD PTR[56+rsp] mov r14,QWORD PTR[32+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[120+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[48+rsp] mov r13,r10 add r12,r14 mov r14,rcx ror r13,23 mov r15,r11 mov QWORD PTR[48+rsp],r12 ror r14,5 xor r13,r10 xor r15,rax ror r13,4 add r12,rbx xor r14,rcx add r12,QWORD PTR[rdi*8+rbp] and r15,r10 mov rbx,rdx ror r14,6 xor r13,r10 xor r15,rax xor rbx,r8 xor r14,rcx add r12,r15 mov r15,rdx ror r13,14 and rbx,rcx and r15,r8 ror r14,28 add r12,r13 add rbx,r15 add r9,r12 add rbx,r12 lea rdi,QWORD PTR[1+rdi] add rbx,r14 mov r13,QWORD PTR[64+rsp] mov r14,QWORD PTR[40+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[56+rsp] mov r13,r9 add r12,r14 mov r14,rbx ror r13,23 mov r15,r10 mov QWORD PTR[56+rsp],r12 ror r14,5 xor r13,r9 xor r15,r11 ror r13,4 add r12,rax xor r14,rbx add r12,QWORD PTR[rdi*8+rbp] and r15,r9 mov rax,rcx ror r14,6 xor r13,r9 xor r15,r11 xor rax,rdx xor r14,rbx add r12,r15 mov r15,rcx ror r13,14 and rax,rbx and r15,rdx ror r14,28 add r12,r13 add rax,r15 add r8,r12 add rax,r12 lea rdi,QWORD PTR[1+rdi] add rax,r14 mov r13,QWORD PTR[72+rsp] mov r14,QWORD PTR[48+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[8+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[64+rsp] mov r13,r8 add r12,r14 mov r14,rax ror r13,23 mov r15,r9 mov QWORD PTR[64+rsp],r12 ror r14,5 xor r13,r8 xor r15,r10 ror r13,4 add r12,r11 xor r14,rax add r12,QWORD PTR[rdi*8+rbp] and r15,r8 mov r11,rbx ror r14,6 xor r13,r8 xor r15,r10 xor r11,rcx xor r14,rax add r12,r15 mov r15,rbx ror r13,14 and r11,rax and r15,rcx ror r14,28 add r12,r13 add r11,r15 add rdx,r12 add r11,r12 lea rdi,QWORD PTR[1+rdi] add r11,r14 mov r13,QWORD PTR[80+rsp] mov r14,QWORD PTR[56+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[16+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[72+rsp] mov r13,rdx add r12,r14 mov r14,r11 ror r13,23 mov r15,r8 mov QWORD PTR[72+rsp],r12 ror r14,5 xor r13,rdx xor r15,r9 ror r13,4 add r12,r10 xor r14,r11 add r12,QWORD PTR[rdi*8+rbp] and r15,rdx mov r10,rax ror r14,6 xor r13,rdx xor r15,r9 xor r10,rbx xor r14,r11 add r12,r15 mov r15,rax ror r13,14 and r10,r11 and r15,rbx ror r14,28 add r12,r13 add r10,r15 add rcx,r12 add r10,r12 lea rdi,QWORD PTR[1+rdi] add r10,r14 mov r13,QWORD PTR[88+rsp] mov r14,QWORD PTR[64+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[24+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[80+rsp] mov r13,rcx add r12,r14 mov r14,r10 ror r13,23 mov r15,rdx mov QWORD PTR[80+rsp],r12 ror r14,5 xor r13,rcx xor r15,r8 ror r13,4 add r12,r9 xor r14,r10 add r12,QWORD PTR[rdi*8+rbp] and r15,rcx mov r9,r11 ror r14,6 xor r13,rcx xor r15,r8 xor r9,rax xor r14,r10 add r12,r15 mov r15,r11 ror r13,14 and r9,r10 and r15,rax ror r14,28 add r12,r13 add r9,r15 add rbx,r12 add r9,r12 lea rdi,QWORD PTR[1+rdi] add r9,r14 mov r13,QWORD PTR[96+rsp] mov r14,QWORD PTR[72+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[32+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[88+rsp] mov r13,rbx add r12,r14 mov r14,r9 ror r13,23 mov r15,rcx mov QWORD PTR[88+rsp],r12 ror r14,5 xor r13,rbx xor r15,rdx ror r13,4 add r12,r8 xor r14,r9 add r12,QWORD PTR[rdi*8+rbp] and r15,rbx mov r8,r10 ror r14,6 xor r13,rbx xor r15,rdx xor r8,r11 xor r14,r9 add r12,r15 mov r15,r10 ror r13,14 and r8,r9 and r15,r11 ror r14,28 add r12,r13 add r8,r15 add rax,r12 add r8,r12 lea rdi,QWORD PTR[1+rdi] add r8,r14 mov r13,QWORD PTR[104+rsp] mov r14,QWORD PTR[80+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[40+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[96+rsp] mov r13,rax add r12,r14 mov r14,r8 ror r13,23 mov r15,rbx mov QWORD PTR[96+rsp],r12 ror r14,5 xor r13,rax xor r15,rcx ror r13,4 add r12,rdx xor r14,r8 add r12,QWORD PTR[rdi*8+rbp] and r15,rax mov rdx,r9 ror r14,6 xor r13,rax xor r15,rcx xor rdx,r10 xor r14,r8 add r12,r15 mov r15,r9 ror r13,14 and rdx,r8 and r15,r10 ror r14,28 add r12,r13 add rdx,r15 add r11,r12 add rdx,r12 lea rdi,QWORD PTR[1+rdi] add rdx,r14 mov r13,QWORD PTR[112+rsp] mov r14,QWORD PTR[88+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[48+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[104+rsp] mov r13,r11 add r12,r14 mov r14,rdx ror r13,23 mov r15,rax mov QWORD PTR[104+rsp],r12 ror r14,5 xor r13,r11 xor r15,rbx ror r13,4 add r12,rcx xor r14,rdx add r12,QWORD PTR[rdi*8+rbp] and r15,r11 mov rcx,r8 ror r14,6 xor r13,r11 xor r15,rbx xor rcx,r9 xor r14,rdx add r12,r15 mov r15,r8 ror r13,14 and rcx,rdx and r15,r9 ror r14,28 add r12,r13 add rcx,r15 add r10,r12 add rcx,r12 lea rdi,QWORD PTR[1+rdi] add rcx,r14 mov r13,QWORD PTR[120+rsp] mov r14,QWORD PTR[96+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[56+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[112+rsp] mov r13,r10 add r12,r14 mov r14,rcx ror r13,23 mov r15,r11 mov QWORD PTR[112+rsp],r12 ror r14,5 xor r13,r10 xor r15,rax ror r13,4 add r12,rbx xor r14,rcx add r12,QWORD PTR[rdi*8+rbp] and r15,r10 mov rbx,rdx ror r14,6 xor r13,r10 xor r15,rax xor rbx,r8 xor r14,rcx add r12,r15 mov r15,rdx ror r13,14 and rbx,rcx and r15,r8 ror r14,28 add r12,r13 add rbx,r15 add r9,r12 add rbx,r12 lea rdi,QWORD PTR[1+rdi] add rbx,r14 mov r13,QWORD PTR[rsp] mov r14,QWORD PTR[104+rsp] mov r12,r13 mov r15,r14 ror r12,7 xor r12,r13 shr r13,7 ror r12,1 xor r13,r12 mov r12,QWORD PTR[64+rsp] ror r15,42 xor r15,r14 shr r14,6 ror r15,19 add r12,r13 xor r14,r15 add r12,QWORD PTR[120+rsp] mov r13,r9 add r12,r14 mov r14,rbx ror r13,23 mov r15,r10 mov QWORD PTR[120+rsp],r12 ror r14,5 xor r13,r9 xor r15,r11 ror r13,4 add r12,rax xor r14,rbx add r12,QWORD PTR[rdi*8+rbp] and r15,r9 mov rax,rcx ror r14,6 xor r13,r9 xor r15,r11 xor rax,rdx xor r14,rbx add r12,r15 mov r15,rcx ror r13,14 and rax,rbx and r15,rdx ror r14,28 add r12,r13 add rax,r15 add r8,r12 add rax,r12 lea rdi,QWORD PTR[1+rdi] add rax,r14 cmp rdi,80 jb $L$rounds_16_xx mov rdi,QWORD PTR[((128+0))+rsp] lea rsi,QWORD PTR[128+rsi] add rax,QWORD PTR[rdi] add rbx,QWORD PTR[8+rdi] add rcx,QWORD PTR[16+rdi] add rdx,QWORD PTR[24+rdi] add r8,QWORD PTR[32+rdi] add r9,QWORD PTR[40+rdi] add r10,QWORD PTR[48+rdi] add r11,QWORD PTR[56+rdi] cmp rsi,QWORD PTR[((128+16))+rsp] mov QWORD PTR[rdi],rax mov QWORD PTR[8+rdi],rbx mov QWORD PTR[16+rdi],rcx mov QWORD PTR[24+rdi],rdx mov QWORD PTR[32+rdi],r8 mov QWORD PTR[40+rdi],r9 mov QWORD PTR[48+rdi],r10 mov QWORD PTR[56+rdi],r11 jb $L$loop mov rsi,QWORD PTR[((128+24))+rsp] mov r15,QWORD PTR[rsi] mov r14,QWORD PTR[8+rsi] mov r13,QWORD PTR[16+rsi] mov r12,QWORD PTR[24+rsi] mov rbp,QWORD PTR[32+rsi] mov rbx,QWORD PTR[40+rsi] lea rsp,QWORD PTR[48+rsi] $L$epilogue:: mov rdi,QWORD PTR[8+rsp] ;WIN64 epilogue mov rsi,QWORD PTR[16+rsp] DB 0F3h,0C3h ;repret $L$SEH_end_sha512_block_data_order:: sha512_block_data_order ENDP ALIGN 64 K512:: DQ 0428a2f98d728ae22h,07137449123ef65cdh DQ 0b5c0fbcfec4d3b2fh,0e9b5dba58189dbbch DQ 03956c25bf348b538h,059f111f1b605d019h DQ 0923f82a4af194f9bh,0ab1c5ed5da6d8118h DQ 0d807aa98a3030242h,012835b0145706fbeh DQ 0243185be4ee4b28ch,0550c7dc3d5ffb4e2h DQ 072be5d74f27b896fh,080deb1fe3b1696b1h DQ 09bdc06a725c71235h,0c19bf174cf692694h DQ 0e49b69c19ef14ad2h,0efbe4786384f25e3h DQ 00fc19dc68b8cd5b5h,0240ca1cc77ac9c65h DQ 02de92c6f592b0275h,04a7484aa6ea6e483h DQ 05cb0a9dcbd41fbd4h,076f988da831153b5h DQ 0983e5152ee66dfabh,0a831c66d2db43210h DQ 0b00327c898fb213fh,0bf597fc7beef0ee4h DQ 0c6e00bf33da88fc2h,0d5a79147930aa725h DQ 006ca6351e003826fh,0142929670a0e6e70h DQ 027b70a8546d22ffch,02e1b21385c26c926h DQ 04d2c6dfc5ac42aedh,053380d139d95b3dfh DQ 0650a73548baf63deh,0766a0abb3c77b2a8h DQ 081c2c92e47edaee6h,092722c851482353bh DQ 0a2bfe8a14cf10364h,0a81a664bbc423001h DQ 0c24b8b70d0f89791h,0c76c51a30654be30h DQ 0d192e819d6ef5218h,0d69906245565a910h DQ 0f40e35855771202ah,0106aa07032bbd1b8h DQ 019a4c116b8d2d0c8h,01e376c085141ab53h DQ 02748774cdf8eeb99h,034b0bcb5e19b48a8h DQ 0391c0cb3c5c95a63h,04ed8aa4ae3418acbh DQ 05b9cca4f7763e373h,0682e6ff3d6b2b8a3h DQ 0748f82ee5defb2fch,078a5636f43172f60h DQ 084c87814a1f0ab72h,08cc702081a6439ech DQ 090befffa23631e28h,0a4506cebde82bde9h DQ 0bef9a3f7b2c67915h,0c67178f2e372532bh DQ 0ca273eceea26619ch,0d186b8c721c0c207h DQ 0eada7dd6cde0eb1eh,0f57d4f7fee6ed178h DQ 006f067aa72176fbah,00a637dc5a2c898a6h DQ 0113f9804bef90daeh,01b710b35131c471bh DQ 028db77f523047d84h,032caab7b40c72493h DQ 03c9ebe0a15c9bebch,0431d67c49c100d4ch DQ 04cc5d4becb3e42b6h,0597f299cfc657e2ah DQ 05fcb6fab3ad6faech,06c44198c4a475817h EXTERN __imp_RtlVirtualUnwind:NEAR ALIGN 16 se_handler PROC PRIVATE push rsi push rdi push rbx push rbp push r12 push r13 push r14 push r15 pushfq sub rsp,64 mov rax,QWORD PTR[120+r8] mov rbx,QWORD PTR[248+r8] lea r10,QWORD PTR[$L$prologue] cmp rbx,r10 jb $L$in_prologue mov rax,QWORD PTR[152+r8] lea r10,QWORD PTR[$L$epilogue] cmp rbx,r10 jae $L$in_prologue mov rax,QWORD PTR[((128+24))+rax] lea rax,QWORD PTR[48+rax] mov rbx,QWORD PTR[((-8))+rax] mov rbp,QWORD PTR[((-16))+rax] mov r12,QWORD PTR[((-24))+rax] mov r13,QWORD PTR[((-32))+rax] mov r14,QWORD PTR[((-40))+rax] mov r15,QWORD PTR[((-48))+rax] mov QWORD PTR[144+r8],rbx mov QWORD PTR[160+r8],rbp mov QWORD PTR[216+r8],r12 mov QWORD PTR[224+r8],r13 mov QWORD PTR[232+r8],r14 mov QWORD PTR[240+r8],r15 $L$in_prologue:: mov rdi,QWORD PTR[8+rax] mov rsi,QWORD PTR[16+rax] mov QWORD PTR[152+r8],rax mov QWORD PTR[168+r8],rsi mov QWORD PTR[176+r8],rdi mov rdi,QWORD PTR[40+r9] mov rsi,r8 mov ecx,154 DD 0a548f3fch mov rsi,r9 xor rcx,rcx mov rdx,QWORD PTR[8+rsi] mov r8,QWORD PTR[rsi] mov r9,QWORD PTR[16+rsi] mov r10,QWORD PTR[40+rsi] lea r11,QWORD PTR[56+rsi] lea r12,QWORD PTR[24+rsi] mov QWORD PTR[32+rsp],r10 mov QWORD PTR[40+rsp],r11 mov QWORD PTR[48+rsp],r12 mov QWORD PTR[56+rsp],rcx call QWORD PTR[__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 se_handler ENDP .text$ ENDS .pdata SEGMENT READONLY ALIGN(4) ALIGN 4 DD imagerel $L$SEH_begin_sha512_block_data_order DD imagerel $L$SEH_end_sha512_block_data_order DD imagerel $L$SEH_info_sha512_block_data_order .pdata ENDS .xdata SEGMENT READONLY ALIGN(8) ALIGN 8 $L$SEH_info_sha512_block_data_order:: DB 9,0,0,0 DD imagerel se_handler .xdata ENDS END
12.877477
49
0.693388
f4f5a6936437a2262b7e0656df53259717584006
10,401
asm
Assembly
src/core/asm/x86/prim_inst.asm
Hiroshi123/bin_tools
95929eb218a82e30c43ee5bd209301a24abebffa
[ "MIT" ]
null
null
null
src/core/asm/x86/prim_inst.asm
Hiroshi123/bin_tools
95929eb218a82e30c43ee5bd209301a24abebffa
[ "MIT" ]
4
2019-02-27T05:41:26.000Z
2020-07-16T00:24:24.000Z
src/core/asm/x86/prim_inst.asm
Hiroshi123/bin_tools
95929eb218a82e30c43ee5bd209301a24abebffa
[ "MIT" ]
null
null
null
default rel section .text global _fetch extern _load_base extern _store_base extern _fetch_base extern _add_base extern _sub_base extern _and_base extern _or_base extern _xor_base extern _assign_base extern _check_on_iat extern _find_f_addr global __fetch8 global _fetch global _fetch8 global _fetch16 global _fetch32 global _fetch64 global _fetch_no64 global _load global _load8 global _load16 global _load32 global _load64 global _store global _store8 global _store16 global _store32 global _store64 global _assign global _assign8 global _assign16 global _assign32 global _assign64 global _add global _add8 global _add16 global _add32 global _add64 global _sub global _sub8 global _sub16 global _sub32 global _sub64 global _test global _not global _neg global _mul global _imul global _div global _idiv global _and global _and8 global _and16 global _and32 global _and64 global _or global _or8 global _or16 global _or32 global _or64 global _xor global _xor8 global _xor16 global _xor32 global _xor64 global _cmp global _cmp8 global _cmp16 global _cmp32 global _cmp64 global _rol global _ror global _shl global _shr global _inc global _dec global _call global _jmp global _push global _xchg global _shl0 global _shl1 global _shl2 global _shl3 global _shl4 global _shl5 global _shl6 global _shl7 global _shl8 extern _rax extern _rcx extern _rdx extern _rbx extern _rsp extern _rbp extern _rsi extern _rdi extern _r8 extern _r9 extern _r10 extern _r11 extern _r12 extern _r13 extern _r14 extern _r15 extern _eflags extern _rip extern _debug._inst extern _debug._offset extern _context._dflag extern _context._rex extern _context._arg1 extern _context._arg2 extern _context._rm extern _context._reg extern _context._res extern print extern get_diff_host_guest_addr extern _get_host_addr_from_guest extern _context._internal_arg1 extern _gen_push extern _op_shl_base ;; extern _add_edge %include "constant.asm" ;;; this fetch 8 does not increment instruction pointer aiming for debugging purpose. __fetch8: push rbp mov qword [_context._res],0x00 mov rax,[_rip] call _get_host_addr_from_guest mov al,[rax] mov [_context._res],al ;; for debugging lea rdx,[_debug._inst] add dl,[_debug._offset] mov byte [rdx],al add byte [_debug._offset],1 ;; no incrementation pop rbp ret _fetch_no64: mov ax,0 mov al,[_context._dflag] lea rdx,[_fetch_base] cmp al,0x18 jne _fetch_no64.b1 sub al,0x8 .b1: add dx,ax call [rdx] ret _fetch: mov ax,0 mov al,[_context._dflag] lea rdx,[_fetch_base] add dx,ax call [rdx] ret _fetch8: mov qword [_context._res],0x00 mov rax,[_rip] ;; call _get_host_addr_from_guest mov al,[rax] mov [_context._res],al ;; for debugging ;; lea rdx,[_debug._inst] ;; add dl,[_debug._offset] ;; mov [rdx],al ;; add byte [_debug._offset],1 ;; increment add dword [_rip],1 ret _fetch16: ;; push rbp mov qword [_context._res],0x00 mov rax,[_rip] ;; call _get_host_addr_from_guest mov ax,[rax] mov [_context._res],ax ;; for debugging ;; lea rdx,[_debug._inst] ;; add dl,[_debug._offset] ;; mov [rdx],ax ;; add byte [_debug._offset],2 ;; add dword [_rip],2 ;; pop rbp ret _fetch32: ;; push rbp mov qword [_context._res],0x00 mov rax,[_rip] ;; call _get_host_addr_from_guest mov eax,[rax] mov [_context._res],eax ;; for debugging ;; lea rdx,[_debug._inst] ;; add dl,[_debug._offset] ;; mov [rdx],eax ;; add byte [_debug._offset],4 ;; add dword [_rip],4 ;; pop rbp ret _fetch64: mov qword [_context._res],0x00 mov rax,[_rip] ;; call _get_host_addr_from_guest mov rax,[rax] mov [_context._res],rax ;; for debugging ;; lea rdx,[_debug._inst] ;; add dl,[_debug._offset] ;; mov [rdx],rax ;; add byte [_debug._offset],8 ;; incrementation add dword [_rip],8 ret ;;; you have _load: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_load_base] add dx,ax call [rdx] pop rbp ret _load8: push rbp mov qword [_context._res],0x00 mov rax,[_context._arg1] call _get_host_addr_from_guest mov dl,[rax] mov [_context._res],dl pop rbp ret _load16: push rbp mov qword [_context._res],0x00 mov rax,[_context._arg1] call _get_host_addr_from_guest mov dx,[rax] mov [_context._res],dx pop rbp ret _load32: push rbp mov rax,[_context._arg1] call _get_host_addr_from_guest mov eax,[rax] mov [_context._res],eax pop rbp ret _load64: push rbp mov rax,[_context._arg1] call _get_host_addr_from_guest mov rax,[rax] mov [_context._res],rax pop rbp ret _store: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_store_base] add dx,ax call [rdx] pop rbp ret _store8: push rbp mov rax,[_context._arg1] call _get_host_addr_from_guest mov dl,[_context._arg2] mov [rax],dl pop rbp ret _store16: push rbp mov rax,[_context._arg1] call _get_host_addr_from_guest mov dx,[_context._arg2] mov [rax],dx pop rbp ret _store32: push rbp mov rax,[_context._arg1] call _get_host_addr_from_guest mov edx,[_context._arg2] mov [rax],edx pop rbp ret _store64: push rbp mov rax,[_context._arg1] call _get_host_addr_from_guest mov rdx,[_context._arg2] mov [rax],rdx pop rbp ret ;;; assign means setting a value on a register. ;; assign is identical with store because ;;; in this virual condition, all registers are put on ;;; on a designated memory. ;;; Nevertheless, the distiguinshment is needed for ;;; measuring the count of two operations. _assign: push rbp mov ax,0 lea rdx,[_assign_base] mov al,[_context._dflag] add dx,ax call [rdx] pop rbp ret _assign8: push rbp mov rcx,0 mov rax,[_context._arg1] mov cl,[_context._arg2] mov [rax],cl pop rbp ret _assign16: push rbp mov rcx,0 mov rax,[_context._arg1] mov cx,[_context._arg2] mov [rax],cx pop rbp ret _assign32: push rbp mov rax,[_context._arg1] mov ecx,[_context._arg2] mov [rax],ecx pop rbp ret _assign64: push rbp mov rax,[_context._arg1] mov rcx,[_context._arg2] mov [rax],rcx pop rbp ret ;;; addition with signed _add: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_add_base] add dx,ax call [rdx] pop rbp ret _add8: mov qword [_context._res],0 mov rax,[_context._arg1] mov bl,[_context._arg2] add al,bl mov [_context._res],rax ;; [_context._res] mov r8,[_context._arg1] call print mov r8,[_context._res] call print ret _add16: mov qword [_context._res],0 mov al,[_context._arg1+6] mov bl,[_context._arg2+6] add al,bl mov [_context._res],ax ret _add32: mov rax,[_context._arg1] mov edx,[_context._arg2] add eax,edx mov [_context._res],rax ret _add64: mov rax,[_context._arg1] mov rdx,[_context._arg2] add rax,rdx mov [_context._res],rax ret _sub: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_sub_base] add dx,ax call [rdx] pop rbp ret _sub8: mov qword [_context._res],0 mov rax,[_context._arg1] mov bl,[_context._arg2] sub al,bl mov [_context._res],rax ret _sub16: ret _sub32: push rbp mov rax,[_context._arg1] mov rdx,[_context._arg2] sub rax,rdx mov [_context._res],rax pop rbp ret _sub64: push rbp mov rax,[_context._arg1] mov rdx,[_context._arg2] sub rax,rdx mov [_context._res],rax pop rbp ret _and: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_and_base] add dx,ax call [rdx] pop rbp ret _and8: ret _and16: ret _and32: mov dword eax,[_context._arg1] mov dword edx,[_context._arg2] and eax,edx mov [_context._res],eax ret _and64: ret _or: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_or_base] add dx,ax call [rdx] pop rbp ret _or8: ret _or16: ret _or32: ret _or64: ret _xor: push rbp mov ax,0 mov al,[_context._dflag] lea rdx,[_xor_base] add dx,ax call [rdx] pop rbp ret ;; push rbp ;; mov rax,[_context._arg1] ;; mov rdx,[_context._arg2] ;; xor rax,rdx ;; mov [_context._res],rax ;; pop rbp ;; ret _xor8: ret _xor16: ret _xor32: ret _xor64: ret _cmp: push rbp mov rax,[_context._arg1] mov rdx,[_context._arg2] ;; sign , overflow , parity , zero , carry ;; carry flag ;; left most bits added. ;; left most bits subtracted. ;; overflow flag is turned on if sub rax,rdx ;; set zero flag if the computed result equals 0 lea r15,[_cmp.done1] cmp eax,0 je _set_zeroflags .done1: mov r8,[_eflags] call print pop rbp ret _cmp8: ret _cmp16: ret _cmp32: ret _cmp64: ret _set_zeroflags: mov qword [_eflags],eflags_zf ;; or qword [_eflags],eflags_zf jmp r15 _update_eflags: mov qword [_eflags],0x00 ret _rol: ret _ror: ret _shr: ret _shl: push rbp mov rax,[_context._arg1] mov rdx,_op_shl_base mov rcx,[_context._arg2] shl rcx,0x03 add rdx,rcx call [rdx] mov [_context._res],rax pop rbp ret _shl0: ret _shl1: shl rax,1 ret _shl2: shl rax,2 ret _shl3: shl rax,3 ret _shl4: shl rax,4 ret _shl5: shl rax,5 ret _shl6: shl rax,6 ret _shl7: shl rax,7 ret _shl8: shl rax,8 ret _test: mov r8,0x66 call print ret _not: mov r8,0xff call print ret _neg: ret _mul: ret _imul: ret _div: ret _idiv: ret _inc: ret _dec: ret _call: push rbp ;; addition of displacement & register is assumed to be set on ;; [_context._arg1] already. ;; you can get the value, and jump on it. mov rax,[_context._res] mov rdi,[_rip] mov rsi,rax ;; call _check_on_iat mov rdi,[_rip] mov rsi,[_context._res] call _find_f_addr ;; mov rdx,[_context._arg2] ;; mov rdi,[_rip] ;; add rdi,rdx ;; ;; bring rdi to calee ;; call _add_edge ;; before adding rax, you need to store rip to be returned on it. ;; mov rdx,[_rip] ;; mov [_rip],rax ;; mov [_context._internal_arg1],rdx ;; call _gen_push pop rbp ret _jmp: ;; before jumping to the value on register, ;; give an event callback. ;; mov rdi,[_context._arg1] ;; call _add_edge mov rax,[_context._arg1] mov [_rip],rax ;; call _check_on_iat mov r8,[_context._arg1] call print mov r8,0x99 call print ret ;;; if you _push: mov rax,[_context._arg1] mov [_context._internal_arg1],rax call _gen_push mov r8,0x99 call print ret _xchg: mov rax,[_context._arg1] mov rax,[rax] mov rdx,[_context._arg2] mov rdx,[rdx] mov [_context._arg1],rdx mov [_context._arg2],rax ret ;; set_eflag _set_eflag:
13.351733
85
0.70474
6513479a795806b70055f4d9147f10b4f6e8cae0
46,498
asm
Assembly
game/data/screen.asm
pompshuffle/super-tilt-bro
d0f836290223085d7794c445c696e1c644c674d2
[ "WTFPL" ]
2
2020-09-29T16:43:35.000Z
2021-08-24T16:41:22.000Z
game/data/screen.asm
pompshuffle/super-tilt-bro
d0f836290223085d7794c445c696e1c644c674d2
[ "WTFPL" ]
null
null
null
game/data/screen.asm
pompshuffle/super-tilt-bro
d0f836290223085d7794c445c696e1c644c674d2
[ "WTFPL" ]
null
null
null
palette_title: ; Background .byt $21,$0d,$21,$30, $21,$0d,$20,$00, $21,$20,$0d,$00, $21,$0d,$21,$21, ; 0 - logo, 1 - credits title, 2 - credits section, 3 - text and number with same colors ; Sprites .byt $21,$0d,$21,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 ; 0 - text, 1,2 - unused, 3 - cloud palette_gameover: ; Background .byt $21,$2a,$1a,$08, $21,$0d,$0a,$10, $21,$08,$18,$38, $21,$20,$1c,$0c ; Sprites .byt $21,$08,$1a,$20, $21,$08,$28,$37, $21,$08,$16,$10, $21,$08,$28,$37 palette_config: ; Background .byt $21,$20,$12,$0d, $21,$28,$12,$0d, $21,$00,$00,$00, $21,$0d,$20,$10 ; Sprites .byt $21,$0d,$20,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 palette_stage_selection: ; Background .byt $21,$0d,$12,$0d, $21,$00,$00,$00, $21,$20,$28,$20, $21,$0d,$20,$10 ; Sprites .byt $21,$0d,$0d,$21, $21,$08,$19,$21, $21,$00,$00,$00, $21,$0d,$00,$31 palette_character_selection: ; Background .byt $21,$20,$12,$0d, $21,$28,$12,$0d, $21,$2a,$1a,$08, $21,$0d,$20,$10 ; Sprites .byt $21,$00,$00,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 palette_mode_selection: ; Background .byt $21,$0d,$12,$0d, $21,$20,$28,$20, $21,$00,$10,$00, $21,$0d,$20,$10 ; Sprites .byt $21,$00,$00,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 palette_netplay_launch: ; Background .byt $21,$0d,$21,$21, $21,$28,$12,$0d, $21,$2a,$1a,$08, $21,$0d,$20,$10 ; Sprites .byt $21,$0d,$20,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 palette_donation: ; Background .byt $21,$0d,$20,$00, $21,$0d,$20,$20, $21,$0d,$28,$00, $21,$0d,$20,$10 ; Sprites .byt $21,$00,$00,$00, $21,$00,$00,$00, $21,$00,$00,$00, $21,$0d,$00,$31 #define FOR_NES TILE_CHAR_F, TILE_CHAR_O, TILE_CHAR_R, $00, $02, TILE_CHAR_N, TILE_CHAR_E, TILE_CHAR_S #define PRESS_ANY_BUTTON TILE_CHAR_P, TILE_CHAR_R, TILE_CHAR_E, TILE_CHAR_S, TILE_CHAR_S, $00, $01, TILE_CHAR_A, TILE_CHAR_N, TILE_CHAR_Y, $00, $01, TILE_CHAR_B, TILE_CHAR_U, TILE_CHAR_T, TILE_CHAR_T, TILE_CHAR_O, TILE_CHAR_N #define TITLE_SCREEN_VERSION \ TILE_CHAR_V, TILE_CHAR_E, TILE_CHAR_R, TILE_CHAR_S, TILE_CHAR_I, TILE_CHAR_O, TILE_CHAR_N, $00, $01, \ TILE_CHAR_2, $00, $01, TILE_CHAR_A, TILE_CHAR_L, TILE_CHAR_P, TILE_CHAR_H, TILE_CHAR_A, TILE_CHAR_2 nametable_title: .byt ZIPNT_ZEROS(32*3+6) .byt $01, $02, $03, $04, $05 .byt ZIPNT_ZEROS(21+6) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $06, $07, $08, $09, $0a, $0b, $0c, $0d, $0e, $0b, $0f, $10, $11, $12, $13, $14, $0b, $0f, $15 .byt ZIPNT_ZEROS(7+6) .byt $16, $17, $18, $19, $1a, $1b, $19, $1c, $1a, $1b, $1d, $1e, $1f, $20, $21, $22, $1b, $1d, $1e, $23 .byt ZIPNT_ZEROS(6+6) .byt $24, $25, $26, $27, $28, $1b, $19, $1c, $1a, $29, $2a, $2b, $1f, $2c, $2d, $1a, $29, $2a, $2e, $2f .byt ZIPNT_ZEROS(6+6) .byt $30, $31, $32, $33, $34, $35, $19, $1c, $1a, $36, $37, $19, $1f, $38, $39, $1a, $36, $3a, $3b .byt ZIPNT_ZEROS(7+6) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $3c, $3d, $3e, $3f, $40, $41, $42, $43, $44, $29, $45, $46, $47, $2c, $48, $49, $29, $4a, $4b, $4c .byt ZIPNT_ZEROS(6+6) .byt $4d, $4e, $4f, $50,ZIPZ, $51, $4f, $52, $53, $4f, $54, $55, $4f, $4f, $4f, $56, $4f, $57, $4f, $58 .byt ZIPNT_ZEROS(6+2) .byt $59, $03, $03, $03, $5a, $5b, ZIPNT_ZEROS(7), $5c, $03, $5d, $5e, $05 .byt ZIPNT_ZEROS(12+2) .byt $5f, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $6a, $6b, $6c, $61, $6d, $6e, $6f, $70, $0b, $0f, $15, $71, $72, $73, $74 .byt ZIPNT_ZEROS(4+2) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $75, $76, $77, $78, $19, $77, $79, $77, $79, $7a, $7b, $7c, $7d, $76, $77, $7e, $7f, $80, $1a, $1b, $1d, $1e, $81, $82, $83, $84, $85 .byt ZIPNT_ZEROS(3+3) .byt $86, $77, $78, $19, $77, $79, $77, $79, $19, $7b, $87,ZIPZ, $86, $77, $88, $89, $8a, $1a, $29, $2a, $2b, $8b, $20, $19, $8c, $8d .byt ZIPNT_ZEROS(3+3) .byt $86, $77, $78, $19, $77, $79, $77, $79, $19, $7b, $87,ZIPZ, $86, $77, $78, $8e, $8f, $1a, $36, $3a, $90, $91, $92, $93, $94, $95, $96 .byt ZIPNT_ZEROS(2+3) .byt $97, $98, $99, $9a, $98, $9b, $98, $9c, $9d, $9e, $9f, $a0, $a1, $98, $a2, $a3, $a4, $44, $29, $4a, $a5, $a6, $a7, $a8, $a9, $aa, $ab .byt ZIPNT_ZEROS(2+3) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $ac, $4f, $ad, $ae, $4f, $af, $4f, $4f, $b0, $b1, $ad, $b2, $ac, $4f, $4f, $b3, $b4, $b5, $4f, $b6, $4f, $b7, $51, $b3, $b8, $b9, $ba .byt ZIPNT_ZEROS(2+12) .byt FOR_NES .byt ZIPNT_ZEROS(12+32*5+8) .byt PRESS_ANY_BUTTON ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(8+32*2+14) .byt TITLE_SCREEN_VERSION .byt ZIPNT_ZEROS(2+32*3) nametable_title_attributes: .byt ZIPNT_ZEROS(8+8+8+8+8+2) .byt %11110000, %11110000, %11110000, %11110000 .byt ZIPNT_ZEROS(2+3) .byt %11000000, %11110000, %11110000, %11110000, %00110000 .byt ZIPNT_ZEROS(8) nametable_title_end: .byt ZIPNT_END #undef FOR_NES #undef PRESS_ANY_BUTTON #undef TITLE_SCREEN_VERSION nametable_gameover: .byt $00,$73 .byt .byt .byt $02, $02, $fb, $ee, $e8, $f9, $f4, $f7, $fe, $02, $02, $00,$15 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $00,$08 .byt $0c, $0d, $00,$0b, $f5, $f1, $e6, $fe, $ea, $f7, $02, $02, $02, $02, $02, $00,$06 .byt $0e, $0f, $10, $11, $00,$ff, $00,$3f .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $16, $17, $17, $18, $19, $1a, $1b, $1c, $1d, $1e, $00,$10 .byt $08, $09, $08, $09, $08, $09, $1f, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $2a, $08, $09, $08, $09, $08, $09, $08, $09, $08, $09, $08, $09, $08, $09 .byt $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b, $0a, $0b .byt $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03, $03 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $01, $01, $01, $01, $01, $01, $04, $05, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $04, $05, $01, $01 .byt $01, $01, $01, $01, $01, $01, $06, $07, $01, $01, $01, $01, $01, $01, $01, $01, $01, $04, $05, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $07, $01, $01 .byt $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $07, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 .byt $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $01, $01, $01, $01, $01, $01, $01, $01, $00,$10, $01, $01, $01, $01, $01, $01, $01, $01 .byt $01, $01, $01, $01, $01, $01, $01, $01, $00,$02, $f5, $f7, $ea, $f8, $f8, $02, $02, $f8, $f9, $e6, $f7, $f9, $00,$02, $01, $01, $01, $01, $01, $01, $01, $01 .byt $01, $01, $01, $01, $04, $05, $01, $01, $00,$10, $01, $01, $04, $05, $01, $01, $01, $01 .byt $01, $01, $01, $01, $06, $07, $01, $01, $01, $01, $01, $01, $04, $05, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $07, $01, $01, $01, $01 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $06, $07, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 .byt $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01, $01 nametable_gameover_attributes: .byt ZIPNT_ZEROS(4), %11000000, %11111111, %11111111, %11111111 .byt ZIPZ, %11111111, ZIPNT_ZEROS(2), %00001100, %11111111, %11111111, %11111111 .byt ZIPNT_ZEROS(8+8+1) .byt %00000100, %00000101, %00000101, %00000001, ZIPNT_ZEROS(3) .byt %10101010, %10101010, %10101010, %10101010, %10101010, %10101010, %10101010, %10101010 .byt %10101010, %10101010, %10101110, %10101111, %10101111, %10101111, %10101010, %10101010 .byt %10101010, %10101010, %10101010, %10101010, %10101010, %10101010, %10101010, %10101010 nametable_gameover_end: .byt ZIPNT_END nametable_config: .byt ZIPNT_ZEROS(98) .byt .byt .byt $0d, $0e, $02, $f4, $f5, $f9, $ee, $f4, $f3, $f8, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $0f, $10, ZIPNT_ZEROS(100) .byt .byt .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, ZIPNT_ZEROS(16) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $02, $06, $06, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $07, $02, $02, $08, $02, $02, $f2, $fa, $f8, $ee, $e8, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $07, $02, $02, $08, $15, $02, $02, $02, $02, $02, $02, $16, $02, $02, $1d, ZIPNT_ZEROS(16) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $02, $06, $06, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $07, $02, $02, $08, $02, $f8, $f9, $f4, $e8, $f0, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $07, $02, $02, $08, $15, $02, $02, $02, $02, $02, $02, $16, $02, $02, $1d, ZIPNT_ZEROS(16) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $02, $06, $06, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $07, $02, $02, $08, $f5, $f1, $e6, $fe, $ea, $f7, $02, $05, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $07, $02, $02, $08, $15, $02, $02, $02, $02, $02, $02, $16, $02, $02, $1d, ZIPNT_ZEROS(16) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(16) .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, ZIPNT_ZEROS(82) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt $f5, $f7, $ea, $f8, $f8, $02, $f8, $f9, $e6, $f7, $f9, ZIPNT_ZEROS(107) .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt nametable_config_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %11111111 .byt ZIPNT_ZEROS(7+8*4+2) .byt %11000000, %11110000, %11110000, %00110000 .byt ZIPNT_ZEROS(2+8) nametable_config_end: .byt ZIPNT_END nametable_stage_selection: .byt ZIPNT_ZEROS(98) .byt .byt .byt $09, $0a, $02, $f8, $f9, $e6, $ec, $ea, $02, $f8, $ea, $f1, $ea, $e8, $f9, $ee, $f4, $f3, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $0b, $0c, ZIPNT_ZEROS(62) .byt .byt $17, $1b, $1b, $1b, $04, $04, $04, $04, $1b, $1b, $1b, $18, $00,$04, $17, $1b, $1b, $1b, $04, $04, $04, $04, $1b, $1b, $1b, $18, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $02, $1f, $1f, $1f, $1f, $02, $02, $02, $1d, $00,$04, $1c, $02, $02, $02, $1f, $1f, $1f, $1f, $02, $02, $02, $1d, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $eb, $f1, $e6, $f9, $f1, $e6, $f3, $e9, $02, $1d, $00,$04, $1c, $02, $f9, $ed, $ea, $02, $f5, $ee, $f9, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$04, $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, ZIPNT_ZEROS(68) .byt .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $17, $1b, $1b, $1b, $04, $04, $04, $04, $1b, $1b, $1b, $18, $00,$04, $17, $1b, $1b, $1b, $04, $04, $04, $04, $1b, $1b, $1b, $18, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, $00,$04, $1c, $02, $02, $07, $00,$04, $08, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $02, $02, $1f, $1f, $1f, $1f, $02, $02, $02, $1d, $00,$04, $1c, $02, $02, $02, $1f, $1f, $1f, $1f, $02, $02, $02, $1d, ZIPNT_ZEROS(4) .byt $1c, $02, $f8, $f0, $fe, $02, $f7, $ee, $e9, $ea, $02, $1d, $00,$04, $1c, $02, $f9, $ed, $ea, $02, $ed, $fa, $f3, $f9, $02, $1d, ZIPNT_ZEROS(4) .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$04, $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, ZIPNT_ZEROS(76) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt $f5, $f7, $ea, $f8, $f8, $02, $f8, $f9, $e6, $f7, $f9, ZIPNT_ZEROS(107) .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt nametable_stage_selection_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111 .byt ZIPNT_ZEROS(7+8+8+8+8+2) .byt %11000000, %11110000, %11110000, %00110000 .byt ZIPNT_ZEROS(2+8) nametable_stage_selection_end: .byt ZIPNT_END nametable_character_selection: .byt ZIPNT_ZEROS(98) .byt .byt .byt $11, $12, $02, $e8, $ed, $e6, $f7, $e6, $e8, $f9, $ea, $f7, $02, $f8, $ea, $f1, $ea, $e8, $f9, $ee, $f4, $f3, $02, $02, $02, $02, $02, $02, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $13, $14, ZIPNT_ZEROS(95) .byt .byt .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00, $02, $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, ZIPNT_ZEROS(6) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $f5, $f1, $e6, $fe, $ea, $f7, $02, $f4, $f3, $ea, $1d, $00, $02, $1c, $f5, $f1, $e6, $fe, $ea, $f7, $02, $f9, $fc, $f4, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $02, $06, $06, $06, $06, $06, $06, $02, $02, $1d, $00, $02, $1c, $02, $02, $06, $06, $06, $06, $06, $06, $02, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $07, $00, $06, $08, $02, $1d, $00, $02, $1c, $02, $07, $00, $06, $08, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $15, $07, $00, $06, $08, $16, $1d, $00, $02, $1c, $15, $07, $00, $06, $08, $16, $1d, ZIPNT_ZEROS(6) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $07, $20, $21, $20, $21, $20, $21, $08, $02, $1d, $00, $02, $1c, $02, $07, $20, $21, $20, $21, $20, $21, $08, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $07, $22, $23, $22, $23, $22, $23, $08, $02, $1d, $00, $02, $1c, $02, $07, $22, $23, $22, $23, $22, $23, $08, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $02, $1f, $1f, $1f, $1f, $1f, $1f, $02, $02, $1d, $00, $02, $1c, $02, $02, $1f, $1f, $1f, $1f, $1f, $1f, $02, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $15, $02, $02, $02, $02, $02, $02, $02, $02, $16, $1d, $00, $02, $1c, $15, $02, $02, $02, $02, $02, $02, $02, $02, $16, $1d, ZIPNT_ZEROS(6) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00, $02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00, $02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $fc, $ee, $f9, $ed, $02, $ee, $f9, $f8, $02, $1d, $00, $02, $1c, $02, $fc, $ee, $f9, $ed, $02, $ee, $f9, $f8, $02, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00, $02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(6) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $15, $02, $02, $02, $02, $02, $02, $02, $02, $16, $1d, $00, $02, $1c, $15, $02, $02, $02, $02, $02, $02, $02, $02, $16, $1d, ZIPNT_ZEROS(6) .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00, $02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, ZIPNT_ZEROS(6) .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00, $02, $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, ZIPNT_ZEROS(109) .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt $f5, $f7, $ea, $f8, $f8, $02, $f8, $f9, $e6, $f7, $f9, ZIPNT_ZEROS(107) .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt nametable_character_selection_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111 .byt ZIPNT_ZEROS(7+1) .byt %10000000, %10100000, ZIPNT_ZEROS(2), %10100000, %00100000, .byt ZIPNT_ZEROS(1+1), .byt %00001000, %00001010, ZIPNT_ZEROS(2), %00001010, %00000010, .byt ZIPNT_ZEROS(1+8+8+2) .byt %11000000, %11110000, %11110000, %00110000 .byt ZIPNT_ZEROS(2+8) nametable_character_selection_end: .byt ZIPNT_END nametable_mode_selection: .byt $00,$62 .byt .byt .byt $09, $0a, $02, $ec, $e6, $f2, $ea, $02, $f2, $f4, $e9, $ea, $02, $f8, $ea, $f1, $ea, $e8, $f9, $ee, $f4, $f3, $02, $02, $02, $02, $02, $02, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $0b, $0c, $00,$80 .byt .byt .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00,$02, $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00,$06 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$06 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$06 .byt $1c, $02, $02, $f1, $f4, $e8, $e6, $f1, $02, $02, $02, $1d, $00,$02, $1c, $02, $02, $f4, $f3, $f1, $ee, $f3, $ea, $02, $02, $1d, $00,$06 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$06 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$06 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$02, $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$06 .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$02, $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$2d ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00,$14 .byt $1c, $02, $02, $e9, $f4, $f3, $e6, $f9, $ea, $02, $02, $1d, $00,$14 .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$ff, $00,$4a ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt nametable_mode_selection_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111, ZIPNT_ZEROS(7+8*6) nametable_mode_selection_end: .byt ZIPNT_END nametable_donation: .byt $00,$62 .byt .byt .byt $39, $3a, $02, $f8, $ed, $e6, $f7, $ea, $02, $f8, $f4, $f2, $ea, $02, $f1, $f4, $fb, $ea, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $3b, $3c, $00,$3e .byt .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00,$04 .byt $1c, $02, $f8, $fa, $f5, $ea, $f7, $02, $f9, $ee, $f1, $f9, $02, $e7, $f7, $f4, $02, $ee, $f8, $02, $e6, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $f5, $e6, $f8, $f8, $ee, $f4, $f3, $02, $f5, $f7, $f4, $ef, $ea, $e8, $f9, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $ee, $02, $e8, $e6, $f3, $02, $eb, $ee, $f3, $e9, $02, $fa, $f8, $ea, $02, $eb, $f4, $f7, $02, $fe, $f4, $fa, $f7, $02, $02, $1d, $00,$04 .byt $1c, $02, $f2, $f4, $f3, $ea, $fe, $02, $e7, $fa, $f9, $02, $fc, $f4, $fa, $f1, $e9, $02, $f7, $e6, $f9, $ed, $ea, $f7, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $ec, $ea, $f9, $02, $f8, $f4, $f2, $ea, $02, $ea, $f3, $e8, $f4, $fa, $f7, $e6, $ec, $ea, $f2, $ea, $f3, $f9, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $f5, $f1, $ea, $e6, $f8, $ea, $02, $eb, $f4, $f1, $f1, $f4, $fc, $02, $e6, $f3, $e9, $02, $f9, $ea, $f1, $f1, $02, $f2, $ea, $1d, $00,$04 .byt $1c, $02, $ee, $02, $e6, $f2, $02, $e9, $f4, $ee, $f3, $ec, $02, $e6, $02, $ec, $f4, $f4, $e9, $02, $ef, $f4, $e7, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $1f, $02, $1d, $00,$04 .byt $1c, $02, $f9, $fc, $ee, $f9, $f9, $ea, $f7, $02, $02, $f7, $f4, $ec, $ea, $f7, $e7, $ee, $e9, $f4, $f3, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $eb, $e6, $e8, $ea, $e7, $f4, $f4, $f0, $02, $f8, $fa, $f5, $ea, $f7, $02, $f9, $ee, $f1, $f9, $02, $e7, $f7, $f4, $02, $02, $1d, $00,$04 .byt $1c, $02, $ee, $f9, $e8, $ed, $25, $ee, $f4, $02, $02, $f8, $ec, $e6, $e9, $f7, $e6, $f9, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $1f, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $e7, $ee, $f9, $e8, $f4, $ee, $f3, $02, $02, $02, $02, $02, $02, $f5, $e6, $fe, $f5, $e6, $f1, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$62 .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt nametable_donation_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111, ZIPNT_ZEROS(7+8*6) nametable_donation_end: .byt ZIPNT_END nametable_donation_btc: .byt $00,$62 .byt .byt .byt $39, $3a, $02, $f8, $ed, $e6, $f7, $ea, $02, $f8, $f4, $f2, $ea, $02, $f1, $f4, $fb, $ea, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $3b, $3c, $00,$3e .byt .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $e7, $f9, $e8, $02, $02, $02, $37, $35, $35, $33, $2f, $32, $37, $2c, $31, $37, $35, $35, $33, $fd, $f4, $fd, $f4, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $38, $33, $33, $36, $34, $35, $2e, $33, $33, $38, $33, $33, $02, $02, $fd, $f4, $fd, $f4, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $35, $31, $33, $34, $02, $33, $36, $33, $33, $35, $31, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $35, $35, $35, $31, $34, $32, $34, $34, $31, $35, $35, $35, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $f7, $ea, $e7, $ea, $f1, $ff, $02, $37, $2f, $2a, $36, $2b, $37, $37, $02, $32, $36, $33, $38, $02, $02, $f8, $f4, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $38, $2d, $32, $36, $2d, $32, $2e, $30, $35, $31, $2b, $33, $02, $02, $02, $ec, $ea, $ea, $f0, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $31, $30, $30, $36, $2c, $30, $30, $2d, $2a, $36, $31, $02, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $32, $32, $2a, $35, $32, $37, $37, $2e, $35, $2a, $2e, $35, $2b, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $35, $31, $31, $31, $34, $33, $38, $2c, $37, $35, $34, $38, $02, $e8, $fe, $f5, $ed, $ea, $f7, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $37, $35, $35, $33, $35, $37, $35, $2d, $33, $31, $33, $2b, $31, $02, $f5, $fa, $f3, $f0, $f8, $1d, $00,$04 .byt $1c, $02, $f3, $ea, $f7, $e9, $02, $02, $33, $38, $33, $33, $2c, $37, $2c, $32, $37, $37, $37, $33, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $f1, $ee, $eb, $ea, $02, $33, $35, $31, $33, $2b, $38, $32, $34, $35, $35, $2c, $02, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $35, $35, $35, $31, $35, $35, $35, $02, $02, $02, $31, $31, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $e7, $e8, $dc, $f6, $f1, $de, $fa, $e0, $f2, $ff, $fb, $eb, $fd, $f0, $db, $ef, $f9, $eb, $f9, $f3, $f2, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $e3, $f6, $f8, $ed, $fb, $fb, $e6, $ed, $f9, $fb, $f5, $f3, $f7, $fb, $e1, $ed, $f8, $ef, $f1, $f8, $f3, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$62 .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt nametable_donation_btc_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111, ZIPNT_ZEROS(7+8*3+1) .byt %01010101, %01010101, %01010101, %01010101, %01010101, %01010101 .byt ZIPNT_ZEROS(1+8*2) nametable_donation_btc_end: .byt ZIPNT_END nametable_donation_paypal: .byt $00,$62 .byt .byt .byt $39, $3a, $02, $f8, $ed, $e6, $f7, $ea, $02, $f8, $f4, $f2, $ea, $02, $f1, $f4, $fb, $ea, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $3b, $3c, $00,$3e .byt .byt $17, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $1b, $18, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $37, $35, $35, $33, $2b, $33, $32, $34, $31, $37, $35, $35, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $38, $33, $33, $2c, $2b, $34, $2f, $31, $33, $38, $33, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $35, $31, $33, $30, $2a, $2b, $2a, $33, $33, $35, $31, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $35, $35, $35, $31, $32, $34, $31, $34, $31, $35, $35, $35, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $38, $35, $32, $36, $37, $2f, $38, $31, $37, $2e, $2d, $2e, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $36, $32, $31, $36, $33, $31, $31, $2f, $35, $2f, $2a, $36, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $2b, $31, $32, $32, $37, $32, $2e, $35, $33, $32, $35, $38, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $2d, $2b, $36, $37, $02, $2f, $35, $37, $02, $2d, $36, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $31, $02, $2d, $31, $34, $32, $35, $32, $37, $35, $34, $36, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $37, $35, $35, $33, $31, $32, $37, $34, $33, $31, $37, $2e, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $38, $33, $33, $38, $34, $2d, $35, $36, $38, $38, $32, $2b, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $33, $35, $31, $33, $34, $2b, $31, $2c, $2c, $2e, $02, $02, $33, $02, $02, $02, $02, $02, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $35, $35, $35, $31, $35, $02, $35, $31, $2d, $31, $31, $35, $31, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $f5, $e6, $fe, $f5, $e6, $f1, $25, $f2, $ea, $27, $f8, $fe, $f1, $fb, $e6, $ee, $f3, $ec, $e6, $e9, $f7, $e6, $f9, $02, $1d, $00,$04 ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $1c, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $1d, $00,$04 .byt $19, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1e, $1a, $00,$62 .byt ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt .byt .byt nametable_donation_paypal_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111, ZIPNT_ZEROS(7+8*6) nametable_donation_paypal_end: .byt ZIPNT_END nametable_netplay_launch: .byt ZIPNT_ZEROS(98) .byt .byt .byt $41, $42, $02, $f2, $e6, $f9, $e8, $ed, $f2, $e6, $f0, $ee, $f3, $ec, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, $02, ZIPNT_ZEROS(4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt $43, $44, ZIPNT_ZEROS(28+32*3) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(32*4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(32*4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(32*4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(32*4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(32*4) ; ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- ------------------- .byt ZIPNT_ZEROS(32*2) nametable_netplay_launch_attributes: .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt %00001111, ZIPNT_ZEROS(7) .byt ZIPNT_ZEROS(8+1) .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt ZIPNT_ZEROS(1+1) .byt %11111111, %11111111, %11111111, %11111111, %11111111, %11111111 .byt ZIPNT_ZEROS(8*3) nametable_netplay_launch_end: .byt ZIPNT_END
90.287379
226
0.316057
ee3a425a675632fbf47aefb637c2fa6708831ae5
190
asm
Assembly
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_cxy2saddr_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_cxy2saddr_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/ts2068/display/c/sdcc/tshc_cxy2saddr_callee.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void *tshc_cxy2saddr(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _tshc_cxy2saddr_callee EXTERN _zx_cxy2saddr_callee defc _tshc_cxy2saddr_callee = _zx_cxy2saddr_callee
17.272727
50
0.852632
eebcfc9922672c9090a9fa057329d165d45dc975
41,995
asm
Assembly
xv6-l/ln.asm
xsuler/osPlayground
da1b828540b178fd9dc154539616af7f3431da45
[ "MIT" ]
null
null
null
xv6-l/ln.asm
xsuler/osPlayground
da1b828540b178fd9dc154539616af7f3431da45
[ "MIT" ]
null
null
null
xv6-l/ln.asm
xsuler/osPlayground
da1b828540b178fd9dc154539616af7f3431da45
[ "MIT" ]
null
null
null
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) if(argc != 3){ a: 83 39 03 cmpl $0x3,(%ecx) { d: 55 push %ebp e: 89 e5 mov %esp,%ebp 10: 53 push %ebx 11: 51 push %ecx 12: 8b 59 04 mov 0x4(%ecx),%ebx if(argc != 3){ 15: 74 13 je 2a <main+0x2a> printf(2, "Usage: ln old new\n"); 17: 52 push %edx 18: 52 push %edx 19: 68 c8 07 00 00 push $0x7c8 1e: 6a 02 push $0x2 20: e8 3b 04 00 00 call 460 <printf> exit(); 25: e8 87 02 00 00 call 2b1 <exit> } if(link(argv[1], argv[2]) < 0) 2a: 50 push %eax 2b: 50 push %eax 2c: ff 73 08 pushl 0x8(%ebx) 2f: ff 73 04 pushl 0x4(%ebx) 32: e8 da 02 00 00 call 311 <link> 37: 83 c4 10 add $0x10,%esp 3a: 85 c0 test %eax,%eax 3c: 78 05 js 43 <main+0x43> printf(2, "link %s %s: failed\n", argv[1], argv[2]); exit(); 3e: e8 6e 02 00 00 call 2b1 <exit> printf(2, "link %s %s: failed\n", argv[1], argv[2]); 43: ff 73 08 pushl 0x8(%ebx) 46: ff 73 04 pushl 0x4(%ebx) 49: 68 db 07 00 00 push $0x7db 4e: 6a 02 push $0x2 50: e8 0b 04 00 00 call 460 <printf> 55: 83 c4 10 add $0x10,%esp 58: eb e4 jmp 3e <main+0x3e> 5a: 66 90 xchg %ax,%ax 5c: 66 90 xchg %ax,%ax 5e: 66 90 xchg %ax,%ax 00000060 <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, char *t) { 60: 55 push %ebp char *os; os = s; while((*s++ = *t++) != 0) 61: 31 d2 xor %edx,%edx { 63: 89 e5 mov %esp,%ebp 65: 53 push %ebx 66: 8b 45 08 mov 0x8(%ebp),%eax 69: 8b 5d 0c mov 0xc(%ebp),%ebx 6c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi while((*s++ = *t++) != 0) 70: 0f b6 0c 13 movzbl (%ebx,%edx,1),%ecx 74: 88 0c 10 mov %cl,(%eax,%edx,1) 77: 83 c2 01 add $0x1,%edx 7a: 84 c9 test %cl,%cl 7c: 75 f2 jne 70 <strcpy+0x10> ; return os; } 7e: 5b pop %ebx 7f: 5d pop %ebp 80: c3 ret 81: eb 0d jmp 90 <strcmp> 83: 90 nop 84: 90 nop 85: 90 nop 86: 90 nop 87: 90 nop 88: 90 nop 89: 90 nop 8a: 90 nop 8b: 90 nop 8c: 90 nop 8d: 90 nop 8e: 90 nop 8f: 90 nop 00000090 <strcmp>: int strcmp(const char *p, const char *q) { 90: 55 push %ebp 91: 89 e5 mov %esp,%ebp 93: 56 push %esi 94: 53 push %ebx 95: 8b 5d 08 mov 0x8(%ebp),%ebx 98: 8b 75 0c mov 0xc(%ebp),%esi while(*p && *p == *q) 9b: 0f b6 13 movzbl (%ebx),%edx 9e: 0f b6 0e movzbl (%esi),%ecx a1: 84 d2 test %dl,%dl a3: 74 1e je c3 <strcmp+0x33> a5: b8 01 00 00 00 mov $0x1,%eax aa: 38 ca cmp %cl,%dl ac: 74 09 je b7 <strcmp+0x27> ae: eb 20 jmp d0 <strcmp+0x40> b0: 83 c0 01 add $0x1,%eax b3: 38 ca cmp %cl,%dl b5: 75 19 jne d0 <strcmp+0x40> b7: 0f b6 14 03 movzbl (%ebx,%eax,1),%edx bb: 0f b6 0c 06 movzbl (%esi,%eax,1),%ecx bf: 84 d2 test %dl,%dl c1: 75 ed jne b0 <strcmp+0x20> c3: 31 c0 xor %eax,%eax p++, q++; return (uchar)*p - (uchar)*q; } c5: 5b pop %ebx c6: 5e pop %esi return (uchar)*p - (uchar)*q; c7: 29 c8 sub %ecx,%eax } c9: 5d pop %ebp ca: c3 ret cb: 90 nop cc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi d0: 0f b6 c2 movzbl %dl,%eax d3: 5b pop %ebx d4: 5e pop %esi return (uchar)*p - (uchar)*q; d5: 29 c8 sub %ecx,%eax } d7: 5d pop %ebp d8: c3 ret d9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 000000e0 <strlen>: uint strlen(char *s) { e0: 55 push %ebp e1: 89 e5 mov %esp,%ebp e3: 8b 4d 08 mov 0x8(%ebp),%ecx int n; for(n = 0; s[n]; n++) e6: 80 39 00 cmpb $0x0,(%ecx) e9: 74 15 je 100 <strlen+0x20> eb: 31 d2 xor %edx,%edx ed: 8d 76 00 lea 0x0(%esi),%esi f0: 83 c2 01 add $0x1,%edx f3: 80 3c 11 00 cmpb $0x0,(%ecx,%edx,1) f7: 89 d0 mov %edx,%eax f9: 75 f5 jne f0 <strlen+0x10> ; return n; } fb: 5d pop %ebp fc: c3 ret fd: 8d 76 00 lea 0x0(%esi),%esi for(n = 0; s[n]; n++) 100: 31 c0 xor %eax,%eax } 102: 5d pop %ebp 103: c3 ret 104: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 10a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 00000110 <memset>: void* memset(void *dst, int c, uint n) { 110: 55 push %ebp 111: 89 e5 mov %esp,%ebp 113: 57 push %edi 114: 8b 55 08 mov 0x8(%ebp),%edx } static inline void stosb(void *addr, int data, int cnt) { asm volatile("cld; rep stosb" : 117: 8b 4d 10 mov 0x10(%ebp),%ecx 11a: 8b 45 0c mov 0xc(%ebp),%eax 11d: 89 d7 mov %edx,%edi 11f: fc cld 120: f3 aa rep stos %al,%es:(%edi) stosb(dst, c, n); return dst; } 122: 89 d0 mov %edx,%eax 124: 5f pop %edi 125: 5d pop %ebp 126: c3 ret 127: 89 f6 mov %esi,%esi 129: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 00000130 <strchr>: char* strchr(const char *s, char c) { 130: 55 push %ebp 131: 89 e5 mov %esp,%ebp 133: 53 push %ebx 134: 8b 45 08 mov 0x8(%ebp),%eax 137: 8b 55 0c mov 0xc(%ebp),%edx for(; *s; s++) 13a: 0f b6 18 movzbl (%eax),%ebx 13d: 84 db test %bl,%bl 13f: 74 1d je 15e <strchr+0x2e> 141: 89 d1 mov %edx,%ecx if(*s == c) 143: 38 d3 cmp %dl,%bl 145: 75 0d jne 154 <strchr+0x24> 147: eb 17 jmp 160 <strchr+0x30> 149: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 150: 38 ca cmp %cl,%dl 152: 74 0c je 160 <strchr+0x30> for(; *s; s++) 154: 83 c0 01 add $0x1,%eax 157: 0f b6 10 movzbl (%eax),%edx 15a: 84 d2 test %dl,%dl 15c: 75 f2 jne 150 <strchr+0x20> return (char*)s; return 0; 15e: 31 c0 xor %eax,%eax } 160: 5b pop %ebx 161: 5d pop %ebp 162: c3 ret 163: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 169: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 00000170 <gets>: char* gets(char *buf, int max) { 170: 55 push %ebp 171: 89 e5 mov %esp,%ebp 173: 57 push %edi 174: 56 push %esi int i, cc; char c; for(i=0; i+1 < max; ){ 175: 31 f6 xor %esi,%esi { 177: 53 push %ebx 178: 89 f3 mov %esi,%ebx 17a: 83 ec 1c sub $0x1c,%esp 17d: 8b 7d 08 mov 0x8(%ebp),%edi for(i=0; i+1 < max; ){ 180: eb 2f jmp 1b1 <gets+0x41> 182: 8d b6 00 00 00 00 lea 0x0(%esi),%esi cc = read(0, &c, 1); 188: 83 ec 04 sub $0x4,%esp 18b: 8d 45 e7 lea -0x19(%ebp),%eax 18e: 6a 01 push $0x1 190: 50 push %eax 191: 6a 00 push $0x0 193: e8 31 01 00 00 call 2c9 <read> if(cc < 1) 198: 83 c4 10 add $0x10,%esp 19b: 85 c0 test %eax,%eax 19d: 7e 1c jle 1bb <gets+0x4b> break; buf[i++] = c; 19f: 0f b6 45 e7 movzbl -0x19(%ebp),%eax 1a3: 83 c7 01 add $0x1,%edi 1a6: 88 47 ff mov %al,-0x1(%edi) if(c == '\n' || c == '\r') 1a9: 3c 0a cmp $0xa,%al 1ab: 74 23 je 1d0 <gets+0x60> 1ad: 3c 0d cmp $0xd,%al 1af: 74 1f je 1d0 <gets+0x60> for(i=0; i+1 < max; ){ 1b1: 83 c3 01 add $0x1,%ebx 1b4: 89 fe mov %edi,%esi 1b6: 3b 5d 0c cmp 0xc(%ebp),%ebx 1b9: 7c cd jl 188 <gets+0x18> 1bb: 89 f3 mov %esi,%ebx break; } buf[i] = '\0'; return buf; } 1bd: 8b 45 08 mov 0x8(%ebp),%eax buf[i] = '\0'; 1c0: c6 03 00 movb $0x0,(%ebx) } 1c3: 8d 65 f4 lea -0xc(%ebp),%esp 1c6: 5b pop %ebx 1c7: 5e pop %esi 1c8: 5f pop %edi 1c9: 5d pop %ebp 1ca: c3 ret 1cb: 90 nop 1cc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 1d0: 8b 75 08 mov 0x8(%ebp),%esi 1d3: 8b 45 08 mov 0x8(%ebp),%eax 1d6: 01 de add %ebx,%esi 1d8: 89 f3 mov %esi,%ebx buf[i] = '\0'; 1da: c6 03 00 movb $0x0,(%ebx) } 1dd: 8d 65 f4 lea -0xc(%ebp),%esp 1e0: 5b pop %ebx 1e1: 5e pop %esi 1e2: 5f pop %edi 1e3: 5d pop %ebp 1e4: c3 ret 1e5: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 1e9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 000001f0 <stat>: int stat(char *n, struct stat *st) { 1f0: 55 push %ebp 1f1: 89 e5 mov %esp,%ebp 1f3: 56 push %esi 1f4: 53 push %ebx int fd; int r; fd = open(n, O_RDONLY); 1f5: 83 ec 08 sub $0x8,%esp 1f8: 6a 00 push $0x0 1fa: ff 75 08 pushl 0x8(%ebp) 1fd: e8 ef 00 00 00 call 2f1 <open> if(fd < 0) 202: 83 c4 10 add $0x10,%esp 205: 85 c0 test %eax,%eax 207: 78 27 js 230 <stat+0x40> return -1; r = fstat(fd, st); 209: 83 ec 08 sub $0x8,%esp 20c: ff 75 0c pushl 0xc(%ebp) 20f: 89 c3 mov %eax,%ebx 211: 50 push %eax 212: e8 f2 00 00 00 call 309 <fstat> close(fd); 217: 89 1c 24 mov %ebx,(%esp) r = fstat(fd, st); 21a: 89 c6 mov %eax,%esi close(fd); 21c: e8 b8 00 00 00 call 2d9 <close> return r; 221: 83 c4 10 add $0x10,%esp } 224: 8d 65 f8 lea -0x8(%ebp),%esp 227: 89 f0 mov %esi,%eax 229: 5b pop %ebx 22a: 5e pop %esi 22b: 5d pop %ebp 22c: c3 ret 22d: 8d 76 00 lea 0x0(%esi),%esi return -1; 230: be ff ff ff ff mov $0xffffffff,%esi 235: eb ed jmp 224 <stat+0x34> 237: 89 f6 mov %esi,%esi 239: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 00000240 <atoi>: int atoi(const char *s) { 240: 55 push %ebp 241: 89 e5 mov %esp,%ebp 243: 53 push %ebx 244: 8b 4d 08 mov 0x8(%ebp),%ecx int n; n = 0; while('0' <= *s && *s <= '9') 247: 0f be 11 movsbl (%ecx),%edx 24a: 8d 42 d0 lea -0x30(%edx),%eax 24d: 3c 09 cmp $0x9,%al n = 0; 24f: b8 00 00 00 00 mov $0x0,%eax while('0' <= *s && *s <= '9') 254: 77 1f ja 275 <atoi+0x35> 256: 8d 76 00 lea 0x0(%esi),%esi 259: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi n = n*10 + *s++ - '0'; 260: 83 c1 01 add $0x1,%ecx 263: 8d 04 80 lea (%eax,%eax,4),%eax 266: 8d 44 42 d0 lea -0x30(%edx,%eax,2),%eax while('0' <= *s && *s <= '9') 26a: 0f be 11 movsbl (%ecx),%edx 26d: 8d 5a d0 lea -0x30(%edx),%ebx 270: 80 fb 09 cmp $0x9,%bl 273: 76 eb jbe 260 <atoi+0x20> return n; } 275: 5b pop %ebx 276: 5d pop %ebp 277: c3 ret 278: 90 nop 279: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi 00000280 <memmove>: void* memmove(void *vdst, void *vsrc, int n) { 280: 55 push %ebp 281: 89 e5 mov %esp,%ebp 283: 57 push %edi 284: 8b 55 10 mov 0x10(%ebp),%edx 287: 8b 45 08 mov 0x8(%ebp),%eax 28a: 56 push %esi 28b: 8b 75 0c mov 0xc(%ebp),%esi char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 28e: 85 d2 test %edx,%edx 290: 7e 13 jle 2a5 <memmove+0x25> 292: 01 c2 add %eax,%edx dst = vdst; 294: 89 c7 mov %eax,%edi 296: 8d 76 00 lea 0x0(%esi),%esi 299: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi *dst++ = *src++; 2a0: a4 movsb %ds:(%esi),%es:(%edi) while(n-- > 0) 2a1: 39 fa cmp %edi,%edx 2a3: 75 fb jne 2a0 <memmove+0x20> return vdst; } 2a5: 5e pop %esi 2a6: 5f pop %edi 2a7: 5d pop %ebp 2a8: c3 ret 000002a9 <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 2a9: b8 01 00 00 00 mov $0x1,%eax 2ae: cd 40 int $0x40 2b0: c3 ret 000002b1 <exit>: SYSCALL(exit) 2b1: b8 02 00 00 00 mov $0x2,%eax 2b6: cd 40 int $0x40 2b8: c3 ret 000002b9 <wait>: SYSCALL(wait) 2b9: b8 03 00 00 00 mov $0x3,%eax 2be: cd 40 int $0x40 2c0: c3 ret 000002c1 <pipe>: SYSCALL(pipe) 2c1: b8 04 00 00 00 mov $0x4,%eax 2c6: cd 40 int $0x40 2c8: c3 ret 000002c9 <read>: SYSCALL(read) 2c9: b8 05 00 00 00 mov $0x5,%eax 2ce: cd 40 int $0x40 2d0: c3 ret 000002d1 <write>: SYSCALL(write) 2d1: b8 10 00 00 00 mov $0x10,%eax 2d6: cd 40 int $0x40 2d8: c3 ret 000002d9 <close>: SYSCALL(close) 2d9: b8 15 00 00 00 mov $0x15,%eax 2de: cd 40 int $0x40 2e0: c3 ret 000002e1 <kill>: SYSCALL(kill) 2e1: b8 06 00 00 00 mov $0x6,%eax 2e6: cd 40 int $0x40 2e8: c3 ret 000002e9 <exec>: SYSCALL(exec) 2e9: b8 07 00 00 00 mov $0x7,%eax 2ee: cd 40 int $0x40 2f0: c3 ret 000002f1 <open>: SYSCALL(open) 2f1: b8 0f 00 00 00 mov $0xf,%eax 2f6: cd 40 int $0x40 2f8: c3 ret 000002f9 <mknod>: SYSCALL(mknod) 2f9: b8 11 00 00 00 mov $0x11,%eax 2fe: cd 40 int $0x40 300: c3 ret 00000301 <unlink>: SYSCALL(unlink) 301: b8 12 00 00 00 mov $0x12,%eax 306: cd 40 int $0x40 308: c3 ret 00000309 <fstat>: SYSCALL(fstat) 309: b8 08 00 00 00 mov $0x8,%eax 30e: cd 40 int $0x40 310: c3 ret 00000311 <link>: SYSCALL(link) 311: b8 13 00 00 00 mov $0x13,%eax 316: cd 40 int $0x40 318: c3 ret 00000319 <mkdir>: SYSCALL(mkdir) 319: b8 14 00 00 00 mov $0x14,%eax 31e: cd 40 int $0x40 320: c3 ret 00000321 <chdir>: SYSCALL(chdir) 321: b8 09 00 00 00 mov $0x9,%eax 326: cd 40 int $0x40 328: c3 ret 00000329 <dup>: SYSCALL(dup) 329: b8 0a 00 00 00 mov $0xa,%eax 32e: cd 40 int $0x40 330: c3 ret 00000331 <getpid>: SYSCALL(getpid) 331: b8 0b 00 00 00 mov $0xb,%eax 336: cd 40 int $0x40 338: c3 ret 00000339 <sbrk>: SYSCALL(sbrk) 339: b8 0c 00 00 00 mov $0xc,%eax 33e: cd 40 int $0x40 340: c3 ret 00000341 <sleep>: SYSCALL(sleep) 341: b8 0d 00 00 00 mov $0xd,%eax 346: cd 40 int $0x40 348: c3 ret 00000349 <uptime>: SYSCALL(uptime) 349: b8 0e 00 00 00 mov $0xe,%eax 34e: cd 40 int $0x40 350: c3 ret 00000351 <trace>: SYSCALL(trace) 351: b8 16 00 00 00 mov $0x16,%eax 356: cd 40 int $0x40 358: c3 ret 00000359 <getsharem>: SYSCALL(getsharem) 359: b8 17 00 00 00 mov $0x17,%eax 35e: cd 40 int $0x40 360: c3 ret 00000361 <releasesharem>: SYSCALL(releasesharem) 361: b8 18 00 00 00 mov $0x18,%eax 366: cd 40 int $0x40 368: c3 ret 00000369 <split>: SYSCALL(split) 369: b8 19 00 00 00 mov $0x19,%eax 36e: cd 40 int $0x40 370: c3 ret 00000371 <memo>: SYSCALL(memo) 371: b8 1a 00 00 00 mov $0x1a,%eax 376: cd 40 int $0x40 378: c3 ret 00000379 <getmemo>: SYSCALL(getmemo) 379: b8 1b 00 00 00 mov $0x1b,%eax 37e: cd 40 int $0x40 380: c3 ret 00000381 <setmemo>: SYSCALL(setmemo) 381: b8 1c 00 00 00 mov $0x1c,%eax 386: cd 40 int $0x40 388: c3 ret 00000389 <att>: SYSCALL(att) 389: b8 1d 00 00 00 mov $0x1d,%eax 38e: cd 40 int $0x40 390: c3 ret 391: 66 90 xchg %ax,%ax 393: 66 90 xchg %ax,%ax 395: 66 90 xchg %ax,%ax 397: 66 90 xchg %ax,%ax 399: 66 90 xchg %ax,%ax 39b: 66 90 xchg %ax,%ax 39d: 66 90 xchg %ax,%ax 39f: 90 nop 000003a0 <printint>: write(fd, &c, 1); } static void printint(int fd, int xx, int base, int sgn) { 3a0: 55 push %ebp 3a1: 89 e5 mov %esp,%ebp 3a3: 57 push %edi 3a4: 56 push %esi 3a5: 53 push %ebx uint x; neg = 0; if(sgn && xx < 0){ neg = 1; x = -xx; 3a6: 89 d3 mov %edx,%ebx { 3a8: 83 ec 3c sub $0x3c,%esp 3ab: 89 45 bc mov %eax,-0x44(%ebp) if(sgn && xx < 0){ 3ae: 85 d2 test %edx,%edx 3b0: 0f 89 92 00 00 00 jns 448 <printint+0xa8> 3b6: f6 45 08 01 testb $0x1,0x8(%ebp) 3ba: 0f 84 88 00 00 00 je 448 <printint+0xa8> neg = 1; 3c0: c7 45 c0 01 00 00 00 movl $0x1,-0x40(%ebp) x = -xx; 3c7: f7 db neg %ebx } else { x = xx; } i = 0; 3c9: c7 45 c4 00 00 00 00 movl $0x0,-0x3c(%ebp) 3d0: 8d 75 d7 lea -0x29(%ebp),%esi 3d3: eb 08 jmp 3dd <printint+0x3d> 3d5: 8d 76 00 lea 0x0(%esi),%esi do{ buf[i++] = digits[x % base]; 3d8: 89 7d c4 mov %edi,-0x3c(%ebp) }while((x /= base) != 0); 3db: 89 c3 mov %eax,%ebx buf[i++] = digits[x % base]; 3dd: 89 d8 mov %ebx,%eax 3df: 31 d2 xor %edx,%edx 3e1: 8b 7d c4 mov -0x3c(%ebp),%edi 3e4: f7 f1 div %ecx 3e6: 83 c7 01 add $0x1,%edi 3e9: 0f b6 92 f8 07 00 00 movzbl 0x7f8(%edx),%edx 3f0: 88 14 3e mov %dl,(%esi,%edi,1) }while((x /= base) != 0); 3f3: 39 d9 cmp %ebx,%ecx 3f5: 76 e1 jbe 3d8 <printint+0x38> if(neg) 3f7: 8b 45 c0 mov -0x40(%ebp),%eax 3fa: 85 c0 test %eax,%eax 3fc: 74 0d je 40b <printint+0x6b> buf[i++] = '-'; 3fe: c6 44 3d d8 2d movb $0x2d,-0x28(%ebp,%edi,1) 403: ba 2d 00 00 00 mov $0x2d,%edx buf[i++] = digits[x % base]; 408: 89 7d c4 mov %edi,-0x3c(%ebp) 40b: 8b 45 c4 mov -0x3c(%ebp),%eax 40e: 8b 7d bc mov -0x44(%ebp),%edi 411: 8d 5c 05 d7 lea -0x29(%ebp,%eax,1),%ebx 415: eb 0f jmp 426 <printint+0x86> 417: 89 f6 mov %esi,%esi 419: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 420: 0f b6 13 movzbl (%ebx),%edx 423: 83 eb 01 sub $0x1,%ebx write(fd, &c, 1); 426: 83 ec 04 sub $0x4,%esp 429: 88 55 d7 mov %dl,-0x29(%ebp) 42c: 6a 01 push $0x1 42e: 56 push %esi 42f: 57 push %edi 430: e8 9c fe ff ff call 2d1 <write> while(--i >= 0) 435: 83 c4 10 add $0x10,%esp 438: 39 de cmp %ebx,%esi 43a: 75 e4 jne 420 <printint+0x80> putc(fd, buf[i]); } 43c: 8d 65 f4 lea -0xc(%ebp),%esp 43f: 5b pop %ebx 440: 5e pop %esi 441: 5f pop %edi 442: 5d pop %ebp 443: c3 ret 444: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi neg = 0; 448: c7 45 c0 00 00 00 00 movl $0x0,-0x40(%ebp) 44f: e9 75 ff ff ff jmp 3c9 <printint+0x29> 454: 8d b6 00 00 00 00 lea 0x0(%esi),%esi 45a: 8d bf 00 00 00 00 lea 0x0(%edi),%edi 00000460 <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, char *fmt, ...) { 460: 55 push %ebp 461: 89 e5 mov %esp,%ebp 463: 57 push %edi 464: 56 push %esi 465: 53 push %ebx 466: 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++){ 469: 8b 75 0c mov 0xc(%ebp),%esi 46c: 0f b6 1e movzbl (%esi),%ebx 46f: 84 db test %bl,%bl 471: 0f 84 b9 00 00 00 je 530 <printf+0xd0> ap = (uint*)(void*)&fmt + 1; 477: 8d 45 10 lea 0x10(%ebp),%eax 47a: 83 c6 01 add $0x1,%esi write(fd, &c, 1); 47d: 8d 7d e7 lea -0x19(%ebp),%edi state = 0; 480: 31 d2 xor %edx,%edx ap = (uint*)(void*)&fmt + 1; 482: 89 45 d0 mov %eax,-0x30(%ebp) 485: eb 38 jmp 4bf <printf+0x5f> 487: 89 f6 mov %esi,%esi 489: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 490: 89 55 d4 mov %edx,-0x2c(%ebp) c = fmt[i] & 0xff; if(state == 0){ if(c == '%'){ state = '%'; 493: ba 25 00 00 00 mov $0x25,%edx if(c == '%'){ 498: 83 f8 25 cmp $0x25,%eax 49b: 74 17 je 4b4 <printf+0x54> write(fd, &c, 1); 49d: 83 ec 04 sub $0x4,%esp 4a0: 88 5d e7 mov %bl,-0x19(%ebp) 4a3: 6a 01 push $0x1 4a5: 57 push %edi 4a6: ff 75 08 pushl 0x8(%ebp) 4a9: e8 23 fe ff ff call 2d1 <write> 4ae: 8b 55 d4 mov -0x2c(%ebp),%edx } else { putc(fd, c); 4b1: 83 c4 10 add $0x10,%esp 4b4: 83 c6 01 add $0x1,%esi for(i = 0; fmt[i]; i++){ 4b7: 0f b6 5e ff movzbl -0x1(%esi),%ebx 4bb: 84 db test %bl,%bl 4bd: 74 71 je 530 <printf+0xd0> c = fmt[i] & 0xff; 4bf: 0f be cb movsbl %bl,%ecx 4c2: 0f b6 c3 movzbl %bl,%eax if(state == 0){ 4c5: 85 d2 test %edx,%edx 4c7: 74 c7 je 490 <printf+0x30> } } else if(state == '%'){ 4c9: 83 fa 25 cmp $0x25,%edx 4cc: 75 e6 jne 4b4 <printf+0x54> if(c == 'd'){ 4ce: 83 f8 64 cmp $0x64,%eax 4d1: 0f 84 99 00 00 00 je 570 <printf+0x110> printint(fd, *ap, 10, 1); ap++; } else if(c == 'x' || c == 'p'){ 4d7: 81 e1 f7 00 00 00 and $0xf7,%ecx 4dd: 83 f9 70 cmp $0x70,%ecx 4e0: 74 5e je 540 <printf+0xe0> printint(fd, *ap, 16, 0); ap++; } else if(c == 's'){ 4e2: 83 f8 73 cmp $0x73,%eax 4e5: 0f 84 d5 00 00 00 je 5c0 <printf+0x160> s = "(null)"; while(*s != 0){ putc(fd, *s); s++; } } else if(c == 'c'){ 4eb: 83 f8 63 cmp $0x63,%eax 4ee: 0f 84 8c 00 00 00 je 580 <printf+0x120> putc(fd, *ap); ap++; } else if(c == '%'){ 4f4: 83 f8 25 cmp $0x25,%eax 4f7: 0f 84 b3 00 00 00 je 5b0 <printf+0x150> write(fd, &c, 1); 4fd: 83 ec 04 sub $0x4,%esp 500: c6 45 e7 25 movb $0x25,-0x19(%ebp) 504: 6a 01 push $0x1 506: 57 push %edi 507: ff 75 08 pushl 0x8(%ebp) 50a: e8 c2 fd ff ff call 2d1 <write> putc(fd, c); } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); putc(fd, c); 50f: 88 5d e7 mov %bl,-0x19(%ebp) write(fd, &c, 1); 512: 83 c4 0c add $0xc,%esp 515: 6a 01 push $0x1 517: 83 c6 01 add $0x1,%esi 51a: 57 push %edi 51b: ff 75 08 pushl 0x8(%ebp) 51e: e8 ae fd ff ff call 2d1 <write> for(i = 0; fmt[i]; i++){ 523: 0f b6 5e ff movzbl -0x1(%esi),%ebx putc(fd, c); 527: 83 c4 10 add $0x10,%esp } state = 0; 52a: 31 d2 xor %edx,%edx for(i = 0; fmt[i]; i++){ 52c: 84 db test %bl,%bl 52e: 75 8f jne 4bf <printf+0x5f> } } } 530: 8d 65 f4 lea -0xc(%ebp),%esp 533: 5b pop %ebx 534: 5e pop %esi 535: 5f pop %edi 536: 5d pop %ebp 537: c3 ret 538: 90 nop 539: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi printint(fd, *ap, 16, 0); 540: 83 ec 0c sub $0xc,%esp 543: b9 10 00 00 00 mov $0x10,%ecx 548: 6a 00 push $0x0 54a: 8b 5d d0 mov -0x30(%ebp),%ebx 54d: 8b 45 08 mov 0x8(%ebp),%eax 550: 8b 13 mov (%ebx),%edx 552: e8 49 fe ff ff call 3a0 <printint> ap++; 557: 89 d8 mov %ebx,%eax 559: 83 c4 10 add $0x10,%esp state = 0; 55c: 31 d2 xor %edx,%edx ap++; 55e: 83 c0 04 add $0x4,%eax 561: 89 45 d0 mov %eax,-0x30(%ebp) 564: e9 4b ff ff ff jmp 4b4 <printf+0x54> 569: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi printint(fd, *ap, 10, 1); 570: 83 ec 0c sub $0xc,%esp 573: b9 0a 00 00 00 mov $0xa,%ecx 578: 6a 01 push $0x1 57a: eb ce jmp 54a <printf+0xea> 57c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi putc(fd, *ap); 580: 8b 5d d0 mov -0x30(%ebp),%ebx write(fd, &c, 1); 583: 83 ec 04 sub $0x4,%esp putc(fd, *ap); 586: 8b 03 mov (%ebx),%eax write(fd, &c, 1); 588: 6a 01 push $0x1 ap++; 58a: 83 c3 04 add $0x4,%ebx write(fd, &c, 1); 58d: 57 push %edi 58e: ff 75 08 pushl 0x8(%ebp) putc(fd, *ap); 591: 88 45 e7 mov %al,-0x19(%ebp) write(fd, &c, 1); 594: e8 38 fd ff ff call 2d1 <write> ap++; 599: 89 5d d0 mov %ebx,-0x30(%ebp) 59c: 83 c4 10 add $0x10,%esp state = 0; 59f: 31 d2 xor %edx,%edx 5a1: e9 0e ff ff ff jmp 4b4 <printf+0x54> 5a6: 8d 76 00 lea 0x0(%esi),%esi 5a9: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi putc(fd, c); 5b0: 88 5d e7 mov %bl,-0x19(%ebp) write(fd, &c, 1); 5b3: 83 ec 04 sub $0x4,%esp 5b6: e9 5a ff ff ff jmp 515 <printf+0xb5> 5bb: 90 nop 5bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi s = (char*)*ap; 5c0: 8b 45 d0 mov -0x30(%ebp),%eax 5c3: 8b 18 mov (%eax),%ebx ap++; 5c5: 83 c0 04 add $0x4,%eax 5c8: 89 45 d0 mov %eax,-0x30(%ebp) if(s == 0) 5cb: 85 db test %ebx,%ebx 5cd: 74 17 je 5e6 <printf+0x186> while(*s != 0){ 5cf: 0f b6 03 movzbl (%ebx),%eax state = 0; 5d2: 31 d2 xor %edx,%edx while(*s != 0){ 5d4: 84 c0 test %al,%al 5d6: 0f 84 d8 fe ff ff je 4b4 <printf+0x54> 5dc: 89 75 d4 mov %esi,-0x2c(%ebp) 5df: 89 de mov %ebx,%esi 5e1: 8b 5d 08 mov 0x8(%ebp),%ebx 5e4: eb 1a jmp 600 <printf+0x1a0> s = "(null)"; 5e6: bb ef 07 00 00 mov $0x7ef,%ebx while(*s != 0){ 5eb: 89 75 d4 mov %esi,-0x2c(%ebp) 5ee: b8 28 00 00 00 mov $0x28,%eax 5f3: 89 de mov %ebx,%esi 5f5: 8b 5d 08 mov 0x8(%ebp),%ebx 5f8: 90 nop 5f9: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi write(fd, &c, 1); 600: 83 ec 04 sub $0x4,%esp s++; 603: 83 c6 01 add $0x1,%esi 606: 88 45 e7 mov %al,-0x19(%ebp) write(fd, &c, 1); 609: 6a 01 push $0x1 60b: 57 push %edi 60c: 53 push %ebx 60d: e8 bf fc ff ff call 2d1 <write> while(*s != 0){ 612: 0f b6 06 movzbl (%esi),%eax 615: 83 c4 10 add $0x10,%esp 618: 84 c0 test %al,%al 61a: 75 e4 jne 600 <printf+0x1a0> 61c: 8b 75 d4 mov -0x2c(%ebp),%esi state = 0; 61f: 31 d2 xor %edx,%edx 621: e9 8e fe ff ff jmp 4b4 <printf+0x54> 626: 66 90 xchg %ax,%ax 628: 66 90 xchg %ax,%ax 62a: 66 90 xchg %ax,%ax 62c: 66 90 xchg %ax,%ax 62e: 66 90 xchg %ax,%ax 00000630 <free>: static Header base; static Header *freep; void free(void *ap) { 630: 55 push %ebp Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 631: a1 a4 0a 00 00 mov 0xaa4,%eax { 636: 89 e5 mov %esp,%ebp 638: 57 push %edi 639: 56 push %esi 63a: 53 push %ebx 63b: 8b 5d 08 mov 0x8(%ebp),%ebx 63e: 8b 10 mov (%eax),%edx bp = (Header*)ap - 1; 640: 8d 4b f8 lea -0x8(%ebx),%ecx for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 643: 39 c8 cmp %ecx,%eax 645: 73 19 jae 660 <free+0x30> 647: 89 f6 mov %esi,%esi 649: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi 650: 39 d1 cmp %edx,%ecx 652: 72 14 jb 668 <free+0x38> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 654: 39 d0 cmp %edx,%eax 656: 73 10 jae 668 <free+0x38> { 658: 89 d0 mov %edx,%eax 65a: 8b 10 mov (%eax),%edx for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 65c: 39 c8 cmp %ecx,%eax 65e: 72 f0 jb 650 <free+0x20> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 660: 39 d0 cmp %edx,%eax 662: 72 f4 jb 658 <free+0x28> 664: 39 d1 cmp %edx,%ecx 666: 73 f0 jae 658 <free+0x28> break; if(bp + bp->s.size == p->s.ptr){ 668: 8b 73 fc mov -0x4(%ebx),%esi 66b: 8d 3c f1 lea (%ecx,%esi,8),%edi 66e: 39 fa cmp %edi,%edx 670: 74 1e je 690 <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; 672: 89 53 f8 mov %edx,-0x8(%ebx) if(p + p->s.size == bp){ 675: 8b 50 04 mov 0x4(%eax),%edx 678: 8d 34 d0 lea (%eax,%edx,8),%esi 67b: 39 f1 cmp %esi,%ecx 67d: 74 28 je 6a7 <free+0x77> p->s.size += bp->s.size; p->s.ptr = bp->s.ptr; } else p->s.ptr = bp; 67f: 89 08 mov %ecx,(%eax) freep = p; } 681: 5b pop %ebx freep = p; 682: a3 a4 0a 00 00 mov %eax,0xaa4 } 687: 5e pop %esi 688: 5f pop %edi 689: 5d pop %ebp 68a: c3 ret 68b: 90 nop 68c: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi bp->s.size += p->s.ptr->s.size; 690: 03 72 04 add 0x4(%edx),%esi 693: 89 73 fc mov %esi,-0x4(%ebx) bp->s.ptr = p->s.ptr->s.ptr; 696: 8b 10 mov (%eax),%edx 698: 8b 12 mov (%edx),%edx 69a: 89 53 f8 mov %edx,-0x8(%ebx) if(p + p->s.size == bp){ 69d: 8b 50 04 mov 0x4(%eax),%edx 6a0: 8d 34 d0 lea (%eax,%edx,8),%esi 6a3: 39 f1 cmp %esi,%ecx 6a5: 75 d8 jne 67f <free+0x4f> p->s.size += bp->s.size; 6a7: 03 53 fc add -0x4(%ebx),%edx freep = p; 6aa: a3 a4 0a 00 00 mov %eax,0xaa4 p->s.size += bp->s.size; 6af: 89 50 04 mov %edx,0x4(%eax) p->s.ptr = bp->s.ptr; 6b2: 8b 53 f8 mov -0x8(%ebx),%edx 6b5: 89 10 mov %edx,(%eax) } 6b7: 5b pop %ebx 6b8: 5e pop %esi 6b9: 5f pop %edi 6ba: 5d pop %ebp 6bb: c3 ret 6bc: 8d 74 26 00 lea 0x0(%esi,%eiz,1),%esi 000006c0 <malloc>: return freep; } void* malloc(uint nbytes) { 6c0: 55 push %ebp 6c1: 89 e5 mov %esp,%ebp 6c3: 57 push %edi 6c4: 56 push %esi 6c5: 53 push %ebx 6c6: 83 ec 1c sub $0x1c,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 6c9: 8b 45 08 mov 0x8(%ebp),%eax if((prevp = freep) == 0){ 6cc: 8b 3d a4 0a 00 00 mov 0xaa4,%edi nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 6d2: 8d 70 07 lea 0x7(%eax),%esi 6d5: c1 ee 03 shr $0x3,%esi 6d8: 83 c6 01 add $0x1,%esi if((prevp = freep) == 0){ 6db: 85 ff test %edi,%edi 6dd: 0f 84 ad 00 00 00 je 790 <malloc+0xd0> base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 6e3: 8b 17 mov (%edi),%edx if(p->s.size >= nunits){ 6e5: 8b 4a 04 mov 0x4(%edx),%ecx 6e8: 39 ce cmp %ecx,%esi 6ea: 76 72 jbe 75e <malloc+0x9e> 6ec: 81 fe 00 10 00 00 cmp $0x1000,%esi 6f2: bb 00 10 00 00 mov $0x1000,%ebx 6f7: 0f 43 de cmovae %esi,%ebx p = sbrk(nu * sizeof(Header)); 6fa: 8d 04 dd 00 00 00 00 lea 0x0(,%ebx,8),%eax 701: 89 45 e4 mov %eax,-0x1c(%ebp) 704: eb 1b jmp 721 <malloc+0x61> 706: 8d 76 00 lea 0x0(%esi),%esi 709: 8d bc 27 00 00 00 00 lea 0x0(%edi,%eiz,1),%edi for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 710: 8b 02 mov (%edx),%eax if(p->s.size >= nunits){ 712: 8b 48 04 mov 0x4(%eax),%ecx 715: 39 f1 cmp %esi,%ecx 717: 73 4f jae 768 <malloc+0xa8> 719: 8b 3d a4 0a 00 00 mov 0xaa4,%edi 71f: 89 c2 mov %eax,%edx p->s.size = nunits; } freep = prevp; return (void*)(p + 1); } if(p == freep) 721: 39 d7 cmp %edx,%edi 723: 75 eb jne 710 <malloc+0x50> p = sbrk(nu * sizeof(Header)); 725: 83 ec 0c sub $0xc,%esp 728: ff 75 e4 pushl -0x1c(%ebp) 72b: e8 09 fc ff ff call 339 <sbrk> if(p == (char*)-1) 730: 83 c4 10 add $0x10,%esp 733: 83 f8 ff cmp $0xffffffff,%eax 736: 74 1c je 754 <malloc+0x94> hp->s.size = nu; 738: 89 58 04 mov %ebx,0x4(%eax) free((void*)(hp + 1)); 73b: 83 ec 0c sub $0xc,%esp 73e: 83 c0 08 add $0x8,%eax 741: 50 push %eax 742: e8 e9 fe ff ff call 630 <free> return freep; 747: 8b 15 a4 0a 00 00 mov 0xaa4,%edx if((p = morecore(nunits)) == 0) 74d: 83 c4 10 add $0x10,%esp 750: 85 d2 test %edx,%edx 752: 75 bc jne 710 <malloc+0x50> return 0; } } 754: 8d 65 f4 lea -0xc(%ebp),%esp return 0; 757: 31 c0 xor %eax,%eax } 759: 5b pop %ebx 75a: 5e pop %esi 75b: 5f pop %edi 75c: 5d pop %ebp 75d: c3 ret if(p->s.size >= nunits){ 75e: 89 d0 mov %edx,%eax 760: 89 fa mov %edi,%edx 762: 8d b6 00 00 00 00 lea 0x0(%esi),%esi if(p->s.size == nunits) 768: 39 ce cmp %ecx,%esi 76a: 74 54 je 7c0 <malloc+0x100> p->s.size -= nunits; 76c: 29 f1 sub %esi,%ecx 76e: 89 48 04 mov %ecx,0x4(%eax) p += p->s.size; 771: 8d 04 c8 lea (%eax,%ecx,8),%eax p->s.size = nunits; 774: 89 70 04 mov %esi,0x4(%eax) freep = prevp; 777: 89 15 a4 0a 00 00 mov %edx,0xaa4 } 77d: 8d 65 f4 lea -0xc(%ebp),%esp return (void*)(p + 1); 780: 83 c0 08 add $0x8,%eax } 783: 5b pop %ebx 784: 5e pop %esi 785: 5f pop %edi 786: 5d pop %ebp 787: c3 ret 788: 90 nop 789: 8d b4 26 00 00 00 00 lea 0x0(%esi,%eiz,1),%esi base.s.ptr = freep = prevp = &base; 790: c7 05 a4 0a 00 00 a8 movl $0xaa8,0xaa4 797: 0a 00 00 base.s.size = 0; 79a: bf a8 0a 00 00 mov $0xaa8,%edi base.s.ptr = freep = prevp = &base; 79f: c7 05 a8 0a 00 00 a8 movl $0xaa8,0xaa8 7a6: 0a 00 00 for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 7a9: 89 fa mov %edi,%edx base.s.size = 0; 7ab: c7 05 ac 0a 00 00 00 movl $0x0,0xaac 7b2: 00 00 00 if(p->s.size >= nunits){ 7b5: e9 32 ff ff ff jmp 6ec <malloc+0x2c> 7ba: 8d b6 00 00 00 00 lea 0x0(%esi),%esi prevp->s.ptr = p->s.ptr; 7c0: 8b 08 mov (%eax),%ecx 7c2: 89 0a mov %ecx,(%edx) 7c4: eb b1 jmp 777 <malloc+0xb7>
33.758039
60
0.409525
173d69cd16738b460dc77603b6ef815daea0cfd1
948
asm
Assembly
programs/oeis/058/A058207.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/058/A058207.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/058/A058207.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A058207: Three steps forward, two steps back. ; 0,1,2,3,2,1,2,3,4,3,2,3,4,5,4,3,4,5,6,5,4,5,6,7,6,5,6,7,8,7,6,7,8,9,8,7,8,9,10,9,8,9,10,11,10,9,10,11,12,11,10,11,12,13,12,11,12,13,14,13,12,13,14,15,14,13,14,15,16,15,14,15,16,17,16,15,16,17,18,17,16,17,18,19,18,17,18,19,20,19,18,19,20,21,20,19,20,21,22,21,20,21,22,23,22,21,22,23,24,23,22,23,24,25,24,23,24,25,26,25,24,25,26,27,26,25,26,27,28,27,26,27,28,29,28,27,28,29,30,29,28,29,30,31,30,29,30,31,32,31,30,31,32,33,32,31,32,33,34,33,32,33,34,35,34,33,34,35,36,35,34,35,36,37,36,35,36,37,38,37,36,37,38,39,38,37,38,39,40,39,38,39,40,41,40,39,40,41,42,41,40,41,42,43,42,41,42,43,44,43,42,43,44,45,44,43,44,45,46,45,44,45,46,47,46,45,46,47,48,47,46,47,48,49,48,47,48,49,50,49,48,49,50,51,50,49,50,51,52,51 add $0,4 lpb $0 mov $1,$0 sub $0,4 add $4,1 sub $1,$4 sub $1,6 mul $1,2 mov $2,2 mov $3,$4 add $3,2 add $2,$3 sub $2,$1 trn $2,$4 add $0,$2 lpe sub $0,4 mov $1,$0
43.090909
709
0.612869
1a3e21edb1510780aa0e429a7eb0d48fc7d6b30f
6,004
asm
Assembly
phasesqueek/main.asm
bushy555/ZX-Spectrum-1-Bit-Routines
4d336dec9d7abc979a97af76d515104a9263f127
[ "BSD-3-Clause" ]
59
2015-02-28T14:15:56.000Z
2022-03-26T12:06:01.000Z
phasesqueek/main.asm
bushy555/ZX-Spectrum-1-Bit-Routines
4d336dec9d7abc979a97af76d515104a9263f127
[ "BSD-3-Clause" ]
1
2016-08-22T05:32:43.000Z
2016-08-22T09:33:28.000Z
phasesqueek/main.asm
bushy555/ZX-Spectrum-1-Bit-Routines
4d336dec9d7abc979a97af76d515104a9263f127
[ "BSD-3-Clause" ]
9
2015-02-28T14:16:31.000Z
2022-01-18T17:52:48.000Z
;Phase Squeek aka TOUPEE (Totally Overpowered, Utterly Pointless Extreme Engine) ;version 0.1 ;ZX Spectrum beeper engine ;by utz 08'2016 * www.irrlichtproject.de BORDER equ #ff noise equ #2175 include "freqtab.asm" ;note name equates, can be omitted org origin init ei ;detect kempston halt in a,(#1f) inc a jr nz,_skip ld (maskKempston),a _skip di exx push hl ;preserve HL' for return to BASIC ld (oldSP),sp ld hl,musicData ld (seqpntr),hl ;****************************************************************** rdseq seqpntr equ $+1 ld sp,0 xor a pop bc ;pattern pointer to DE or b ld (seqpntr),sp jr nz,rdptn0 ;jp exit ;uncomment to disable looping ld sp,loop ;get loop point jr rdseq+3 ;****************************************************************** rdptn0 ld (ptnpntr),bc rdptn in a,(#1f) ;read joystick maskKempston equ $+1 and #1f ld c,a in a,(#fe) ;read kbd cpl or c and #1f jp nz,exit ptnpntr equ $+1 ld sp,0 pop af ;global ctrl (F) and method (A) jr z,rdseq jr c,_noFxUpdate pop bc ;fx table pointer ld (fxPointer),bc _noFxUpdate jp pe,_ctrl_3 ;no updates for this row ld (globalMethod),a jp m,_ctrl_2 ;no updates for ch1 pop af ;ch1 ctrl (F) and method (A) ld (method1),a jr c,_noF1Update pop hl ;frequency ch1 op1 ld (freq1A),hl pop hl ;frequency ch1 op2 ld (freq1B),hl _noF1Update jr z,_noDuty1Update pop de ;duties ch1 op1/2 _noDuty1Update jp pe,_noSID1Update pop bc ;SID/ES ch1 op1 ld (sid1A),bc pop bc ;SID/ES ch1 op2 ld (sid1B),bc _noSID1Update jp m,_noPhase1Update pop hl ;phase ch1 ld ix,0 _noPhase1Update _ctrl_2 pop af ;ch2 ctrl (F) and method (A) ld (method2),a exx jr c,_noF2Update pop hl ;freq ch2 op1 ld (freq2A),hl pop hl ;freq ch2 op2 ld (freq2B),hl _noF2Update jr z,_noDuty2Update pop de ;duties ch2 op1/2 _noDuty2Update ld a,0 jp po,_setNoise2 ld a,#cb _setNoise2 ld (noise2),a ;a=0 - noise disabled, a=#cb - noise enabled jp m,_noPhase2Update pop hl ;phase ch2 ld iy,0 _noPhase2Update exx _ctrl_3 pop af ;drum ctrl (F) and speed jp z,drum1 jp m,drum2 ld c,0 ;set speed (length counter) lo-byte ex af,af' drumret ld (ptnpntr),sp ;******************************************************************************* playNote freq1A equ $+1 ld sp,0 ;10 add hl,sp ;11 ld a,d ;4 sid1A shaker1A equ $+1 ;add a,n = c6, adc a,n = c6 adc a,0 ;7 ld d,a ;4 add a,h ;4 sbc a,a ;4 ld b,a ;4 freq1B equ $+1 ld sp,0 ;10 add ix,sp ;15 ld a,e ;4 sid1B shaker1B equ $+1 adc a,0 ;7 ld e,a ;4 add a,ixh ;4 sbc a,a ;4 method1 xor b ;4 ;xor = a8, or = b0, and = a0 ld b,a ;4 ;preserve output state ch1 exx ;4 freq2A equ $+1 ld sp,0 ;10 add hl,sp ;11 noise2 rlc h ;8 ;rlc h = cb 04 - noise enable ;nop,inc b = 00 04 - noise disable ld a,d ;4 add a,h ;4 sbc a,a ;4 ld b,a ;4 freq2B equ $+1 ld sp,0 ;10 add iy,sp ;15 ld a,e ;4 add a,iyh ;8 sbc a,a ;4 method2 xor b ;4 exx ;4 globalMethod xor b ;4 ;combine with state ch1 ret c ;5 ;timing out (#fe),a ;11 dec c ;4 ;timer jp nz,playNote ;10 ;232 ;******************************************************************************* updateTimer fxPointer equ $+1 ld sp,0 pop af ;global ctrl (F) and method (A) jr z,_stopFx jp pe,_noUpdate ;no updates for this row jr nc,_noFxPntrReset exx pop bc ;fx table pointer reset ld (fxPointer),bc exx jp updateTimer _noFxPntrReset ld (globalMethod),a jp m,_ctrl_2 ;no updates for ch1 pop af ;ch1 ctrl (F) and method (A) ld (method1),a jr c,_noF1Update pop hl ;frequency ch1 op1 ld (freq1A),hl pop hl ;frequency ch1 op2 ld (freq1B),hl _noF1Update jr z,_noDuty1Update pop de ;duties ch1 op1/2 _noDuty1Update jp pe,_noSID1Update exx pop bc ;SID/ES ch1 op1 ld (sid1A),bc pop bc ;SID/ES ch1 op2 ld (sid1B),bc exx _noSID1Update jp m,_noPhase1Update pop hl ;phase ch1 ld ix,0 _noPhase1Update _ctrl_2 pop af ;ch2 ctrl (F) and method (A) ld (method2),a exx jr c,_noF2Update pop hl ;freq ch2 op1 ld (freq2A),hl pop hl ;freq ch2 op2 ld (freq2B),hl _noF2Update jr z,_noDuty2Update pop de ;duties ch2 op1/2 _noDuty2Update ld a,0 jp po,_setNoise2 ld a,#cb _setNoise2 ld (noise2),a ;a=0 - noise disabled, a=#cb - noise enabled jp m,_noPhase2Update pop hl ;phase ch2 ld iy,0 _noPhase2Update exx _noUpdate ld (fxPointer),sp _stopFx ex af,af' dec a jp z,rdptn ex af,af' jp playNote ;******************************************************************************* drum2 ld (HLrestore),hl ex af,af' ld hl,hat1 ld b,hat1end-hat1 jr drentry drum1 ld (HLrestore),hl ex af,af' ld hl,kick1 ;10 ld b,kick1end-kick1 ;7 drentry xor a ;4 _s2 xor BORDER ;7 ld c,(hl) ;7 inc hl ;6 _s1 out (#fe),a ;11 dec c ;4 jr nz,_s1 ;12/7 djnz _s2 ;13/8 ld c,#19 ;7 ;correct frame length HLrestore equ $+1 ld hl,0 jp drumret ;10 kick1 ;27*16*4 + 27*32*4 + 27*64*4 + 27*128*4 + 27*256*4 = 53568, + 20*33 = 53568 -> -231 loops -> C = #19 ds 4,#10 ds 4,#20 ds 4,#40 ds 4,#80 ds 4,0 kick1end hat1 db 16,3,12,6,9,20,4,8,2,14,9,17,5,8,12,4,7,16,13,22,5,3,16,3,12,6,9,20,4,8,2,14,9,17,5,8,12,4,7,16,13,22,5,3 db 12,8,1,24,6,7,4,9,18,12,8,3,11,7,5,8,3,17,9,15,22,6,5,8,11,13,4,8,12,9,2,4,7,8,12,6,7,4,19,22,1,9,6,27,4,3,11 db 5,8,14,2,11,13,5,9,2,17,10,3,7,19,4,3,8,2,9,11,4,17,6,4,9,14,2,22,8,4,19,2,3,5,11,1,16,20,4,7 db 8,9,4,12,2,8,14,3,7,7,13,9,15,1,8,4,17,3,22,4,8,11,4,21,9,6,12,4,3,8,7,17,5,9,2,11,17,4,9,3,2 db 22,4,7,3,8,9,4,11,8,5,9,2,6,2,8,8,3,11,5,3,9,6,7,4,8 hat1end ;******************************************************************************* exit oldSP equ $+1 ld sp,0 pop hl exx ei ret ;******************************************************************************* musicData include "music.asm"
16.227027
113
0.573951
1525fe71cd98f0e38f91218c559139bd34376353
117
asm
Assembly
libsrc/z80_crt0s/z80/sccz80/fa.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/z80_crt0s/z80/sccz80/fa.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/z80_crt0s/z80/sccz80/fa.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
SECTION bss_fp PUBLIC fa EXTERN init_floatpack fa: defs 6 SECTION code_crt_init call init_floatpack
9
23
0.735043
3f5a8d95e13ae6bfc11d05ccf288b54ffa2aa935
327
asm
Assembly
Final Assignment CSE331/Solution/6.asm
simonahsan2129/CSE331L-Section-1-Fall20-NSU
e430f061e4046d212c536b67025b9fcb950e2497
[ "MIT" ]
1
2021-01-13T09:48:44.000Z
2021-01-13T09:48:44.000Z
Final Assignment CSE331/Solution/6.asm
AmirulAhsanSimon/CSE331L-Section-1-Fall20-NSU
e430f061e4046d212c536b67025b9fcb950e2497
[ "MIT" ]
null
null
null
Final Assignment CSE331/Solution/6.asm
AmirulAhsanSimon/CSE331L-Section-1-Fall20-NSU
e430f061e4046d212c536b67025b9fcb950e2497
[ "MIT" ]
1
2021-03-15T16:18:20.000Z
2021-03-15T16:18:20.000Z
DATA SEGMENT NUM1 DW 1500 NUM2 DW 2500 HCF DW ? LCM DW ? ENDS CODE SEGMENT ASSUME DS:DATA CS:CODE START: MOV AX,DATA MOV DS,AX MOV AX,NUM1 MOV BX,NUM2 WHILE:MOV DX,0 MOV CX,BX DIV BX MOV BX,DX MOV AX,CX CMP BX,0 JNE WHILE MOV HCF,AX MOV CX,AX MOV AX,NUM1 MOV BX,NUM2 MUL BX DIV CX MOV LCM,AX MOV AH,4CH INT 21H ENDS END START
9.909091
22
0.737003
84397b1c70bde26e3ba31a03bc7579cf6bd46d46
744
asm
Assembly
oeis/279/A279028.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/279/A279028.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/279/A279028.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A279028: Binary representation of the x-axis, from the left edge to the origin, of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 129", based on the 5-celled von Neumann neighborhood. ; 1,0,101,0,10101,0,1010101,0,101010101,0,10101010101,0,1010101010101,0,101010101010101,0,10101010101010101,0,1010101010101010101,0,101010101010101010101,0,10101010101010101010101,0,1010101010101010101010101,0,101010101010101010101010101,0,10101010101010101010101010101,0,1010101010101010101010101010101,0,101010101010101010101010101010101,0,10101010101010101010101010101010101,0,1010101010101010101010101010101010101,0,101010101010101010101010101010101010101,0 add $0,2 mov $1,10 pow $1,$0 mod $0,2 gcd $0,$1 div $0,99
74.4
461
0.842742
6808b2788d792b5ec089a260a976904117eba3a0
1,481
asm
Assembly
example/raster_scroll/program.asm
suzukiplan/fcs80
a0db6b3ed95fc3f14fd0946550fe1b03cfd0f960
[ "MIT" ]
2
2021-07-01T10:10:13.000Z
2022-03-02T04:41:32.000Z
example/raster_scroll/program.asm
suzukiplan/fcs80
a0db6b3ed95fc3f14fd0946550fe1b03cfd0f960
[ "MIT" ]
3
2021-03-14T07:02:11.000Z
2021-07-20T05:49:32.000Z
example/raster_scroll/program.asm
suzukiplan/fcs80
a0db6b3ed95fc3f14fd0946550fe1b03cfd0f960
[ "MIT" ]
1
2021-07-01T10:10:15.000Z
2021-07-01T10:10:15.000Z
org $0000 .main ; 割り込み関連の初期化 IM 1 DI ; VBLANKを待機 call wait_vblank ; パレットを初期化 ld bc, 12 ld hl, palette0_data ld de, $9400 ldir ; Bank 1 を Character Pattern Table ($A000) に転送 (DMA) ld a, $01 out ($C0), a ; 1画面分のマップデータ(32x24=768)をBGに描画 ld bc, 768 ld hl, $4000 ld de, $8020 ldir ; メインループ mainloop: ; ラスタースクロール実行タイミング調整 ld a, ($9600) ; 現在のスキャンライン位置を取得 cp a, $FF ; blankチェック jp z, mainloop ; blank中は何もしない ld b, a ld a, ($C000) ; 直前のスキャンライン位置を取得 cp a, b ; 現在のスキャンライン位置 と 直前のスキャンライン位置 が変わったかチェック jp z, mainloop ; (変わっていなければ何もしない) ld a, b ld ($C000), a ; 直前のスキャンライン位置情報 を 現在のスキャンライン位置 に更新しておく ; スクロール値特定 ld a, ($C001) inc a and a, $3f ld ($C001), a srl a ld hl, scroll_values_0 add l ld l, a ld a, h adc 0 ld h, a ; BG Scroll Xを設定 ld a, (hl) ld ($9602), a jmp mainloop ; VBLANKになるまで待機 .wait_vblank ld hl, $9607 wait_vblank_loop: ld a, (hl) and $80 jp z, wait_vblank_loop ret palette0_data: defw %0000000000000000, %0001110011100111, %0110001100011000, %0111111111111111, %0000001110000000, %0000000000011100 scroll_values_0: defb 0, 1, 2, 3, 4, 5, 6, 7 scroll_values_1: defb 7, 6, 5, 4, 3, 2, 1, 0 scroll_values_2: defb 0, -1, -2, -3, -4, -5, -6, -7 scroll_values_3: defb -7, -6, -5, -4, -3, -2, -1, 0
20.859155
132
0.560432
47b40a63cb2b91a9f7534a426b1364fc7a340ab8
2,618
asm
Assembly
Assembler/lib/term.asm
Rohansi/LoonyVM
6ef3a3e552875cdbe39c92f66c31c3c5eb3059e0
[ "Unlicense" ]
1
2019-01-19T14:15:53.000Z
2019-01-19T14:15:53.000Z
Assembler/lib/term.asm
Rohansi/LoonyVM
6ef3a3e552875cdbe39c92f66c31c3c5eb3059e0
[ "Unlicense" ]
null
null
null
Assembler/lib/term.asm
Rohansi/LoonyVM
6ef3a3e552875cdbe39c92f66c31c3c5eb3059e0
[ "Unlicense" ]
null
null
null
; print a character to the terminal ; void printChar(byte c) printChar: push bp mov bp, sp push r0 push r1 push r2 push r3 mov r0, byte [bp + 8] mov r1, [termX] mov r2, [termY] .backspaceCheck: cmp r0, 8 ; \b jne .xCheck dec r1 cmp r1, 0 jae .backspaceClear .backspaceUpLine: .exp = termSizeX - 1 mov r1, .exp dec r2 cmp r2, 0 jae .backspaceClear xor r1, r1 xor r2, r2 .backspaceClear: mov r3, r2 ; ptr = termAddr + ((y * termSizeX) + x) * 2 mul r3, termSizeX add r3, r1 mul r3, 2 add r3, termAddr mov word [r3], 0 jmp .end .xCheck: cmp r1, termSizeX jb .yCheck xor r1, r1 inc r2 .yCheck: cmp r2, termSizeY jb .newlineCheck invoke termScroll dec r2 .newlineCheck: cmp r0, 10 ; \n jne .write xor r1, r1 inc r2 cmp r2, termSizeY jb .end invoke termScroll dec r2 jmp .end .write: mov r3, r2 ; ptr = termAddr + ((y * termSizeX) + x) * 2 mul r3, termSizeX add r3, r1 mul r3, 2 add r3, termAddr mov byte [r3], r0 mov byte [r3 + 1], 0x0F ; white on black inc r1 .end: mov [termX], r1 mov [termY], r2 .return: pop r3 pop r2 pop r1 pop r0 pop bp retn 4 ; print a string to the terminal ; void printString(byte* str) printString: push bp mov bp, sp push r0 mov r0, [bp + 8] @@: cmp byte [r0], 0 jz .return invoke printChar, byte [r0] inc r0 jmp @b .return: pop r0 pop bp retn 4 ; scroll the terminal up one line ; void scroll() termScroll: push bp mov bp, sp push r0 push r1 push r3 ; workaround for loonyvm.inc bug .src = termAddr + (termSizeX * 2) .dst = termAddr .cnt = termSizeX * (termSizeY - 1) mov r0, .src mov r1, .dst mov r3, .cnt @@: mov word [r1], word [r0] add r0, 2 add r1, 2 dec r3 jnz @b .dst = termAddr + ((termSizeY - 1) * termSizeX * 2) .cnt = termSizeX mov r0, .dst mov r3, .cnt @@: mov word [r0], 0 add r0, 2 dec r3 jnz @b .return: pop r3 pop r1 pop r0 pop bp ret ; clear the terminal ; void clear() termClear: push bp mov bp, sp push r0 push r1 .cnt = termSizeX * termSizeY mov r0, termAddr mov r1, .cnt @@: mov word [r0], 0 add r0, 2 dec r1 jnz @b mov [termX], 0 mov [termY], 0 .return: pop r1 pop r0 pop bp ret termX: dd 0 termY: dd 0 termAddr = 0x60000 termSizeX = 80 termSizeY = 25
14.96
67
0.543163
9408940363f5b2f0861598c141f2ba660d0f1957
672
asm
Assembly
pwnlib/shellcraft/templates/thumb/linux/cat2.asm
tkmikan/pwntools
1238fc359eb72313d3f82849b2effdb7063ab429
[ "MIT" ]
9
2018-07-16T23:18:15.000Z
2019-11-14T10:06:04.000Z
pwnlib/shellcraft/templates/thumb/linux/cat2.asm
tkmikan/pwntools
1238fc359eb72313d3f82849b2effdb7063ab429
[ "MIT" ]
1
2018-10-31T22:03:35.000Z
2018-11-02T20:36:21.000Z
pwnlib/shellcraft/templates/thumb/linux/cat2.asm
tkmikan/pwntools
1238fc359eb72313d3f82849b2effdb7063ab429
[ "MIT" ]
3
2018-10-31T04:34:30.000Z
2021-02-06T00:39:32.000Z
<% from pwnlib import constants from pwnlib.shellcraft import thumb from pwnlib.shellcraft import common %> <%page args="filename, fd=1, length=0x4000"/> <%docstring> Opens a file and writes its contents to the specified file descriptor. Uses an extra stack buffer and must know the length. Example: >>> f = tempfile.mktemp() >>> write(f, 'FLAG\n') >>> run_assembly(shellcraft.arm.to_thumb()+shellcraft.thumb.linux.cat2(f)).recvline() b'FLAG\n' </%docstring> ${thumb.pushstr(filename)} ${thumb.linux.open('sp', constants.O_RDONLY, length)} sub sp, r2 ${thumb.linux.read('r0', 'sp', 'r2')} ${thumb.linux.write(fd, 'sp', 'r0')}
26.88
89
0.668155
9436deb5c72b4a5f958b65678c413508244c4e77
168
asm
Assembly
demo/demo1.asm
karcherm/omfpatch
d2de0dcda150ecae6e2a86c1c7604a10abaf4a87
[ "MIT" ]
2
2022-01-30T20:55:34.000Z
2022-01-30T20:55:37.000Z
demo/demo1.asm
karcherm/omfpatch
d2de0dcda150ecae6e2a86c1c7604a10abaf4a87
[ "MIT" ]
null
null
null
demo/demo1.asm
karcherm/omfpatch
d2de0dcda150ecae6e2a86c1c7604a10abaf4a87
[ "MIT" ]
null
null
null
litest STRUC field1 dw ? field2 db ? litest ENDS SEG1 SEGMENT org 100h db "ZYX" SEG1 ENDS SEG2 SEGMENT litest 3 dup (<3131h,40h>) SEG2 ENDS END
12
31
0.642857
4151d52ccfb64eb810dd4d6428d0392967ce44dc
3,784
asm
Assembly
private/ntos/rtl/i386/nlssup.asm
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/ntos/rtl/i386/nlssup.asm
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/ntos/rtl/i386/nlssup.asm
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
TITLE "String support routines" ;++ ; ; Copyright (c) 1989 Microsoft Corporation ; ; Module Name: ; ; stringsup.asm ; ; Abstract: ; ; This module implements suplimentary routines for performing string ; operations. ; ; Author: ; ; Larry Osterman (larryo) 18-Sep-1991 ; ; Environment: ; ; Any mode. ; ; Revision History: ; ;-- .386p include callconv.inc ; calling convention macros _TEXT SEGMENT DWORD PUBLIC 'CODE' ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING page ,132 subttl "RtlAnsiCharToUnicodeChar" ;++ ; ; WCHAR ;RtlAnsiCharToUnicodeChar( ; IN OUT PCHAR *SourceCharacter ; ) ; ; ; Routine Description: ; ; This function translates the specified ansi character to unicode and ; returns the unicode value. The purpose for this routine is to allow ; for character by character ansi to unicode translation. The ; translation is done with respect to the current system locale ; information. ; ; ; Arguments: ; ; (TOS+4) = SourceCharacter - Supplies a pointer to an ansi character pointer. ; Through two levels of indirection, this supplies an ansi ; character that is to be translated to unicode. After ; translation, the ansi character pointer is modified to point to ; the next character to be converted. This is done to allow for ; dbcs ansi characters. ; ; Return Value: ; ; Returns the unicode equivalent of the specified ansi character. ; ; Note: ; ; This routine will have to be converted to use the proper unicode mapping ; tables. ; ;-- cPublicProc _RtlAnsiCharToUnicodeChar ,1 cPublicFpo 1,2 push esi mov esi, [esp+8] push dword ptr [esi] ; Save the old input string inc dword ptr [esi] ; Bump the input string pop esi ; (ESI) = input string xor eax, eax ; Zero out the EAX register. lodsb ; Grab the first character from string pop esi stdRET _RtlAnsiCharToUnicodeChar stdENDP _RtlAnsiCharToUnicodeChar page subttl "RtlpAnsiPszToUnicodePsz" ;++ ; ; VOID ; RtlpAnsiPszToUnicodePsz( ; IN PCHAR AnsiString, ; IN PWCHAR UnicodeString, ; IN USHORT AnsiStringLength ; ) ; ; ; Routine Description: ; ; This function translates the specified ansi character to unicode and ; returns the unicode value. The purpose for this routine is to allow ; for character by character ansi to unicode translation. The ; translation is done with respect to the current system locale ; information. ; ; ; Arguments: ; ; (ESP+4) = AnsiString - Supplies a pointer to the ANSI string to convert to unicode. ; (ESP+8) = UnicodeString - Supplies a pointer to a buffer to hold the unicode string ; (ESP+12) = AnsiStringLength - Supplies the length of the ANSI string. ; ; Return Value: ; ; None. ; ; ; Note: ; ; This routine will have to be converted to use the proper unicode mapping ; tables. ;-- cPublicProc _RtlpAnsiPszToUnicodePsz ,3 cPublicFpo 3,2 push esi push edi xor ecx, ecx mov cx, [esp]+12+8 jecxz raptup9 mov esi, [esp]+4+8 mov edi, [esp]+8+8 xor ah, ah @@: lodsb stosw loop @b xor eax, eax stosw ; Don't forget to stick the null at end raptup9:pop edi pop esi stdRET _RtlpAnsiPszToUnicodePsz stdENDP _RtlpAnsiPszToUnicodePsz _TEXT ends end
25.741497
89
0.606501
d068901f4b68edb986c1d466f85d207afe744bcd
1,425
asm
Assembly
programs/oeis/158/A158123.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/158/A158123.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/158/A158123.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A158123: a(n) = 81*n + 1. ; 82,163,244,325,406,487,568,649,730,811,892,973,1054,1135,1216,1297,1378,1459,1540,1621,1702,1783,1864,1945,2026,2107,2188,2269,2350,2431,2512,2593,2674,2755,2836,2917,2998,3079,3160,3241,3322,3403,3484,3565,3646,3727,3808,3889,3970,4051,4132,4213,4294,4375,4456,4537,4618,4699,4780,4861,4942,5023,5104,5185,5266,5347,5428,5509,5590,5671,5752,5833,5914,5995,6076,6157,6238,6319,6400,6481,6562,6643,6724,6805,6886,6967,7048,7129,7210,7291,7372,7453,7534,7615,7696,7777,7858,7939,8020,8101,8182,8263,8344,8425,8506,8587,8668,8749,8830,8911,8992,9073,9154,9235,9316,9397,9478,9559,9640,9721,9802,9883,9964,10045,10126,10207,10288,10369,10450,10531,10612,10693,10774,10855,10936,11017,11098,11179,11260,11341,11422,11503,11584,11665,11746,11827,11908,11989,12070,12151,12232,12313,12394,12475,12556,12637,12718,12799,12880,12961,13042,13123,13204,13285,13366,13447,13528,13609,13690,13771,13852,13933,14014,14095,14176,14257,14338,14419,14500,14581,14662,14743,14824,14905,14986,15067,15148,15229,15310,15391,15472,15553,15634,15715,15796,15877,15958,16039,16120,16201,16282,16363,16444,16525,16606,16687,16768,16849,16930,17011,17092,17173,17254,17335,17416,17497,17578,17659,17740,17821,17902,17983,18064,18145,18226,18307,18388,18469,18550,18631,18712,18793,18874,18955,19036,19117,19198,19279,19360,19441,19522,19603,19684,19765,19846,19927,20008,20089,20170,20251 mov $1,$0 mul $1,81 add $1,82
203.571429
1,365
0.802807
ceb36b25778b791d4fb08f9d9e96de9c5e378581
666
asm
Assembly
libsrc/_DEVELOPMENT/l/z80/ascii/num_to_txt/small/l_small_utob.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/l/z80/ascii/num_to_txt/small/l_small_utob.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/l/z80/ascii/num_to_txt/small/l_small_utob.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_l PUBLIC l_small_utob l_small_utob: ; write unsigned binary number to ascii buffer ; ; enter : hl = unsigned integer ; de = char *buffer ; carry set to write leading zeroes ; ; exit : de = char *buffer (one byte past last char written) ; carry set if in write loop ; ; uses : af, b, de, hl ld b,16 jr c, leading_zeroes no_leading_zeroes: add hl,hl jr c, write djnz no_leading_zeroes ld a,'0' ld (de),a inc de ret leading_zeroes: add hl,hl write: ld a,'0' adc a,0 ld (de),a inc de djnz leading_zeroes scf ret
13.058824
64
0.567568