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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
38395da4d9a6539348ea5d6007128bbee567b842 | 64 | asm | Assembly | fluidcore/samples/ice-v4.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 4d336dec9d7abc979a97af76d515104a9263f127 | [
"BSD-3-Clause"
] | 59 | 2015-02-28T14:15:56.000Z | 2022-03-26T12:06:01.000Z | fluidcore/samples/ice-v4.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 4d336dec9d7abc979a97af76d515104a9263f127 | [
"BSD-3-Clause"
] | 1 | 2016-08-22T05:32:43.000Z | 2016-08-22T09:33:28.000Z | fluidcore/samples/ice-v4.asm | bushy555/ZX-Spectrum-1-Bit-Routines | 4d336dec9d7abc979a97af76d515104a9263f127 | [
"BSD-3-Clause"
] | 9 | 2015-02-28T14:16:31.000Z | 2022-01-18T17:52:48.000Z |
ds 48
ds 16,1
ds 48
ds 16,2
ds 48
ds 16,3
ds 48
ds 16,4 | 7.111111 | 8 | 0.5625 |
b74bd03ac65cce8ea88b944450e5a925e02565b1 | 470 | asm | Assembly | oeis/007/A007706.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/007/A007706.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/007/A007706.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A007706: a(n) = 1 + coefficient of x^n in Product_{k>=1} (1-x^k) (essentially the expansion of the Dedekind function eta(x)).
; Submitted by Jon Maiga
; 2,0,0,1,1,2,1,2,1,1,1,1,0,1,1,0,1,1,1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1
seq $0,116916 ; Expansion of q^(-1/8) * (eta(q)^3 + 3 * eta(q^9)^3) in powers of q^3.
mod $0,3
dif $0,-2
add $0,1
| 52.222222 | 201 | 0.574468 |
91a7423ec728c19b187c6a858f9a7107e28c8307 | 415 | asm | Assembly | programs/oeis/129/A129527.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/129/A129527.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/129/A129527.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A129527: a(2n) = a(n) + 2n, a(2n+1) = 2n + 1.
; 0,1,3,3,7,5,9,7,15,9,15,11,21,13,21,15,31,17,27,19,35,21,33,23,45,25,39,27,49,29,45,31,63,33,51,35,63,37,57,39,75,41,63,43,77,45,69,47,93,49,75,51,91,53,81,55,105,57,87,59,105,61,93,63,127,65,99,67,119,69,105,71,135,73,111,75,133,77,117,79,155,81,123,83,147,85,129,87,165,89,135,91,161,93,141,95,189,97,147,99
lpb $0
add $1,$0
dif $0,2
lpe
add $1,$0
mov $0,$1
| 41.5 | 311 | 0.621687 |
48a28c892888d6ca3a4f436b6ed3c69ffa734d7f | 1,620 | asm | Assembly | tmp_store_can_del/WindowsPwn.asm | zk2013/newborn | 57d12f1fb6df88a81e67d64ba1f01213a3aa6206 | [
"MIT"
] | null | null | null | tmp_store_can_del/WindowsPwn.asm | zk2013/newborn | 57d12f1fb6df88a81e67d64ba1f01213a3aa6206 | [
"MIT"
] | null | null | null | tmp_store_can_del/WindowsPwn.asm | zk2013/newborn | 57d12f1fb6df88a81e67d64ba1f01213a3aa6206 | [
"MIT"
] | null | null | null |
; Windows pwning module
; Boot Application of Stoned Bootkit
; Version 0.1 from 18.06.2009 11:12
; (C) 2009 Peter Kleissner
[bits 16] ; create a 16 Bit Code
CPU 386 ; Assemble instructions up to the 386 instruction set
%include "Module Functions.asm"
%include "Kernel Storage.asm"
%include "Errors.asm"
; small header
jmp Exeute_Windows_Bootkit ; entry point
dd Driver_Loading_Table ; symbol @Driver_Loading_Table
Exeute_Windows_Bootkit:
; Bootkit Real Mode Relocates code to end of memory (4 KB)
; Hooks Interrupt 13h
; Patches ntldr code integrity verification
; Hooks OSLOADER (XP)
; Hooks bootmgr (Vista)
; Bootkit Protected Mode Hooks OSLOADER (Vista)
; Patches winload.exe ntoskrnl image verification (Vista)
; Hooks ntoskrnl
; Relocates the code to ntoskrnl image
; Kernel Code Gets ntoskrnl base and PsLoadedModuleList, resolves own imports
; Driver Code Loads, relocates, resolves, executes all drivers in the list
; PE Loader Responsible for relocating and resolving
; Subsystem The Stoned subsystem installed into Windows
%include "Bootkit Real Mode.asm"
%include "Bootkit Protected Mode.asm"
%include "Kernel Code.asm"
%include "Driver Code.asm"
%include "PE Loader.asm"
%include "Subsystem.asm"
Total_End_of_Binary:
| 33.061224 | 101 | 0.598765 |
3f5e98dc0899651c89589e59e8aed2df3f24ba7e | 1,507 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_div2.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_div2.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_div2.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | ;
; feilipu, 2020 June
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
;-------------------------------------------------------------------------
; asm_f16_div2 - z80, z180, z80n floating point divide by 2
;-------------------------------------------------------------------------
;
; Division by 2 is decrementing the exponent. An easy optimisation.
;
;-------------------------------------------------------------------------
SECTION code_fp_math16
PUBLIC asm_f16_div2
.asm_f16_div2
ld a,$7c ; isolate exponent
and h ; get exponent in a
jr Z,zero_legal ; return IEEE zero
ld a,h ; load exponent
sub 00000100b ; divide by 2
ld h,a
and $7c
jr Z,zero_underflow ; capture underflow zero
ret ; return IEEE DEHL
.zero_legal
rl h ; put sign in C
ld h,a ; use 0
ld l,a
rr h ; restore the sign
ret ; return IEEE signed ZERO in DEHL
.zero_underflow
rl h ; put sign in C
ld h,a ; use 0
ld l,a
rr h ; restore the sign
scf
ret ; return IEEE signed ZERO in DEHL
| 32.76087 | 74 | 0.427339 |
c5839a193df363b3a1dd6f5f1c7d25cc08031834 | 626 | asm | Assembly | _maps/obj15slz.asm | vladjester2020/Sonic1TMR | 22e749a2aab74cc725729e476d6252b071c12e42 | [
"Apache-2.0"
] | null | null | null | _maps/obj15slz.asm | vladjester2020/Sonic1TMR | 22e749a2aab74cc725729e476d6252b071c12e42 | [
"Apache-2.0"
] | 2 | 2019-06-13T14:26:59.000Z | 2019-10-10T13:15:14.000Z | _maps/obj15slz.asm | vladjester2020/Sonic1TMR | 22e749a2aab74cc725729e476d6252b071c12e42 | [
"Apache-2.0"
] | null | null | null | ; ---------------------------------------------------------------------------
; Sprite mappings - SLZ swinging platforms
; ---------------------------------------------------------------------------
dc.w byte_7C6C-Map_obj15a
dc.w byte_7C95-Map_obj15a
dc.w byte_7C9B-Map_obj15a
byte_7C6C: dc.b 8
dc.b $F0, $F, 0, 4, $E0
dc.b $F0, $F, 8, 4, 0
dc.b $F0, 5, 0, $14, $D0
dc.b $F0, 5, 8, $14, $20
dc.b $10, 4, 0, $18, $E0
dc.b $10, 4, 8, $18, $10
dc.b $10, 1, 0, $1A, $F8
dc.b $10, 1, 8, $1A, 0
byte_7C95: dc.b 1
dc.b $F8, 5, $40, 0, $F8
byte_7C9B: dc.b 1
dc.b $F8, 5, 0, $1C, $F8
even | 31.3 | 78 | 0.397764 |
0c13a0647e0232f71c0fb754ad96400fa7157362 | 800 | asm | Assembly | oeis/175/A175753.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/175/A175753.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/175/A175753.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A175753: Numbers with 46 divisors.
; Submitted by Jon Maiga
; 12582912,20971520,29360128,46137344,54525952,71303168,79691776,96468992,121634816,130023424,155189248,171966464,180355072,197132288,222298112,247463936,255852544,281018368,297795584,306184192,331350016,348127232,373293056,406847488,423624704,432013312,448790528,457179136,473956352,532676608,549453824,574619648,583008256,624951296,633339904,658505728,683671552,700448768,725614592,750780416,759169024,801112064,809500672,826277888,834666496,884998144,935329792,952107008,960495616,977272832
mov $1,2
mov $2,$0
pow $2,2
lpb $2
mov $3,$1
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,2
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
sub $2,1
lpe
add $1,1
mov $0,$1
mul $0,4194304
| 36.363636 | 493 | 0.78375 |
c8e6e16f5c83c9b16b7f8a18cef5254a47fb7ce5 | 217 | asm | Assembly | data/mapHeaders/ssanne9.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/mapHeaders/ssanne9.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/mapHeaders/ssanne9.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | SSAnne9_h:
db SHIP ; tileset
db SS_ANNE_9_HEIGHT, SS_ANNE_9_WIDTH ; dimensions (y, x)
dw SSAnne9Blocks, SSAnne9TextPointers, SSAnne9Script ; blocks, texts, scripts
db $00 ; connections
dw SSAnne9Object ; objects
| 31 | 78 | 0.778802 |
d7b8d349aff51f3db4e1ab8afe35e72ea99caaad | 2,760 | asm | Assembly | src/songload.asm | furrtek/GB303 | 2f275fff085b05fdc7843074dcc062956a1d8d56 | [
"CC-BY-4.0"
] | 90 | 2015-06-19T14:26:19.000Z | 2022-01-05T08:19:41.000Z | src/songload.asm | furrtek/GB303 | 2f275fff085b05fdc7843074dcc062956a1d8d56 | [
"CC-BY-4.0"
] | 2 | 2015-06-21T20:55:40.000Z | 2022-02-09T08:02:04.000Z | src/songload.asm | furrtek/GB303 | 2f275fff085b05fdc7843074dcc062956a1d8d56 | [
"CC-BY-4.0"
] | 10 | 2015-06-21T20:43:11.000Z | 2020-12-08T13:24:16.000Z | loadsong:
ld a,(HWOK_EE)
or a
ret z ;No EE operation if EE boot check failed
ld a,(SAVECURSONGSLOT)
cp MAX_SONGS
ret nc ;Sanity check
ld b,a
sla a
add b ;*3
ld h,0 ;*64
ld l,a
add hl,hl
add hl,hl
add hl,hl
add hl,hl
add hl,hl
add hl,hl
ld a,l
ld (EEWRADDRL),a
ld a,h
add $33 ;Start at $3300
ld (EEWRADDRM),a
call readts
ld c,$00
call spicom
ld a,$08 ; CS high
ld ($2000),a
nop
ld a,d
cp e
jr z,+
;Bad checksum: whatever, go on, defaults will be restored if needed...
ret
ld a,(TEMPSECTOR)
or a
ret z ;Blank song, don't load
+:
ld b,8
ld hl,SONGNAME
ld de,TEMPSECTOR+1
-:
ld a,(de)
ldi (hl),a
inc de
dec b
jr nz,-
ld a,$FF ;Security
ld (SONGNAME+8),a
ld hl,sngparams
ld de,TEMPSECTOR+$0B
-:
ldi a,(hl)
or (hl)
jr z,+
ldd a,(hl) ;BC is pointer to variable
ld c,(hl)
ld b,a
ld a,(de) ;Get EE value
inc hl
inc hl
cp (hl)
jr c,++ ;<
jr z,++ ;=
inc hl
ld a,(hl) ;OOB: Restore default
jr +++
++:
inc hl
+++:
inc hl
ld (bc),a
inc de
jr -
+:
ld b,39
ld hl,SONG
ld de,TEMPSECTOR+$17
-:
ld a,(de)
ldi (hl),a
inc de
dec b
jr nz,-
ld a,(EEWRADDRL)
add $40
ld (EEWRADDRL),a
jr nc,+
ld hl,EEWRADDRM
inc (hl)
+:
call readts
ld c,$00
call spicom
ld a,$08 ; CS high
ld ($2000),a
nop
ld a,d
cp e
jr z,+
;Bad checksum:
ret
+:
ld b,63
ld hl,SONG+39
ld de,TEMPSECTOR
-:
ld a,(de)
ldi (hl),a
inc de
dec b
jr nz,-
ld a,(EEWRADDRL)
add $40
ld (EEWRADDRL),a
jr nc,+
ld hl,EEWRADDRM
inc (hl)
+:
call readts
ld c,$00
call spicom
ld a,$08 ; CS high
ld ($2000),a
nop
ld a,d
cp e
jr z,+
;Bad checksum:
ret
+:
ld b,58
ld hl,SONG+102
ld de,TEMPSECTOR
-:
ld a,(de)
ldi (hl),a
inc de
dec b
jr nz,-
ld a,(SAVECURSONGSLOT)
ld (CURSONG),a
xor a
ld (SONGPTR),a
ld hl,SONG
rst 0
cp $FF
jr z,+
ld (SAVECURPATTSLOT),a
call loadpattern
+:
call setstereo
ld a,(CURSCREEN)
cp 6
call z,setscreen
ret
| 14.603175 | 73 | 0.416304 |
7bf51ee261fb87a7dbfdca9f576ab8f06f41a769 | 3,700 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_33.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_33.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_33.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 %r10
push %r11
push %r8
push %rdi
push %rsi
// Faulty Load
lea addresses_RW+0x1d4e7, %rsi
nop
nop
sub $14921, %r8
movups (%rsi), %xmm4
vpextrq $0, %xmm4, %rdi
lea oracles, %r10
and $0xff, %rdi
shlq $12, %rdi
mov (%r10,%rdi,1), %rdi
pop %rsi
pop %rdi
pop %r8
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'NT': True, 'AVXalign': False, 'size': 1, 'type': 'addresses_RW', 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_RW', 'congruent': 0}}
<gen_prepare_buffer>
{'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
*/
| 90.243902 | 2,999 | 0.663514 |
e9cd1d14515d8a9bb480d5869dd00fc556ef7376 | 582 | asm | Assembly | oeis/034/A034267.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/034/A034267.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/034/A034267.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A034267: a(n)=f(n,n) where f is given in A034261.
; Submitted by Jamie Morken(s4)
; 0,1,7,39,196,930,4257,19019,83512,361998,1553630,6615686,27992472,117823940,493768485,2061580275,8580127920,35611376790,147447066690,609200868210,2512267906200,10342848445020,42516521451690,174535009040574
mov $3,2
mov $5,$0
lpb $3
sub $3,2
mov $6,$0
mov $8,2
lpb $8
sub $8,1
add $0,$8
mov $4,$0
sub $0,1
mov $2,$8
mul $4,2
bin $4,$0
mul $2,$4
add $7,$2
lpe
mul $4,2
min $6,1
mul $6,$4
mov $4,$7
sub $4,$6
lpe
mul $5,$4
mov $0,$5
div $0,2
| 18.774194 | 207 | 0.62543 |
87ede0a81b5216f1431852ae5d1d3811148d6dd0 | 149 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n1/mn_hp_smsnd.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n1/mn_hp_smsnd.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/srd13-SFCマリオコレクション/export/mario-z/linkp/mario_n1/mn_hp_smsnd.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: mn_hp_smsnd.asm
Type: file
Size: 23400
Last-Modified: '1993-08-24T11:34:58Z'
SHA-1: 27C8243297853D12CC2928CCBEACB5D919309A46
Description: null
| 21.285714 | 47 | 0.818792 |
efc4d3ee154f36bfd9aa4d546112b388b1fdb1b2 | 145 | asm | Assembly | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_int0.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_int0.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | other.7z/SFC.7z/SFC/ソースデータ/ゼルダの伝説神々のトライフォース/ドイツ_PAL/Ger_asm/zel_int0.asm | prismotizm/gigaleak | d082854866186a05fec4e2fdf1def0199e7f3098 | [
"MIT"
] | null | null | null | Name: zel_int0.asm
Type: file
Size: 4885
Last-Modified: '2016-05-13T04:23:03Z'
SHA-1: 7031428F1ACB38EBB510BACB6EA1CAADF3A30B42
Description: null
| 20.714286 | 47 | 0.813793 |
22e70032f7368b5cf67b18362cc0d77447a5cd94 | 801 | asm | Assembly | oeis/142/A142789.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/142/A142789.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/142/A142789.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A142789: Primes congruent to 19 mod 60.
; Submitted by Jon Maiga
; 19,79,139,199,379,439,499,619,739,859,919,1039,1279,1399,1459,1579,1699,1759,1879,1999,2179,2239,2539,2659,2719,3019,3079,3259,3319,3499,3559,3739,3919,4099,4159,4219,4339,4519,4639,4759,4999,5059,5119,5179,5419,5479,5659,5779,5839,6079,6199,6379,6619,6679,7039,7159,7219,7459,7639,7699,7759,7879,8059,8179,8419,8539,8599,8719,8779,8839,9199,9319,9439,9619,9679,9739,9859,10039,10099,10159,10399,10459,10639,10939,11059,11119,11239,11299,11719,11779,11839,11959,12379,12619,12739,12799,12919,12979
mov $2,$0
pow $2,2
lpb $2
mov $3,$4
add $3,18
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
mov $1,$0
max $1,0
cmp $1,$0
mul $2,$1
sub $2,1
add $4,60
lpe
mov $0,$4
add $0,19
| 38.142857 | 499 | 0.724095 |
9dcd7ce709d3d3bd41e5db960607197540838276 | 2,092 | asm | Assembly | PRG/levels/Desert/2-F.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | PRG/levels/Desert/2-F.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | PRG/levels/Desert/2-F.asm | narfman0/smb3_pp1 | 38a58adafff67a403591e38875e9fae943a5fe76 | [
"Unlicense"
] | null | null | null | ; Original address was $BABA
; World 2 fortress
.word W20F_AltL ; Alternate level layout
.word W20F_AltO ; Alternate object layout
.byte LEVEL1_SIZE_12 | LEVEL1_YSTART_140
.byte LEVEL2_BGPAL_02 | LEVEL2_OBJPAL_11 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_09 | LEVEL3_VSCROLL_LOCKED | LEVEL3_PIPENOTEXIT
.byte LEVEL4_BGBANK_INDEX(9) | LEVEL4_INITACT_NOTHING
.byte LEVEL5_BGM_FORTRESS | LEVEL5_TIME_300
.byte $0F, $00, $7F, $16, $00, $61, $17, $00, $62, $18, $00, $63, $19, $00, $64, $1A
.byte $00, $6F, $11, $1D, $60, $12, $1D, $60, $19, $1E, $61, $11, $21, $60, $12, $21
.byte $60, $17, $2D, $62, $18, $2C, $63, $19, $2B, $64, $1A, $20, $6F, $11, $3B, $60
.byte $12, $3B, $60, $11, $3F, $60, $12, $3F, $60, $18, $3D, $60, $19, $3D, $60, $01
.byte $3E, $73, $05, $3E, $73, $09, $3E, $73, $0D, $3E, $73, $1A, $40, $6F, $00, $40
.byte $6F, $03, $40, $72, $03, $4C, $60, $04, $4C, $60, $07, $40, $72, $07, $4C, $60
.byte $08, $4C, $60, $0B, $40, $72, $0B, $4C, $60, $0C, $4C, $60, $0F, $40, $72, $0F
.byte $4C, $60, $10, $4C, $60, $17, $4C, $61, $18, $4A, $62, $19, $48, $63, $49, $4E
.byte $FA, $0B, $50, $98, $0F, $50, $90, $13, $50, $90, $17, $50, $90, $01, $5E, $60
.byte $02, $5E, $60, $07, $59, $60, $09, $58, $60, $0A, $57, $60, $28, $5E, $44, $6A
.byte $59, $3F, $00, $60, $6F, $01, $62, $60, $02, $62, $60, $09, $68, $6F, $0A, $69
.byte $6F, $27, $67, $40, $27, $68, $07, $01, $74, $60, $02, $74, $60, $01, $78, $61
.byte $02, $78, $60, $03, $78, $60, $01, $7C, $73, $03, $7C, $60, $04, $7C, $60, $00
.byte $80, $66, $01, $8C, $60, $02, $8C, $60, $03, $80, $70, $03, $84, $60, $04, $84
.byte $60, $03, $88, $60, $04, $88, $60, $03, $8A, $70, $05, $80, $62, $06, $80, $61
.byte $09, $88, $62, $0A, $89, $66, $00, $8E, $71, $02, $8E, $71, $04, $8E, $71, $06
.byte $8E, $71, $08, $8E, $71, $07, $8D, $0B, $E8, $68, $20, $0F, $93, $90, $13, $93
.byte $90, $17, $93, $90, $0F, $9B, $69, $1A, $9B, $69, $10, $9B, $62, $11, $9B, $62
.byte $12, $9B, $62, $13, $9B, $62, $14, $9B, $62, $15, $9B, $62, $16, $9B, $62, $0F
.byte $AF, $90, $13, $AF, $90, $17, $AF, $90, $FF
| 67.483871 | 85 | 0.496654 |
8ab80cb6865544c57321810be86b428f9c2e9831 | 377 | asm | Assembly | Problems_Source/Vx/CTF_Testing/Test.asm | Jumboperson/LasaCTF-Binary | 27155b29b2b91ed76b93c14be887d129e02efcfc | [
"MIT"
] | 1 | 2016-03-26T21:03:10.000Z | 2016-03-26T21:03:10.000Z | Problems_Source/Vx/CTF_Testing/Test.asm | Jumboperson/LasaCTF-Binary | 27155b29b2b91ed76b93c14be887d129e02efcfc | [
"MIT"
] | null | null | null | Problems_Source/Vx/CTF_Testing/Test.asm | Jumboperson/LasaCTF-Binary | 27155b29b2b91ed76b93c14be887d129e02efcfc | [
"MIT"
] | null | null | null | .586 ; Target processor. Use instructions for Pentium class machines
.model flat, C ; Use the flat memory model. Use C calling conventions
.stack ; Define a stack segment of 1KB (Not required for this example)
.data ; Create a near data segment. Local variables are declared after
.code
Tester proc
mov eax, 5
retn
Tester endp
end
| 26.928571 | 83 | 0.681698 |
a692b1f072b2cf0c7c79271a03afbd0605b2e6e7 | 387 | asm | Assembly | oeis/154/A154699.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/154/A154699.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/154/A154699.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A154699: Terms in A014217 pairwise swapped.
; Submitted by Jamie Morken(s2)
; 1,1,4,2,11,6,29,17,76,46,199,122,521,321,1364,842,3571,2206,9349,5777,24476,15126,64079,39602,167761,103681,439204,271442,1149851,710646,3010349,1860497,7881196,4870846,20633239,12752042
mov $1,2
mov $2,1
lpb $0
sub $0,2
add $1,$2
add $2,$1
lpe
lpb $0
bin $0,3
mov $2,$1
sub $2,1
lpe
mov $0,$2
| 21.5 | 188 | 0.697674 |
f41af7876378ebc0e15b01512e30a76ee7672757 | 297 | asm | Assembly | programs/oeis/146/A146528.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/146/A146528.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/146/A146528.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A146528: a(0) = 4; for n >= 1, a(n) = 2^n + 4.
; 4,6,8,12,20,36,68,132,260,516,1028,2052,4100,8196,16388,32772,65540,131076,262148,524292,1048580,2097156,4194308,8388612,16777220,33554436,67108868,134217732,268435460,536870916,1073741828
mov $1,2
pow $1,$0
div $1,2
mul $1,2
add $1,4
mov $0,$1
| 29.7 | 190 | 0.700337 |
e4bcf59bf1274192fbe09c252cc8fc62d19e5d09 | 153 | asm | Assembly | bootloader/bit16/detect_sse2.asm | mstniy/cerius | ac8a0e3e68243f3e38b2a259e7a7b6f87e6787e3 | [
"MIT"
] | 2 | 2018-01-28T19:04:56.000Z | 2018-12-12T20:59:40.000Z | bootloader/bit16/detect_sse2.asm | mstniy/cerius | ac8a0e3e68243f3e38b2a259e7a7b6f87e6787e3 | [
"MIT"
] | null | null | null | bootloader/bit16/detect_sse2.asm | mstniy/cerius | ac8a0e3e68243f3e38b2a259e7a7b6f87e6787e3 | [
"MIT"
] | null | null | null | [BITS 16]
detect_sse2:
mov eax, 1
cpuid
and edx, 1<<26
test edx, edx
jz .fail
mov eax, 1
ret
.fail:
xor eax, eax
ret | 10.2 | 17 | 0.522876 |
4b2c9a33cd89b756f6f61902d0b85f7f166035ac | 618 | asm | Assembly | oeis/100/A100399.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/100/A100399.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/100/A100399.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A100399: a(n) = Fibonacci(n)^n.
; 1,1,1,8,81,3125,262144,62748517,37822859361,60716992766464,253295162119140625,2775173073766990340489,79496847203390844133441536,5965226978431093156430190442313,1171598758708107367475386427203165009,602486784535040403801858901000000000000000,811100077157797672611322382168465170618411067841,2858798689563709679748926126255130766711584967600551037,26379415460312088922430985659523131554080251243641595175632896,637269573377946112392642931630455370108284633845873289697136726427821
mov $1,$0
seq $0,45 ; Fibonacci numbers: F(n) = F(n-1) + F(n-2) with F(0) = 0 and F(1) = 1.
pow $0,$1
| 88.285714 | 480 | 0.860841 |
a89d058b2ffb03eb8753cc0b5666713bd17bdb42 | 138 | asm | Assembly | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_floor.asm | dikdom/z88dk | 40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0 | [
"ClArtistic"
] | 1 | 2022-03-08T11:55:58.000Z | 2022-03-08T11:55:58.000Z | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_floor.asm | dikdom/z88dk | 40c55771062b0ea9bb2f0d5b73e2f754fc12b6b0 | [
"ClArtistic"
] | 2 | 2022-03-20T22:17:35.000Z | 2022-03-24T16:10:00.000Z | libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_floor.asm | jorgegv/z88dk | 127130cf11f9ff268ba53e308138b12d2b9be90a | [
"ClArtistic"
] | null | null | null |
SECTION code_fp_am9511
PUBLIC cam32_sccz80_floor
EXTERN asm_am9511_floor_fastcall
defc cam32_sccz80_floor = asm_am9511_floor_fastcall
| 15.333333 | 51 | 0.891304 |
ba918726314d1d95412a666d8427c5cebe02fd20 | 14,977 | asm | Assembly | source_cpc/Source/EG_Sprites_Laser.asm | kieranhj/edge-beeb | 8af058259c91bdf8a0dfabd938cf9ce988b5274c | [
"MIT"
] | null | null | null | source_cpc/Source/EG_Sprites_Laser.asm | kieranhj/edge-beeb | 8af058259c91bdf8a0dfabd938cf9ce988b5274c | [
"MIT"
] | null | null | null | source_cpc/Source/EG_Sprites_Laser.asm | kieranhj/edge-beeb | 8af058259c91bdf8a0dfabd938cf9ce988b5274c | [
"MIT"
] | null | null | null | .LaserFrame0
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld e,(ix+0)
; inc ixl
; ld d,(ix+0)
; inc ixl
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),8
; res 3,h
; ld (hl),0
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
inc hl
set 3,h
ld (hl),8
res 3,h
ld (hl),134
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld l,(ix+0)
inc ixl
; ld h,(ix+0)
inc ixl
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 0,0,0,192,0,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),192
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),128
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),8
; res 3,h
; ld (hl),0
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
inc hl
set 3,h
ld (hl),8
res 3,h
ld (hl),134
jp (iy)
.LaserFrame5
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld l,(ix+0)
inc ixl
; ld h,(ix+0)
inc ixl
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 0,0,0,192,0,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),192
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),128
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
jp (iy)
.LaserFrame4
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld l,(ix+0)
inc ixl
; ld h,(ix+0)
inc ixl
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 0,0,0,192,0,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),192
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),128
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),73
jp (iy)
.LaserFrame3
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld l,(ix+0)
inc ixl
; ld h,(ix+0)
inc ixl
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
inc hl
set 3,h
ld (hl),194
res 3,h
ld (hl),128
; defb 0,0,0,192,0,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),192
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),128
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),64
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
inc hl
set 3,h
ld (hl),64
res 3,h
ld (hl),148
jp (iy)
.LaserFrame2
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld l,(ix+0)
inc ixl
; ld h,(ix+0)
inc ixl
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
res 3,h
; ld (hl),0
inc hl
set 3,h
ld (hl),44
res 3,h
ld (hl),192
; defb 0,0,0,192,0,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
; ld (hl),0
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),192
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
inc hl
set 3,h
; ld (hl),0
res 3,h
ld (hl),148
jp (iy)
.LaserFrame1
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
; defb 0,0,0,0,0,0,0,0,0,0,0,0
; ld l,(ix+0)
inc ixl
; ld h,(ix+0)
inc ixl
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
; defb 192,0,44,192,194,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
ld (hl),192
; defb 0,0,0,192,0,128,0,0,0,0,0,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; defb 0,0,0,0,64,0,44,0,44,0,8,0
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
; defb 0,64,0,148,64,148,44,73,44,73,8,134
ld l,(ix+0)
inc ixl
ld h,(ix+0)
inc ixl
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
res 3,h
inc hl
set 3,h
;
; ld (hl),0
res 3,h
ld (hl),64
jp (iy)
| 12.575147 | 45 | 0.426921 |
a385064d6c9ca00dc28eb53a57e2dce905198e46 | 1,297 | asm | Assembly | misc/sram.asm | daid/rgbds-by-example | 77c9547c2c3485bc0c3985beb0e8d67852edcece | [
"Unlicense"
] | 11 | 2020-09-16T10:44:29.000Z | 2022-02-02T15:04:47.000Z | misc/sram.asm | daid/rgbds-by-example | 77c9547c2c3485bc0c3985beb0e8d67852edcece | [
"Unlicense"
] | null | null | null | misc/sram.asm | daid/rgbds-by-example | 77c9547c2c3485bc0c3985beb0e8d67852edcece | [
"Unlicense"
] | 1 | 2020-09-16T10:44:33.000Z | 2020-09-16T10:44:33.000Z | INCLUDE "hardware.inc"
SECTION "sram", SRAM
; Create a 1 byte variable
sByteVariable::
ds 1
; Create a 2 byte variable
sWordVariable::
ds 2
; Create a 16 byte buffer
sBuffer::
ds 16
.end::
SECTION "entry", ROM0[$100]
jp start
SECTION "cart_type", ROM0[$147]
db CART_ROM_MBC5_RAM_BAT
SECTION "cart_sram_size", ROM0[$149]
db CART_RAM_64K
SECTION "main", ROM0[$150]
start:
; Enable SRAM read/write access
ld a, CART_RAM_ENABLE
ld [$0000], a
; Store 100 in wByteVariable
ld a, 100
ld [sByteVariable], a
; Store 1000 in wWordVariable
ld a, HIGH(1000)
ld [sWordVariable+0], a
ld a, LOW(1000)
ld [sWordVariable+1], a
; Clear wBuffer
ld hl, sBuffer
xor a
ld c, sBuffer.end - sBuffer
clearBufferLoop:
ld [hl+], a
dec c
jr nz, clearBufferLoop
; Read wByteVariable into a
ld a, [sByteVariable]
ld b, a
; Read wWordVariable into de
ld hl, sWordVariable
ld d, [hl]
inc hl
ld e, [hl]
; Disable SRAM read/write access, this disables writing to it by mistake, as well as some power
ld a, CART_RAM_DISABLE
ld [$0000], a
; Check the sram to see the values written to memory
; See a = $64, which is 100 in hex
; See de = $03e8, which is 1000 in hex
haltLoop:
halt
jr haltLoop
| 18.013889 | 97 | 0.652274 |
0d52ab53773f1deeb0c27a138139306823299bd4 | 588 | asm | Assembly | programs/oeis/184/A184518.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/184/A184518.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/184/A184518.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A184518: Lower s-Wythoff sequence, where s=4n-3. Complement of A184519.
; 1,3,4,5,6,7,9,10,11,12,14,15,16,17,19,20,21,22,24,25,26,27,29,30,31,32,33,35,36,37,38,40,41,42,43,45,46,47,48,50,51,52,53,54,56,57,58,59,61,62,63,64,66,67,68,69,71,72,73,74,75,77,78,79,80,82,83,84,85,87,88,89,90,92,93,94,95,96,98,99,100,101,103,104,105,106,108,109,110,111,113,114,115,116,117,119,120,121,122,124,125,126,127,129,130,131,132,134,135,136,137,139,140,141,142,143,145,146,147,148
mul $0,2
cal $0,184516 ; Lower s-Wythoff sequence, where s=4n-2. Complement of A184517.
mov $1,$0
div $1,2
add $1,1
| 65.333333 | 394 | 0.693878 |
10213175784160764858a6a692eab7aab7499a78 | 314 | asm | Assembly | Tests/mem_dep.asm | tim-roderick/simple-cpu-simulator | 334baf1934751527b7e5ffa0ad85d5e53e7215a1 | [
"MIT"
] | 2 | 2019-12-09T12:02:50.000Z | 2019-12-09T22:40:01.000Z | Tests/mem_dep.asm | tim-roderick/simple-cpu-simulator | 334baf1934751527b7e5ffa0ad85d5e53e7215a1 | [
"MIT"
] | null | null | null | Tests/mem_dep.asm | tim-roderick/simple-cpu-simulator | 334baf1934751527b7e5ffa0ad85d5e53e7215a1 | [
"MIT"
] | 1 | 2020-05-04T09:13:50.000Z | 2020-05-04T09:13:50.000Z | LDC r2 10
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
ADD r1 r2 1
SUB r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
MUL r1 r2 1
STC 1 10
LD r11 1 0
SUB r1 r2 1
ST 0 r1 0
LD r10 0 0 | 11.62963 | 11 | 0.665605 |
97d38611e9e6f15e622c8115707d63a7dc6a0c4f | 1,683 | asm | Assembly | base/common/memset.asm | zbyti/Mad-Pascal | 546cae9724828f93047080109488be7d0d07d47e | [
"MIT"
] | 1 | 2021-12-15T23:47:19.000Z | 2021-12-15T23:47:19.000Z | base/common/memset.asm | michalkolodziejski/Mad-Pascal | 0a7a1e2f379e50b0a23878b0d881ff3407269ed6 | [
"MIT"
] | null | null | null | base/common/memset.asm | michalkolodziejski/Mad-Pascal | 0a7a1e2f379e50b0a23878b0d881ff3407269ed6 | [
"MIT"
] | null | null | null | ; https://github.com/cc65/cc65/blob/153bb295010e2dc75ffd544d7091870ff563338d/libsrc/common/memset.s
;
; Ullrich von Bassewitz, 29.05.1998
; Performance increase (about 20%) by
; Christian Krueger, 12.09.2009, slightly improved 12.01.2011
.proc @fill (.word ptr1, ptr3 .byte ptr2) .var
ptr1 = edx
ptr3 = ecx
ptr2 = eax
txa:pha
ldx ptr2
ldy #0
lsr ptr3+1 ; divide number of
ror ptr3 ; bytes by two to increase
bcc evenCount ; speed (ptr3 = ptr3/2)
oddCount:
; y is still 0 here
txa ; restore fill value
sta (ptr1),y ; save value and increase
inc ptr1 ; dest. pointer
bne evenCount
inc ptr1+1
evenCount:
lda ptr1 ; build second pointer section
clc
adc ptr3 ; ptr2 = ptr1 + (length/2) <- ptr3
sta ptr2
lda ptr1+1
adc ptr3+1
sta ptr2+1
txa ; restore fill value
ldx ptr3+1 ; Get high byte of n
beq L2 ; Jump if zero
; Set 256/512 byte blocks
; y is still 0 here
L1: .rept 2 ; Unroll this a bit to make it faster
sta (ptr1),y ; Set byte in lower section
sta (ptr2),y ; Set byte in upper section
iny
.endr
bne L1
inc ptr1+1
inc ptr2+1
dex ; Next 256 byte block
bne L1 ; Repeat if any
; Set the remaining bytes if any
L2: ldy ptr3 ; Get the low byte of n
beq leave ; something to set? No -> leave
L3: dey
sta (ptr1),y ; set bytes in low
sta (ptr2),y ; and high section
bne L3 ; flags still up to date from dey!
leave pla:tax
rts ; return
.endp
| 24.75 | 100 | 0.572787 |
3a332e20633cc960ffaedfcfa6ee14feb93a4ae7 | 12,452 | asm | Assembly | sources/ippcp/asm_ia32/pcpaesgcmtable2kv8as.asm | dongbinghua/ipp-crypto | 5f6c4afec3d86f0f586cd9344963111fd5c04213 | [
"Apache-2.0"
] | 233 | 2018-07-20T13:17:16.000Z | 2022-03-29T03:14:40.000Z | sources/ippcp/asm_ia32/pcpaesgcmtable2kv8as.asm | dongbinghua/ipp-crypto | 5f6c4afec3d86f0f586cd9344963111fd5c04213 | [
"Apache-2.0"
] | 39 | 2018-10-19T22:46:28.000Z | 2022-03-15T07:56:37.000Z | sources/ippcp/asm_ia32/pcpaesgcmtable2kv8as.asm | dongbinghua/ipp-crypto | 5f6c4afec3d86f0f586cd9344963111fd5c04213 | [
"Apache-2.0"
] | 60 | 2018-07-29T18:21:10.000Z | 2022-03-13T02:46:39.000Z | ;===============================================================================
; Copyright 2014-2021 Intel Corporation
;
; 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.
;===============================================================================
;
;
; Purpose: Cryptography Primitive.
; Encrypt/Decrypt byte data stream according to Rijndael128 (GCM mode)
;
; Content:
; AesGcmMulGcm_table2K()
; AesGcmAuth_table2K()
;
%include "asmdefs.inc"
%include "ia_emm.inc"
%if (_IPP >= _IPP_V8)
segment .text align=IPP_ALIGN_FACTOR
;
; getAesGcmConst_table_ct provides c-e-t access to pre-computed Ipp16u AesGcmConst_table[256]
;
; input:
; edx: address of the AesGcmConst_table
; ecx: index in the table
;
; output:
; eax
;
; register ecx destoyed
; registers mmx2, mmx3, mmx6, and mmx7 destoyed
;
align IPP_ALIGN_FACTOR
_CONST_DATA:
_INIT_IDX DW 000h,001h,002h,003h,004h,005h,006h,007h ;; initial search inx = {0:1:2:3:4:5:6:7}
_INCR_IDX DW 008h,008h,008h,008h,008h,008h,008h,008h ;; index increment = {8:8:8:8:8:8:8:8}
%xdefine INIT_IDX [ebx+(_INIT_IDX - _CONST_DATA)]
%xdefine INCR_IDX [ebx+(_INCR_IDX - _CONST_DATA)]
align IPP_ALIGN_FACTOR
IPPASM getAesGcmConst_table_ct,PRIVATE
push ebx
LD_ADDR ebx, _CONST_DATA
pxor xmm2, xmm2 ;; accumulator xmm2 = 0
mov eax, ecx ;; broadcast inx into dword
shl ecx, 16
or ecx, eax
movd xmm3, ecx
pshufd xmm3, xmm3, 00b ;; search index xmm3 = broadcast(idx)
movdqa xmm6, xmmword INIT_IDX ;; current indexes
xor eax, eax
align IPP_ALIGN_FACTOR
.search_loop:
movdqa xmm7, xmm6 ;; copy current indexes
paddw xmm6, xmmword INCR_IDX ;; advance current indexes
pcmpeqw xmm7, xmm3 ;; selection mask
pand xmm7, xmmword [edx+eax*sizeof(word)];; mask data
add eax, 8
cmp eax, 256
por xmm2, xmm7 ;; and accumulate
jl .search_loop
movdqa xmm3, xmm2 ;; pack result in qword
psrldq xmm2, sizeof(xmmword)/2
por xmm2, xmm3
movdqa xmm3, xmm2 ;; pack result in dword
psrldq xmm2, sizeof(xmmword)/4
por xmm2, xmm3
movd eax, xmm2
pop ebx
and ecx, 3 ;; select tbl[idx] value
shl ecx, 4 ;; rcx *=16 = sizeof(word)*8
shr eax, cl
ret
ENDFUNC getAesGcmConst_table_ct
;
; void AesGcmMulGcm_table2K(Ipp8u* pHash, const Ipp8u* pPrecomputedData, , const void* pParam))
;
align IPP_ALIGN_FACTOR
IPPASM AesGcmMulGcm_table2K,PUBLIC
USES_GPR esi,edi,ebx
%xdefine pHash [esp + ARG_1 + 0*sizeof(dword)]
%xdefine pMulTbl [esp + ARG_1 + 1*sizeof(dword)]
%xdefine pParam [esp + ARG_1 + 2*sizeof(dword)]
mov edi, pHash
movdqu xmm0, [edi] ; hash value
mov esi, pMulTbl
mov edx, pParam ; pointer to the fixed table
movd ebx, xmm0 ; ebx = hash.0
mov eax, 0f0f0f0f0h
and eax, ebx ; eax = 4 x 4_bits
shl ebx, 4
and ebx, 0f0f0f0f0h ; ebx = 4 x 4_bits (another)
movzx ecx, ah
movdqa xmm5, oword [esi+1024+ecx]
movzx ecx, al
movdqa xmm4, oword [esi+1024+ecx]
shr eax, 16
movzx ecx, ah
movdqa xmm3, oword [esi+1024+ecx]
movzx ecx, al
movdqa xmm2, oword [esi+1024+ecx]
psrldq xmm0, 4 ; shift xmm0
movd eax, xmm0 ; eax = hash[1]
and eax, 0f0f0f0f0h ; eax = 4 x 4_bits
movzx ecx, bh
pxor xmm5, oword [esi+ 0*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 0*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 0*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 0*256 + ecx]
movd ebx, xmm0 ; ebx = hash[1]
shl ebx, 4 ; another 4 x 4_bits
and ebx, 0f0f0f0f0h
movzx ecx, ah
pxor xmm5, oword [esi+1024+ 1*256 + ecx]
movzx ecx, al
pxor xmm4, oword [esi+1024+ 1*256 + ecx]
shr eax, 16
movzx ecx, ah
pxor xmm3, oword [esi+1024+ 1*256 + ecx]
movzx ecx, al
pxor xmm2, oword [esi+1024+ 1*256 + ecx]
psrldq xmm0, 4
movd eax, xmm0 ; eax = hash.2
and eax, 0f0f0f0f0h
movzx ecx, bh
pxor xmm5, oword [esi+ 1*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 1*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 1*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 1*256 + ecx]
movd ebx, xmm0
shl ebx, 4
and ebx, 0f0f0f0f0h
movzx ecx, ah
pxor xmm5, oword [esi+1024+ 2*256 + ecx]
movzx ecx, al
pxor xmm4, oword [esi+1024+ 2*256 + ecx]
shr eax, 16
movzx ecx, ah
pxor xmm3, oword [esi+1024+ 2*256 + ecx]
movzx ecx, al
pxor xmm2, oword [esi+1024+ 2*256 + ecx]
psrldq xmm0, 4
movd eax, xmm0 ; eax = hash.3
and eax, 0f0f0f0f0h
movzx ecx, bh
pxor xmm5, oword [esi+ 2*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 2*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 2*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 2*256 + ecx]
movd ebx, xmm0
shl ebx, 4
and ebx, 0f0f0f0f0h
movzx ecx, ah
pxor xmm5, oword [esi+1024+ 3*256 + ecx]
movzx ecx, al
pxor xmm4, oword [esi+1024+ 3*256 + ecx]
shr eax, 16
movzx ecx, ah
pxor xmm3, oword [esi+1024+ 3*256 + ecx]
movzx ecx, al
pxor xmm2, oword [esi+1024+ 3*256 + ecx]
movzx ecx, bh
pxor xmm5, oword [esi+ 3*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 3*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 3*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 3*256 + ecx]
movdqa xmm0, xmm3
pslldq xmm3, 1
pxor xmm2, xmm3
movdqa xmm1, xmm2
pslldq xmm2, 1
pxor xmm5, xmm2
psrldq xmm0, 15
movd ecx, xmm0
CALL_IPPASM getAesGcmConst_table_ct ;;movzx eax, word [edx + ecx*sizeof(word)]
shl eax, 8
movdqa xmm0, xmm5
pslldq xmm5, 1
pxor xmm4, xmm5
psrldq xmm1, 15
movd ecx, xmm1
mov ebx, eax ;;xor ax, word [edx + ecx*sizeof(word)]
CALL_IPPASM getAesGcmConst_table_ct ;;
xor eax, ebx ;;
shl eax, 8
psrldq xmm0, 15
movd ecx, xmm0
mov ebx, eax ;;xor ax, word [edx + ecx*sizeof(word)]
CALL_IPPASM getAesGcmConst_table_ct ;;
xor eax, ebx ;;
movd xmm0, eax
pxor xmm0, xmm4
movdqu oword [edi], xmm0 ; store hash value
REST_GPR
ret
ENDFUNC AesGcmMulGcm_table2K
;
; void AesGcmAuth_table2K(Ipp8u* pHash, const Ipp8u* pSrc, int len, const Ipp8u* pPrecomputedData, const void* pParam)
;
align IPP_ALIGN_FACTOR
IPPASM AesGcmAuth_table2K,PUBLIC
USES_GPR esi,edi,ebx
%xdefine pHash [esp + ARG_1 + 0*sizeof(dword)]
%xdefine pSrc [esp + ARG_1 + 1*sizeof(dword)]
%xdefine len [esp + ARG_1 + 2*sizeof(dword)]
%xdefine pMulTbl [esp + ARG_1 + 3*sizeof(dword)]
%xdefine pParam [esp + ARG_1 + 4*sizeof(dword)]
mov edi, pHash
movdqu xmm0, [edi] ; hash value
mov esi, pMulTbl
mov edi, pSrc
mov edx, pParam ; pointer to the fixed table
align IPP_ALIGN_FACTOR
.auth_loop:
movdqu xmm4, [edi] ; get src[]
pxor xmm0, xmm4 ; hash ^= src[]
movd ebx, xmm0 ; ebx = hash.0
mov eax, 0f0f0f0f0h
and eax, ebx ; eax = 4 x 4_bits
shl ebx, 4
and ebx, 0f0f0f0f0h ; ebx = 4 x 4_bits (another)
movzx ecx, ah
movdqa xmm5, oword [esi+1024+ecx]
movzx ecx, al
movdqa xmm4, oword [esi+1024+ecx]
shr eax, 16
movzx ecx, ah
movdqa xmm3, oword [esi+1024+ecx]
movzx ecx, al
movdqa xmm2, oword [esi+1024+ecx]
psrldq xmm0, 4 ; shift xmm0
movd eax, xmm0 ; eax = hash[1]
and eax, 0f0f0f0f0h ; eax = 4 x 4_bits
movzx ecx, bh
pxor xmm5, oword [esi+ 0*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 0*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 0*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 0*256 + ecx]
movd ebx, xmm0 ; ebx = hash[1]
shl ebx, 4 ; another 4 x 4_bits
and ebx, 0f0f0f0f0h
movzx ecx, ah
pxor xmm5, oword [esi+1024+ 1*256 + ecx]
movzx ecx, al
pxor xmm4, oword [esi+1024+ 1*256 + ecx]
shr eax, 16
movzx ecx, ah
pxor xmm3, oword [esi+1024+ 1*256 + ecx]
movzx ecx, al
pxor xmm2, oword [esi+1024+ 1*256 + ecx]
psrldq xmm0, 4
movd eax, xmm0 ; eax = hash[2]
and eax, 0f0f0f0f0h
movzx ecx, bh
pxor xmm5, oword [esi+ 1*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 1*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 1*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 1*256 + ecx]
movd ebx, xmm0
shl ebx, 4
and ebx, 0f0f0f0f0h
movzx ecx, ah
pxor xmm5, oword [esi+1024+ 2*256 + ecx]
movzx ecx, al
pxor xmm4, oword [esi+1024+ 2*256 + ecx]
shr eax, 16
movzx ecx, ah
pxor xmm3, oword [esi+1024+ 2*256 + ecx]
movzx ecx, al
pxor xmm2, oword [esi+1024+ 2*256 + ecx]
psrldq xmm0, 4
movd eax, xmm0 ; eax = hash[3]
and eax, 0f0f0f0f0h
movzx ecx, bh
pxor xmm5, oword [esi+ 2*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 2*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 2*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 2*256 + ecx]
movd ebx, xmm0
shl ebx, 4
and ebx, 0f0f0f0f0h
movzx ecx, ah
pxor xmm5, oword [esi+1024+ 3*256 + ecx]
movzx ecx, al
pxor xmm4, oword [esi+1024+ 3*256 + ecx]
shr eax, 16
movzx ecx, ah
pxor xmm3, oword [esi+1024+ 3*256 + ecx]
movzx ecx, al
pxor xmm2, oword [esi+1024+ 3*256 + ecx]
movzx ecx, bh
pxor xmm5, oword [esi+ 3*256 + ecx]
movzx ecx, bl
pxor xmm4, oword [esi+ 3*256 + ecx]
shr ebx, 16
movzx ecx, bh
pxor xmm3, oword [esi+ 3*256 + ecx]
movzx ecx, bl
pxor xmm2, oword [esi+ 3*256 + ecx]
movdqa xmm0, xmm3
pslldq xmm3, 1
pxor xmm2, xmm3
movdqa xmm1, xmm2
pslldq xmm2, 1
pxor xmm5, xmm2
psrldq xmm0, 15
movd ecx, xmm0
CALL_IPPASM getAesGcmConst_table_ct ;;movzx eax, word [edx + ecx*sizeof(word)]
shl eax, 8
movdqa xmm0, xmm5
pslldq xmm5, 1
pxor xmm4, xmm5
psrldq xmm1, 15
movd ecx, xmm1
mov ebx, eax ;;xor ax, word [edx + ecx*sizeof(word)]
CALL_IPPASM getAesGcmConst_table_ct ;;
xor eax, ebx ;;
shl eax, 8
psrldq xmm0, 15
movd ecx, xmm0
mov ebx, eax ;;xor ax, word [edx + ecx*sizeof(word)]
CALL_IPPASM getAesGcmConst_table_ct ;;
xor eax, ebx ;;
movd xmm0, eax
pxor xmm0, xmm4
add edi, sizeof(oword) ; advance src address
sub dword len, sizeof(oword) ; decrease counter
jnz .auth_loop ; process next block
mov edi, pHash
movdqu oword [edi], xmm0 ; store hash value
REST_GPR
ret
ENDFUNC AesGcmAuth_table2K
%endif
| 27.732739 | 118 | 0.550514 |
64fa610c5df7ca73ec16546b7e816fdcc36bf881 | 480 | asm | Assembly | oeis/026/A026064.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/026/A026064.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/026/A026064.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A026064: a(n) = (d(n)-r(n))/2, where d = A026063 and r is the periodic sequence with fundamental period (1,1,0,1).
; Submitted by Jon Maiga
; 35,59,90,127,172,225,287,357,437,527,628,739,862,997,1145,1305,1479,1667,1870,2087,2320,2569,2835,3117,3417,3735,4072,4427,4802,5197,5613,6049,6507,6987,7490,8015,8564,9137,9735,10357,11005,11679,12380,13107,13862,14645,15457,16297
add $0,3
mov $1,$0
bin $0,3
mul $0,2
add $1,1
pow $1,2
mul $1,10
add $1,$0
mov $0,$1
div $0,4
sub $0,5
| 30 | 233 | 0.7 |
3045aea96b447b6c367836496712e51541c19d58 | 332 | asm | Assembly | libmikeos/src.os/os_list_dialog.asm | mynameispyo/InpyoOS | b6ddb6d9715b027ab65891bd4c4f46dbe5c9890d | [
"BSD-3-Clause",
"MIT"
] | null | null | null | libmikeos/src.os/os_list_dialog.asm | mynameispyo/InpyoOS | b6ddb6d9715b027ab65891bd4c4f46dbe5c9890d | [
"BSD-3-Clause",
"MIT"
] | null | null | null | libmikeos/src.os/os_list_dialog.asm | mynameispyo/InpyoOS | b6ddb6d9715b027ab65891bd4c4f46dbe5c9890d | [
"BSD-3-Clause",
"MIT"
] | null | null | null |
; @@@ int mikeos_list_dialog(char *list, char *message1, char *message2);
%include "os_vector.inc"
section .text
use16
global _mikeos_list_dialog
_mikeos_list_dialog:
push bp
mov bp, sp
mov ax, [bp + 4]
mov bx, [bp + 6]
mov cx, [bp + 8]
mov bp, os_list_dialog
call bp
jnc .0
mov ax, -1 ; failed
.0:
pop bp
ret
| 12.769231 | 73 | 0.659639 |
d68dd87c59942f963ac6753e874014e5307750eb | 2,034 | asm | Assembly | programs/oeis/224/A224701.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/224/A224701.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/224/A224701.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A224701: Table read by antidiagonals of numbers of form (2^n - 1)*2^(m+3) + 5 where n>=1, m>=1.
; 21,37,53,69,101,117,133,197,229,245,261,389,453,485,501,517,773,901,965,997,1013,1029,1541,1797,1925,1989,2021,2037,2053,3077,3589,3845,3973,4037,4069,4085,4101,6149,7173,7685,7941,8069,8133,8165,8181,8197,12293,14341,15365,15877,16133,16261,16325,16357,16373,16389,24581,28677,30725,31749,32261,32517,32645,32709,32741,32757,32773,49157,57349,61445,63493,64517,65029,65285,65413,65477,65509,65525,65541,98309,114693,122885,126981,129029,130053,130565,130821,130949,131013,131045,131061,131077,196613,229381,245765,253957,258053,260101,261125,261637,261893,262021,262085,262117,262133,262149,393221,458757,491525,507909,516101,520197,522245,523269,523781,524037,524165,524229,524261,524277,524293,786437,917509,983045,1015813,1032197,1040389,1044485,1046533,1047557,1048069,1048325,1048453,1048517,1048549,1048565,1048581,1572869,1835013,1966085,2031621,2064389,2080773,2088965,2093061,2095109,2096133,2096645,2096901,2097029,2097093,2097125,2097141,2097157,3145733,3670021,3932165,4063237,4128773,4161541,4177925,4186117,4190213,4192261,4193285,4193797,4194053,4194181,4194245,4194277,4194293,4194309,6291461,7340037,7864325,8126469,8257541,8323077,8355845,8372229,8380421,8384517,8386565,8387589,8388101,8388357,8388485,8388549,8388581,8388597,8388613,12582917,14680069,15728645,16252933,16515077,16646149,16711685,16744453,16760837,16769029,16773125,16775173,16776197,16776709,16776965,16777093,16777157,16777189,16777205,16777221,25165829,29360133,31457285,32505861,33030149,33292293,33423365,33488901,33521669,33538053,33546245,33550341,33552389,33553413,33553925,33554181,33554309,33554373,33554405,33554421,33554437,50331653,58720261,62914565,65011717,66060293,66584581,66846725,66977797,67043333,67076101,67092485,67100677,67104773,67106821,67107845,67108357,67108613,67108741
cal $0,43765 ; Numbers n such that number of runs in the base 2 representation of n is congruent to 2 mod 10.
mul $0,8
sub $0,7
mov $1,$0
add $1,12
| 226 | 1,786 | 0.836283 |
f4bb840de922a1d4fe627153625003853115c7af | 972 | asm | Assembly | _maps/obj6A.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 2 | 2020-04-09T19:36:35.000Z | 2021-01-05T14:20:17.000Z | _maps/obj6A.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | null | null | null | _maps/obj6A.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 1 | 2020-06-17T14:16:35.000Z | 2020-06-17T14:16:35.000Z | ; ---------------------------------------------------------------------------
; Sprite mappings - ground saws and pizza cutters (SBZ)
; ---------------------------------------------------------------------------
dc.w byte_15BA0-Map_obj6A, byte_15BC4-Map_obj6A
dc.w byte_15BE8-Map_obj6A, byte_15BFD-Map_obj6A
byte_15BA0: dc.b 7
dc.b $C4, 1, 0, $20, $FC
dc.b $D4, 1, 0, $20, $FC
dc.b $E4, 3, 0, $20, $FC
dc.b $E0, $F, 0, 0, $E0
dc.b $E0, $F, 8, 0, 0
dc.b 0, $F, $10, 0, $E0
dc.b 0, $F, $18, 0, 0
byte_15BC4: dc.b 7
dc.b $C4, 1, 0, $20, $FC
dc.b $D4, 1, 0, $20, $FC
dc.b $E4, 3, 0, $20, $FC
dc.b $E0, $F, 0, $10, $E0
dc.b $E0, $F, 8, $10, 0
dc.b 0, $F, $10, $10, $E0
dc.b 0, $F, $18, $10, 0
byte_15BE8: dc.b 4
dc.b $E0, $F, 0, 0, $E0
dc.b $E0, $F, 8, 0, 0
dc.b 0, $F, $10, 0, $E0
dc.b 0, $F, $18, 0, 0
byte_15BFD: dc.b 4
dc.b $E0, $F, 0, $10, $E0
dc.b $E0, $F, 8, $10, 0
dc.b 0, $F, $10, $10, $E0
dc.b 0, $F, $18, $10, 0
even | 30.375 | 77 | 0.421811 |
eee0cdd388c03cc4bba9cad5f34a5bd9529af561 | 619 | asm | Assembly | data/baseStats_original/togetic.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 16 | 2018-08-28T21:47:01.000Z | 2022-02-20T20:29:59.000Z | data/baseStats_original/togetic.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 5 | 2019-04-03T19:53:11.000Z | 2022-03-11T22:49:34.000Z | data/baseStats_original/togetic.asm | adhi-thirumala/EvoYellow | 6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c | [
"Unlicense"
] | 2 | 2019-12-09T19:46:02.000Z | 2020-12-05T21:36:30.000Z | ;TogeticBaseStats: ; 38582 (e:4582)
db DEX_TOGETIC ; pokedex id
db 55 ; base hp
db 40 ; base attack
db 85 ; base defense
db 40 ; base speed
db 105 ; base special
db FAIRY ; species type 1
db FLYING ; species type 2
db 58 ; catch rate, dire hit item
db 114 ; base exp yield
INCBIN "pic/ymon/togetic.pic",0,1 ; 55, sprite dimensions
dw TogeticPicFront
dw TogeticPicBack
;moves
db METRONOME
db DOUBLESLAP
db WING_ATTACK
db GROWL
db 3 ; growth rate
; learnset
tmlearn 4,6,8
tmlearn 9,10,15
tmlearn 22,23
tmlearn 29,30,31,32
tmlearn 34,37,38,39,40
tmlearn 41,42,44,45,46
tmlearn 49,50,52
db BANK(TogeticPicFront) | 20.633333 | 57 | 0.738288 |
365eea7da1219a24ca6644d63bbd0eedea6cfea9 | 882 | asm | Assembly | data/maps/objects/Route13.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | 1 | 2022-02-15T00:19:44.000Z | 2022-02-15T00:19:44.000Z | data/maps/objects/Route13.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | data/maps/objects/Route13.asm | opiter09/ASM-Machina | 75d8e457b3e82cc7a99b8e70ada643ab02863ada | [
"CC0-1.0"
] | null | null | null | Route13_Object:
db $43 ; border block
def_warps
def_signs
sign 15, 13, 11 ; Route13Text11
sign 33, 5, 12 ; Route13Text12
sign 31, 11, 13 ; Route13Text13
def_objects
object SPRITE_COOLTRAINER_M, 49, 10, STAY, RIGHT, 1, OPP_BIRD_KEEPER, 1
object SPRITE_COOLTRAINER_F, 48, 10, STAY, DOWN, 2, OPP_JR_TRAINER_F, 12
object SPRITE_COOLTRAINER_F, 27, 9, STAY, DOWN, 3, OPP_JR_TRAINER_F, 13
object SPRITE_COOLTRAINER_F, 23, 10, STAY, LEFT, 4, OPP_JR_TRAINER_F, 14
object SPRITE_COOLTRAINER_F, 50, 5, STAY, DOWN, 5, OPP_JR_TRAINER_F, 15
object SPRITE_COOLTRAINER_M, 12, 4, STAY, RIGHT, 6, OPP_BIRD_KEEPER, 2
object SPRITE_BEAUTY, 33, 6, STAY, DOWN, 7, OPP_BEAUTY, 4
object SPRITE_BEAUTY, 32, 6, STAY, DOWN, 8, OPP_BEAUTY, 5
object SPRITE_BIKER, 10, 7, STAY, UP, 9, OPP_BIKER, 1
object SPRITE_COOLTRAINER_M, 7, 13, STAY, UP, 10, OPP_BIRD_KEEPER, 3
def_warps_to ROUTE_13
| 36.75 | 73 | 0.746032 |
513eeba23cf1d205a523e19ec1c54347ba1bbb21 | 1,632 | asm | Assembly | src/intel/tools/tests/gen7/or.asm | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/intel/tools/tests/gen7/or.asm | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | src/intel/tools/tests/gen7/or.asm | SoftReaper/Mesa-Renoir-deb | 8d1de1f66058d62b41fe55d36522efea2bdf996d | [
"MIT"
] | null | null | null | or(1) g113.5<1>UD g0.5<0,1,0>UD 0x0000ff00UD { align1 WE_all 1N };
or.nz.f0.0(8) null<1>.xUD g21<4>.xUD g19<4>.xUD { align16 1Q };
or(8) g13<1>.xyUD g5.4<0>.zwwwUD g6<0>.xUD { align16 1Q };
or(8) g10<1>UD g9<8,8,1>UD g8<8,8,1>UD { align1 1Q };
or(16) g16<1>UD g14<8,8,1>UD g12<8,8,1>UD { align1 1H };
(+f0.0) or(8) g22<1>.xUD g22<4>.xUD 0x3f800000UD { align16 1Q };
or.nz.f0.0(8) g8<1>UD g4<8,8,1>UD g7<8,8,1>UD { align1 1Q };
or.nz.f0.0(8) null<1>UD g12<8,8,1>UD g15<8,8,1>UD { align1 1Q };
or.nz.f0.0(16) g12<1>UD g5<8,8,1>UD g10<8,8,1>UD { align1 1H };
or.nz.f0.0(16) null<1>UD g20<8,8,1>UD g26<8,8,1>UD { align1 1H };
(+f0.0) or(8) g6<1>UD g6<8,8,1>UD 0x3f800000UD { align1 1Q };
(+f0.0) or(16) g8<1>UD g8<8,8,1>UD 0x3f800000UD { align1 1H };
or(1) a0<1>UD g8<0,1,0>UD 0x02427000UD { align1 WE_all 1N };
or(1) a0<1>UD a0<0,1,0>UD 0x02114000UD { align1 WE_all 1N };
or(1) a0<1>UD g2<0,1,0>UD 0x0e0b6000UD { align1 WE_all 3N };
or(1) a0<1>UD a0<0,1,0>UD g17<0,1,0>UD { align1 WE_all 1N };
or(1) g113.21<1>UB g59<0,1,0>UB g59.16<0,1,0>UB { align1 WE_all 1N };
or(1) g2<1>UD g2<0,1,0>UD g7<0,1,0>UD { align1 WE_all 1N };
or(8) g32<1>UD g24<8,8,1>UD 0x00281502UD { align1 1Q };
or(16) g47<1>UD g45<8,8,1>UD 0x00281502UD { align1 1H };
| 77.714286 | 85 | 0.471814 |
852ad02ce1d62ba8a10a616c6e950e07411c8899 | 2,823 | asm | Assembly | programs/oeis/016/A016848.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/016/A016848.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/016/A016848.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A016848: a(n) = (4*n+3)^12.
; 531441,13841287201,3138428376721,129746337890625,2213314919066161,21914624432020321,150094635296999121,787662783788549761,3379220508056640625,12381557655576425121,39959630797262576401,116191483108948578241,309629344375621415601,766217865410400390625,1779197418239532716881,3909188328478827879681,8182718904632857144561,16409682740640811134241,31676352024078369140625,59091511031674153381441,106890007738661124410161,188031682201497672618081,322475487413604782665681,540360087662636962890625,886384871716129280658801,1425760886846178945447841,2252191588960823337718801,3498450596935634189769921,5350250105473711181640625,8064241715186276625588961,11991163848716906297072721,17605349516220764271966721,25542038069936263923006961,36644198070556426025390625,52020869037289085480011921,73119371471655725294164801,101814121186119595835681841,140515219945627518837736801,192300484323376406494140625,261075123337098804348567681,351763888007705494736404081,470541197898347534873984161,625105506678337880602119441,825005006849765777587890625,1082022699327332498100696241,1410629873249683485564270561,1828518162230556187140793681,2357221572577185690065114881,3022841224505963164306640625,3856887017121283350242637601,4897252030306448390395044241,6189337220490697154402830401,7787345861668898615544483121,9755769237612933691650390625,12171087315874829579909431761,15123710539293666054338805121,18720191467045367574023614321,23085737796000848857434784161,28367061305895648984619140625,34735600510611194263176918721,42391158275216203514294433201,51565999387260564203827465441,62529457064557415999535378001,75593101654204447168212890625,91116529343230957588293738481,109513833574845676773925608481,131260827061126477105043503761,156903087818962082857498424641,187064908547461032867431640625,222459234928734230114433331041,263898685087308495981516810961,312307749504346137016129649281,368736278169776566314796884081,434374369687385917207275390625,510568785444411275443565936401,598841020838364120317909320641,700907174940351875150276622001,818699769887346816976612516321,954391681757526337812744140625,1110422355715432735355050594561,1289526489840334121941717217521,1494765384295483228389391941921,1729561165382261200512043881361,1997734107576381138808837890625,2303543290888970191892547145521,2651730845859653471779023381601,3047570054198584854687363929041,3496917589577226791795034339201,4006270200351760530820556640625,4582826154117173651132848229281,5234551782963872647784755492881,5970253488172346700935405703361,6799655583865908142394420049841,7733484380878508090972900390625,8783558934816442124406231285841,9962888906032515816542942031361,11285780004022761936582279184881,12767947514633659874603497973281,14426638435467322602890869140625,16280762773029363806577930555201
mul $0,4
add $0,3
pow $0,12
| 403.285714 | 2,763 | 0.953595 |
7810f2f0df2b89436f702fcef1cd6ad3b6ccdb3c | 13,500 | asm | Assembly | src/main/native/compression/isa-l-master/igzip/igzip_gen_icf_map_lh1_06.asm | arun-sub/GKL | c071276633f01d8198198fb40df468a0dffb0d41 | [
"MIT"
] | 1 | 2018-11-23T13:41:33.000Z | 2018-11-23T13:41:33.000Z | src/main/native/compression/isa-l-master/igzip/igzip_gen_icf_map_lh1_06.asm | arun-sub/GKL | c071276633f01d8198198fb40df468a0dffb0d41 | [
"MIT"
] | null | null | null | src/main/native/compression/isa-l-master/igzip/igzip_gen_icf_map_lh1_06.asm | arun-sub/GKL | c071276633f01d8198198fb40df468a0dffb0d41 | [
"MIT"
] | 1 | 2020-06-04T07:55:19.000Z | 2020-06-04T07:55:19.000Z | %include "reg_sizes.asm"
%include "lz0a_const.asm"
%include "data_struct2.asm"
%ifdef HAVE_AS_KNOWS_AVX512
%ifidn __OUTPUT_FORMAT__, win64
%define arg1 rcx
%define arg2 rdx
%define arg3 r8
%define hash rsi
%define next_in rdi
%else
%define arg1 rdi
%define arg2 rsi
%define arg3 rdx
%define hash r8
%define next_in rcx
%endif
%define stream arg1
%define level_buf arg1
%define matches_next arg2
%define f_i_end arg3
%define f_i rax
%define file_start rbp
%define next_byte r9
%define encode_size r10
%define prev_len r11
%define prev_dist r12
%define hash_table level_buf + _hash_map_hash_table
%define datas zmm0
%define datas_lookup zmm1
%define zhashes zmm2
%define zdists zmm3
%define zdists_lookup zmm4
%define zscatter zmm5
%define zdists2 zmm6
%define zlens1 zmm7
%define zlens2 zmm8
%define zlookup zmm9
%define zlookup2 zmm10
%define match_lookups zmm11
%define zindex zmm12
%define zdist_extra zmm13
%define zdists_tmp zmm14
%define znull_dist_syms zmm15
%define zcode zmm16
%define zthirty zmm17
%define zdist_mask zmm18
%define zshortest_matches zmm19
%define zrot_left zmm20
%define zdatas_perm zmm21
%define zdatas_perm2 zmm22
%define zdatas_perm3 zmm23
%define zdatas_shuf zmm24
%define zhash_prod zmm25
%define zhash_mask zmm26
%define zincrement zmm27
%define zqword_shuf zmm28
%define zones zmm29
%define ztwofiftyfour zmm30
%define zbswap zmm31
%ifidn __OUTPUT_FORMAT__, win64
%define stack_size 10*16 + 4 * 8 + 8
%define func(x) proc_frame x
%macro FUNC_SAVE 0
alloc_stack stack_size
vmovdqa [rsp + 0*16], xmm6
vmovdqa [rsp + 1*16], xmm7
vmovdqa [rsp + 2*16], xmm8
vmovdqa [rsp + 3*16], xmm9
vmovdqa [rsp + 4*16], xmm10
vmovdqa [rsp + 5*16], xmm11
vmovdqa [rsp + 6*16], xmm12
vmovdqa [rsp + 7*16], xmm13
vmovdqu [rsp + 8*16], xmm14
vmovdqa [rsp + 9*16], xmm15
save_reg rsi, 10*16 + 0*8
save_reg rdi, 10*16 + 1*8
save_reg rbp, 10*16 + 2*8
save_reg r12, 10*16 + 3*8
end_prolog
%endm
%macro FUNC_RESTORE 0
vmovdqa xmm6, [rsp + 0*16]
vmovdqa xmm7, [rsp + 1*16]
vmovdqa xmm8, [rsp + 2*16]
vmovdqa xmm9, [rsp + 3*16]
vmovdqa xmm10, [rsp + 4*16]
vmovdqa xmm11, [rsp + 5*16]
vmovdqa xmm12, [rsp + 6*16]
vmovdqa xmm13, [rsp + 7*16]
vmovdqa xmm14, [rsp + 8*16]
vmovdqa xmm15, [rsp + 9*16]
mov [rsp + 10*16 + 0*8], rsi
mov [rsp + 10*16 + 1*8], rdi
mov [rsp + 10*16 + 2*8], rbp
mov [rsp + 10*16 + 3*8], r12
add rsp, stack_size
%endm
%else
%define func(x) x:
%macro FUNC_SAVE 0
push rbp
push r12
%endm
%macro FUNC_RESTORE 0
pop r12
pop rbp
%endm
%endif
%define VECT_SIZE 16
%define HASH_BYTES 2
global gen_icf_map_lh1_06
func(gen_icf_map_lh1_06)
FUNC_SAVE
mov file_start, [stream + _next_in]
mov f_i %+ d, dword [stream + _total_in]
sub file_start, f_i
add f_i_end, f_i
cmp f_i, f_i_end
jge end_main
;; Prep for main loop
mov level_buf, [stream + _level_buf]
sub f_i_end, LA
vmovdqu64 zdatas_perm, [datas_perm]
vmovdqu64 zdatas_shuf, [datas_shuf]
vmovdqu64 zhash_prod, [hash_prod]
vmovdqu64 zhash_mask, [hash_mask]
vmovdqu64 zincrement, [increment]
vmovdqu64 zqword_shuf, [qword_shuf]
vmovdqu64 zdatas_perm2, [datas_perm2]
vmovdqu64 zdatas_perm3, [datas_perm3]
vmovdqu64 zones, [ones]
vmovdqu64 zbswap, [bswap_shuf]
vmovdqu64 zthirty, [thirty]
vmovdqu64 zrot_left, [drot_left]
vmovdqu64 zdist_mask, [dist_mask]
vmovdqu64 zshortest_matches, [shortest_matches]
vmovdqu64 ztwofiftyfour, [twofiftyfour]
vmovdqu64 znull_dist_syms, [null_dist_syms]
kxorq k0, k0, k0
kmovq k1, [k_mask_1]
kmovq k2, [k_mask_2]
xor prev_len, prev_len
xor prev_dist, prev_dist
;; Process first byte
vmovd zhashes %+ x, dword [f_i + file_start]
vpmaddwd zhashes, zhashes, zhash_prod
vpmaddwd zhashes, zhashes, zhash_prod
vpandd zhashes, zhashes, zhash_mask
vmovd hash %+ d, zhashes %+ x
mov word [hash_table + HASH_BYTES * hash], f_i %+ w
add f_i, 1
cmp f_i, f_i_end
jg end_main
;;hash
vmovdqu64 datas %+ y, [f_i + file_start]
vpermq zhashes, zdatas_perm, datas
vpshufb zhashes, zhashes, zdatas_shuf
vpmaddwd zhashes, zhashes, zhash_prod
vpmaddwd zhashes, zhashes, zhash_prod
vpandd zhashes, zhashes, zhash_mask
vpermq zlookup, zdatas_perm2, datas
vpshufb zlookup, zlookup, zqword_shuf
vpermq zlookup2, zdatas_perm3, datas
vpshufb zlookup2, zlookup2, zqword_shuf
;;gather/scatter hashes
knotq k6, k0
vpgatherdd zdists_lookup {k6}, [hash_table + HASH_BYTES * zhashes]
vpbroadcastd zindex, f_i %+ d
vpaddd zindex, zindex, zincrement
vpblendmw zscatter {k1}, zindex, zdists_lookup
knotq k6, k0
vpscatterdd [hash_table + HASH_BYTES * zhashes] {k6}, zscatter
;; Compute hash for next loop
vmovdqu64 datas %+ y, [f_i + file_start + VECT_SIZE]
vpermq zhashes, zdatas_perm, datas
vpshufb zhashes, zhashes, zdatas_shuf
vpmaddwd zhashes, zhashes, zhash_prod
vpmaddwd zhashes, zhashes, zhash_prod
vpandd zhashes, zhashes, zhash_mask
vmovdqu64 datas_lookup %+ y, [f_i + file_start + 2 * VECT_SIZE]
sub f_i_end, VECT_SIZE
cmp f_i, f_i_end
jg loop1_end
loop1:
lea next_in, [f_i + file_start]
;; Calculate look back dists
vpaddd zdists, zdists_lookup, zones
vpsubd zdists, zindex, zdists
vpandd zdists, zdists, zdist_mask
vpaddd zdists, zdists, zones
vpsubd zdists, zincrement, zdists
;;gather/scatter hashes
add f_i, VECT_SIZE
kxnorq k6, k6, k6
kxnorq k7, k7, k7
vpgatherdd zdists_lookup {k6}, [hash_table + HASH_BYTES * zhashes]
vpbroadcastd zindex, f_i %+ d
vpaddd zindex, zindex, zincrement
vpblendmw zscatter {k1}, zindex, zdists_lookup
vpscatterdd [hash_table + HASH_BYTES * zhashes] {k7}, zscatter
;; Compute hash for next loop
vpermq zhashes, zdatas_perm, datas_lookup
vpshufb zhashes, zhashes, zdatas_shuf
vpmaddwd zhashes, zhashes, zhash_prod
vpmaddwd zhashes, zhashes, zhash_prod
vpandd zhashes, zhashes, zhash_mask
;;lookup old codes
vextracti32x8 zdists2 %+ y, zdists, 1
kxnorq k6, k6, k6
kxnorq k7, k7, k7
vpgatherdq zlens1 {k6}, [next_in + zdists %+ y]
vpgatherdq zlens2 {k7}, [next_in + zdists2 %+ y]
;; Calculate dist_icf_code
vpaddd zdists, zdists, zones
vpsubd zdists, zincrement, zdists
vpcmpgtd k5, zdists, zones
vplzcntd zdist_extra, zdists
vpsubd zdist_extra {k5}{z}, zthirty, zdist_extra
vpsllvd zcode, zones, zdist_extra
vpsubd zcode, zcode, zones
vpandd zcode {k5}{z}, zdists, zcode
vpsrlvd zdists, zdists, zdist_extra
vpslld zdist_extra, zdist_extra, 1
vpaddd zdists, zdists, zdist_extra
vpslld zcode, zcode, EXTRA_BITS_OFFSET - DIST_OFFSET
vpaddd zdists, zdists, zcode
;; Setup zdists for combining with zlens
vpslld zdists, zdists, DIST_OFFSET
;; xor current data with lookback dist
vpxorq zlens1, zlens1, zlookup
vpxorq zlens2, zlens2, zlookup2
;; Setup registers for next loop
vpermq zlookup, zdatas_perm2, datas
vpshufb zlookup, zlookup, zqword_shuf
vpermq zlookup2, zdatas_perm3, datas
vpshufb zlookup2, zlookup2, zqword_shuf
;; Compute match length
vpshufb zlens1, zlens1, zbswap
vpshufb zlens2, zlens2, zbswap
vplzcntq zlens1, zlens1
vplzcntq zlens2, zlens2
vpmovqd zlens1 %+ y, zlens1
vpmovqd zlens2 %+ y, zlens2
vinserti32x8 zlens1, zlens2 %+ y, 1
vpsrld zlens1, zlens1, 3
;; Preload for next loops
vmovdqu64 datas, datas_lookup
vmovdqu64 datas_lookup %+ y, [f_i + file_start + 2 * VECT_SIZE]
;; Zero out matches which should not be taken
kshiftrw k3, k1, 15
vpermd zlens2, zrot_left, zlens1
vpermd zdists, zrot_left, zdists
vmovd zdists_tmp %+ x, prev_len %+ d
vmovd prev_len %+ d, zlens2 %+ x
vmovdqu32 zlens2 {k3}, zdists_tmp
vmovd zdists_tmp %+ x, prev_dist %+ d
vmovd prev_dist %+ d, zdists %+ x
vmovdqu32 zdists {k3}, zdists_tmp
vpcmpgtd k3, zlens2, zshortest_matches
vpcmpgtd k4, zlens1, zlens2
knotq k3, k3
korq k3, k3, k4
knotq k4, k3
vmovdqu32 zlens1 {k4}{z}, zlens2
;; Update zdists to match zlens1
vpaddd zdists, zdists, zlens1
vpaddd zdists, zdists, ztwofiftyfour
vpmovzxbd zdists {k3}, [f_i + file_start - VECT_SIZE - 1]
vpaddd zdists {k3}, zdists, znull_dist_syms
;;Store zdists
vmovdqu64 [matches_next], zdists
add matches_next, ICF_CODE_BYTES * VECT_SIZE
cmp f_i, f_i_end
jle loop1
loop1_end:
lea next_in, [f_i + file_start]
;; Calculate look back dists
vpaddd zdists, zdists_lookup, zones
vpsubd zdists, zindex, zdists
vpandd zdists, zdists, zdist_mask
vpaddd zdists, zdists, zones
vpsubd zdists, zincrement, zdists
;;lookup old codes
vextracti32x8 zdists2 %+ y, zdists, 1
kxnorq k6, k6, k6
kxnorq k7, k7, k7
vpgatherdq zlens1 {k6}, [next_in + zdists %+ y]
vpgatherdq zlens2 {k7}, [next_in + zdists2 %+ y]
;; Calculate dist_icf_code
vpaddd zdists, zdists, zones
vpsubd zdists, zincrement, zdists
vpcmpgtd k5, zdists, zones
vplzcntd zdist_extra, zdists
vpsubd zdist_extra {k5}{z}, zthirty, zdist_extra
vpsllvd zcode, zones, zdist_extra
vpsubd zcode, zcode, zones
vpandd zcode {k5}{z}, zdists, zcode
vpsrlvd zdists, zdists, zdist_extra
vpslld zdist_extra, zdist_extra, 1
vpaddd zdists, zdists, zdist_extra
vpslld zcode, zcode, EXTRA_BITS_OFFSET - DIST_OFFSET
vpaddd zdists, zdists, zcode
;; Setup zdists for combining with zlens
vpslld zdists, zdists, DIST_OFFSET
;; xor current data with lookback dist
vpxorq zlens1, zlens1, zlookup
vpxorq zlens2, zlens2, zlookup2
;; Compute match length
vpshufb zlens1, zlens1, zbswap
vpshufb zlens2, zlens2, zbswap
vplzcntq zlens1, zlens1
vplzcntq zlens2, zlens2
vpmovqd zlens1 %+ y, zlens1
vpmovqd zlens2 %+ y, zlens2
vinserti32x8 zlens1, zlens2 %+ y, 1
vpsrld zlens1, zlens1, 3
;; Zero out matches which should not be taken
kshiftrw k3, k1, 15
vpermd zlens2, zrot_left, zlens1
vpermd zdists, zrot_left, zdists
vmovd zdists_tmp %+ x, prev_len %+ d
vmovd prev_len %+ d, zlens2 %+ x
vmovdqu32 zlens2 {k3}, zdists_tmp
vmovd zdists_tmp %+ x, prev_dist %+ d
vmovd prev_dist %+ d, zdists %+ x
vmovdqu32 zdists {k3}, zdists_tmp
vpcmpgtd k3, zlens2, zshortest_matches
vpcmpgtd k4, zlens1, zlens2
knotq k3, k3
korq k3, k3, k4
knotq k4, k3
vmovdqu32 zlens1 {k4}{z}, zlens2
;; Update zdists to match zlens1
vpaddd zdists, zdists, zlens1
vpaddd zdists, zdists, ztwofiftyfour
vpmovzxbd zdists {k3}, [f_i + file_start - 1]
vpaddd zdists {k3}, zdists, znull_dist_syms
;;Store zdists
vmovdqu64 [matches_next], zdists
end_main:
FUNC_RESTORE
ret
section .data
align 64
datas_perm:
dq 0x0, 0x1, 0x0, 0x1, 0x1, 0x2, 0x1, 0x2
datas_perm2:
dq 0x0, 0x1, 0x0, 0x1, 0x0, 0x1, 0x0, 0x1
datas_perm3:
dq 0x1, 0x2, 0x1, 0x2, 0x1, 0x2, 0x1, 0x2
drot_left:
dd 0xf, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6
dd 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe
datas_shuf:
db 0x0, 0x1, 0x2, 0x3
db 0x1, 0x2, 0x3, 0x4
db 0x2, 0x3, 0x4, 0x5
db 0x3, 0x4, 0x5, 0x6
db 0x4, 0x5, 0x6, 0x7
db 0x5, 0x6, 0x7, 0x8
db 0x6, 0x7, 0x8, 0x9
db 0x7, 0x8, 0x9, 0xa
db 0x0, 0x1, 0x2, 0x3
db 0x1, 0x2, 0x3, 0x4
db 0x2, 0x3, 0x4, 0x5
db 0x3, 0x4, 0x5, 0x6
db 0x4, 0x5, 0x6, 0x7
db 0x5, 0x6, 0x7, 0x8
db 0x6, 0x7, 0x8, 0x9
db 0x7, 0x8, 0x9, 0xa
bswap_shuf:
db 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00
db 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, 0x0a, 0x09, 0x08
db 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00
db 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, 0x0a, 0x09, 0x08
db 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00
db 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, 0x0a, 0x09, 0x08
db 0x07, 0x06, 0x05, 0x04, 0x03, 0x02, 0x01, 0x00
db 0x0f, 0x0e, 0x0d, 0x0c, 0x0b, 0x0a, 0x09, 0x08
qword_shuf:
db 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7
db 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8
db 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9
db 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa
db 0x4, 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb
db 0x5, 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc
db 0x6, 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd
db 0x7, 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe
db 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf
%define PROD1 0xE84B
%define PROD2 0x97B1
hash_prod:
dw PROD1, PROD2, PROD1, PROD2, PROD1, PROD2, PROD1, PROD2
dw PROD1, PROD2, PROD1, PROD2, PROD1, PROD2, PROD1, PROD2
dw PROD1, PROD2, PROD1, PROD2, PROD1, PROD2, PROD1, PROD2
dw PROD1, PROD2, PROD1, PROD2, PROD1, PROD2, PROD1, PROD2
null_dist_syms:
dd LIT, LIT, LIT, LIT, LIT, LIT, LIT, LIT
dd LIT, LIT, LIT, LIT, LIT, LIT, LIT, LIT
increment:
dd 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7
dd 0x8, 0x9, 0xa, 0xb, 0xc, 0xd, 0xe, 0xf
ones:
dd 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1
dd 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1
thirty:
dd 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e
dd 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e, 0x1e
twofiftyfour:
dd 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe
dd 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe, 0xfe
dist_mask:
dd D-1, D-1, D-1, D-1, D-1, D-1, D-1, D-1
dd D-1, D-1, D-1, D-1, D-1, D-1, D-1, D-1
hash_mask:
dd HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK
dd HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK
dd HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK
dd HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK, HASH_MAP_HASH_MASK
lit_len_mask:
dd LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK
dd LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK
dd LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK
dd LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK, LIT_LEN_MASK
shortest_matches:
dd MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH
dd MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH
dd MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH
dd MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH, MIN_DEF_MATCH
k_mask_1:
dq 0xaaaaaaaaaaaaaaaa
k_mask_2:
dq 0x7fff
%endif
| 26.785714 | 82 | 0.739037 |
8b8586a22279ff95a8d034b0941452fe9dec8aeb | 1,084 | asm | Assembly | programs/oeis/047/A047479.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/047/A047479.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/047/A047479.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A047479: Numbers that are congruent to {0, 1, 5, 7} mod 8.
; 0,1,5,7,8,9,13,15,16,17,21,23,24,25,29,31,32,33,37,39,40,41,45,47,48,49,53,55,56,57,61,63,64,65,69,71,72,73,77,79,80,81,85,87,88,89,93,95,96,97,101,103,104,105,109,111,112,113,117,119,120,121,125,127,128,129,133,135,136,137,141,143,144,145,149,151,152,153,157,159,160,161,165,167,168,169,173,175,176,177,181,183,184,185,189,191,192,193,197,199,200,201,205,207,208,209,213,215,216,217,221,223,224,225,229,231,232,233,237,239,240,241,245,247,248,249,253,255,256,257,261,263,264,265,269,271,272,273,277,279,280,281,285,287,288,289,293,295,296,297,301,303,304,305,309,311,312,313,317,319,320,321,325,327,328,329,333,335,336,337,341,343,344,345,349,351,352,353,357,359,360,361,365,367,368,369,373,375,376,377,381,383,384,385,389,391,392,393,397,399,400,401,405,407,408,409,413,415,416,417,421,423,424,425,429,431,432,433,437,439,440,441,445,447,448,449,453,455,456,457,461,463,464,465,469,471,472,473,477,479,480,481,485,487,488,489,493,495,496,497
mov $1,$0
lpb $0
sub $0,4
add $1,4
lpe
lpb $0
mod $0,2
add $1,3
lpe
| 83.384615 | 945 | 0.7131 |
e3973c42bf07a82c97f0034f3fc60c2d05a6938a | 568 | asm | Assembly | programs/oeis/243/A243306.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/243/A243306.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/243/A243306.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A243306: 2^phi(n) - phi(n).
; 1,1,2,2,12,2,58,12,58,12,1014,12,4084,58,248,248,65520,58,262126,248,4084,1014,4194282,248,1048556,4084,262126,4084,268435428,248,1073741794,65520,1048556,65520,16777192,4084,68719476700,262126,16777192,65520,1099511627736,4084,4398046511062,1048556,16777192,4194282,70368744177618,65520,4398046511062,1048556,4294967264,16777192,4503599627370444,262126,1099511627736,16777192,68719476700,268435428
cal $0,10 ; Euler totient function phi(n): count numbers <= n and prime to n.
mov $2,1
mul $2,$0
mov $0,2
pow $0,$2
sub $0,$2
mov $1,$0
| 51.636364 | 400 | 0.776408 |
1c60ce157d3ca1ede0c1a468f8d595c488be2528 | 816 | asm | Assembly | oeis/185/A185010.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/185/A185010.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/185/A185010.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A185010: a(n) = A000108(n)*A015518(n+1), where A000108 are the Catalan numbers and A015518(n) = 2*A015518(n-1) + 3*A015518(n-2).
; Submitted by Jon Maiga
; 1,2,14,100,854,7644,72204,703560,7037030,71772844,743844452,7810307960,82909630972,888316731800,9593823377880,104332819539600,1141523825614470,12556761952114380,138785264158902900,1540516430396559000,17165754516697206420,191944345934966132040,2153114837101102653480,24222541917044345238000,273230272825550118431964,3089603854253281700483064,35015510348222226625213544,397676153240454325978294960,4525280364460606078049589560,51588196154849907047548669616,589103917381193076110122384048
mov $2,$0
add $0,1
seq $0,15518 ; a(n) = 2*a(n-1) + 3*a(n-2), with a(0)=0, a(1)=1.
seq $2,108 ; Catalan numbers: C(n) = binomial(2n,n)/(n+1) = (2n)!/(n!(n+1)!).
mul $0,$2
| 81.6 | 487 | 0.794118 |
0eac186261b625f6b515c3c2aeec5fe0f5afbc59 | 10,464 | asm | Assembly | graphics1.asm | MTKilpatrick/pxt-microbit-ssd1309 | c807cbc20cf46bf6c9872eb61f888b5d2cdcbaab | [
"MIT"
] | null | null | null | graphics1.asm | MTKilpatrick/pxt-microbit-ssd1309 | c807cbc20cf46bf6c9872eb61f888b5d2cdcbaab | [
"MIT"
] | null | null | null | graphics1.asm | MTKilpatrick/pxt-microbit-ssd1309 | c807cbc20cf46bf6c9872eb61f888b5d2cdcbaab | [
"MIT"
] | null | null | null | ; routines for graphics
pBoxAsm:
push {r4,r5,r6,r7,lr}
cmp r0, r2
bmi .pBox1
mov r4, r0
mov r0, r2
mov r2, r4
.pBox1:
cmp r1, r3
bmi .pBox2
mov r4, r1
mov r1, r3
mov r3, r4
.pBox2:
mov r4, r2
orrs r4, r3
bmi .pBoxReturn ; if x1 or y1 are negative, exit
cmp r2, #128
bmi .pBox5
movs r2, #127 ; if x1 > 127, x1 = 127
.pBox5:
cmp r1, #0
bpl .pBox3
movs r1, #0 ; if y0 < 0, y0 = 0
.pBox3:
cmp r3, #63
bls .pBox4
movs r3, #63 ; if y1 > 63, y1 = 63
.pBox4:
cmp r0, #0
bpl .pBox6
movs r0, #0 ; if x0 < 0, x0 = 0
.pBox6:
movs r4, #7
ands r4, r1 ; r4 = (y0 & 7)
movs r6, #0xff
lsls r6, r4 ; r6 = 0xff << (y0 & 7) bitmask
lsrs r5, r1, #3 ; r5 = (y0 >> 3)
cmp r5, #7 ; if (y0 > 63) return
bhi .pBoxReturn
lsls r4, r5, #7 ; r4 = 128 * (y0>>3)
adds r4, r4, r0 ; r4 = x0 + 128 * (y0>>3)
subs r7, r2, r0 ; r7 = x1 - x0
lsrs r1, r3, #3 ; r1 = y1 >>3
movs r2, #7
ands r2, r3 ; r2 = y1 & 7
bl ssd1309::getMyBufferData
adds r4, r4, r0
bl ssd1309::getPlotState
subs r1, r1, r5 ; r1 = j = (y1>>3) - (y0>>3)
bne .pBoxElse
; r0 - state
; r1 - (y1 >>3) - (y0 >>3)
; r2 - y1 & 7
; r3 - empty
; r4 - start offset
; r5 -
; r6 - bit mask
; r7 - x1 - x0
; just one row of bits...
movs r3, #0xfe
lsls r3, r2 ; r3 = 0xfe << (y1 & 7)
eors r6, r3 ; bitmask r6 = r6 EOR r3
b .pBoxEndStore ; do the row fill same as last row
.pBoxElse:
bl pBoxRowFill
.pBoxLoop2:
adds r4, #128
subs r1, #1
beq .pBoxLoopOut
movs r3, #0x00
subs r3, r3, r0
mov r5, r7
.pBoxLoop1:
strb r3, [r4, r5]
subs r5, #1
bpl .pBoxLoop1
b .pBoxLoop2
.pBoxLoopOut:
movs r6, #2
lsls r6, r2
subs r6, #1 ; bitmask = (2 << (y1 & 7)) - 1;
.pBoxEndStore:
bl pBoxRowFill
.pBoxReturn:
pop {r4,r5,r6,r7,pc}
pBoxRowFill:
mov r5, r7
cmp r0, #1
bne .pBoxRFLF
.pBoxRFLT:
ldrb r3, [r4, r5]
orrs r3, r6
strb r3, [r4, r5]
subs r5, #1
bpl .pBoxRFLT
mov pc, lr
.pBoxRFLF:
ldrb r3, [r4, r5]
bics r3, r6
strb r3, [r4, r5]
subs r5, #1
bpl .pBoxRFLF
mov pc, lr
.vLineNeg:
movs r1, #0 ; if y0 < 0, y0 = 0
cmp r2, #0 ; if y1 < 0, exit
bpl .vLine2
b .vLineReturn
.vLineStart:
mov r2, r3
; vertical line plot
; r0 = x
; r1 = y0
; r2 = y1
vLineAsm:
push {r4,r5,r6,lr}
lsrs r3, r0, #7
bne .vLineReturn ; if x out of range, exit
cmp r1, r2
bmi .vLine1
mov r3, r2 ; if (y0 > y1) {y = y1, y1 = y0}
mov r2, r1
mov r1, r3
.vLine1:
cmp r1, #0
bmi .vLineNeg
.vLine2:
lsrs r3, r2, #6
bne .vLine3
movs r3, #63 ; if (y1 > 63) y1 = 63;
.vLine3:
lsrs r5, r1, #3 ; r5 = (y0 >> 3)
cmp r5, #7 ; if (y0 > 63) return
bhi .vLineReturn
lsls r3, r5, #7 ; r3 = 128 * (y>>3)
adds r4, r3, r0 ; r4 = x + 128 * (y>>3)
movs r3, #7
ands r3, r1 ; r3 = (y & 7)
movs r6, #0xff
lsls r6, r3 ; r6 = 0xff << (y & 7) bitmask
lsrs r1, r2, #3 ; r1 = (y1 >> 3)
bl ssd1309::getMyBufferData
adds r4, r4, r0
bl ssd1309::getPlotState
subs r1, r1, r5 ; r1 = j
bne .vLineElse ; if more than one line got to Else
; r0 - state
; r1 - y1 >> 3 - y >>3
; r2 - y1
; r3 -
; r4 - start offset
; r5 -
; r6 - bit mask
movs r5, #7
ands r5, r2
movs r3, #0xfe
lsls r3, r5 ; r3 = 0xfe << (y1 & 7)
eors r6, r3 ; bitmask r6 = r6 EOR r3
b .vLineEndStore
.vLineElse:
ldrb r3, [r4, #0]
cmp r0, #1
bne .vLineFalse2
orrs r3, r6
strb r3, [r4, #0]
movs r5, #0xff
b .vLine4
.vLineFalse2:
movs r5, #0
bics r3, r6
strb r3, [r4, #0]
.vLine4:
adds r4, #128
; cmp r1, #1
; beq .vLineLoopOut
subs r1, #1
beq .vLineLoopOut
strb r5, [r4, #0]
b .vLine4
.vLineLoopOut:
movs r3, #7
ands r3, r2 ; y1 & 7
movs r6, #2
lsls r6, r3
subs r6, #1 ; bitmask = (2 << (y1 & 7)) - 1;
.vLineEndStore:
ldrb r3, [r4, #0]
cmp r0, #1
bne .vLineFalse3
orrs r3, r6
b .vLineReturnstrb
.vLineFalse3:
bics r3, r6
.vLineReturnstrb:
strb r3, [r4, #0]
.vLineReturn:
pop {r4, r5, r6, pc}
pLineAsm:
cmp r0, r2
beq .vLineStart
cmp r1, r3
beq .hLineStart
push {r0,r3,r4,r5,r6,r7,lr}
bl ssd1309::getPlotState
mov r12, r0
bl ssd1309::getMyBufferData
mov r9, r0
pop {r0,r3}
subs r6, r0, r2
bpl .pLine1
subs r6, r2, r0
.pLine1:
subs r5, r1, r3
bpl .pLine2
subs r5, r3, r1
.pLine2: ; r4 = abs(dx), r5 = abs(dy)
cmp r5, r6
bhi .pLineDyGtDx
.pLineDxGtDy:
lsls r5, r5, #1 ; r5 = a
mov r10, r5 ; r10 = a
subs r7, r5, r6 ; r7 = p = a - dx
subs r6, r7, r6 ; r6 = b = p - dx
adds r5, r2, r0
lsrs r5, r5, #1 ; r5 = mid
cmp r0, r2
bmi .pLineNoSwap1
mov r8, r0
mov r0, r2
mov r2, r8
mov r8, r1
mov r1, r3
mov r3, r8
.pLineNoSwap1: ; r0 = x, r1 = y, r2 = x1, r3 = y1, r5 = mid, r6 = b, r7 = p, r9 = buffer, r10 = a, r12 = state
movs r4, #1
cmp r3, r1
bpl .pLine3
subs r4, #2
.pLine3:
mov r8, r4
; r0 = x, r1 = y, r2 = x1, r5 = mid, r6 = b, r7 = p, r8 = yc, r9 = buffer, r10 = a, r12 = state
.pLineP1Start:
; r0 = x, r1 = y, r2 = x1, r5 = mid, r6 = b, r7 = p, r8 = yc, r9 = buffer, r10 = a, r12 = state
bl writePixelQAsm ; here
cmp r0, r2
bpl .pLineReturn
cmp r7, #0
beq .pLineP12
bpl .pLineP1Else
.pLineP1If:
add r7, r10 ; if (p < 0) || ((p == 0) && x >=mid), p = p + a
adds r0, #1
b .pLineP1Start
.pLineP12:
cmp r0, r5
bpl .pLineP1If
.pLineP1Else:
add r7, r6
add r1, r8
adds r0, #1
b .pLineP1Start
.pLineReturn:
pop {r4,r5,r6,r7,pc}
.pLineDyGtDx:
lsls r4, r4, #1 ; r5 = a = dx << 1
mov r10, r4 ; r10 = a
subs r7, r4, r5 ; r7 = p = a - dy
subs r6, r7, r5 ; r6 = b = p - dy
adds r5, r3, r1
lsrs r5, r5, #1 ; r5 = mid = (y0 + y1) >> 1
cmp r1, r3
bmi .pLineNoSwap1D
mov r4, r0
mov r0, r2 ; r0 = x
mov r2, r4 ; r2 = x1
mov r4, r1
mov r1, r3 ; r1 = y
mov r3, r4 ; r3 = y1
; r0 = x, r1 = y, r2 = x1, r3 = y1, r5 = mid, r6 = b, r7 = p, r8 = xc, r9 = buffer, r12 = state, r10 = a
.pLineNoSwap1D:
; r0 = x, r1 = y, r2 = x1, r3 = y1, r5 = mid, r6 = b, r7 = p, r8 = xc, r9 = buffer, r12 = state, r10 = a
movs r4, #1
cmp r2, r0
bpl .pLine3D
subs r4, #2
.pLine3D:
mov r8, r4
mov r2, r3 ; discard x1 and keep y1
; r0 = x, r1 = y, r2 = y1, r5 = mid, r6 = b, r7 = p, r8 = xc, r9 = buffer, r12 = state, r10 = a
.pLineP1StartD:
bl writePixelQAsm ; here
cmp r1, r2
bpl .pLineReturn
cmp r7, #0
beq .pLineP12D
bpl .pLineP1ElseD
.pLineP1IfD:
add r7, r10
adds r1, #1
b .pLineP1StartD
.pLineP12D:
cmp r1, r5
bpl .pLineP1IfD
.pLineP1ElseD:
add r7, r6
add r0, r8
adds r1, #1
b .pLineP1StartD
.hLineNeg:
movs r0, #0 ; if (r0 < 0) r0 = 0
cmp r1, #0 ; if (r1 < 0) return
bmi .hLineReturn
cmp r1, #128
bmi .hLineC
.hLineNeg2:
movs r1, #127 ; if (r1 > 127) r1 = 127;
cmp r0, #128
bmi .hLineC
b .hLineReturn
.hLineStart:
mov r1, r2
mov r2, r3
; horizontal line plot
; r0 - x0
; r1 - x1
; r2 - y
hLineAsm:
push {r4,lr}
cmp r0, r1
bmi .hLineA1
mov r3, r0 ; if (r0 > r1) {r4 = r1, r1 = r0}
mov r0, r1
mov r1, r3
.hLineA1:
cmp r0, #0 ; if r0 < 0
bmi .hLineNeg
.hLineB1:
cmp r1, #128
bpl .hLineNeg2
.hLineC:
lsrs r3, r2, #3
cmp r3, #7
bhi .hLineReturn ; if y out of range, exit
lsls r3, r3, #7
subs r1, r1, r0 ; r1 = dx
adds r4, r0, r3 ; r4 = r0 + 128 * (r2>>3) ****
movs r3, #7 ; set up the bit mask
ands r3, r2
movs r2, #1
lsls r2, r3 ; r2 = 1 << (r2 & 7)
bl ssd1309::getMyBufferData
adds r4, r4, r0 ; r6 is the start offset
bl ssd1309::getPlotState ; returns 0 or 1 ??
;r0 - plot state
;r1 - offset (x1-x0 down to zero)
;r2 - bit mask
;r3 -
;r4 - buffer position (128*7%8) + lowest x
cmp r0, #0
beq .hLinefalse
.hLinetrue:
ldrb r3, [r4, r1]
orrs r3, r2
strb r3, [r4, r1]
subs r1, #1
bpl .hLinetrue
b .hLineReturn
.hLinefalse:
ldrb r3, [r4, r1]
bics r3, r2
strb r3, [r4, r1]
subs r1, #1
bpl .hLinefalse
.hLineReturn:
pop {r4,pc}
writePixelQAsm:
; this routine doesn't load the plotState or the base buffer address
; r0 - x
; r1 - y
; r9 - buffer base
; r10 - plot plotState
push {r1,r2,lr}
cmp r0, #127 ; if (x >127) or (x < 0), extit
bhi .wpreturn4
lsrs r2, r1, #3 ; r2 = y >> 3
cmp r2, #7 ; if r2 > 7, exit (y > 63) or (y<0)
bhi .wpreturn4
lsls r2, r2, #7 ; r2 = 128 * (y>>3)
add r2, r9
movs r4, #7
ands r1, r4 ; r1 = y & 7
movs r3, #1
lsls r3, r1 ; r3 = 1 << (y & 7)
ldrb r4, [r2, r0]
bics r4, r3
mov r3, r12
lsls r3, r1 ; r3 = state << (y & 7)
orrs r4, r3
strb r4, [r2, r0]
.wpreturn4:
pop {r1,r2,pc}
; r0 - preserved
; r1 - corrupted
; r2 - corrupted
; r3 - corrupted
; r4 - corrupted
; pixel plot
writePixelAsm:
push {lr}
cmp r0, #127 ; if (x >127) or (x < 0), extit
bhi .wpreturn2
lsrs r2, r1, #3 ; r2 = y >> 3
cmp r2, #7 ; if r2 > 7, exit (y > 63) or (y<0)
bhi .wpreturn2
lsls r2, r2, #7 ; r2 = 128 * (y>>3)
adds r2, r2, r0 ; r2 = 128 * (y >>3) + x
movs r3, #7
ands r1, r3
bl ssd1309::getMyBufferData ; r0 points to data
adds r2, r2, r0
bl ssd1309::getPlotState
movs r3, #1 ; r2 = 1
lsls r3, r1 ; r3 = 1 << (y & 7)
lsls r0, r1
; r0 - OR mask
; r1 - y & 7
; r2 - address
; r3 - BIC mask
ldrb r1, [r2, #0]
bics r1, r3
orrs r1, r0
strb r1, [r2, #0]
.wpreturn2:
pop {pc} | 22.947368 | 117 | 0.486812 |
2fd81803e6e1c1fdebc584bd4365b40cd031a831 | 2,158 | asm | Assembly | course_3/LLPL/Lab3/Ex.asm | IlonaZellka/DonNU | 943111d7e5df022fdb0fdc7c14f31e1f529f4bf0 | [
"MIT"
] | null | null | null | course_3/LLPL/Lab3/Ex.asm | IlonaZellka/DonNU | 943111d7e5df022fdb0fdc7c14f31e1f529f4bf0 | [
"MIT"
] | null | null | null | course_3/LLPL/Lab3/Ex.asm | IlonaZellka/DonNU | 943111d7e5df022fdb0fdc7c14f31e1f529f4bf0 | [
"MIT"
] | 1 | 2021-09-30T05:50:44.000Z | 2021-09-30T05:50:44.000Z | .686
.model flat, stdcall, c
option casemap: none
ExitProcess PROTO STDCALL :DWORD
MessageBoxA PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
wsprintfA PROTO C :VARARG
.data
TitleMsg db '3 лаба',0
buffer db 128 dup(0) ; указываем буфер для форматированного вывода
format db '1 процедура = %d || 2 процедура = %d', 0 ; указываем строку формата со спецификациями форматов
; задаем исходные данные
a dd -5
b dd 0
z1 dd ?
z2 dd ?
z3 dd ?
y dd ?
a1 dd 15
a2 dd 2
y1 dd ?
y2 dd ?
.code
program:
mov eax, a
add eax, b
mov z1, eax
mov eax, a
sub eax, b
mov z2, eax
mov eax, a
add eax, b
mov ebx, -1
imul ebx
mov z3, eax
push z3 ; кладём параметры в стек
push z2
push z1
call Procedure1
mov y, eax
push 0
push offset y2
mov eax, a1
add eax, a2
mov ebx, 10
cdq
idiv ebx
mov y1, eax
push y1 ; кладём параметры в стек
call Procedure2
add esp, 4 ; освобождаем 4 байта стека
push 0
invoke wsprintfA, addr buffer, addr format, y, y2 ; формируем строку вывода по заданному формату
invoke MessageBoxA, 0, ADDR buffer, ADDR TitleMsg,0 ; выводим результат в диалоговое окно
call ExitProcess
Procedure1 proc ;соглашения о вызовах stdcall
mov eax, [esp + 4] ; заносим в EAX первый параметр
mov edx, [esp + 8] ; заносим в EDX второй параметр
mov ebx, [esp + 12] ; заносим в EBX третий параметр
cmp eax, 1
jge m1 ; если больше или равно 1, то уходим на метку m1
cmp edx, 1
jge m2 ; если больше или равно 1, то уходим на метку m2
cmp ebx, 1
jge m3 ; если больше или равно 1, то уходим на метку m3
jl m4 ; если меньше 1, то уходим на метку m4
m1:
mov eax, 0
jmp konec
m2:
mov eax, 1
jmp konec
m3:
mov eax, 2
jmp konec
m4:
mov eax, 3
jmp konec
konec:
ret 12 ;указываем, что надо освободить 12 байт стека
Procedure1 endp
Procedure2 proc ;соглашения о вызовах cdecl
mov eax, [esp + 4] ; заносим в EAX первый параметр
mov edx, [esp + 8] ; заносим в EDX адрес результата
cmp eax, 0
jg m1 ; если больше 0, то уходим на метку m1
mov eax, 182 ;
jmp konec
m1:
mov eax, 255
jmp konec
konec:
mov [edx], eax ; записываем результат по адресу в EDX
ret
Procedure2 endp
end program
| 18.603448 | 107 | 0.692308 |
2773749c620a9aa492301be1869b15fc9c1f1350 | 469 | asm | Assembly | asm/hello.asm | pedroreissantos/pepe | 444afc02359c31cfe24017dda49395016d94d43e | [
"BSD-3-Clause"
] | null | null | null | asm/hello.asm | pedroreissantos/pepe | 444afc02359c31cfe24017dda49395016d94d43e | [
"BSD-3-Clause"
] | null | null | null | asm/hello.asm | pedroreissantos/pepe | 444afc02359c31cfe24017dda49395016d94d43e | [
"BSD-3-Clause"
] | null | null | null | ; PEPE gerado por 'lcc' (IST: prs 2005)
; 'rl' serve como frame-pointer e 'r0' como acumulador
; os registos 'r1' a 'r10' sao preservados nas chamadas
PLACE 0
CALL main
SWE 240
; global main
; TEXT
main: ; ncalls=1
PUSH r10
PUSH rl
MOV rl, sp
MOV r10,L2
PUSH r10
CALL prints
ADD sp,2
MOV r0,0
L1:
MOV sp, rl
POP rl
POP r10
RET
; extern printf
; RODATA
L2: STRING "Sejam bem vindos!", 10, 0
PLACE 600
printf:
PUSH r0 ; save
MOV r0, [sp + 4]
SWE 246
POP r0 ; restore
RET
| 14.212121 | 55 | 0.69936 |
46df5178f60b1b7c62370acd513d7a0c4ecad436 | 758 | asm | Assembly | _maps/obj41.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 2 | 2020-04-09T19:36:35.000Z | 2021-01-05T14:20:17.000Z | _maps/obj41.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | null | null | null | _maps/obj41.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 1 | 2020-06-17T14:16:35.000Z | 2020-06-17T14:16:35.000Z | ; ---------------------------------------------------------------------------
; Sprite mappings - springs
; ---------------------------------------------------------------------------
dc.w byte_DD26-Map_obj41
dc.w byte_DD31-Map_obj41
dc.w byte_DD37-Map_obj41
dc.w byte_DD47-Map_obj41
dc.w byte_DD4D-Map_obj41
dc.w byte_DD53-Map_obj41
byte_DD26: dc.b 2
dc.b $F8, $C, 0, 0, $F0
dc.b 0, $C, 0, 4, $F0
byte_DD31: dc.b 1
dc.b 0, $C, 0, 0, $F0
byte_DD37: dc.b 3
dc.b $E8, $C, 0, 0, $F0
dc.b $F0, 5, 0, 8, $F8
dc.b 0, $C, 0, $C, $F0
byte_DD47: dc.b 1
dc.b $F0, 7, 0, 0, $F8
byte_DD4D: dc.b 1
dc.b $F0, 3, 0, 4, $F8
byte_DD53: dc.b 4
dc.b $F0, 3, 0, 4, $10
dc.b $F8, 9, 0, 8, $F8
dc.b $F0, 0, 0, 0, $F8
dc.b 8, 0, 0, 3, $F8
even | 27.071429 | 77 | 0.455145 |
5d68fb92ebbce1d41afddbf17dfaa03b81b2b913 | 24,041 | asm | Assembly | TP053094.asm | QQ879/Cash-Register | de68e5e5d8b775992983083ddc9e90a2ddb020ce | [
"MIT"
] | 1 | 2020-06-11T13:27:18.000Z | 2020-06-11T13:27:18.000Z | TP053094.asm | QQ879/Cash-Register | de68e5e5d8b775992983083ddc9e90a2ddb020ce | [
"MIT"
] | null | null | null | TP053094.asm | QQ879/Cash-Register | de68e5e5d8b775992983083ddc9e90a2ddb020ce | [
"MIT"
] | null | null | null | .model small
.386
.stack 512h
.data
mainMenu db 10,"------MAIN MENU------",10
db "1. Nasi Ayam",10
db "2. Burger Meal",10
db "3. Cupcake",10
db "4. Coffee",10
db "5. Statistics (Stocks, Balance)",10
db "6. Exit",10
db 10,"Enter your choice: $"
invalidInput db "Invalid Input! Try again$"
choice db 1 dup("$")
greeting db "Welcome back, $"
adminMessage db "Admin Name: $"
adminName db 30 dup("$")
newline db 10, "$" ; a new line
selection db "You have selected: $"
mealOne db "Nasi Ayam$"
mealTwo db "Burger Meal$"
pastry db "Cupcake$"
drink db "Coffee$"
priceOne db 8
priceTwo db 10
priceThree db 5
priceFour db 6
stockOne db 99
stockTwo db 99
stockThree db 99
stockFour db 99
stock db 10,"Available stock: $"
promptQuantity db " RM per Unit - How many of this unit: $"
quantity db 0
total db 0
earnings db 0
promptPayment db 10,10,"Price: RM $"
paid db ?
remaining db "Remaining: RM $"
invalidRem db "The amount entered is less than the subtotal!",10,"$"
anyKeyPrompt db 10,10,"Press any key to continue...",10,10,"$" ; for multi purposes
payPrompt db "Enter the given amount: RM $"
stockCheck db " (Units Left): $"
earningsPrompt db 10,"+ Today's earnings: RM $"
leaveNote db 10,10,"Purchase Completed, Next Person :)$" ; After a person has purchased
statistics db "------Statistics------",10,10,"$"
astespace db "* $"
timing db 10,"Time of Purchase: $"
.code
MAIN PROC
mov ax, @DATA
mov ds, ax ; set DS to point to the data segment.
mov ah, 09h
mov dx, OFFSET adminMessage ; promts name message
int 21h
mov byte ptr adminName, 21
mov dx, OFFSET adminName ; scans admin name
mov ah, 0Ah
int 21h
Menu:
mov al, 03h ; clears screen
mov ah, 00h
int 10h
mov ah, 09h
mov dx, OFFSET greeting ; prompts greeting message
int 21h
mov SI, 0002
lea DX, adminName[SI] ; prints admin name
mov ah, 09h
int 21h
mov ah, 09h
mov dx,offset newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET mainMenu ; prints the main menu
int 21h
mov ah, 01h ; Store variable choice
int 21h
mov choice,al
mov al, 03h ; clears screen
mov ah, 00h
int 10h
cmp choice, '1' ; if choice == 1
je choiceOne
cmp choice, '2'
je choiceTwo
cmp choice, '3'
je choiceThree
cmp choice, '4'
je choiceFour
cmp choice, '5'
je choiceFive
cmp choice, '6'
je exit
jne Menu ; else -> back to main menu
choiceOne:
mov ah, 09h
mov dx, OFFSET selection
int 21h
mov ah, 09h
mov dx, OFFSET mealOne
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET stock ; Displays available amount of meals
int 21h
mov al, stockOne ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov al, priceOne ; Prints the price of the item
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov dx, OFFSET promptQuantity ; Prints Quantity:
mov ah, 09h
int 21h
mov ah,01h ; Reads Quantity
int 21h
sub al, 48
mov quantity,al
mov ah, 09h
mov dx, OFFSET promptPayment
int 21h
mov al, priceOne ; This operation is used to calculate the total
mul quantity ; The total is quantity x price
mov total, al
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov ah, 09h
mov dx, OFFSET payPrompt ; Prints price
int 21h
mov bh, 0
mov bl, 10d
scanch: ; Reads a single digit
mov ah, 01h
int 21h
cmp al, 13d ; if user presses Enter it stops reading
jne storech ; otherwise, it keeps reading
jmp stopReading
storech: ; Stores each character after reading
sub al, 30h
mov cl, al
mov al, bh
mul bl
add al, cl
mov bh, al
mov paid, al
jmp scanch ; Goes back to reading a character after storing the previous character (Recursion)
stopReading:
mov al, paid ; Moving paid variable into variable for comparison
mov bl, total ; Moving total variable into variable for comparison
cmp al, bl
jae validPayment
cmp al, bl
jnae invalidPayment
validPayment:
sub al, bl ; Subtract the total from paid amount to get the remaining amount
mov ah, 09h
mov dx, OFFSET remaining ; prints the remaining message
int 21h
aam
add ax, 3030h
mov dh, al
mov dl, ah
mov ah, 02h
int 21h
mov dl, dh
mov ah, 02h
int 21h
mov ah, 09h
mov dx, OFFSET timing ; Prompts time message
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, ch ; Gets hour in ch
aam
mov bx, ax
call showTime
mov dl, ':' ; Separates hour and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, cl ; Gets minute in ch
aam
mov bx, ax
call showTime ; Call procedure
mov dl, ':' ; Separates second and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Gets seconds
int 21h
mov al, dh
aam
mov bx, ax
call showTime
mov ah, 09h
mov dx, OFFSET leaveNote ; After a completed purchase
int 21h
mov ah, 09h
mov dx, OFFSET anyKeyPrompt
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov al, stockOne
mov bl, quantity
sub al, bl
mov stockOne, al
mov al, earnings
mov bl, total
add al, bl
mov earnings, al
mov ah, 01h
int 21h
jmp Menu
invalidPayment: ; In case the paid amount is less than the total amount
mov ah, 06h ; Navigates the cursor to the uppermost pointer
xor al, al ; cls
xor cx, cx ; the beginning of the window
mov dx, 184fh ; the end of the window
mov bh, 04h ; Red color font on black window
int 10h ; BIOS
mov ah, 09h
mov dx, OFFSET invalidRem
int 21h
mov ah, 09h
mov dx, OFFSET anyKeyPrompt
int 21h
mov ah, 01h
int 21h
jmp Menu
choiceTwo:
mov ah, 09h
mov dx, OFFSET selection
int 21h
mov ah, 09h
mov dx, OFFSET mealTwo
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET stock ; Displays available amount of meals
int 21h
mov al, stockTwo ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov al, priceTwo ; Prints the price of the item
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov dx, OFFSET promptQuantity ; Prints Quantity:
mov ah, 09h
int 21h
mov ah,01h ; Reads Quantity
int 21h
sub al, 48
mov quantity,al
mov ah, 09h
mov dx, OFFSET promptPayment
int 21h
mov al, priceTwo ; This operation is used to calculate the total
mul quantity ; The total is quantity x price
mov total, al
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov ah, 09h
mov dx, OFFSET payPrompt ; Prints price
int 21h
mov bh, 0
mov bl, 10d
scanch2: ; Reads a single digit
mov ah, 01h
int 21h
cmp al, 13d ; if user presses Enter it stops reading
jne storech2 ; otherwise, it keeps reading
jmp stopReading2
storech2: ; Stores each character after reading
sub al, 30h
mov cl, al
mov al, bh
mul bl
add al, cl
mov bh, al
mov paid, al
jmp scanch2 ; Goes back to reading a character after storing the previous character (Recursion)
stopReading2:
mov al, paid ; Moving paid variable into variable for comparison
mov bl, total ; Moving total variable into variable for comparison
cmp al, bl
jae validPayment2
cmp al, bl
jnae invalidPayment
validPayment2:
sub al, bl ; Subtract the total from paid amount to get the remaining amount
mov ah, 09h
mov dx, OFFSET remaining ; prints the remaining message
int 21h
aam
add ax, 3030h
mov dh, al
mov dl, ah
mov ah, 02h
int 21h
mov dl, dh
mov ah, 02h
int 21h
mov ah, 09h
mov dx, OFFSET timing ; Prompts time message
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, ch ; Gets hour in ch
aam
mov bx, ax
call showTime
mov dl, ':' ; Separates hour and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, cl ; Gets minute in ch
aam
mov bx, ax
call showTime ; Call procedure
mov dl, ':' ; Separates second and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Gets seconds
int 21h
mov al, dh
aam
mov bx, ax
call showTime
mov ah, 09h
mov dx, OFFSET leaveNote
int 21h
mov ah, 09h
mov dx, OFFSET anyKeyPrompt
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov al, stockTwo
mov bl, quantity
sub al, bl
mov stockTwo, al
mov al, earnings
mov bl, total
add al, bl
mov earnings, al
mov ah, 01h
int 21h
jmp Menu
choiceThree:
mov ah, 09h
mov dx, OFFSET selection
int 21h
mov ah, 09h
mov dx, OFFSET pastry
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET stock ; Displays available amount of meals
int 21h
mov al, stockThree ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov al, priceThree ; Prints the price of the item
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov dx, OFFSET promptQuantity ; Prints Quantity:
mov ah, 09h
int 21h
mov ah,01h ; Reads Quantity
int 21h
sub al, 48
mov quantity,al
mov ah, 09h
mov dx, OFFSET promptPayment
int 21h
mov al, priceThree ; This operation is used to calculate the total
mul quantity ; The total is quantity x price
mov total, al
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov ah, 09h
mov dx, OFFSET payPrompt ; Prints price
int 21h
mov bh, 0
mov bl, 10d
scanch3: ; Reads a single digit
mov ah, 01h
int 21h
cmp al, 13d ; if user presses Enter it stops reading
jne storech3 ; otherwise, it keeps reading
jmp stopReading3
storech3: ; Stores each character after reading
sub al, 30h
mov cl, al
mov al, bh
mul bl
add al, cl
mov bh, al
mov paid, al
jmp scanch3 ; Goes back to reading a character after storing the previous character (Recursion)
stopReading3:
mov al, paid ; Moving paid variable into variable for comparison
mov bl, total ; Moving total variable into variable for comparison
cmp al, bl
jae validPayment3
cmp al, bl
jnae invalidPayment
validPayment3:
sub al, bl ; Subtract the total from paid amount to get the remaining amount
mov ah, 09h
mov dx, OFFSET remaining ; prints the remaining message
int 21h
aam
add ax, 3030h
mov dh, al
mov dl, ah
mov ah, 02h
int 21h
mov dl, dh
mov ah, 02h
int 21h
mov ah, 09h
mov dx, OFFSET timing ; Prompts time message
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, ch ; Gets hour in ch
aam
mov bx, ax
call showTime
mov dl, ':' ; Separates hour and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, cl ; Gets minute in ch
aam
mov bx, ax
call showTime ; Call procedure
mov dl, ':' ; Separates second and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Gets seconds
int 21h
mov al, dh
aam
mov bx, ax
call showTime
mov ah, 09h
mov dx, OFFSET leaveNote
int 21h
mov ah, 09h
mov dx, OFFSET anyKeyPrompt
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov al, stockThree
mov bl, quantity
sub al, bl
mov stockThree, al
mov al, earnings
mov bl, total
add al, bl
mov earnings, al
mov ah, 01h
int 21h
jmp Menu
choiceFour:
mov ah, 09h
mov dx, OFFSET selection
int 21h
mov ah, 09h
mov dx, OFFSET drink
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET stock ; Displays available amount of meals
int 21h
mov al, stockFour ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov al, priceFour ; Prints the price of the item
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov dx, OFFSET promptQuantity ; Prints Quantity:
mov ah, 09h
int 21h
mov ah,01h ; Reads Quantity
int 21h
sub al, 48
mov quantity,al
mov ah, 09h
mov dx, OFFSET promptPayment
int 21h
mov al, priceFour ; This operation is used to calculate the total
mul quantity ; The total is quantity x price
mov total, al
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov ah, 09h
mov dx, OFFSET payPrompt ; Prints price
int 21h
mov bh, 0
mov bl, 10d
scanch4: ; Reads a single digit
mov ah, 01h
int 21h
cmp al, 13d ; if user presses Enter it stops reading
jne storech4 ; otherwise, it keeps reading
jmp stopReading4
storech4: ; Stores each character after reading
sub al, 30h
mov cl, al
mov al, bh
mul bl
add al, cl
mov bh, al
mov paid, al
jmp scanch4 ; Goes back to reading a character after storing the previous character (Recursion)
stopReading4:
mov al, paid ; Moving paid variable into variable for comparison
mov bl, total ; Moving total variable into variable for comparison
cmp al, bl
jae validPayment4
cmp al, bl
jnae invalidPayment
validPayment4:
sub al, bl ; Subtract the total from paid amount to get the remaining amount
mov ah, 09h
mov dx, OFFSET remaining ; prints the remaining message
int 21h
aam
add ax, 3030h
mov dh, al
mov dl, ah
mov ah, 02h
int 21h
mov dl, dh
mov ah, 02h
int 21h
mov ah, 09h
mov dx, OFFSET timing ; Prompts time message
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, ch ; Gets hour in ch
aam
mov bx, ax
call showTime
mov dl, ':' ; Separates hour and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Get time from system
int 21h
mov al, cl ; Gets minute in ch
aam
mov bx, ax
call showTime ; Call procedure
mov dl, ':' ; Separates second and minute
mov ah, 02h
int 21h
mov ah, 2ch ; Gets seconds
int 21h
mov al, dh
aam
mov bx, ax
call showTime
mov ah, 09h
mov dx, OFFSET leaveNote
int 21h
mov ah, 09h
mov dx, OFFSET anyKeyPrompt
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov al, stockFour
mov bl, quantity
sub al, bl
mov stockFour, al
mov al, earnings
mov bl, total
add al, bl
mov earnings, al
mov ah, 01h
int 21h
jmp Menu
choiceFive:
mov ah, 09h
mov dx, OFFSET statistics
int 21h
mov ah, 09h
mov dx, OFFSET astespace
int 21h
mov ah, 09h
mov dx, OFFSET mealOne
int 21h
mov ah, 09h
mov dx, OFFSET stockCheck
int 21h
mov al, stockOne ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET astespace
int 21h
mov ah, 09h
mov dx, OFFSET mealTwo
int 21h
mov ah, 09h
mov dx, OFFSET stockCheck
int 21h
mov al, stockTwo ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET astespace
int 21h
mov ah, 09h
mov dx, OFFSET Pastry
int 21h
mov ah, 09h
mov dx, OFFSET stockCheck
int 21h
mov al, stockThree ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline ; goes to next line
int 21h
mov ah, 09h
mov dx, OFFSET astespace
int 21h
mov ah, 09h
mov dx, OFFSET drink
int 21h
mov ah, 09h
mov dx, OFFSET stockCheck
int 21h
mov al, stockFour ; Prints the available stock
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET newline
int 21h
mov ah, 09h
mov dx, OFFSET earningsPrompt
int 21h
mov al, earnings ; Prints the total Earnings
mov bl, 0
add al, bl
aam
add ax, 3030h
mov dh,al
mov dl,ah
mov ah,2
int 21h
mov dl,dh
mov ah,2
int 21h
mov ah, 09h
mov dx, OFFSET anyKeyPrompt ;Press anything to continue
int 21h
mov ah, 01h
int 21h
jmp Menu
exit:
mov ah,4ch
int 21h
showTime PROC ; Procedure to take time from system
mov dl, bh ; this is the bh part of bx
add dl, 30h
mov ah, 02h
int 21h
mov dl, bl ; this is the bl part of bx
add dl, 30h
mov ah, 02h
int 21h
ret
showTime ENDP
END MAIN | 21.935219 | 120 | 0.479847 |
a4cfc4f9598a8dae9ca63c068a756ab1100e29a5 | 397 | asm | Assembly | programs/oeis/202/A202307.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/202/A202307.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/202/A202307.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A202307: Floor(sqrt(11*n)).
; 0,3,4,5,6,7,8,8,9,9,10,11,11,11,12,12,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,19,19,20,20,20,20,21,21,21,22,22,22,22,22,23,23,23,23,24,24,24,24,25,25,25,25,25,26,26,26,26,26,27,27,27,27,27,28,28,28,28,28,29,29,29,29,29,30,30,30,30,30,30,31,31,31,31,31,31,32,32,32,32,32,33
mul $0,11
lpb $0
sub $0,1
add $1,2
trn $0,$1
lpe
div $1,2
mov $0,$1
| 33.083333 | 291 | 0.622166 |
873441ff47a8e9629490a2f7c6e6da539230cd76 | 649 | asm | Assembly | asm/src/fib.asm | nobodywasishere/fio | 0eb1f2ccade323493dfa8984bac62c36fe3df071 | [
"MIT"
] | null | null | null | asm/src/fib.asm | nobodywasishere/fio | 0eb1f2ccade323493dfa8984bac62c36fe3df071 | [
"MIT"
] | null | null | null | asm/src/fib.asm | nobodywasishere/fio | 0eb1f2ccade323493dfa8984bac62c36fe3df071 | [
"MIT"
] | 1 | 2022-02-14T21:46:42.000Z | 2022-02-14T21:46:42.000Z | ADDI X16, XZR, 43 // Number of fib iterations
ADDI X5, XZR, 0 // Calc next fib number
ADDI X6, XZR, 1
ADDI X24, XZR, 0
fib:
ADD X7, X6, X5
ADDI X5, X6, 0
ADDI X6, X7, 0
SUBI X16, X16, 1 // Dec fib iterator
ADDI X0, X5, 0
print_start:
ADDI X9, X9, 8 // Print fib number
ADDI X10, X22, 0
print_x:
STUR X0, [X10, 0]
SUBI X9, X9, 1
ADDI X10, X10, 1
LSR X0, X0, 4
// CBZ X0, btn_start
CBNZ X9, print_x
btn_wait:
LDUR X25, [X23, 1]
CBNZ X25, 3
ADDI X24, X25, 0
B btn_wait
CBZ X24, 3
ADDI X24, X25, 0
B btn_wait
CBNZ X16, fib
B 0 // Stop
| 19.088235 | 49 | 0.542373 |
4b6d24d0d91fc2a974c84ec48f0613a2b8a75b8f | 605 | asm | Assembly | oeis/036/A036549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/036/A036549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/036/A036549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A036549: a(n) = T(8,n), array T given by A048471.
; 1,257,1025,3329,10241,30977,93185,279809,839681,2519297,7558145,22674689,68024321,204073217,612219905,1836659969,5509980161,16529940737,49589822465,148769467649,446308403201,1338925209857,4016775629825,12050326889729,36150980669441,108452942008577,325358826025985,976076478078209,2928229434234881,8784688302704897,26354064908114945,79062194724345089,237186584173035521,711559752519106817,2134679257557320705,6404037772671962369,19212113318015887361,57636339954047662337,172909019862142987265
mov $1,3
pow $1,$0
div $1,2
mul $1,256
add $1,1
mov $0,$1
| 60.5 | 493 | 0.854545 |
150db20917b472d602a847b4514e146e7b003d18 | 125 | asm | Assembly | Mips/Studies/divisaoInteiros.asm | otavreis/-Computer-Architecture-and-Organization | 317c7077b1b08a50985767d8114af5be580cc764 | [
"MIT"
] | 1 | 2020-09-03T00:16:24.000Z | 2020-09-03T00:16:24.000Z | Mips/Studies/divisaoInteiros.asm | otavreis/-Computer-Architecture-and-Organization | 317c7077b1b08a50985767d8114af5be580cc764 | [
"MIT"
] | null | null | null | Mips/Studies/divisaoInteiros.asm | otavreis/-Computer-Architecture-and-Organization | 317c7077b1b08a50985767d8114af5be580cc764 | [
"MIT"
] | null | null | null | .text
li $t0, 32
li $t1, 5
srl $s2, $t0, 2
div $t0, $t1
# parte inteira em s0
mflo $s0
# resto em $s1
mfhi $s1 | 9.615385 | 22 | 0.536 |
df897225895a274cbd611d333c34a577efb1e961 | 254 | asm | Assembly | audio/sfx/slots_new_spin.asm | AmateurPanda92/pokemon-rby-dx | f7ba1cc50b22d93ed176571e074a52d73360da93 | [
"MIT"
] | 9 | 2020-07-12T19:44:21.000Z | 2022-03-03T23:32:40.000Z | audio/sfx/slots_new_spin.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 7 | 2020-07-16T10:48:52.000Z | 2021-01-28T18:32:02.000Z | audio/sfx/slots_new_spin.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 2 | 2021-03-28T18:33:43.000Z | 2021-05-06T13:12:09.000Z | SFX_Slots_New_Spin_Ch4:
duty 3
squarenote 5, 14, 1, 1792
squarenote 2, 14, 1, 1920
squarenote 15, 15, 1, 1984
endchannel
SFX_Slots_New_Spin_Ch5:
duty 2
squarenote 4, 12, 1, 1729
squarenote 2, 12, 1, 1857
squarenote 15, 13, 1, 1921
endchannel
| 16.933333 | 27 | 0.724409 |
50b1388454466fb12c508e0ccb6b3960928bf038 | 619 | asm | Assembly | snippets/bit_fun.test.i.asm | ped7g/ZXSpectrumNextMisc | 0148cd8f0529bff4451f089fd7106ea06713e766 | [
"MIT"
] | 15 | 2019-04-06T20:38:41.000Z | 2022-02-27T16:50:31.000Z | snippets/bit_fun.test.i.asm | ped7g/ZXSpectrumNextMisc | 0148cd8f0529bff4451f089fd7106ea06713e766 | [
"MIT"
] | 7 | 2020-05-01T08:14:54.000Z | 2022-03-30T19:54:34.000Z | snippets/bit_fun.test.i.asm | ped7g/ZXSpectrumNextMisc | 0148cd8f0529bff4451f089fd7106ea06713e766 | [
"MIT"
] | 1 | 2020-08-23T17:36:20.000Z | 2020-08-23T17:36:20.000Z | MODULE bit_fun
test:
ld b,0 ; value to test and loop through
.loop:
ld a,b
call nibrrca_z80n ; call my variant of the routine
ld e,a ; preserve result in E
ld a,b
call twitter_post ; call original twitter post
cp e
jr nz,.error ; one of the two doesn't work correctly, if the result differs
djnz .loop ; do all 256 possible inputs
ret
.error:
; return signalling error
nextreg TILEMAP_DEFAULT_ATTR_NR_6C,2
ret
ENDMODULE
| 29.47619 | 94 | 0.523425 |
e192412cc8a02729fce216114f2d09c35dc6c1a0 | 619 | asm | Assembly | oeis/010/A010549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/010/A010549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/010/A010549.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A010549: Decimal expansion of square root of 98.
; 9,8,9,9,4,9,4,9,3,6,6,1,1,6,6,5,3,4,1,6,1,1,8,2,1,0,6,9,4,6,7,8,8,6,5,4,9,9,8,7,7,0,3,1,2,7,6,3,8,6,3,6,5,1,2,2,3,6,7,5,8,1,6,5,9,3,5,1,2,7,3,4,9,2,3,4,7,4,9,2,7,1,9,5,2,7,1,2,7,4,0,2,9,3,4,9,1,0,0,9
mov $1,1
mov $2,1
mov $3,$0
add $3,8
mov $4,$0
add $4,3
mul $4,2
mov $7,10
pow $7,$4
mov $9,10
lpb $3
mov $4,$2
pow $4,2
mul $4,98
mov $5,$1
pow $5,2
add $4,$5
mov $6,$1
mov $1,$4
mul $6,$2
mul $6,2
mov $2,$6
mov $8,$4
div $8,$7
max $8,2
div $1,$8
div $2,$8
sub $3,1
lpe
mov $3,$9
pow $3,$0
div $2,$3
div $1,$2
mod $1,$9
mov $0,$1
| 15.871795 | 201 | 0.50727 |
e1c09303399d861a7def83dc9141b7e6eb977296 | 2,492 | asm | Assembly | src/arch/x86/boot/myboot/boot.asm | 45degree/xbook2 | 1450d228ce538ae8ad1a2f96e442b8da22e06950 | [
"MIT"
] | 416 | 2020-03-24T10:09:20.000Z | 2022-03-30T16:55:07.000Z | src/arch/x86/boot/myboot/boot.asm | 45degree/xbook2 | 1450d228ce538ae8ad1a2f96e442b8da22e06950 | [
"MIT"
] | 22 | 2020-05-29T03:53:55.000Z | 2021-07-22T00:59:37.000Z | src/arch/x86/boot/myboot/boot.asm | 45degree/xbook2 | 1450d228ce538ae8ad1a2f96e442b8da22e06950 | [
"MIT"
] | 65 | 2020-06-02T05:50:27.000Z | 2021-12-31T10:41:33.000Z | %include "const.inc"
%include "config.inc"
org 0x7c00
[bits 16]
align 16
entry:
mov ax, cs
mov ds, ax
mov ss, ax
mov sp, 0
mov ax, 0xb800
mov es, ax
call clean_screen
;show 'BOOT'
mov byte [es:0],'B'
mov byte [es:1],0x07
mov byte [es:2],'O'
mov byte [es:3],0x07
mov byte [es:4],'O'
mov byte [es:5],0x07
mov byte [es:6],'T'
mov byte [es:7],0x07
mov ax, LOADER_SEG
mov dx, 0
mov si, LOADER_OFF
mov cx, LOADER_CNTS
xor bx, bx
call read_sectors
jmp LOADER_SEG:0
clean_screen:
mov ax, 0x02
int 0x10
ret
%ifdef CONFIG_BOOT_FLOPPY
; function: read a sector data from floppy
; @input:
; es: dx -> buffer seg: off
; si -> lba
floppy_read_sector:
push ax
push cx
push dx
push bx
mov ax, si
xor dx, dx
mov bx, 18
div bx
inc dx
mov cl, dl
xor dx, dx
mov bx, 2
div bx
mov dh, dl
xor dl, dl
mov ch, al
pop bx
.1:
mov al, 0x01
mov ah, 0x02
int 0x13
jc .1
pop dx
pop cx
pop ax
ret
%endif
%ifdef CONFIG_BOOT_HARDDISK
align 4
DAP: ; disk address packet
db 0x10 ; [0]: packet size in bytes
db 0 ; [1]: reserved, must be 0
db 0 ; [2]: nr of blocks to transfer (0~127)
db 0 ; [3]: reserved, must be 0
dw 0 ; [4]: buf addr(offset)
dw 0 ; [6]: buf addr(seg)
dd 0 ; [8]: lba. low 32-bit
dd 0 ; [12]: lba. high 32-bit
; function: read a sector data from harddisk
; @input:
; ax: dx -> buffer seg: off
; si -> lba low 32 bits
harddisk_read_sector:
push ax
push bx
push cx
push dx
push si
mov word [DAP + 2], 1 ; count
mov word [DAP + 4], dx ; offset
mov word [DAP + 6], ax ; segment
mov word [DAP + 8], si ; lba low 32 bits
mov dword [DAP + 12], 0 ; lba high 32 bits
xor bx, bx
mov ah, 0x42
mov dl, 0x80
mov si, DAP
int 0x13
pop si
pop dx
pop cx
pop bx
pop ax
ret
%endif
read_sectors:
push ax
push bx
push cx
push dx
push si
push di
push es
.reply:
%ifdef CONFIG_BOOT_HARDDISK
call harddisk_read_sector
add ax, 0x20 ; next buffer
%endif
%ifdef CONFIG_BOOT_FLOPPY
mov es, ax
call floppy_read_sector
add bx, 512 ; next buffer
%endif
inc si ; next lba
loop .reply
pop es
pop di
pop si
pop dx
pop cx
pop bx
pop ax
ret
times 510-($-$$) db 0
dw 0xaa55 ; boot sector flags
| 15.872611 | 51 | 0.565811 |
1e841c8c674b6bf0651275690fefbc405fe82b14 | 116 | asm | Assembly | MK1_CPU/programs/division.asm | billionelectrons/8bit-cpu | 1b8dacd52d46ac7dd230d61802d1c1edbc9c9be1 | [
"MIT"
] | 274 | 2020-03-30T16:38:29.000Z | 2022-03-30T22:50:15.000Z | MK1_CPU/programs/division.asm | billionelectrons/8bit-cpu | 1b8dacd52d46ac7dd230d61802d1c1edbc9c9be1 | [
"MIT"
] | 3 | 2020-04-11T07:33:14.000Z | 2022-01-21T13:46:08.000Z | MK1_CPU/programs/division.asm | billionelectrons/8bit-cpu | 1b8dacd52d46ac7dd230d61802d1c1edbc9c9be1 | [
"MIT"
] | 22 | 2020-04-04T18:07:38.000Z | 2022-02-06T03:15:17.000Z | ; division test
#include "lib/mk1.cpu"
ldi $a 144
ldi $b 3; = 48
jal divide
out $a
hlt
#include "lib/mk1_std.asm"
| 10.545455 | 26 | 0.672414 |
2403ab613327e0ef035f84157bd76587bc610452 | 9,675 | asm | Assembly | coverage/PENDING_SUBMIT/amdvlk/0533-COVERAGE-memory-ssa-h-584/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | null | null | null | coverage/PENDING_SUBMIT/amdvlk/0533-COVERAGE-memory-ssa-h-584/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 47 | 2021-03-11T07:42:51.000Z | 2022-03-14T06:30:14.000Z | coverage/PENDING_SUBMIT/amdvlk/0533-COVERAGE-memory-ssa-h-584/work/variant/1_spirv_asm/shader.frag.asm | asuonpaa/ShaderTests | 6a3672040dcfa0d164d313224446496d1775a15e | [
"Apache-2.0"
] | 4 | 2021-03-09T13:37:19.000Z | 2022-02-25T07:32:11.000Z | ; SPIR-V
; Version: 1.0
; Generator: Khronos Glslang Reference Front End; 10
; Bound: 191
; Schema: 0
OpCapability Shader
%1 = OpExtInstImport "GLSL.std.450"
OpMemoryModel Logical GLSL450
OpEntryPoint Fragment %4 "main" %103 %171
OpExecutionMode %4 OriginUpperLeft
OpSource ESSL 320
OpName %4 "main"
OpName %8 "_GLF_global_loop_count"
OpName %15 "arr"
OpName %18 "buf0"
OpMemberName %18 0 "_GLF_uniform_float_values"
OpName %20 ""
OpName %88 "i"
OpName %103 "gl_FragCoord"
OpName %119 "buf_push"
OpMemberName %119 0 "resolution"
OpName %121 ""
OpName %128 "buf1"
OpMemberName %128 0 "_GLF_uniform_int_values"
OpName %130 ""
OpName %171 "_GLF_color"
OpDecorate %17 ArrayStride 16
OpMemberDecorate %18 0 Offset 0
OpDecorate %18 Block
OpDecorate %20 DescriptorSet 0
OpDecorate %20 Binding 0
OpDecorate %103 BuiltIn FragCoord
OpMemberDecorate %119 0 Offset 0
OpDecorate %119 Block
OpDecorate %127 ArrayStride 16
OpMemberDecorate %128 0 Offset 0
OpDecorate %128 Block
OpDecorate %130 DescriptorSet 0
OpDecorate %130 Binding 1
OpDecorate %171 Location 0
%2 = OpTypeVoid
%3 = OpTypeFunction %2
%6 = OpTypeInt 32 1
%7 = OpTypePointer Private %6
%8 = OpVariable %7 Private
%9 = OpConstant %6 0
%10 = OpTypeFloat 32
%11 = OpTypeInt 32 0
%12 = OpConstant %11 32
%13 = OpTypeArray %10 %12
%14 = OpTypePointer Function %13
%16 = OpConstant %11 2
%17 = OpTypeArray %10 %16
%18 = OpTypeStruct %17
%19 = OpTypePointer Uniform %18
%20 = OpVariable %19 Uniform
%21 = OpTypePointer Uniform %10
%87 = OpTypePointer Function %6
%89 = OpConstant %6 1
%96 = OpConstant %6 50
%97 = OpTypeBool
%101 = OpTypeVector %10 4
%102 = OpTypePointer Input %101
%103 = OpVariable %102 Input
%104 = OpConstant %11 1
%105 = OpTypePointer Input %10
%113 = OpConstantTrue %97
%114 = OpTypeVector %10 2
%115 = OpTypePointer Function %114
%119 = OpTypeStruct %114
%120 = OpTypePointer PushConstant %119
%121 = OpVariable %120 PushConstant
%122 = OpTypePointer PushConstant %114
%126 = OpConstant %11 3
%127 = OpTypeArray %6 %126
%128 = OpTypeStruct %127
%129 = OpTypePointer Uniform %128
%130 = OpVariable %129 Uniform
%131 = OpTypePointer Uniform %6
%136 = OpConstant %11 0
%137 = OpTypePointer Function %10
%161 = OpTypePointer PushConstant %10
%170 = OpTypePointer Output %101
%171 = OpVariable %170 Output
%175 = OpConstant %6 2
%4 = OpFunction %2 None %3
%5 = OpLabel
%15 = OpVariable %14 Function
%88 = OpVariable %87 Function
%116 = OpVariable %115 Function
OpStore %8 %9
%22 = OpAccessChain %21 %20 %9 %9
%23 = OpLoad %10 %22
%24 = OpAccessChain %21 %20 %9 %9
%25 = OpLoad %10 %24
%26 = OpAccessChain %21 %20 %9 %9
%27 = OpLoad %10 %26
%28 = OpAccessChain %21 %20 %9 %9
%29 = OpLoad %10 %28
%30 = OpAccessChain %21 %20 %9 %9
%31 = OpLoad %10 %30
%32 = OpAccessChain %21 %20 %9 %9
%33 = OpLoad %10 %32
%34 = OpAccessChain %21 %20 %9 %9
%35 = OpLoad %10 %34
%36 = OpAccessChain %21 %20 %9 %9
%37 = OpLoad %10 %36
%38 = OpAccessChain %21 %20 %9 %9
%39 = OpLoad %10 %38
%40 = OpAccessChain %21 %20 %9 %9
%41 = OpLoad %10 %40
%42 = OpAccessChain %21 %20 %9 %9
%43 = OpLoad %10 %42
%44 = OpAccessChain %21 %20 %9 %9
%45 = OpLoad %10 %44
%46 = OpAccessChain %21 %20 %9 %9
%47 = OpLoad %10 %46
%48 = OpAccessChain %21 %20 %9 %9
%49 = OpLoad %10 %48
%50 = OpAccessChain %21 %20 %9 %9
%51 = OpLoad %10 %50
%52 = OpAccessChain %21 %20 %9 %9
%53 = OpLoad %10 %52
%54 = OpAccessChain %21 %20 %9 %9
%55 = OpLoad %10 %54
%56 = OpAccessChain %21 %20 %9 %9
%57 = OpLoad %10 %56
%58 = OpAccessChain %21 %20 %9 %9
%59 = OpLoad %10 %58
%60 = OpAccessChain %21 %20 %9 %9
%61 = OpLoad %10 %60
%62 = OpAccessChain %21 %20 %9 %9
%63 = OpLoad %10 %62
%64 = OpAccessChain %21 %20 %9 %9
%65 = OpLoad %10 %64
%66 = OpAccessChain %21 %20 %9 %9
%67 = OpLoad %10 %66
%68 = OpAccessChain %21 %20 %9 %9
%69 = OpLoad %10 %68
%70 = OpAccessChain %21 %20 %9 %9
%71 = OpLoad %10 %70
%72 = OpAccessChain %21 %20 %9 %9
%73 = OpLoad %10 %72
%74 = OpAccessChain %21 %20 %9 %9
%75 = OpLoad %10 %74
%76 = OpAccessChain %21 %20 %9 %9
%77 = OpLoad %10 %76
%78 = OpAccessChain %21 %20 %9 %9
%79 = OpLoad %10 %78
%80 = OpAccessChain %21 %20 %9 %9
%81 = OpLoad %10 %80
%82 = OpAccessChain %21 %20 %9 %9
%83 = OpLoad %10 %82
%84 = OpAccessChain %21 %20 %9 %9
%85 = OpLoad %10 %84
%86 = OpCompositeConstruct %13 %23 %25 %27 %29 %31 %33 %35 %37 %39 %41 %43 %45 %47 %49 %51 %53 %55 %57 %59 %61 %63 %65 %67 %69 %71 %73 %75 %77 %79 %81 %83 %85
OpStore %15 %86
OpStore %88 %89
OpBranch %90
%90 = OpLabel
OpLoopMerge %92 %93 None
OpBranch %94
%94 = OpLabel
%95 = OpLoad %6 %8
%98 = OpSLessThan %97 %95 %96
OpBranchConditional %98 %91 %92
%91 = OpLabel
%99 = OpLoad %6 %8
%100 = OpIAdd %6 %99 %89
OpStore %8 %100
%106 = OpAccessChain %105 %103 %104
%107 = OpLoad %10 %106
%108 = OpAccessChain %21 %20 %9 %89
%109 = OpLoad %10 %108
%110 = OpFOrdLessThan %97 %107 %109
OpSelectionMerge %112 None
OpBranchConditional %110 %111 %112
%111 = OpLabel
OpSelectionMerge %118 None
OpBranchConditional %113 %117 %125
%117 = OpLabel
%123 = OpAccessChain %122 %121 %9
%124 = OpLoad %114 %123
OpStore %116 %124
OpBranch %118
%125 = OpLabel
%132 = OpAccessChain %131 %130 %9 %9
%133 = OpLoad %6 %132
%134 = OpConvertSToF %10 %133
%135 = OpCompositeConstruct %114 %134 %134
OpStore %116 %135
OpBranch %118
%118 = OpLabel
%138 = OpAccessChain %137 %116 %136
%139 = OpLoad %10 %138
%140 = OpAccessChain %21 %20 %9 %9
%141 = OpLoad %10 %140
%142 = OpFOrdGreaterThanEqual %97 %139 %141
OpBranch %112
%112 = OpLabel
%143 = OpPhi %97 %110 %91 %142 %118
OpSelectionMerge %145 None
OpBranchConditional %143 %144 %145
%144 = OpLabel
OpBranch %92
%145 = OpLabel
%147 = OpLoad %6 %88
%148 = OpIEqual %97 %147 %89
OpSelectionMerge %150 None
OpBranchConditional %148 %149 %150
%149 = OpLabel
%151 = OpLoad %6 %88
%152 = OpIAdd %6 %151 %89
OpStore %88 %152
%153 = OpAccessChain %21 %20 %9 %89
%154 = OpLoad %10 %153
%155 = OpAccessChain %137 %15 %151
OpStore %155 %154
OpBranch %150
%150 = OpLabel
OpBranch %93
%93 = OpLabel
OpBranch %90
%92 = OpLabel
%156 = OpAccessChain %131 %130 %9 %89
%157 = OpLoad %6 %156
%158 = OpExtInst %6 %1 FindSMsb %157
%159 = OpAccessChain %137 %15 %158
%160 = OpLoad %10 %159
%162 = OpAccessChain %161 %121 %9 %104
%163 = OpLoad %10 %162
%164 = OpFMul %10 %160 %163
%165 = OpAccessChain %21 %20 %9 %89
%166 = OpLoad %10 %165
%167 = OpFOrdEqual %97 %164 %166
OpSelectionMerge %169 None
OpBranchConditional %167 %168 %186
%168 = OpLabel
%172 = OpAccessChain %131 %130 %9 %9
%173 = OpLoad %6 %172
%174 = OpConvertSToF %10 %173
%176 = OpAccessChain %131 %130 %9 %175
%177 = OpLoad %6 %176
%178 = OpConvertSToF %10 %177
%179 = OpAccessChain %131 %130 %9 %175
%180 = OpLoad %6 %179
%181 = OpConvertSToF %10 %180
%182 = OpAccessChain %131 %130 %9 %9
%183 = OpLoad %6 %182
%184 = OpConvertSToF %10 %183
%185 = OpCompositeConstruct %101 %174 %178 %181 %184
OpStore %171 %185
OpBranch %169
%186 = OpLabel
%187 = OpAccessChain %131 %130 %9 %175
%188 = OpLoad %6 %187
%189 = OpConvertSToF %10 %188
%190 = OpCompositeConstruct %101 %189 %189 %189 %189
OpStore %171 %190
OpBranch %169
%169 = OpLabel
OpReturn
OpFunctionEnd
| 36.647727 | 167 | 0.495297 |
444bf219b18115429121f694e5b85ff25e2ccf74 | 486 | asm | Assembly | impl/src/test/resources/patterns/Whitespace.asm | jeslie/hack-assembler | 0643ae425abdb65a366b1bf4970ccfe7d9d178c5 | [
"MIT"
] | 1 | 2020-05-07T00:12:33.000Z | 2020-05-07T00:12:33.000Z | impl/src/test/resources/patterns/Whitespace.asm | jeslie/hack-assembler | 0643ae425abdb65a366b1bf4970ccfe7d9d178c5 | [
"MIT"
] | null | null | null | impl/src/test/resources/patterns/Whitespace.asm | jeslie/hack-assembler | 0643ae425abdb65a366b1bf4970ccfe7d9d178c5 | [
"MIT"
] | null | null | null | // no spaces
A=M;JGE
// 1 space
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A = M;JGE
A = M ;JGE
A = M; JGE
A = M ; JGE
A= M;JGE
A =M; JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A =M;JGE
A= M;JGE
A=M ;JGE
A=M; JGE
A=M;JGE
A=M;JGE
A =M;JGE
A= M;JGE
A=M ;JGE
A=M; JGE
A =M;JGE
A =M;JGE
A = M;JGE
A= M ;JGE
A=M ; JGE
A=M; JGE
A=M;JGE
A=M;JGE
A =M;JGE
A= M;JGE
A=M ;JGE
A=M; JGE
A=M;JGE
A=M;JGE
A =M;JGE
A= M;JGE
A=M ;JGE
A=M; JGE
A=M;JGE
A=M;JGE
| 8.678571 | 12 | 0.54321 |
449d431359563de33537ca062c5229c177371ea4 | 1,531 | asm | Assembly | uti/RET_LINT.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | uti/RET_LINT.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | uti/RET_LINT.asm | olifink/smsqe | c546d882b26566a46d71820d1539bed9ea8af108 | [
"BSD-2-Clause"
] | null | null | null | ; Return long integer to SuperBASIC Interpreter
section utility
xdef bi_rtlin
include dev8_keys_qlv
include dev8_keys_bv
;+++
; Return long integer to SuperBASIC Interpreter
; A function using this routine should load the value into d1 and jump to it.
;
; Entry Exit
; d1.l parameter
; a1 arithmetic stack pointer
; a6 SuperBASIC master pointer
;---
bi_rtlin
move.l d1,d4
moveq #$18,d1
move.w qa.resri,a2
jsr (a2)
move.l bv_rip(a6),a1
subq.l #2,a1
swap d4
move.w d4,d5
move.w d4,(a6,a1.l)
move.w qa.op,a2
moveq #qa.float,d0
jsr (a2)
tst.w d5
bpl.s nosign
subq.l #6,a1
move.w #$813,(a6,a1.l)
move.l #$10000000,2(a6,a1.l)
moveq #qa.add,d0
jsr (a2)
nosign subq.l #6,a1
move.w #$813,(a6,a1.l)
move.l #$10000000,2(a6,a1.l)
moveq #qa.mul,d0
jsr (a2)
swap d4
move.w d4,d5
subq.l #2,a1
move.w d4,(a6,a1.l)
moveq #qa.float,d0
jsr (a2)
tst.w d5
bpl.s posnum
subq.l #6,a1
move.w #$813,(a6,a1.l)
move.l #$10000000,2(a6,a1.l)
moveq #qa.add,d0
jsr (a2)
posnum moveq #qa.add,d0
jsr (a2)
move.l a1,bv_rip(a6)
moveq #2,d4
rts
end
| 24.301587 | 77 | 0.467015 |
8ccc42d1366b494e5c1664577e65f23bd6f0f5d5 | 564 | asm | Assembly | oeis/265/A265893.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/265/A265893.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/265/A265893.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A265893: a(n) = A084558(n) - A230403(n); the length of factorial base representation of n without its trailing zeros.
; Submitted by Christian Krause
; 0,1,1,2,1,2,1,3,2,3,2,3,1,3,2,3,2,3,1,3,2,3,2,3,1,4,3,4,3,4,2,4,3,4,3,4,2,4,3,4,3,4,2,4,3,4,3,4,1,4,3,4,3,4,2,4,3,4,3,4,2,4,3,4,3,4,2,4,3,4,3,4,1,4,3,4,3,4,2,4,3,4,3,4,2,4,3,4,3,4,2,4,3,4,3,4,1,4,3,4
mov $2,2
lpb $0
mov $3,$0
lpb $3
mov $4,$0
mod $4,$2
cmp $4,0
cmp $4,0
sub $2,$4
add $2,1
sub $3,$4
mov $5,7
lpe
div $0,$2
add $2,1
add $6,$5
lpe
mov $0,$6
div $0,7
| 23.5 | 201 | 0.539007 |
5fe7777c9a456295b998d3b37c8e7944a0fa78db | 218 | asm | Assembly | scripts/DiglettsCaveRoute2.asm | AmateurPanda92/pokemon-rby-dx | f7ba1cc50b22d93ed176571e074a52d73360da93 | [
"MIT"
] | 9 | 2020-07-12T19:44:21.000Z | 2022-03-03T23:32:40.000Z | scripts/DiglettsCaveRoute2.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 7 | 2020-07-16T10:48:52.000Z | 2021-01-28T18:32:02.000Z | scripts/DiglettsCaveRoute2.asm | JStar-debug2020/pokemon-rby-dx | c2fdd8145d96683addbd8d9075f946a68d1527a1 | [
"MIT"
] | 2 | 2021-03-28T18:33:43.000Z | 2021-05-06T13:12:09.000Z | DiglettsCaveRoute2_Script:
ld a, ROUTE_2
ld [wLastMap], a
jp EnableAutoTextBoxDrawing
DiglettsCaveRoute2_TextPointers:
dw DiglettsCaveRoute2Text1
DiglettsCaveRoute2Text1:
TX_FAR _DiglettsCaveRoute2Text1
db "@"
| 18.166667 | 32 | 0.83945 |
5b795ebbc127cba670cae693e4aabda4b565aef6 | 144,650 | asm | Assembly | reports/19_contains.exp1.asm | arnaudroger/re2j-benchmark | ecfb2d6975948a1fbb53ccf101b285655b850058 | [
"MIT"
] | null | null | null | reports/19_contains.exp1.asm | arnaudroger/re2j-benchmark | ecfb2d6975948a1fbb53ccf101b285655b850058 | [
"MIT"
] | null | null | null | reports/19_contains.exp1.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.testExp1
# 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: 10146.013 ops/s
# Warmup Iteration 2: 23399.165 ops/s
# Warmup Iteration 3: 23452.863 ops/s
# Warmup Iteration 4: 23142.826 ops/s
# Warmup Iteration 5: 23044.636 ops/s
# Warmup Iteration 6: 23300.476 ops/s
# Warmup Iteration 7: 23452.205 ops/s
# Warmup Iteration 8: 23991.650 ops/s
# Warmup Iteration 9: 23929.915 ops/s
# Warmup Iteration 10: 23936.303 ops/s
# Warmup Iteration 11: 23405.781 ops/s
# Warmup Iteration 12: 23955.031 ops/s
# Warmup Iteration 13: 24024.500 ops/s
# Warmup Iteration 14: 23940.517 ops/s
# Warmup Iteration 15: 24064.142 ops/s
# Warmup Iteration 16: 24027.478 ops/s
# Warmup Iteration 17: 23903.945 ops/s
# Warmup Iteration 18: 23904.813 ops/s
# Warmup Iteration 19: 23904.789 ops/s
# Warmup Iteration 20: 23907.077 ops/s
Iteration 1: 24025.785 ops/s
Iteration 2: 23823.398 ops/s
Iteration 3: 23713.759 ops/s
Iteration 4: 23383.479 ops/s
Iteration 5: 24051.112 ops/s
Iteration 6: 23221.748 ops/s
Iteration 7: 24063.963 ops/s
Iteration 8: 24014.055 ops/s
Iteration 9: 24064.658 ops/s
Iteration 10: 24066.234 ops/s
Iteration 11: 24050.845 ops/s
Iteration 12: 24064.002 ops/s
Iteration 13: 24063.456 ops/s
Iteration 14: 24065.900 ops/s
Iteration 15: 23921.159 ops/s
Iteration 16: 23933.801 ops/s
Iteration 17: 23932.981 ops/s
Iteration 18: 23936.349 ops/s
Iteration 19: 23937.102 ops/s
Iteration 20: 23937.812 ops/s
# Processing profiler results: LinuxPerfAsmProfiler
Result "com.github.arnaudroger.re2j.Re2jFindRegex.testExp1":
23913.580 ±(99.9%) 199.978 ops/s [Average]
(min, avg, max) = (23221.748, 23913.580, 24066.234), stdev = 230.295
CI (99.9%): [23713.602, 24113.558] (assumes normal distribution)
Secondary result "com.github.arnaudroger.re2j.Re2jFindRegex.testExp1:·asm":
PrintAssembly processed: 190301 total address lines.
Perf output processed (skipped 23.212 seconds):
Column 1: cycles (20406 events)
Column 2: instructions (20385 events)
Hottest code regions (>10.00% "cycles" events):
....[Hottest Region 1]..............................................................................
C2, level 4, com.google.re2j.Machine::step, version 488 (705 bytes)
0x00007f73d0de7f4d: jae 0x00007f73d0de8635
0x00007f73d0de7f53: mov %rdi,%r10
0x00007f73d0de7f56: mov %rdx,%r9
0x00007f73d0de7f59: shr $0x3,%r9
0x00007f73d0de7f5d: mov %r9d,(%rdi)
0x00007f73d0de7f60: shr $0x9,%r10
0x00007f73d0de7f64: movabs $0x7f73cc601000,%r8
0x00007f73d0de7f6e: mov %r12b,(%r8,%r10,1) ;*synchronization entry
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.41% 0.31% 0x00007f73d0de7f72: mov 0x28(%rsp),%rbx
0x00007f73d0de7f77: mov 0xac(%rsp),%r9d
0.12% 0.17% 0x00007f73d0de7f7f: mov 0xc(%rsp),%r14d
0.35% 0.26% 0x00007f73d0de7f84: mov 0x38(%rsp),%r13d
0.33% 0.19% 0x00007f73d0de7f89: mov 0x40(%rsp),%rdx
0.00% 0.00% 0x00007f73d0de7f8e: mov 0xa4(%rsp),%r10d ;*aload
; - com.google.re2j.Machine::step@219 (line 341)
1.97% 2.16% ↗ 0x00007f73d0de7f96: inc %r10d ;*iinc
│ ; - com.google.re2j.Machine::step@230 (line 307)
0.20% 0.27% │ 0x00007f73d0de7f99: cmp %r9d,%r10d
│ 0x00007f73d0de7f9c: jge 0x00007f73d0de838d
0.31% 0.26% │ 0x00007f73d0de7fa2: mov %r11,%rax ;*iload
│ ; - com.google.re2j.Machine::step@43 (line 310)
0.64% 0.72% │ 0x00007f73d0de7fa5: mov 0x10(%rdx,%r10,4),%r11d ;*aaload
│ ; - com.google.re2j.Machine::step@99 (line 320)
1.64% 1.65% │ 0x00007f73d0de7faa: mov 0xc(%r12,%r11,8),%r8d ;*getfield op
│ ; - com.google.re2j.Machine::step@104 (line 322)
│ ; implicit exception: dispatches to 0x00007f73d0de8d89
0.65% 0.62% │ 0x00007f73d0de7faf: cmp $0x6,%r8d
│ 0x00007f73d0de7fb3: je 0x00007f73d0de84bc ;*if_icmpne
│ ; - com.google.re2j.Machine::step@109 (line 322)
0.89% 0.93% │ 0x00007f73d0de7fb9: cmp $0xa,%r8d
│ 0x00007f73d0de7fbd: jne 0x00007f73d0de831b ;*if_icmpne
│ ; - com.google.re2j.Inst::matchRune@6 (line 90)
│ ; - com.google.re2j.Machine::step@191 (line 337)
0.33% 0.19% │ 0x00007f73d0de7fc3: mov 0x2c(%r12,%r11,8),%edi ;*getfield outInst
│ ; - com.google.re2j.Machine::step@199 (line 338)
0.33% 0.22% │ 0x00007f73d0de7fc8: mov 0x8(%r12,%rdi,8),%r11d ; implicit exception: dispatches to 0x00007f73d0de8d99
1.42% 1.29% │ 0x00007f73d0de7fcd: lea (%r12,%rdi,8),%r8
0.07% 0.04% │ 0x00007f73d0de7fd1: cmp $0xf8019843,%r11d ; {metadata('com/google/re2j/Inst$Alt2Inst')}
│ 0x00007f73d0de7fd8: jne 0x00007f73d0de83bd ;*invokevirtual add
│ ; - com.google.re2j.Machine::step@214 (line 338)
0.67% 0.64% │ 0x00007f73d0de7fde: mov 0x18(%r8),%ecx ;*getfield pc
│ ; - com.google.re2j.Inst$Alt2Inst::add@2 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.04% 0.03% │ 0x00007f73d0de7fe2: mov %rax,%r11
0.01% 0.01% │ 0x00007f73d0de7fe5: mov 0x10(%rax),%rsi ;*getfield pcsl
│ ; - com.google.re2j.Machine$Queue::containsOrAdd@11 (line 51)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
│ ; implicit exception: dispatches to 0x00007f73d0de8dad
0.06% 0.03% │ 0x00007f73d0de7fe9: cmp $0x40,%ecx
│ 0x00007f73d0de7fec: jge 0x00007f73d0de8721 ;*if_icmpge
│ ; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.61% 0.72% │ 0x00007f73d0de7ff2: mov $0x1,%edi
0.03% 0.02% │ 0x00007f73d0de7ff7: shl %cl,%rdi ;*lshl
│ ; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
1.36% 1.70% │ 0x00007f73d0de7ffa: mov %rdi,%rcx
0.02% 0.01% │ 0x00007f73d0de7ffd: and %rsi,%rcx ;*land
│ ; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.02% 0.01% │ 0x00007f73d0de8000: test %rcx,%rcx
│ 0x00007f73d0de8003: jne 0x00007f73d0de8474 ;*ifne
│ ; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.46% 0.66% │ 0x00007f73d0de8009: mov %r12b,0x18(%rax) ;*putfield empty
│ ; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.26% 0.17% │ 0x00007f73d0de800d: or %rsi,%rdi ;*lor ; - com.google.re2j.Machine$Queue::containsOrAdd@27 (line 52)
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.01% │ 0x00007f73d0de8010: mov %rdi,0x10(%rax) ;*invokevirtual containsOrAdd
│ ; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
│ ; - com.google.re2j.Machine::step@-1 (line 301)
0.02% 0.04% │ 0x00007f73d0de8014: test %rcx,%rcx
╰ 0x00007f73d0de8017: jne 0x00007f73d0de7f96 ;*ifeq
; - com.google.re2j.Inst$Alt2Inst::add@8 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.45% 0.48% 0x00007f73d0de801d: mov 0x2c(%r8),%ebp ;*getfield outInst
; - com.google.re2j.Inst$Alt2Inst::add@15 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.22% 0.22% 0x00007f73d0de8021: mov 0x8(%r12,%rbp,8),%esi ; implicit exception: dispatches to 0x00007f73d0de8dc1
1.10% 1.00% 0x00007f73d0de8026: cmp $0xf8019909,%esi ; {metadata('com/google/re2j/Inst$MatchInst')}
0x00007f73d0de802c: jne 0x00007f73d0de8561
0.70% 0.69% 0x00007f73d0de8032: lea (%r12,%rbp,8),%rax ;*invokevirtual add
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.01% 0.02% 0x00007f73d0de8036: mov 0x18(%rax),%ecx ;*getfield pc
; - com.google.re2j.Inst$MatchInst::add@2 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.32% 0.33% 0x00007f73d0de8039: cmp $0x40,%ecx
0x00007f73d0de803c: jge 0x00007f73d0de8785 ;*if_icmpge
; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.64% 0.61% 0x00007f73d0de8042: mov $0x1,%esi
0.14% 0.20% 0x00007f73d0de8047: shl %cl,%rsi ;*lshl
; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
1.42% 1.31% 0x00007f73d0de804a: mov %rsi,%rcx
0.04% 0.03% 0x00007f73d0de804d: and %rdi,%rcx ;*land
; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.05% 0.08% 0x00007f73d0de8050: test %rcx,%rcx
0x00007f73d0de8053: jne 0x00007f73d0de847c ;*ifne
; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.53% 0.61% 0x00007f73d0de8059: mov %r12b,0x18(%r11) ;*putfield empty
; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.18% 0.13% 0x00007f73d0de805d: or %rdi,%rsi ;*lor ; - com.google.re2j.Machine$Queue::containsOrAdd@27 (line 52)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.04% 0.04% 0x00007f73d0de8060: mov %rsi,0x10(%r11) ;*putfield pcsl
; - com.google.re2j.Machine$Queue::containsOrAdd@28 (line 52)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.03% 0.07% 0x00007f73d0de8064: xor %ebp,%ebp ;*invokevirtual containsOrAdd
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.51% 0.53% 0x00007f73d0de8066: test %rcx,%rcx
0x00007f73d0de8069: jne 0x00007f73d0de87e9 ;*ifeq
; - com.google.re2j.Inst$MatchInst::add@8 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.21% 0.15% 0x00007f73d0de806f: mov %r8,%rcx
0.03% 0.06% 0x00007f73d0de8072: mov %r10d,0xa4(%rsp)
0.05% 0.09% 0x00007f73d0de807a: mov %rdx,0x40(%rsp)
0.43% 0.59% 0x00007f73d0de807f: mov %r13d,0x38(%rsp)
0.17% 0.16% 0x00007f73d0de8084: mov %r14d,0xc(%rsp)
0.05% 0.03% 0x00007f73d0de8089: mov %r9d,0xac(%rsp)
0.03% 0.03% 0x00007f73d0de8091: mov %r11,0x30(%rsp)
0.49% 0.45% 0x00007f73d0de8096: mov %rbx,0x28(%rsp)
0.20% 0.03% 0x00007f73d0de809b: mov 0xc(%r11),%r10d ;*getfield size
; - com.google.re2j.Machine$Queue::addThread@6 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.06% 0.02% 0x00007f73d0de809f: mov 0x20(%r11),%r8d ;*getfield denseThreadsInstructions
; - com.google.re2j.Machine$Queue::addThread@1 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.03% 0.03% 0x00007f73d0de80a3: vmovd %r8d,%xmm0
0.59% 0.40% 0x00007f73d0de80a8: mov %r10d,%r14d
0.22% 0.05% 0x00007f73d0de80ab: inc %r10d ;*iadd
; - com.google.re2j.Machine$Queue::addThread@11 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.04% 0.01% 0x00007f73d0de80ae: mov %r10d,0xc(%r11) ;*putfield size
; - com.google.re2j.Machine$Queue::addThread@12 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.03% 0.03% 0x00007f73d0de80b2: mov %r10d,%r13d
0.40% 0.38% 0x00007f73d0de80b5: mov 0xc(%r12,%r8,8),%r8d ; implicit exception: dispatches to 0x00007f73d0de8dd5
0.22% 0.12% 0x00007f73d0de80ba: mov %r14d,%r10d
0.05% 0.02% 0x00007f73d0de80bd: cmp %r8d,%r10d
0.04% 0.03% 0x00007f73d0de80c0: jae 0x00007f73d0de8529
0.43% 0.45% 0x00007f73d0de80c6: vmovd %xmm0,%r10d
0.14% 0.20% 0x00007f73d0de80cb: mov 0x8(%r12,%r10,8),%r11d
0.02% 0.02% 0x00007f73d0de80d0: cmp $0xf8019807,%r11d ; {metadata('com/google/re2j/Inst'[])}
0x00007f73d0de80d7: jne 0x00007f73d0de85c5 ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.01% 0.03% 0x00007f73d0de80dd: mov 0x34(%rcx),%r10d ;*getfield inst2
; - com.google.re2j.Inst$Alt2Inst::add@35 (line 179)
; - com.google.re2j.Machine::step@-1 (line 301)
0.52% 0.54% 0x00007f73d0de80e1: vmovd %r10d,%xmm1
0.15% 0.16% 0x00007f73d0de80e6: mov %rax,%r9
0.00% 0.02% 0x00007f73d0de80e9: shr $0x3,%r9 ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.03% 0.04% 0x00007f73d0de80ed: vmovd %xmm0,%r10d
0.48% 0.32% 0x00007f73d0de80f2: shl $0x3,%r10 ;*getfield denseThreadsInstructions
; - com.google.re2j.Machine$Queue::addThread@1 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.23% 0.05% 0x00007f73d0de80f6: lea 0x10(%r10,%r14,4),%r11
0.03% 0.01% 0x00007f73d0de80fb: mov %r9d,(%r11)
0.09% 0.03% 0x00007f73d0de80fe: shr $0x9,%r11
0.53% 0.22% 0x00007f73d0de8102: movabs $0x7f73cc601000,%r9
0.17% 0.28% 0x00007f73d0de810c: mov %r12b,(%r9,%r11,1) ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Machine::step@-1 (line 301)
0.04% 0.05% 0x00007f73d0de8110: vmovd %xmm1,%r11d
0.03% 0.03% 0x00007f73d0de8115: mov 0x8(%r12,%r11,8),%r11d ;*invokevirtual add
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Machine::step@-1 (line 301)
; implicit exception: dispatches to 0x00007f73d0de8df1
0.47% 0.45% 0x00007f73d0de811a: movslq %r14d,%r9
0.19% 0.28% 0x00007f73d0de811d: lea (%r10,%r9,4),%r9 ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.06% 0.06% 0x00007f73d0de8121: mov %r9,%rdi
0.04% 0.04% 0x00007f73d0de8124: add $0x14,%rdi ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Machine::step@-1 (line 301)
0.48% 0.36% 0x00007f73d0de8128: vmovd %xmm1,%ecx
0.21% 0.08% 0x00007f73d0de812c: lea (%r12,%rcx,8),%rdx
0.07% 0.06% 0x00007f73d0de8130: mov %r14d,%ebx
0.04% 0.04% 0x00007f73d0de8133: add $0x2,%ebx ;*iadd
; - com.google.re2j.Machine$Queue::addThread@11 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Machine::step@-1 (line 301)
0.46% 0.26% 0x00007f73d0de8136: cmp $0xf8019885,%r11d ; {metadata('com/google/re2j/Inst$CaptureInst')}
0x00007f73d0de813d: jne 0x00007f73d0de7ef5 ;*invokevirtual add
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Machine::step@-1 (line 301)
0.19% 0.05% 0x00007f73d0de8143: mov 0x2c(%rdx),%ebp ;*getfield outInst
; - com.google.re2j.Inst$CaptureInst::add@74 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.04% 0.02% 0x00007f73d0de8146: mov 0x8(%r12,%rbp,8),%ecx ; implicit exception: dispatches to 0x00007f73d0de8e25
0.11% 0.06% 0x00007f73d0de814b: cmp $0xf8019843,%ecx ; {metadata('com/google/re2j/Inst$Alt2Inst')}
0x00007f73d0de8151: jne 0x00007f73d0de86fd
0.59% 0.26% 0x00007f73d0de8157: lea (%r12,%rbp,8),%rax ;*invokevirtual add
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.19% 0.10% 0x00007f73d0de815b: mov 0x18(%rax),%ecx ;*getfield pc
; - com.google.re2j.Inst$Alt2Inst::add@2 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.02% 0.01% 0x00007f73d0de815e: cmp $0x40,%ecx
0x00007f73d0de8161: jge 0x00007f73d0de8a31 ;*if_icmpge
; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.23% 0.19% 0x00007f73d0de8167: mov $0x1,%r11d
0.30% 0.15% 0x00007f73d0de816d: shl %cl,%r11 ;*lshl
; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.69% 0.45% 0x00007f73d0de8170: mov %r11,%rcx
0.27% 0.29% 0x00007f73d0de8173: and %rsi,%rcx ;*land
; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.14% 0.08% 0x00007f73d0de8176: test %rcx,%rcx
0x00007f73d0de8179: jne 0x00007f73d0de8493 ;*ifne
; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.23% 0.17% 0x00007f73d0de817f: mov 0x30(%rsp),%rdx
0.22% 0.19% 0x00007f73d0de8184: mov %r12b,0x18(%rdx) ;*putfield empty
; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.32% 0.04% 0x00007f73d0de8188: or %rsi,%r11 ;*lor ; - com.google.re2j.Machine$Queue::containsOrAdd@27 (line 52)
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.13% 0.01% 0x00007f73d0de818b: mov %r11,0x10(%rdx) ;*invokevirtual containsOrAdd
; - com.google.re2j.Inst$Alt2Inst::add@5 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.13% 0.18% 0x00007f73d0de818f: test %rcx,%rcx
0x00007f73d0de8192: jne 0x00007f73d0de846a ;*ifeq
; - com.google.re2j.Inst$Alt2Inst::add@8 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.24% 0.30% 0x00007f73d0de8198: mov 0x2c(%rax),%ebp ;*getfield outInst
; - com.google.re2j.Inst$Alt2Inst::add@15 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.29% 0.15% 0x00007f73d0de819b: mov 0x8(%r12,%rbp,8),%ecx ; implicit exception: dispatches to 0x00007f73d0de8e39
0.91% 1.12% 0x00007f73d0de81a0: cmp $0xf8019909,%ecx ; {metadata('com/google/re2j/Inst$MatchInst')}
0x00007f73d0de81a6: jne 0x00007f73d0de870d
0.49% 0.47% 0x00007f73d0de81ac: lea (%r12,%rbp,8),%rcx ;*invokevirtual add
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0x00007f73d0de81b0: vmovq %rcx,%xmm1
0.15% 0.19% 0x00007f73d0de81b5: mov 0x18(%rcx),%ecx ;*getfield pc
; - com.google.re2j.Inst$MatchInst::add@2 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.27% 0.38% 0x00007f73d0de81b8: cmp $0x40,%ecx
0x00007f73d0de81bb: jge 0x00007f73d0de8a5d ;*if_icmpge
; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.48% 0.54% 0x00007f73d0de81c1: mov $0x1,%edx
0.00% 0x00007f73d0de81c6: shl %cl,%rdx ;*lshl
; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
1.07% 1.41% 0x00007f73d0de81c9: mov %rdx,%rcx
0x00007f73d0de81cc: and %r11,%rcx ;*land
; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.12% 0.12% 0x00007f73d0de81cf: test %rcx,%rcx
0x00007f73d0de81d2: jne 0x00007f73d0de849b ;*ifne
; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.22% 0.30% 0x00007f73d0de81d8: mov 0x30(%rsp),%rsi
0.37% 0.39% 0x00007f73d0de81dd: mov %r12b,0x18(%rsi) ;*putfield empty
; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.01% 0.01% 0x00007f73d0de81e1: or %r11,%rdx ;*lor ; - com.google.re2j.Machine$Queue::containsOrAdd@27 (line 52)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.10% 0.11% 0x00007f73d0de81e4: mov %rdx,0x10(%rsi) ;*putfield pcsl
; - com.google.re2j.Machine$Queue::containsOrAdd@28 (line 52)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.27% 0.32% 0x00007f73d0de81e8: xor %ebp,%ebp ;*invokevirtual containsOrAdd
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.35% 0.44% 0x00007f73d0de81ea: test %rcx,%rcx
0x00007f73d0de81ed: jne 0x00007f73d0de8a91 ;*ifeq
; - com.google.re2j.Inst$MatchInst::add@8 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.00% 0x00007f73d0de81f3: mov 0x30(%rsp),%r11
0.08% 0.13% 0x00007f73d0de81f8: mov %ebx,0xc(%r11) ;*putfield size
; - com.google.re2j.Machine$Queue::addThread@12 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.27% 0.27% 0x00007f73d0de81fc: cmp %r8d,%ebx
0x00007f73d0de81ff: jae 0x00007f73d0de8699 ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.40% 0.41% 0x00007f73d0de8205: mov 0x34(%rax),%r8d ;*getfield inst2
; - com.google.re2j.Inst$Alt2Inst::add@35 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.00% 0x00007f73d0de8209: mov %rdi,%rcx
0.06% 0.10% 0x00007f73d0de820c: vmovq %xmm1,%r11
0.29% 0.27% 0x00007f73d0de8211: shr $0x3,%r11
0.41% 0.48% 0x00007f73d0de8215: mov %r11d,(%rdi)
0.00% 0x00007f73d0de8218: shr $0x9,%rcx
0.16% 0.17% 0x00007f73d0de821c: movabs $0x7f73cc601000,%r11
0.26% 0.28% 0x00007f73d0de8226: mov %r12b,(%r11,%rcx,1) ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@29 (line 178)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.44% 0.38% 0x00007f73d0de822a: mov 0x8(%r12,%r8,8),%ebx ; implicit exception: dispatches to 0x00007f73d0de8e4d
0.00% 0x00007f73d0de822f: lea (%r12,%r8,8),%r11
0.11% 0.10% 0x00007f73d0de8233: cmp $0xf8019885,%ebx ; {metadata('com/google/re2j/Inst$CaptureInst')}
0x00007f73d0de8239: jne 0x00007f73d0de8297 ;*invokevirtual add
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0x00007f73d0de823b: mov 0x2c(%r11),%ebp ;*getfield outInst
; - com.google.re2j.Inst$CaptureInst::add@74 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
....................................................................................................
39.62% 37.64% <total for region 1>
....[Hottest Region 2]..............................................................................
C2, level 4, com.google.re2j.Machine::match, version 527 (1427 bytes)
# parm2: r8 = int
# [sp+0xa0] (sp of caller)
0x00007f73d0e0bb20: mov 0x8(%rsi),%r10d
0x00007f73d0e0bb24: shl $0x3,%r10
0x00007f73d0e0bb28: cmp %r10,%rax
0x00007f73d0e0bb2b: jne 0x00007f73d0c18e20 ; {runtime_call}
0x00007f73d0e0bb31: data16 xchg %ax,%ax
0x00007f73d0e0bb34: nopl 0x0(%rax,%rax,1)
0x00007f73d0e0bb3c: data16 data16 xchg %ax,%ax
[Verified Entry Point]
0.00% 0x00007f73d0e0bb40: mov %eax,-0x14000(%rsp)
0x00007f73d0e0bb47: push %rbp
0.00% 0x00007f73d0e0bb48: sub $0x90,%rsp ;*synchronization entry
; - com.google.re2j.Machine::match@-1 (line 201)
0x00007f73d0e0bb4f: vmovd %ecx,%xmm1
0x00007f73d0e0bb53: mov %rsi,%r10
0.02% 0x00007f73d0e0bb56: mov 0x14(%rsi),%esi ;*getfield re2
; - com.google.re2j.Machine::match@1 (line 201)
0x00007f73d0e0bb59: mov 0xc(%r12,%rsi,8),%r11d ;*getfield cond
; - com.google.re2j.Machine::match@4 (line 201)
; implicit exception: dispatches to 0x00007f73d0e0d965
0x00007f73d0e0bb5e: cmp $0xffffffff,%r11d
0x00007f73d0e0bb62: je 0x00007f73d0e0d0d1 ;*if_icmpne
; - com.google.re2j.Machine::match@12 (line 202)
0x00007f73d0e0bb68: cmp $0x1,%r8d
0x00007f73d0e0bb6c: je 0x00007f73d0e0d0f9 ;*if_icmpeq
; - com.google.re2j.Machine::match@19 (line 205)
0.00% 0x00007f73d0e0bb72: cmp $0x2,%r8d
0x00007f73d0e0bb76: je 0x00007f73d0e0d121 ;*if_icmpne
; - com.google.re2j.Machine::match@24 (line 205)
0x00007f73d0e0bb7c: mov %r12b,0x10(%r10) ;*putfield matched
; - com.google.re2j.Machine::match@35 (line 209)
0x00007f73d0e0bb80: mov 0x18(%r10),%ecx ;*getfield prog
; - com.google.re2j.Machine::match@39 (line 210)
0x00007f73d0e0bb84: mov 0x1c(%r12,%rcx,8),%r9d ;*getfield startInst
; - com.google.re2j.Machine::match@42 (line 210)
; implicit exception: dispatches to 0x00007f73d0e0d975
0.00% 0x00007f73d0e0bb89: mov 0x28(%r10),%ebx ;*getfield matchcap
; - com.google.re2j.Machine::match@48 (line 212)
0.00% 0x00007f73d0e0bb8d: mov 0xc(%r12,%rbx,8),%ebp ;*arraylength
; - java.util.Arrays::fill@3 (line 2881)
; - com.google.re2j.Machine::match@52 (line 212)
; implicit exception: dispatches to 0x00007f73d0e0d985
0x00007f73d0e0bb92: test %ebp,%ebp
0x00007f73d0e0bb94: jg 0x00007f73d0e0d149 ;*if_icmpge
; - java.util.Arrays::fill@7 (line 2881)
; - com.google.re2j.Machine::match@52 (line 212)
0.00% 0x00007f73d0e0bb9a: mov %rdx,%rdi
0.00% 0x00007f73d0e0bb9d: mov 0x8(%rdx),%ebp ; implicit exception: dispatches to 0x00007f73d0e0d995
0x00007f73d0e0bba0: mov 0x20(%r10),%ecx ;*getfield q1
; - com.google.re2j.Machine::match@62 (line 213)
0x00007f73d0e0bba4: mov 0x1c(%r10),%edx ;*getfield q0
; - com.google.re2j.Machine::match@56 (line 213)
0x00007f73d0e0bba8: cmp $0xf8019b8e,%ebp ; {metadata('com/google/re2j/MachineInput$UTF16Input')}
0x00007f73d0e0bbae: jne 0x00007f73d0e0ce59
0.00% 0x00007f73d0e0bbb4: mov %rdi,%rax ;*invokevirtual step
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bbb7: mov 0xc(%rax),%r13d ;*getfield start
; - com.google.re2j.MachineInput$UTF16Input::step@2 (line 185)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bbbb: mov 0x10(%rax),%r14d ;*getfield end
; - com.google.re2j.MachineInput$UTF16Input::step@9 (line 186)
; - com.google.re2j.Machine::match@69 (line 214)
0.00% 0x00007f73d0e0bbbf: vmovd %xmm1,%edi
0.00% 0x00007f73d0e0bbc3: add %r13d,%edi ;*iadd
; - com.google.re2j.MachineInput$UTF16Input::step@5 (line 185)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bbc6: cmp %r14d,%edi
0x00007f73d0e0bbc9: jge 0x00007f73d0e0cd25 ;*if_icmpge
; - com.google.re2j.MachineInput$UTF16Input::step@12 (line 186)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bbcf: mov %r14d,0x24(%rsp)
0x00007f73d0e0bbd4: mov 0x14(%rax),%r14d ;*getfield str
; - com.google.re2j.MachineInput$UTF16Input::step@16 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0.01% 0x00007f73d0e0bbd8: mov 0x8(%r12,%r14,8),%ebp ; implicit exception: dispatches to 0x00007f73d0e0d9a9
0x00007f73d0e0bbdd: cmp $0xf80002da,%ebp ; {metadata('java/lang/String')}
0x00007f73d0e0bbe3: jne 0x00007f73d0e0ce8d
0x00007f73d0e0bbe9: lea (%r12,%r14,8),%rbp ;*invokeinterface charAt
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bbed: test %edi,%edi
0x00007f73d0e0bbef: jl 0x00007f73d0e0cfcd ;*iflt
; - java.lang.String::charAt@1 (line 657)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0.00% 0x00007f73d0e0bbf5: mov %rax,0x50(%rsp)
0x00007f73d0e0bbfa: mov %edx,0x38(%rsp)
0x00007f73d0e0bbfe: mov %r9d,0x4c(%rsp)
0x00007f73d0e0bc03: mov %r11d,0x48(%rsp)
0.01% 0.00% 0x00007f73d0e0bc08: mov %r8d,0x3c(%rsp)
0x00007f73d0e0bc0d: mov %r10,0x40(%rsp)
0x00007f73d0e0bc12: mov 0xc(%rbp),%r10d ;*getfield value
; - java.lang.String::charAt@6 (line 657)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bc16: mov %r10d,%eax
0.00% 0.01% 0x00007f73d0e0bc19: mov %rbp,%r9
0x00007f73d0e0bc1c: mov 0xc(%r12,%r10,8),%r10d ;*arraylength
; - java.lang.String::charAt@9 (line 657)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
; implicit exception: dispatches to 0x00007f73d0e0d9bd
0x00007f73d0e0bc21: mov %r10d,%edx
0x00007f73d0e0bc24: cmp %edx,%edi
0x00007f73d0e0bc26: jge 0x00007f73d0e0d17d ;*if_icmplt
; - java.lang.String::charAt@10 (line 657)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0.00% 0x00007f73d0e0bc2c: cmp %edx,%edi
0x00007f73d0e0bc2e: jae 0x00007f73d0e0cd99
0x00007f73d0e0bc34: mov %eax,%r10d
0x00007f73d0e0bc37: lea (%r12,%r10,8),%r8
0x00007f73d0e0bc3b: movzwl 0x10(%r8,%rdi,2),%r11d ;*caload
; - java.lang.String::charAt@27 (line 660)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0.01% 0x00007f73d0e0bc41: cmp $0xd800,%r11d
0x00007f73d0e0bc48: jge 0x00007f73d0e0d1d9 ;*if_icmplt
; - java.lang.Character::isHighSurrogate@3 (line 4729)
; - java.lang.Character::codePointAt@9 (line 4867)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bc4e: shl $0x3,%r11d ;*ishl
; - com.google.re2j.MachineInput$UTF16Input::step@38 (line 190)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bc52: mov %r11d,%r10d
0x00007f73d0e0bc55: and $0x7,%r10d
0.00% 0x00007f73d0e0bc59: or $0x1,%r11d
0.01% 0x00007f73d0e0bc5d: vmovd %r11d,%xmm0
0x00007f73d0e0bc62: or $0x1,%r10d ;*ior ; - com.google.re2j.MachineInput$UTF16Input::step@41 (line 190)
; - com.google.re2j.Machine::match@69 (line 214)
0x00007f73d0e0bc66: mov %r10d,0x28(%rsp)
0.01% 0.01% 0x00007f73d0e0bc6b: mov %r11d,%edi
0x00007f73d0e0bc6e: sar $0x3,%edi ;*ishr
; - com.google.re2j.Machine::match@77 (line 215)
0x00007f73d0e0bc71: cmp $0xfffffff8,%r11d
0x00007f73d0e0bc75: je 0x00007f73d0e0cd33 ;*if_icmpeq
; - com.google.re2j.Machine::match@97 (line 219)
0x00007f73d0e0bc7b: vmovd %xmm1,%r10d
0.00% 0.00% 0x00007f73d0e0bc80: add 0x28(%rsp),%r10d
0.00% 0x00007f73d0e0bc85: add %r13d,%r10d ;*iadd
; - com.google.re2j.MachineInput$UTF16Input::step@5 (line 185)
; - com.google.re2j.Machine::match@105 (line 220)
0x00007f73d0e0bc88: vmovd %r10d,%xmm2
0.00% 0x00007f73d0e0bc8d: cmp 0x24(%rsp),%r10d
0x00007f73d0e0bc92: jge 0x00007f73d0e0c601 ;*if_icmpge
; - com.google.re2j.MachineInput$UTF16Input::step@12 (line 186)
; - com.google.re2j.Machine::match@105 (line 220)
0.01% 0.01% 0x00007f73d0e0bc98: test %r10d,%r10d
0x00007f73d0e0bc9b: jl 0x00007f73d0e0d061 ;*iflt
; - java.lang.String::charAt@1 (line 657)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@105 (line 220)
0.00% 0x00007f73d0e0bca1: cmp %edx,%r10d
0x00007f73d0e0bca4: jge 0x00007f73d0e0d23d ;*if_icmplt
; - java.lang.String::charAt@10 (line 657)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@105 (line 220)
0.00% 0x00007f73d0e0bcaa: cmp %edx,%r10d
0x00007f73d0e0bcad: jae 0x00007f73d0e0cde5
0.00% 0x00007f73d0e0bcb3: movzwl 0x10(%r8,%r10,2),%r10d ;*caload
; - java.lang.String::charAt@27 (line 660)
; - java.lang.Character::codePointAt@2 (line 4866)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@105 (line 220)
0.00% 0x00007f73d0e0bcb9: cmp $0xd800,%r10d
0x00007f73d0e0bcc0: jge 0x00007f73d0e0d2b1 ;*if_icmplt
; - java.lang.Character::isHighSurrogate@3 (line 4729)
; - java.lang.Character::codePointAt@9 (line 4867)
; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
; - com.google.re2j.Machine::match@105 (line 220)
0x00007f73d0e0bcc6: shl $0x3,%r10d ;*ishl
; - com.google.re2j.MachineInput$UTF16Input::step@38 (line 190)
; - com.google.re2j.Machine::match@105 (line 220)
0x00007f73d0e0bcca: mov %r10d,%r8d
0x00007f73d0e0bccd: or $0x1,%r8d
0.00% 0.00% 0x00007f73d0e0bcd1: and $0x7,%r10d
0x00007f73d0e0bcd5: sar $0x3,%r8d ;*ishr
; - com.google.re2j.Machine::match@113 (line 221)
0x00007f73d0e0bcd9: mov %r8d,0x58(%rsp)
0x00007f73d0e0bcde: or $0x1,%r10d ;*ior ; - com.google.re2j.MachineInput$UTF16Input::step@41 (line 190)
; - com.google.re2j.Machine::match@105 (line 220)
0.00% 0.01% 0x00007f73d0e0bce2: mov %r10d,0x30(%rsp) ;*ishr
; - com.google.re2j.Machine::match@113 (line 221)
0x00007f73d0e0bce7: vmovd %xmm1,%r10d
0x00007f73d0e0bcec: test %r10d,%r10d
0x00007f73d0e0bcef: jne 0x00007f73d0e0d00d ;*ifne
; - com.google.re2j.Machine::match@124 (line 225)
0x00007f73d0e0bcf5: test %edi,%edi
0x00007f73d0e0bcf7: jl 0x00007f73d0e0c5df ;*ifge
; - com.google.re2j.Utils::emptyOpContext@21 (line 179)
; - com.google.re2j.Machine::match@130 (line 226)
0.00% 0x00007f73d0e0bcfd: mov $0x5,%r10d ;*iload_1
; - com.google.re2j.Utils::emptyOpContext@29 (line 182)
; - com.google.re2j.Machine::match@130 (line 226)
0x00007f73d0e0bd03: cmp $0xa,%edi
0x00007f73d0e0bd06: je 0x00007f73d0e0c5f8 ;*iload_0
; - com.google.re2j.Utils::emptyOpContext@39 (line 185)
; - com.google.re2j.Machine::match@130 (line 226)
0x00007f73d0e0bd0c: mov %edi,%r8d
0x00007f73d0e0bd0f: add $0xffffffbf,%r8d
0.01% 0x00007f73d0e0bd13: cmp $0x1a,%r8d
╭ 0x00007f73d0e0bd17: jb 0x00007f73d0e0bd2a ;*if_icmple
│ ; - com.google.re2j.Utils::isWordRune@9 (line 149)
│ ; - com.google.re2j.Utils::emptyOpContext@44 (line 185)
│ ; - com.google.re2j.Machine::match@130 (line 226)
│ 0x00007f73d0e0bd19: mov %edi,%r11d
│ 0x00007f73d0e0bd1c: add $0xffffff9f,%r11d
0.00% │ 0x00007f73d0e0bd20: cmp $0x1a,%r11d
│ 0x00007f73d0e0bd24: jae 0x00007f73d0e0c619 ;*iconst_1
│ ; - com.google.re2j.Utils::isWordRune@42 (line 149)
│ ; - com.google.re2j.Utils::emptyOpContext@44 (line 185)
│ ; - com.google.re2j.Machine::match@130 (line 226)
↘ 0x00007f73d0e0bd2a: or $0x10,%r10d ;*iload_2
; - com.google.re2j.Utils::emptyOpContext@63 (line 190)
; - com.google.re2j.Machine::match@130 (line 226)
0x00007f73d0e0bd2e: mov 0x3c(%rsp),%r8d
0x00007f73d0e0bd33: test %r8d,%r8d
0x00007f73d0e0bd36: jne 0x00007f73d0e0ced1
0.00% 0x00007f73d0e0bd3c: mov 0x4c(%rsp),%r11d
0x00007f73d0e0bd41: mov 0x8(%r12,%r11,8),%r11d ; implicit exception: dispatches to 0x00007f73d0e0ced1
0.00% 0x00007f73d0e0bd46: cmp $0xf8019909,%r11d ; {metadata('com/google/re2j/Inst$MatchInst')}
0x00007f73d0e0bd4d: jne 0x00007f73d0e0ced1 ;*aload
; - com.google.re2j.Machine::match@145 (line 232)
0x00007f73d0e0bd53: mov 0x40(%rsp),%r11
0x00007f73d0e0bd58: movzbl 0x11(%r11),%r11d ;*getfield captures
; - com.google.re2j.Machine::match@292 (line 261)
0.00% 0.00% 0x00007f73d0e0bd5d: mov 0x4c(%rsp),%r9d
0x00007f73d0e0bd62: lea (%r12,%r9,8),%r8 ;*invokevirtual add
; - com.google.re2j.Machine::match@322 (line 264)
0x00007f73d0e0bd66: mov %r8,0x60(%rsp)
0.00% 0x00007f73d0e0bd6b: mov %rcx,%r9
0.01% 0x00007f73d0e0bd6e: shl $0x3,%r9 ;*getfield q1
; - com.google.re2j.Machine::match@62 (line 213)
0x00007f73d0e0bd72: shr $0x3,%r8 ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Machine::match@322 (line 264)
0x00007f73d0e0bd76: mov %r8d,0x14(%rsp)
0.01% 0x00007f73d0e0bd7b: mov %r9,0x70(%rsp)
0.00% 0.00% 0x00007f73d0e0bd80: xor %eax,%eax
0x00007f73d0e0bd82: xor %r9d,%r9d
0.00% 0x00007f73d0e0bd85: mov %r9d,0x20(%rsp)
0.00% ╭ 0x00007f73d0e0bd8a: jmpq 0x00007f73d0e0beed
0.04% 0.07% │ ↗ 0x00007f73d0e0bd8f: or $0x20,%r9d ;*ior ; - com.google.re2j.Utils::emptyOpContext@61 (line 188)
│ │ ; - com.google.re2j.Machine::match@330 (line 266)
0.18% 0.24% │ │ 0x00007f73d0e0bd93: mov %r9d,0x2c(%rsp) ;*iload_2
│ │ ; - com.google.re2j.Utils::emptyOpContext@63 (line 190)
│ │ ; - com.google.re2j.Machine::match@330 (line 266)
0.25% 0.26% │ │↗ 0x00007f73d0e0bd98: cmp 0x24(%rsp),%r13d
│ ││ 0x00007f73d0e0bd9d: je 0x00007f73d0e0c42f ;*if_icmpne
│ ││ ; - com.google.re2j.Machine::match@355 (line 267)
0.61% 0.53% │ ││ 0x00007f73d0e0bda3: xor %r10d,%r10d
0.10% 0.06% │ ││ 0x00007f73d0e0bda6: mov %r13d,0x34(%rsp)
0.21% 0.26% │ ││ 0x00007f73d0e0bdab: mov 0x40(%rsp),%rsi
0.11% 0.16% │ ││ 0x00007f73d0e0bdb0: mov 0x18(%rsp),%rdx
0.34% 0.41% │ ││ 0x00007f73d0e0bdb5: mov 0x70(%rsp),%rcx
0.08% 0.05% │ ││ 0x00007f73d0e0bdba: mov %r13d,%r8d
0.21% 0.26% │ ││ 0x00007f73d0e0bdbd: mov 0x20(%rsp),%r9d
0.10% 0.22% │ ││ 0x00007f73d0e0bdc2: mov 0x2c(%rsp),%r11d
0.45% 0.47% │ ││ 0x00007f73d0e0bdc7: mov %r11d,(%rsp)
0.07% 0.05% │ ││ 0x00007f73d0e0bdcb: xor %r11d,%r11d
0.26% 0.19% │ ││ 0x00007f73d0e0bdce: mov %r11d,0x8(%rsp)
0.38% 0.22% │ ││ 0x00007f73d0e0bdd3: mov %r10d,0x10(%rsp)
0.35% 0.36% │ ││ 0x00007f73d0e0bdd8: data16 xchg %ax,%ax
0.06% 0.14% │ ││ 0x00007f73d0e0bddb: callq 0x00007f73d0c19020 ; OopMap{[20]=NarrowOop [24]=Oop [56]=NarrowOop [64]=Oop [76]=NarrowOop [80]=Oop [96]=Oop [112]=Oop off=704}
│ ││ ;*invokespecial step
│ ││ ; - com.google.re2j.Machine::match@363 (line 267)
│ ││ ; {optimized virtual_call}
0.00% │ ││ 0x00007f73d0e0bde0: mov 0x40(%rsp),%r10
0.76% 0.76% │ ││ 0x00007f73d0e0bde5: movzbl 0x11(%r10),%r11d ;*getfield captures
│ ││ ; - com.google.re2j.Machine::match@375 (line 271)
0.02% 0.03% │ ││ 0x00007f73d0e0bdea: movzbl 0x10(%r10),%eax ;*getfield matched
│ ││ ; - com.google.re2j.Machine::match@382 (line 271)
│ ││ 0x00007f73d0e0bdef: mov 0x28(%rsp),%r9d
0.69% 0.85% │ ││ 0x00007f73d0e0bdf4: test %r9d,%r9d
│ ││ 0x00007f73d0e0bdf7: je 0x00007f73d0e0c3dd ;*ifne
│ ││ ; - com.google.re2j.Machine::match@368 (line 268)
│ ││ 0x00007f73d0e0bdfd: test %r11d,%r11d
0.02% │ ││ 0x00007f73d0e0be00: jne 0x00007f73d0e0c859 ;*ifne
│ ││ ; - com.google.re2j.Machine::match@378 (line 271)
0.01% 0.01% │ ││ 0x00007f73d0e0be06: test %eax,%eax
│ ││ 0x00007f73d0e0be08: jne 0x00007f73d0e0ca05 ;*ifeq
│ ││ ; - com.google.re2j.Machine::match@385 (line 271)
0.73% 0.80% │ ││ 0x00007f73d0e0be0e: mov 0x50(%rsp),%r10
│ ││ 0x00007f73d0e0be13: mov 0x10(%r10),%ecx ;*getfield end
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@9 (line 186)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.01% 0.02% │ ││ 0x00007f73d0e0be17: mov 0xc(%r10),%r13d ;*getfield start
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@2 (line 185)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.01% 0.02% │ ││ 0x00007f73d0e0be1b: mov 0x14(%r10),%r14d ;*getfield str
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@16 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.69% 0.92% │ ││ 0x00007f73d0e0be1f: mov 0x58(%rsp),%r10d
│ ││ 0x00007f73d0e0be24: cmp $0xffffffff,%r10d
│ ││ 0x00007f73d0e0be28: je 0x00007f73d0e0c43a ;*if_icmpeq
│ ││ ; - com.google.re2j.Machine::match@407 (line 279)
0.01% │ ││ 0x00007f73d0e0be2e: mov 0x30(%rsp),%ebx
0.00% 0.01% │ ││ 0x00007f73d0e0be32: add 0x20(%rsp),%ebx
0.83% 0.99% │ ││ 0x00007f73d0e0be36: add %r13d,%ebx ;*iadd
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@5 (line 185)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.00% │ ││ 0x00007f73d0e0be39: cmp %ecx,%ebx
│ ││ 0x00007f73d0e0be3b: jge 0x00007f73d0e0c449 ;*if_icmpge
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@12 (line 186)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.01% │ ││ 0x00007f73d0e0be41: mov 0x8(%r12,%r14,8),%r8d ; implicit exception: dispatches to 0x00007f73d0e0d941
0.17% 0.21% │ ││ 0x00007f73d0e0be46: cmp $0xf80002da,%r8d ; {metadata('java/lang/String')}
│ ││ 0x00007f73d0e0be4d: jne 0x00007f73d0e0c7ad
0.85% 0.93% │ ││ 0x00007f73d0e0be53: lea (%r12,%r14,8),%r10 ;*invokeinterface charAt
│ ││ ; - java.lang.Character::codePointAt@2 (line 4866)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
│ ││ 0x00007f73d0e0be57: test %ebx,%ebx
│ ││ 0x00007f73d0e0be59: jl 0x00007f73d0e0c8b5 ;*iflt
│ ││ ; - java.lang.String::charAt@1 (line 657)
│ ││ ; - java.lang.Character::codePointAt@2 (line 4866)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.00% │ ││ 0x00007f73d0e0be5f: mov 0xc(%r10),%r8d ;*getfield value
│ ││ ; - java.lang.String::charAt@6 (line 657)
│ ││ ; - java.lang.Character::codePointAt@2 (line 4866)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.03% 0.05% │ ││ 0x00007f73d0e0be63: mov 0xc(%r12,%r8,8),%ebp ;*arraylength
│ ││ ; - java.lang.String::charAt@9 (line 657)
│ ││ ; - java.lang.Character::codePointAt@2 (line 4866)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
│ ││ ; implicit exception: dispatches to 0x00007f73d0e0d955
2.34% 2.76% │ ││ 0x00007f73d0e0be68: cmp %ebp,%ebx
│ ││ 0x00007f73d0e0be6a: jge 0x00007f73d0e0ca61 ;*if_icmplt
│ ││ ; - java.lang.String::charAt@10 (line 657)
│ ││ ; - java.lang.Character::codePointAt@2 (line 4866)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.65% 0.85% │ ││ 0x00007f73d0e0be70: cmp %ebp,%ebx
│ ││ 0x00007f73d0e0be72: jae 0x00007f73d0e0c6d5
0.11% 0.16% │ ││ 0x00007f73d0e0be78: shl $0x3,%r8
│ ││ 0x00007f73d0e0be7c: movzwl 0x10(%r8,%rbx,2),%r9d ;*caload
│ ││ ; - java.lang.String::charAt@27 (line 660)
│ ││ ; - java.lang.Character::codePointAt@2 (line 4866)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.25% 0.34% │ ││ 0x00007f73d0e0be82: cmp $0xd800,%r9d
│ ││ 0x00007f73d0e0be89: jge 0x00007f73d0e0cacd ;*if_icmplt
│ ││ ; - java.lang.Character::isHighSurrogate@3 (line 4729)
│ ││ ; - java.lang.Character::codePointAt@9 (line 4867)
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@20 (line 187)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.65% 0.80% │ ││ 0x00007f73d0e0be8f: shl $0x3,%r9d ;*ishl
│ ││ ; - com.google.re2j.MachineInput$UTF16Input::step@38 (line 190)
│ ││ ; - com.google.re2j.Machine::match@415 (line 280)
0.16% 0.22% │ ││ 0x00007f73d0e0be93: mov %r9d,%edx
│ ││ 0x00007f73d0e0be96: or $0x1,%edx
0.65% 0.91% │ ││ 0x00007f73d0e0be99: and $0x7,%r9d
0.05% 0.03% │ ││ 0x00007f73d0e0be9d: sar $0x3,%edx ;*ishr
│ ││ ; - com.google.re2j.Machine::match@423 (line 281)
0.68% 0.85% │ ││ 0x00007f73d0e0bea0: or $0x1,%r9d ; OopMap{r14=NarrowOop [20]=NarrowOop [24]=Oop [64]=Oop [76]=NarrowOop [80]=Oop [96]=Oop [112]=Oop off=900}
│ ││ ;*goto
│ ││ ; - com.google.re2j.Machine::match@445 (line 287)
0.00% │ ││ 0x00007f73d0e0bea4: test %eax,0x15fa9156(%rip) # 0x00007f73e6db5000
│ ││ ;*goto
│ ││ ; - com.google.re2j.Machine::match@445 (line 287)
│ ││ ; {poll}
0.03% 0.07% │ ││ 0x00007f73d0e0beaa: mov 0x40(%rsp),%r10
0.04% 0.01% │ ││ 0x00007f73d0e0beaf: mov 0x28(%r10),%ebx ;*getfield matchcap
│ ││ ; - com.google.re2j.Machine::match@311 (line 264)
0.64% 0.92% │ ││ 0x00007f73d0e0beb3: mov 0x14(%r10),%esi ;*getfield re2
│ ││ ; - com.google.re2j.Machine::match@178 (line 241)
│ ││ 0x00007f73d0e0beb7: mov 0x70(%rsp),%r10
0.02% 0.06% │ ││ 0x00007f73d0e0bebc: shr $0x3,%r10
0.03% 0.04% │ ││ 0x00007f73d0e0bec0: mov %r10d,0x38(%rsp)
0.62% 0.74% │ ││ 0x00007f73d0e0bec5: mov 0x2c(%rsp),%r10d
0.00% │ ││ 0x00007f73d0e0beca: mov 0x58(%rsp),%edi
0.03% 0.06% │ ││ 0x00007f73d0e0bece: mov %edx,0x58(%rsp)
0.04% 0.05% │ ││ 0x00007f73d0e0bed2: mov 0x18(%rsp),%r8
0.54% 0.80% │ ││ 0x00007f73d0e0bed7: mov %r8,0x70(%rsp)
│ ││ 0x00007f73d0e0bedc: mov 0x30(%rsp),%edx
0.04% 0.03% │ ││ 0x00007f73d0e0bee0: mov %edx,0x28(%rsp)
0.03% 0.01% │ ││ 0x00007f73d0e0bee4: mov %r9d,0x30(%rsp)
0.66% 0.80% │ ││ 0x00007f73d0e0bee9: mov %ecx,0x24(%rsp) ;*getfield matchcap
│ ││ ; - com.google.re2j.Machine::match@311 (line 264)
0.00% ↘ ││ 0x00007f73d0e0beed: mov 0x38(%rsp),%r9d
0.07% 0.05% ││ 0x00007f73d0e0bef2: movzbl 0x18(%r12,%r9,8),%r9d ; implicit exception: dispatches to 0x00007f73d0e0d91d
0.15% 0.14% ││ 0x00007f73d0e0bef8: mov 0x38(%rsp),%r8d
0.66% 0.77% ││ 0x00007f73d0e0befd: shl $0x3,%r8 ;*aload
││ ; - com.google.re2j.Machine::match@145 (line 232)
0.01% ││ 0x00007f73d0e0bf01: mov %r8,0x18(%rsp)
0.06% 0.03% ││ 0x00007f73d0e0bf06: test %r9d,%r9d
││ 0x00007f73d0e0bf09: jne 0x00007f73d0e0c14c ;*ifeq
││ ; - com.google.re2j.Machine::match@150 (line 232)
0.10% 0.09% ││ 0x00007f73d0e0bf0f: mov 0x20(%rsp),%r13d ;*iload_3
││ ; - com.google.re2j.Machine::match@276 (line 258)
0.67% 0.89% ││ 0x00007f73d0e0bf14: test %eax,%eax
││ 0x00007f73d0e0bf16: jne 0x00007f73d0e0c815 ;*ifne
││ ; - com.google.re2j.Machine::match@288 (line 258)
0.00% 0.00% ││ 0x00007f73d0e0bf1c: test %r11d,%r11d
││ 0x00007f73d0e0bf1f: jne 0x00007f73d0e0c925 ;*ifeq
││ ; - com.google.re2j.Machine::match@295 (line 261)
0.03% 0.02% ││ 0x00007f73d0e0bf25: mov 0x60(%rsp),%r10
0.09% 0.12% ││ 0x00007f73d0e0bf2a: mov 0x18(%r10),%ecx ;*getfield pc
││ ; - com.google.re2j.Inst$MatchInst::add@2 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.61% 0.67% ││ 0x00007f73d0e0bf2e: cmp $0x40,%ecx
││ 0x00007f73d0e0bf31: jge 0x00007f73d0e0c969 ;*if_icmpge
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.01% 0.00% ││ 0x00007f73d0e0bf37: mov 0x38(%rsp),%r10d
0.00% 0.05% ││ 0x00007f73d0e0bf3c: mov 0x10(%r12,%r10,8),%r10 ;*getfield pcsl
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@11 (line 51)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.15% 0.12% ││ 0x00007f73d0e0bf41: mov $0x1,%r8d
0.64% 0.76% ││ 0x00007f73d0e0bf47: shl %cl,%r8 ;*lshl
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.16% 0.15% ││ 0x00007f73d0e0bf4a: mov %r8,%r9
0.68% 0.72% ││ 0x00007f73d0e0bf4d: and %r10,%r9 ;*land
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.01% 0.00% ││ 0x00007f73d0e0bf50: test %r9,%r9
││ 0x00007f73d0e0bf53: jne 0x00007f73d0e0c5d5 ;*ifne
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.13% 0.10% ││ 0x00007f73d0e0bf59: mov 0x38(%rsp),%edx
0.06% 0.05% ││ 0x00007f73d0e0bf5d: mov %r12b,0x18(%r12,%rdx,8) ;*putfield empty
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.64% 0.52% ││ 0x00007f73d0e0bf62: or %r10,%r8
0.01% ││ 0x00007f73d0e0bf65: mov %r8,0x10(%r12,%rdx,8) ;*putfield pcsl
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@28 (line 52)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.12% 0.14% ││ 0x00007f73d0e0bf6a: xor %ebp,%ebp ;*invokevirtual containsOrAdd
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.06% 0.04% ││ 0x00007f73d0e0bf6c: test %r9,%r9
││ 0x00007f73d0e0bf6f: jne 0x00007f73d0e0c9b9 ;*ifeq
││ ; - com.google.re2j.Inst$MatchInst::add@8 (line 144)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.54% 0.42% ││ 0x00007f73d0e0bf75: mov 0x38(%rsp),%r10d
││ 0x00007f73d0e0bf7a: mov 0xc(%r12,%r10,8),%r11d ;*getfield size
││ ; - com.google.re2j.Machine$Queue::addThread@6 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.12% 0.07% ││ 0x00007f73d0e0bf7f: mov 0x20(%r12,%r10,8),%r8d ;*getfield denseThreadsInstructions
││ ; - com.google.re2j.Machine$Queue::addThread@1 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.04% 0.02% ││ 0x00007f73d0e0bf84: mov %r11d,%r9d
0.58% 0.26% ││ 0x00007f73d0e0bf87: inc %r9d
0.02% 0.00% ││ 0x00007f73d0e0bf8a: mov %r9d,0xc(%r12,%r10,8) ;*putfield size
││ ; - com.google.re2j.Machine$Queue::addThread@12 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.13% 0.11% ││ 0x00007f73d0e0bf8f: mov 0xc(%r12,%r8,8),%r9d ; implicit exception: dispatches to 0x00007f73d0e0d92d
0.19% 0.11% ││ 0x00007f73d0e0bf94: cmp %r9d,%r11d
││ 0x00007f73d0e0bf97: jae 0x00007f73d0e0c666
0.86% 0.32% ││ 0x00007f73d0e0bf9d: mov 0x8(%r12,%r8,8),%r9d
0.00% 0.01% ││ 0x00007f73d0e0bfa2: cmp $0xf8019807,%r9d ; {metadata('com/google/re2j/Inst'[])}
││ 0x00007f73d0e0bfa9: jne 0x00007f73d0e0c741 ;*aastore
││ ; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::match@322 (line 264)
0.07% 0.05% ││ 0x00007f73d0e0bfaf: test %edi,%edi
╭ ││ 0x00007f73d0e0bfb1: jl 0x00007f73d0e0c065 ;*ifge
│ ││ ; - com.google.re2j.Utils::emptyOpContext@3 (line 173)
│ ││ ; - com.google.re2j.Machine::match@330 (line 266)
0.03% 0.03% │ ││ 0x00007f73d0e0bfb7: xor %r9d,%r9d ;*iload_0
│ ││ ; - com.google.re2j.Utils::emptyOpContext@10 (line 176)
│ ││ ; - com.google.re2j.Machine::match@330 (line 266)
0.60% 0.60% │ ││↗ 0x00007f73d0e0bfba: cmp $0xa,%edi
│ │││ 0x00007f73d0e0bfbd: je 0x00007f73d0e0c41d ;*iload_1
│ │││ ; - com.google.re2j.Utils::emptyOpContext@20 (line 179)
│ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.02% 0.00% │ │││ 0x00007f73d0e0bfc3: mov 0x58(%rsp),%ecx
0.03% 0.11% │ │││ 0x00007f73d0e0bfc7: test %ecx,%ecx
│ │││ 0x00007f73d0e0bfc9: jl 0x00007f73d0e0c3c4 ;*iload_1
│ │││ ; - com.google.re2j.Utils::emptyOpContext@29 (line 182)
│ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.03% 0.02% │ │││ 0x00007f73d0e0bfcf: cmp $0xa,%ecx
│ │││ 0x00007f73d0e0bfd2: je 0x00007f73d0e0c426 ;*iload_0
│ │││ ; - com.google.re2j.Utils::emptyOpContext@39 (line 185)
│ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.60% 0.73% │ │││ 0x00007f73d0e0bfd8: mov %r13d,%ecx
0.00% 0.00% │ │││ 0x00007f73d0e0bfdb: add 0x28(%rsp),%ecx ;*iadd
│ │││ ; - com.google.re2j.Machine::match@344 (line 267)
0.10% 0.09% │ │││ 0x00007f73d0e0bfdf: mov %ecx,0x20(%rsp)
0.04% 0.03% │ │││ 0x00007f73d0e0bfe3: mov 0x58(%rsp),%ecx
0.67% 0.57% │ │││ 0x00007f73d0e0bfe7: add $0xffffffbf,%ecx
0.01% 0.01% │ │││ 0x00007f73d0e0bfea: mov %edi,%r10d
0.10% 0.08% │ │││ 0x00007f73d0e0bfed: add $0xffffffbf,%r10d
0.05% 0.05% │ │││ 0x00007f73d0e0bff1: shl $0x3,%r8 ;*getfield denseThreadsInstructions
│ │││ ; - com.google.re2j.Machine$Queue::addThread@1 (line 85)
│ │││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
│ │││ ; - com.google.re2j.Machine::match@322 (line 264)
0.60% 0.34% │ │││ 0x00007f73d0e0bff5: lea 0x10(%r8,%r11,4),%r11
0.01% │ │││ 0x00007f73d0e0bffa: mov 0x14(%rsp),%r8d
0.10% 0.08% │ │││ 0x00007f73d0e0bfff: mov %r8d,(%r11)
0.68% 0.80% │ │││ 0x00007f73d0e0c002: shr $0x9,%r11
0.53% 0.43% │ │││ 0x00007f73d0e0c006: movabs $0x7f73cc601000,%r8
0.00% │ │││ 0x00007f73d0e0c010: mov %r12b,(%r8,%r11,1) ;*invokevirtual endPos
│ │││ ; - com.google.re2j.Machine::match@352 (line 267)
0.44% 0.46% │ │││ 0x00007f73d0e0c014: cmp $0x1a,%r10d
│╭ │││ 0x00007f73d0e0c018: jb 0x00007f73d0e0c02b ;*if_icmple
││ │││ ; - com.google.re2j.Utils::isWordRune@9 (line 149)
││ │││ ; - com.google.re2j.Utils::emptyOpContext@40 (line 185)
││ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.18% 0.19% ││ │││ 0x00007f73d0e0c01a: mov %edi,%r10d
0.32% 0.26% ││ │││ 0x00007f73d0e0c01d: add $0xffffff9f,%r10d
0.01% 0.00% ││ │││ 0x00007f73d0e0c021: cmp $0x1a,%r10d
││ │││ 0x00007f73d0e0c025: jae 0x00007f73d0e0c58a ;*iconst_1
││ │││ ; - com.google.re2j.Utils::isWordRune@42 (line 149)
││ │││ ; - com.google.re2j.Utils::emptyOpContext@40 (line 185)
││ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.21% 0.23% │↘ │││ 0x00007f73d0e0c02b: mov $0x1,%ebp ;*ireturn
│ │││ ; - com.google.re2j.Utils::isWordRune@47 (line 149)
│ │││ ; - com.google.re2j.Utils::emptyOpContext@40 (line 185)
│ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.20% 0.22% │ │││ 0x00007f73d0e0c030: cmp $0x1a,%ecx
│ ╭│││ 0x00007f73d0e0c033: jb 0x00007f73d0e0c048 ;*if_icmple
│ ││││ ; - com.google.re2j.Utils::isWordRune@9 (line 149)
│ ││││ ; - com.google.re2j.Utils::emptyOpContext@44 (line 185)
│ ││││ ; - com.google.re2j.Machine::match@330 (line 266)
0.28% 0.25% │ ││││ 0x00007f73d0e0c035: mov 0x58(%rsp),%r10d
0.04% 0.02% │ ││││ 0x00007f73d0e0c03a: add $0xffffff9f,%r10d
0.26% 0.26% │ ││││ 0x00007f73d0e0c03e: cmp $0x1a,%r10d
│ ││││ 0x00007f73d0e0c042: jae 0x00007f73d0e0c5ab ;*iconst_1
│ ││││ ; - com.google.re2j.Utils::isWordRune@42 (line 149)
│ ││││ ; - com.google.re2j.Utils::emptyOpContext@44 (line 185)
│ ││││ ; - com.google.re2j.Machine::match@330 (line 266)
0.24% 0.16% │ ↘│││ 0x00007f73d0e0c048: mov $0x1,%r11d ;*ireturn
│ │││ ; - com.google.re2j.Utils::isWordRune@47 (line 149)
│ │││ ; - com.google.re2j.Utils::emptyOpContext@44 (line 185)
│ │││ ; - com.google.re2j.Machine::match@330 (line 266)
0.37% 0.39% │ │││ 0x00007f73d0e0c04e: cmp %r11d,%ebp
│ ╰││ 0x00007f73d0e0c051: je 0x00007f73d0e0bd8f ;*if_icmpeq
│ ││ ; - com.google.re2j.Utils::emptyOpContext@47 (line 185)
│ ││ ; - com.google.re2j.Machine::match@330 (line 266)
0.02% 0.03% │ ││ 0x00007f73d0e0c057: or $0x10,%r9d ;*ior ; - com.google.re2j.Utils::emptyOpContext@53 (line 186)
│ ││ ; - com.google.re2j.Machine::match@330 (line 266)
0.03% 0.05% │ ││ 0x00007f73d0e0c05b: mov %r9d,0x2c(%rsp)
0.14% 0.26% │ ╰│ 0x00007f73d0e0c060: jmpq 0x00007f73d0e0bd98
0.00% ↘ │ 0x00007f73d0e0c065: mov $0x5,%r9d
╰ 0x00007f73d0e0c06b: jmpq 0x00007f73d0e0bfba
0.00% 0x00007f73d0e0c070: mov %r8d,0x68(%rsp)
0.01% 0.02% 0x00007f73d0e0c075: jmpq 0x00007f73d0e0c2fa
0x00007f73d0e0c07a: mov 0x68(%rsp),%r8d
0x00007f73d0e0c07f: add $0x2,%r8d
0x00007f73d0e0c083: mov %r8d,0x68(%rsp)
0x00007f73d0e0c088: mov 0x68(%rsp),%r8d
0x00007f73d0e0c08d: inc %r8d
0.00% 0x00007f73d0e0c090: mov %r8d,0x5c(%rsp)
╭ 0x00007f73d0e0c095: jmp 0x00007f73d0e0c0c2
0.00% │ 0x00007f73d0e0c097: mov 0x68(%rsp),%r8d
│ 0x00007f73d0e0c09c: add $0x2,%r8d
│ 0x00007f73d0e0c0a0: mov %r8d,0x5c(%rsp)
│╭ 0x00007f73d0e0c0a5: jmp 0x00007f73d0e0c0b5
││ 0x00007f73d0e0c0a7: mov 0x68(%rsp),%r8d
││ 0x00007f73d0e0c0ac: add $0x2,%r8d
││ 0x00007f73d0e0c0b0: mov %r8d,0x68(%rsp)
0.00% │↘ 0x00007f73d0e0c0b5: mov 0x68(%rsp),%r8d
│ 0x00007f73d0e0c0ba: inc %r8d ;*iinc
│ ; - java.lang.String::indexOf@69 (line 1772)
│ ; - java.lang.String::indexOf@21 (line 1718)
│ ; - com.google.re2j.MachineInput$UTF16Input::indexOf@13 (line 225)
│ ; - com.google.re2j.MachineInput$UTF16Input::index@17 (line 204)
│ ; - com.google.re2j.Machine::match@215 (line 245)
│ 0x00007f73d0e0c0bd: mov %r8d,0x68(%rsp)
0.00% ↘ 0x00007f73d0e0c0c2: mov 0x68(%rsp),%r8d
0x00007f73d0e0c0c7: cmp 0x28(%rsp),%r8d
0x00007f73d0e0c0cc: jg 0x00007f73d0e0c131
0x00007f73d0e0c0ce: mov 0x68(%rsp),%r8d
0.01% 0x00007f73d0e0c0d3: add 0x34(%rsp),%r8d ;*iadd
; - java.lang.String::indexOf@101 (line 1777)
; - java.lang.String::indexOf@21 (line 1718)
; - com.google.re2j.MachineInput$UTF16Input::indexOf@13 (line 225)
; - com.google.re2j.MachineInput$UTF16Input::index@17 (line 204)
; - com.google.re2j.Machine::match@215 (line 245)
0x00007f73d0e0c0d8: mov %r8d,%r9d
0x00007f73d0e0c0db: mov 0x5c(%rsp),%r8d
0x00007f73d0e0c0e0: cmp %r9d,%r8d
0x00007f73d0e0c0e3: jge 0x00007f73d0e0c123 ;*if_icmpge
; - java.lang.String::indexOf@123 (line 1779)
....................................................................................................
31.76% 33.93% <total for region 2>
....[Hottest Region 3]..............................................................................
C2, level 4, com.google.re2j.Machine::step, version 488 (480 bytes)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Machine::step@214 (line 338)
; {optimized virtual_call}
0x00007f73d0de8284: test %rax,%rax
0x00007f73d0de8287: jne 0x00007f73d0de8b1d ;*ifnull
; - com.google.re2j.Machine::step@221 (line 341)
0x00007f73d0de828d: mov 0x30(%rsp),%r11
0x00007f73d0de8292: jmpq 0x00007f73d0de7f72
0.25% 0.27% 0x00007f73d0de8297: cmp $0xf8019909,%ebx ; {metadata('com/google/re2j/Inst$MatchInst')}
0x00007f73d0de829d: jne 0x00007f73d0de8989 ;*invokevirtual add
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.42% 0.53% 0x00007f73d0de82a3: mov 0x18(%r11),%ecx ;*getfield pc
; - com.google.re2j.Inst$MatchInst::add@2 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.00% 0.00% 0x00007f73d0de82a7: cmp $0x40,%ecx
0x00007f73d0de82aa: jge 0x00007f73d0de8aad ;*if_icmpge
; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.04% 0.06% 0x00007f73d0de82b0: mov %r11,%rbx
0.28% 0.31% 0x00007f73d0de82b3: mov $0x1,%r11d
0.41% 0.46% 0x00007f73d0de82b9: shl %cl,%r11 ;*lshl
; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.33% 0.41% 0x00007f73d0de82bc: mov %r11,%r8
0.38% 0.38% 0x00007f73d0de82bf: and %rdx,%r8 ;*land
; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.00% 0x00007f73d0de82c2: test %r8,%r8
0x00007f73d0de82c5: jne 0x00007f73d0de84a8 ;*ifne
; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.13% 0.09% 0x00007f73d0de82cb: mov 0x30(%rsp),%rcx
0.29% 0.26% 0x00007f73d0de82d0: mov %r12b,0x18(%rcx) ;*putfield empty
; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.42% 0.38% 0x00007f73d0de82d4: or %rdx,%r11
0x00007f73d0de82d7: mov %r11,0x10(%rcx) ;*putfield pcsl
; - com.google.re2j.Machine$Queue::containsOrAdd@28 (line 52)
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.13% 0.06% 0x00007f73d0de82db: xor %ebp,%ebp ;*invokevirtual containsOrAdd
; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.36% 0.29% 0x00007f73d0de82dd: test %r8,%r8
0x00007f73d0de82e0: jne 0x00007f73d0de8b09 ;*ifeq
; - com.google.re2j.Inst$MatchInst::add@8 (line 144)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.38% 0.43% 0x00007f73d0de82e6: add $0x18,%r9
0.00% 0x00007f73d0de82ea: mov %rbx,%r10
0.09% 0.11% 0x00007f73d0de82ed: shr $0x3,%r10
0.31% 0.35% 0x00007f73d0de82f1: mov %r10d,(%r9) ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.40% 0.49% 0x00007f73d0de82f4: mov %r9,%r10
0.00% 0x00007f73d0de82f7: add $0x3,%r14d
0.09% 0.14% 0x00007f73d0de82fb: mov 0x30(%rsp),%r11
0.26% 0.33% 0x00007f73d0de8300: mov %r14d,0xc(%r11) ;*putfield size
; - com.google.re2j.Machine$Queue::addThread@12 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.33% 0.31% 0x00007f73d0de8304: shr $0x9,%r10
0.00% 0.00% 0x00007f73d0de8308: movabs $0x7f73cc601000,%r8
0.08% 0.03% 0x00007f73d0de8312: mov %r12b,(%r8,%r10,1) ;*aastore
; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
; - com.google.re2j.Inst$Alt2Inst::add@49 (line 179)
; - com.google.re2j.Inst$CaptureInst::add@88 (line 450)
; - com.google.re2j.Inst$Alt2Inst::add@-1 (line 174)
; - com.google.re2j.Machine::step@-1 (line 301)
0.33% 0.16% 0x00007f73d0de8316: jmpq 0x00007f73d0de7f72
0.45% 0.58% 0x00007f73d0de831b: cmp $0xb,%r8d
0x00007f73d0de831f: je 0x00007f73d0de85fd ;*if_icmpne
; - com.google.re2j.Inst::matchRune@17 (line 94)
; - com.google.re2j.Machine::step@191 (line 337)
1.37% 1.53% 0x00007f73d0de8325: mov 0x1c(%r12,%r11,8),%edi ;*getfield f0
; - com.google.re2j.Inst::matchRune@42 (line 99)
; - com.google.re2j.Machine::step@191 (line 337)
0.09% 0.03% 0x00007f73d0de832a: cmp $0x9,%r8d
╭ 0x00007f73d0de832e: je 0x00007f73d0de8379 ;*if_icmpne
│ ; - com.google.re2j.Inst::matchRune@38 (line 98)
│ ; - com.google.re2j.Machine::step@191 (line 337)
0.54% 0.47% │ 0x00007f73d0de8330: cmp $0xc,%r8d
│ 0x00007f73d0de8334: jne 0x00007f73d0de88b5 ;*if_icmpne
│ ; - com.google.re2j.Inst::matchRune@61 (line 102)
│ ; - com.google.re2j.Machine::step@191 (line 337)
0.34% 0.40% │ 0x00007f73d0de833a: cmp 0x18(%rsp),%edi
│╭ 0x00007f73d0de833e: je 0x00007f73d0de8460 ;*if_icmpeq
││ ; - com.google.re2j.Inst::matchRune@69 (line 103)
││ ; - com.google.re2j.Machine::step@191 (line 337)
0.52% 0.48% ││ 0x00007f73d0de8344: mov 0x20(%r12,%r11,8),%r8d ;*getfield f1
││ ; - com.google.re2j.Inst::matchRune@73 (line 103)
││ ; - com.google.re2j.Machine::step@191 (line 337)
0.05% 0.04% ││ 0x00007f73d0de8349: cmp 0x18(%rsp),%r8d
││╭ 0x00007f73d0de834e: je 0x00007f73d0de8460 ;*if_icmpeq
│││ ; - com.google.re2j.Inst::matchRune@77 (line 103)
│││ ; - com.google.re2j.Machine::step@191 (line 337)
0.50% 0.74% │││ 0x00007f73d0de8354: mov 0x24(%r12,%r11,8),%ebp ;*getfield f2
│││ ; - com.google.re2j.Inst::matchRune@81 (line 103)
│││ ; - com.google.re2j.Machine::step@191 (line 337)
0.05% 0.05% │││ 0x00007f73d0de8359: cmp 0x18(%rsp),%ebp
│││ 0x00007f73d0de835d: je 0x00007f73d0de88ed ;*if_icmpeq
│││ ; - com.google.re2j.Inst::matchRune@85 (line 103)
│││ ; - com.google.re2j.Machine::step@191 (line 337)
0.55% 0.54% │││ 0x00007f73d0de8363: mov 0x28(%r12,%r11,8),%ebp ;*getfield f3
│││ ; - com.google.re2j.Inst::matchRune@89 (line 103)
│││ ; - com.google.re2j.Machine::step@191 (line 337)
0.02% 0.02% │││ 0x00007f73d0de8368: cmp 0x18(%rsp),%ebp
│││ 0x00007f73d0de836c: je 0x00007f73d0de8925 ;*if_icmpne
│││ ; - com.google.re2j.Inst::matchRune@93 (line 103)
│││ ; - com.google.re2j.Machine::step@191 (line 337)
0.33% 0.42% │││ 0x00007f73d0de8372: xor %ecx,%ecx
0.03% 0.03% │││ 0x00007f73d0de8374: jmpq 0x00007f73d0de7ee5
0.47% 0.51% ↘││ 0x00007f73d0de8379: cmp 0x18(%rsp),%edi
││ 0x00007f73d0de837d: jne 0x00007f73d0de7ee3 ;*if_icmpne
││ ; - com.google.re2j.Inst::matchRune@46 (line 99)
││ ; - com.google.re2j.Machine::step@191 (line 337)
0.00% 0.00% ││ 0x00007f73d0de8383: mov $0x1,%ecx
0.01% 0.00% ││ 0x00007f73d0de8388: jmpq 0x00007f73d0de7ee5 ;*if_icmpge
││ ; - com.google.re2j.Machine::step@40 (line 307)
0.66% 0.81% ││ 0x00007f73d0de838d: movzbl 0x18(%rbx),%r10d
││ 0x00007f73d0de8392: test %r10d,%r10d
││╭ 0x00007f73d0de8395: jne 0x00007f73d0de83ae ;*ifeq
│││ ; - com.google.re2j.Machine$Queue::clear@4 (line 88)
│││ ; - com.google.re2j.Machine::step@237 (line 345)
│││ 0x00007f73d0de8397: movb $0x1,0x18(%rbx) ;*putfield empty
│││ ; - com.google.re2j.Machine$Queue::clear@15 (line 90)
│││ ; - com.google.re2j.Machine::step@237 (line 345)
│││ 0x00007f73d0de839b: mov 0x1c(%rbx),%ebp ;*getfield pcs
│││ ; - com.google.re2j.Machine$Queue::clear@24 (line 92)
│││ ; - com.google.re2j.Machine::step@237 (line 345)
0.86% 0.64% │││ 0x00007f73d0de839e: mov %r12d,0xc(%rbx) ;*putfield size
│││ ; - com.google.re2j.Machine$Queue::clear@10 (line 89)
│││ ; - com.google.re2j.Machine::step@237 (line 345)
0.01% │││ 0x00007f73d0de83a2: mov %r12,0x10(%rbx) ;*putfield pcsl
│││ ; - com.google.re2j.Machine$Queue::clear@20 (line 91)
│││ ; - com.google.re2j.Machine::step@237 (line 345)
│││ 0x00007f73d0de83a6: test %ebp,%ebp
│││ 0x00007f73d0de83a8: jne 0x00007f73d0de8971 ;*getfield size
│││ ; - com.google.re2j.Machine::step@10 (line 302)
││↘ 0x00007f73d0de83ae: add $0x90,%rsp
0.74% 0.70% ││ 0x00007f73d0de83b5: pop %rbp
0.01% ││ 0x00007f73d0de83b6: test %eax,0x15fccc44(%rip) # 0x00007f73e6db5000
││ ; {poll_return}
││ 0x00007f73d0de83bc: retq
0.03% 0.02% ││ 0x00007f73d0de83bd: cmp $0xf8019909,%r11d ; {metadata('com/google/re2j/Inst$MatchInst')}
││ 0x00007f73d0de83c4: jne 0x00007f73d0de8be1 ;*invokevirtual add
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de83ca: mov 0x18(%r8),%ecx ;*getfield pc
││ ; - com.google.re2j.Inst$MatchInst::add@2 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de83ce: mov %rax,%r11
││ 0x00007f73d0de83d1: mov 0x10(%rax),%rdi ;*getfield pcsl
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@11 (line 51)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ ; implicit exception: dispatches to 0x00007f73d0de8e75
0.02% 0.00% ││ 0x00007f73d0de83d5: cmp $0x40,%ecx
││ 0x00007f73d0de83d8: jge 0x00007f73d0de8ca5 ;*if_icmpge
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@3 (line 49)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de83de: mov $0x1,%esi
││ 0x00007f73d0de83e3: shl %cl,%rsi ;*lshl
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@8 (line 50)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.05% 0.03% ││ 0x00007f73d0de83e6: mov %rsi,%rcx
││ 0x00007f73d0de83e9: and %rdi,%rcx ;*land
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@15 (line 51)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de83ec: test %rcx,%rcx
││ 0x00007f73d0de83ef: jne 0x00007f73d0de84b2 ;*ifne
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@18 (line 51)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.02% 0.01% ││ 0x00007f73d0de83f5: mov %r12b,0x18(%rax) ;*putfield empty
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@33 (line 53)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.00% ││ 0x00007f73d0de83f9: or %rdi,%rsi
││ 0x00007f73d0de83fc: mov %rsi,0x10(%rax) ;*putfield pcsl
││ ; - com.google.re2j.Machine$Queue::containsOrAdd@28 (line 52)
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de8400: xor %ebp,%ebp ;*invokevirtual containsOrAdd
││ ; - com.google.re2j.Inst$MatchInst::add@5 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.01% 0.01% ││ 0x00007f73d0de8402: test %rcx,%rcx
││ 0x00007f73d0de8405: jne 0x00007f73d0de8d11 ;*ifeq
││ ; - com.google.re2j.Inst$MatchInst::add@8 (line 144)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.01% ││ 0x00007f73d0de840b: mov 0xc(%rax),%ecx ;*getfield size
││ ; - com.google.re2j.Machine$Queue::addThread@6 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de840e: mov 0x20(%rax),%ebp ;*getfield denseThreadsInstructions
││ ; - com.google.re2j.Machine$Queue::addThread@1 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.00% ││ 0x00007f73d0de8411: mov %ecx,%esi
0.04% 0.02% ││ 0x00007f73d0de8413: inc %esi
0.01% ││ 0x00007f73d0de8415: mov %esi,0xc(%rax) ;*putfield size
││ ; - com.google.re2j.Machine$Queue::addThread@12 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.00% ││ 0x00007f73d0de8418: mov 0xc(%r12,%rbp,8),%esi ; implicit exception: dispatches to 0x00007f73d0de8e89
0.03% 0.01% ││ 0x00007f73d0de841d: cmp %esi,%ecx
││ 0x00007f73d0de841f: jae 0x00007f73d0de8b75
0.03% 0.00% ││ 0x00007f73d0de8425: mov 0x8(%r12,%rbp,8),%esi
││ 0x00007f73d0de842a: cmp $0xf8019807,%esi ; {metadata('com/google/re2j/Inst'[])}
││ 0x00007f73d0de8430: jne 0x00007f73d0de8c39 ;*aastore
││ ; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de8436: lea (%r12,%rbp,8),%rdi ;*getfield denseThreadsInstructions
││ ; - com.google.re2j.Machine$Queue::addThread@1 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::step@214 (line 338)
││ 0x00007f73d0de843a: lea 0x10(%rdi,%rcx,4),%rcx
0.01% 0.02% ││ 0x00007f73d0de843f: shr $0x3,%r8
0.00% ││ 0x00007f73d0de8443: mov %r8d,(%rcx)
0.04% ││ 0x00007f73d0de8446: mov %rcx,%r8
││ 0x00007f73d0de8449: shr $0x9,%r8
0.01% ││ 0x00007f73d0de844d: movabs $0x7f73cc601000,%rcx
││ 0x00007f73d0de8457: mov %r12b,(%rcx,%r8,1) ;*aastore
││ ; - com.google.re2j.Machine$Queue::addThread@16 (line 85)
││ ; - com.google.re2j.Inst$MatchInst::add@64 (line 157)
││ ; - com.google.re2j.Machine::step@214 (line 338)
0.03% 0.03% ││ 0x00007f73d0de845b: jmpq 0x00007f73d0de7f96 ;*iconst_1
││ ; - com.google.re2j.Inst::matchRune@96 (line 103)
││ ; - com.google.re2j.Machine::step@191 (line 337)
0.21% 0.19% ↘↘ 0x00007f73d0de8460: mov $0x1,%ecx
0.05% 0.12% 0x00007f73d0de8465: jmpq 0x00007f73d0de7ee5
0x00007f73d0de846a: mov 0x30(%rsp),%r11
0x00007f73d0de846f: jmpq 0x00007f73d0de7f72
0x00007f73d0de8474: mov %rsi,%rdi
0.00% 0x00007f73d0de8477: jmpq 0x00007f73d0de8014
0x00007f73d0de847c: mov %rdi,%rsi
0x00007f73d0de847f: mov $0x1,%ebp
0x00007f73d0de8484: jmpq 0x00007f73d0de8066
0x00007f73d0de8489: mov $0x1,%ebp
0x00007f73d0de848e: jmpq 0x00007f73d0de7f38
0x00007f73d0de8493: mov %rsi,%r11
0x00007f73d0de8496: jmpq 0x00007f73d0de818f
0x00007f73d0de849b: mov %r11,%rdx
0x00007f73d0de849e: mov $0x1,%ebp
0x00007f73d0de84a3: jmpq 0x00007f73d0de81ea
....................................................................................................
13.94% 14.37% <total for region 3>
....[Hottest Regions]...............................................................................
39.62% 37.64% C2, level 4 com.google.re2j.Machine::step, version 488 (705 bytes)
31.76% 33.93% C2, level 4 com.google.re2j.Machine::match, version 527 (1427 bytes)
13.94% 14.37% C2, level 4 com.google.re2j.Machine::step, version 488 (480 bytes)
8.68% 9.03% C2, level 4 com.google.re2j.Machine::step, version 488 (144 bytes)
1.52% 1.64% C2, level 4 com.google.re2j.Machine::match, version 527 (75 bytes)
0.57% 0.56% [kernel.kallsyms] [unknown] (6 bytes)
0.26% 0.22% C2, level 4 com.google.re2j.Machine::match, version 527 (393 bytes)
0.16% 0.13% C2, level 4 com.google.re2j.Pattern::find, version 541 (32 bytes)
0.15% 0.05% C2, level 4 java.util.Collections::shuffle, version 553 (83 bytes)
0.15% 0.11% C2, level 4 com.google.re2j.Pattern::find, version 541 (28 bytes)
0.14% 0.18% C2, level 4 com.google.re2j.Machine::match, version 527 (210 bytes)
0.12% 0.03% C2, level 4 com.google.re2j.Pattern::find, version 541 (173 bytes)
0.12% C2, level 4 com.google.re2j.Pattern::find, version 541 (130 bytes)
0.10% 0.00% [kernel.kallsyms] [unknown] (22 bytes)
0.10% 0.06% C2, level 4 com.google.re2j.Pattern::find, version 541 (0 bytes)
0.10% 0.08% C2, level 4 com.google.re2j.Pattern::find, version 541 (0 bytes)
0.10% 0.03% [kernel.kallsyms] [unknown] (8 bytes)
0.09% 0.01% C2, level 4 com.google.re2j.Pattern::find, version 541 (75 bytes)
0.08% 0.09% C2, level 4 com.google.re2j.Machine::match, version 527 (117 bytes)
0.07% 0.02% [kernel.kallsyms] [unknown] (6 bytes)
2.19% 1.80% <...other 361 warm regions...>
....................................................................................................
100.00% 100.00% <totals>
....[Hottest Methods (after inlining)]..............................................................
62.23% 61.04% C2, level 4 com.google.re2j.Machine::step, version 488
33.83% 36.11% C2, level 4 com.google.re2j.Machine::match, version 527
1.66% 1.39% [kernel.kallsyms] [unknown]
1.05% 0.44% C2, level 4 com.google.re2j.Pattern::find, version 541
0.27% 0.08% C2, level 4 java.util.Collections::shuffle, version 553
0.12% 0.06% C2, level 4 com.github.arnaudroger.re2j.generated.Re2jFindRegex_testExp1_jmhTest::testExp1_thrpt_jmhStub, version 586
0.12% 0.03% [vdso] [unknown]
0.06% 0.00% libc-2.26.so __clock_gettime
0.05% 0.04% hsdis-amd64.so decode_instructions
0.04% 0.06% libjvm.so _ZN13RelocIterator10initializeEP7nmethodPhS2_
0.03% 0.05% libc-2.26.so _IO_fwrite
0.03% 0.07% libc-2.26.so vfprintf
0.02% libpthread-2.26.so __libc_write
0.02% libjvm.so _ZN2os13javaTimeNanosEv
0.02% 0.04% libjvm.so _ZN12outputStream15update_positionEPKcm
0.02% libjvm.so _ZN18PSPromotionManager18drain_stacks_depthEb
0.01% 0.03% libpthread-2.26.so __pthread_enable_asynccancel
0.01% 0.00% libjvm.so _ZN19GenericTaskQueueSetI17OverflowTaskQueueI8StarTaskL10MemoryType1ELj131072EELS2_1EE15steal_best_of_2EjPiRS1_
0.01% 0.00% libjvm.so _ZN13defaultStream5writeEPKcm
0.01% 0.01% libjvm.so _ZN12outputStream12do_vsnprintfEPcmPKcP13__va_list_tagbRm
0.35% 0.35% <...other 56 warm methods...>
....................................................................................................
100.00% 99.82% <totals>
....[Distribution by Source]........................................................................
97.52% 97.73% C2, level 4
1.66% 1.39% [kernel.kallsyms]
0.37% 0.40% libjvm.so
0.19% 0.30% libc-2.26.so
0.12% 0.03% [vdso]
0.07% 0.08% libpthread-2.26.so
0.06% 0.04% hsdis-amd64.so
0.00%
0.00% 0.01% runtime stub
0.00% interpreter
....................................................................................................
100.00% 100.00% <totals>
# Run complete. Total time: 00:00:45
Benchmark Mode Cnt Score Error Units
Re2jFindRegex.testExp1 thrpt 20 23913.580 ± 199.978 ops/s
Re2jFindRegex.testExp1:·asm thrpt NaN ---
| 96.626587 | 185 | 0.392866 |
2622806c6e041c57ae296a7ea80277e5ce3a9699 | 257 | asm | Assembly | test2.asm | meredithmmyers/Operating-System | 9fa995e0d08097cc957d15a9a4996649c4a0bacd | [
"Apache-2.0"
] | 4 | 2017-04-03T22:18:12.000Z | 2021-06-13T23:45:35.000Z | test2.asm | benjmyers/Operating-System | 9fa995e0d08097cc957d15a9a4996649c4a0bacd | [
"Apache-2.0"
] | null | null | null | test2.asm | benjmyers/Operating-System | 9fa995e0d08097cc957d15a9a4996649c4a0bacd | [
"Apache-2.0"
] | 26 | 2016-03-29T19:02:39.000Z | 2021-04-16T12:43:42.000Z | ASSUME CS:CODE, DS:DATA
;.MODEL TINY
DATA SEGMENT
DATA ENDS
CODE SEGMENT
;ORG 100h
START:
mov ax,CODE
mov ds,ax
mov ah,9
mov al,20
mov dx, OFFSET MSG
int 21h
mov ah,4ch
int 21h
here:
jmp here
MSG DB 'Hello World',13,10,'$'
CODE ENDS
END START
| 10.708333 | 31 | 0.692607 |
70bb01a1165c5336f39b9450cab2749755082dc7 | 397 | asm | Assembly | _anim/obj86.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 2 | 2020-04-09T19:36:35.000Z | 2021-01-05T14:20:17.000Z | _anim/obj86.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | null | null | null | _anim/obj86.asm | NatsumiFox/AMPS-Sonic-1-2005 | ac8730799f1b96291358c77a4b64529de94ce8a4 | [
"Apache-2.0"
] | 1 | 2020-06-17T14:16:35.000Z | 2020-06-17T14:16:35.000Z | ; ---------------------------------------------------------------------------
; Animation script - energy ball launcher (FZ)
; ---------------------------------------------------------------------------
dc.w byte_1AA46-Ani_obj86
dc.w byte_1AA4A-Ani_obj86
dc.w byte_1AA50-Ani_obj86
byte_1AA46: dc.b $7E, 0, $FF, 0
byte_1AA4A: dc.b 1, 0, 2, 0, 3, $FF
byte_1AA50: dc.b 1, 1, 2, 1, 3, $FF
even | 39.7 | 77 | 0.413098 |
fd17496c61afe6311982d54a343ebae73c46d68a | 555 | asm | Assembly | oeis/092/A092476.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/092/A092476.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/092/A092476.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A092476: Numbers that are congruent to {1, 3, 9} mod 13.
; Submitted by Jon Maiga
; 1,3,9,14,16,22,27,29,35,40,42,48,53,55,61,66,68,74,79,81,87,92,94,100,105,107,113,118,120,126,131,133,139,144,146,152,157,159,165,170,172,178,183,185,191,196,198,204,209,211,217,222,224,230,235,237,243,248,250,256,261,263,269,274,276,282,287,289,295,300,302,308,313,315,321,326,328,334,339,341,347,352,354,360,365,367,373,378,380,386,391,393,399,404,406,412,417,419,425,430
mov $2,$0
mul $2,10
add $2,3
lpb $2
add $0,2
div $2,3
add $0,$2
mod $2,2
lpe
sub $0,4
| 37 | 375 | 0.686486 |
f5216ba156c6562757a104983c0379f36f3b9976 | 369 | asm | Assembly | programs/oeis/213/A213502.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/213/A213502.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/213/A213502.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A213502: Number of (w,x,y) with all terms in {0,...,n} and x != min(|w-x|,|x-y|)
; 0,4,17,47,98,178,291,445,644,896,1205,1579,2022,2542,3143,3833,4616,5500,6489,7591,8810,10154,11627,13237,14988,16888,18941,21155,23534,26086,28815,31729,34832,38132,41633,45343,49266,53410,57779
mov $1,$0
add $0,1
pow $1,2
mov $2,$0
mul $0,$1
add $1,$0
div $2,2
add $1,$2
mov $0,$1
| 28.384615 | 197 | 0.669377 |
735713e9333c55a7918fbc599648ab258c4c6962 | 898 | asm | Assembly | programs/oeis/130/A130423.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/130/A130423.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/130/A130423.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A130423: Main diagonal of array A[k,n] = n-th sum of 3 consecutive k-gonal numbers, k>2.
; 4,14,39,88,170,294,469,704,1008,1390,1859,2424,3094,3878,4785,5824,7004,8334,9823,11480,13314,15334,17549,19968,22600,25454,28539,31864,35438,39270,43369,47744,52404,57358,62615,68184,74074,80294,86853,93760,101024,108654,116659,125048,133830,143014,152609,162624,173068,183950,195279,207064,219314,232038,245245,258944,273144,287854,303083,318840,335134,351974,369369,387328,405860,424974,444679,464984,485898,507430,529589,552384,575824,599918,624675,650104,676214,703014,730513,758720,787644,817294,847679,878808,910690,943334,976749,1010944,1045928,1081710,1118299,1155704,1193934,1232998,1272905,1313664,1355284,1397774,1441143,1485400
add $0,1
mov $3,$0
mul $3,$0
sub $0,1
mov $1,$0
add $3,3
mul $3,$0
add $3,1
sub $3,$0
add $3,1
add $0,$3
mov $2,$0
add $2,$0
add $2,2
sub $2,$1
add $0,$2
div $0,2
| 42.761905 | 642 | 0.768374 |
d45be3fc9bf23c283eca25c77ab0da7f1754e922 | 595 | asm | Assembly | programs/oeis/032/A032908.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/032/A032908.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | programs/oeis/032/A032908.asm | jmorken/loda | 99c09d2641e858b074f6344a352d13bc55601571 | [
"Apache-2.0"
] | null | null | null | ; A032908: One of four 3rd-order recurring sequences for which the first derived sequence and the Galois transformed sequence coincide.
; 2,2,3,6,14,35,90,234,611,1598,4182,10947,28658,75026,196419,514230,1346270,3524579,9227466,24157818,63245987,165580142,433494438,1134903171,2971215074,7778742050,20365011075,53316291174,139583862446,365435296163,956722026042,2504730781962,6557470319843,17167680177566,44945570212854,117669030460995,308061521170130,806515533049394,2111485077978051,5527939700884758
sub $0,1
mov $1,5
lpb $0
sub $0,1
add $2,$1
add $1,$2
lpe
sub $1,5
div $1,5
add $1,2
| 42.5 | 366 | 0.813445 |
502c3684b2447b5d5db13809676544fc0cb68690 | 434 | asm | Assembly | oeis/120/A120505.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/120/A120505.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/120/A120505.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A120505: Generalized meta-Fibonacci sequence a(n) with parameters s=2 and k=3.
; Submitted by Christian Krause
; 1,1,1,2,3,3,3,3,4,5,6,6,7,8,9,9,9,9,9,10,11,12,12,13,14,15,15,16,17,18,18,18,19,20,21,21,22,23,24,24,25,26,27,27,27,27,27,27,28,29,30,30,31,32,33,33,34,35,36,36
mov $6,$0
add $0,1
mov $2,$0
lpb $0
lpb $0,$6
mov $6,$2
lpb $0
sub $6,2
sub $6,$0
div $0,3
lpe
lpe
sub $0,1
lpe
add $0,1
| 21.7 | 162 | 0.589862 |
80f173afc7d2a9fef62657b3927111f4cbb0e596 | 7,936 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2315.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2315.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2315.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r13
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x14538, %r13
nop
add $24977, %rbx
mov (%r13), %r14
nop
nop
nop
xor %rdi, %rdi
lea addresses_A_ht+0x16020, %rbx
nop
nop
nop
nop
and $58241, %rdi
movb (%rbx), %r14b
nop
nop
dec %r11
lea addresses_UC_ht+0x5e48, %r8
nop
nop
nop
nop
nop
and %r12, %r12
movb (%r8), %r14b
nop
nop
nop
nop
nop
and %r13, %r13
lea addresses_UC_ht+0x6822, %r11
clflush (%r11)
nop
nop
nop
nop
and $8465, %rbx
movups (%r11), %xmm5
vpextrq $1, %xmm5, %r13
nop
nop
nop
sub $58140, %r13
lea addresses_WC_ht+0x155a0, %rsi
lea addresses_WC_ht+0x13820, %rdi
nop
nop
nop
and $37338, %rbx
mov $30, %rcx
rep movsl
nop
nop
nop
nop
nop
add $56246, %rbx
lea addresses_UC_ht+0x1ac20, %rsi
lea addresses_A_ht+0x14520, %rdi
nop
xor %r8, %r8
mov $110, %rcx
rep movsq
nop
cmp %rsi, %rsi
lea addresses_UC_ht+0x11e20, %rsi
lea addresses_A_ht+0x14ca0, %rdi
nop
nop
nop
nop
add %r14, %r14
mov $108, %rcx
rep movsb
nop
nop
nop
nop
nop
add $33365, %r11
lea addresses_A_ht+0x2593, %rbx
nop
nop
nop
nop
and %r11, %r11
mov $0x6162636465666768, %r12
movq %r12, (%rbx)
nop
nop
nop
cmp %rdi, %rdi
lea addresses_D_ht+0xaeb0, %rcx
clflush (%rcx)
nop
nop
nop
nop
and $5350, %r14
movw $0x6162, (%rcx)
nop
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_normal_ht+0x9c20, %rsi
lea addresses_UC_ht+0x19e70, %rdi
nop
nop
cmp $36591, %r12
mov $76, %rcx
rep movsq
nop
nop
xor $56824, %r12
lea addresses_WT_ht+0x11a08, %rsi
lea addresses_UC_ht+0x1ca20, %rdi
nop
add %r13, %r13
mov $81, %rcx
rep movsb
nop
add %rdi, %rdi
lea addresses_UC_ht+0xf820, %rsi
lea addresses_D_ht+0x9120, %rdi
nop
sub %rbx, %rbx
mov $93, %rcx
rep movsw
nop
nop
nop
xor $48906, %r12
lea addresses_normal_ht+0x13510, %rsi
lea addresses_normal_ht+0x17a20, %rdi
nop
nop
nop
nop
nop
inc %r13
mov $82, %rcx
rep movsq
add $20809, %r13
lea addresses_UC_ht+0x880c, %rcx
nop
nop
nop
nop
nop
add %r11, %r11
mov $0x6162636465666768, %r14
movq %r14, (%rcx)
nop
nop
nop
inc %rsi
lea addresses_D_ht+0x10a20, %rsi
lea addresses_D_ht+0x1c620, %rdi
add %r13, %r13
mov $111, %rcx
rep movsq
nop
nop
xor %r11, %r11
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r8
pop %r14
pop %r13
pop %r12
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r8
push %rax
push %rbp
push %rcx
push %rdx
// Faulty Load
lea addresses_UC+0xba20, %r8
nop
xor %r11, %r11
movb (%r8), %dl
lea oracles, %r11
and $0xff, %rdx
shlq $12, %rdx
mov (%r11,%rdx,1), %rdx
pop %rdx
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_UC', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_UC', 'same': True, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'same': False, 'size': 1, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 1, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 16, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_D_ht', 'same': False, 'size': 2, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': True}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': True}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 4, 'same': True}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_UC_ht', 'same': True, 'size': 8, 'congruent': 2, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'congruent': 9, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'37': 21829}
37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37
*/
| 32.793388 | 2,999 | 0.659652 |
d49c9995e1721913fa808d3917706426b0cd380f | 424 | asm | Assembly | oeis/332/A332758.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/332/A332758.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/332/A332758.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A332758: Number of fixed-point free involutions in the n-fold iterated wreath product of C_2.
; Submitted by Christian Krause
; 0,1,3,17,417,206657,44854599297,2021158450131287670017,4085251621720569336520310526902208564886017,16689280870666586360302304039420036318743515355074220606298783584912362351240766944257
mov $1,1
mov $3,1
lpb $0
sub $0,1
mov $2,$1
pow $1,2
mul $3,2
add $1,$3
pow $3,2
lpe
mov $0,$2
| 26.5 | 187 | 0.778302 |
55b5edbee061eff6049e85eadc8c6d7a11201073 | 5,714 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_65_1528.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_65_1528.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_65_1528.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 %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x13380, %rax
nop
nop
nop
dec %rsi
mov $0x6162636465666768, %rdi
movq %rdi, %xmm1
movups %xmm1, (%rax)
nop
nop
nop
nop
nop
sub %r12, %r12
lea addresses_WT_ht+0x51c0, %r9
nop
nop
dec %r10
mov $0x6162636465666768, %r11
movq %r11, %xmm6
movups %xmm6, (%r9)
nop
nop
nop
inc %r12
lea addresses_A_ht+0x180c0, %rsi
lea addresses_A_ht+0x7cbb, %rdi
cmp %rax, %rax
mov $118, %rcx
rep movsw
nop
and %rsi, %rsi
lea addresses_A_ht+0x186c0, %r9
nop
nop
inc %rdi
mov $0x6162636465666768, %r11
movq %r11, %xmm4
movups %xmm4, (%r9)
nop
cmp %r12, %r12
lea addresses_UC_ht+0x14320, %rsi
xor $17196, %rdi
mov (%rsi), %rax
nop
nop
nop
nop
xor $59454, %r11
lea addresses_A_ht+0xe724, %rsi
lea addresses_WT_ht+0xbec0, %rdi
nop
cmp %rax, %rax
mov $30, %rcx
rep movsw
nop
nop
inc %rdi
lea addresses_A_ht+0x2f40, %rsi
lea addresses_UC_ht+0xe6c0, %rdi
nop
nop
nop
nop
and $10469, %r11
mov $86, %rcx
rep movsl
nop
nop
nop
nop
xor $19228, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r14
push %r15
push %rax
push %rdi
// Store
mov $0x980, %rax
nop
nop
nop
nop
and $21212, %rdi
movb $0x51, (%rax)
nop
nop
nop
cmp %r12, %r12
// Store
lea addresses_A+0x1ab20, %rax
nop
nop
inc %r11
mov $0x5152535455565758, %r14
movq %r14, %xmm4
movups %xmm4, (%rax)
nop
nop
nop
nop
nop
sub $63119, %r15
// Store
lea addresses_PSE+0x8360, %rdi
nop
nop
nop
nop
nop
and $62139, %r11
mov $0x5152535455565758, %rax
movq %rax, %xmm4
movaps %xmm4, (%rdi)
nop
nop
and $10799, %r14
// Load
mov $0x9f0, %r14
nop
nop
nop
nop
nop
sub $47539, %rax
vmovups (%r14), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $1, %xmm6, %r10
nop
nop
nop
nop
nop
xor $50328, %rax
// Load
lea addresses_WT+0x1e4c0, %r15
xor %r14, %r14
movb (%r15), %r11b
cmp %r12, %r12
// Load
lea addresses_UC+0x1b8c0, %rax
clflush (%rax)
nop
xor %r14, %r14
movups (%rax), %xmm3
vpextrq $0, %xmm3, %r11
xor $25480, %r10
// Store
lea addresses_PSE+0xfcc0, %r14
nop
add $37768, %r12
mov $0x5152535455565758, %r11
movq %r11, (%r14)
nop
nop
nop
nop
xor $37487, %r11
// Store
mov $0x41cd3b0000000640, %rax
cmp %r15, %r15
movw $0x5152, (%rax)
nop
nop
inc %r15
// Store
lea addresses_normal+0xb4c0, %r15
nop
nop
nop
nop
cmp %rax, %rax
movw $0x5152, (%r15)
sub $5260, %rax
// Load
lea addresses_WT+0xcdc0, %rdi
nop
nop
nop
cmp %r11, %r11
mov (%rdi), %r15
sub %r15, %r15
// Load
lea addresses_WC+0x148c0, %r10
nop
nop
nop
nop
cmp %r15, %r15
movups (%r10), %xmm6
vpextrq $0, %xmm6, %r11
xor $44563, %rax
// Faulty Load
lea addresses_normal+0xb4c0, %rdi
and $17582, %r10
mov (%rdi), %r12w
lea oracles, %r15
and $0xff, %r12
shlq $12, %r12
mov (%r15,%r12,1), %r12
pop %rdi
pop %rax
pop %r15
pop %r14
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_A', 'same': True, 'AVXalign': False, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': True, 'congruent': 5}}
{'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_P', 'same': False, 'AVXalign': False, 'congruent': 4}}
{'OP': 'LOAD', 'src': {'size': 1, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 8}}
{'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_PSE', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_NC', 'same': False, 'AVXalign': False, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': False, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_WT', 'same': False, 'AVXalign': False, 'congruent': 7}}
{'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 5}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': False, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 10}, 'dst': {'same': False, 'type': 'addresses_A_ht', 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_A_ht', 'same': False, 'AVXalign': False, 'congruent': 3}}
{'OP': 'LOAD', 'src': {'size': 8, 'NT': False, 'type': 'addresses_UC_ht', 'same': False, 'AVXalign': False, 'congruent': 5}}
{'OP': 'REPM', 'src': {'same': False, 'type': 'addresses_A_ht', 'congruent': 2}, 'dst': {'same': True, 'type': 'addresses_WT_ht', 'congruent': 6}}
{'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_A_ht', 'congruent': 7}, 'dst': {'same': False, 'type': 'addresses_UC_ht', 'congruent': 9}}
{'52': 65}
52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52 52
*/
| 20.854015 | 194 | 0.641932 |
3c9ccb499742ecf47bab38d97c68f71271e6e3ac | 497 | asm | Assembly | libsrc/target/vector06c/psg/set_psg_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 4 | 2021-11-20T19:35:01.000Z | 2022-01-01T16:08:42.000Z | libsrc/target/vector06c/psg/set_psg_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | null | null | null | libsrc/target/vector06c/psg/set_psg_callee.asm | Frodevan/z88dk | f27af9fe840ff995c63c80a73673ba7ee33fffac | [
"ClArtistic"
] | 1 | 2021-11-27T15:58:02.000Z | 2021-11-27T15:58:02.000Z | ;
; TRS-80 (EG2000+HT1080) specific routines
; by Stefano Bodrato, Fall 2015
;
; int set_psg(int reg, int val);
;
; Play a sound by PSG
;
;
; $Id: set_psg_callee.asm,v 1.2 2016-06-10 21:13:58 dom Exp $
;
SECTION code_clib
PUBLIC set_psg_callee
PUBLIC _set_psg_callee
PUBLIC ASMDISP_SET_PSG_CALLEE
set_psg_callee:
_set_psg_callee:
pop hl
pop de
ex (sp),hl
.asmentry
ld a,l
out ($15),a
ld a,e
out ($14),a
ret
DEFC ASMDISP_SET_PSG_CALLEE = asmentry - set_psg_callee
| 14.2 | 61 | 0.694165 |
241e643ab581f1b97f2efdaaf45ae5277c1a11ef | 4,327 | asm | Assembly | src/work.asm | Pentacour/viruslqp79_msx | 52dfe17c1d7655dcff76898fe53efc5650367372 | [
"MIT"
] | 4 | 2019-01-14T11:33:21.000Z | 2019-02-01T08:55:14.000Z | src/work.asm | Pentacour/viruslqp79_msx | 52dfe17c1d7655dcff76898fe53efc5650367372 | [
"MIT"
] | null | null | null | src/work.asm | Pentacour/viruslqp79_msx | 52dfe17c1d7655dcff76898fe53efc5650367372 | [
"MIT"
] | 1 | 2022-01-09T21:31:35.000Z | 2022-01-09T21:31:35.000Z | MODULE MWORK
;============================================
; CONSTANTS
;============================================
K_MAX_NUMBER_OF_SPRITES EQU 13
K_EOF EQU 254
K_NORMAL_SHOOT EQU 0
K_DOUBLE_SHOOT EQU 1
K_TRIPLE_SHOOT EQU 3
K_START_LEVEL EQU 1 ; 1 BASED
K_START_MAP EQU K_START_LEVEL-1 ; 0 BASED
K_MAX_BULLETS_COUNT EQU 24
K_INITIAL_PLAYER_LIVES EQU 10
K_MAX_NUMBER_OF_ZOMBIES EQU 10
K_MAX_NUMBER_OF_FIXED_INDESTRUCTIBLES EQU 4+1+4
K_MAX_NUMBER_OF_SHOOTS EQU 4
K_DATA_PER_ENTITY EQU 14
K_MAX_NUMBER_OF_INDESTRUCTIBLES EQU K_MAX_NUMBER_OF_FIXED_INDESTRUCTIBLES+K_MAX_NUMBER_OF_SHOOTS
K_ENTITIES_LENGTH EQU K_MAX_NUMBER_OF_ZOMBIES+K_MAX_NUMBER_OF_INDESTRUCTIBLES
K_ZOMBIES_SPEED EQU 12
;============================================
; MUSIC VARS
;============================================
BUFF_CANAL_A #16
BUFF_CANAL_B #16
BUFF_CANAL_C #16
BUFF_CANAL_P #16
INTERR #(150+32)
;============================================
; GAME VARS
;============================================
ANIMATION_TICK #1 ; CLOCK FOR ANIMATIONS AND RANDOM NUMBERS
ZOMBIES_ANIMATION_TICK #1
ZOMBIES_SPEED #1
NUM_OF_CONTINUES #1
ALREADY_CONTINUE #1 ; IF HAS CONTINUED DON'T SHOW LAST INTERMISSION OR HALF PATH SCREEN
PLAYER_SHOOT_TYPE #1 ; K_NORMAL_SHOOT, K_DOUBLE_SHOOT, K_TRIPLE_SHOOT
PLAYER_SHOOT_COST #1
KEY_PRESSED #1 ; 0 NO, 1 YES
RUN_NUMBER #1 ; 0 FIRST RUN, 1 SECOND RUN
CURRENT_NUMBER_OF_SHOOTS #1
PLAYER_POINTS #3
HI_SCORE #3
TICK_REFRESH #1
LEVEL #1
PLAYER_BULLETS #1
PLAYER_SHOOT_WAIT #1 ; COUNTER TO ALLOW OTHER SHOOT
CHARGE_BULLETS_COUNTER #1
CURRENT_NUMBER_OF_ZOMBIES #1
PRE_GAME_OVER #1
SURVIVORS_TO_SAVE #1
CURRENT_ZOMBIE_TYPE #1
SHOOTS_TO_KILL_ZOMBIE #1
COUNT_DOWN #4
CURRENT_SONG #1
;===========================================
; PLAYER VARS
;===========================================
PLAYER_KEY_PRESSED #1
PLAYER_SPACE_KEY_PRESSED #1 ; TO CONTROL SHOOT
PLAYER_LIVES #1
PLAYER_IMMUNITY #1
PLAYER_Y #1
PLAYER_X #1
PLAYER_DIRECTION #1 ; LIKE JOYSTICK CODES
PLAYER_PREVIOUS_Y #1 ; TO UNDO MOVEMENT
PLAYER_PREVIOUS_X #1
;============================================
; FUNCTION PARAMETERS AND LOCAL VARS
;============================================
ENTITY_EXIT #1
ENTITY_EXIT_MAP_Y #1
ENTITY_EXIT_MAP_X #1
;CanGo
PARAM_CAN_GO_Y #1
PARAM_CAN_GO_X #1
CHECK_COLISION_POS #2
TMP_Y #1
TMP_X #1
TRATE_ZOMBIE_PREV_POS #2
TRATE_ZOMBIE_FIRST_OPTION #1
;============================================
; SCREEN VARS
;============================================
CAMERA_SCREEN #(32*24)
CAMERA_OFFSET #2 ; TOP-LEFT CORNER ADDRESS OF THE CAMERA IN THE MAP
CAMERA_CHANGED #1
INTER_SCROLL_COUNTER_X #1 ; CONTROL THE 8PX HORIZONTAL SCROLL
INTER_SCROLL_COUNTER_Y #1 ; CONTROL THE 8PX VERTICAL SCROLL
CAMERA_TILE_Y_TOP #1 ; TOP CAMERA POSITION IN TILED MAP
CAMERA_TILE_X_LEFT #1
CAMERA_TILE_Y_DOWN #1
CAMERA_TILE_X_RIGHT #1
PLAYER_PATTERN #2
TMP_COUNTER #2
TMP_UNZIP #(32*8*8)
;============================================
; OPERATION VARS
;============================================
CURRENT_SPRITES_TABLE #2
CURRENT_SPRITES_TABLE_POSITION #2
SPRITES_TABLE #0
SPRITES_TABLE_0 #4
SPRITES_TABLE_1 #4
SPRITES_TABLE_2 #4
SPRITES_TABLE_3 #4
SPRITES_TABLE_4 #4
SPRITES_TABLE_5 #4
SPRITES_TABLE_6 #4
SPRITES_TABLE_7 #4
SPRITES_TABLE_8 #4
SPRITES_TABLE_9 #4
SPRITES_TABLE_10 #4
SPRITES_TABLE_11 #4
LIST_ENTITIES_DATA #0
LIST_DESTRUCTIBLE_ENTITIES_DATA #(K_MAX_NUMBER_OF_ZOMBIES*K_DATA_PER_ENTITY)
LIST_INDESTRUCTIBLE_ENTITIES_DATA #(K_MAX_NUMBER_OF_FIXED_INDESTRUCTIBLES*K_DATA_PER_ENTITY)
LIST_SHOOTS #(K_MAX_NUMBER_OF_SHOOTS*K_DATA_PER_ENTITY)
LIST_ENTITIES_DATA_END #1
THE_MAP #(64*32)
ENDMODULE | 29.841379 | 107 | 0.568061 |
0ddec6a908ec12ea94a7e5c48347a1ad24daa9e4 | 683 | asm | Assembly | asm/testy4.asm | icefoxen/lang | 628185020123aabe4753f96c6ab4378637a2dbf5 | [
"MIT"
] | null | null | null | asm/testy4.asm | icefoxen/lang | 628185020123aabe4753f96c6ab4378637a2dbf5 | [
"MIT"
] | null | null | null | asm/testy4.asm | icefoxen/lang | 628185020123aabe4753f96c6ab4378637a2dbf5 | [
"MIT"
] | null | null | null | ; Compile WITH:
; nasm -f elf testy4.asm
; gcc testy4.o
; For some weird weird diseased wrong reason, you have to run the object file
; through gcc, it doesn't work alone with ld. I think it has something to do
; with how it sets up the _start procedure.
global main
segment .data
segment .bss
segment .docstring
maindoc db "Foody foody foo!", 0
segment .text
main:
; This instruction is necessary if you don't want a segfault
;enter 0, 0
; This one is optional but it's good to save the old state...
;pusha
push eax
push ebx
pop ebx
pop eax
; the mov isn't necessary, but it's a good thing to leave
; memory in a consistant state.
;mov eax, 0
;leave
ret
| 17.512821 | 77 | 0.710102 |
6bbe26f77e542287dd2e8ac13f6a17848e2412ea | 566 | asm | Assembly | data/tilesets/viridian_forest_gate_collision.asm | Ebernacher90/pokecrystal-allworld | 5d623c760e936842cf92563912c5bd64dd69baef | [
"blessing"
] | null | null | null | data/tilesets/viridian_forest_gate_collision.asm | Ebernacher90/pokecrystal-allworld | 5d623c760e936842cf92563912c5bd64dd69baef | [
"blessing"
] | null | null | null | data/tilesets/viridian_forest_gate_collision.asm | Ebernacher90/pokecrystal-allworld | 5d623c760e936842cf92563912c5bd64dd69baef | [
"blessing"
] | null | null | null | tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 00
tilecoll FLOOR, FLOOR, FLOOR, FLOOR ; 01
tilecoll FLOOR, FLOOR, LADDER, LADDER ; 02
tilecoll WALL, FLOOR, WALL, FLOOR ; 03
tilecoll WALL, WALL, FLOOR, FLOOR ; 04
tilecoll WALL, WALL, FLOOR, FLOOR ; 05
tilecoll WALL, WALL, FLOOR, FLOOR ; 06
tilecoll WALL, DOOR, FLOOR, FLOOR ; 07
tilecoll WALL, FLOOR, WALL, FLOOR ; 08
tilecoll FLOOR, FLOOR, WALL, FLOOR ; 09
tilecoll WALL, FLOOR, FLOOR, FLOOR ; 0a
tilecoll WALL, WALL, FLOOR, WALL ; 0b
tilecoll FLOOR, WALL, WALL, WALL ; 0c
tilecoll WALL, WALL, WALL, WALL ; 0d
| 37.733333 | 43 | 0.70318 |
a195c6e529c944dba7907160301ed16497a205cb | 9,206 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1104.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1104.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1104.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 %r15
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x16cff, %rsi
lea addresses_WT_ht+0x36a7, %rdi
clflush (%rsi)
clflush (%rdi)
cmp $58320, %rbx
mov $31, %rcx
rep movsb
nop
xor $50171, %rdi
lea addresses_D_ht+0x58a7, %r12
nop
nop
sub $8683, %r13
movups (%r12), %xmm7
vpextrq $0, %xmm7, %r15
nop
nop
nop
nop
and $32863, %r13
lea addresses_WT_ht+0xaf27, %rcx
nop
nop
nop
cmp $35913, %r13
movw $0x6162, (%rcx)
sub $15406, %r15
lea addresses_WC_ht+0xc077, %r13
nop
nop
nop
nop
dec %r12
movl $0x61626364, (%r13)
nop
nop
nop
nop
cmp $48177, %r13
lea addresses_WT_ht+0xeda7, %rcx
nop
nop
nop
nop
cmp %rdi, %rdi
mov $0x6162636465666768, %r13
movq %r13, (%rcx)
and $52886, %rdi
lea addresses_normal_ht+0x9627, %r15
nop
nop
nop
nop
nop
add %rcx, %rcx
mov $0x6162636465666768, %rdi
movq %rdi, %xmm7
movups %xmm7, (%r15)
nop
nop
nop
nop
nop
xor %r13, %r13
lea addresses_normal_ht+0x3877, %rdi
nop
nop
nop
dec %rsi
vmovups (%rdi), %ymm3
vextracti128 $0, %ymm3, %xmm3
vpextrq $0, %xmm3, %r13
add %rsi, %rsi
lea addresses_UC_ht+0x1e9a7, %r13
nop
cmp $8537, %rsi
movb (%r13), %cl
nop
nop
nop
nop
nop
sub $37047, %rcx
lea addresses_WC_ht+0x9fa7, %rsi
lea addresses_UC_ht+0x8a2a, %rdi
nop
add %r12, %r12
mov $78, %rcx
rep movsw
nop
add %rdi, %rdi
lea addresses_D_ht+0x1ea3, %rsi
lea addresses_D_ht+0xfca7, %rdi
nop
nop
add $26512, %rdx
mov $72, %rcx
rep movsb
nop
nop
nop
xor $18347, %r13
lea addresses_UC_ht+0x3d27, %rdx
nop
inc %r13
mov $0x6162636465666768, %rdi
movq %rdi, %xmm3
movups %xmm3, (%rdx)
nop
sub %rcx, %rcx
lea addresses_A_ht+0x89a7, %rsi
lea addresses_D_ht+0x12127, %rdi
nop
nop
nop
sub %r15, %r15
mov $65, %rcx
rep movsw
nop
nop
and %rcx, %rcx
lea addresses_D_ht+0xe8b2, %rsi
lea addresses_A_ht+0x1dda7, %rdi
clflush (%rdi)
nop
nop
nop
nop
cmp $20294, %r12
mov $90, %rcx
rep movsq
nop
nop
add %r12, %r12
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r13
pop %r12
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %rbp
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_WT+0x34a7, %rsi
nop
sub $44303, %r10
movw $0x5152, (%rsi)
nop
nop
nop
nop
nop
cmp %r10, %r10
// Store
lea addresses_WT+0x10a67, %rbx
nop
nop
nop
nop
cmp $61637, %r10
movb $0x51, (%rbx)
nop
nop
nop
nop
nop
dec %r10
// Store
lea addresses_D+0x55a7, %rbp
nop
nop
nop
nop
nop
and $4217, %rdi
movb $0x51, (%rbp)
// Exception!!!
nop
mov (0), %rsi
and $19457, %rdi
// Store
lea addresses_D+0x1c817, %rsi
dec %rcx
mov $0x5152535455565758, %rdx
movq %rdx, %xmm5
movups %xmm5, (%rsi)
// Exception!!!
nop
nop
nop
mov (0), %rdx
nop
nop
nop
nop
xor $41112, %rdx
// Load
lea addresses_A+0x6da7, %r10
nop
nop
nop
nop
nop
add %rbx, %rbx
movb (%r10), %dl
cmp $1710, %rcx
// Store
lea addresses_WT+0x843f, %rsi
nop
nop
nop
nop
nop
sub $43833, %rbp
movw $0x5152, (%rsi)
nop
nop
nop
nop
xor $64100, %rcx
// Store
lea addresses_WC+0xee7, %rcx
nop
xor %rdi, %rdi
mov $0x5152535455565758, %rdx
movq %rdx, (%rcx)
nop
nop
nop
add $25436, %rbp
// Faulty Load
lea addresses_D+0x1bda7, %rcx
xor $45326, %r10
movups (%rcx), %xmm5
vpextrq $0, %xmm5, %rbp
lea oracles, %rbx
and $0xff, %rbp
shlq $12, %rbp
mov (%rbx,%rbp,1), %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': True, 'size': 1, 'congruent': 6}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': True, 'AVXalign': False, 'size': 1, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 4}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_A', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC', 'NT': False, 'AVXalign': True, 'size': 8, 'congruent': 6}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'type': 'addresses_D', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'same': False, 'congruent': 3, 'type': 'addresses_WT_ht'}, 'dst': {'same': False, 'congruent': 7, 'type': 'addresses_WT_ht'}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_D_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'same': True, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 2, 'congruent': 5}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WC_ht', 'NT': False, 'AVXalign': False, 'size': 4, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_WT_ht', 'NT': False, 'AVXalign': False, 'size': 8, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_normal_ht', 'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 3}}
{'OP': 'LOAD', 'src': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 1, 'congruent': 9}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 9, 'type': 'addresses_WC_ht'}, 'dst': {'same': False, 'congruent': 0, 'type': 'addresses_UC_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 2, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 8, 'type': 'addresses_D_ht'}}
{'OP': 'STOR', 'dst': {'same': False, 'type': 'addresses_UC_ht', 'NT': False, 'AVXalign': False, 'size': 16, 'congruent': 7}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_A_ht'}, 'dst': {'same': False, 'congruent': 3, 'type': 'addresses_D_ht'}}
{'OP': 'REPM', 'src': {'same': False, 'congruent': 0, 'type': 'addresses_D_ht'}, 'dst': {'same': False, 'congruent': 9, 'type': 'addresses_A_ht'}}
{'36': 21829}
36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36
*/
| 29.696774 | 2,999 | 0.652401 |
96180569df51284f5ae9fcf240e0402e985ba69c | 846 | asm | Assembly | utils.asm | vipoo/bbcbasic-z80 | 793c16b76059edc6917e60c12281fb009d529ead | [
"Zlib"
] | 2 | 2020-06-30T15:43:19.000Z | 2021-01-05T17:07:27.000Z | utils.asm | vipoo/bbcbasic-z80 | 793c16b76059edc6917e60c12281fb009d529ead | [
"Zlib"
] | 6 | 2020-05-30T04:26:34.000Z | 2020-07-21T02:43:24.000Z | utils.asm | vipoo/bbcbasic-z80 | 793c16b76059edc6917e60c12281fb009d529ead | [
"Zlib"
] | null | null | null |
PUBLIC DIV_HL_C, MATH_ABS_HL, MATH_POS_HL, MATH_NEG_HL, MATH_CP_HL_DE
; THE FOLLOWING ROUTINE DIVIDES HL BY C AND PLACES THE QUOTIENT IN HL AND THE REMAINDER IN A
; https://wikiti.brandonw.net/index.php?title=Z80_Routines:Math:Division#16.2F16_division
DIV_HL_C:
XOR A
LD B, 16
LOOP:
ADD HL, HL
RLA
JR C, DIV_HL_C1
CP C
JR C, DIV_HL_C2
DIV_HL_C1:
SUB C
INC L
DIV_HL_C2:
DJNZ LOOP
RET
MATH_ABS_HL:
BIT 7, H
RET Z
MATH_POS_HL:
XOR A
SUB L
LD L, A
SBC A, A
SUB H
LD H, A
RET
MATH_NEG_HL:
XOR A
SUB L
LD L,A
SBC A,A
SUB H
LD H,A
RET
; MATH_CP_HL_DE -> test if HL >= DE
; Input HL=A, DE=B
; Output C FLAG RESET IF TRUE
; C FLAG SET IF FALSE
MATH_CP_HL_DE:
LD A, H
XOR D
JP M, MATH_CP_HL_DE2
SBC HL, DE
RET NC
MATH_CP_HL_DE1:
SCF
RET
MATH_CP_HL_DE2:
BIT 7, D
JR Z, MATH_CP_HL_DE1
RET
| 13.015385 | 92 | 0.685579 |
1137d3ae2ebaf485a7f408ef8aa1b1f78dc4b63d | 3,160 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_15_836.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_15_836.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_15_836.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 3 | 2020-07-14T17:07:07.000Z | 2022-03-21T01:12:22.000Z | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %rbp
push %rbx
push %rdx
lea addresses_A_ht+0x160d0, %r12
clflush (%r12)
cmp %r13, %r13
mov $0x6162636465666768, %rdx
movq %rdx, %xmm4
vmovups %ymm4, (%r12)
nop
inc %r10
lea addresses_D_ht+0x137f8, %rdx
xor %rbx, %rbx
movw $0x6162, (%rdx)
nop
xor $52024, %rbx
pop %rdx
pop %rbx
pop %rbp
pop %r13
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r8
push %r9
push %rax
push %rbp
push %rbx
// Store
lea addresses_normal+0x1d588, %r8
nop
nop
dec %rbx
movw $0x5152, (%r8)
nop
nop
nop
nop
nop
sub %r10, %r10
// Store
lea addresses_normal+0x42d0, %r9
cmp %rax, %rax
movl $0x51525354, (%r9)
nop
nop
nop
add $15166, %r9
// Store
lea addresses_WT+0x13fd0, %r8
clflush (%r8)
nop
nop
xor %rbx, %rbx
mov $0x5152535455565758, %rbp
movq %rbp, %xmm3
movups %xmm3, (%r8)
nop
nop
nop
nop
nop
and $40033, %rbx
// Store
lea addresses_WT+0x1ad50, %r10
nop
nop
nop
nop
sub $64835, %r8
mov $0x5152535455565758, %rax
movq %rax, %xmm4
movups %xmm4, (%r10)
nop
nop
nop
nop
sub %r10, %r10
// Load
lea addresses_D+0x7230, %rax
nop
cmp %rbx, %rbx
vmovups (%rax), %ymm2
vextracti128 $0, %ymm2, %xmm2
vpextrq $1, %xmm2, %r13
and %rbx, %rbx
// Load
mov $0xad0, %rbp
nop
and $28820, %rax
movb (%rbp), %r13b
nop
nop
nop
nop
sub $44168, %rbx
// Load
mov $0x7bc, %r9
nop
nop
and $13953, %r13
movups (%r9), %xmm3
vpextrq $0, %xmm3, %r10
add $31650, %r13
// Faulty Load
lea addresses_RW+0x16dd0, %rax
nop
nop
nop
nop
nop
and %r10, %r10
mov (%rax), %rbp
lea oracles, %r13
and $0xff, %rbp
shlq $12, %rbp
mov (%r13,%rbp,1), %rbp
pop %rbx
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_D', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'32': 15}
32 32 32 32 32 32 32 32 32 32 32 32 32 32 32
*/
| 19.268293 | 125 | 0.636076 |
ea47fd0552a9badc7fc66cb26edc4785dfbe84b6 | 954 | asm | Assembly | kernel/arch/x86/kernel/task/spinlock.asm | GhostBirdOperatingSystemProject/GhostBirdOS | 15d3499208029d1a811cccda435f0cfbbf08b482 | [
"BSD-2-Clause"
] | 10 | 2017-06-08T07:38:37.000Z | 2022-01-27T20:15:52.000Z | kernel/arch/x86/kernel/task/spinlock.asm | GhostBirdOperatingSystemProject/GhostBirdOS | 15d3499208029d1a811cccda435f0cfbbf08b482 | [
"BSD-2-Clause"
] | 1 | 2018-07-07T15:47:33.000Z | 2018-07-07T15:47:33.000Z | kernel/arch/x86/kernel/task/spinlock.asm | MakeOS/GhostBirdOS | 15d3499208029d1a811cccda435f0cfbbf08b482 | [
"BSD-2-Clause"
] | 13 | 2017-06-06T05:26:04.000Z | 2022-01-28T22:18:00.000Z | ;Copyright 2013-2015 by Explorer Developers.
;made by Lab Explorer Developers<1@GhostBirdOS.org>
;Explorer x86 Spin Lock
;Explorer/arch/x86/kernel/task/spinlock.asm
;version:Alpha
;12/6/2014 12:00 AM
;
spin_lock:
mov eax,1 ; Set the EAX register to 1.
;xchg eax,[lock] ; Atomically swap the EAX register with
; the lock variable.
; This will always store 1 to the lock, leaving
; previous value in the EAX register.
test eax,eax ; Test EAX with itself. Among other things, this will
; set the processor's Zero Flag if EAX is 0.
; If EAX is 0, then the lock was unlocked and
; we just locked it.
; Otherwise, EAX is 1 and we didn't acquire the lock.
jnz spin_lock ; Jump back to the MOV instruction if the Zero Flag is
; not set; the lock was previously locked, and so
; we need to spin until it becomes unlocked.
ret ; The lock has been acquired, return to the calling
; function.
| 32.896552 | 70 | 0.694969 |
fdabb0c99453a8ccae1890d6c112a4de406b93fd | 777 | asm | Assembly | src/util/icon/pdown.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/icon/pdown.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | src/util/icon/pdown.asm | olifink/qspread | d6403d210bdad9966af5d2a0358d4eed3f1e1c02 | [
"MIT"
] | null | null | null | * Sprite pdown
*
* Mode 4
* +|-------------+
* - wwwwwwwwww-
* | ww w|
* | w w w|
* | w w www w|
* |wwwww wrw w|
* |w wrw w|
* |w wwwwrwwww w|
* |w wwrrrrrww w|
* |w wwrrrww w|
* |w wwrww w|
* |w www w|
* |w w w|
* |w w|
* |wwwwwwwwwwwwww|
* +|-------------+
*
section sprite
xdef mes_pdown
xref mes_zero
mes_pdown
dc.w $0100,$0000
dc.w 14,14,0,0
dc.l mcs_pdown-*
dc.l mes_zero-*
dc.l sp_pdown-*
mcs_pdown
dc.w $0F0F,$FCFC
dc.w $1818,$0404
dc.w $2828,$0404
dc.w $4B4B,$8484
dc.w $FAFB,$8484
dc.w $8283,$8484
dc.w $9E9F,$F4F4
dc.w $989F,$34F4
dc.w $8C8F,$64E4
dc.w $8687,$C4C4
dc.w $8383,$8484
dc.w $8181,$0404
dc.w $8080,$0404
dc.w $FFFF,$FCFC
*
sp_pdown
incbin 'win1_util_icon_pdown_spr'
end
| 15.54 | 34 | 0.539254 |
88ae9d11b9467abb761aa13ce5190dbebdbb75d1 | 359 | asm | Assembly | oeis/021/A021357.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/021/A021357.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/021/A021357.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A021357: Decimal expansion of 1/353.
; Submitted by Jon Maiga
; 0,0,2,8,3,2,8,6,1,1,8,9,8,0,1,6,9,9,7,1,6,7,1,3,8,8,1,0,1,9,8,3,0,0,2,8,3,2,8,6,1,1,8,9,8,0,1,6,9,9,7,1,6,7,1,3,8,8,1,0,1,9,8,3,0,0,2,8,3,2,8,6,1,1,8,9,8,0,1,6,9,9,7,1,6,7,1,3,8,8,1,0,1,9,8,3,0,0,2,8
seq $0,83811 ; Numbers n such that 2n+1 is the digit reversal of n+1.
div $0,1412
mod $0,10
| 44.875 | 201 | 0.590529 |
075293fb05a94875e79002a833168b4e6bdaa8d4 | 626 | asm | Assembly | oeis/121/A121314.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/121/A121314.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/121/A121314.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A121314: Triangle T(n,k), 0 <= k <= n, read by rows given by [0, 1, 0, 0, 0, 0, ...] DELTA [1, 0, 1, 0, 0, 0, 0, 0, 0, 0, ...] where DELTA is the operator defined in A084938.
; Submitted by Simon Strandgaard
; 1,0,1,0,1,1,0,1,3,1,0,1,5,6,1,0,1,7,15,10,1,0,1,9,28,35,15,1,0,1,11,45,84,70,21,1,0,1,13,66,165,210,126,28,1,0,1,15,91,286,495,462,210,36,1,0,1,17,120,455,1001,1287,924,330,45,1,0,1,19,153,680,1820,3003,3003,1716,495,55,1,0,1,21,190,969,3060,6188,8008,6435,3003,715,66,1,0,1,23,231,1330,4845,11628,18564,19448
lpb $0
add $1,1
sub $0,$1
lpe
sub $1,$0
add $0,$1
sub $1,$0
add $0,$1
mul $0,2
bin $1,$0
mov $0,$1
| 39.125 | 311 | 0.618211 |
ae35f86b151053e04b854ccb99693c819452a017 | 11,954 | asm | Assembly | deexoopt.asm | uniabis/z80depacker | a5dc3a0a7d3cb07a814490463b93fa42b3e66c68 | [
"MIT"
] | 25 | 2019-08-16T11:03:39.000Z | 2022-03-23T23:22:46.000Z | deexoopt.asm | uniabis/z80depacker | a5dc3a0a7d3cb07a814490463b93fa42b3e66c68 | [
"MIT"
] | null | null | null | deexoopt.asm | uniabis/z80depacker | a5dc3a0a7d3cb07a814490463b93fa42b3e66c68 | [
"MIT"
] | 1 | 2021-04-04T01:07:24.000Z | 2021-04-04T01:07:24.000Z | ;Exomizer 3 Z80 decoder
;Copyright (C) 2008-2018 by Jaime Tejedor Gomez (Metalbrain)
;
;Optimized by Antonio Villena and Urusergi
;
;Compression algorithm by Magnus Lind
; exomizer raw -P5 -T0 [-b] (speed<3, literals=1, bitsalignstart=0)
; exomizer raw -P5 -T1 [-b] (speed<3, literals=0, bitsalignstart=0)
; exomizer raw -P7 -T0 [-b] (speed=3, literals=1, bitsalignstart=0)
; exomizer raw -P7 -T1 [-b] (speed=3, literals=0, bitsalignstart=0)
; exomizer raw -P13 -T0 [-b] (speed<3, literals=1, bitsalignstart=1)
; exomizer raw -P13 -T1 [-b] (speed<3, literals=0, bitsalignstart=1)
; exomizer raw -P15 -T0 [-b] (speed=3, literals=1, bitsalignstart=1)
; exomizer raw -P15 -T1 [-b] (speed=3, literals=0, bitsalignstart=1)
;
; This depacker is free software; you can redistribute it and/or
; modify it under the terms of the GNU Lesser General Public
; License as published by the Free Software Foundation; either
; version 2.1 of the License, or (at your option) any later version.
;
; This library is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
; Lesser General Public License for more details.
;
; You should have received a copy of the GNU Lesser General Public
; License along with this library; if not, write to the Free Software
; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
;
; SIZE speed 0 speed 1 speed 2 speed 3 range88-ef
; forw nolit 152 154 171 208 +2
; back nolit 150 152 169 206 +2
; forw liter 167 170 189 219 +3
; back liter 165 168 187 217 +3
; output deexoopt.bin
; define mapbase $5b00
; define speed 3
; define back 0
; define literals 0
; define bitsalignstart 1
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld iy, 256+mapbase/256*256
ELSE
ld iy, (mapbase+16)/256*256+112
ENDIF
IF bitsalignstart=0
ld a, (hl)
inc hl
ELSE
ld a, 128
ENDIF
ld b, 52
push de
cp a
exinit ld c, 16
jr nz, exget4
ld de, 1
ld ixl, c
IF speed=0
exget4 call exgetb
ENDIF
IF speed=1
exget4 add a, a
call z, exgetb
ENDIF
IF speed=2 OR speed=3
defb 218
exgb4 ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
exget4 adc a, a
jr z, exgb4
ENDIF
rl c
jr nc, exget4
IF speed=0 OR speed=1
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld (iy-256+mapbase-mapbase/256*256), c
ELSE
ld (iy-112+mapbase-(mapbase+16)/256*256), c
ENDIF
push hl
ld hl, 1
defb 210
ENDIF
IF speed=2
inc c
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld (iy-256+mapbase-mapbase/256*256), c
ELSE
ld (iy-112+mapbase-(mapbase+16)/256*256), c
ENDIF
push hl
ld hl, 1
defb 48
ENDIF
IF speed=3
ex af, af'
ld a, c
rrca
inc a
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld (iy-256+mapbase-mapbase/256*256), a
ELSE
ld (iy-112+mapbase-(mapbase+16)/256*256), a
ENDIF
jr nc, get5
xor 136
get5 push hl
ld hl, 1
defb 56
setbit add hl, hl
dec a
jr nz, setbit
ex af, af'
ELSE
exsetb add hl, hl
dec c
jr nz, exsetb
ENDIF
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld (iy-204+mapbase-mapbase/256*256), e
ld (iy-152+mapbase-mapbase/256*256), d
ELSE
ld (iy-60+mapbase-(mapbase+16)/256*256), e
ld (iy-8+mapbase-(mapbase+16)/256*256), d
ENDIF
add hl, de
ex de, hl
inc iyl
pop hl
dec ixl
djnz exinit
pop de
IF back=1
IF literals=1 AND speed=0
exlit inc c
exseq lddr
ELSE
exlit ldd
ENDIF
ELSE
IF literals=1 AND speed=0
exlit inc c
exseq ldir
ELSE
exlit ldi
ENDIF
ENDIF
IF speed=0
exloop call exgetb
jr c, exlit
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld c, 256-1
ELSE
ld c, 112-1
ENDIF
exgeti call exgetb
ENDIF
IF speed=1
exloop add a, a
call z, exgetb
jr c, exlit
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld c, 256-1
ELSE
ld c, 112-1
ENDIF
exgeti add a, a
call z, exgetb
ENDIF
IF speed=2 OR speed=3
exloop add a, a
jr z, exgbm
jr c, exlit
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
exgbmc ld c, 256-1
ELSE
exgbmc ld c, 112-1
ENDIF
exgeti add a, a
jr z, exgbi
exgbic inc c
jr nc, exgeti
ccf
ELSE
exgbic inc c
jr nc, exgeti
ENDIF
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
bit 4, c
IF literals=1
jr nz, excat
ELSE
ret nz
ENDIF
ELSE
IF literals=1
jp m, excat
ELSE
ret m
ENDIF
ENDIF
push de
ld iyl, c
IF speed=2 OR speed=3
ld de, 0
ENDIF
IF speed=3
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld b, (iy-256+mapbase-mapbase/256*256)
ELSE
ld b, (iy-112+mapbase-(mapbase+16)/256*256)
ENDIF
dec b
call nz, exgbts
ex de, hl
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld c, (iy-204+mapbase-mapbase/256*256)
ld b, (iy-152+mapbase-mapbase/256*256)
ELSE
ld c, (iy-60+mapbase-(mapbase+16)/256*256)
ld b, (iy-8+mapbase-(mapbase+16)/256*256)
ENDIF
add hl, bc
ex de, hl
ELSE
call expair
ENDIF
push de
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
inc d
dec d
jr nz, dontgo
ld bc, 512+48
dec e
jr z, exgoit
dec e
dontgo ld bc, 1024+32
jr z, exgoit
ld c, 16
ELSE
inc d
dec d
jr nz, dontgo
ld bc, 512+160
dec e
jr z, exgoit
dec e
dontgo ld bc, 1024+144
jr z, exgoit
ld c, 128
ENDIF
IF speed=0 OR speed=1
exgoit call exgbts
ENDIF
IF speed=2
ld e, 0
exgoit ld d, e
call exgbts
ENDIF
IF speed=3
ld e, 0
exgoit ld d, e
call exlee8
ENDIF
ld iyl, c
add iy, de
IF speed=2 OR speed=3
ld e, d
ENDIF
IF speed=3
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld b, (iy-256+mapbase-mapbase/256*256)
ELSE
ld b, (iy-112+mapbase-(mapbase+16)/256*256)
ENDIF
dec b
call nz, exgbts
ex de, hl
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld c, (iy-204+mapbase-mapbase/256*256)
ld b, (iy-152+mapbase-mapbase/256*256)
ELSE
ld c, (iy-60+mapbase-(mapbase+16)/256*256)
ld b, (iy-8+mapbase-(mapbase+16)/256*256)
ENDIF
add hl, bc
ex de, hl
ELSE
call expair
ENDIF
pop bc
ex (sp), hl
IF back=1
ex de, hl
add hl, de
lddr
ELSE
push hl
sbc hl, de
pop de
ldir
ENDIF
pop hl
jr exloop
IF literals=1
excat
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
bit 0, c
ret z
ELSE
ret pe
ENDIF
IF speed=3
ld b, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
ld c, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
ELSE
push de
IF speed=2
ld d, b
ld e, b
ENDIF
ld b, 16
call exgbts
ld b, d
ld c, e
pop de
ENDIF
IF speed=0
jr exseq
ELSE
IF back=1
lddr
ELSE
ldir
ENDIF
jr exloop
ENDIF
ENDIF
IF speed=2 OR speed=3
exgbm ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
adc a, a
jr nc, exgbmc
jp exlit
exgbi ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
adc a, a
jp exgbic
ENDIF
IF speed=3
exgbts jp p, exlee8
sla b
jr z, exgby
srl b
defb 250
exxopy ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
exl16 adc a, a
jr z, exxopy
rl d
djnz exl16
exgby ld e, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
ret
excopy ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
exlee8 adc a, a
jr z, excopy
rl e
djnz exlee8
ret
ELSE
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
expair ld b, (iy-256+mapbase-mapbase/256*256)
ELSE
expair ld b, (iy-112+mapbase-(mapbase+16)/256*256)
ENDIF
IF speed=2
dec b
call nz, exgbts
ELSE
call exgbts
ENDIF
ex de, hl
IF mapbase-mapbase/256*256<240 AND mapbase-mapbase/256*256>135
ld c, (iy-204+mapbase-mapbase/256*256)
ld b, (iy-152+mapbase-mapbase/256*256)
ELSE
ld c, (iy-60+mapbase-(mapbase+16)/256*256)
ld b, (iy-8+mapbase-(mapbase+16)/256*256)
ENDIF
add hl, bc
ex de, hl
ret
ENDIF
IF speed=0 OR speed=1
exgbts ld de, 0
excont dec b
ret m
IF speed=0
call exgetb
ELSE
add a, a
call z, exgetb
ENDIF
rl e
rl d
jr excont
IF speed=0
exgetb add a, a
ret nz
ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
adc a, a
ret
ELSE
exgetb ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
adc a, a
ret
ENDIF
ENDIF
IF speed=2
exgbg ld a, (hl)
IF back=1
dec hl
ELSE
inc hl
ENDIF
exgbts adc a, a
jr z, exgbg
rl e
rl d
djnz exgbts
ret
ENDIF | 24.80083 | 82 | 0.472394 |
0060963d944761e41b0dad2c17217c82894f7e8a | 435 | asm | Assembly | oeis/129/A129294.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/129/A129294.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/129/A129294.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A129294: Number of divisors of n^3 - 1 that are not greater than n.
; Submitted by Jon Maiga
; 1,2,2,3,2,4,2,5,3,5,2,7,2,4,7,5,3,6,2,6,6,6,2,13,4,4,4,8,4,10,3,6,5,6,5,14,2,6,5,8,3,10,3,8,10,5,3,16,3,9,5,9,2,11,5,8,7,4,3,20,2,5,9,11,4,18,4,6,5,8,3,14,5,4,8,6,4,17,2,21,5,6,3,16,6,10,8,8,2,14,5,9,7,6,5,16,3,6,15,9
add $0,1
lpb $0
add $2,1
mov $3,$0
sub $0,1
pow $3,3
mod $3,$2
cmp $3,1
add $1,$3
lpe
mov $0,$1
add $0,1
| 25.588235 | 219 | 0.56092 |
3c79f21205ef657a013178164e81dcb25f454332 | 6,294 | asm | Assembly | playground/CmdProcess.asm | quajak/XSharp | 069bfa5535bda987229eb38b7c12897fe9aec93d | [
"BSD-3-Clause"
] | 168 | 2017-08-05T18:23:29.000Z | 2022-03-31T19:33:13.000Z | playground/CmdProcess.asm | FriendsTmCo/XSharp | 3f9e35ae60170184a4132207afb8953839f1ee60 | [
"BSD-3-Clause"
] | 12 | 2017-09-19T13:24:16.000Z | 2020-09-03T09:42:19.000Z | playground/CmdProcess.asm | FriendsTmCo/XSharp | 3f9e35ae60170184a4132207afb8953839f1ee60 | [
"BSD-3-Clause"
] | 47 | 2017-08-13T04:12:40.000Z | 2022-03-29T18:25:19.000Z | ; namespace DebugStub
; Modifies: AL, DX (ComReadAL)
; Returns: AL
; function ProcessCommand {
DebugStub_ProcessCommand:
; ComReadAL()
Call DebugStub_ComReadAL
; Some callers expect AL to be returned, so we preserve it
; in case any commands modify AL.
; We push EAX to keep stack aligned.
; +EAX
Push EAX
; Noop has no data at all (see notes in client DebugConnector), so skip Command ID
; Noop also does not send ACK.
; if AL = #Vs2Ds_Noop return
Cmp AL, DebugStub_Const_Vs2Ds_Noop
Je DebugStub_ProcessCommand_Exit
; Read Command ID
; EAX = 0
Mov EAX, 0x0
; ComReadAL()
Call DebugStub_ComReadAL
; .CommandID = EAX
Mov DWORD [DebugStub_CommandID], EAX
; Get AL back so we can compare it, but also leave it for later
; EAX = [ESP]
Mov EAX, DWORD [ESP]
; if AL = #Vs2Ds_TraceOff {
Cmp AL, DebugStub_Const_Vs2Ds_TraceOff
Jne DebugStub_ProcessCommand_Block1_End
; TraceOff()
Call DebugStub_TraceOff
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block1_End:
; if AL = #Vs2Ds_TraceOn {
Cmp AL, DebugStub_Const_Vs2Ds_TraceOn
Jne DebugStub_ProcessCommand_Block2_End
; TraceOn()
Call DebugStub_TraceOn
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block2_End:
; if AL = #Vs2Ds_Break {
Cmp AL, DebugStub_Const_Vs2Ds_Break
Jne DebugStub_ProcessCommand_Block3_End
; Ack command for a break must be done first
; Otherwise we Break then ProcessCommands and get stuck because we don't send this Ack until execution continues
; AckCommand()
Call DebugStub_AckCommand
; Break()
Call DebugStub_Break
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block3_End:
; if AL = #Vs2Ds_BreakOnAddress {
Cmp AL, DebugStub_Const_Vs2Ds_BreakOnAddress
Jne DebugStub_ProcessCommand_Block4_End
; BreakOnAddress()
Call DebugStub_BreakOnAddress
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block4_End:
; if AL = #Vs2Ds_SendMethodContext {
Cmp AL, DebugStub_Const_Vs2Ds_SendMethodContext
Jne DebugStub_ProcessCommand_Block5_End
; SendMethodContext()
Call DebugStub_SendMethodContext
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block5_End:
; if AL = #Vs2Ds_SendMemory {
Cmp AL, DebugStub_Const_Vs2Ds_SendMemory
Jne DebugStub_ProcessCommand_Block6_End
; SendMemory()
Call DebugStub_SendMemory
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block6_End:
; if AL = #Vs2Ds_SendRegisters {
Cmp AL, DebugStub_Const_Vs2Ds_SendRegisters
Jne DebugStub_ProcessCommand_Block7_End
; SendRegisters()
Call DebugStub_SendRegisters
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block7_End:
; if AL = #Vs2Ds_SendFrame {
Cmp AL, DebugStub_Const_Vs2Ds_SendFrame
Jne DebugStub_ProcessCommand_Block8_End
; SendFrame()
Call DebugStub_SendFrame
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block8_End:
; if AL = #Vs2Ds_SendStack {
Cmp AL, DebugStub_Const_Vs2Ds_SendStack
Jne DebugStub_ProcessCommand_Block9_End
; SendStack()
Call DebugStub_SendStack
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block9_End:
; if AL = #Vs2Ds_Ping {
Cmp AL, DebugStub_Const_Vs2Ds_Ping
Jne DebugStub_ProcessCommand_Block10_End
; Ping()
Call DebugStub_Ping
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block10_End:
; if AL = #Vs2Ds_SetINT3 {
Cmp AL, DebugStub_Const_Vs2Ds_SetINT3
Jne DebugStub_ProcessCommand_Block11_End
; SetINT3()
Call DebugStub_SetINT3
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block11_End:
; if AL = #Vs2Ds_ClearINT3 {
Cmp AL, DebugStub_Const_Vs2Ds_ClearINT3
Jne DebugStub_ProcessCommand_Block12_End
; ClearINT3()
Call DebugStub_ClearINT3
; AckCommand()
Call DebugStub_AckCommand
; return
Jmp DebugStub_ProcessCommand_Exit
; }
DebugStub_ProcessCommand_Block12_End:
; Exit:
DebugStub_ProcessCommand_Exit:
; Restore AL for callers who check the command and do
; further processing, or for commands not handled by this function.
; -EAX
Pop EAX
; }
Mov DWORD [INTS_LastKnownAddress], DebugStub_ProcessCommand_Exit
Ret
; function AckCommand {
DebugStub_AckCommand:
; We acknowledge receipt of the command AND the processing of it.
; -In the past the ACK only acknowledged receipt.
; We have to do this because sometimes callers do more processing.
; We ACK even ones we dont process here, but do not ACK Noop.
; The buffers should be ok because more wont be sent till after our NACK
; is received.
; Right now our max cmd size is 2 (Cmd + Cmd ID) + 5 (Data) = 7.
; UART buffer is 16.
; We may need to revisit this in the future to ack not commands, but data chunks
; and move them to a buffer.
; The buffer problem exists only to inbound data, not outbound data (relative to DebugStub).
; AL = #Ds2Vs_CmdCompleted
Mov AL, DebugStub_Const_Ds2Vs_CmdCompleted
; ComWriteAL()
Call DebugStub_ComWriteAL
; EAX = .CommandID
Mov EAX, DWORD [DebugStub_CommandID]
; ComWriteAL()
Call DebugStub_ComWriteAL
; }
DebugStub_AckCommand_Exit:
Mov DWORD [INTS_LastKnownAddress], DebugStub_AckCommand_Exit
Ret
; function ProcessCommandBatch {
DebugStub_ProcessCommandBatch:
; Begin:
DebugStub_ProcessCommandBatch_Begin:
; ProcessCommand()
Call DebugStub_ProcessCommand
; See if batch is complete
; Loop and wait
; Vs2Ds.BatchEnd
; if AL != 8 goto Begin
Cmp AL, 0x8
Jne DebugStub_ProcessCommandBatch_Begin
; AckCommand()
Call DebugStub_AckCommand
; }
DebugStub_ProcessCommandBatch_Exit:
Mov DWORD [INTS_LastKnownAddress], DebugStub_ProcessCommandBatch_Exit
Ret
| 27.726872 | 114 | 0.766762 |
cb5e58a7d94cb76882076382a56985439e27238f | 547 | asm | Assembly | oeis/230/A230152.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/230/A230152.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/230/A230152.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A230152: Decimal expansion of the positive real solution of the equation x^(k+1)+x^k-1=0. Case k=4.
; Submitted by Jon Maiga
; 8,5,6,6,7,4,8,8,3,8,5,4,5,0,2,8,7,4,8,5,2,3,2,4,8,1,5,3,1,2,4,3,4,3,6,9,8,3,1,3,9,9,9,4,5,4,9,3,7,5,2,6,2,5,5,7,6,4,1,2,8,1,0,3,4,6,7,9,8,4,2,4,6,2,2,9,0,4,3,6,2,1,1,0,3,5,1,6,6,5,8,3,6,6,8,0,9,0,4,7
add $0,1
mov $3,$0
mul $3,3
lpb $3
add $6,$7
add $1,$6
add $7,$6
add $6,$1
add $1,$7
add $2,$1
sub $3,1
add $5,$2
max $6,4
add $6,$5
lpe
mov $4,10
pow $4,$0
div $2,$4
div $1,$2
mov $0,$1
mod $0,10
| 21.038462 | 201 | 0.542962 |
0216356858e81d75e4aefd7b842b7f852a2a7657 | 1,751 | asm | Assembly | programs/oeis/005/A005581.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | 1 | 2021-03-15T11:38:20.000Z | 2021-03-15T11:38:20.000Z | programs/oeis/005/A005581.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | programs/oeis/005/A005581.asm | karttu/loda | 9c3b0fc57b810302220c044a9d17db733c76a598 | [
"Apache-2.0"
] | null | null | null | ; A005581: a(n) = (n-1)*n*(n+4)/6.
; 0,0,2,7,16,30,50,77,112,156,210,275,352,442,546,665,800,952,1122,1311,1520,1750,2002,2277,2576,2900,3250,3627,4032,4466,4930,5425,5952,6512,7106,7735,8400,9102,9842,10621,11440,12300,13202,14147,15136,16170,17250,18377,19552,20776,22050,23375,24752,26182,27666,29205,30800,32452,34162,35931,37760,39650,41602,43617,45696,47840,50050,52327,54672,57086,59570,62125,64752,67452,70226,73075,76000,79002,82082,85241,88480,91800,95202,98687,102256,105910,109650,113477,117392,121396,125490,129675,133952,138322,142786,147345,152000,156752,161602,166551,171600,176750,182002,187357,192816,198380,204050,209827,215712,221706,227810,234025,240352,246792,253346,260015,266800,273702,280722,287861,295120,302500,310002,317627,325376,333250,341250,349377,357632,366016,374530,383175,391952,400862,409906,419085,428400,437852,447442,457171,467040,477050,487202,497497,507936,518520,529250,540127,551152,562326,573650,585125,596752,608532,620466,632555,644800,657202,669762,682481,695360,708400,721602,734967,748496,762190,776050,790077,804272,818636,833170,847875,862752,877802,893026,908425,924000,939752,955682,971791,988080,1004550,1021202,1038037,1055056,1072260,1089650,1107227,1124992,1142946,1161090,1179425,1197952,1216672,1235586,1254695,1274000,1293502,1313202,1333101,1353200,1373500,1394002,1414707,1435616,1456730,1478050,1499577,1521312,1543256,1565410,1587775,1610352,1633142,1656146,1679365,1702800,1726452,1750322,1774411,1798720,1823250,1848002,1872977,1898176,1923600,1949250,1975127,2001232,2027566,2054130,2080925,2107952,2135212,2162706,2190435,2218400,2246602,2275042,2303721,2332640,2361800,2391202,2420847,2450736,2480870,2511250,2541877,2572752,2603876
mov $1,$0
bin $0,2
add $1,4
mul $1,$0
div $1,3
| 194.555556 | 1,667 | 0.831525 |
447159b79aa08c5197b7d3a98ca6568e4b77d15b | 376 | asm | Assembly | oeis/181/A181656.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/181/A181656.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/181/A181656.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A181656: Generalized (conditional) Riordan array with k-th column generated by x^k*(1+x^2) if k mod 2 = 0, x^k*(1+x) otherwise.
; Submitted by Jon Maiga
; 1,0,1,1,1,1,0,0,0,1,0,0,1,1,1,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,1
lpb $0
add $1,1
sub $0,$1
mov $2,$1
sub $2,$0
lpe
gcd $0,2
bin $0,$2
mod $0,2
| 26.857143 | 133 | 0.579787 |
96481c35471dfea31c4ece4a94f4832083e74c66 | 783 | asm | Assembly | kernel/arch/x86_64/boot.asm | Skipper1931/tinuk | a3b1106dae54e9a747700816156b7579d3ac1330 | [
"BSD-3-Clause"
] | 2 | 2019-12-28T21:01:45.000Z | 2020-12-17T17:58:28.000Z | kernel/arch/x86_64/boot.asm | Skipper1931/tinuk | a3b1106dae54e9a747700816156b7579d3ac1330 | [
"BSD-3-Clause"
] | null | null | null | kernel/arch/x86_64/boot.asm | Skipper1931/tinuk | a3b1106dae54e9a747700816156b7579d3ac1330 | [
"BSD-3-Clause"
] | null | null | null | DEFAULT REL
SECTION .text
GLOBAL _start
GLOBAL _hang
EXTERN kmain
EXTERN bootboot
EXTERN fb
EXTERN _binary_kernel_drivers_vesa_font_bin_start
EXTERN environment
_start:
mov rax, 1
cpuid ; Call CPUID to get (among other things) the local APIC id for the core
shr ebx, 24 ; Shift the APIC id into BX
cmp bx, [bootboot + 0xC] ; bootboot.bspid
jne _hang ; If we're not the boot CPU, hang
mov rdi, bootboot ; Load pointer to bootboot struct as first param to kmain()
mov rsi, fb ; Load pointer to VESA framebuffer as second param to kmain()
mov rdx, _binary_kernel_drivers_vesa_font_bin_start ; Load pointer to PSF header as third param to kmain()
mov rcx, environment ; Load pointer to environment string as fourth param to kmain()
call kmain
_hang:
cli
hlt
jmp _hang
| 27 | 107 | 0.768838 |
6dee225e9d516fd3477cc5951749f67336784502 | 4,098 | asm | Assembly | openssl/openssl-fips-2.0.16/tmp32dll/x86_64cpuid.asm | memade/gpl | 33b2a1e8e2be851f06223f4bd3c8147aaf4e08e7 | [
"Apache-2.0"
] | null | null | null | openssl/openssl-fips-2.0.16/tmp32dll/x86_64cpuid.asm | memade/gpl | 33b2a1e8e2be851f06223f4bd3c8147aaf4e08e7 | [
"Apache-2.0"
] | null | null | null | openssl/openssl-fips-2.0.16/tmp32dll/x86_64cpuid.asm | memade/gpl | 33b2a1e8e2be851f06223f4bd3c8147aaf4e08e7 | [
"Apache-2.0"
] | null | null | null | default rel
%define XMMWORD
EXTERN fips_openssl_cpuid_setup
section .CRT$XCU rdata align=8
DQ fips_openssl_cpuid_setup
common fips_openssl_ia32cap_p 8
section .text code align=64
global fips_openssl_atomic_add
ALIGN 16
fips_openssl_atomic_add:
mov eax,DWORD[rcx]
$L$spin: lea r8,[rax*1+rdx]
DB 0xf0
cmpxchg DWORD[rcx],r8d
jne NEAR $L$spin
mov eax,r8d
DB 0x48,0x98
DB 0F3h,0C3h ;repret
global fips_openssl_rdtsc
ALIGN 16
fips_openssl_rdtsc:
rdtsc
shl rdx,32
or rax,rdx
DB 0F3h,0C3h ;repret
global fips_openssl_ia32_cpuid
ALIGN 16
fips_openssl_ia32_cpuid:
mov r8,rbx
xor eax,eax
cpuid
mov r11d,eax
xor eax,eax
cmp ebx,0x756e6547
setne al
mov r9d,eax
cmp edx,0x49656e69
setne al
or r9d,eax
cmp ecx,0x6c65746e
setne al
or r9d,eax
jz NEAR $L$intel
cmp ebx,0x68747541
setne al
mov r10d,eax
cmp edx,0x69746E65
setne al
or r10d,eax
cmp ecx,0x444D4163
setne al
or r10d,eax
jnz NEAR $L$intel
mov eax,0x80000000
cpuid
cmp eax,0x80000001
jb NEAR $L$intel
mov r10d,eax
mov eax,0x80000001
cpuid
or r9d,ecx
and r9d,0x00000801
cmp r10d,0x80000008
jb NEAR $L$intel
mov eax,0x80000008
cpuid
movzx r10,cl
inc r10
mov eax,1
cpuid
bt edx,28
jnc NEAR $L$generic
shr ebx,16
cmp bl,r10b
ja NEAR $L$generic
and edx,0xefffffff
jmp NEAR $L$generic
$L$intel:
cmp r11d,4
mov r10d,-1
jb NEAR $L$nocacheinfo
mov eax,4
mov ecx,0
cpuid
mov r10d,eax
shr r10d,14
and r10d,0xfff
$L$nocacheinfo:
mov eax,1
cpuid
and edx,0xbfefffff
cmp r9d,0
jne NEAR $L$notintel
or edx,0x40000000
and ah,15
cmp ah,15
jne NEAR $L$notintel
or edx,0x00100000
$L$notintel:
bt edx,28
jnc NEAR $L$generic
and edx,0xefffffff
cmp r10d,0
je NEAR $L$generic
or edx,0x10000000
shr ebx,16
cmp bl,1
ja NEAR $L$generic
and edx,0xefffffff
$L$generic:
and r9d,0x00000800
and ecx,0xfffff7ff
or r9d,ecx
mov r10d,edx
bt r9d,27
jnc NEAR $L$clear_avx
xor ecx,ecx
DB 0x0f,0x01,0xd0
and eax,6
cmp eax,6
je NEAR $L$done
$L$clear_avx:
mov eax,0xefffe7ff
and r9d,eax
$L$done:
shl r9,32
mov eax,r10d
mov rbx,r8
or rax,r9
DB 0F3h,0C3h ;repret
global FIPS_openssl_cleanse
ALIGN 16
FIPS_openssl_cleanse:
xor rax,rax
cmp rdx,15
jae NEAR $L$ot
cmp rdx,0
je NEAR $L$ret
$L$ittle:
mov BYTE[rcx],al
sub rdx,1
lea rcx,[1+rcx]
jnz NEAR $L$ittle
$L$ret:
DB 0F3h,0C3h ;repret
ALIGN 16
$L$ot:
test rcx,7
jz NEAR $L$aligned
mov BYTE[rcx],al
lea rdx,[((-1))+rdx]
lea rcx,[1+rcx]
jmp NEAR $L$ot
$L$aligned:
mov QWORD[rcx],rax
lea rdx,[((-8))+rdx]
test rdx,-8
lea rcx,[8+rcx]
jnz NEAR $L$aligned
cmp rdx,0
jne NEAR $L$ittle
DB 0F3h,0C3h ;repret
global fips_openssl_wipe_cpu
ALIGN 16
fips_openssl_wipe_cpu:
pxor xmm0,xmm0
pxor xmm1,xmm1
pxor xmm2,xmm2
pxor xmm3,xmm3
pxor xmm4,xmm4
pxor xmm5,xmm5
xor rcx,rcx
xor rdx,rdx
xor r8,r8
xor r9,r9
xor r10,r10
xor r11,r11
lea rax,[8+rsp]
DB 0F3h,0C3h ;repret
global fips_openssl_instrument_bus
ALIGN 16
fips_openssl_instrument_bus:
mov r10,rcx
mov rcx,rdx
mov r11,rdx
rdtsc
mov r8d,eax
mov r9d,0
clflush [r10]
DB 0xf0
add DWORD[r10],r9d
jmp NEAR $L$oop
ALIGN 16
$L$oop: rdtsc
mov edx,eax
sub eax,r8d
mov r8d,edx
mov r9d,eax
clflush [r10]
DB 0xf0
add DWORD[r10],eax
lea r10,[4+r10]
sub rcx,1
jnz NEAR $L$oop
mov rax,r11
DB 0F3h,0C3h ;repret
global fips_openssl_instrument_bus2
ALIGN 16
fips_openssl_instrument_bus2:
mov r10,rcx
mov rcx,rdx
mov r11,r8
mov QWORD[8+rsp],rcx
rdtsc
mov r8d,eax
mov r9d,0
clflush [r10]
DB 0xf0
add DWORD[r10],r9d
rdtsc
mov edx,eax
sub eax,r8d
mov r8d,edx
mov r9d,eax
$L$oop2:
clflush [r10]
DB 0xf0
add DWORD[r10],eax
sub r11,1
jz NEAR $L$done2
rdtsc
mov edx,eax
sub eax,r8d
mov r8d,edx
cmp eax,r9d
mov r9d,eax
mov edx,0
setne dl
sub rcx,rdx
lea r10,[rdx*4+r10]
jnz NEAR $L$oop2
$L$done2:
mov rax,QWORD[8+rsp]
sub rax,rcx
DB 0F3h,0C3h ;repret
global fips_openssl_ia32_rdrand
ALIGN 16
fips_openssl_ia32_rdrand:
mov ecx,8
$L$oop_rdrand:
DB 72,15,199,240
jc NEAR $L$break_rdrand
loop $L$oop_rdrand
$L$break_rdrand:
cmp rax,0
cmove rax,rcx
DB 0F3h,0C3h ;repret
| 13.436066 | 35 | 0.719375 |
c3996c90a0758f7d8a36f5582b67649a56ba068e | 638 | asm | Assembly | programs/oeis/126/A126964.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 22 | 2018-02-06T19:19:31.000Z | 2022-01-17T21:53:31.000Z | programs/oeis/126/A126964.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 41 | 2021-02-22T19:00:34.000Z | 2021-08-28T10:47:47.000Z | programs/oeis/126/A126964.asm | neoneye/loda | afe9559fb53ee12e3040da54bd6aa47283e0d9ec | [
"Apache-2.0"
] | 5 | 2021-02-24T21:14:16.000Z | 2021-08-09T19:48:05.000Z | ; A126964: a(n) = 2*n*(6*n-1).
; 0,10,44,102,184,290,420,574,752,954,1180,1430,1704,2002,2324,2670,3040,3434,3852,4294,4760,5250,5764,6302,6864,7450,8060,8694,9352,10034,10740,11470,12224,13002,13804,14630,15480,16354,17252,18174,19120,20090,21084,22102,23144,24210,25300,26414,27552,28714,29900,31110,32344,33602,34884,36190,37520,38874,40252,41654,43080,44530,46004,47502,49024,50570,52140,53734,55352,56994,58660,60350,62064,63802,65564,67350,69160,70994,72852,74734,76640,78570,80524,82502,84504,86530,88580,90654,92752,94874,97020,99190,101384,103602,105844,108110,110400,112714,115052,117414
mov $1,$0
mul $1,12
sub $1,2
mul $0,$1
| 79.75 | 566 | 0.783699 |
9e2d1d03ab5ef00e2515341dc90a415becbbea64 | 1,808 | asm | Assembly | ioctl/IomSetPtrPos.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 1 | 2021-11-25T14:01:48.000Z | 2021-11-25T14:01:48.000Z | ioctl/IomSetPtrPos.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | null | null | null | ioctl/IomSetPtrPos.asm | osfree-project/FamilyAPI | 2119a95cb2bbe6716ecacff4171866f6ea51b8d7 | [
"BSD-3-Clause"
] | 2 | 2021-11-05T06:48:43.000Z | 2021-12-06T08:07:38.000Z | ;--------------------------------------------------------
; Category 7 Function 59 Set pointer screen position
;--------------------------------------------------------
;
;Purpose
;Specifies/Replaces the Pointer Position
;Parameter Packet Format
;Fie Id
;Row Position
;Column Position
;Data Packet Format
;None
;Row Position
;Length
;WORD
;WORD
;The new row coordinate pointer screen position.
;Column Position
;The new column coordinate pointer screen position.
;The coordinate values are display mode dependent. Pixel values
;must be used if the display is in graphics mode. Character position
;values must be used if the display is in text mode.
;Returns
;None
;Remarks
;This function does not override functions 57H and 58H.
;If the pointer is directed into a restricted area, it remains invisible
;until moved out of the area or until the area is freed of restrictions.
;The parameter packet is a far pointer to a structure in application
;storage where the mouse device driver will read coordinate positions.
;
;------------------------------------------------------------------------
;
;INT 33 - MS MOUSE v1.0+ - POSITION MOUSE CURSOR
;
; AX = 0004h
; CX = column
; DX = row
;Note: the row and column are truncated to the next lower multiple of the cell
; size (typically 8x8 in text modes); however, some versions of the
; Microsoft documentation incorrectly state that the coordinates are
; rounded
;SeeAlso: AX=0003h,INT 62/AX=0081h,INT 6F/AH=10h"F_PUT_SPRITE"
;
IOMSETPTRPOS PROC NEAR
MOV AX, ERROR_INVALID_PARAMETER
XOR BX, BX
CMP BX, WORD PTR [DS:BP].ARGS.DDATA
JNZ EXIT
CMP BX, WORD PTR [DS:BP].ARGS.DDATA+2
JNZ EXIT
LES BX, [DS:BP].ARGS.PARMLIST
MOV DX, [ES:BX]
MOV CX, [ES:BX+2]
MOV AX, 04H
INT 33H
XOR AX, AX
EXIT:
RET
IOMSETPTRPOS ENDP
| 27.815385 | 78 | 0.666482 |
31df4d908674dfec64862f66ddeb06a1b5cdd4e9 | 5,144 | asm | Assembly | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_390_1066.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 9 | 2020-08-13T19:41:58.000Z | 2022-03-30T12:22:51.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_390_1066.asm | ljhsiun2/medusa | 67d769b8a2fb42c538f10287abaf0e6dbb463f0c | [
"MIT"
] | 1 | 2021-04-29T06:29:35.000Z | 2021-05-13T21:02:30.000Z | Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_390_1066.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 %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x9cc1, %r10
xor $10132, %r8
movw $0x6162, (%r10)
nop
nop
nop
nop
nop
add %r9, %r9
lea addresses_D_ht+0xa979, %r12
nop
nop
nop
nop
nop
and %rax, %rax
mov $0x6162636465666768, %r11
movq %r11, (%r12)
nop
nop
nop
dec %r10
lea addresses_D_ht+0xb419, %rsi
lea addresses_UC_ht+0x2d69, %rdi
nop
nop
nop
nop
add $48083, %r11
mov $90, %rcx
rep movsq
nop
sub %r10, %r10
lea addresses_A_ht+0x1a6c9, %r12
nop
nop
nop
nop
nop
xor $12280, %r10
movl $0x61626364, (%r12)
nop
nop
dec %rcx
lea addresses_WT_ht+0x3a1b, %rdi
nop
nop
nop
nop
nop
dec %r8
mov $0x6162636465666768, %r11
movq %r11, (%rdi)
nop
nop
nop
cmp $27808, %r12
lea addresses_D_ht+0x51a5, %r9
nop
nop
nop
nop
cmp $32652, %r12
movb $0x61, (%r9)
sub %r9, %r9
lea addresses_normal_ht+0x2b9, %r12
nop
nop
nop
nop
dec %rdi
mov $0x6162636465666768, %r8
movq %r8, %xmm4
movups %xmm4, (%r12)
nop
nop
nop
cmp %rax, %rax
lea addresses_WC_ht+0x17a85, %rsi
lea addresses_WC_ht+0x1cb79, %rdi
nop
nop
nop
sub $16370, %r11
mov $40, %rcx
rep movsq
nop
lfence
lea addresses_D_ht+0xf8b9, %rax
nop
nop
nop
nop
nop
cmp $50733, %rdi
movb $0x61, (%rax)
nop
xor %r9, %r9
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r8
push %rax
push %rbp
push %rdi
push %rdx
// Load
mov $0x5d9b400000000fd9, %r14
nop
nop
nop
nop
xor $58868, %r10
mov (%r14), %r8
nop
nop
cmp $62538, %rbp
// Load
lea addresses_WC+0x19e79, %r14
add %rax, %rax
vmovaps (%r14), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $1, %xmm6, %r8
nop
nop
nop
xor %rdi, %rdi
// Store
lea addresses_normal+0x6859, %r10
nop
nop
cmp %rdx, %rdx
mov $0x5152535455565758, %r8
movq %r8, %xmm0
movups %xmm0, (%r10)
nop
nop
nop
nop
add %rdx, %rdx
// Faulty Load
lea addresses_PSE+0x1a8b9, %rbp
nop
nop
nop
nop
nop
inc %rdi
mov (%rbp), %rdx
lea oracles, %r10
and $0xff, %rdx
shlq $12, %rdx
mov (%r10,%rdx,1), %rdx
pop %rdx
pop %rdi
pop %rbp
pop %rax
pop %r8
pop %r14
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC', 'size': 32, 'AVXalign': True, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 5, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 5, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 4, 'AVXalign': False, 'NT': False, 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 9, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 5, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': True}}
{'33': 390}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 24.264151 | 1,169 | 0.652216 |
b0b19b3567db8d1f5272e12190a3169352c5ec90 | 689 | asm | Assembly | oeis/008/A008762.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 11 | 2021-08-22T19:44:55.000Z | 2022-03-20T16:47:57.000Z | oeis/008/A008762.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 9 | 2021-08-29T13:15:54.000Z | 2022-03-09T19:52:31.000Z | oeis/008/A008762.asm | neoneye/loda-programs | 84790877f8e6c2e821b183d2e334d612045d29c0 | [
"Apache-2.0"
] | 3 | 2021-08-22T20:56:47.000Z | 2021-09-29T06:26:12.000Z | ; A008762: Expansion of (1+x)/((1-x)*(1-x^2)*(1-x^3)*(1-x^4)).
; Submitted by Jon Maiga
; 1,2,3,5,8,11,15,20,26,33,41,50,61,73,86,101,118,136,156,178,202,228,256,286,319,354,391,431,474,519,567,618,672,729,789,852,919,989,1062,1139,1220,1304,1392,1484,1580,1680,1784,1892,2005,2122,2243,2369,2500,2635,2775,2920,3070,3225,3385,3550,3721,3897,4078,4265,4458,4656,4860,5070,5286,5508,5736,5970,6211,6458,6711,6971,7238,7511,7791,8078,8372,8673,8981,9296,9619,9949,10286,10631,10984,11344,11712,12088,12472,12864,13264,13672,14089,14514,14947,15389
mov $2,$0
mov $4,$0
lpb $2
mov $0,$4
sub $2,1
sub $0,$2
add $0,4
pow $0,2
add $0,9
div $0,24
add $3,$0
lpe
mov $0,$3
add $0,1
| 36.263158 | 457 | 0.687954 |
5c871fa62a16230ee76596c6d82c8cdf3d7d62a7 | 960 | asm | Assembly | libsrc/_DEVELOPMENT/arch/sms/vdp/z80/__sms_vdp_reg_array.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 640 | 2017-01-14T23:33:45.000Z | 2022-03-30T11:28:42.000Z | libsrc/_DEVELOPMENT/arch/sms/vdp/z80/__sms_vdp_reg_array.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 1,600 | 2017-01-15T16:12:02.000Z | 2022-03-31T12:11:12.000Z | libsrc/_DEVELOPMENT/arch/sms/vdp/z80/__sms_vdp_reg_array.asm | jpoikela/z88dk | 7108b2d7e3a98a77de99b30c9a7c9199da9c75cb | [
"ClArtistic"
] | 215 | 2017-01-17T10:43:03.000Z | 2022-03-23T17:25:02.000Z | INCLUDE "config_private.inc"
SECTION rodata_arch
PUBLIC __sms_vdp_reg_array
__sms_vdp_reg_array:
defb __SMS_VDP_R0 ; /* reg0: Mode 4 */
defb __SMS_VDP_R1 ; /* reg1: display OFF - frame int (vblank) ON */
defb ((__SMSLIB_PNTADDRESS & 0x3800) >> 10) + 0xf1 ; /* reg2: PNT at 0x3800 */
defb 0xFF ; /* reg3: no effect (when in mode 4) */
defb 0xFF ; /* reg4: no effect (when in mode 4) */
defb ((__SMSLIB_SATADDRESS & 0x3f00) >> 7) + 0x81 ; /* reg5: SAT at 0x3F00 */
defb ((__SMS_VRAM_SPRITE_PATTERN_BASE_ADDRESS & 0x2000) >> 11) + 0xfb ; /* reg6: Sprite tiles at 0x2000 */
defb 0x00 ; /* reg7: backdrop color (zero) */
defb 0x00 ; /* reg8: scroll X (zero) */
defb 0x00 ; /* reg9: scroll Y (zero) */
defb 0xFF ; /* regA: line interrupt count (offscreen) */
| 48 | 110 | 0.530208 |
0f6ae188ca1809cd8500c467a930337b186407e7 | 429 | nasm | Assembly | Projetos/J-VMTranslator/bin/nasm/SimpleEq.nasm | mariaeduardabicalho/Z01 | a08eb895cb064aad16e512d20b09c3f02704f98d | [
"Unlicense"
] | 2 | 2018-03-21T01:20:58.000Z | 2018-04-16T14:35:51.000Z | Projetos/J-VMTranslator/bin/nasm/SimpleEq.nasm | mariaeduardabicalho/Z01 | a08eb895cb064aad16e512d20b09c3f02704f98d | [
"Unlicense"
] | 70 | 2018-03-13T12:19:23.000Z | 2018-05-16T20:38:45.000Z | Projetos/J-VMTranslator/bin/nasm/SimpleEq.nasm | mariaeduardabicalho/Z01 | a08eb895cb064aad16e512d20b09c3f02704f98d | [
"Unlicense"
] | null | null | null | leaw $SP,%A
movw (%A),%A
decw %A
movw (%A),%S
decw %A
movw (%A),%A
subw %S, %A, %S
leaw $lbl980c116bc2e720fbaa5b,%A
je %S
nop
leaw $0,%A
movw %A,%D
leaw $lbl8d05bdf414195a908183,%A
jmp
nop
lbl980c116bc2e720fbaa5b:
leaw $1,%A
negw %A
movw %A,%D
leaw $lbl8d05bdf414195a908183,%A
jmp
nop
lbl8d05bdf414195a908183:
leaw $SP,%A
movw (%A),%A
decw %A
decw %A
movw %D,(%A)
leaw $SP,%A
movw (%A), %D
decw %D
leaw $SP,%A
movw %D,(%A)
; End
| 12.257143 | 32 | 0.657343 |
02ca02b3e4d2c89c35c01001a9cc7190a7d6d0fc | 62,192 | asm | Assembly | target/cos_117/disasm/iop_overlay1/LOGON.asm | jrrk2/cray-sim | 52c9639808d6890517092637b188282c00cce4f7 | [
"BSL-1.0"
] | 49 | 2020-10-09T12:29:16.000Z | 2022-03-12T02:33:35.000Z | target/cos_117/disasm/iop_overlay1/LOGON.asm | jrrk2/cray-sim | 52c9639808d6890517092637b188282c00cce4f7 | [
"BSL-1.0"
] | 1 | 2021-12-29T15:59:25.000Z | 2021-12-29T15:59:25.000Z | target/cos_117/disasm/iop_overlay1/LOGON.asm | jrrk2/cray-sim | 52c9639808d6890517092637b188282c00cce4f7 | [
"BSL-1.0"
] | 6 | 2021-04-12T06:10:32.000Z | 2022-02-08T23:11:19.000Z | 0x0000 (0x000000) 0x2100- f:00020 d: 256 | A = OR[256]
0x0001 (0x000002) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x0002 (0x000004) 0x2908- f:00024 d: 264 | OR[264] = A
0x0003 (0x000006) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0004 (0x000008) 0x292C- f:00024 d: 300 | OR[300] = A
0x0005 (0x00000A) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0006 (0x00000C) 0x2926- f:00024 d: 294 | OR[294] = A
0x0007 (0x00000E) 0x212C- f:00020 d: 300 | A = OR[300]
0x0008 (0x000010) 0x290D- f:00024 d: 269 | OR[269] = A
0x0009 (0x000012) 0x210D- f:00020 d: 269 | A = OR[269]
0x000A (0x000014) 0x1607- f:00013 d: 7 | A = A - 7 (0x0007)
0x000B (0x000016) 0x8002- f:00100 d: 2 | P = P + 2 (0x000D), C = 0
0x000C (0x000018) 0x8602- f:00103 d: 2 | P = P + 2 (0x000E), A # 0
0x000D (0x00001A) 0x7002- f:00070 d: 2 | P = P + 2 (0x000F)
0x000E (0x00001C) 0x700F- f:00070 d: 15 | P = P + 15 (0x001D)
0x000F (0x00001E) 0x210D- f:00020 d: 269 | A = OR[269]
0x0010 (0x000020) 0x8602- f:00103 d: 2 | P = P + 2 (0x0012), A # 0
0x0011 (0x000022) 0x700C- f:00070 d: 12 | P = P + 12 (0x001D)
0x0012 (0x000024) 0x2048- f:00020 d: 72 | A = OR[72]
0x0013 (0x000026) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x0014 (0x000028) 0x290E- f:00024 d: 270 | OR[270] = A
0x0015 (0x00002A) 0x210D- f:00020 d: 269 | A = OR[269]
0x0016 (0x00002C) 0x1601- f:00013 d: 1 | A = A - 1 (0x0001)
0x0017 (0x00002E) 0x8405- f:00102 d: 5 | P = P + 5 (0x001C), A = 0
0x0018 (0x000030) 0x1007- f:00010 d: 7 | A = 7 (0x0007)
0x0019 (0x000032) 0x2B0E- f:00025 d: 270 | OR[270] = A + OR[270]
0x001A (0x000034) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1
0x001B (0x000036) 0x7206- f:00071 d: 6 | P = P - 6 (0x0015)
0x001C (0x000038) 0x7003- f:00070 d: 3 | P = P + 3 (0x001F)
0x001D (0x00003A) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x001E (0x00003C) 0x290E- f:00024 d: 270 | OR[270] = A
0x001F (0x00003E) 0x210E- f:00020 d: 270 | A = OR[270]
0x0020 (0x000040) 0x2926- f:00024 d: 294 | OR[294] = A
0x0021 (0x000042) 0x2126- f:00020 d: 294 | A = OR[294]
0x0022 (0x000044) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x0023 (0x000046) 0x2908- f:00024 d: 264 | OR[264] = A
0x0024 (0x000048) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0025 (0x00004A) 0x2927- f:00024 d: 295 | OR[295] = A
0x0026 (0x00004C) 0x2118- f:00020 d: 280 | A = OR[280]
0x0027 (0x00004E) 0x8402- f:00102 d: 2 | P = P + 2 (0x0029), A = 0
0x0028 (0x000050) 0x7018- f:00070 d: 24 | P = P + 24 (0x0040)
0x0029 (0x000052) 0x752F- f:00072 d: 303 | R = P + 303 (0x0158)
0x002A (0x000054) 0x2126- f:00020 d: 294 | A = OR[294]
0x002B (0x000056) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x002C (0x000058) 0x2908- f:00024 d: 264 | OR[264] = A
0x002D (0x00005A) 0x3108- f:00030 d: 264 | A = (OR[264])
0x002E (0x00005C) 0x2913- f:00024 d: 275 | OR[275] = A
0x002F (0x00005E) 0x2113- f:00020 d: 275 | A = OR[275]
0x0030 (0x000060) 0x8602- f:00103 d: 2 | P = P + 2 (0x0032), A # 0
0x0031 (0x000062) 0x700E- f:00070 d: 14 | P = P + 14 (0x003F)
0x0032 (0x000064) 0x1019- f:00010 d: 25 | A = 25 (0x0019)
0x0033 (0x000066) 0x292D- f:00024 d: 301 | OR[301] = A
0x0034 (0x000068) 0x2113- f:00020 d: 275 | A = OR[275]
0x0035 (0x00006A) 0x292E- f:00024 d: 302 | OR[302] = A
0x0036 (0x00006C) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0037 (0x00006E) 0x5800- f:00054 d: 0 | B = A
0x0038 (0x000070) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0039 (0x000072) 0x7C09- f:00076 d: 9 | R = OR[9]
0x003A (0x000074) 0x2126- f:00020 d: 294 | A = OR[294]
0x003B (0x000076) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x003C (0x000078) 0x2908- f:00024 d: 264 | OR[264] = A
0x003D (0x00007A) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x003E (0x00007C) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x003F (0x00007E) 0x7113- f:00070 d: 275 | P = P + 275 (0x0152)
0x0040 (0x000080) 0x2127- f:00020 d: 295 | A = OR[295]
0x0041 (0x000082) 0x8402- f:00102 d: 2 | P = P + 2 (0x0043), A = 0
0x0042 (0x000084) 0x701D- f:00070 d: 29 | P = P + 29 (0x005F)
0x0043 (0x000086) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x0044 (0x000088) 0x292D- f:00024 d: 301 | OR[301] = A
0x0045 (0x00008A) 0x1020- f:00010 d: 32 | A = 32 (0x0020)
0x0046 (0x00008C) 0x292E- f:00024 d: 302 | OR[302] = A
0x0047 (0x00008E) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0048 (0x000090) 0x292F- f:00024 d: 303 | OR[303] = A
0x0049 (0x000092) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x004A (0x000094) 0x2930- f:00024 d: 304 | OR[304] = A
0x004B (0x000096) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x004C (0x000098) 0x2931- f:00024 d: 305 | OR[305] = A
0x004D (0x00009A) 0x1127- f:00010 d: 295 | A = 295 (0x0127)
0x004E (0x00009C) 0x2932- f:00024 d: 306 | OR[306] = A
0x004F (0x00009E) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0050 (0x0000A0) 0x5800- f:00054 d: 0 | B = A
0x0051 (0x0000A2) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0052 (0x0000A4) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0053 (0x0000A6) 0x8602- f:00103 d: 2 | P = P + 2 (0x0055), A # 0
0x0054 (0x0000A8) 0x700B- f:00070 d: 11 | P = P + 11 (0x005F)
0x0055 (0x0000AA) 0x1007- f:00010 d: 7 | A = 7 (0x0007)
0x0056 (0x0000AC) 0x292D- f:00024 d: 301 | OR[301] = A
0x0057 (0x0000AE) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x0058 (0x0000B0) 0x292E- f:00024 d: 302 | OR[302] = A
0x0059 (0x0000B2) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x005A (0x0000B4) 0x5800- f:00054 d: 0 | B = A
0x005B (0x0000B6) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x005D (0x0000BA) 0x7C09- f:00076 d: 9 | R = OR[9]
0x005E (0x0000BC) 0x721B- f:00071 d: 27 | P = P - 27 (0x0043)
0x005F (0x0000BE) 0x2127- f:00020 d: 295 | A = OR[295]
0x0060 (0x0000C0) 0x290E- f:00024 d: 270 | OR[270] = A
0x0061 (0x0000C2) 0x1020- f:00010 d: 32 | A = 32 (0x0020)
0x0062 (0x0000C4) 0x290D- f:00024 d: 269 | OR[269] = A
0x0063 (0x0000C6) 0x210D- f:00020 d: 269 | A = OR[269]
0x0064 (0x0000C8) 0x8406- f:00102 d: 6 | P = P + 6 (0x006A), A = 0
0x0065 (0x0000CA) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0066 (0x0000CC) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x0067 (0x0000CE) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1
0x0068 (0x0000D0) 0x2D0E- f:00026 d: 270 | OR[270] = OR[270] + 1
0x0069 (0x0000D2) 0x7206- f:00071 d: 6 | P = P - 6 (0x0063)
0x006A (0x0000D4) 0x2127- f:00020 d: 295 | A = OR[295]
0x006B (0x0000D6) 0x1408- f:00012 d: 8 | A = A + 8 (0x0008)
0x006C (0x0000D8) 0x2908- f:00024 d: 264 | OR[264] = A
0x006D (0x0000DA) 0x1800-0x4331 f:00014 d: 0 | A = 17201 (0x4331)
0x006F (0x0000DE) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0070 (0x0000E0) 0x2127- f:00020 d: 295 | A = OR[295]
0x0071 (0x0000E2) 0x1409- f:00012 d: 9 | A = A + 9 (0x0009)
0x0072 (0x0000E4) 0x2908- f:00024 d: 264 | OR[264] = A
0x0073 (0x0000E6) 0x1042- f:00010 d: 66 | A = 66 (0x0042)
0x0074 (0x0000E8) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0075 (0x0000EA) 0x212C- f:00020 d: 300 | A = OR[300]
0x0076 (0x0000EC) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x0077 (0x0000EE) 0x292C- f:00024 d: 300 | OR[300] = A
0x0078 (0x0000F0) 0x2127- f:00020 d: 295 | A = OR[295]
0x0079 (0x0000F2) 0x140A- f:00012 d: 10 | A = A + 10 (0x000A)
0x007A (0x0000F4) 0x2908- f:00024 d: 264 | OR[264] = A
0x007B (0x0000F6) 0x3108- f:00030 d: 264 | A = (OR[264])
0x007C (0x0000F8) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009)
0x007D (0x0000FA) 0x252C- f:00022 d: 300 | A = A + OR[300]
0x007E (0x0000FC) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x007F (0x0000FE) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0080 (0x000100) 0x2127- f:00020 d: 295 | A = OR[295]
0x0081 (0x000102) 0x2913- f:00024 d: 275 | OR[275] = A
0x0082 (0x000104) 0x2113- f:00020 d: 275 | A = OR[275]
0x0083 (0x000106) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x0084 (0x000108) 0x2913- f:00024 d: 275 | OR[275] = A
0x0085 (0x00010A) 0x2127- f:00020 d: 295 | A = OR[295]
0x0086 (0x00010C) 0x140A- f:00012 d: 10 | A = A + 10 (0x000A)
0x0087 (0x00010E) 0x2908- f:00024 d: 264 | OR[264] = A
0x0088 (0x000110) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0089 (0x000112) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x008B (0x000116) 0x2513- f:00022 d: 275 | A = A + OR[275]
0x008C (0x000118) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x008D (0x00011A) 0x2126- f:00020 d: 294 | A = OR[294]
0x008E (0x00011C) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x008F (0x00011E) 0x2908- f:00024 d: 264 | OR[264] = A
0x0090 (0x000120) 0x2127- f:00020 d: 295 | A = OR[295]
0x0091 (0x000122) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0092 (0x000124) 0x2100- f:00020 d: 256 | A = OR[256]
0x0093 (0x000126) 0x1404- f:00012 d: 4 | A = A + 4 (0x0004)
0x0094 (0x000128) 0x2908- f:00024 d: 264 | OR[264] = A
0x0095 (0x00012A) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0096 (0x00012C) 0x2913- f:00024 d: 275 | OR[275] = A
0x0097 (0x00012E) 0x2127- f:00020 d: 295 | A = OR[295]
0x0098 (0x000130) 0x1411- f:00012 d: 17 | A = A + 17 (0x0011)
0x0099 (0x000132) 0x2908- f:00024 d: 264 | OR[264] = A
0x009A (0x000134) 0x2113- f:00020 d: 275 | A = OR[275]
0x009B (0x000136) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x009C (0x000138) 0x2100- f:00020 d: 256 | A = OR[256]
0x009D (0x00013A) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x009E (0x00013C) 0x2908- f:00024 d: 264 | OR[264] = A
0x009F (0x00013E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x00A0 (0x000140) 0x2913- f:00024 d: 275 | OR[275] = A
0x00A1 (0x000142) 0x2100- f:00020 d: 256 | A = OR[256]
0x00A2 (0x000144) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x00A3 (0x000146) 0x2908- f:00024 d: 264 | OR[264] = A
0x00A4 (0x000148) 0x3108- f:00030 d: 264 | A = (OR[264])
0x00A5 (0x00014A) 0x2914- f:00024 d: 276 | OR[276] = A
0x00A6 (0x00014C) 0x2113- f:00020 d: 275 | A = OR[275]
0x00A7 (0x00014E) 0x2928- f:00024 d: 296 | OR[296] = A
0x00A8 (0x000150) 0x2114- f:00020 d: 276 | A = OR[276]
0x00A9 (0x000152) 0x1406- f:00012 d: 6 | A = A + 6 (0x0006)
0x00AA (0x000154) 0x2929- f:00024 d: 297 | OR[297] = A
0x00AB (0x000156) 0x8002- f:00100 d: 2 | P = P + 2 (0x00AD), C = 0
0x00AC (0x000158) 0x2D28- f:00026 d: 296 | OR[296] = OR[296] + 1
0x00AD (0x00015A) 0x2113- f:00020 d: 275 | A = OR[275]
0x00AE (0x00015C) 0x292A- f:00024 d: 298 | OR[298] = A
0x00AF (0x00015E) 0x2114- f:00020 d: 276 | A = OR[276]
0x00B0 (0x000160) 0x1400- f:00012 d: 0 | A = A + 0 (0x0000)
0x00B1 (0x000162) 0x292B- f:00024 d: 299 | OR[299] = A
0x00B2 (0x000164) 0x8002- f:00100 d: 2 | P = P + 2 (0x00B4), C = 0
0x00B3 (0x000166) 0x2D2A- f:00026 d: 298 | OR[298] = OR[298] + 1
0x00B4 (0x000168) 0x2104- f:00020 d: 260 | A = OR[260]
0x00B5 (0x00016A) 0x290D- f:00024 d: 269 | OR[269] = A
0x00B6 (0x00016C) 0x2104- f:00020 d: 260 | A = OR[260]
0x00B7 (0x00016E) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x00B8 (0x000170) 0x1A00-0xFFFC f:00015 d: 0 | A = A & 65532 (0xFFFC)
0x00BA (0x000174) 0x2904- f:00024 d: 260 | OR[260] = A
0x00BB (0x000176) 0x2104- f:00020 d: 260 | A = OR[260]
0x00BC (0x000178) 0x2924- f:00024 d: 292 | OR[292] = A
0x00BD (0x00017A) 0x1040- f:00010 d: 64 | A = 64 (0x0040)
0x00BE (0x00017C) 0x2B04- f:00025 d: 260 | OR[260] = A + OR[260]
0x00BF (0x00017E) 0x2104- f:00020 d: 260 | A = OR[260]
0x00C0 (0x000180) 0x2705- f:00023 d: 261 | A = A - OR[261]
0x00C1 (0x000182) 0xB234- f:00131 d: 52 | R = OR[52], C = 1
0x00C2 (0x000184) 0x000B- f:00000 d: 11 | PASS | **** non-standard encoding with D:0x000B ****
0x00C3 (0x000186) 0x210D- f:00020 d: 269 | A = OR[269]
0x00C4 (0x000188) 0x3904- f:00034 d: 260 | (OR[260]) = A
0x00C5 (0x00018A) 0x2D04- f:00026 d: 260 | OR[260] = OR[260] + 1
0x00C6 (0x00018C) 0x2124- f:00020 d: 292 | A = OR[292]
0x00C7 (0x00018E) 0x290E- f:00024 d: 270 | OR[270] = A
0x00C8 (0x000190) 0x1040- f:00010 d: 64 | A = 64 (0x0040)
0x00C9 (0x000192) 0x290D- f:00024 d: 269 | OR[269] = A
0x00CA (0x000194) 0x210D- f:00020 d: 269 | A = OR[269]
0x00CB (0x000196) 0x8406- f:00102 d: 6 | P = P + 6 (0x00D1), A = 0
0x00CC (0x000198) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00CD (0x00019A) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x00CE (0x00019C) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1
0x00CF (0x00019E) 0x2D0E- f:00026 d: 270 | OR[270] = OR[270] + 1
0x00D0 (0x0001A0) 0x7206- f:00071 d: 6 | P = P - 6 (0x00CA)
0x00D1 (0x0001A2) 0x2100- f:00020 d: 256 | A = OR[256]
0x00D2 (0x0001A4) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x00D3 (0x0001A6) 0x2908- f:00024 d: 264 | OR[264] = A
0x00D4 (0x0001A8) 0x3108- f:00030 d: 264 | A = (OR[264])
0x00D5 (0x0001AA) 0x2921- f:00024 d: 289 | OR[289] = A
0x00D6 (0x0001AC) 0x2100- f:00020 d: 256 | A = OR[256]
0x00D7 (0x0001AE) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x00D8 (0x0001B0) 0x2908- f:00024 d: 264 | OR[264] = A
0x00D9 (0x0001B2) 0x3108- f:00030 d: 264 | A = (OR[264])
0x00DA (0x0001B4) 0x2922- f:00024 d: 290 | OR[290] = A
0x00DB (0x0001B6) 0x1058- f:00010 d: 88 | A = 88 (0x0058)
0x00DC (0x0001B8) 0x2B22- f:00025 d: 290 | OR[290] = A + OR[290]
0x00DD (0x0001BA) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00DE (0x0001BC) 0x2923- f:00024 d: 291 | OR[291] = A
0x00DF (0x0001BE) 0x2123- f:00020 d: 291 | A = OR[291]
0x00E0 (0x0001C0) 0x1680- f:00013 d: 128 | A = A - 128 (0x0080)
0x00E1 (0x0001C2) 0x8222- f:00101 d: 34 | P = P + 34 (0x0103), C = 1
0x00E2 (0x0001C4) 0x1010- f:00010 d: 16 | A = 16 (0x0010)
0x00E3 (0x0001C6) 0x290D- f:00024 d: 269 | OR[269] = A
0x00E4 (0x0001C8) 0x1080- f:00010 d: 128 | A = 128 (0x0080)
0x00E5 (0x0001CA) 0x2723- f:00023 d: 291 | A = A - OR[291]
0x00E6 (0x0001CC) 0x2908- f:00024 d: 264 | OR[264] = A
0x00E7 (0x0001CE) 0x210D- f:00020 d: 269 | A = OR[269]
0x00E8 (0x0001D0) 0x2708- f:00023 d: 264 | A = A - OR[264]
0x00E9 (0x0001D2) 0x8004- f:00100 d: 4 | P = P + 4 (0x00ED), C = 0
0x00EA (0x0001D4) 0x1080- f:00010 d: 128 | A = 128 (0x0080)
0x00EB (0x0001D6) 0x2723- f:00023 d: 291 | A = A - OR[291]
0x00EC (0x0001D8) 0x290D- f:00024 d: 269 | OR[269] = A
0x00ED (0x0001DA) 0x210D- f:00020 d: 269 | A = OR[269]
0x00EE (0x0001DC) 0x2913- f:00024 d: 275 | OR[275] = A
0x00EF (0x0001DE) 0x1027- f:00010 d: 39 | A = 39 (0x0027)
0x00F0 (0x0001E0) 0x292D- f:00024 d: 301 | OR[301] = A
0x00F1 (0x0001E2) 0x2121- f:00020 d: 289 | A = OR[289]
0x00F2 (0x0001E4) 0x292E- f:00024 d: 302 | OR[302] = A
0x00F3 (0x0001E6) 0x2122- f:00020 d: 290 | A = OR[290]
0x00F4 (0x0001E8) 0x2523- f:00022 d: 291 | A = A + OR[291]
0x00F5 (0x0001EA) 0x292F- f:00024 d: 303 | OR[303] = A
0x00F6 (0x0001EC) 0x2124- f:00020 d: 292 | A = OR[292]
0x00F7 (0x0001EE) 0x2930- f:00024 d: 304 | OR[304] = A
0x00F8 (0x0001F0) 0x2113- f:00020 d: 275 | A = OR[275]
0x00F9 (0x0001F2) 0x2931- f:00024 d: 305 | OR[305] = A
0x00FA (0x0001F4) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00FB (0x0001F6) 0x2932- f:00024 d: 306 | OR[306] = A
0x00FC (0x0001F8) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x00FD (0x0001FA) 0x5800- f:00054 d: 0 | B = A
0x00FE (0x0001FC) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x00FF (0x0001FE) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0100 (0x000200) 0x1010- f:00010 d: 16 | A = 16 (0x0010)
0x0101 (0x000202) 0x2B23- f:00025 d: 291 | OR[291] = A + OR[291]
0x0102 (0x000204) 0x7223- f:00071 d: 35 | P = P - 35 (0x00DF)
0x0103 (0x000206) 0x2F04- f:00027 d: 260 | OR[260] = OR[260] - 1
0x0104 (0x000208) 0x3104- f:00030 d: 260 | A = (OR[260])
0x0105 (0x00020A) 0x2904- f:00024 d: 260 | OR[260] = A
0x0106 (0x00020C) 0x2104- f:00020 d: 260 | A = OR[260]
0x0107 (0x00020E) 0x2706- f:00023 d: 262 | A = A - OR[262]
0x0108 (0x000210) 0x8007- f:00100 d: 7 | P = P + 7 (0x010F), C = 0
0x0109 (0x000212) 0x2104- f:00020 d: 260 | A = OR[260]
0x010A (0x000214) 0x2705- f:00023 d: 261 | A = A - OR[261]
0x010B (0x000216) 0x8003- f:00100 d: 3 | P = P + 3 (0x010E), C = 0
0x010C (0x000218) 0x8402- f:00102 d: 2 | P = P + 2 (0x010E), A = 0
0x010D (0x00021A) 0x7002- f:00070 d: 2 | P = P + 2 (0x010F)
0x010E (0x00021C) 0x7003- f:00070 d: 3 | P = P + 3 (0x0111)
0x010F (0x00021E) 0x7C34- f:00076 d: 52 | R = OR[52]
0x0110 (0x000220) 0x000B- f:00000 d: 11 | PASS | **** non-standard encoding with D:0x000B ****
0x0111 (0x000222) 0x2100- f:00020 d: 256 | A = OR[256]
0x0112 (0x000224) 0x1415- f:00012 d: 21 | A = A + 21 (0x0015)
0x0113 (0x000226) 0x2908- f:00024 d: 264 | OR[264] = A
0x0114 (0x000228) 0x1040- f:00010 d: 64 | A = 64 (0x0040)
0x0115 (0x00022A) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0116 (0x00022C) 0x2100- f:00020 d: 256 | A = OR[256]
0x0117 (0x00022E) 0x1416- f:00012 d: 22 | A = A + 22 (0x0016)
0x0118 (0x000230) 0x2908- f:00024 d: 264 | OR[264] = A
0x0119 (0x000232) 0x1008- f:00010 d: 8 | A = 8 (0x0008)
0x011A (0x000234) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x011B (0x000236) 0x2100- f:00020 d: 256 | A = OR[256]
0x011C (0x000238) 0x1418- f:00012 d: 24 | A = A + 24 (0x0018)
0x011D (0x00023A) 0x2908- f:00024 d: 264 | OR[264] = A
0x011E (0x00023C) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x011F (0x00023E) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0120 (0x000240) 0x2100- f:00020 d: 256 | A = OR[256]
0x0121 (0x000242) 0x141C- f:00012 d: 28 | A = A + 28 (0x001C)
0x0122 (0x000244) 0x2908- f:00024 d: 264 | OR[264] = A
0x0123 (0x000246) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0124 (0x000248) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0125 (0x00024A) 0x2100- f:00020 d: 256 | A = OR[256]
0x0126 (0x00024C) 0x143A- f:00012 d: 58 | A = A + 58 (0x003A)
0x0127 (0x00024E) 0x2913- f:00024 d: 275 | OR[275] = A
0x0128 (0x000250) 0x2113- f:00020 d: 275 | A = OR[275]
0x0129 (0x000252) 0x290D- f:00024 d: 269 | OR[269] = A
0x012A (0x000254) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x012B (0x000256) 0x390D- f:00034 d: 269 | (OR[269]) = A
0x012C (0x000258) 0x2D0D- f:00026 d: 269 | OR[269] = OR[269] + 1
0x012D (0x00025A) 0x310D- f:00030 d: 269 | A = (OR[269])
0x012E (0x00025C) 0x8409- f:00102 d: 9 | P = P + 9 (0x0137), A = 0
0x012F (0x00025E) 0x1002- f:00010 d: 2 | A = 2 (0x0002)
0x0130 (0x000260) 0x292D- f:00024 d: 301 | OR[301] = A
0x0131 (0x000262) 0x210D- f:00020 d: 269 | A = OR[269]
0x0132 (0x000264) 0x292E- f:00024 d: 302 | OR[302] = A
0x0133 (0x000266) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0134 (0x000268) 0x5800- f:00054 d: 0 | B = A
0x0135 (0x00026A) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0136 (0x00026C) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0137 (0x00026E) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x0138 (0x000270) 0x292D- f:00024 d: 301 | OR[301] = A
0x0139 (0x000272) 0x1800-0x0017 f:00014 d: 0 | A = 23 (0x0017)
0x013B (0x000276) 0x292E- f:00024 d: 302 | OR[302] = A
0x013C (0x000278) 0x1800-0xFFFF f:00014 d: 0 | A = 65535 (0xFFFF)
0x013E (0x00027C) 0x292F- f:00024 d: 303 | OR[303] = A
0x013F (0x00027E) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0140 (0x000280) 0x5800- f:00054 d: 0 | B = A
0x0141 (0x000282) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x0143 (0x000286) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0144 (0x000288) 0x2100- f:00020 d: 256 | A = OR[256]
0x0145 (0x00028A) 0x141B- f:00012 d: 27 | A = A + 27 (0x001B)
0x0146 (0x00028C) 0x2908- f:00024 d: 264 | OR[264] = A
0x0147 (0x00028E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0148 (0x000290) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x014A (0x000294) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x014B (0x000296) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x014C (0x000298) 0x7448- f:00072 d: 72 | R = P + 72 (0x0194)
0x014D (0x00029A) 0x2005- f:00020 d: 5 | A = OR[5]
0x014E (0x00029C) 0x1406- f:00012 d: 6 | A = A + 6 (0x0006)
0x014F (0x00029E) 0x2908- f:00024 d: 264 | OR[264] = A
0x0150 (0x0002A0) 0x211D- f:00020 d: 285 | A = OR[285]
0x0151 (0x0002A2) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0152 (0x0002A4) 0x102A- f:00010 d: 42 | A = 42 (0x002A)
0x0153 (0x0002A6) 0x292D- f:00024 d: 301 | OR[301] = A
0x0154 (0x0002A8) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0155 (0x0002AA) 0x5800- f:00054 d: 0 | B = A
0x0156 (0x0002AC) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0157 (0x0002AE) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0158 (0x0002B0) 0x2100- f:00020 d: 256 | A = OR[256]
0x0159 (0x0002B2) 0x141A- f:00012 d: 26 | A = A + 26 (0x001A)
0x015A (0x0002B4) 0x2908- f:00024 d: 264 | OR[264] = A
0x015B (0x0002B6) 0x3108- f:00030 d: 264 | A = (OR[264])
0x015C (0x0002B8) 0x291E- f:00024 d: 286 | OR[286] = A
0x015D (0x0002BA) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x015E (0x0002BC) 0x2B1E- f:00025 d: 286 | OR[286] = A + OR[286]
0x015F (0x0002BE) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x0160 (0x0002C0) 0x292D- f:00024 d: 301 | OR[301] = A
0x0161 (0x0002C2) 0x1800-0x014C f:00014 d: 0 | A = 332 (0x014C)
0x0163 (0x0002C6) 0x292E- f:00024 d: 302 | OR[302] = A
0x0164 (0x0002C8) 0x1800-0x0000 f:00014 d: 0 | A = 0 (0x0000)
0x0166 (0x0002CC) 0x292F- f:00024 d: 303 | OR[303] = A
0x0167 (0x0002CE) 0x1800-0x018E f:00014 d: 0 | A = 398 (0x018E)
0x0169 (0x0002D2) 0x2930- f:00024 d: 304 | OR[304] = A
0x016A (0x0002D4) 0x211E- f:00020 d: 286 | A = OR[286]
0x016B (0x0002D6) 0x2931- f:00024 d: 305 | OR[305] = A
0x016C (0x0002D8) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x016D (0x0002DA) 0x2932- f:00024 d: 306 | OR[306] = A
0x016E (0x0002DC) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x016F (0x0002DE) 0x5800- f:00054 d: 0 | B = A
0x0170 (0x0002E0) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x0172 (0x0002E4) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0173 (0x0002E6) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x0174 (0x0002E8) 0x292D- f:00024 d: 301 | OR[301] = A
0x0175 (0x0002EA) 0x1800-0x0125 f:00014 d: 0 | A = 293 (0x0125)
0x0177 (0x0002EE) 0x292E- f:00024 d: 302 | OR[302] = A
0x0178 (0x0002F0) 0x211E- f:00020 d: 286 | A = OR[286]
0x0179 (0x0002F2) 0x292F- f:00024 d: 303 | OR[303] = A
0x017A (0x0002F4) 0x211E- f:00020 d: 286 | A = OR[286]
0x017B (0x0002F6) 0x2930- f:00024 d: 304 | OR[304] = A
0x017C (0x0002F8) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x017D (0x0002FA) 0x2931- f:00024 d: 305 | OR[305] = A
0x017E (0x0002FC) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x017F (0x0002FE) 0x2932- f:00024 d: 306 | OR[306] = A
0x0180 (0x000300) 0x2127- f:00020 d: 295 | A = OR[295]
0x0181 (0x000302) 0x2933- f:00024 d: 307 | OR[307] = A
0x0182 (0x000304) 0x2128- f:00020 d: 296 | A = OR[296]
0x0183 (0x000306) 0x2934- f:00024 d: 308 | OR[308] = A
0x0184 (0x000308) 0x2129- f:00020 d: 297 | A = OR[297]
0x0185 (0x00030A) 0x2935- f:00024 d: 309 | OR[309] = A
0x0186 (0x00030C) 0x212A- f:00020 d: 298 | A = OR[298]
0x0187 (0x00030E) 0x2936- f:00024 d: 310 | OR[310] = A
0x0188 (0x000310) 0x212B- f:00020 d: 299 | A = OR[299]
0x0189 (0x000312) 0x2937- f:00024 d: 311 | OR[311] = A
0x018A (0x000314) 0x1015- f:00010 d: 21 | A = 21 (0x0015)
0x018B (0x000316) 0x2938- f:00024 d: 312 | OR[312] = A
0x018C (0x000318) 0x1016- f:00010 d: 22 | A = 22 (0x0016)
0x018D (0x00031A) 0x2939- f:00024 d: 313 | OR[313] = A
0x018E (0x00031C) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x018F (0x00031E) 0x5800- f:00054 d: 0 | B = A
0x0190 (0x000320) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x0192 (0x000324) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0193 (0x000326) 0x0200- f:00001 d: 0 | EXIT
0x0194 (0x000328) 0x2100- f:00020 d: 256 | A = OR[256]
0x0195 (0x00032A) 0x140E- f:00012 d: 14 | A = A + 14 (0x000E)
0x0196 (0x00032C) 0x2908- f:00024 d: 264 | OR[264] = A
0x0197 (0x00032E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0198 (0x000330) 0x291A- f:00024 d: 282 | OR[282] = A
0x0199 (0x000332) 0x2100- f:00020 d: 256 | A = OR[256]
0x019A (0x000334) 0x140F- f:00012 d: 15 | A = A + 15 (0x000F)
0x019B (0x000336) 0x2908- f:00024 d: 264 | OR[264] = A
0x019C (0x000338) 0x3108- f:00030 d: 264 | A = (OR[264])
0x019D (0x00033A) 0x291B- f:00024 d: 283 | OR[283] = A
0x019E (0x00033C) 0x2100- f:00020 d: 256 | A = OR[256]
0x019F (0x00033E) 0x1410- f:00012 d: 16 | A = A + 16 (0x0010)
0x01A0 (0x000340) 0x2908- f:00024 d: 264 | OR[264] = A
0x01A1 (0x000342) 0x3108- f:00030 d: 264 | A = (OR[264])
0x01A2 (0x000344) 0x291C- f:00024 d: 284 | OR[284] = A
0x01A3 (0x000346) 0x2104- f:00020 d: 260 | A = OR[260]
0x01A4 (0x000348) 0x290D- f:00024 d: 269 | OR[269] = A
0x01A5 (0x00034A) 0x2104- f:00020 d: 260 | A = OR[260]
0x01A6 (0x00034C) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x01A7 (0x00034E) 0x1A00-0xFFFC f:00015 d: 0 | A = A & 65532 (0xFFFC)
0x01A9 (0x000352) 0x2904- f:00024 d: 260 | OR[260] = A
0x01AA (0x000354) 0x2104- f:00020 d: 260 | A = OR[260]
0x01AB (0x000356) 0x291E- f:00024 d: 286 | OR[286] = A
0x01AC (0x000358) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x01AD (0x00035A) 0x2B04- f:00025 d: 260 | OR[260] = A + OR[260]
0x01AE (0x00035C) 0x2104- f:00020 d: 260 | A = OR[260]
0x01AF (0x00035E) 0x2705- f:00023 d: 261 | A = A - OR[261]
0x01B0 (0x000360) 0xB234- f:00131 d: 52 | R = OR[52], C = 1
0x01B1 (0x000362) 0x000B- f:00000 d: 11 | PASS | **** non-standard encoding with D:0x000B ****
0x01B2 (0x000364) 0x210D- f:00020 d: 269 | A = OR[269]
0x01B3 (0x000366) 0x3904- f:00034 d: 260 | (OR[260]) = A
0x01B4 (0x000368) 0x2D04- f:00026 d: 260 | OR[260] = OR[260] + 1
0x01B5 (0x00036A) 0x2100- f:00020 d: 256 | A = OR[256]
0x01B6 (0x00036C) 0x1411- f:00012 d: 17 | A = A + 17 (0x0011)
0x01B7 (0x00036E) 0x2908- f:00024 d: 264 | OR[264] = A
0x01B8 (0x000370) 0x3108- f:00030 d: 264 | A = (OR[264])
0x01B9 (0x000372) 0x291F- f:00024 d: 287 | OR[287] = A
0x01BA (0x000374) 0x211F- f:00020 d: 287 | A = OR[287]
0x01BB (0x000376) 0xAC03-0x02FF f:00126 d: 3 | P = OR[3]+767 (0x02FF), A = 0
0x01BD (0x00037A) 0x211E- f:00020 d: 286 | A = OR[286]
0x01BE (0x00037C) 0x290E- f:00024 d: 270 | OR[270] = A
0x01BF (0x00037E) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x01C0 (0x000380) 0x290D- f:00024 d: 269 | OR[269] = A
0x01C1 (0x000382) 0x210D- f:00020 d: 269 | A = OR[269]
0x01C2 (0x000384) 0x8406- f:00102 d: 6 | P = P + 6 (0x01C8), A = 0
0x01C3 (0x000386) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x01C4 (0x000388) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x01C5 (0x00038A) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1
0x01C6 (0x00038C) 0x2D0E- f:00026 d: 270 | OR[270] = OR[270] + 1
0x01C7 (0x00038E) 0x7206- f:00071 d: 6 | P = P - 6 (0x01C1)
0x01C8 (0x000390) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x01C9 (0x000392) 0x292D- f:00024 d: 301 | OR[301] = A
0x01CA (0x000394) 0x1800-0x014C f:00014 d: 0 | A = 332 (0x014C)
0x01CC (0x000398) 0x292E- f:00024 d: 302 | OR[302] = A
0x01CD (0x00039A) 0x1800-0x0000 f:00014 d: 0 | A = 0 (0x0000)
0x01CF (0x00039E) 0x292F- f:00024 d: 303 | OR[303] = A
0x01D0 (0x0003A0) 0x1800-0x0189 f:00014 d: 0 | A = 393 (0x0189)
0x01D2 (0x0003A4) 0x2930- f:00024 d: 304 | OR[304] = A
0x01D3 (0x0003A6) 0x211E- f:00020 d: 286 | A = OR[286]
0x01D4 (0x0003A8) 0x2931- f:00024 d: 305 | OR[305] = A
0x01D5 (0x0003AA) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x01D6 (0x0003AC) 0x2932- f:00024 d: 306 | OR[306] = A
0x01D7 (0x0003AE) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x01D8 (0x0003B0) 0x5800- f:00054 d: 0 | B = A
0x01D9 (0x0003B2) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x01DB (0x0003B6) 0x7C09- f:00076 d: 9 | R = OR[9]
0x01DC (0x0003B8) 0x2119- f:00020 d: 281 | A = OR[281]
0x01DD (0x0003BA) 0x290E- f:00024 d: 270 | OR[270] = A
0x01DE (0x0003BC) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x01DF (0x0003BE) 0x290D- f:00024 d: 269 | OR[269] = A
0x01E0 (0x0003C0) 0x210D- f:00020 d: 269 | A = OR[269]
0x01E1 (0x0003C2) 0x8406- f:00102 d: 6 | P = P + 6 (0x01E7), A = 0
0x01E2 (0x0003C4) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x01E3 (0x0003C6) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x01E4 (0x0003C8) 0x2F0D- f:00027 d: 269 | OR[269] = OR[269] - 1
0x01E5 (0x0003CA) 0x2D0E- f:00026 d: 270 | OR[270] = OR[270] + 1
0x01E6 (0x0003CC) 0x7206- f:00071 d: 6 | P = P - 6 (0x01E0)
0x01E7 (0x0003CE) 0x211B- f:00020 d: 283 | A = OR[283]
0x01E8 (0x0003D0) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x01E9 (0x0003D2) 0x291B- f:00024 d: 283 | OR[283] = A
0x01EA (0x0003D4) 0x2119- f:00020 d: 281 | A = OR[281]
0x01EB (0x0003D6) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x01EC (0x0003D8) 0x2908- f:00024 d: 264 | OR[264] = A
0x01ED (0x0003DA) 0x3108- f:00030 d: 264 | A = (OR[264])
0x01EE (0x0003DC) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009)
0x01EF (0x0003DE) 0x251B- f:00022 d: 283 | A = A + OR[283]
0x01F0 (0x0003E0) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x01F1 (0x0003E2) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x01F2 (0x0003E4) 0x211A- f:00020 d: 282 | A = OR[282]
0x01F3 (0x0003E6) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x01F4 (0x0003E8) 0x291A- f:00024 d: 282 | OR[282] = A
0x01F5 (0x0003EA) 0x2119- f:00020 d: 281 | A = OR[281]
0x01F6 (0x0003EC) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x01F7 (0x0003EE) 0x2908- f:00024 d: 264 | OR[264] = A
0x01F8 (0x0003F0) 0x3108- f:00030 d: 264 | A = (OR[264])
0x01F9 (0x0003F2) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x01FB (0x0003F6) 0x251A- f:00022 d: 282 | A = A + OR[282]
0x01FC (0x0003F8) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x01FD (0x0003FA) 0x211C- f:00020 d: 284 | A = OR[284]
0x01FE (0x0003FC) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x01FF (0x0003FE) 0x291C- f:00024 d: 284 | OR[284] = A
0x0200 (0x000400) 0x2119- f:00020 d: 281 | A = OR[281]
0x0201 (0x000402) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x0202 (0x000404) 0x2908- f:00024 d: 264 | OR[264] = A
0x0203 (0x000406) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0204 (0x000408) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009)
0x0205 (0x00040A) 0x251C- f:00022 d: 284 | A = A + OR[284]
0x0206 (0x00040C) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x0207 (0x00040E) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0208 (0x000410) 0x2119- f:00020 d: 281 | A = OR[281]
0x0209 (0x000412) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x020A (0x000414) 0x2908- f:00024 d: 264 | OR[264] = A
0x020B (0x000416) 0x3108- f:00030 d: 264 | A = (OR[264])
0x020C (0x000418) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x020E (0x00041C) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x020F (0x00041E) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0210 (0x000420) 0x2119- f:00020 d: 281 | A = OR[281]
0x0211 (0x000422) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x0212 (0x000424) 0x2908- f:00024 d: 264 | OR[264] = A
0x0213 (0x000426) 0x1800-0x0200 f:00014 d: 0 | A = 512 (0x0200)
0x0215 (0x00042A) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0216 (0x00042C) 0x2119- f:00020 d: 281 | A = OR[281]
0x0217 (0x00042E) 0x1404- f:00012 d: 4 | A = A + 4 (0x0004)
0x0218 (0x000430) 0x2908- f:00024 d: 264 | OR[264] = A
0x0219 (0x000432) 0x3108- f:00030 d: 264 | A = (OR[264])
0x021A (0x000434) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009)
0x021B (0x000436) 0x1408- f:00012 d: 8 | A = A + 8 (0x0008)
0x021C (0x000438) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x021D (0x00043A) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x021E (0x00043C) 0x2119- f:00020 d: 281 | A = OR[281]
0x021F (0x00043E) 0x1405- f:00012 d: 5 | A = A + 5 (0x0005)
0x0220 (0x000440) 0x2908- f:00024 d: 264 | OR[264] = A
0x0221 (0x000442) 0x1800-0xF000 f:00014 d: 0 | A = 61440 (0xF000)
0x0223 (0x000446) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x0224 (0x000448) 0x2119- f:00020 d: 281 | A = OR[281]
0x0225 (0x00044A) 0x1406- f:00012 d: 6 | A = A + 6 (0x0006)
0x0226 (0x00044C) 0x2908- f:00024 d: 264 | OR[264] = A
0x0227 (0x00044E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0228 (0x000450) 0x0E01- f:00007 d: 1 | A = A << 1 (0x0001)
0x0229 (0x000452) 0x0A08- f:00005 d: 8 | A = A < 8 (0x0008)
0x022A (0x000454) 0x1400- f:00012 d: 0 | A = A + 0 (0x0000)
0x022B (0x000456) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x022C (0x000458) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x022D (0x00045A) 0x101D- f:00010 d: 29 | A = 29 (0x001D)
0x022E (0x00045C) 0x292D- f:00024 d: 301 | OR[301] = A
0x022F (0x00045E) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x0230 (0x000460) 0x292E- f:00024 d: 302 | OR[302] = A
0x0231 (0x000462) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0232 (0x000464) 0x5800- f:00054 d: 0 | B = A
0x0233 (0x000466) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0234 (0x000468) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0235 (0x00046A) 0x2006- f:00020 d: 6 | A = OR[6]
0x0236 (0x00046C) 0x140C- f:00012 d: 12 | A = A + 12 (0x000C)
0x0237 (0x00046E) 0x2908- f:00024 d: 264 | OR[264] = A
0x0238 (0x000470) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0239 (0x000472) 0x2921- f:00024 d: 289 | OR[289] = A
0x023A (0x000474) 0x2006- f:00020 d: 6 | A = OR[6]
0x023B (0x000476) 0x140D- f:00012 d: 13 | A = A + 13 (0x000D)
0x023C (0x000478) 0x2908- f:00024 d: 264 | OR[264] = A
0x023D (0x00047A) 0x3108- f:00030 d: 264 | A = (OR[264])
0x023E (0x00047C) 0x2922- f:00024 d: 290 | OR[290] = A
0x023F (0x00047E) 0x2006- f:00020 d: 6 | A = OR[6]
0x0240 (0x000480) 0x140B- f:00012 d: 11 | A = A + 11 (0x000B)
0x0241 (0x000482) 0x2908- f:00024 d: 264 | OR[264] = A
0x0242 (0x000484) 0x3108- f:00030 d: 264 | A = (OR[264])
0x0243 (0x000486) 0x291D- f:00024 d: 285 | OR[285] = A
0x0244 (0x000488) 0x86D0- f:00103 d: 208 | P = P + 208 (0x0314), A # 0
0x0245 (0x00048A) 0x1027- f:00010 d: 39 | A = 39 (0x0027)
0x0246 (0x00048C) 0x292D- f:00024 d: 301 | OR[301] = A
0x0247 (0x00048E) 0x2121- f:00020 d: 289 | A = OR[289]
0x0248 (0x000490) 0x292E- f:00024 d: 302 | OR[302] = A
0x0249 (0x000492) 0x2122- f:00020 d: 290 | A = OR[290]
0x024A (0x000494) 0x292F- f:00024 d: 303 | OR[303] = A
0x024B (0x000496) 0x2119- f:00020 d: 281 | A = OR[281]
0x024C (0x000498) 0x2930- f:00024 d: 304 | OR[304] = A
0x024D (0x00049A) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x024E (0x00049C) 0x0802- f:00004 d: 2 | A = A > 2 (0x0002)
0x024F (0x00049E) 0x2931- f:00024 d: 305 | OR[305] = A
0x0250 (0x0004A0) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0251 (0x0004A2) 0x2932- f:00024 d: 306 | OR[306] = A
0x0252 (0x0004A4) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0253 (0x0004A6) 0x5800- f:00054 d: 0 | B = A
0x0254 (0x0004A8) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0255 (0x0004AA) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0256 (0x0004AC) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x0257 (0x0004AE) 0x292D- f:00024 d: 301 | OR[301] = A
0x0258 (0x0004B0) 0x1800-0x0125 f:00014 d: 0 | A = 293 (0x0125)
0x025A (0x0004B4) 0x292E- f:00024 d: 302 | OR[302] = A
0x025B (0x0004B6) 0x211E- f:00020 d: 286 | A = OR[286]
0x025C (0x0004B8) 0x292F- f:00024 d: 303 | OR[303] = A
0x025D (0x0004BA) 0x211E- f:00020 d: 286 | A = OR[286]
0x025E (0x0004BC) 0x2930- f:00024 d: 304 | OR[304] = A
0x025F (0x0004BE) 0x2121- f:00020 d: 289 | A = OR[289]
0x0260 (0x0004C0) 0x2931- f:00024 d: 305 | OR[305] = A
0x0261 (0x0004C2) 0x2122- f:00020 d: 290 | A = OR[290]
0x0262 (0x0004C4) 0x2932- f:00024 d: 306 | OR[306] = A
0x0263 (0x0004C6) 0x2127- f:00020 d: 295 | A = OR[295]
0x0264 (0x0004C8) 0x2933- f:00024 d: 307 | OR[307] = A
0x0265 (0x0004CA) 0x2128- f:00020 d: 296 | A = OR[296]
0x0266 (0x0004CC) 0x2934- f:00024 d: 308 | OR[308] = A
0x0267 (0x0004CE) 0x2129- f:00020 d: 297 | A = OR[297]
0x0268 (0x0004D0) 0x2935- f:00024 d: 309 | OR[309] = A
0x0269 (0x0004D2) 0x212A- f:00020 d: 298 | A = OR[298]
0x026A (0x0004D4) 0x2936- f:00024 d: 310 | OR[310] = A
0x026B (0x0004D6) 0x212B- f:00020 d: 299 | A = OR[299]
0x026C (0x0004D8) 0x2937- f:00024 d: 311 | OR[311] = A
0x026D (0x0004DA) 0x1015- f:00010 d: 21 | A = 21 (0x0015)
0x026E (0x0004DC) 0x2938- f:00024 d: 312 | OR[312] = A
0x026F (0x0004DE) 0x1016- f:00010 d: 22 | A = 22 (0x0016)
0x0270 (0x0004E0) 0x2939- f:00024 d: 313 | OR[313] = A
0x0271 (0x0004E2) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0272 (0x0004E4) 0x5800- f:00054 d: 0 | B = A
0x0273 (0x0004E6) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x0275 (0x0004EA) 0x7C09- f:00076 d: 9 | R = OR[9]
0x0276 (0x0004EC) 0x291D- f:00024 d: 285 | OR[285] = A
0x0277 (0x0004EE) 0x869D- f:00103 d: 157 | P = P + 157 (0x0314), A # 0
0x0278 (0x0004F0) 0x2122- f:00020 d: 290 | A = OR[290]
0x0279 (0x0004F2) 0x8604- f:00103 d: 4 | P = P + 4 (0x027D), A # 0
0x027A (0x0004F4) 0x2121- f:00020 d: 289 | A = OR[289]
0x027B (0x0004F6) 0x8602- f:00103 d: 2 | P = P + 2 (0x027D), A # 0
0x027C (0x0004F8) 0x701E- f:00070 d: 30 | P = P + 30 (0x029A)
0x027D (0x0004FA) 0x1026- f:00010 d: 38 | A = 38 (0x0026)
0x027E (0x0004FC) 0x292D- f:00024 d: 301 | OR[301] = A
0x027F (0x0004FE) 0x2121- f:00020 d: 289 | A = OR[289]
0x0280 (0x000500) 0x292E- f:00024 d: 302 | OR[302] = A
0x0281 (0x000502) 0x2122- f:00020 d: 290 | A = OR[290]
0x0282 (0x000504) 0x292F- f:00024 d: 303 | OR[303] = A
0x0283 (0x000506) 0x2119- f:00020 d: 281 | A = OR[281]
0x0284 (0x000508) 0x2930- f:00024 d: 304 | OR[304] = A
0x0285 (0x00050A) 0x1018- f:00010 d: 24 | A = 24 (0x0018)
0x0286 (0x00050C) 0x0802- f:00004 d: 2 | A = A > 2 (0x0002)
0x0287 (0x00050E) 0x2931- f:00024 d: 305 | OR[305] = A
0x0288 (0x000510) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0289 (0x000512) 0x2932- f:00024 d: 306 | OR[306] = A
0x028A (0x000514) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x028B (0x000516) 0x5800- f:00054 d: 0 | B = A
0x028C (0x000518) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x028D (0x00051A) 0x7C09- f:00076 d: 9 | R = OR[9]
0x028E (0x00051C) 0x101E- f:00010 d: 30 | A = 30 (0x001E)
0x028F (0x00051E) 0x292D- f:00024 d: 301 | OR[301] = A
0x0290 (0x000520) 0x2121- f:00020 d: 289 | A = OR[289]
0x0291 (0x000522) 0x292E- f:00024 d: 302 | OR[302] = A
0x0292 (0x000524) 0x2122- f:00020 d: 290 | A = OR[290]
0x0293 (0x000526) 0x292F- f:00024 d: 303 | OR[303] = A
0x0294 (0x000528) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x0295 (0x00052A) 0x2930- f:00024 d: 304 | OR[304] = A
0x0296 (0x00052C) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x0297 (0x00052E) 0x5800- f:00054 d: 0 | B = A
0x0298 (0x000530) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0299 (0x000532) 0x7C09- f:00076 d: 9 | R = OR[9]
0x029A (0x000534) 0x1028- f:00010 d: 40 | A = 40 (0x0028)
0x029B (0x000536) 0x292D- f:00024 d: 301 | OR[301] = A
0x029C (0x000538) 0x1800-0x014C f:00014 d: 0 | A = 332 (0x014C)
0x029E (0x00053C) 0x292E- f:00024 d: 302 | OR[302] = A
0x029F (0x00053E) 0x1800-0x0001 f:00014 d: 0 | A = 1 (0x0001)
0x02A1 (0x000542) 0x292F- f:00024 d: 303 | OR[303] = A
0x02A2 (0x000544) 0x1800-0x020B f:00014 d: 0 | A = 523 (0x020B)
0x02A4 (0x000548) 0x2930- f:00024 d: 304 | OR[304] = A
0x02A5 (0x00054A) 0x211E- f:00020 d: 286 | A = OR[286]
0x02A6 (0x00054C) 0x2931- f:00024 d: 305 | OR[305] = A
0x02A7 (0x00054E) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x02A8 (0x000550) 0x2932- f:00024 d: 306 | OR[306] = A
0x02A9 (0x000552) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x02AA (0x000554) 0x2933- f:00024 d: 307 | OR[307] = A
0x02AB (0x000556) 0x1014- f:00010 d: 20 | A = 20 (0x0014)
0x02AC (0x000558) 0x2934- f:00024 d: 308 | OR[308] = A
0x02AD (0x00055A) 0x112D- f:00010 d: 301 | A = 301 (0x012D)
0x02AE (0x00055C) 0x5800- f:00054 d: 0 | B = A
0x02AF (0x00055E) 0x1800-0x2B18 f:00014 d: 0 | A = 11032 (0x2B18)
0x02B1 (0x000562) 0x7C09- f:00076 d: 9 | R = OR[9]
0x02B2 (0x000564) 0x8645- f:00103 d: 69 | P = P + 69 (0x02F7), A # 0
0x02B3 (0x000566) 0x2119- f:00020 d: 281 | A = OR[281]
0x02B4 (0x000568) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x02B5 (0x00056A) 0x2908- f:00024 d: 264 | OR[264] = A
0x02B6 (0x00056C) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02B7 (0x00056E) 0x0808- f:00004 d: 8 | A = A > 8 (0x0008)
0x02B8 (0x000570) 0x2913- f:00024 d: 275 | OR[275] = A
0x02B9 (0x000572) 0x2113- f:00020 d: 275 | A = OR[275]
0x02BA (0x000574) 0x271B- f:00023 d: 283 | A = A - OR[283]
0x02BB (0x000576) 0x863C- f:00103 d: 60 | P = P + 60 (0x02F7), A # 0
0x02BC (0x000578) 0x2119- f:00020 d: 281 | A = OR[281]
0x02BD (0x00057A) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x02BE (0x00057C) 0x2908- f:00024 d: 264 | OR[264] = A
0x02BF (0x00057E) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02C0 (0x000580) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x02C1 (0x000582) 0x2914- f:00024 d: 276 | OR[276] = A
0x02C2 (0x000584) 0x2114- f:00020 d: 276 | A = OR[276]
0x02C3 (0x000586) 0x271A- f:00023 d: 282 | A = A - OR[282]
0x02C4 (0x000588) 0x8633- f:00103 d: 51 | P = P + 51 (0x02F7), A # 0
0x02C5 (0x00058A) 0x2113- f:00020 d: 275 | A = OR[275]
0x02C6 (0x00058C) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x02C7 (0x00058E) 0x2913- f:00024 d: 275 | OR[275] = A
0x02C8 (0x000590) 0x2119- f:00020 d: 281 | A = OR[281]
0x02C9 (0x000592) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x02CA (0x000594) 0x2908- f:00024 d: 264 | OR[264] = A
0x02CB (0x000596) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02CC (0x000598) 0x1A00-0xFF00 f:00015 d: 0 | A = A & 65280 (0xFF00)
0x02CE (0x00059C) 0x2513- f:00022 d: 275 | A = A + OR[275]
0x02CF (0x00059E) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x02D0 (0x0005A0) 0x2114- f:00020 d: 276 | A = OR[276]
0x02D1 (0x0005A2) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x02D2 (0x0005A4) 0x2914- f:00024 d: 276 | OR[276] = A
0x02D3 (0x0005A6) 0x2119- f:00020 d: 281 | A = OR[281]
0x02D4 (0x0005A8) 0x1401- f:00012 d: 1 | A = A + 1 (0x0001)
0x02D5 (0x0005AA) 0x2908- f:00024 d: 264 | OR[264] = A
0x02D6 (0x0005AC) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02D7 (0x0005AE) 0x0A09- f:00005 d: 9 | A = A < 9 (0x0009)
0x02D8 (0x0005B0) 0x2514- f:00022 d: 276 | A = A + OR[276]
0x02D9 (0x0005B2) 0x0C09- f:00006 d: 9 | A = A >> 9 (0x0009)
0x02DA (0x0005B4) 0x3908- f:00034 d: 264 | (OR[264]) = A
0x02DB (0x0005B6) 0x2119- f:00020 d: 281 | A = OR[281]
0x02DC (0x0005B8) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x02DD (0x0005BA) 0x2908- f:00024 d: 264 | OR[264] = A
0x02DE (0x0005BC) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02DF (0x0005BE) 0x0808- f:00004 d: 8 | A = A > 8 (0x0008)
0x02E0 (0x0005C0) 0x2913- f:00024 d: 275 | OR[275] = A
0x02E1 (0x0005C2) 0x2113- f:00020 d: 275 | A = OR[275]
0x02E2 (0x0005C4) 0x271C- f:00023 d: 284 | A = A - OR[284]
0x02E3 (0x0005C6) 0x8614- f:00103 d: 20 | P = P + 20 (0x02F7), A # 0
0x02E4 (0x0005C8) 0x2119- f:00020 d: 281 | A = OR[281]
0x02E5 (0x0005CA) 0x1402- f:00012 d: 2 | A = A + 2 (0x0002)
0x02E6 (0x0005CC) 0x2908- f:00024 d: 264 | OR[264] = A
0x02E7 (0x0005CE) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02E8 (0x0005D0) 0x12FF- f:00011 d: 255 | A = A & 255 (0x00FF)
0x02E9 (0x0005D2) 0x2913- f:00024 d: 275 | OR[275] = A
0x02EA (0x0005D4) 0x2113- f:00020 d: 275 | A = OR[275]
0x02EB (0x0005D6) 0x1601- f:00013 d: 1 | A = A - 1 (0x0001)
0x02EC (0x0005D8) 0x860B- f:00103 d: 11 | P = P + 11 (0x02F7), A # 0
0x02ED (0x0005DA) 0x2119- f:00020 d: 281 | A = OR[281]
0x02EE (0x0005DC) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003)
0x02EF (0x0005DE) 0x2908- f:00024 d: 264 | OR[264] = A
0x02F0 (0x0005E0) 0x3108- f:00030 d: 264 | A = (OR[264])
0x02F1 (0x0005E2) 0x2913- f:00024 d: 275 | OR[275] = A
0x02F2 (0x0005E4) 0x2113- f:00020 d: 275 | A = OR[275]
0x02F3 (0x0005E6) 0x1E00-0x0200 f:00017 d: 0 | A = A - 512 (0x0200)
0x02F5 (0x0005EA) 0x8602- f:00103 d: 2 | P = P + 2 (0x02F7), A # 0
0x02F6 (0x0005EC) 0x7007- f:00070 d: 7 | P = P + 7 (0x02FD)
0x02F7 (0x0005EE) 0x2F1F- f:00027 d: 287 | OR[287] = OR[287] - 1
0x02F8 (0x0005F0) 0x733E- f:00071 d: 318 | P = P - 318 (0x01BA)
0x02F9 (0x0005F2) 0x1800-0x003E f:00014 d: 0 | A = 62 (0x003E)
0x02FB (0x0005F6) 0x291D- f:00024 d: 285 | OR[285] = A
0x02FC (0x0005F8) 0x7018- f:00070 d: 24 | P = P + 24 (0x0314)
0x02FD (0x0005FA) 0x2100- f:00020 d: 256 | A = OR[256]
0x02FE (0x0005FC) 0x141D- f:00012 d: 29 | A = A + 29 (0x001D)
0x02FF (0x0005FE) 0x2913- f:00024 d: 275 | OR[275] = A
0x0300 (0x000600) 0x100F- f:00010 d: 15 | A = 15 (0x000F)
0x0301 (0x000602) 0x1600- f:00013 d: 0 | A = A - 0 (0x0000)
0x0302 (0x000604) 0x120F- f:00011 d: 15 | A = A & 15 (0x000F)
0x0303 (0x000606) 0x5800- f:00054 d: 0 | B = A
0x0304 (0x000608) 0x1001- f:00010 d: 1 | A = 1 (0x0001)
0x0305 (0x00060A) 0x1201- f:00011 d: 1 | A = A & 1 (0x0001)
0x0306 (0x00060C) 0x290D- f:00024 d: 269 | OR[269] = A
0x0307 (0x00060E) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0308 (0x000610) 0x0804- f:00004 d: 4 | A = A > 4 (0x0004)
0x0309 (0x000612) 0x2513- f:00022 d: 275 | A = A + OR[275]
0x030A (0x000614) 0x290E- f:00024 d: 270 | OR[270] = A
0x030B (0x000616) 0x310E- f:00030 d: 270 | A = (OR[270])
0x030C (0x000618) 0x4C00- f:00046 d: 0 | A = A >> B
0x030D (0x00061A) 0x0801- f:00004 d: 1 | A = A > 1 (0x0001)
0x030E (0x00061C) 0x0A01- f:00005 d: 1 | A = A < 1 (0x0001)
0x030F (0x00061E) 0x250D- f:00022 d: 269 | A = A + OR[269]
0x0310 (0x000620) 0x4E00- f:00047 d: 0 | A = A << B
0x0311 (0x000622) 0x390E- f:00034 d: 270 | (OR[270]) = A
0x0312 (0x000624) 0x1000- f:00010 d: 0 | A = 0 (0x0000)
0x0313 (0x000626) 0x291D- f:00024 d: 285 | OR[285] = A
0x0314 (0x000628) 0x2F04- f:00027 d: 260 | OR[260] = OR[260] - 1
0x0315 (0x00062A) 0x3104- f:00030 d: 260 | A = (OR[260])
0x0316 (0x00062C) 0x2904- f:00024 d: 260 | OR[260] = A
0x0317 (0x00062E) 0x2104- f:00020 d: 260 | A = OR[260]
0x0318 (0x000630) 0x2706- f:00023 d: 262 | A = A - OR[262]
0x0319 (0x000632) 0x8007- f:00100 d: 7 | P = P + 7 (0x0320), C = 0
0x031A (0x000634) 0x2104- f:00020 d: 260 | A = OR[260]
0x031B (0x000636) 0x2705- f:00023 d: 261 | A = A - OR[261]
0x031C (0x000638) 0x8003- f:00100 d: 3 | P = P + 3 (0x031F), C = 0
0x031D (0x00063A) 0x8402- f:00102 d: 2 | P = P + 2 (0x031F), A = 0
0x031E (0x00063C) 0x7002- f:00070 d: 2 | P = P + 2 (0x0320)
0x031F (0x00063E) 0x7003- f:00070 d: 3 | P = P + 3 (0x0322)
0x0320 (0x000640) 0x7C34- f:00076 d: 52 | R = OR[52]
0x0321 (0x000642) 0x000B- f:00000 d: 11 | PASS | **** non-standard encoding with D:0x000B ****
0x0322 (0x000644) 0x0200- f:00001 d: 0 | EXIT
0x0323 (0x000646) 0x0000- f:00000 d: 0 | PASS
0x0324 (0x000648) 0x0000- f:00000 d: 0 | PASS
0x0325 (0x00064A) 0x0000- f:00000 d: 0 | PASS
0x0326 (0x00064C) 0x0000- f:00000 d: 0 | PASS
0x0327 (0x00064E) 0x0000- f:00000 d: 0 | PASS
| 80.14433 | 127 | 0.461731 |
403e55a6f1fdcbe049ddacee451f8d1c16ab4ac7 | 3,051 | asm | Assembly | 248b/gol249/gol249.asm | 42Bastian/lynx_hacking | a40edd223a4759d64f20a940ef5eb826a0fdd02d | [
"Apache-2.0"
] | 12 | 2020-07-05T16:47:54.000Z | 2022-02-12T21:21:16.000Z | 248b/gol249/gol249.asm | 42Bastian/lynx_hacking | a40edd223a4759d64f20a940ef5eb826a0fdd02d | [
"Apache-2.0"
] | null | null | null | 248b/gol249/gol249.asm | 42Bastian/lynx_hacking | a40edd223a4759d64f20a940ef5eb826a0fdd02d | [
"Apache-2.0"
] | 1 | 2021-01-18T06:47:25.000Z | 2021-01-18T06:47:25.000Z | ***************
* Game of Live
* 11/14 Bytes free!
****************
//->CLEAR_PAST EQU 0 ; if not defined, dead cells become zombies :-)
include <includes/hardware.inc>
* macros
include <macros/help.mac>
*
* vars only for this program
*
BEGIN_ZP
screen ds 2
pf1 ds 2
pf2 ds 2
x ds 1
y ds 1
temp ds 2
ptr ds 2
N ds 1
END_ZP
playfield1 equ $900
playfield2 equ $a00
;;; ROM sets this address
screen0 equ $2000
IFD LNX
;; BLL loader is at $200, so move up
run $200
ELSE
run $400
ENDIF
IFND LNX
;; Setup needed if loaded via BLL/Handy
lda #8
sta $fff9
cli
stz screen
stz $fd94
lda #$20
sta $fd95
ldx #31
.init
stz $fda0,x
dex
bpl .init
ldx #0
.init2
stz playfield1,x
dex
bne .init2
lda #0
stz ptr
ENDIF
Start::
IF 0
inc
sta playfield1+8*16+8
sta playfield1+9*16+8+1
sta playfield1+9*16+8
sta playfield1+9*16+8-1
sta playfield1+10*16+8
ELSE
.1
lda $fe12,x
lsr
and #1
sta playfield1,x
dex
bne .1
ENDIF
ldx #10
stx pf2+1
dex
stx pf1+1
.mloop
ldy SUZY_addr,x
lda SUZY_data,x
sta $fc00,y
lda pal,x
sta $fda0,x
stz $fdb0,x
dex
bpl .mloop
.outer:
lda #15
sta y
.ly
lda #15
sta x
.lx
dec ptr
stz N
ldx x
;; X for sprite
txa
asl
adc x
asl
sta plot_x
ldy y
;; Y for sprite
tya
asl
adc y
asl
sta plot_y
jsr cell_dex ;x-1,y
iny
jsr cell ;x-1,y+1
jsr cell_inx ;x ,y+1
jsr cell_inx ;x+1,y+1
dey
jsr cell ;x+1,y
dey
jsr cell ;x+1,y-1
jsr cell_dex ;x ,y-1
jsr cell_dex ;x-1,y-1
ldx #1
ldy ptr
lda N
sta plot_color
ora (pf1),y
cmp #3
beq .done
dex
IFD CLEAR_PAST
stz plot_color
ENDIF
.done
txa
sta (pf2),y
;;; ----------------------------------------
lda #<plot_SCB
sta $fc10
lda #>plot_SCB
sta $fc11
lda #1
STA $FC91
STZ $FD90
STZ $FD91
;;; ----------------------------------------
dec x
bpl .lx
dec y
bpl .ly
lda pf1+1
ldx pf2+1
sta pf2+1
stx pf1+1
lsr ; A == 10 || A == 9 => DELAY = 5/4
;;;------------------------------
waitVBL
;;;------------------------------
.v1
ldx $fd0a
bne .v1
.v2
ldx $fd0a
beq .v2
dec
bpl waitVBL
jmp .outer
;;;----------------------------------------
;;; check one cell
;;;----------------------------------------
cell_dex:
dex
dex
cell_inx:
inx
cell::
phy
txa
and #$f
sta temp
tya
asl
asl
asl
asl
ora temp
tay
lda (pf1),y
beq .9
inc N
.9
ply
rts
pal: db 0
****************
SUZY_addr db $92,$83,$04,$06,$28,$09,$2a,$ff,$08,$90
SUZY_data db $24,$f3,$00,$00,$7f,$21,$7f,$00,$00 ;
;; must be at end
plot_SCB:
dc.b SPRCTL0_16_COL |SPRCTL0_BACKGROUND_NON_COLLIDABLE // 0
dc.b SPRCTL1_LITERAL|SPRCTL1_DEPTH_SIZE_RELOAD // 1
dc.b 0 // 2
dc.w 0 // 3
dc.w plot_data // 5
plot_x dc.w 0 // 7
plot_y dc.w 0 // 9
dc.w $580,$580 // 11
plot_color:
dc.b $0f // 15
plot_data:
dc.b 2,$10 // 16
End:
IFND LNX
dc.b 0
ENDIF
size set End-Start
free set 249-size
echo "Size:%dsize Free:%dfree"
; fill remaining space
IF free > 0
REPT free
dc.b 0 ; unused space shall not be 0!
ENDR
ENDIF
| 12.7125 | 69 | 0.564077 |
27b64cf261763098799cee30ec26ccc68786e6fa | 2,383 | asm | Assembly | src/x86/cdef16_avx2.asm | RReverser/rav1e | 218308a157699a7d7c582980dd132caa014f847d | [
"BSD-2-Clause"
] | null | null | null | src/x86/cdef16_avx2.asm | RReverser/rav1e | 218308a157699a7d7c582980dd132caa014f847d | [
"BSD-2-Clause"
] | 1 | 2018-07-15T21:31:41.000Z | 2018-07-15T21:39:22.000Z | src/x86/cdef16_avx2.asm | RReverser/rav1e | 218308a157699a7d7c582980dd132caa014f847d | [
"BSD-2-Clause"
] | null | null | null | ; Copyright (c) 2017-2021, The rav1e contributors
; Copyright (c) 2021, Nathan Egge
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this
; list of conditions and the following disclaimer.
;
; 2. Redistributions in binary form must reproduce the above copyright notice,
; this list of conditions and the following disclaimer in the documentation
; and/or other materials provided with the distribution.
;
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%include "config.asm"
%include "ext/x86/x86inc.asm"
%if ARCH_X86_64
SECTION .text
cextern cdef_dir_8bpc_avx2
INIT_YMM avx2
cglobal cdef_dir_16bpc, 4, 4, 3, 32 + 8*8, src, ss, var, bdmax
popcnt bdmaxd, bdmaxd
movzx bdmaxq, bdmaxw
sub bdmaxq, 8
movq xm2, bdmaxq
DEFINE_ARGS src, ss, var, ss3
lea ss3q, [ssq*3]
mova xm0, [srcq + ssq*0]
mova xm1, [srcq + ssq*1]
vinserti128 m0, [srcq + ssq*2], 1
vinserti128 m1, [srcq + ss3q], 1
psraw m0, xm2
psraw m1, xm2
vpackuswb m0, m1
mova [rsp + 32 + 0*8], m0
lea srcq, [srcq + ssq*4]
mova xm0, [srcq + ssq*0]
mova xm1, [srcq + ssq*1]
vinserti128 m0, [srcq + ssq*2], 1
vinserti128 m1, [srcq + ss3q], 1
psraw m0, xm2
psraw m1, xm2
vpackuswb m0, m1
mova [rsp + 32 + 4*8], m0
lea srcq, [rsp + 32] ; WIN64 shadow space
mov ssq, 8
call mangle(private_prefix %+ _cdef_dir_8bpc %+ SUFFIX)
RET
%endif ; ARCH_X86_64
| 36.106061 | 81 | 0.702476 |
11cd20db6dd7552a9cd2c11897db57b96a5de60f | 155 | asm | Assembly | 8088/xtserver/testcases/indirect_call.asm | reenigne/reenigne | c3eb8b31d7964e78bbe44908987d4be052a74488 | [
"Unlicense"
] | 92 | 2015-04-10T17:45:11.000Z | 2022-03-30T17:58:51.000Z | 8088/xtserver/testcases/indirect_call.asm | MS-DOS-stuff/reenigne | 0a113990aef398550c6f14d1c7a33af1cb091887 | [
"Unlicense"
] | 2 | 2017-11-05T07:21:35.000Z | 2018-11-04T23:36:13.000Z | 8088/xtserver/testcases/indirect_call.asm | MS-DOS-stuff/reenigne | 0a113990aef398550c6f14d1c7a33af1cb091887 | [
"Unlicense"
] | 18 | 2015-04-11T20:32:44.000Z | 2021-11-06T05:19:57.000Z | org 0
cpu 8086
mov ax,cs
mov ds,ax
mov bx,foo
call [bx]
mov ax,0x1234
int 0x63
int 0x67
bar:
mov ax,0x5678
int 0x63
ret
foo: dw bar
| 8.611111 | 15 | 0.619355 |
0d6630bb2ecf0d6f7da91bb03977beb1b46d7785 | 69 | asm | Assembly | src/main/fragment/mos6502-common/vdsm1=vdsm2_rol_16.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | 2 | 2022-03-01T02:21:14.000Z | 2022-03-01T04:33:35.000Z | src/main/fragment/mos6502-common/vdsm1=vdsm2_rol_16.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | src/main/fragment/mos6502-common/vdsm1=vdsm2_rol_16.asm | jbrandwood/kickc | d4b68806f84f8650d51b0e3ef254e40f38b0ffad | [
"MIT"
] | null | null | null | lda {m2}+1
sta {m1}+3
lda {m2}
sta {m1}+2
lda #0
sta {m1}
sta {m1}+1
| 8.625 | 10 | 0.550725 |
07559b458b7345dea18f81c2f58539b49efc6606 | 4,666 | asm | Assembly | kernel/error.asm | iocoder/upcr | 3de4cb76177b4fee5403c8630acf8c7ffac515d1 | [
"MIT"
] | null | null | null | kernel/error.asm | iocoder/upcr | 3de4cb76177b4fee5403c8630acf8c7ffac515d1 | [
"MIT"
] | null | null | null | kernel/error.asm | iocoder/upcr | 3de4cb76177b4fee5403c8630acf8c7ffac515d1 | [
"MIT"
] | null | null | null | ;###############################################################################
;# FILE NAME: KERNEL/ERROR.ASM
;# DESCRIPTION: KERNEL PANIC PROCEDURE
;# AUTHOR: RAMSES A.
;###############################################################################
;#
;# UPCR OPERATING SYSTEM FOR X86_64 ARCHITECTURE
;# COPYRIGHT (C) 2021 RAMSES A.
;#
;# PERMISSION IS HEREBY GRANTED, FREE OF CHARGE, TO ANY PERSON OBTAINING A COPY
;# OF THIS SOFTWARE AND ASSOCIATED DOCUMENTATION FILES (THE "SOFTWARE"), TO DEAL
;# IN THE SOFTWARE WITHOUT RESTRICTION, INCLUDING WITHOUT LIMITATION THE RIGHTS
;# TO USE, COPY, MODIFY, MERGE, PUBLISH, DISTRIBUTE, SUBLICENSE, AND/OR SELL
;# COPIES OF THE SOFTWARE, AND TO PERMIT PERSONS TO WHOM THE SOFTWARE IS
;# FURNISHED TO DO SO, SUBJECT TO THE FOLLOWING CONDITIONS:
;#
;# THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN ALL
;# COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE.
;#
;###############################################################################
;#
;# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
;# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
;# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
;# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
;# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
;# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
;# SOFTWARE.
;#
;###############################################################################
;###############################################################################
;# INCLUDES #
;###############################################################################
;# COMMON DEFINITIONS USED BY KERNEL
INCLUDE "kernel/macro.inc"
;###############################################################################
;# GLOBALS #
;###############################################################################
;# GLOBAL SYMBOLS
PUBLIC KERRPANIC
;###############################################################################
;# TEXT SECTION #
;###############################################################################
;# TEXT SECTION
SEGMENT ".text"
;#-----------------------------------------------------------------------------#
;# KERRPANIC() #
;#-----------------------------------------------------------------------------#
KERRPANIC: ;# SEND INIT IPI TO ALL CPU CORES
CALL KIRQIIPI
;# SET PANIC COLOUR
MOV RDI, 0x0A
MOV RSI, 0x01
CALL KCONATT
;# CLEAR SCREEN
;#CALL KLOGCLR
;# PRINT PANIC HEADING
LEA RDI, [RIP+KERRHDR]
CALL KCONSTR
;# DUMP ALL CPU REGISTERS
MOV RDI, RSP
CALL KREGDUMP
;# HALT FOREVER
JMP .
;###############################################################################
;# DATA SECTION #
;###############################################################################
;# DATA SECTION
SEGMENT ".data"
;#-----------------------------------------------------------------------------#
;# LOGGING STRINGS #
;#-----------------------------------------------------------------------------#
;# PANIC HEADER
KERRHDR: DB "\n"
DB "\n"
DB " "
DB "================================================"
DB "================================================"
DB "\n"
DB " "
DB "KERNEL PANIC !!!"
DB "\n"
DB " "
DB "================================================"
DB "================================================"
DB "\n"
DB "\n"
DB " "
DB "KERNEL HAS PANICKED DUE TO AN EXCEPTION SIGNAL "
DB "WHILST IN KERNEL MODE."
DB "\n"
DB "\0"
| 42.418182 | 81 | 0.316545 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.