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
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cb9391e75c730f596c489bbaf7fa808305ab9c3e
| 5,827
|
asm
|
Assembly
|
Source/Levels/L0313.asm
|
AbePralle/FGB
|
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
|
[
"MIT"
] | null | null | null |
Source/Levels/L0313.asm
|
AbePralle/FGB
|
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
|
[
"MIT"
] | null | null | null |
Source/Levels/L0313.asm
|
AbePralle/FGB
|
52f004b8d9d4091a2a242a012dc8c1f90d4c160d
|
[
"MIT"
] | null | null | null |
; L0313.asm ba ships quarters
; Generated 07.28.2000 by mlevel
; Modified 07.28.2000 by Abe Pralle
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
;---------------------------------------------------------------------
SECTION "Level0313Section",ROMX
;---------------------------------------------------------------------
L0313_Contents::
DW L0313_Load
DW L0313_Init
DW L0313_Check
DW L0313_Map
dialog:
intercom_gtx:
INCBIN "Data/Dialog/Intro/intercom.gtx"
;---------------------------------------------------------------------
; Load
;---------------------------------------------------------------------
L0313_Load:
DW ((L0313_LoadFinished - L0313_Load2)) ;size
L0313_Load2:
call ParseMap
ret
L0313_LoadFinished:
;---------------------------------------------------------------------
; Map
;---------------------------------------------------------------------
L0313_Map:
INCBIN "Data/Levels/L0313_intro_ba4.lvl"
;---------------------------------------------------------------------
; Init
;---------------------------------------------------------------------
VAR_LIGHT EQU 00
LIGHT_INDEX EQU 44
STATE_INITIALDRAW EQU 1
STATE_INIT EQU 2
STATE_NORMAL EQU 3
L0313_Init:
DW ((L0313_InitFinished - L0313_Init2)) ;size
L0313_Init2:
call State0To1
ld hl,$0313
call SetJoinMap
ld hl,$0313
call SetRespawnMap
call SetPressBDialog
ld a,BANK(dialog)
ld [dialogBank],a
ld a,STATE_INITIALDRAW
ldio [mapState],a
xor a
ld [musicEnabled],a
;ld a,STATE_INITIALDRAW
;ldio [mapState],a
ld a,[bgTileMap + LIGHT_INDEX]
ld [levelVars+VAR_LIGHT],a
;adjust palette 7 for text box
ld a,FADEBANK
ldio [$ff70],a
ld hl,gamePalette + 58
xor a
ld [hl+],a
ld a,$02
ld [hl+],a
ld a,$f0
ld [hl+],a
ld a,$43
ld [hl+],a
ret
L0313_InitFinished:
;---------------------------------------------------------------------
; Check
;---------------------------------------------------------------------
L0313_Check:
DW ((L0313_CheckFinished - L0313_Check2)) ;size
L0313_Check2:
ldio a,[mapState]
cp STATE_INITIALDRAW
jr nz,.checkInit
ld a,STATE_INIT
ldio [mapState],a
ret
.checkInit
cp STATE_INIT
jr nz,.checkStateNormal
;just loaded level
call GfxShowStandardTextBox
ld a,20
call Delay
;adjust palette 7 for text box to black
ld a,FADEBANK
ldio [$ff70],a
ld hl,gamePalette + 58
xor a
ld [hl+],a
ld [hl+],a
ld [hl+],a
ld [hl+],a
ld a,120
call SetupFadeToGamePalette
ld de,((.afterBAQuartersText-L0313_Check2)+levelCheckRAM)
call SetDialogForward
ld de,((.afterShowAlarmText-L0313_Check2)+levelCheckRAM)
call SetDialogSkip
call WaitFade
call ClearDialog
.afterBAQuartersText
ld de,((.afterShowAlarmText-L0313_Check2)+levelCheckRAM)
call SetDialogForward
call SetSpeakerToFirstHero
ld a,BANK(intercom_gtx)
ld c,0
ld de,intercom_gtx
call ShowDialogAtTop
.afterShowAlarmText
ld de,0
call SetDialogSkip
call SetDialogForward
call ClearDialog
ld a,10
call Delay
call ((.alterGamePalette - L0313_Check2) + levelCheckRAM)
ld hl,musicEnabled
res 3,[hl]
ld a,STATE_NORMAL
ldio [mapState],a
call MakeNonIdle
.checkStateNormal
;make the light flash
ld hl,levelVars+VAR_LIGHT
ldio a,[updateTimer]
rrca
rrca
and %11
push af
add [hl]
ld [bgTileMap+LIGHT_INDEX],a
pop af
cp 3
jr nz,.afterRedFlash
ld a,30
call SetupFadeToBlack
ld a,[updateTimer]
bit 4,a
jr z,.afterRedFlash
ld hl,((.klaxonSound - L0313_Check2) + levelCheckRAM)
call PlaySound
.afterRedFlash
ret
.klaxonSound
DB 4,$00,$f7,$5a,$c0
.alterGamePalette
;alter game palette to halve green and blue
ld a,FADEBANK
ldio [$ff70],a
ld hl,gamePalette+2
ld d,64
.halveGB
ld a,[hl+]
ld c,a
ld a,[hl-]
ld b,a
call GetRedComponent ;highest component so far
ld e,a
call GetGreenComponent
cp e
jr c,.afterGreenHighestCheck
ld e,a
.afterGreenHighestCheck
srl a
srl a
call SetGreenComponent
call GetBlueComponent
cp e
jr c,.afterBlueHighestCheck
ld e,a
.afterBlueHighestCheck
srl a
srl a
call SetBlueComponent
ld a,e
call SetRedComponent
ld a,c
ld [hl+],a
ld a,b
ld [hl+],a
dec d
jr nz,.halveGB
ret
L0313_CheckFinished:
PRINT "0313 Script Sizes (Load/Init/Check) (of $500): "
PRINT (L0313_LoadFinished - L0313_Load2)
PRINT " / "
PRINT (L0313_InitFinished - L0313_Init2)
PRINT " / "
PRINT (L0313_CheckFinished - L0313_Check2)
PRINT "\n"
| 24.279167
| 70
| 0.458555
|
00307930f84df7476e6dd4bf272aa912fb789677
| 13,628
|
asm
|
Assembly
|
P6/data_P6_2/b_cp1_test0.asm
|
alxzzhou/BUAA_CO_2020
|
b54bf367081a5a11701ebc3fc78a23494aecca9e
|
[
"Apache-2.0"
] | 1
|
2022-01-23T09:24:47.000Z
|
2022-01-23T09:24:47.000Z
|
P6/data_P6_2/b_cp1_test0.asm
|
alxzzhou/BUAA_CO_2020
|
b54bf367081a5a11701ebc3fc78a23494aecca9e
|
[
"Apache-2.0"
] | null | null | null |
P6/data_P6_2/b_cp1_test0.asm
|
alxzzhou/BUAA_CO_2020
|
b54bf367081a5a11701ebc3fc78a23494aecca9e
|
[
"Apache-2.0"
] | null | null | null |
lui $1,12172
ori $1,$1,64378
lui $2,40268
ori $2,$2,65345
lui $3,22075
ori $3,$3,59710
lui $4,52131
ori $4,$4,53110
lui $5,29493
ori $5,$5,26784
lui $6,60439
ori $6,$6,39004
mthi $1
mtlo $2
sec0:
nop
nop
nop
bgez $4,yes0
nop
no0:addiu $k1,$k1,1
yes0:addiu $k0,$k0,1
sec1:
nop
nop
subu $4,$4,$3
bgez $4,yes1
nop
no1:addiu $k1,$k1,1
yes1:addiu $k0,$k0,1
sec2:
nop
nop
sltiu $4,$5,-12858
bgez $4,yes2
nop
no2:addiu $k1,$k1,1
yes2:addiu $k0,$k0,1
sec3:
nop
nop
mfhi $4
bgez $4,yes3
nop
no3:addiu $k1,$k1,1
yes3:addiu $k0,$k0,1
sec4:
nop
nop
lhu $4,8($0)
bgez $4,yes4
nop
no4:addiu $k1,$k1,1
yes4:addiu $k0,$k0,1
sec5:
nop
sltu $4,$0,$3
nop
bgez $4,yes5
nop
no5:addiu $k1,$k1,1
yes5:addiu $k0,$k0,1
sec6:
nop
addu $4,$5,$6
subu $4,$3,$2
bgez $4,yes6
nop
no6:addiu $k1,$k1,1
yes6:addiu $k0,$k0,1
sec7:
nop
or $4,$3,$0
andi $4,$3,41912
bgez $4,yes7
nop
no7:addiu $k1,$k1,1
yes7:addiu $k0,$k0,1
sec8:
nop
xor $4,$2,$4
mfhi $4
bgez $4,yes8
nop
no8:addiu $k1,$k1,1
yes8:addiu $k0,$k0,1
sec9:
nop
and $4,$1,$3
lbu $4,6($0)
bgez $4,yes9
nop
no9:addiu $k1,$k1,1
yes9:addiu $k0,$k0,1
sec10:
nop
andi $4,$5,17518
nop
bgez $4,yes10
nop
no10:addiu $k1,$k1,1
yes10:addiu $k0,$k0,1
sec11:
nop
addiu $4,$2,-13656
nor $4,$2,$2
bgez $4,yes11
nop
no11:addiu $k1,$k1,1
yes11:addiu $k0,$k0,1
sec12:
nop
ori $4,$5,4923
xori $4,$1,13504
bgez $4,yes12
nop
no12:addiu $k1,$k1,1
yes12:addiu $k0,$k0,1
sec13:
nop
sltiu $4,$0,-29575
mflo $4
bgez $4,yes13
nop
no13:addiu $k1,$k1,1
yes13:addiu $k0,$k0,1
sec14:
nop
ori $4,$0,15411
lw $4,12($0)
bgez $4,yes14
nop
no14:addiu $k1,$k1,1
yes14:addiu $k0,$k0,1
sec15:
nop
mfhi $4
nop
bgez $4,yes15
nop
no15:addiu $k1,$k1,1
yes15:addiu $k0,$k0,1
sec16:
nop
mflo $4
or $4,$4,$4
bgez $4,yes16
nop
no16:addiu $k1,$k1,1
yes16:addiu $k0,$k0,1
sec17:
nop
mfhi $4
xori $4,$3,24680
bgez $4,yes17
nop
no17:addiu $k1,$k1,1
yes17:addiu $k0,$k0,1
sec18:
nop
mfhi $4
mflo $4
bgez $4,yes18
nop
no18:addiu $k1,$k1,1
yes18:addiu $k0,$k0,1
sec19:
nop
mfhi $4
lb $4,10($0)
bgez $4,yes19
nop
no19:addiu $k1,$k1,1
yes19:addiu $k0,$k0,1
sec20:
nop
lhu $4,2($0)
nop
bgez $4,yes20
nop
no20:addiu $k1,$k1,1
yes20:addiu $k0,$k0,1
sec21:
nop
lh $4,10($0)
sltu $4,$5,$5
bgez $4,yes21
nop
no21:addiu $k1,$k1,1
yes21:addiu $k0,$k0,1
sec22:
nop
lbu $4,7($0)
addiu $4,$4,-1340
bgez $4,yes22
nop
no22:addiu $k1,$k1,1
yes22:addiu $k0,$k0,1
sec23:
nop
lw $4,16($0)
mflo $4
bgez $4,yes23
nop
no23:addiu $k1,$k1,1
yes23:addiu $k0,$k0,1
sec24:
nop
lbu $4,1($0)
lb $4,14($0)
bgez $4,yes24
nop
no24:addiu $k1,$k1,1
yes24:addiu $k0,$k0,1
sec25:
subu $4,$0,$3
nop
nop
bgez $4,yes25
nop
no25:addiu $k1,$k1,1
yes25:addiu $k0,$k0,1
sec26:
or $4,$4,$6
nop
nor $4,$2,$3
bgez $4,yes26
nop
no26:addiu $k1,$k1,1
yes26:addiu $k0,$k0,1
sec27:
nor $4,$2,$3
nop
ori $4,$3,21322
bgez $4,yes27
nop
no27:addiu $k1,$k1,1
yes27:addiu $k0,$k0,1
sec28:
addu $4,$1,$6
nop
mfhi $4
bgez $4,yes28
nop
no28:addiu $k1,$k1,1
yes28:addiu $k0,$k0,1
sec29:
sltu $4,$2,$6
nop
lh $4,12($0)
bgez $4,yes29
nop
no29:addiu $k1,$k1,1
yes29:addiu $k0,$k0,1
sec30:
addu $4,$3,$4
subu $4,$4,$4
nop
bgez $4,yes30
nop
no30:addiu $k1,$k1,1
yes30:addiu $k0,$k0,1
sec31:
xor $4,$5,$1
or $4,$5,$1
and $4,$5,$1
bgez $4,yes31
nop
no31:addiu $k1,$k1,1
yes31:addiu $k0,$k0,1
sec32:
nor $4,$6,$0
sltu $4,$3,$4
lui $4,7785
bgez $4,yes32
nop
no32:addiu $k1,$k1,1
yes32:addiu $k0,$k0,1
sec33:
sltu $4,$3,$4
and $4,$5,$2
mflo $4
bgez $4,yes33
nop
no33:addiu $k1,$k1,1
yes33:addiu $k0,$k0,1
sec34:
sltu $4,$6,$4
and $4,$3,$5
lh $4,0($0)
bgez $4,yes34
nop
no34:addiu $k1,$k1,1
yes34:addiu $k0,$k0,1
sec35:
nor $4,$2,$2
addiu $4,$3,-23384
nop
bgez $4,yes35
nop
no35:addiu $k1,$k1,1
yes35:addiu $k0,$k0,1
sec36:
nor $4,$4,$5
lui $4,14616
xor $4,$0,$4
bgez $4,yes36
nop
no36:addiu $k1,$k1,1
yes36:addiu $k0,$k0,1
sec37:
addu $4,$5,$6
andi $4,$3,14127
slti $4,$3,-11936
bgez $4,yes37
nop
no37:addiu $k1,$k1,1
yes37:addiu $k0,$k0,1
sec38:
sltu $4,$4,$4
sltiu $4,$6,-31564
mfhi $4
bgez $4,yes38
nop
no38:addiu $k1,$k1,1
yes38:addiu $k0,$k0,1
sec39:
sltu $4,$3,$5
addiu $4,$2,22834
lbu $4,11($0)
bgez $4,yes39
nop
no39:addiu $k1,$k1,1
yes39:addiu $k0,$k0,1
sec40:
sltu $4,$3,$3
mflo $4
nop
bgez $4,yes40
nop
no40:addiu $k1,$k1,1
yes40:addiu $k0,$k0,1
sec41:
addu $4,$4,$4
mflo $4
subu $4,$3,$5
bgez $4,yes41
nop
no41:addiu $k1,$k1,1
yes41:addiu $k0,$k0,1
sec42:
slt $4,$3,$6
mflo $4
xori $4,$4,30660
bgez $4,yes42
nop
no42:addiu $k1,$k1,1
yes42:addiu $k0,$k0,1
sec43:
slt $4,$5,$4
mfhi $4
mflo $4
bgez $4,yes43
nop
no43:addiu $k1,$k1,1
yes43:addiu $k0,$k0,1
sec44:
subu $4,$3,$1
mfhi $4
lhu $4,6($0)
bgez $4,yes44
nop
no44:addiu $k1,$k1,1
yes44:addiu $k0,$k0,1
sec45:
xor $4,$6,$5
lhu $4,2($0)
nop
bgez $4,yes45
nop
no45:addiu $k1,$k1,1
yes45:addiu $k0,$k0,1
sec46:
sltu $4,$1,$3
lhu $4,8($0)
slt $4,$2,$0
bgez $4,yes46
nop
no46:addiu $k1,$k1,1
yes46:addiu $k0,$k0,1
sec47:
subu $4,$2,$3
lw $4,4($0)
addiu $4,$4,-27614
bgez $4,yes47
nop
no47:addiu $k1,$k1,1
yes47:addiu $k0,$k0,1
sec48:
sltu $4,$2,$5
lhu $4,6($0)
mfhi $4
bgez $4,yes48
nop
no48:addiu $k1,$k1,1
yes48:addiu $k0,$k0,1
sec49:
addu $4,$3,$4
lw $4,8($0)
lbu $4,9($0)
bgez $4,yes49
nop
no49:addiu $k1,$k1,1
yes49:addiu $k0,$k0,1
sec50:
addiu $4,$3,21178
nop
nop
bgez $4,yes50
nop
no50:addiu $k1,$k1,1
yes50:addiu $k0,$k0,1
sec51:
slti $4,$4,30960
nop
or $4,$3,$1
bgez $4,yes51
nop
no51:addiu $k1,$k1,1
yes51:addiu $k0,$k0,1
sec52:
andi $4,$3,35263
nop
addiu $4,$4,23826
bgez $4,yes52
nop
no52:addiu $k1,$k1,1
yes52:addiu $k0,$k0,1
sec53:
ori $4,$3,48622
nop
mfhi $4
bgez $4,yes53
nop
no53:addiu $k1,$k1,1
yes53:addiu $k0,$k0,1
sec54:
ori $4,$1,17884
nop
lbu $4,9($0)
bgez $4,yes54
nop
no54:addiu $k1,$k1,1
yes54:addiu $k0,$k0,1
sec55:
ori $4,$3,30574
sltu $4,$2,$6
nop
bgez $4,yes55
nop
no55:addiu $k1,$k1,1
yes55:addiu $k0,$k0,1
sec56:
xori $4,$4,51353
nor $4,$1,$2
xor $4,$3,$6
bgez $4,yes56
nop
no56:addiu $k1,$k1,1
yes56:addiu $k0,$k0,1
sec57:
lui $4,20151
slt $4,$2,$3
sltiu $4,$3,15026
bgez $4,yes57
nop
no57:addiu $k1,$k1,1
yes57:addiu $k0,$k0,1
sec58:
lui $4,46201
xor $4,$3,$3
mfhi $4
bgez $4,yes58
nop
no58:addiu $k1,$k1,1
yes58:addiu $k0,$k0,1
sec59:
slti $4,$3,4260
nor $4,$3,$2
lh $4,14($0)
bgez $4,yes59
nop
no59:addiu $k1,$k1,1
yes59:addiu $k0,$k0,1
sec60:
slti $4,$4,9765
ori $4,$1,45625
nop
bgez $4,yes60
nop
no60:addiu $k1,$k1,1
yes60:addiu $k0,$k0,1
sec61:
addiu $4,$3,25335
ori $4,$1,17981
sltu $4,$3,$2
bgez $4,yes61
nop
no61:addiu $k1,$k1,1
yes61:addiu $k0,$k0,1
sec62:
xori $4,$2,40621
xori $4,$4,8645
sltiu $4,$1,10312
bgez $4,yes62
nop
no62:addiu $k1,$k1,1
yes62:addiu $k0,$k0,1
sec63:
slti $4,$4,698
lui $4,33276
mfhi $4
bgez $4,yes63
nop
no63:addiu $k1,$k1,1
yes63:addiu $k0,$k0,1
sec64:
xori $4,$0,20585
sltiu $4,$3,-30941
lbu $4,1($0)
bgez $4,yes64
nop
no64:addiu $k1,$k1,1
yes64:addiu $k0,$k0,1
sec65:
andi $4,$0,20051
mflo $4
nop
bgez $4,yes65
nop
no65:addiu $k1,$k1,1
yes65:addiu $k0,$k0,1
sec66:
andi $4,$3,10765
mflo $4
subu $4,$2,$4
bgez $4,yes66
nop
no66:addiu $k1,$k1,1
yes66:addiu $k0,$k0,1
sec67:
xori $4,$4,47354
mflo $4
ori $4,$5,16150
bgez $4,yes67
nop
no67:addiu $k1,$k1,1
yes67:addiu $k0,$k0,1
sec68:
ori $4,$1,39972
mflo $4
mflo $4
bgez $4,yes68
nop
no68:addiu $k1,$k1,1
yes68:addiu $k0,$k0,1
sec69:
ori $4,$6,12589
mflo $4
lhu $4,2($0)
bgez $4,yes69
nop
no69:addiu $k1,$k1,1
yes69:addiu $k0,$k0,1
sec70:
sltiu $4,$2,7822
lb $4,0($0)
nop
bgez $4,yes70
nop
no70:addiu $k1,$k1,1
yes70:addiu $k0,$k0,1
sec71:
andi $4,$4,17713
lh $4,16($0)
or $4,$2,$1
bgez $4,yes71
nop
no71:addiu $k1,$k1,1
yes71:addiu $k0,$k0,1
sec72:
ori $4,$2,55457
lw $4,8($0)
ori $4,$4,50710
bgez $4,yes72
nop
no72:addiu $k1,$k1,1
yes72:addiu $k0,$k0,1
sec73:
addiu $4,$4,-18932
lbu $4,2($0)
mfhi $4
bgez $4,yes73
nop
no73:addiu $k1,$k1,1
yes73:addiu $k0,$k0,1
sec74:
lui $4,57595
lh $4,14($0)
lhu $4,6($0)
bgez $4,yes74
nop
no74:addiu $k1,$k1,1
yes74:addiu $k0,$k0,1
sec75:
mfhi $4
nop
nop
bgez $4,yes75
nop
no75:addiu $k1,$k1,1
yes75:addiu $k0,$k0,1
sec76:
mflo $4
nop
subu $4,$3,$2
bgez $4,yes76
nop
no76:addiu $k1,$k1,1
yes76:addiu $k0,$k0,1
sec77:
mfhi $4
nop
addiu $4,$1,17322
bgez $4,yes77
nop
no77:addiu $k1,$k1,1
yes77:addiu $k0,$k0,1
sec78:
mflo $4
nop
mfhi $4
bgez $4,yes78
nop
no78:addiu $k1,$k1,1
yes78:addiu $k0,$k0,1
sec79:
mflo $4
nop
lhu $4,12($0)
bgez $4,yes79
nop
no79:addiu $k1,$k1,1
yes79:addiu $k0,$k0,1
sec80:
mfhi $4
subu $4,$3,$6
nop
bgez $4,yes80
nop
no80:addiu $k1,$k1,1
yes80:addiu $k0,$k0,1
sec81:
mflo $4
subu $4,$4,$3
and $4,$0,$2
bgez $4,yes81
nop
no81:addiu $k1,$k1,1
yes81:addiu $k0,$k0,1
sec82:
mfhi $4
nor $4,$4,$6
xori $4,$3,17210
bgez $4,yes82
nop
no82:addiu $k1,$k1,1
yes82:addiu $k0,$k0,1
sec83:
mfhi $4
sltu $4,$3,$2
mflo $4
bgez $4,yes83
nop
no83:addiu $k1,$k1,1
yes83:addiu $k0,$k0,1
sec84:
mflo $4
addu $4,$4,$3
lb $4,15($0)
bgez $4,yes84
nop
no84:addiu $k1,$k1,1
yes84:addiu $k0,$k0,1
sec85:
mfhi $4
andi $4,$1,60386
nop
bgez $4,yes85
nop
no85:addiu $k1,$k1,1
yes85:addiu $k0,$k0,1
sec86:
mfhi $4
xori $4,$1,26279
sltu $4,$4,$4
bgez $4,yes86
nop
no86:addiu $k1,$k1,1
yes86:addiu $k0,$k0,1
sec87:
mfhi $4
addiu $4,$2,256
addiu $4,$5,21378
bgez $4,yes87
nop
no87:addiu $k1,$k1,1
yes87:addiu $k0,$k0,1
sec88:
mfhi $4
lui $4,13944
mfhi $4
bgez $4,yes88
nop
no88:addiu $k1,$k1,1
yes88:addiu $k0,$k0,1
sec89:
mflo $4
sltiu $4,$2,-11138
lw $4,16($0)
bgez $4,yes89
nop
no89:addiu $k1,$k1,1
yes89:addiu $k0,$k0,1
sec90:
mflo $4
mflo $4
nop
bgez $4,yes90
nop
no90:addiu $k1,$k1,1
yes90:addiu $k0,$k0,1
sec91:
mfhi $4
mfhi $4
nor $4,$4,$1
bgez $4,yes91
nop
no91:addiu $k1,$k1,1
yes91:addiu $k0,$k0,1
sec92:
mflo $4
mflo $4
addiu $4,$2,3161
bgez $4,yes92
nop
no92:addiu $k1,$k1,1
yes92:addiu $k0,$k0,1
sec93:
mflo $4
mflo $4
mfhi $4
bgez $4,yes93
nop
no93:addiu $k1,$k1,1
yes93:addiu $k0,$k0,1
sec94:
mfhi $4
mfhi $4
lbu $4,15($0)
bgez $4,yes94
nop
no94:addiu $k1,$k1,1
yes94:addiu $k0,$k0,1
sec95:
mfhi $4
lbu $4,14($0)
nop
bgez $4,yes95
nop
no95:addiu $k1,$k1,1
yes95:addiu $k0,$k0,1
sec96:
mflo $4
lhu $4,6($0)
slt $4,$2,$3
bgez $4,yes96
nop
no96:addiu $k1,$k1,1
yes96:addiu $k0,$k0,1
sec97:
mflo $4
lw $4,12($0)
slti $4,$1,9391
bgez $4,yes97
nop
no97:addiu $k1,$k1,1
yes97:addiu $k0,$k0,1
sec98:
mflo $4
lw $4,8($0)
mflo $4
bgez $4,yes98
nop
no98:addiu $k1,$k1,1
yes98:addiu $k0,$k0,1
sec99:
mflo $4
lw $4,8($0)
lbu $4,11($0)
bgez $4,yes99
nop
no99:addiu $k1,$k1,1
yes99:addiu $k0,$k0,1
sec100:
lhu $4,14($0)
nop
nop
bgez $4,yes100
nop
no100:addiu $k1,$k1,1
yes100:addiu $k0,$k0,1
sec101:
lhu $4,6($0)
nop
xor $4,$6,$3
bgez $4,yes101
nop
no101:addiu $k1,$k1,1
yes101:addiu $k0,$k0,1
sec102:
lbu $4,4($0)
nop
addiu $4,$4,17005
bgez $4,yes102
nop
no102:addiu $k1,$k1,1
yes102:addiu $k0,$k0,1
sec103:
lb $4,12($0)
nop
mfhi $4
bgez $4,yes103
nop
no103:addiu $k1,$k1,1
yes103:addiu $k0,$k0,1
sec104:
lbu $4,16($0)
nop
lhu $4,14($0)
bgez $4,yes104
nop
no104:addiu $k1,$k1,1
yes104:addiu $k0,$k0,1
sec105:
lh $4,2($0)
sltu $4,$3,$4
nop
bgez $4,yes105
nop
no105:addiu $k1,$k1,1
yes105:addiu $k0,$k0,1
sec106:
lhu $4,14($0)
xor $4,$0,$0
or $4,$5,$2
bgez $4,yes106
nop
no106:addiu $k1,$k1,1
yes106:addiu $k0,$k0,1
sec107:
lbu $4,11($0)
sltu $4,$3,$1
addiu $4,$3,-15642
bgez $4,yes107
nop
no107:addiu $k1,$k1,1
yes107:addiu $k0,$k0,1
sec108:
lb $4,12($0)
sltu $4,$3,$6
mfhi $4
bgez $4,yes108
nop
no108:addiu $k1,$k1,1
yes108:addiu $k0,$k0,1
sec109:
lb $4,3($0)
xor $4,$0,$3
lhu $4,14($0)
bgez $4,yes109
nop
no109:addiu $k1,$k1,1
yes109:addiu $k0,$k0,1
sec110:
lb $4,6($0)
lui $4,54222
nop
bgez $4,yes110
nop
no110:addiu $k1,$k1,1
yes110:addiu $k0,$k0,1
sec111:
lb $4,13($0)
sltiu $4,$3,-2884
subu $4,$0,$3
bgez $4,yes111
nop
no111:addiu $k1,$k1,1
yes111:addiu $k0,$k0,1
sec112:
lb $4,2($0)
lui $4,28727
sltiu $4,$5,-4633
bgez $4,yes112
nop
no112:addiu $k1,$k1,1
yes112:addiu $k0,$k0,1
sec113:
lhu $4,4($0)
slti $4,$1,11623
mfhi $4
bgez $4,yes113
nop
no113:addiu $k1,$k1,1
yes113:addiu $k0,$k0,1
sec114:
lw $4,12($0)
andi $4,$4,54302
lh $4,10($0)
bgez $4,yes114
nop
no114:addiu $k1,$k1,1
yes114:addiu $k0,$k0,1
sec115:
lh $4,4($0)
mflo $4
nop
bgez $4,yes115
nop
no115:addiu $k1,$k1,1
yes115:addiu $k0,$k0,1
sec116:
lbu $4,4($0)
mfhi $4
or $4,$4,$1
bgez $4,yes116
nop
no116:addiu $k1,$k1,1
yes116:addiu $k0,$k0,1
sec117:
lb $4,14($0)
mfhi $4
xori $4,$5,53240
bgez $4,yes117
nop
no117:addiu $k1,$k1,1
yes117:addiu $k0,$k0,1
sec118:
lb $4,14($0)
mfhi $4
mfhi $4
bgez $4,yes118
nop
no118:addiu $k1,$k1,1
yes118:addiu $k0,$k0,1
sec119:
lbu $4,11($0)
mfhi $4
lhu $4,0($0)
bgez $4,yes119
nop
no119:addiu $k1,$k1,1
yes119:addiu $k0,$k0,1
sec120:
lbu $4,9($0)
lb $4,10($0)
nop
bgez $4,yes120
nop
no120:addiu $k1,$k1,1
yes120:addiu $k0,$k0,1
sec121:
lw $4,16($0)
lbu $4,16($0)
nor $4,$1,$0
bgez $4,yes121
nop
no121:addiu $k1,$k1,1
yes121:addiu $k0,$k0,1
sec122:
lb $4,6($0)
lb $4,2($0)
addiu $4,$2,-24638
bgez $4,yes122
nop
no122:addiu $k1,$k1,1
yes122:addiu $k0,$k0,1
sec123:
lh $4,4($0)
lw $4,0($0)
mflo $4
bgez $4,yes123
nop
no123:addiu $k1,$k1,1
yes123:addiu $k0,$k0,1
sec124:
lh $4,14($0)
lhu $4,6($0)
lb $4,10($0)
bgez $4,yes124
nop
no124:addiu $k1,$k1,1
yes124:addiu $k0,$k0,1
| 11.954386
| 22
| 0.615644
|
27c001647400179b0034ac9620c9af1e3752f605
| 541
|
asm
|
Assembly
|
oeis/016/A016917.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/016/A016917.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/016/A016917.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A016917: a(n) = (6*n)^9.
; 0,10077696,5159780352,198359290368,2641807540224,19683000000000,101559956668416,406671383849472,1352605460594688,3904305912313344,10077696000000000,23762680013799936,51998697814228992,106868920913284608,208215748530929664,387420489000000000,692533995824480256,1195092568622310912,1999004627104432128,3251948521156637184,5159780352000000000,8004512848309157376,12166492167065567232,18151468971815029248,26623333280885243904,38443359375000000000,54716887507601719296,76848453272063549952
pow $0,9
mul $0,10077696
| 90.166667
| 487
| 0.900185
|
1086f7743fc85f820fc1dd25952c512715d486fd
| 723
|
asm
|
Assembly
|
programs/oeis/070/A070425.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/070/A070425.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/070/A070425.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A070425: a(n) = 7^n mod 43.
; 1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42,36,37,1,7,6,42
mov $1,1
mov $2,$0
lpb $2,1
mul $1,7
mod $1,43
sub $2,1
lpe
| 65.727273
| 625
| 0.586445
|
d8cc5dd6e389b134e687945dd53028b161b374f8
| 658
|
asm
|
Assembly
|
oeis/249/A249459.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/249/A249459.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/249/A249459.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A249459: a(n) = Sum_{k=0..n} k^(2*n).
; Submitted by Jon Maiga
; 1,1,17,794,72354,10874275,2438235715,762963987380,317685943157892,169842891165484965,113394131858832552133,92465351109879998121806,90431265068257318469676710,104479466717230437574945525959,140782828210237288756752539959687,218828356599946944452159254227754600,388649012334675298915830486957879144968,782155874107341586566315411418107016959945,1770590694853490775337687253364206970155458185,4479135654910659857092809123118020472838747284930,12588737337541434417838404533584257068424787622532266
mov $4,$0
add $0,1
mul $4,2
lpb $0
sub $0,1
mov $3,$0
pow $3,$4
add $2,$3
lpe
mov $0,$2
| 43.866667
| 495
| 0.848024
|
86c6d07f217dba0d09fd8cc343caa58644d6f84f
| 28
|
asm
|
Assembly
|
src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuz1_derefidx_vbuxx.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuz1_derefidx_vbuxx.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/main/fragment/mos6502-common/vbuaa=vbuaa_bor_pbuz1_derefidx_vbuxx.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
stx $ff
ldy $ff
ora ({z1}),y
| 9.333333
| 12
| 0.571429
|
98ab2cff5533d63f88e2990018fc724089396260
| 589
|
asm
|
Assembly
|
oeis/152/A152692.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/152/A152692.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/152/A152692.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A152692: a(n) = n*3^n - n*2^n - n*1^n.
; 0,0,8,54,256,1050,3984,14406,50432,172530,580240,1926078,6328128,20619690,66732176,214742070,687698944,2193154530,6968850192,22073006382,69714716480,219623377050,690291036688,2165100175014,6777906222336,21181376375250,66086766706064,205887508215966,640542672546112,1990265374325130,6176701750584720,19147808712809238,59296508604305408,183448715228490690,567023593673111056,1751102875874146830,5403404396790805824,16660499432725623930,51332354826213235472,158049629527263332742,486306574381812040960
sub $2,$0
seq $0,4142 ; n(3^n-2^n).
add $0,$2
| 84.142857
| 500
| 0.847199
|
c9fe5bb89ea8c21eb46ccb51a1a3d1c60206ce03
| 5,552
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1000.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_1000.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_1000.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 %r15
push %r9
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x4b08, %rbx
nop
nop
nop
nop
nop
cmp %rcx, %rcx
mov (%rbx), %r11d
nop
nop
cmp $43968, %r9
lea addresses_A_ht+0x1de80, %rsi
lea addresses_UC_ht+0x13680, %rdi
clflush (%rsi)
nop
and %r15, %r15
mov $110, %rcx
rep movsq
nop
nop
sub $27852, %r9
lea addresses_WT_ht+0x2280, %rsi
lea addresses_UC_ht+0xee80, %rdi
nop
nop
and $36427, %rdx
mov $10, %rcx
rep movsb
cmp $9177, %rsi
lea addresses_D_ht+0x14a78, %rsi
lea addresses_UC_ht+0x7fa0, %rdi
nop
add $41303, %r15
mov $91, %rcx
rep movsq
add %r15, %r15
lea addresses_D_ht+0xa680, %rsi
lea addresses_WC_ht+0x15840, %rdi
nop
nop
nop
nop
xor %r11, %r11
mov $112, %rcx
rep movsw
and $26989, %rbx
lea addresses_UC_ht+0x18680, %rsi
lea addresses_A_ht+0x7c80, %rdi
nop
nop
nop
nop
cmp %rdx, %rdx
mov $120, %rcx
rep movsb
nop
nop
nop
nop
nop
and $43994, %r15
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r14
push %rbx
push %rdi
push %rdx
push %rsi
// Faulty Load
lea addresses_normal+0xae80, %r14
nop
dec %rbx
movups (%r14), %xmm1
vpextrq $1, %xmm1, %r12
lea oracles, %r14
and $0xff, %r12
shlq $12, %r12
mov (%r14,%r12,1), %r12
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %r14
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_normal', 'same': False, 'size': 32, 'congruent': 0, 'NT': True, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_normal', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_A_ht', 'same': False, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 11, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 5, 'same': True}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 3, 'same': True}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'34': 21829}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 44.416
| 2,999
| 0.663184
|
8e881b5ff79f559cf1c0e241d6dfd78022ba05b1
| 818
|
asm
|
Assembly
|
programs/oeis/076/A076835.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/076/A076835.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/076/A076835.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A076835: Coefficients in expansion of Eisenstein series -q*E'_2.
; 24,144,288,672,720,1728,1344,2880,2808,4320,3168,8064,4368,8064,8640,11904,7344,16848,9120,20160,16128,19008,13248,34560,18600,26208,25920,37632,20880,51840,23808,48384,38016,44064,40320,78624,33744,54720,52416,86400,41328,96768,45408,88704,84240,79488,54144,142848,67032,111600,88128,122304,68688,155520,95040,161280,109440,125280,84960,241920,90768,142848,157248,195072,131040,228096,109344,205632,158976,241920,122688,336960,129648,202464,223200,255360,177408,314496,151680,357120,235224,247968,167328,451584,220320,272448,250560,380160,192240,505440,244608,370944,285696,324864,273600,580608,228144,402192,370656,520800
mov $1,$0
seq $1,203 ; a(n) = sigma(n), the sum of the divisors of n. Also called sigma_1(n).
mul $0,$1
add $0,$1
mul $0,24
| 90.888889
| 625
| 0.797066
|
33eb1b599ff2594c4081a6189a93a2a64e38b1e3
| 36,864
|
asm
|
Assembly
|
src/z80asm/dev/cpu/cpu_testold_z80_err.asm
|
Toysoft/z88dk
|
f930bef9ac4feeec91a07303b79ddd9071131a24
|
[
"ClArtistic"
] | null | null | null |
src/z80asm/dev/cpu/cpu_testold_z80_err.asm
|
Toysoft/z88dk
|
f930bef9ac4feeec91a07303b79ddd9071131a24
|
[
"ClArtistic"
] | null | null | null |
src/z80asm/dev/cpu/cpu_testold_z80_err.asm
|
Toysoft/z88dk
|
f930bef9ac4feeec91a07303b79ddd9071131a24
|
[
"ClArtistic"
] | 1
|
2019-12-03T23:28:20.000Z
|
2019-12-03T23:28:20.000Z
|
adc a',(hl) ; Error
adc a',(ix) ; Error
adc a',(ix+DIS) ; Error
adc a',(iy) ; Error
adc a',(iy+DIS) ; Error
adc a',N ; Error
adc a',a ; Error
adc a',b ; Error
adc a',c ; Error
adc a',d ; Error
adc a',e ; Error
adc a',h ; Error
adc a',l ; Error
adc hl',bc ; Error
adc hl',de ; Error
adc hl',hl ; Error
adc hl',sp ; Error
add a',(hl) ; Error
add a',(ix) ; Error
add a',(ix+DIS) ; Error
add a',(iy) ; Error
add a',(iy+DIS) ; Error
add a',N ; Error
add a',a ; Error
add a',b ; Error
add a',c ; Error
add a',d ; Error
add a',e ; Error
add a',h ; Error
add a',l ; Error
add hl',bc ; Error
add hl',de ; Error
add hl',hl ; Error
add hl',sp ; Error
add sp,SN ; Error
altd adc (hl) ; Error
altd adc (ix) ; Error
altd adc (ix+DIS) ; Error
altd adc (iy) ; Error
altd adc (iy+DIS) ; Error
altd adc N ; Error
altd adc a ; Error
altd adc a,(hl) ; Error
altd adc a,(ix) ; Error
altd adc a,(ix+DIS) ; Error
altd adc a,(iy) ; Error
altd adc a,(iy+DIS) ; Error
altd adc a,N ; Error
altd adc a,a ; Error
altd adc a,b ; Error
altd adc a,c ; Error
altd adc a,d ; Error
altd adc a,e ; Error
altd adc a,h ; Error
altd adc a,l ; Error
altd adc b ; Error
altd adc c ; Error
altd adc d ; Error
altd adc e ; Error
altd adc h ; Error
altd adc hl,bc ; Error
altd adc hl,de ; Error
altd adc hl,hl ; Error
altd adc hl,sp ; Error
altd adc l ; Error
altd add (hl) ; Error
altd add (ix) ; Error
altd add (ix+DIS) ; Error
altd add (iy) ; Error
altd add (iy+DIS) ; Error
altd add N ; Error
altd add a ; Error
altd add a,(hl) ; Error
altd add a,(ix) ; Error
altd add a,(ix+DIS) ; Error
altd add a,(iy) ; Error
altd add a,(iy+DIS) ; Error
altd add a,N ; Error
altd add a,a ; Error
altd add a,b ; Error
altd add a,c ; Error
altd add a,d ; Error
altd add a,e ; Error
altd add a,h ; Error
altd add a,l ; Error
altd add b ; Error
altd add c ; Error
altd add d ; Error
altd add e ; Error
altd add h ; Error
altd add hl,bc ; Error
altd add hl,de ; Error
altd add hl,hl ; Error
altd add hl,sp ; Error
altd add l ; Error
altd and (hl) ; Error
altd and (ix) ; Error
altd and (ix+DIS) ; Error
altd and (iy) ; Error
altd and (iy+DIS) ; Error
altd and N ; Error
altd and a ; Error
altd and a,(hl) ; Error
altd and a,(ix) ; Error
altd and a,(ix+DIS) ; Error
altd and a,(iy) ; Error
altd and a,(iy+DIS) ; Error
altd and a,N ; Error
altd and a,a ; Error
altd and a,b ; Error
altd and a,c ; Error
altd and a,d ; Error
altd and a,e ; Error
altd and a,h ; Error
altd and a,l ; Error
altd and b ; Error
altd and c ; Error
altd and d ; Error
altd and e ; Error
altd and h ; Error
altd and hl,de ; Error
altd and l ; Error
altd bool hl ; Error
altd ccf ; Error
altd ccf f ; Error
altd cp (hl) ; Error
altd cp (ix) ; Error
altd cp (ix+DIS) ; Error
altd cp (iy) ; Error
altd cp (iy+DIS) ; Error
altd cp N ; Error
altd cp a ; Error
altd cp a,(hl) ; Error
altd cp a,(ix) ; Error
altd cp a,(ix+DIS) ; Error
altd cp a,(iy) ; Error
altd cp a,(iy+DIS) ; Error
altd cp a,N ; Error
altd cp a,a ; Error
altd cp a,b ; Error
altd cp a,c ; Error
altd cp a,d ; Error
altd cp a,e ; Error
altd cp a,h ; Error
altd cp a,l ; Error
altd cp b ; Error
altd cp c ; Error
altd cp d ; Error
altd cp e ; Error
altd cp h ; Error
altd cp l ; Error
altd cpl ; Error
altd cpl a ; Error
altd dec a ; Error
altd dec b ; Error
altd dec bc ; Error
altd dec c ; Error
altd dec d ; Error
altd dec de ; Error
altd dec e ; Error
altd dec h ; Error
altd dec hl ; Error
altd dec l ; Error
altd djnz NN ; Error
altd ex (sp),hl ; Error
altd ex de',hl ; Error
altd ex de,hl ; Error
altd inc a ; Error
altd inc b ; Error
altd inc bc ; Error
altd inc c ; Error
altd inc d ; Error
altd inc de ; Error
altd inc e ; Error
altd inc h ; Error
altd inc hl ; Error
altd inc l ; Error
altd ld a,(NN) ; Error
altd ld a,(bc) ; Error
altd ld a,(de) ; Error
altd ld a,(hl) ; Error
altd ld a,(ix) ; Error
altd ld a,(ix+DIS) ; Error
altd ld a,(iy) ; Error
altd ld a,(iy+DIS) ; Error
altd ld a,N ; Error
altd ld a,a ; Error
altd ld a,b ; Error
altd ld a,c ; Error
altd ld a,d ; Error
altd ld a,e ; Error
altd ld a,eir ; Error
altd ld a,h ; Error
altd ld a,iir ; Error
altd ld a,l ; Error
altd ld a,xpc ; Error
altd ld b,(hl) ; Error
altd ld b,(ix) ; Error
altd ld b,(ix+DIS) ; Error
altd ld b,(iy) ; Error
altd ld b,(iy+DIS) ; Error
altd ld b,N ; Error
altd ld b,a ; Error
altd ld b,b ; Error
altd ld b,c ; Error
altd ld b,d ; Error
altd ld b,e ; Error
altd ld b,h ; Error
altd ld b,l ; Error
altd ld bc,(NN) ; Error
altd ld bc,NN ; Error
altd ld c,(hl) ; Error
altd ld c,(ix) ; Error
altd ld c,(ix+DIS) ; Error
altd ld c,(iy) ; Error
altd ld c,(iy+DIS) ; Error
altd ld c,N ; Error
altd ld c,a ; Error
altd ld c,b ; Error
altd ld c,c ; Error
altd ld c,d ; Error
altd ld c,e ; Error
altd ld c,h ; Error
altd ld c,l ; Error
altd ld d,(hl) ; Error
altd ld d,(ix) ; Error
altd ld d,(ix+DIS) ; Error
altd ld d,(iy) ; Error
altd ld d,(iy+DIS) ; Error
altd ld d,N ; Error
altd ld d,a ; Error
altd ld d,b ; Error
altd ld d,c ; Error
altd ld d,d ; Error
altd ld d,e ; Error
altd ld d,h ; Error
altd ld d,l ; Error
altd ld de,(NN) ; Error
altd ld de,NN ; Error
altd ld e,(hl) ; Error
altd ld e,(ix) ; Error
altd ld e,(ix+DIS) ; Error
altd ld e,(iy) ; Error
altd ld e,(iy+DIS) ; Error
altd ld e,N ; Error
altd ld e,a ; Error
altd ld e,b ; Error
altd ld e,c ; Error
altd ld e,d ; Error
altd ld e,e ; Error
altd ld e,h ; Error
altd ld e,l ; Error
altd ld h,(hl) ; Error
altd ld h,(ix) ; Error
altd ld h,(ix+DIS) ; Error
altd ld h,(iy) ; Error
altd ld h,(iy+DIS) ; Error
altd ld h,N ; Error
altd ld h,a ; Error
altd ld h,b ; Error
altd ld h,c ; Error
altd ld h,d ; Error
altd ld h,e ; Error
altd ld h,h ; Error
altd ld h,l ; Error
altd ld hl,(NN) ; Error
altd ld hl,(hl) ; Error
altd ld hl,(hl+DIS) ; Error
altd ld hl,(ix) ; Error
altd ld hl,(ix+DIS) ; Error
altd ld hl,(iy) ; Error
altd ld hl,(iy+DIS) ; Error
altd ld hl,(sp) ; Error
altd ld hl,(sp+N) ; Error
altd ld hl,NN ; Error
altd ld hl,ix ; Error
altd ld hl,iy ; Error
altd ld l,(hl) ; Error
altd ld l,(ix) ; Error
altd ld l,(ix+DIS) ; Error
altd ld l,(iy) ; Error
altd ld l,(iy+DIS) ; Error
altd ld l,N ; Error
altd ld l,a ; Error
altd ld l,b ; Error
altd ld l,c ; Error
altd ld l,d ; Error
altd ld l,e ; Error
altd ld l,h ; Error
altd ld l,l ; Error
altd neg ; Error
altd neg a ; Error
altd or (hl) ; Error
altd or (ix) ; Error
altd or (ix+DIS) ; Error
altd or (iy) ; Error
altd or (iy+DIS) ; Error
altd or N ; Error
altd or a ; Error
altd or a,(hl) ; Error
altd or a,(ix) ; Error
altd or a,(ix+DIS) ; Error
altd or a,(iy) ; Error
altd or a,(iy+DIS) ; Error
altd or a,N ; Error
altd or a,a ; Error
altd or a,b ; Error
altd or a,c ; Error
altd or a,d ; Error
altd or a,e ; Error
altd or a,h ; Error
altd or a,l ; Error
altd or b ; Error
altd or c ; Error
altd or d ; Error
altd or e ; Error
altd or h ; Error
altd or hl,de ; Error
altd or l ; Error
altd pop af ; Error
altd pop bc ; Error
altd pop de ; Error
altd pop hl ; Error
altd res -1,a ; Error
altd res -1,b ; Error
altd res -1,c ; Error
altd res -1,d ; Error
altd res -1,e ; Error
altd res -1,h ; Error
altd res -1,l ; Error
altd res 0,a ; Error
altd res 0,b ; Error
altd res 0,c ; Error
altd res 0,d ; Error
altd res 0,e ; Error
altd res 0,h ; Error
altd res 0,l ; Error
altd res 1,a ; Error
altd res 1,b ; Error
altd res 1,c ; Error
altd res 1,d ; Error
altd res 1,e ; Error
altd res 1,h ; Error
altd res 1,l ; Error
altd res 2,a ; Error
altd res 2,b ; Error
altd res 2,c ; Error
altd res 2,d ; Error
altd res 2,e ; Error
altd res 2,h ; Error
altd res 2,l ; Error
altd res 3,a ; Error
altd res 3,b ; Error
altd res 3,c ; Error
altd res 3,d ; Error
altd res 3,e ; Error
altd res 3,h ; Error
altd res 3,l ; Error
altd res 4,a ; Error
altd res 4,b ; Error
altd res 4,c ; Error
altd res 4,d ; Error
altd res 4,e ; Error
altd res 4,h ; Error
altd res 4,l ; Error
altd res 5,a ; Error
altd res 5,b ; Error
altd res 5,c ; Error
altd res 5,d ; Error
altd res 5,e ; Error
altd res 5,h ; Error
altd res 5,l ; Error
altd res 6,a ; Error
altd res 6,b ; Error
altd res 6,c ; Error
altd res 6,d ; Error
altd res 6,e ; Error
altd res 6,h ; Error
altd res 6,l ; Error
altd res 7,a ; Error
altd res 7,b ; Error
altd res 7,c ; Error
altd res 7,d ; Error
altd res 7,e ; Error
altd res 7,h ; Error
altd res 7,l ; Error
altd res 8,a ; Error
altd res 8,b ; Error
altd res 8,c ; Error
altd res 8,d ; Error
altd res 8,e ; Error
altd res 8,h ; Error
altd res 8,l ; Error
altd rl de ; Error
altd rr de ; Error
altd rr hl ; Error
altd sbc (hl) ; Error
altd sbc (ix) ; Error
altd sbc (ix+DIS) ; Error
altd sbc (iy) ; Error
altd sbc (iy+DIS) ; Error
altd sbc N ; Error
altd sbc a ; Error
altd sbc a,(hl) ; Error
altd sbc a,(ix) ; Error
altd sbc a,(ix+DIS) ; Error
altd sbc a,(iy) ; Error
altd sbc a,(iy+DIS) ; Error
altd sbc a,N ; Error
altd sbc a,a ; Error
altd sbc a,b ; Error
altd sbc a,c ; Error
altd sbc a,d ; Error
altd sbc a,e ; Error
altd sbc a,h ; Error
altd sbc a,l ; Error
altd sbc b ; Error
altd sbc c ; Error
altd sbc d ; Error
altd sbc e ; Error
altd sbc h ; Error
altd sbc hl,bc ; Error
altd sbc hl,de ; Error
altd sbc hl,hl ; Error
altd sbc hl,sp ; Error
altd sbc l ; Error
altd scf ; Error
altd scf f ; Error
altd set -1,a ; Error
altd set -1,b ; Error
altd set -1,c ; Error
altd set -1,d ; Error
altd set -1,e ; Error
altd set -1,h ; Error
altd set -1,l ; Error
altd set 0,a ; Error
altd set 0,b ; Error
altd set 0,c ; Error
altd set 0,d ; Error
altd set 0,e ; Error
altd set 0,h ; Error
altd set 0,l ; Error
altd set 1,a ; Error
altd set 1,b ; Error
altd set 1,c ; Error
altd set 1,d ; Error
altd set 1,e ; Error
altd set 1,h ; Error
altd set 1,l ; Error
altd set 2,a ; Error
altd set 2,b ; Error
altd set 2,c ; Error
altd set 2,d ; Error
altd set 2,e ; Error
altd set 2,h ; Error
altd set 2,l ; Error
altd set 3,a ; Error
altd set 3,b ; Error
altd set 3,c ; Error
altd set 3,d ; Error
altd set 3,e ; Error
altd set 3,h ; Error
altd set 3,l ; Error
altd set 4,a ; Error
altd set 4,b ; Error
altd set 4,c ; Error
altd set 4,d ; Error
altd set 4,e ; Error
altd set 4,h ; Error
altd set 4,l ; Error
altd set 5,a ; Error
altd set 5,b ; Error
altd set 5,c ; Error
altd set 5,d ; Error
altd set 5,e ; Error
altd set 5,h ; Error
altd set 5,l ; Error
altd set 6,a ; Error
altd set 6,b ; Error
altd set 6,c ; Error
altd set 6,d ; Error
altd set 6,e ; Error
altd set 6,h ; Error
altd set 6,l ; Error
altd set 7,a ; Error
altd set 7,b ; Error
altd set 7,c ; Error
altd set 7,d ; Error
altd set 7,e ; Error
altd set 7,h ; Error
altd set 7,l ; Error
altd set 8,a ; Error
altd set 8,b ; Error
altd set 8,c ; Error
altd set 8,d ; Error
altd set 8,e ; Error
altd set 8,h ; Error
altd set 8,l ; Error
altd sub (hl) ; Error
altd sub (ix) ; Error
altd sub (ix+DIS) ; Error
altd sub (iy) ; Error
altd sub (iy+DIS) ; Error
altd sub N ; Error
altd sub a ; Error
altd sub a,(hl) ; Error
altd sub a,(ix) ; Error
altd sub a,(ix+DIS) ; Error
altd sub a,(iy) ; Error
altd sub a,(iy+DIS) ; Error
altd sub a,N ; Error
altd sub a,a ; Error
altd sub a,b ; Error
altd sub a,c ; Error
altd sub a,d ; Error
altd sub a,e ; Error
altd sub a,h ; Error
altd sub a,l ; Error
altd sub b ; Error
altd sub c ; Error
altd sub d ; Error
altd sub e ; Error
altd sub h ; Error
altd sub l ; Error
altd xor (hl) ; Error
altd xor (ix) ; Error
altd xor (ix+DIS) ; Error
altd xor (iy) ; Error
altd xor (iy+DIS) ; Error
altd xor N ; Error
altd xor a ; Error
altd xor a,(hl) ; Error
altd xor a,(ix) ; Error
altd xor a,(ix+DIS) ; Error
altd xor a,(iy) ; Error
altd xor a,(iy+DIS) ; Error
altd xor a,N ; Error
altd xor a,a ; Error
altd xor a,b ; Error
altd xor a,c ; Error
altd xor a,d ; Error
altd xor a,e ; Error
altd xor a,h ; Error
altd xor a,l ; Error
altd xor b ; Error
altd xor c ; Error
altd xor d ; Error
altd xor e ; Error
altd xor h ; Error
altd xor l ; Error
and a',(hl) ; Error
and a',(ix) ; Error
and a',(ix+DIS) ; Error
and a',(iy) ; Error
and a',(iy+DIS) ; Error
and a',N ; Error
and a',a ; Error
and a',b ; Error
and a',c ; Error
and a',d ; Error
and a',e ; Error
and a',h ; Error
and a',l ; Error
and hl',de ; Error
and hl,de ; Error
and ix,de ; Error
and iy,de ; Error
bit -1,(hl) ; Error
bit -1,(ix) ; Error
bit -1,(ix+DIS) ; Error
bit -1,(iy) ; Error
bit -1,(iy+DIS) ; Error
bit -1,a ; Error
bit -1,b ; Error
bit -1,c ; Error
bit -1,d ; Error
bit -1,e ; Error
bit -1,h ; Error
bit -1,l ; Error
bit 8,(hl) ; Error
bit 8,(ix) ; Error
bit 8,(ix+DIS) ; Error
bit 8,(iy) ; Error
bit 8,(iy+DIS) ; Error
bit 8,a ; Error
bit 8,b ; Error
bit 8,c ; Error
bit 8,d ; Error
bit 8,e ; Error
bit 8,h ; Error
bit 8,l ; Error
bool hl ; Error
bool hl' ; Error
bool ix ; Error
bool iy ; Error
call lo,NN ; Error
call lz,NN ; Error
ccf f' ; Error
cp a',(hl) ; Error
cp a',(ix) ; Error
cp a',(ix+DIS) ; Error
cp a',(iy) ; Error
cp a',(iy+DIS) ; Error
cp a',N ; Error
cp a',a ; Error
cp a',b ; Error
cp a',c ; Error
cp a',d ; Error
cp a',e ; Error
cp a',h ; Error
cp a',l ; Error
cpl a' ; Error
dec a' ; Error
dec b' ; Error
dec bc' ; Error
dec c' ; Error
dec d' ; Error
dec de' ; Error
dec e' ; Error
dec h' ; Error
dec hl' ; Error
dec l' ; Error
djnz b',NN ; Error
ex (sp),hl' ; Error
ex de',hl ; Error
ex de',hl' ; Error
ex de,hl' ; Error
idet ; Error
im -1 ; Error
im 3 ; Error
in0 a,(N) ; Error
in0 b,(N) ; Error
in0 c,(N) ; Error
in0 d,(N) ; Error
in0 e,(N) ; Error
in0 f,(N) ; Error
in0 h,(N) ; Error
in0 l,(N) ; Error
inc a' ; Error
inc b' ; Error
inc bc' ; Error
inc c' ; Error
inc d' ; Error
inc de' ; Error
inc e' ; Error
inc h' ; Error
inc hl' ; Error
inc l' ; Error
ioe ld a,(NN) ; Error
ioe ldd ; Error
ioe lddr ; Error
ioe ldi ; Error
ioe ldir ; Error
ioi ld a,(NN) ; Error
ioi ldd ; Error
ioi lddr ; Error
ioi ldi ; Error
ioi ldir ; Error
ipres ; Error
ipset -1 ; Error
ipset 0 ; Error
ipset 1 ; Error
ipset 2 ; Error
ipset 3 ; Error
ipset 4 ; Error
jp lo,NN ; Error
jp lz,NN ; Error
ld (hl),hl ; Error
ld (hl+DIS),hl ; Error
ld (ix),hl ; Error
ld (ix+DIS),hl ; Error
ld (iy),hl ; Error
ld (iy+DIS),hl ; Error
ld (sp),hl ; Error
ld (sp),ix ; Error
ld (sp),iy ; Error
ld (sp+N),hl ; Error
ld (sp+N),ix ; Error
ld (sp+N),iy ; Error
ld a',(NN) ; Error
ld a',(bc) ; Error
ld a',(de) ; Error
ld a',(hl) ; Error
ld a',(ix) ; Error
ld a',(ix+DIS) ; Error
ld a',(iy) ; Error
ld a',(iy+DIS) ; Error
ld a',N ; Error
ld a',a ; Error
ld a',b ; Error
ld a',c ; Error
ld a',d ; Error
ld a',e ; Error
ld a',eir ; Error
ld a',h ; Error
ld a',iir ; Error
ld a',l ; Error
ld a',xpc ; Error
ld a,eir ; Error
ld a,iir ; Error
ld a,xpc ; Error
ld b',(hl) ; Error
ld b',(ix) ; Error
ld b',(ix+DIS) ; Error
ld b',(iy) ; Error
ld b',(iy+DIS) ; Error
ld b',N ; Error
ld b',a ; Error
ld b',b ; Error
ld b',c ; Error
ld b',d ; Error
ld b',e ; Error
ld b',h ; Error
ld b',l ; Error
ld bc',(NN) ; Error
ld bc',NN ; Error
ld bc',bc ; Error
ld bc',de ; Error
ld c',(hl) ; Error
ld c',(ix) ; Error
ld c',(ix+DIS) ; Error
ld c',(iy) ; Error
ld c',(iy+DIS) ; Error
ld c',N ; Error
ld c',a ; Error
ld c',b ; Error
ld c',c ; Error
ld c',d ; Error
ld c',e ; Error
ld c',h ; Error
ld c',l ; Error
ld d',(hl) ; Error
ld d',(ix) ; Error
ld d',(ix+DIS) ; Error
ld d',(iy) ; Error
ld d',(iy+DIS) ; Error
ld d',N ; Error
ld d',a ; Error
ld d',b ; Error
ld d',c ; Error
ld d',d ; Error
ld d',e ; Error
ld d',h ; Error
ld d',l ; Error
ld de',(NN) ; Error
ld de',NN ; Error
ld de',bc ; Error
ld de',de ; Error
ld e',(hl) ; Error
ld e',(ix) ; Error
ld e',(ix+DIS) ; Error
ld e',(iy) ; Error
ld e',(iy+DIS) ; Error
ld e',N ; Error
ld e',a ; Error
ld e',b ; Error
ld e',c ; Error
ld e',d ; Error
ld e',e ; Error
ld e',h ; Error
ld e',l ; Error
ld eir,a ; Error
ld h',(hl) ; Error
ld h',(ix) ; Error
ld h',(ix+DIS) ; Error
ld h',(iy) ; Error
ld h',(iy+DIS) ; Error
ld h',N ; Error
ld h',a ; Error
ld h',b ; Error
ld h',c ; Error
ld h',d ; Error
ld h',e ; Error
ld h',h ; Error
ld h',l ; Error
ld hl',(NN) ; Error
ld hl',(hl) ; Error
ld hl',(hl+DIS) ; Error
ld hl',(ix) ; Error
ld hl',(ix+DIS) ; Error
ld hl',(iy) ; Error
ld hl',(iy+DIS) ; Error
ld hl',(sp) ; Error
ld hl',(sp+N) ; Error
ld hl',NN ; Error
ld hl',bc ; Error
ld hl',de ; Error
ld hl',ix ; Error
ld hl',iy ; Error
ld hl,(hl) ; Error
ld hl,(hl+DIS) ; Error
ld hl,(ix) ; Error
ld hl,(ix+DIS) ; Error
ld hl,(iy) ; Error
ld hl,(iy+DIS) ; Error
ld hl,(sp) ; Error
ld hl,(sp+N) ; Error
ld hl,ix ; Error
ld hl,iy ; Error
ld iir,a ; Error
ld ix,(sp) ; Error
ld ix,(sp+N) ; Error
ld ix,hl ; Error
ld iy,(sp) ; Error
ld iy,(sp+N) ; Error
ld iy,hl ; Error
ld l',(hl) ; Error
ld l',(ix) ; Error
ld l',(ix+DIS) ; Error
ld l',(iy) ; Error
ld l',(iy+DIS) ; Error
ld l',N ; Error
ld l',a ; Error
ld l',b ; Error
ld l',c ; Error
ld l',d ; Error
ld l',e ; Error
ld l',h ; Error
ld l',l ; Error
ld xpc,a ; Error
lddsr ; Error
ldisr ; Error
ldp (NN),hl ; Error
ldp (NN),ix ; Error
ldp (NN),iy ; Error
ldp (hl),hl ; Error
ldp (ix),hl ; Error
ldp (iy),hl ; Error
ldp hl,(NN) ; Error
ldp hl,(hl) ; Error
ldp hl,(ix) ; Error
ldp hl,(iy) ; Error
ldp ix,(NN) ; Error
ldp iy,(NN) ; Error
lsddr ; Error
lsdr ; Error
lsidr ; Error
lsir ; Error
mlt bc ; Error
mlt de ; Error
mlt hl ; Error
mlt sp ; Error
neg a' ; Error
or a',(hl) ; Error
or a',(ix) ; Error
or a',(ix+DIS) ; Error
or a',(iy) ; Error
or a',(iy+DIS) ; Error
or a',N ; Error
or a',a ; Error
or a',b ; Error
or a',c ; Error
or a',d ; Error
or a',e ; Error
or a',h ; Error
or a',l ; Error
or hl',de ; Error
or hl,de ; Error
or ix,de ; Error
or iy,de ; Error
otdm ; Error
otdmr ; Error
otim ; Error
otimr ; Error
out (c),-1 ; Error
out (c),1 ; Error
out0 (N),a ; Error
out0 (N),b ; Error
out0 (N),c ; Error
out0 (N),d ; Error
out0 (N),e ; Error
out0 (N),h ; Error
out0 (N),l ; Error
pop af' ; Error
pop bc' ; Error
pop de' ; Error
pop hl' ; Error
pop ip ; Error
pop su ; Error
push ip ; Error
push su ; Error
rdmode ; Error
res -1,(hl) ; Error
res -1,(ix) ; Error
res -1,(ix+DIS) ; Error
res -1,(iy) ; Error
res -1,(iy+DIS) ; Error
res -1,a ; Error
res -1,a' ; Error
res -1,b ; Error
res -1,b' ; Error
res -1,c ; Error
res -1,c' ; Error
res -1,d ; Error
res -1,d' ; Error
res -1,e ; Error
res -1,e' ; Error
res -1,h ; Error
res -1,h' ; Error
res -1,l ; Error
res -1,l' ; Error
res 0,a' ; Error
res 0,b' ; Error
res 0,c' ; Error
res 0,d' ; Error
res 0,e' ; Error
res 0,h' ; Error
res 0,l' ; Error
res 1,a' ; Error
res 1,b' ; Error
res 1,c' ; Error
res 1,d' ; Error
res 1,e' ; Error
res 1,h' ; Error
res 1,l' ; Error
res 2,a' ; Error
res 2,b' ; Error
res 2,c' ; Error
res 2,d' ; Error
res 2,e' ; Error
res 2,h' ; Error
res 2,l' ; Error
res 3,a' ; Error
res 3,b' ; Error
res 3,c' ; Error
res 3,d' ; Error
res 3,e' ; Error
res 3,h' ; Error
res 3,l' ; Error
res 4,a' ; Error
res 4,b' ; Error
res 4,c' ; Error
res 4,d' ; Error
res 4,e' ; Error
res 4,h' ; Error
res 4,l' ; Error
res 5,a' ; Error
res 5,b' ; Error
res 5,c' ; Error
res 5,d' ; Error
res 5,e' ; Error
res 5,h' ; Error
res 5,l' ; Error
res 6,a' ; Error
res 6,b' ; Error
res 6,c' ; Error
res 6,d' ; Error
res 6,e' ; Error
res 6,h' ; Error
res 6,l' ; Error
res 7,a' ; Error
res 7,b' ; Error
res 7,c' ; Error
res 7,d' ; Error
res 7,e' ; Error
res 7,h' ; Error
res 7,l' ; Error
res 8,(hl) ; Error
res 8,(ix) ; Error
res 8,(ix+DIS) ; Error
res 8,(iy) ; Error
res 8,(iy+DIS) ; Error
res 8,a ; Error
res 8,a' ; Error
res 8,b ; Error
res 8,b' ; Error
res 8,c ; Error
res 8,c' ; Error
res 8,d ; Error
res 8,d' ; Error
res 8,e ; Error
res 8,e' ; Error
res 8,h ; Error
res 8,h' ; Error
res 8,l ; Error
res 8,l' ; Error
ret lo ; Error
ret lz ; Error
rl de ; Error
rl de' ; Error
rr de ; Error
rr de' ; Error
rr hl ; Error
rr hl' ; Error
rr ix ; Error
rr iy ; Error
rst -1 ; Error
rst 49 ; Error
rst 57 ; Error
sbc a',(hl) ; Error
sbc a',(ix) ; Error
sbc a',(ix+DIS) ; Error
sbc a',(iy) ; Error
sbc a',(iy+DIS) ; Error
sbc a',N ; Error
sbc a',a ; Error
sbc a',b ; Error
sbc a',c ; Error
sbc a',d ; Error
sbc a',e ; Error
sbc a',h ; Error
sbc a',l ; Error
sbc hl',bc ; Error
sbc hl',de ; Error
sbc hl',hl ; Error
sbc hl',sp ; Error
scf f' ; Error
set -1,(hl) ; Error
set -1,(ix) ; Error
set -1,(ix+DIS) ; Error
set -1,(iy) ; Error
set -1,(iy+DIS) ; Error
set -1,a ; Error
set -1,a' ; Error
set -1,b ; Error
set -1,b' ; Error
set -1,c ; Error
set -1,c' ; Error
set -1,d ; Error
set -1,d' ; Error
set -1,e ; Error
set -1,e' ; Error
set -1,h ; Error
set -1,h' ; Error
set -1,l ; Error
set -1,l' ; Error
set 0,a' ; Error
set 0,b' ; Error
set 0,c' ; Error
set 0,d' ; Error
set 0,e' ; Error
set 0,h' ; Error
set 0,l' ; Error
set 1,a' ; Error
set 1,b' ; Error
set 1,c' ; Error
set 1,d' ; Error
set 1,e' ; Error
set 1,h' ; Error
set 1,l' ; Error
set 2,a' ; Error
set 2,b' ; Error
set 2,c' ; Error
set 2,d' ; Error
set 2,e' ; Error
set 2,h' ; Error
set 2,l' ; Error
set 3,a' ; Error
set 3,b' ; Error
set 3,c' ; Error
set 3,d' ; Error
set 3,e' ; Error
set 3,h' ; Error
set 3,l' ; Error
set 4,a' ; Error
set 4,b' ; Error
set 4,c' ; Error
set 4,d' ; Error
set 4,e' ; Error
set 4,h' ; Error
set 4,l' ; Error
set 5,a' ; Error
set 5,b' ; Error
set 5,c' ; Error
set 5,d' ; Error
set 5,e' ; Error
set 5,h' ; Error
set 5,l' ; Error
set 6,a' ; Error
set 6,b' ; Error
set 6,c' ; Error
set 6,d' ; Error
set 6,e' ; Error
set 6,h' ; Error
set 6,l' ; Error
set 7,a' ; Error
set 7,b' ; Error
set 7,c' ; Error
set 7,d' ; Error
set 7,e' ; Error
set 7,h' ; Error
set 7,l' ; Error
set 8,(hl) ; Error
set 8,(ix) ; Error
set 8,(ix+DIS) ; Error
set 8,(iy) ; Error
set 8,(iy+DIS) ; Error
set 8,a ; Error
set 8,a' ; Error
set 8,b ; Error
set 8,b' ; Error
set 8,c ; Error
set 8,c' ; Error
set 8,d ; Error
set 8,d' ; Error
set 8,e ; Error
set 8,e' ; Error
set 8,h ; Error
set 8,h' ; Error
set 8,l ; Error
set 8,l' ; Error
setusr ; Error
slp ; Error
sub a',(hl) ; Error
sub a',(ix) ; Error
sub a',(ix+DIS) ; Error
sub a',(iy) ; Error
sub a',(iy+DIS) ; Error
sub a',N ; Error
sub a',a ; Error
sub a',b ; Error
sub a',c ; Error
sub a',d ; Error
sub a',e ; Error
sub a',h ; Error
sub a',l ; Error
sures ; Error
syscall ; Error
tst (hl) ; Error
tst N ; Error
tst a ; Error
tst a,(hl) ; Error
tst a,N ; Error
tst a,a ; Error
tst a,b ; Error
tst a,c ; Error
tst a,d ; Error
tst a,e ; Error
tst a,h ; Error
tst a,l ; Error
tst b ; Error
tst c ; Error
tst d ; Error
tst e ; Error
tst h ; Error
tst l ; Error
tstio N ; Error
uma ; Error
ums ; Error
xor a',(hl) ; Error
xor a',(ix) ; Error
xor a',(ix+DIS) ; Error
xor a',(iy) ; Error
xor a',(iy+DIS) ; Error
xor a',N ; Error
xor a',a ; Error
xor a',b ; Error
xor a',c ; Error
xor a',d ; Error
xor a',e ; Error
xor a',h ; Error
xor a',l ; Error
| 31.972246
| 31
| 0.376899
|
3f3c41ca4bed0fb2dfe9f1cc948381a0d5e32bd5
| 1,059
|
asm
|
Assembly
|
src/test/ref/word-pointer-math-0.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/test/ref/word-pointer-math-0.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/test/ref/word-pointer-math-0.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
// Tests simple word pointer math
// Commodore 64 PRG executable file
.file [name="word-pointer-math-0.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.const SIZEOF_UNSIGNED_INT = 2
.segment Code
main: {
.label SCREEN = $400+6*$28
.label words = $400
.label w1 = 2
.label w2 = 4
// word w1 = *(words+1)
lda words+1*SIZEOF_UNSIGNED_INT
sta.z w1
lda words+1*SIZEOF_UNSIGNED_INT+1
sta.z w1+1
// BYTE0(w1)
lda.z w1
// SCREEN[0] = BYTE0(w1)
sta SCREEN
// BYTE1(w1)
lda.z w1+1
// SCREEN[1] = BYTE1(w1)
sta SCREEN+1
// word w2 = *(words+2)
lda words+2*SIZEOF_UNSIGNED_INT
sta.z w2
lda words+2*SIZEOF_UNSIGNED_INT+1
sta.z w2+1
// BYTE0(w2)
lda.z w2
// SCREEN[2] = BYTE0(w2)
sta SCREEN+2
// BYTE1(w2)
lda.z w2+1
// SCREEN[3] = BYTE1(w2)
sta SCREEN+3
// }
rts
}
| 23.021739
| 70
| 0.609065
|
bb8ec0e56304c5651350421482dc4953aa0d62f4
| 8,904
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_737.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_737.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_737.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x453c, %rsi
lea addresses_D_ht+0x1cc3c, %rdi
nop
nop
nop
and $61138, %r12
mov $48, %rcx
rep movsw
nop
nop
nop
nop
add $28316, %r10
lea addresses_A_ht+0x1a3c, %r12
nop
nop
nop
nop
dec %r10
mov $0x6162636465666768, %rdi
movq %rdi, %xmm7
vmovups %ymm7, (%r12)
nop
cmp %r12, %r12
lea addresses_UC_ht+0x713c, %rsi
lea addresses_WT_ht+0xafdc, %rdi
nop
nop
nop
nop
xor %rax, %rax
mov $109, %rcx
rep movsw
nop
nop
nop
dec %rax
lea addresses_UC_ht+0x14c7c, %r10
nop
nop
nop
nop
cmp $55287, %r15
mov (%r10), %rsi
dec %r10
lea addresses_normal_ht+0x3800, %rcx
nop
nop
nop
xor $17090, %r12
movb (%rcx), %al
dec %rdi
lea addresses_WT_ht+0x18dbc, %rsi
lea addresses_WC_ht+0x1b03c, %rdi
nop
nop
nop
nop
nop
and %r9, %r9
mov $48, %rcx
rep movsb
and %rdi, %rdi
lea addresses_WC_ht+0x1073c, %rcx
nop
nop
dec %r12
movl $0x61626364, (%rcx)
cmp %rcx, %rcx
lea addresses_normal_ht+0x1dc10, %r15
nop
nop
nop
nop
nop
cmp $21505, %rdi
mov $0x6162636465666768, %rsi
movq %rsi, %xmm0
and $0xffffffffffffffc0, %r15
vmovaps %ymm0, (%r15)
xor $43012, %r15
lea addresses_UC_ht+0x1a4c6, %r10
cmp %r9, %r9
movw $0x6162, (%r10)
nop
cmp %r9, %r9
lea addresses_normal_ht+0x5c3c, %rsi
lea addresses_WT_ht+0x195ca, %rdi
nop
nop
nop
nop
add %r10, %r10
mov $95, %rcx
rep movsq
nop
nop
nop
sub $54669, %rcx
lea addresses_WT_ht+0x16198, %rsi
lea addresses_WT_ht+0x3c, %rdi
xor $46526, %r10
mov $101, %rcx
rep movsq
nop
nop
nop
nop
nop
xor $33796, %r9
lea addresses_UC_ht+0xec3c, %rcx
nop
nop
nop
inc %rdi
mov (%rcx), %r15w
nop
cmp $3678, %rdi
lea addresses_normal_ht+0xab3c, %r12
nop
and $39001, %rcx
movb $0x61, (%r12)
nop
nop
nop
and %rdi, %rdi
lea addresses_D_ht+0x1ad4c, %rsi
lea addresses_WT_ht+0xd7e4, %rdi
clflush (%rsi)
nop
and %r12, %r12
mov $74, %rcx
rep movsq
nop
nop
nop
nop
nop
dec %r15
lea addresses_normal_ht+0x135ac, %rdi
nop
nop
add $40271, %r9
vmovups (%rdi), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $1, %xmm2, %rax
nop
nop
nop
cmp %r10, %r10
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r12
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rsi
// Load
lea addresses_A+0x11324, %rsi
nop
nop
add $22771, %r14
movb (%rsi), %r15b
nop
nop
nop
nop
add %r14, %r14
// Store
lea addresses_UC+0x1ee3c, %rsi
xor $26366, %rax
mov $0x5152535455565758, %r8
movq %r8, %xmm6
vmovups %ymm6, (%rsi)
nop
nop
nop
nop
nop
sub %rsi, %rsi
// Store
mov $0xcc1, %r11
nop
nop
xor $18856, %r14
mov $0x5152535455565758, %rax
movq %rax, %xmm2
vmovups %ymm2, (%r11)
nop
nop
nop
nop
inc %r8
// Load
lea addresses_RW+0x8860, %rcx
xor $35666, %r15
vmovups (%rcx), %ymm7
vextracti128 $0, %ymm7, %xmm7
vpextrq $0, %xmm7, %rsi
sub $11345, %rcx
// Faulty Load
mov $0x6108740000000c3c, %rax
nop
nop
nop
nop
xor %r14, %r14
mov (%rax), %r8d
lea oracles, %r11
and $0xff, %r8
shlq $12, %r8
mov (%r11,%r8,1), %r8
pop %rsi
pop %rcx
pop %rax
pop %r8
pop %r15
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_NC', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A', 'same': False, 'size': 1, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_UC', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_P', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_RW', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_NC', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WC_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_A_ht', 'same': False, 'size': 32, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_UC_ht', 'congruent': 8, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 8, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 1, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 4, 'congruent': 8, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 2, 'NT': False, 'AVXalign': True}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 1, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 1, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_WT_ht', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_UC_ht', 'same': False, 'size': 2, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 1, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 3, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 4, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 32.028777
| 2,999
| 0.656222
|
f17251e8abf3727fd3f0307b410274cff426ce73
| 703
|
asm
|
Assembly
|
machine_language/04/mult/mult.asm
|
hadleyhzy34/computer-architecture
|
5c784cfd2512f62186eb1c51278d1d78cbde59fe
|
[
"MIT"
] | null | null | null |
machine_language/04/mult/mult.asm
|
hadleyhzy34/computer-architecture
|
5c784cfd2512f62186eb1c51278d1d78cbde59fe
|
[
"MIT"
] | null | null | null |
machine_language/04/mult/mult.asm
|
hadleyhzy34/computer-architecture
|
5c784cfd2512f62186eb1c51278d1d78cbde59fe
|
[
"MIT"
] | null | null | null |
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by Nisan and Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
// Put your code here.
//assign value R0 to temp
@R0
D=M
@temp
M=D
//assign value R1 to variable n
@R1
D=M
@n
M=D
//initialize i=0
@i
M=0
//set R2 to 0
@R2
M=0
//code continues
(LOOP)
//if(i==n)goto END
@i
D=M
@n
D=D-M
@END
D;JEQ
//update R2
@temp
D=M
@R2
M=M+D //each loop, r2=r2+r0
//i++
@i
M=M+1
@LOOP
0;JMP
(END)
@END
0;JMP
| 12.333333
| 67
| 0.571835
|
955630466a63c59fbe908fff366b46273617ff96
| 6,869
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_st_zr_/i7-7700_9_0x48.log_21328_970.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_st_zr_/i7-7700_9_0x48.log_21328_970.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_st_zr_/i7-7700_9_0x48.log_21328_970.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x90d9, %rsi
lea addresses_WT_ht+0x1b244, %rdi
nop
dec %r15
mov $20, %rcx
rep movsq
nop
cmp $3077, %r15
lea addresses_UC_ht+0x2984, %r13
clflush (%r13)
nop
nop
nop
nop
nop
add %r14, %r14
mov (%r13), %r11d
nop
nop
nop
nop
add %rsi, %rsi
lea addresses_A_ht+0x4c84, %r13
inc %r14
mov (%r13), %cx
nop
nop
nop
nop
and $34599, %rcx
lea addresses_WC_ht+0x2a44, %rsi
lea addresses_D_ht+0xa144, %rdi
nop
nop
nop
nop
and %rbx, %rbx
mov $4, %rcx
rep movsb
nop
sub $43824, %r14
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %r15
pop %r14
pop %r13
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %r9
push %rbp
push %rdi
push %rsi
// Store
lea addresses_normal+0x17944, %r13
and %rbp, %rbp
movw $0x5152, (%r13)
nop
nop
nop
sub $8943, %r8
// Store
lea addresses_US+0xae44, %r9
add %rdi, %rdi
movw $0x5152, (%r9)
// Exception!!!
nop
nop
nop
nop
nop
mov (0), %rdi
nop
nop
nop
nop
nop
add %rsi, %rsi
// Load
mov $0x6a9aa80000000554, %r9
nop
cmp $50159, %r12
mov (%r9), %r8d
nop
nop
and %r13, %r13
// Store
lea addresses_A+0x795c, %rbp
nop
nop
and %r12, %r12
movl $0x51525354, (%rbp)
// Exception!!!
nop
mov (0), %rbp
nop
nop
nop
sub %r8, %r8
// Load
lea addresses_UC+0xde44, %rdi
and $33475, %r8
movb (%rdi), %r9b
dec %r8
// Store
lea addresses_RW+0x30c4, %r9
clflush (%r9)
nop
nop
cmp $5288, %rdi
movw $0x5152, (%r9)
nop
nop
nop
nop
and %rsi, %rsi
// Store
lea addresses_RW+0x1a244, %r13
nop
nop
nop
nop
nop
add %rbp, %rbp
movl $0x51525354, (%r13)
nop
inc %rdi
// Store
lea addresses_WC+0x19d4c, %r9
nop
nop
nop
cmp %r12, %r12
mov $0x5152535455565758, %r13
movq %r13, %xmm7
vmovups %ymm7, (%r9)
nop
add %r8, %r8
// Faulty Load
mov $0x602bf0000000244, %r12
nop
nop
cmp $30044, %rsi
movb (%r12), %r9b
lea oracles, %r13
and $0xff, %r9
shlq $12, %r9
mov (%r13,%r9,1), %r9
pop %rsi
pop %rdi
pop %rbp
pop %r9
pop %r8
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 8, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 3, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC', 'AVXalign': False, 'congruent': 8, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 6, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 10, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'congruent': 2, 'size': 32, 'same': False, 'NT': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': True}, 'dst': {'type': 'addresses_WT_ht', 'congruent': 11, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'congruent': 5, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_A_ht', 'AVXalign': False, 'congruent': 6, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 8, 'same': False}}
{'54': 15191, '00': 6137}
54 00 00 00 54 00 54 54 54 54 00 54 54 54 54 54 54 00 54 54 54 54 00 54 54 54 00 00 54 54 00 54 54 00 00 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 00 54 00 00 54 54 00 54 54 54 00 00 54 54 54 54 00 54 00 00 00 54 54 54 54 54 54 00 00 54 54 54 54 54 54 54 00 54 00 00 00 00 54 54 00 54 54 54 54 54 54 54 00 54 00 54 00 54 54 54 54 54 00 54 54 00 00 00 00 00 54 54 54 00 54 54 54 54 54 54 54 54 00 00 54 54 54 00 54 00 54 00 54 54 54 54 54 00 54 54 54 00 54 54 54 54 54 00 54 00 54 54 54 54 54 00 54 00 54 54 54 00 54 00 00 54 54 00 54 00 54 54 54 00 54 00 54 54 54 00 54 00 54 54 54 54 54 54 54 54 54 54 00 00 54 54 54 54 54 54 00 54 54 54 54 54 54 54 00 54 54 54 00 54 54 54 54 54 54 54 00 54 00 00 54 54 54 54 54 54 00 00 54 54 00 54 54 00 00 54 54 54 00 00 00 00 00 54 54 54 54 54 54 54 54 54 54 54 00 00 54 54 54 00 54 54 54 54 54 54 54 00 54 00 54 54 54 00 00 00 00 54 00 54 54 54 54 54 54 00 54 54 54 00 00 54 00 54 00 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 00 54 00 54 54 00 54 54 54 00 54 54 54 00 54 00 54 54 00 54 00 00 00 54 00 00 00 54 54 54 54 54 00 00 54 00 54 54 54 00 54 00 00 54 00 00 00 00 00 54 54 54 54 54 00 00 54 54 54 00 00 00 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 00 54 00 54 54 54 54 00 00 54 00 54 54 00 54 00 54 54 54 54 00 54 54 54 54 54 54 54 54 00 54 54 00 54 54 00 00 54 00 54 54 54 54 00 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 00 54 54 54 54 54 54 54 54 00 00 00 00 54 54 00 00 54 54 54 54 00 00 54 54 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 00 54 54 54 54 00 00 54 54 54 54 54 54 54 00 00 54 54 00 00 54 00 54 00 00 00 54 00 00 54 54 54 00 54 54 54 54 00 54 00 00 00 54 54 54 54 54 54 54 00 54 00 00 54 54 00 54 54 00 54 54 54 54 54 54 54 54 00 54 54 00 00 00 54 00 54 00 54 54 54 54 00 54 54 54 54 54 00 54 54 54 54 54 00 54 54 54 54 54 00 00 00 00 54 00 54 54 54 54 54 54 54 00 00 54 00 54 00 54 00 00 54 54 54 00 54 54 00 54 54 00 54 54 54 54 00 00 54 54 54 54 54 54 00 00 54 00 54 54 54 00 54 54 00 54 54 00 54 54 54 54 54 00 54 54 00 54 54 54 54 54 00 54 54 54 54 00 00 00 00 54 00 54 54 54 54 00 54 54 54 54 54 54 54 54 00 54 54 54 54 54 54 00 54 54 54 00 00 54 54 54 54 54 00 00 54 54 54 00 54 54 00 00 54 00 54 54 54 54 54 00 00 54 54 54 54 54 54 54 00 00 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 00 54 54 54 54 54 54 54 00 00 54 54 54 00 54 54 54 54 00 54 54 54 54 54 54 54 54 54 54 54 00 54 54 00 00 54 54 54 54 54 54 54 00 00 54 54 00 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 54 00 54 00 00 54 54 00 54 54 54 54 54 00 54 54 54 54 00 54 00 54 54 54 54 00 54 54 54 54 54 54 54 00 54 54 54 54 54 00 54 54 00 00 00 54 00 54 54 54 54 00 54 54 54 54 54 00 00 54 00 00 54 54 54 54 00 54 00 54 00 00 54 00 54 00 54 00 54 00 00 54 54 54 54 00 54 54 00 54 54 54 00 00 54 54 00 00 00 00 54 54 54 54 54 54 54 54 54 54 54 54 00 54 54 00 00 54 54 54 54 54 54 54 54 00 54 00 00 00 54 54 54 00 00 00 54 54 00 54 54 00 54 54 54 54 00 00 00 54 54 00 00
*/
| 33.024038
| 2,999
| 0.648275
|
1e96a77e6b313db0de7b051258db7afe306f1b44
| 110
|
asm
|
Assembly
|
macros/userspace/system_calls.asm
|
FranchuFranchu/fran-os
|
30e14b587dd66039511d08a54f516ad65c4375ff
|
[
"0BSD"
] | 1
|
2020-10-24T17:09:05.000Z
|
2020-10-24T17:09:05.000Z
|
macros/userspace/system_calls.asm
|
FranchuFranchu/fran-os
|
30e14b587dd66039511d08a54f516ad65c4375ff
|
[
"0BSD"
] | null | null | null |
macros/userspace/system_calls.asm
|
FranchuFranchu/fran-os
|
30e14b587dd66039511d08a54f516ad65c4375ff
|
[
"0BSD"
] | null | null | null |
%macro system_call 1
mov ebx, %1
mov ecx, esp
mov edx, %%after
sysenter
%%after:
%endmacro
| 15.714286
| 20
| 0.590909
|
91f5529c25540166908ab12b0d288ab0586eb4e9
| 2,000
|
asm
|
Assembly
|
src/common/test_framework.asm
|
rainbowbismuth/gbg
|
4b6234ad30c9995b8d7678c6db05412043e64fa6
|
[
"BSD-3-Clause"
] | null | null | null |
src/common/test_framework.asm
|
rainbowbismuth/gbg
|
4b6234ad30c9995b8d7678c6db05412043e64fa6
|
[
"BSD-3-Clause"
] | null | null | null |
src/common/test_framework.asm
|
rainbowbismuth/gbg
|
4b6234ad30c9995b8d7678c6db05412043e64fa6
|
[
"BSD-3-Clause"
] | null | null | null |
INCLUDE "header.asm"
INCLUDE "macros.asm"
INCLUDE "registers.asm"
INCLUDE "constants.asm"
INCLUDE "save.asm"
; TODO: Rewrite usin section / "DS"
TEST_Header_FA EQU (Cartridge_RAM_Begin+0)
TEST_Header_CE EQU (Cartridge_RAM_Begin+1)
TEST_Planned EQU (Cartridge_RAM_Begin+2)
TEST_Ran EQU (Cartridge_RAM_Begin+3)
TEST_Results EQU (Cartridge_RAM_Begin+4)
main:
ld sp, Work_RAM_End
call write_test_header
call test_main
jp cause_deadlock
; TODO: Think of a way for test code to use
; interrupts? idk how much sense that even
; makes for these kind of 'unit test' tests
vblank:
reti
stat:
reti
timer:
reti
serial:
reti
joypad:
reti
; TODO: Rewrite these using "DS"
; just to maximize ease of use.
; testing code won't need the performance.
; wonder if it might even be possible to save flags?
write_test_header:
call enable_cart_ram
ld a, $FA
ld [TEST_Header_FA], a
ld a, $CE
ld [TEST_Header_CE], a
xor a
ld [TEST_Planned], a
ld [TEST_Ran], a
call disable_cart_ram
ret
plan_tests:
call enable_cart_ram
ld b, a
ld a, [TEST_Planned]
add b
ld [TEST_Planned], a
jp disable_cart_ram ;tail-call
test_write_b:
call enable_cart_ram
ld a, [TEST_Ran]
ld hl, TEST_Results
add_a_to_hl
ld [hl], b
ld a, [TEST_Ran]
inc a
ld [TEST_Ran], a
jp disable_cart_ram ;tail-call
test_report_success:
ld a, 1
ld b, a
jp test_write_b ;tail-call
ret
test_report_failure:
xor a
ld b, a
jp test_write_b ;tail-call
cause_deadlock:
di
xor a
ldh [REG_Interrupt_Enable], a
ldh [REG_Interrupt_Flag], a
halt ; instructions after this will never be executed.
; This is the 'public API' if you will.
test_plan: MACRO
ld a, \1
call plan_tests
ENDM
test_assert_true: MACRO
jr \1, .success\@
call test_report_failure
jr .next\@
.success\@:
call test_report_success
.next\@:
ENDM
test_assert_false: MACRO
jr \1, .failure\@
call test_report_success
jr .next\@
.failure\@:
call test_report_failure
.next\@:
ENDM
| 17.699115
| 56
| 0.719
|
b2f3740bcee3342fe2020ee148937a18d051aa2b
| 3,814
|
asm
|
Assembly
|
dynamorio/ext/drwrap/drwrap_asm_arm.asm
|
andre-motta/Project3Compilers
|
fa366d93ec8d49768fbc86f0c1431391822baf12
|
[
"MIT"
] | 107
|
2021-08-28T20:08:42.000Z
|
2022-03-22T08:02:16.000Z
|
dynamorio/ext/drwrap/drwrap_asm_arm.asm
|
andre-motta/Project3Compilers
|
fa366d93ec8d49768fbc86f0c1431391822baf12
|
[
"MIT"
] | 1
|
2021-06-01T12:10:25.000Z
|
2021-06-01T12:10:25.000Z
|
dynamorio/ext/drwrap/drwrap_asm_arm.asm
|
andre-motta/Project3Compilers
|
fa366d93ec8d49768fbc86f0c1431391822baf12
|
[
"MIT"
] | 16
|
2021-08-30T06:57:36.000Z
|
2022-03-22T08:05:52.000Z
|
/* **********************************************************
* Copyright (c) 2015-2020 Google, Inc. All rights reserved.
* ********************************************************** */
/*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* * Neither the name of Google, Inc. nor the names of its contributors may be
* used to endorse or promote products derived from this software without
* specific prior written permission.
*
* 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 VMWARE, INC. 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.
*/
/***************************************************************************
* assembly utilities for which there are no intrinsics
*/
#include "cpp2asm_defines.h"
START_FILE
DECL_EXTERN(replace_native_xfer_stack_adjust)
DECL_EXTERN(replace_native_xfer_app_retaddr)
DECL_EXTERN(replace_native_xfer_target)
/* void replace_native_xfer(void)
*
* Replacement function returns here instead of to app.
* This routine is in assembly b/c it needs to jump to the client ibl
* xfer routine w/ the same stack value as when it entered.
*/
#define FUNCNAME replace_native_xfer
DECLARE_FUNC(FUNCNAME)
GLOBAL_LABEL(FUNCNAME:)
push {r0} /* save return value from replacement function */
/* put app retaddr into the slot we made above the 2 pushes */
blx GLOBAL_REF(replace_native_xfer_app_retaddr)
push {r0}
/* now get our target */
blx GLOBAL_REF(replace_native_xfer_target)
mov r3, r0
/* restore regs and go to ibl */
pop {lr}
pop {r0}
bx r3
/* never reached */
bx lr
END_FUNC(FUNCNAME)
#undef FUNCNAME
/* See i#778 notes in the x86 asm: we want an app return instr. */
DECLARE_GLOBAL(replace_native_ret_imms)
DECLARE_GLOBAL(replace_native_ret_imms_end)
#define FUNCNAME replace_native_rets
DECLARE_FUNC(FUNCNAME)
GLOBAL_LABEL(FUNCNAME:)
bx lr
ADDRTAKEN_LABEL(replace_native_ret_imms:)
ADDRTAKEN_LABEL(replace_native_ret_imms_end:)
nop
END_FUNC(FUNCNAME)
#undef FUNCNAME
/* See i#778 notes in the x86 asm: we want an app return instr. */
#define FUNCNAME get_cur_xsp
DECLARE_FUNC(FUNCNAME)
GLOBAL_LABEL(FUNCNAME:)
mov r0, sp
bx lr
END_FUNC(FUNCNAME)
#undef FUNCNAME
/* We just need a sentinel block that does not cause DR to complain about
* non-executable code or illegal instrutions, for DRWRAP_REPLACE_RETADDR.
*/
#define FUNCNAME replace_retaddr_sentinel
DECLARE_FUNC(FUNCNAME)
GLOBAL_LABEL(FUNCNAME:)
bx lr
END_FUNC(FUNCNAME)
END_FILE
| 35.314815
| 78
| 0.681699
|
9c99ca4c547f40874891ca6ed1557d272f48d235
| 4,519
|
asm
|
Assembly
|
Transynther/x86/_processed/NC/_ht_st_un_/i9-9900K_12_0xa0_notsx.log_23_1547.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NC/_ht_st_un_/i9-9900K_12_0xa0_notsx.log_23_1547.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NC/_ht_st_un_/i9-9900K_12_0xa0_notsx.log_23_1547.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 %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1a78a, %rdx
nop
nop
xor %rsi, %rsi
mov (%rdx), %ax
nop
and %r15, %r15
lea addresses_UC_ht+0x1b2b9, %r15
nop
xor %r11, %r11
mov $0x6162636465666768, %rdx
movq %rdx, (%r15)
nop
nop
sub %rax, %rax
lea addresses_UC_ht+0x1be59, %r9
inc %rcx
movw $0x6162, (%r9)
nop
nop
nop
nop
cmp $11358, %r11
lea addresses_D_ht+0x1bab9, %rax
nop
nop
nop
nop
nop
sub $43333, %rdx
movb $0x61, (%rax)
nop
nop
dec %rdx
lea addresses_WT_ht+0x7ff2, %rsi
lea addresses_D_ht+0x12879, %rdi
nop
nop
dec %rax
mov $17, %rcx
rep movsw
nop
inc %r9
lea addresses_UC_ht+0x1a90, %rsi
lea addresses_D_ht+0x18b59, %rdi
nop
nop
nop
nop
and %r15, %r15
mov $92, %rcx
rep movsb
nop
nop
nop
dec %rsi
lea addresses_WT_ht+0x14919, %r11
nop
add $28510, %r15
mov (%r11), %rdi
nop
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_UC_ht+0x16eeb, %rax
nop
nop
nop
nop
nop
add $19177, %r15
mov (%rax), %rcx
nop
nop
add $1745, %r11
lea addresses_WT_ht+0xce39, %rdi
clflush (%rdi)
nop
nop
and $4140, %rdx
movw $0x6162, (%rdi)
nop
sub $42647, %rdx
lea addresses_D_ht+0x117ff, %r15
nop
nop
inc %rdx
mov (%r15), %r9
nop
nop
nop
nop
cmp $37234, %r11
lea addresses_A_ht+0x195f9, %rsi
lea addresses_UC_ht+0x16519, %rdi
nop
nop
nop
cmp $25485, %r9
mov $39, %rcx
rep movsw
nop
cmp %r9, %r9
lea addresses_WC_ht+0x1af33, %rcx
nop
nop
nop
sub %rax, %rax
mov $0x6162636465666768, %rdx
movq %rdx, (%rcx)
nop
nop
nop
add %r9, %r9
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r13
push %r14
push %rbp
push %rcx
push %rdx
// Load
mov $0x2184cf0000000eb9, %rcx
nop
nop
nop
nop
xor $56761, %rdx
movups (%rcx), %xmm6
vpextrq $0, %xmm6, %r11
nop
nop
nop
nop
and $47125, %r11
// Load
lea addresses_WC+0xd1b9, %rbp
nop
nop
nop
nop
and %r13, %r13
vmovups (%rbp), %ymm0
vextracti128 $1, %ymm0, %xmm0
vpextrq $0, %xmm0, %r12
nop
nop
nop
nop
cmp %r12, %r12
// Faulty Load
mov $0x6cfb410000000ab9, %r12
nop
sub %rcx, %rcx
movups (%r12), %xmm3
vpextrq $1, %xmm3, %rbp
lea oracles, %r12
and $0xff, %rbp
shlq $12, %rbp
mov (%r12,%rbp,1), %rbp
pop %rdx
pop %rcx
pop %rbp
pop %r14
pop %r13
pop %r12
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 9}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'type': 'addresses_NC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_WT_ht', 'AVXalign': True, 'size': 2, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 2, 'NT': False, 'same': True, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': True, 'congruent': 11}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 6, 'same': False}}
{'src': {'type': 'addresses_UC_ht', 'congruent': 0, 'same': True}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 4, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 8, 'NT': True, 'same': False, 'congruent': 5}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 1}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': True, 'size': 2, 'NT': False, 'same': False, 'congruent': 5}}
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_UC_ht', 'congruent': 4, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'size': 8, 'NT': False, 'same': True, 'congruent': 1}}
{'08': 7, '88': 2, '45': 8, '0d': 2, '35': 1, 'ea': 2, '80': 1}
ea 45 45 45 08 ea 35 08 45 45 80 08 88 08 88 45 45 08 08 45 0d 0d 08
*/
| 20.447964
| 147
| 0.641071
|
899047d6d3d11a6cdee25a8ff3e1b983177ca85f
| 2,658
|
asm
|
Assembly
|
asm_examples/maxMinNumber.asm
|
FZU-CS/assembly
|
557afb09a1674cc4643ddf7641b257f203c4402c
|
[
"Apache-2.0"
] | null | null | null |
asm_examples/maxMinNumber.asm
|
FZU-CS/assembly
|
557afb09a1674cc4643ddf7641b257f203c4402c
|
[
"Apache-2.0"
] | null | null | null |
asm_examples/maxMinNumber.asm
|
FZU-CS/assembly
|
557afb09a1674cc4643ddf7641b257f203c4402c
|
[
"Apache-2.0"
] | null | null | null |
title maxMinNumber
include irvine32.inc ; Assembly lib
.data ; Data Segment
t0 db 12,13,10,37,92,94,10 ; 12 -> t0, 13 -> t0+1, 10 -> t0+2 ...
count EQU ($-t0) ; $ means Program Counter, its original value is 0, current $=t0+3
; EQU means "equal to", make count equal to value ($-t0)=3
max db -128 ; -128 -> max, db means 8b
min db 127 ; 127 -> min, db means 8b
.code ; Code Segment
main proc ; Main Procedure
mov cx,count ; Make CX(16b Operator) equal to the value of count
; SI stores the index of data array
mov si,0 ; Make SI(16b Operator) equal to 0
; AX stores the MAX number, and BX stores the MIN number
xor ax,ax ; Make AX(16b Operator) and CF(Carry Flag) equal to 0
xor bx,bx ; Make BX(16b Operator) and CF(Carry Flag) equal to 0
mov al,max ; Make al = max, al(ah) is the lower(higher) 8b of AX
mov bl,min ; Make bl = min, bl(bh) is the lower(higher) 8b of BX
; Main loop of this procedure
; At the beginning, the procedure carries out cx = cx-1,
; then it judges if the cx > 0, if not ends up this loop
again: cmp t0[si],al ; Loop again point, Compare the value stored in (t0+si) and al
jg max_number ; if t0[si] > al (jump great transition): Move to max_number
jl next ; if t0[si] < al (jump less transition): Move to next
; if t0[si] > al
max_number: mov al,t0[si] ; max_number: 1.Make al = t0[si];
mov max,al ; 2.Make max = al;
jmp next ; 3.Move to next
next: cmp t0[si],bl ; next: 1.Compare t0[si] and bl
jl min_number ; 2.if t0[si] < bl, move to min_number
jg final ; 3.if t0[si] > bl, move to final
; if t0[si] < bl
min_number: mov bl,t0[si] ; min_number: 1.Make bl = t0[si];
mov min,bl ; 2.Make min = bl;
jmp final ; 3.Move to final
final: inc si ; final: 1.add 1 to si
loop again ; 2.loop again, move to loop again point
exit ; exit the loop
main endp ; End of Procedure
end main
| 49.222222
| 97
| 0.464635
|
150b1c6a2d3062eb74f5c96049bc79a12c6d0ee3
| 6,144
|
asm
|
Assembly
|
Transynther/x86/_processed/US/_st_zr_/i3-7100_9_0x84_notsx.log_16812_1640.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/US/_st_zr_/i3-7100_9_0x84_notsx.log_16812_1640.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/US/_st_zr_/i3-7100_9_0x84_notsx.log_16812_1640.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r14
push %rbx
push %rcx
push %rdi
lea addresses_D_ht+0x1c639, %r10
nop
nop
nop
cmp $21834, %rcx
movb (%r10), %r14b
nop
lfence
lea addresses_normal_ht+0x11139, %rbx
nop
nop
nop
sub %r11, %r11
mov $0x6162636465666768, %rdi
movq %rdi, %xmm4
vmovups %ymm4, (%rbx)
nop
nop
nop
nop
inc %rcx
lea addresses_WT_ht+0xd96d, %rcx
xor %r11, %r11
mov (%rcx), %r10
nop
nop
dec %r10
lea addresses_WC_ht+0xf3b9, %r11
nop
nop
inc %rbx
mov (%r11), %rcx
xor %rcx, %rcx
pop %rdi
pop %rcx
pop %rbx
pop %r14
pop %r12
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r13
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_UC+0x5239, %r10
nop
nop
nop
sub %r13, %r13
movups (%r10), %xmm7
vpextrq $0, %xmm7, %rdi
and $58556, %rsi
// Load
lea addresses_normal+0x1d7de, %r9
nop
nop
nop
and %rax, %rax
movb (%r9), %r10b
nop
nop
sub %r13, %r13
// Load
lea addresses_UC+0x6639, %rsi
nop
nop
nop
xor %rax, %rax
movups (%rsi), %xmm0
vpextrq $1, %xmm0, %r9
add $62712, %r13
// REPMOV
lea addresses_US+0x13221, %rsi
lea addresses_UC+0x8639, %rdi
sub %rdx, %rdx
mov $54, %rcx
rep movsb
nop
nop
dec %r9
// Store
lea addresses_WC+0x6e5f, %r10
nop
nop
cmp $14677, %rcx
mov $0x5152535455565758, %rdx
movq %rdx, %xmm1
vmovups %ymm1, (%r10)
nop
nop
nop
nop
nop
xor %r13, %r13
// Faulty Load
lea addresses_US+0x9e39, %r13
clflush (%r13)
nop
nop
nop
nop
nop
sub %rax, %rax
movups (%r13), %xmm7
vpextrq $1, %xmm7, %r10
lea oracles, %r9
and $0xff, %r10
shlq $12, %r10
mov (%r9,%r10,1), %r10
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r13
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_US', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC', 'same': False, 'size': 16, 'congruent': 9, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal', 'same': False, 'size': 1, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_UC', 'same': False, 'size': 16, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_US', 'congruent': 2, 'same': False}, 'dst': {'type': 'addresses_UC', 'congruent': 10, 'same': False}, 'OP': 'REPM'}
{'dst': {'type': 'addresses_WC', 'same': False, 'size': 32, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_US', 'same': True, 'size': 16, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'same': True, 'size': 1, 'congruent': 11, 'NT': False, 'AVXalign': True}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_normal_ht', 'same': False, 'size': 32, 'congruent': 7, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'src': {'type': 'addresses_WT_ht', 'same': False, 'size': 8, 'congruent': 2, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_WC_ht', 'same': False, 'size': 8, 'congruent': 5, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'37': 16775, '00': 37}
37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37 37
*/
| 37.693252
| 2,999
| 0.653483
|
4bca1ea4ee19140b3216f5d056cf3cec299e2700
| 9,980
|
asm
|
Assembly
|
asm/customcode.asm
|
Dimedime-d/kptranslation
|
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
|
[
"CC-BY-4.0"
] | 3
|
2020-10-25T07:13:17.000Z
|
2021-11-02T15:47:14.000Z
|
asm/customcode.asm
|
Dimedime-d/kptranslation
|
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
|
[
"CC-BY-4.0"
] | 5
|
2021-03-01T02:45:02.000Z
|
2021-12-15T03:33:28.000Z
|
asm/customcode.asm
|
Dimedime-d/kptranslation
|
62ba88ac2e279ac8bf0539e61a8d5764bdc60c5a
|
[
"CC-BY-4.0"
] | null | null | null |
.org 0x080B0000 ; Free space to add my "hook" (+ original parser)
.area 0x8000
cmp r0,0Fh ; "06 00 0F 00" is my custom command
beq addVW
; Default command after here (original)
lsl r0,r0,2h
ldr r1,=0x0801F014
add r0,r0,r1
ldr r0,[r0]
mov r15,r0
.pool
CmdParse2: ;code from x080210C0 - here, 0x14 OR 0x1A leads to script parsing
cmp r0,1Ah
bne NormalExec
;special
mov r4,r0 ;highly unlikely r4 would equal 0x1A by chance
mov r0,14h
NormalExec: ; original code
lsl r0,r0,2h
ldr r1,=0x080210D0
add r0,r0,r1
ldr r0,[r0]
mov r15,r0 ;if r0 was 0x14, should lead to ScriptParse
.pool
addVW:
;some RAM stuff to load x-cood into r0
ldr r0,[r4,30h]
lsl r1,r5,2h ;r5 = 0x12 or 0x14
add r1,r1,r0
ldr r0,[r1] ; TODO: Modify this x-coordinate
;new: set x-coord aside
mov r7,r0
ldr r0,[r4,30h]
mov r2,r5
sub r2,12h ; need 0x12 to return 0x20, 0x14 to return 0x2C
mov r3,r2
lsl r2,r2,2h
lsl r3,r3,1h
add r2,r2,r3
add r2,20h
ldr r0,[r0,r2] ; Relative offset for current character (relative to 0x284F70)
bl RelOffsetToWidth
add r0,r0,r7
str r0,[r1]
;Original Code
;add r0,r0,r6
;str r0,[r1]
ldr r0,=0x0801F1B6+1
mov r2,r0
bx r2
.pool
.align 4
;Code to repoint script parser (old pointer - 0x080216AC
ScriptParse:
;new - use r12 to store loc of x-coord
mov r1,r12
push r1
;new - 0x12 for scrolling text, 0x14 non-scrolling
mov r1,r4
cmp r1, 1Ah
beq R1To14
ldr r1, =12h
b StoreToR12
R1To14:
ldr r1, =14h
b StoreToR12
.pool
StoreToR12:
mov r12,r1
mov r1,r8 ;original code - r8 stores script location
add r1,4h
mov r0,r7
bl 0x0801EBAC ;sets where in RAM to put char offsets
mov r4,r0
add r6,r4,1h
mov r1,r8
ldrh r3,[r1,8h] ;this loads the char - new code ahead - have a pointer ;to where the text should go
mov r2, 0h
mov r11, r2
/* ldr r2,[r1,0x0C] ;points to next script to parse
mov r9,r2
ldr r3,[r1,8h]
mov r10,r3 ;storing - end of new code - r10 contains pointer to text
mov r2,0h ;new - use r11 to store a running total of total width of characters
mov r11,r2
ldrh r3,[r3] ;points to next char within script pointer
mov r2, 2h
add r10,r2*/
lsl r0,r3,10h
mov r2,0Ah
add r2,r8
mov r9,r2
cmp r0,0h
beq DoneWithText ; need to change
lsl r1, r6, 2h
mov r8, r1
NextChar:
lsr r0, r0, 18h
lsl r1, r3, 8h
orr r0, r1
lsl r0, r0, 10h
lsr r3, r0, 10h
ldr r0, =0x81AB
cmp r3, r0
bne Check1
ldr r0, [r7, 30h]
add r0, r8
mov r1, 2h
neg r1, r1
str r1, [r0, 0h]
b Branch2
.pool
Check1:
ldr r0, =0x843F
cmp r3, r0
bls Check2
mov r0, r3
bl 8023148h
mov r5, r0
ldr r0, [r7, 30h]
mov r1, r8
add r2, r1, r0
mov r0, 1h
neg r0, r0
cmp r5, r0
beq Cond1
ldr r0, =0x3005848
ldr r1, [r0, 0h]
lsl r0, r5, 2h
b Branch1
.pool
Cond1:
str r5, [r2, 0h]
b Branch2
Check2:
ldr r0, =0x833F
cmp r3, r0
bls Check3
ldr r2, [r7, 30h]
add r2, r8
ldr r0, =0x3005858
ldr r1, [r0, 0h]
lsl r0, r3, 2h
add r0, r0, r1
ldr r1, =0xFFFDF300
b Branch1
.pool
Check3:
ldr r0, =0x823F
cmp r3, r0
bls Check4
ldr r2, [r7, 30h]
add r2, r8
ldr r0, =0x300585C
ldr r1, [r0, 0h]
lsl r0, r3, 2h
add r0, r0, r1
ldr r1, =0xFFFDF700
b Branch1
.pool
Check4:
ldr r0, =0x813F
cmp r3, r0
bls Branch2
ldr r2, [r7, 30h]
add r2, r8
ldr r0, =0x3005850
ldr r1, [r0, 0h]
lsl r0, r3, 2h
add r0, r0, r1
ldr r1, =0xFFFDFB00
b Branch1
.pool
Branch1:
add r0, r0, r1
ldr r0, [r0] ;<---LOADING OF RELATIVE OFFSETS
str r0, [r2] ;<---STORAGE OF RELATIVE OFFSETS
bl RelOffsetToWidth
mov r1, r11 ; running tally of sum of x-coordinates, to auto-center text
add r0, r0, r1
mov r11, r0
b Branch2
.pool
Branch2:
mov r2, 4h
add r8, r2
add r6, 1h
mov r0, r9 ;the mov
ldrh r3, [r0, 0h]
lsl r0, r3, 10h
mov r1, 2h ; increment
add r9, r1
;add r9, r1
cmp r0, 0h
bne NextChar
DoneWithText: ;all done with text
ldr r0, [r7, 30h]
lsl r1, r4, 2h
add r1, r1, r0
sub r0, r6, r4
sub r0, 1h
str r0, [r1] ;store number of chars?
bl WriteNewX
mov r0, r9
add r0, 3h ;r0 = next scriptcode to parse
;restore r12
add sp,4h
pop r1
mov r12,r1
mov r1, 4h
neg r1, r1
and r0, r1 ;align r0 to 4 bytes
;readjust stack
pop r3-r4
mov r8,r3
mov r9,r4
pop r4-r7
pop r1
bx r1
WriteNewX:
;new - overwrite x-coordinate with new AUTO-CENTERED one calculated from r11
mov r1, r11
ldr r0, =0xF0
sub r1, r0, r1
lsr r1, 1h ;calc new x coordinate
ldr r0, [r7, 30h]
mov r3,r0
mov r0,r12
lsl r0,r0,2h
add r0,r0,r3
strb r1,[r0]
bx r14
.pool
.align
InstaText: ;pls work
.include "asm/scriptcode/vwfInstaText.asm"
.word 0x00000000
;generates an additional DMA transfer to get custom
;Minigame Paradise titles in the Obj VRAM
MiniParaTitleHook:
push r14
bl 0x08092030
ldr r0, =MiniParaTitles
ldr r2, =0x1A20
ldr r1, =0x060128E0
bl 0x08092030
pop r1
bx r1
.pool
;custom hook to load minigame titles as 32x8 objs instead of 8x8
;subroutine REPLACES one that parses ASCII (0x08094144)
CreateMiniParaTitleObjs:
;r0 = x, r1 = y, r3 = pal, r4 = order from top of list
push r4-r7,r14
mov r7,r10
mov r6,r9
mov r5,r8
push r5-r7
add sp,-8h
mov r5,r0 ; now r5 contains x-coordinate
mov r0,0x00
mov r10,r0 ; zero out r10 for later (obj count check)
sub r0,0x08
cmp r1,r0
bgt @MinYPassed
b @EndSubroutine
@MinYPassed:
cmp r1,0x9F
ble @YInBounds
b @EndSubroutine
@YInBounds:
mov r6,0xFF
mov r9,r6
mov r0,r9
and r0,r1
mov r9,r0 ; r9 contains (y-coordinate & 0xFF)
lsl r1,r3,0x0C ;OAM nibble handling palette (Attribute 2, bits 12-15)
ldr r0,=0x030038C4
ldrb r0,[r0] ;obj bank
lsr r0,r0,0x02
lsl r0,r0,0x0A
orr r1,r0 ;obj priority - makes text appear on top of BG1
lsl r1,r1,0x10
lsr r1,r1,0x10
mov r8,r1 ; r8 contains obj priority (OAM Attribute 2, bits 10-11) and palette
b CheckObjCount
.pool
ReadMinigameID:
;update cooresponding tiles obj needs to refer to
mov r1,r4
lsl r0,r1,0x01
add r0,r0,r1
lsl r0,r0,0x02 ;minigame index times 12
ldr r1,=0x147
add r0,r0,r1
mov r7,r0 ;
mov r1,r10
sub r1,r1,0x01
lsl r0,r1,0x02
mov r1,r7
add r0,r0,r1
mov r7,r0 ; r7 contains tile number (OAM Attribute 2, bits 0-9)
; taking into account minigame index and current iteration (r10)
; check if x-coord is in bounds
mov r0,0x20
neg r0,r0
cmp r5,r0
ble IncrementX
;code to update obj bank
ldr r0,=0x030038C4
ldrb r0,[r0]
str r3,[sp]
bl 0x080922D4 ; some function that updates an object slot
; returns an address where I can store my OAM attributes into r0
mov r2,r0
ldr r3,[sp]
cmp r2,0x00
beq @EndSubroutine ; check invalid object pointer
;OAM Attribute 1 (2nd one, 1st one is Attr 0)
;r0 is to contain OAM attributes 0 and 1
lsl r0,r5,0x10 ;x-coord
ldr r1,=0x1FF0000
and r0,r1 ; r0 contains: x-coordinate (OAM Attribute 1, bits 0-8, which are bits 16-24 here)
mov r1,0x01
lsl r1,r1,0x1E
orr r0,r1 ; fixed object size (OAM Attribute 1, bits 14-15 [bits 30-31]) Here, size = 1...
mov r1,0x01
lsl r1,r1,0x0E
orr r0,r1 ; 1 = horizontal shape (OAM Attribute 0, bits 14-15)
mov r1,r9 ;y-coord
orr r0,r1 ; r0 also contains: y-coordinate (OAM Attribute 0, bits 0-8)
str r0,[r2] ; finally store the first 2 OAM attributes to that object slot
;OAM Attr 2
mov r0,r8
orr r0,r7
strh r0,[r2,0x04] ; store all of OAM attribute 2 into object slot
IncrementX:
mov r0,0x20
add r5,r5,r0 ;change x coord
b CheckObjCount
.pool
CheckObjCount:
mov r0,r10
add r0,r0,0x01
cmp r0,0x03 ;want to draw three objects per line (that's the graphics space I allocated to each minigame title)
bgt @EndSubroutine
mov r10,r0
b ReadMinigameID
@EndSubroutine:
add sp,0x08
pop r3-r5
mov r8,r3
mov r9,r4
mov r10,r5
pop r4-r7
pop r0
bx r0
.endarea
MenuAddVW:
;r4 contains text, r5 contains x-coord
cmp r4, 0h
beq @NullPtr
push r14
push r0
push r1
sub r4, r4, 2h
ldrh r2,[r4] ;get current character
;reverse the bytes (mimic 0x080231C4)
mov r0, r2
lsr r0, r0, 8h
lsl r1, r2, 8h
orr r0, r1
lsl r0, r0, 10h
lsr r2, r0, 10h ;r2 contains reversed bytes
;PARTIAL, it's a hack
ldr r0, =0x833F
cmp r2, r0
bls @MCheck2
ldr r0, =0x3005858
ldr r1, [r0]
lsl r0, r2, 2h
add r0, r0, r1
ldr r1, =0xFFFDF300
b @MBranch1
.pool
@MCheck2:
ldr r0, =0x823F
cmp r2, r0
bls @MCheck3
ldr r0, =0x0300585C
ldr r1, [r0]
lsl r0, r2, 2h
add r0, r0, r1
ldr r1, =0xFFFDF700
b @MBranch1
.pool
@MCheck3:
ldr r0, =0x813F
cmp r2, r0
bls @MFallthrough
ldr r0, =0x03005850
ldr r1, [r0]
lsl r0, r2, 2h
add r0, r0, r1
ldr r1, =0xFFFDFB00
b @MBranch1
.pool
@MFallthrough:
mov r0, 0x00 ; other characters are zero width
b @MAddWidth
@MBranch1:
add r0, r0, r1
ldr r2, [r0] ;<-- The relative offset I need!!
mov r0, r2
bl RelOffsetToWidth
@MAddWidth:
add r5, r5, r0
add r4, 2h
pop r1
pop r0
ldrh r2, [r4]
pop r14 ; effectively pop r15
@NullPtr:
bx r14
.pool
.align
RelOffsetToWidth:
; enough bit-shifting nonsense,
; just subtract 2E4EB4 - 284F70 from the whole offset,
; then divide by 0x88, and there's your width...
push r1
ldr r1, =0x5FF44
sub r0, r0, r1
mov r1, 0x88
swi 06
mov r1, r0
ldr r0, =NewWidthTable
ldrb r0, [r0,r1]
pop r1
bx r14
.pool
.align
.ifdef __DEBUG__
ResetRankHook:
ldr r0, =0x030005E9
ldrb r0, [r0, 0x00]
mov r5, 0x02
and r0, r5
cmp r0, 0x00
bne @LButtonHeld
@ResetRankHookEnd:
ldr r0, =0x030005A0
add r0, 0x90
bx r14
.pool
@LButtonHeld:
ldr r0, =0x030005A0
add r0, 0x90
ldr r0, [r0, 0x00] ;get pointer to current SRAM file
mov r5, 0x00
strb r5, [r0, 0x09] ;overwrite rank
b @ResetRankHookEnd
.pool
.endif
| 19.530333
| 112
| 0.649499
|
8ef5abe27453c36c7455638503143918e5bdff75
| 787
|
asm
|
Assembly
|
_anim/Bubbles.asm
|
kodishmediacenter/msu-md-sonic
|
3aa7c5e8add9660df2cd0eceaa214e7d59f2415c
|
[
"CC0-1.0"
] | 9
|
2021-01-15T13:47:53.000Z
|
2022-01-17T15:33:55.000Z
|
_anim/Bubbles.asm
|
kodishmediacenter/msu-md-sonic
|
3aa7c5e8add9660df2cd0eceaa214e7d59f2415c
|
[
"CC0-1.0"
] | 7
|
2021-01-14T02:18:48.000Z
|
2021-03-24T15:44:30.000Z
|
_anim/Bubbles.asm
|
kodishmediacenter/msu-md-sonic
|
3aa7c5e8add9660df2cd0eceaa214e7d59f2415c
|
[
"CC0-1.0"
] | 2
|
2021-01-14T13:14:26.000Z
|
2021-01-29T17:46:04.000Z
|
; ---------------------------------------------------------------------------
; Animation script - bubbles (LZ)
; ---------------------------------------------------------------------------
Ani_Bub: dc.w @small-Ani_Bub
dc.w @medium-Ani_Bub
dc.w @large-Ani_Bub
dc.w @incroutine-Ani_Bub
dc.w @incroutine-Ani_Bub
dc.w @burst-Ani_Bub
dc.w @bubmaker-Ani_Bub
@small: dc.b $E, 0, 1, 2, afRoutine ; small bubble forming
even
@medium: dc.b $E, 1, 2, 3, 4, afRoutine ; medium bubble forming
@large: dc.b $E, 2, 3, 4, 5, 6, afRoutine ; full size bubble forming
even
@incroutine: dc.b 4, afRoutine ; increment routine counter (no animation)
@burst: dc.b 4, 6, 7, 8, afRoutine ; large bubble bursts
even
@bubmaker: dc.b $F, $13, $14, $15, afEnd ; bubble maker on the floor
even
| 39.35
| 77
| 0.546379
|
22ae6aa7c3eaa7ea6d4443192fd665d6f9752b7b
| 393
|
asm
|
Assembly
|
programs/oeis/174/A174191.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/174/A174191.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/174/A174191.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A174191: Expansion of (1+x)*(2*x-1)/((1-x)*(x^2+2*x-1)).
; 1,2,3,6,13,30,71,170,409,986,2379,5742,13861,33462,80783,195026,470833,1136690,2744211,6625110,15994429,38613966,93222359,225058682,543339721,1311738122,3166815963,7645370046,18457556053,44560482150,107578520351
add $0,1
mov $3,2
mov $4,1
lpb $0
sub $0,1
mov $5,$3
sub $5,$4
add $2,$5
mov $3,$2
add $2,$5
lpe
add $1,$3
| 24.5625
| 213
| 0.681934
|
fc53654e9c61cc305bf3381343adc561ec5015e3
| 5,536
|
asm
|
Assembly
|
asm/6502/os/storage.asm
|
fcatrin/clc88
|
2af19c3c72ffbbb67eedc347080579acac2c5594
|
[
"MIT"
] | 6
|
2019-04-23T03:32:29.000Z
|
2021-05-03T22:24:05.000Z
|
asm/6502/os/storage.asm
|
rampa069/clc88
|
9da545b0d39f8288cdb1b9dd84835631de8840bf
|
[
"MIT"
] | 1
|
2019-06-16T16:21:54.000Z
|
2019-06-16T16:21:54.000Z
|
asm/6502/os/storage.asm
|
rampa069/clc88
|
9da545b0d39f8288cdb1b9dd84835631de8840bf
|
[
"MIT"
] | 3
|
2019-04-23T03:32:35.000Z
|
2021-04-20T22:53:11.000Z
|
.proc storage_dir_open
; Open Dir
; in: mode in A
; bit 0 - skip hidden files
; bit 1 - skip directories
; bit 2 - use mask at DST_ADDR
; in: dirname at SRC_ADDR
; out: dir handle at STORAGE_DIR_HANDLE
; out: dir size at STORAGE_DIR_SIZE
tax
lda #ST_CMD_DIR_OPEN
jsr storage_write
txa
jsr storage_write ; mode
ldy #0
send_dirname:
lda (SRC_ADDR), y
beq @+
jsr storage_write
iny
bne send_dirname
@:
lda #0
jsr storage_write
; Proceed with command
jsr storage_proceed
jsr storage_read ; length of response. Ignored for now
jsr storage_read ; result of the operation
cmp #ST_RET_SUCCESS
beq read_dir_data
lda #0 ; on failure return Handle = $FF
sta ST_DIR_LENGTH
sta ST_DIR_LENGTH+1
lda #$FF
sta ST_DIR_HANDLE
rts
read_dir_data:
jsr storage_read ; dir handle
sta ST_DIR_HANDLE
jsr storage_read ; dir length
sta ST_DIR_LENGTH
jsr storage_read
sta ST_DIR_LENGTH+1
rts
.endp
.proc storage_dir_close
lda #ST_CMD_DIR_CLOSE
jsr storage_write
lda ST_DIR_HANDLE
jsr storage_write
jsr storage_proceed
lda #$FF
sta ST_DIR_HANDLE
rts
.endp
.proc storage_dir_read
lda #ST_CMD_DIR_READ
jsr storage_write
lda ST_DIR_HANDLE
jsr storage_write
lda ST_DIR_INDEX
jsr storage_write
lda ST_DIR_INDEX+1
jsr storage_write
jsr storage_proceed
jsr storage_read ; length of response. Ignored for now
jsr storage_read
cmp #ST_RET_SUCCESS
beq read_entry
lda #$FF ; on failure return file type = $FF
sta ST_FILE_TYPE
rts
read_entry:
jsr storage_read ; is dir
sta ST_FILE_TYPE
ldx #0
read_entry_size: ; 32 bits for entry size
jsr storage_read
sta ST_FILE_SIZE, x
inx
cpx #4
bne read_entry_size
ldx #0
read_date: ; 8 bytes per date. Format is YYYYMMDD
jsr storage_read
sta ST_FILE_DATE, x
inx
cpx #08
bne read_date
ldx #0
read_time: ; 6 bytes per time. Format is HHMMSS
jsr storage_read
sta ST_FILE_TIME, x
inx
cpx #6
bne read_time
ldx #0
copy_name: ; file name ends with 0. Max size = 128 bytes including the final 0
jsr storage_read
cmp #0
beq name_ends
sta ST_FILE_NAME, x
inx
cpx #127
bne copy_name
lda #0
name_ends:
sta ST_FILE_NAME, x
inw ST_DIR_INDEX
rts
.endp
.proc storage_file_open
; Open File
; in: mode in A
; in: filename at SRC_ADDR
; out: file handle in A or $FF if error
tax
lda #ST_CMD_OPEN
jsr storage_write
txa
jsr storage_write
ldy #0
send_filename:
lda (SRC_ADDR), y
beq @+
jsr storage_write
iny
bne send_filename
@:
lda #0
jsr storage_write
; Proceed with command
jsr storage_proceed
jsr storage_read ; length of response. Ignored at this time
jsr storage_read ; result of the operation
cmp #ST_RET_SUCCESS
beq get_file_handle
lda #$ff
rts
get_file_handle:
jsr storage_read ; file handle
rts
.endp
.proc storage_file_read_byte
; Read byte
; in: file_handle in A
; out: byte read in A
; out: status in X
; statu zero = success
tax
lda #ST_CMD_READ_BYTE
jsr storage_write
txa
jsr storage_write
jsr storage_proceed
jsr storage_read ; length of response. Ignored at this time
jsr storage_read
tax
cmp #ST_RET_SUCCESS
beq read_byte
rts
read_byte:
jsr storage_read
cpx #ST_RET_SUCCESS
rts
.endp
.proc storage_file_read_block
; Read block (256 bytes max)
; in: file_handle in A
; in: destination addr in DST_ADDR
; in: max size in SIZE
; out: bytes read at SIZE (0 = error or not read)
; out: status in X
; internal:
; ROS1 = file_handle
; ROS2 = bytes read block (word)
; ROS4 = bytes read total (word)
sta ROS1
mwa #0 ROS4
read_next_block
mwa #0 ROS2
lda SIZE+1
jeq read_remaining_bytes ; first read 256 bytes blocks then remaining bytes
lda #ST_CMD_READ_BLOCK
jsr storage_write
lda ROS1
jsr storage_write
jsr storage_proceed
jsr storage_read ; length of response. Ignored at this time
jsr storage_read
tax
cpx #ST_RET_SUCCESS
beq read_block
rts
read_block:
jsr storage_read
sta ROS2
ldy #0
copy_block:
jsr storage_read
sta (DST_ADDR), y
iny
cpy ROS2
bne copy_block
lda ROS2
bne not_256
inc ROS3
not_256:
adw DST_ADDR ROS2
adw ROS4 ROS2
sbw SIZE ROS2
lda ROS2
beq read_next_block ; read next block if the full 256 bytes was read
mwa ROS4 SIZE
ldx #0 ; return success with partial block read
rts
read_remaining_bytes:
lda SIZE
beq no_more_bytes
read_next_byte:
lda ROS1
jsr storage_file_read_byte
bne no_more_bytes
ldy #0
sta (DST_ADDR), y
inw DST_ADDR
inw ROS4
dec SIZE
bne read_next_byte
no_more_bytes:
mwa ROS4 SIZE
ldx #0
rts
.endp
.proc storage_file_close
tax
lda #ST_CMD_CLOSE
jsr storage_write
txa
jsr storage_write
jmp storage_proceed
.endp
.proc storage_write
stx ROS0
@:
ldx ST_WRITE_ENABLE
bne @-
sta ST_WRITE_DATA
ldx #$FF
stx ST_WRITE_ENABLE
ldx ROS0
rts
.endp
.proc storage_read
@:
stx ROS0
ldx ST_READ_ENABLE
bne @-
lda ST_READ_DATA
ldx #$FF
stx ST_READ_ENABLE
ldx ROS0
rts
.endp
.proc storage_proceed
sta ST_PROCEED
@:
lda ST_STATUS
cmp #ST_STATUS_DONE
bne @-
rts
.endp
| 17.246106
| 91
| 0.669798
|
b201f6e564256939e86b84c3d423579ed973c028
| 539
|
asm
|
Assembly
|
programs/oeis/236/A236327.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/236/A236327.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/236/A236327.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A236327: a(n)*Pi is the total length of irregular spiral (center points: 1, 2, 3, 4, 5; pattern 2) after n rotations.
; 2,8,19,30,32,38,49,60,62,68,79,90,92,98,109,120,122,128,139,150,152,158,169,180,182,188,199,210,212,218,229,240,242,248,259,270,272,278,289,300,302,308,319,330,332,338,349,360,362,368,379,390,392,398,409,420,422,428,439,450,452,458,469,480,482,488
mov $3,$0
add $3,1
mov $4,$0
lpb $3
mov $0,$4
sub $3,1
sub $0,$3
mod $0,4
mov $2,6
mul $2,$0
mov $5,11
trn $5,$2
gcd $5,10
add $5,1
add $1,$5
lpe
| 26.95
| 249
| 0.640074
|
62cd96ac8862040153e2dfca6d5d9985dcff0df2
| 938
|
asm
|
Assembly
|
hasher/asm/nasm/crc32x86.asm
|
Hitsounds/ShokoServer
|
9b895e425576790107b4240e9a76ed43b05b1750
|
[
"MIT"
] | 183
|
2017-07-19T09:49:32.000Z
|
2022-03-30T00:53:52.000Z
|
hasher/asm/nasm/crc32x86.asm
|
Hitsounds/ShokoServer
|
9b895e425576790107b4240e9a76ed43b05b1750
|
[
"MIT"
] | 331
|
2017-07-17T02:38:31.000Z
|
2022-03-26T21:09:33.000Z
|
hasher/asm/nasm/crc32x86.asm
|
Hitsounds/ShokoServer
|
9b895e425576790107b4240e9a76ed43b05b1750
|
[
"MIT"
] | 68
|
2017-07-24T01:52:47.000Z
|
2022-02-07T20:25:58.000Z
|
SECTION .text
global _crcCalc
align 10h
_crcCalc:
pushad
mov eax, [esp+32+4] ; Load the pointer to dwCrc32
mov ecx, [eax] ; Dereference the pointer to load dwCrc32
mov edi, [esp+32+8] ; Load the CRC32 table
mov esi, [esp+32+12] ; Load buffer
mov ebx, [esp+32+16] ; Load dwBytesRead
lea edx, [esi + ebx] ; Calculate the end of the buffer
crc32loop:
xor eax, eax ; Clear the eax register
mov bl, byte [esi] ; Load the current source byte
mov al, cl ; Copy crc value into eax
inc esi ; Advance the source pointer
xor al, bl ; Create the index into the CRC32 table
shr ecx, 8
mov ebx, [edi + eax * 4] ; Get the value out of the table
xor ecx, ebx ; xor with the current byte
cmp edx, esi ; Have we reached the end of the buffer?
jne crc32loop
mov eax, [esp+32+4] ; Load the pointer to dwCrc32
mov [eax], ecx ; Write the result
popad
ret
| 33.5
| 62
| 0.639659
|
9167cd611fbef0c5e28b682af066f118b359f192
| 464
|
asm
|
Assembly
|
programs/oeis/171/A171435.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/171/A171435.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/171/A171435.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A171435: Product of odd prime factors < n, with multiplicity.
; 1,1,1,1,1,3,1,1,9,5,1,3,1,7,15,1,1,9,1,5,21,11,1,3,25,13,27,7,1,15,1,1,33,17,35,9,1,19,39,5,1,21,1,11,45,23,1,3,49,25,51,13,1,27,55,7,57,29,1,15,1,31,63,1,65,33,1,17,69,35,1,9,1,37,75,19,77,39,1,5,81,41,1,21,85,43,87,11,1,45,91,23,93,47,95,3,1,49,99,25
mov $1,$0
seq $0,89026 ; a(n) = n if n is a prime, otherwise a(n) = 1.
div $1,$0
lpb $1
sub $1,1
mul $1,2
dif $1,4
lpe
mov $0,$1
add $0,1
| 33.142857
| 254
| 0.599138
|
8e53d2e94bb536f9230621622c97cb1acbb32a0d
| 847
|
asm
|
Assembly
|
src/test/ref/forced-zeropage.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/test/ref/forced-zeropage.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/test/ref/forced-zeropage.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
// Test some forced zeropage access
// Commodore 64 PRG executable file
.file [name="forced-zeropage.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segment Basic
:BasicUpstart(main)
.segment Code
main: {
.label __1 = 4
.label u = 2
// u = *(word *)0xA0 - u
sec
lda.z $a0
sbc #<$22b
sta.z u
lda.z $a0+1
sbc #>$22b
sta.z u+1
// *((word*)0x0400) = u
lda.z u
sta $400
lda.z u+1
sta $400+1
// *(byte **)0xD1 + 0xD400
clc
lda.z $d1
adc #<$d400
sta.z __1
lda.z $d1+1
adc #>$d400
sta.z __1+1
// *(byte **)0xF3 = *(byte **)0xD1 + 0xD400
lda.z __1
sta.z $f3
lda.z __1+1
sta.z $f3+1
// }
rts
}
| 19.697674
| 66
| 0.5549
|
a7b250aee65f09b6fd63d7715e28986857c638af
| 5,821
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_753_1190.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_753_1190.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_753_1190.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 %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1b127, %rsi
lea addresses_D_ht+0x10327, %rdi
nop
nop
add $6422, %rbx
mov $106, %rcx
rep movsq
nop
nop
nop
sub %rbp, %rbp
lea addresses_WT_ht+0x182a7, %rsi
lea addresses_WC_ht+0xb727, %rdi
cmp %r11, %r11
mov $77, %rcx
rep movsb
nop
nop
nop
and %rbp, %rbp
lea addresses_UC_ht+0xff7f, %rcx
nop
nop
nop
sub $11452, %r15
mov $0x6162636465666768, %r11
movq %r11, %xmm5
vmovups %ymm5, (%rcx)
nop
nop
nop
nop
xor %rbx, %rbx
lea addresses_normal_ht+0xc7ab, %rbx
nop
nop
nop
nop
dec %r11
vmovups (%rbx), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $1, %xmm2, %rbp
nop
nop
nop
sub $4152, %rdi
lea addresses_WC_ht+0xf527, %r11
add $39955, %rbx
movl $0x61626364, (%r11)
nop
nop
cmp %rcx, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r8
push %r9
push %rax
push %rbp
push %rcx
// Store
lea addresses_A+0x15227, %rax
nop
nop
nop
nop
dec %rbp
movb $0x51, (%rax)
nop
nop
nop
and $44857, %rax
// Store
lea addresses_RW+0x19b27, %r13
clflush (%r13)
nop
nop
nop
nop
add $12836, %rcx
mov $0x5152535455565758, %r11
movq %r11, (%r13)
nop
nop
nop
cmp %r13, %r13
// Store
lea addresses_PSE+0xa596, %r9
nop
nop
dec %r8
mov $0x5152535455565758, %rcx
movq %rcx, %xmm0
vmovups %ymm0, (%r9)
nop
nop
nop
and $8686, %r8
// Store
mov $0xb27, %r13
clflush (%r13)
nop
nop
nop
nop
inc %r9
mov $0x5152535455565758, %rax
movq %rax, %xmm5
movups %xmm5, (%r13)
nop
dec %rcx
// Store
lea addresses_UC+0x4be7, %r8
cmp $5414, %r11
mov $0x5152535455565758, %rcx
movq %rcx, %xmm2
movups %xmm2, (%r8)
nop
nop
nop
nop
sub %r8, %r8
// Faulty Load
lea addresses_PSE+0x8727, %r13
nop
nop
xor $25819, %r11
mov (%r13), %r8
lea oracles, %rax
and $0xff, %r8
shlq $12, %r8
mov (%rax,%r8,1), %r8
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r13
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_PSE', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC', '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': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 9, 'same': True}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 3, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_normal_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 2, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 8, 'same': False}}
{'33': 753}
33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33
*/
| 31.128342
| 2,258
| 0.655557
|
97c4c2a6b6845538dc4c33028b4b609ee8f96349
| 626
|
asm
|
Assembly
|
oeis/010/A010010.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/010/A010010.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/010/A010010.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A010010: a(0) = 1, a(n) = 20*n^2 + 2 for n>0.
; 1,22,82,182,322,502,722,982,1282,1622,2002,2422,2882,3382,3922,4502,5122,5782,6482,7222,8002,8822,9682,10582,11522,12502,13522,14582,15682,16822,18002,19222,20482,21782,23122,24502,25922,27382,28882,30422,32002,33622,35282,36982,38722,40502,42322,44182,46082,48022,50002,52022,54082,56182,58322,60502,62722,64982,67282,69622,72002,74422,76882,79382,81922,84502,87122,89782,92482,95222,98002,100822,103682,106582,109522,112502,115522,118582,121682,124822,128002,131222,134482,137782,141122,144502
pow $1,$0
gcd $1,2
mov $3,$0
mul $3,$0
mov $2,$3
mul $2,20
add $1,$2
mov $0,$1
| 52.166667
| 497
| 0.755591
|
395d79414c60897d22d5bb76b404635b3f291866
| 299
|
asm
|
Assembly
|
libsrc/stdio/conio/screensize.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | null | null | null |
libsrc/stdio/conio/screensize.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | null | null | null |
libsrc/stdio/conio/screensize.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1
|
2019-12-03T23:28:20.000Z
|
2019-12-03T23:28:20.000Z
|
; CALLER linkage for function pointers
SECTION code_clib
PUBLIC screensize
PUBLIC _screensize
EXTERN screensize_callee
EXTERN ASMDISP_SCREENSIZE_CALLEE
.screensize
._screensize
pop af
pop de
pop bc
push bc
push de
push af
jp screensize_callee + ASMDISP_SCREENSIZE_CALLEE
| 14.95
| 51
| 0.779264
|
69dcc153fdb4d690a698af6a4e7f30a5bbde67fd
| 7,350
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2783.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2783.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2783.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 %r15
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x10132, %r11
nop
nop
nop
add $47706, %r15
movb (%r11), %r10b
nop
nop
nop
nop
nop
lfence
lea addresses_WT_ht+0x12206, %rbp
nop
xor $2353, %rbx
mov (%rbp), %edi
nop
nop
nop
nop
nop
cmp %rbx, %rbx
lea addresses_D_ht+0x10b92, %rbp
nop
nop
nop
nop
dec %r15
mov $0x6162636465666768, %rbx
movq %rbx, %xmm5
movups %xmm5, (%rbp)
nop
nop
nop
nop
cmp %r15, %r15
lea addresses_WC_ht+0x6632, %rsi
lea addresses_WC_ht+0x19532, %rdi
clflush (%rdi)
nop
nop
nop
nop
sub %r15, %r15
mov $112, %rcx
rep movsw
nop
nop
xor $40306, %rcx
lea addresses_normal_ht+0x1e532, %rdi
nop
nop
nop
nop
nop
add %rsi, %rsi
mov $0x6162636465666768, %rcx
movq %rcx, %xmm5
vmovups %ymm5, (%rdi)
nop
xor %rbp, %rbp
lea addresses_WC_ht+0x11932, %rbx
nop
nop
add $28325, %r11
movw $0x6162, (%rbx)
nop
nop
nop
nop
sub %rbp, %rbp
lea addresses_WC_ht+0x2932, %rbx
nop
nop
nop
nop
nop
add $20952, %rcx
mov $0x6162636465666768, %r10
movq %r10, %xmm3
movups %xmm3, (%rbx)
nop
nop
nop
nop
and $55828, %r10
lea addresses_UC_ht+0x117aa, %rsi
lea addresses_normal_ht+0x2032, %rdi
nop
nop
nop
nop
xor $50975, %rbp
mov $39, %rcx
rep movsq
and %rdi, %rdi
lea addresses_WC_ht+0x2532, %r11
add %rdi, %rdi
mov (%r11), %rbx
xor %rsi, %rsi
lea addresses_D_ht+0x9548, %rsi
lea addresses_UC_ht+0xefaa, %rdi
nop
nop
nop
xor %rbp, %rbp
mov $44, %rcx
rep movsl
nop
nop
nop
nop
nop
dec %r15
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %r15
pop %r11
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r8
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
// Load
mov $0x932, %rax
nop
nop
nop
add %r8, %r8
mov (%rax), %esi
nop
xor %rsi, %rsi
// Store
lea addresses_RW+0xe132, %r10
nop
dec %rcx
mov $0x5152535455565758, %rsi
movq %rsi, %xmm2
movups %xmm2, (%r10)
nop
and $41625, %rsi
// REPMOV
lea addresses_A+0xbab2, %rsi
lea addresses_PSE+0x13132, %rdi
nop
sub $11729, %rax
mov $16, %rcx
rep movsw
sub $22257, %r8
// Faulty Load
lea addresses_RW+0xe132, %r10
nop
nop
nop
nop
nop
sub $44509, %r8
movups (%r10), %xmm4
vpextrq $1, %xmm4, %rax
lea oracles, %rcx
and $0xff, %rax
shlq $12, %rax
mov (%rcx,%rax,1), %rax
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r8
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_P', 'AVXalign': True, 'congruent': 11, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': True, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_PSE', 'congruent': 11, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_RW', 'AVXalign': False, 'congruent': 0, 'size': 16, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': True, 'congruent': 11, 'size': 1, 'same': False, 'NT': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'AVXalign': False, 'congruent': 2, 'size': 4, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'congruent': 5, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WC_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'congruent': 10, 'size': 32, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 11, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 11, 'size': 16, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_UC_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_normal_ht', 'congruent': 6, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'AVXalign': False, 'congruent': 9, 'size': 8, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_D_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 2, 'same': False}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 33.108108
| 2,999
| 0.657279
|
6f3bc3629573d0bee30d9efe6c037403ca648172
| 6,378
|
asm
|
Assembly
|
astro_ship_shield_code.asm
|
nealvis/astroblast
|
521b5300c4b00d96971ed72106de79e7b9f9250d
|
[
"MIT"
] | null | null | null |
astro_ship_shield_code.asm
|
nealvis/astroblast
|
521b5300c4b00d96971ed72106de79e7b9f9250d
|
[
"MIT"
] | null | null | null |
astro_ship_shield_code.asm
|
nealvis/astroblast
|
521b5300c4b00d96971ed72106de79e7b9f9250d
|
[
"MIT"
] | null | null | null |
//////////////////////////////////////////////////////////////////////////////
// astro_ship_shield_code.asm
// Copyright(c) 2021 Neal Smith.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// The following subroutines should be called from the main engine
// as follows
// ShipShieldInit: Call once before main loop
// ShipShieldStep: Call once every raster frame through the main loop
// ShipShieldStart: Call to start the effect
// ShipShieldForceStop: Call to force effect to stop if it is active
// ShipShieldCleanup: Call at end of program after main loop to clean up
//////////////////////////////////////////////////////////////////////////////
#importonce
#import "astro_ship_shield_data.asm"
#import "astro_ships_code.asm"
//////////////////////////////////////////////////////////////////////////////
// Call once before main loop
ShipShieldInit:
{
lda #$00
sta ship_1_shield_count
sta ship_2_shield_count
rts
}
// ShipShieldInit end
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Call once every raster frame through the main loop.
// will step each ship that is dead
ShipShieldStep:
{
ShipShieldStepTryShip1:
lda ship_1_shield_count
beq ShipShieldStepTryShip2
jsr Ship1ShieldStep
ShipShieldStepTryShip2:
lda ship_2_shield_count
beq ShipShieldStepDone
jsr Ship2ShieldStep
ShipShieldStepDone:
rts
}
// end - ShipShieldStep
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//
Ship1ShieldStep:
{
lda ship_1_shield_count
bne ShipShielding
rts
ShipShielding:
// get zero based frame number into y reg
// then multiply by two to get the index
// into our sprite data ptr address table
lda #SHIP_SHIELD_FRAMES
sec
sbc ship_1_shield_count
cmp #SHIP_SHIELD_ANIMATION_FRAMES
bcs ShieldOnAnimationDone
asl
tay
// y reg now holds zero based index into table of the
// byte that has the LSB of the sprite data ptr
// LSB of sprite's data ptr to x and
// MSB to Accum so we can call the SetDataPtr
ldx shield_sprite_data_ptr_table, y
iny
lda shield_sprite_data_ptr_table, y
jsr ship_1.SetDataPtr
ShieldOnAnimationDone:
ShipShieldDecCount:
dec ship_1_shield_count
bne ShipShieldCountContinues
ShipShieldDone:
// do shield done stuff here
ldx #<sprite_ship
lda #>sprite_ship
jsr ship_1.SetDataPtr
ShipShieldCountContinues:
rts
}
// Ship1ShieldStep end
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//
Ship2ShieldStep:
{
lda ship_2_shield_count
bne ShipShielding
rts
ShipShielding:
// get zero based frame number into y reg
// then multiply by two to get the index
// into our sprite data ptr address table
lda #SHIP_SHIELD_FRAMES
sec
sbc ship_2_shield_count
cmp #SHIP_SHIELD_ANIMATION_FRAMES
bcs ShieldOnAnimationDone
asl
tay
// y reg now holds zero based index into table of the
// byte that has the LSB of the sprite data ptr
// LSB of sprite's data ptr to x and
// MSB to Accum so we can call the SetDataPtr
ldx shield_sprite_data_ptr_table, y
iny
lda shield_sprite_data_ptr_table, y
jsr ship_2.SetDataPtr
ShieldOnAnimationDone:
ShipShieldDecCount:
dec ship_2_shield_count
bne ShipShieldCountContinues
ShipShieldDone:
// do shield done stuff here
ldx #<sprite_ship
lda #>sprite_ship
jsr ship_2.SetDataPtr
ShipShieldCountContinues:
rts
}
// Ship1ShieldStep end
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Call to start the effect
// params:
// accum: set to 1 or 2 for ship 1 or ship 2
ShipShieldStart:
{
ShipShieldStartTryShip1:
cmp #1
bne ShipShieldStartTryShip2
lda #SHIP_SHIELD_FRAMES
sta ship_1_shield_count
rts
ShipShieldStartTryShip2:
cmp #2
bne ShipShieldStartDone
lda #SHIP_SHIELD_FRAMES
sta ship_2_shield_count
ShipShieldStartDone:
rts
}
// ShipShieldStart end subroutine
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Call check if shield is active for specified ship
// subroutine params:
// accum: pass 1 for ship 1, or 2 for ship 2
// Accum: upon return will have a zero if shield not active or nonzero if is
// X Reg: unchanged
// Y Reg: unchanged
ShipShieldIsActive:
{
TryShip1:
pha
and #$01
beq TryShip2
pla
lda ship_1_shield_count
rts
TryShip2:
pla
and #$02
beq Done
lda ship_2_shield_count
Done:
rts
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Call to force effect to stop if it is active
// load accum with 1 for ship 1, or 2 for ship 2 or 3 for both ships
ShipShieldForceStop:
{
TryShip1:
pha
and #$01
beq TryShip2
ldx #$00
stx ship_1_shield_count
// LSB of sprite's data ptr to x and
// MSB to Accum so we can call the SetDataPtr
ldx #<sprite_ship
lda #>sprite_ship
jsr ship_1.SetDataPtr
// fall through and try ship 2
TryShip2:
pla
and #$02
beq Done
ldx #$00
sta ship_2_shield_count
// LSB of sprite's data ptr to x and
// MSB to Accum so we can call the SetDataPtr
ldx #<sprite_ship
lda #>sprite_ship
jsr ship_2.SetDataPtr
Done:
rts
}
// ShipShieldForceStop end
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
// Call at end of program after main loop to clean up
ShipShieldCleanup:
{
lda #3
jsr ShipShieldForceStop
rts
}
// ShipShieldCleanup end
//////////////////////////////////////////////////////////////////////////////
| 25.821862
| 78
| 0.53904
|
bba5be44f8a7f5d40dec322aeb0ed5b88b3fecc6
| 627
|
asm
|
Assembly
|
oeis/036/A036216.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/036/A036216.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/036/A036216.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A036216: Expansion of 1/(1 - 3*x)^4; 4-fold convolution of A000244 (powers of 3).
; 1,12,90,540,2835,13608,61236,262440,1082565,4330260,16888014,64481508,241805655,892820880,3252418920,11708708112,41712272649,147219785820,515269250370,1789882659180,6175095174171,21171754882872,72176437100700,244772264950200,826106394206925,2775717484535268,9287977736714166,30959925789047220,102831182085049695,340406671729819680,1123342016708404944,3696157603363138848,12128017136035299345,39691692445206434220,129581701806409241130,422066114455161528252,1371714871979274966819
mov $1,-3
pow $1,$0
mov $2,-4
bin $2,$0
mul $1,$2
mov $0,$1
| 62.7
| 481
| 0.845295
|
b7cbf0ac302a68ff76e53f1bcb3aac549362baae
| 7,981
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_ht_un_/i9-9900K_12_0xa0_notsx.log_21829_2.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_ht_un_/i9-9900K_12_0xa0_notsx.log_21829_2.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_ht_un_/i9-9900K_12_0xa0_notsx.log_21829_2.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x723b, %r14
nop
nop
nop
nop
nop
cmp %r9, %r9
mov $0x6162636465666768, %r15
movq %r15, %xmm2
vmovups %ymm2, (%r14)
nop
nop
nop
nop
add %rax, %rax
lea addresses_UC_ht+0x15dd7, %r13
nop
sub $1425, %r8
mov $0x6162636465666768, %r9
movq %r9, (%r13)
nop
nop
nop
nop
nop
xor %r14, %r14
lea addresses_WT_ht+0x323b, %rsi
lea addresses_D_ht+0x1e7ab, %rdi
xor %r13, %r13
mov $28, %rcx
rep movsq
nop
nop
nop
sub %rcx, %rcx
lea addresses_WT_ht+0x1e93b, %rsi
lea addresses_WC_ht+0x153b, %rdi
nop
nop
add $47724, %r9
mov $121, %rcx
rep movsb
nop
nop
nop
nop
cmp $20018, %rsi
lea addresses_D_ht+0x1d83b, %rcx
nop
xor $49299, %r9
movb $0x61, (%rcx)
nop
nop
nop
nop
nop
dec %r15
lea addresses_normal_ht+0x11e3b, %r15
nop
nop
add $21161, %rcx
movl $0x61626364, (%r15)
nop
nop
nop
nop
sub $9921, %r9
lea addresses_WT_ht+0x83b, %rsi
xor $40599, %r15
mov $0x6162636465666768, %r14
movq %r14, %xmm6
vmovups %ymm6, (%rsi)
nop
nop
nop
nop
nop
cmp %r9, %r9
lea addresses_D_ht+0x913b, %r15
nop
nop
nop
inc %rcx
movups (%r15), %xmm1
vpextrq $1, %xmm1, %rdi
nop
nop
and %r9, %r9
lea addresses_normal_ht+0x1d63b, %rsi
lea addresses_A_ht+0x4587, %rdi
clflush (%rsi)
nop
nop
nop
dec %r8
mov $28, %rcx
rep movsq
inc %r9
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r8
pop %r15
pop %r14
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r15
push %r8
push %r9
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
// Store
lea addresses_WC+0x172bb, %rbx
nop
nop
nop
nop
nop
xor %r9, %r9
mov $0x5152535455565758, %r8
movq %r8, %xmm0
movups %xmm0, (%rbx)
nop
nop
nop
cmp %rax, %rax
// Store
lea addresses_PSE+0x1f703, %r11
nop
nop
nop
nop
nop
inc %rcx
mov $0x5152535455565758, %r15
movq %r15, (%r11)
nop
nop
nop
dec %r11
// Store
lea addresses_A+0x1681b, %rax
clflush (%rax)
nop
nop
add %r15, %r15
movw $0x5152, (%rax)
nop
nop
nop
nop
sub $22569, %r15
// REPMOV
lea addresses_UC+0xb0bb, %rsi
lea addresses_D+0x110bb, %rdi
nop
inc %r9
mov $102, %rcx
rep movsq
nop
nop
nop
add $28874, %r15
// Load
lea addresses_WC+0x13e2b, %r11
nop
nop
nop
nop
nop
add %rsi, %rsi
movb (%r11), %bl
cmp %rcx, %rcx
// Store
lea addresses_D+0x8e3b, %rdi
nop
nop
nop
nop
and $15464, %r15
movl $0x51525354, (%rdi)
nop
nop
sub %rax, %rax
// Faulty Load
lea addresses_normal+0xd23b, %r9
nop
nop
nop
and %rsi, %rsi
vmovntdqa (%r9), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $1, %xmm2, %r8
lea oracles, %rcx
and $0xff, %r8
shlq $12, %r8
mov (%rcx,%r8,1), %r8
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r9
pop %r8
pop %r15
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_normal', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 0}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'AVXalign': False, 'size': 8, 'NT': False, 'same': False, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'AVXalign': False, 'size': 2, 'NT': False, 'same': False, 'congruent': 3}}
{'src': {'type': 'addresses_UC', 'congruent': 7, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D', 'congruent': 7, 'same': False}}
{'src': {'type': 'addresses_WC', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 3}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'type': 'addresses_D', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 10}}
[Faulty Load]
{'src': {'type': 'addresses_normal', 'AVXalign': False, 'size': 32, 'NT': True, 'same': True, 'congruent': 0}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 11}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'AVXalign': True, 'size': 8, 'NT': False, 'same': False, 'congruent': 2}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_D_ht', 'congruent': 3, 'same': False}}
{'src': {'type': 'addresses_WT_ht', 'congruent': 6, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 1, 'NT': False, 'same': False, 'congruent': 9}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'AVXalign': False, 'size': 4, 'NT': False, 'same': False, 'congruent': 8}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WT_ht', 'AVXalign': False, 'size': 32, 'NT': False, 'same': False, 'congruent': 9}}
{'src': {'type': 'addresses_D_ht', 'AVXalign': False, 'size': 16, 'NT': False, 'same': False, 'congruent': 8}, 'OP': 'LOAD'}
{'src': {'type': 'addresses_normal_ht', 'congruent': 10, 'same': False}, 'OP': 'REPM', 'dst': {'type': 'addresses_A_ht', 'congruent': 0, 'same': False}}
{'08': 2, '72': 4, '44': 8445, '49': 13378}
44 49 49 49 49 49 49 44 44 49 44 49 49 49 44 49 49 44 49 44 49 49 44 49 44 49 44 49 44 49 44 44 44 49 44 49 44 49 44 44 44 49 44 49 49 49 49 49 44 44 49 49 49 49 44 49 49 49 44 49 44 49 49 49 44 49 49 44 49 49 49 49 49 44 44 49 49 49 49 49 44 49 44 49 49 49 49 49 49 44 49 49 44 49 49 49 49 44 49 44 49 44 49 49 44 44 44 44 44 49 44 49 44 44 49 44 49 49 49 49 44 49 44 44 49 49 44 49 49 49 44 44 49 49 49 49 49 49 44 49 49 49 49 49 44 49 49 44 44 49 44 44 49 49 49 44 44 44 44 44 49 49 49 44 49 49 44 49 44 49 49 49 49 44 44 44 49 49 44 49 44 44 49 49 44 44 49 49 44 49 49 49 49 44 44 44 44 49 44 49 44 44 49 49 44 49 44 49 44 49 44 49 49 44 44 49 49 44 49 49 44 44 49 49 44 49 44 44 49 44 49 49 44 49 49 49 49 49 49 49 49 44 49 44 49 44 49 44 44 49 49 44 44 44 44 49 49 44 44 49 49 49 44 49 44 49 44 49 49 44 49 44 49 49 49 49 49 49 44 44 49 49 49 44 44 44 49 44 49 49 49 49 49 44 49 44 49 44 49 44 49 49 49 44 49 49 49 44 49 44 49 44 49 44 49 49 49 49 44 44 49 44 44 49 49 49 49 49 49 49 44 49 49 44 49 49 49 44 49 49 49 44 49 49 44 44 44 49 49 44 49 49 49 49 49 49 49 44 49 44 44 49 49 44 44 49 44 44 49 49 44 49 49 44 49 49 49 49 49 49 44 49 44 44 49 49 49 49 49 49 49 44 44 44 44 49 44 44 44 49 49 44 49 44 44 44 49 44 49 49 44 49 49 49 44 49 49 49 49 44 44 44 49 49 49 44 49 49 49 44 44 49 49 44 44 44 49 49 49 44 49 44 49 49 49 49 49 49 44 49 49 44 49 49 49 44 49 44 44 49 49 49 44 49 44 44 49 44 49 49 49 49 49 49 49 44 49 44 44 49 49 44 44 49 44 49 49 49 49 44 44 49 49 44 44 44 44 49 49 49 49 49 44 44 44 44 44 49 49 49 49 44 49 49 49 44 49 49 49 49 44 49 44 49 49 44 44 44 44 49 49 49 44 49 44 49 44 49 44 44 49 49 44 44 44 44 49 44 49 49 49 44 44 49 44 44 49 44 49 49 49 44 49 49 49 49 49 49 44 49 44 49 44 49 49 44 49 44 44 44 44 44 44 44 49 49 44 49 44 49 44 49 49 49 44 49 49 44 49 49 49 44 49 49 49 44 49 44 44 49 44 49 49 49 49 49 49 49 49 44 44 49 49 49 44 49 49 44 49 49 44 49 49 44 49 49 49 49 49 49 44 44 49 44 49 49 49 49 44 49 49 49 44 49 49 49 49 44 44 49 49 44 49 44 49 49 49 44 44 44 44 44 49 44 49 49 49 49 49 49 44 49 44 44 44 44 44 49 49 49 44 44 49 49 49 44 49 49 49 49 44 49 44 49 44 44 44 49 49 49 49 44 44 44 49 49 49 49 49 49 44 49 49 49 44 49 44 49 49 44 49 49 44 49 44 49 44 49 44 49 44 44 49 44 49 49 49 49 49 49 44 49 44 49 49 49 49 49 44 49 44 49 44 49 49 49 49 44 49 44 49 44 44 44 44 44 44 44 44 44 44 49 49 49 44 49 44 49 49 49 49 44 49 49 44 49 49 49 44 44 44 49 49 49 49 44 49 44 49 44 49 44 49 49 49 44 49 44 49 49 44 44 49 49 49 49 49 49 49 49 44 49 49 49 49 49 49 49 49 49 44 44 49 49 49 49 44 49 49 49 49 49 49 49 49 49 49 44 44 49 49 49 49 44 44 49 44 49 49 44 49 49 44 49 44 44 44 49 49 49 49 44 49 44 44 49 44 49 49 49 44 44 44 44 44 49 44 49 44 49 44 49 49 49 49 44 49 44 49 49 49 49 44 49 44 44 49 49 44 49 49 49 49 49 49 49 44 44 49 49 49 49 49 49 49 49 49 49 49 44 49 44 44 44 44 49 49 49 49 49 49 49 49 49 44 49 49 44 44 49 49 49 49 49 49 49 49 49 44 44 44 49 49 44 49 49 49 49 44 49 44 49 49 44 49 49 49 44 44 49 49 44 49 44 49 44 44 44 49 49
*/
| 30.578544
| 2,999
| 0.65493
|
1d64928c9693c7513d7efda7c43359db73cfba2b
| 792
|
asm
|
Assembly
|
oeis/140/A140163.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/140/A140163.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/140/A140163.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A140163: a(1)=1, a(n) = a(n-1) + n^5 if n odd, a(n) = a(n-1) + n if n is even.
; Submitted by Jamie Morken(s2)
; 1,3,246,250,3375,3381,20188,20196,79245,79255,240306,240318,611611,611625,1371000,1371016,2790873,2790891,5266990,5267010,9351111,9351133,15787476,15787500,25553125,25553151,39902058,39902086,60413235,60413265,89042416,89042448,128177841,128177875,180699750,180699786,250043743,250043781,340267980,340268020,456124221,456124263,603132706,603132750,787660875,787660921,1017005928,1017005976,1299481225,1299481275,1644506526,1644506578,2062702071,2062702125,2565986500,2565986556,3167678613,3167678671
mov $1,1
mov $3,$0
mov $4,$0
lpb $3
mov $0,$4
sub $3,1
sub $0,$3
mov $2,$0
add $0,1
mod $0,2
mul $0,4
add $0,1
add $2,1
pow $2,$0
add $1,$2
lpe
mov $0,$1
| 36
| 501
| 0.739899
|
05caa08d1962262a13dee3e2eb344fdc28b7099a
| 830
|
asm
|
Assembly
|
oeis/142/A142895.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/142/A142895.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/142/A142895.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A142895: Primes congruent to 11 mod 63.
; Submitted by Jon Maiga
; 11,137,263,389,641,1019,1523,1901,2027,2153,2531,2657,2909,3413,3539,3917,4421,4547,4673,4799,5051,5303,5807,6311,6563,6689,7193,7823,7949,8831,9209,9461,9587,9839,10091,10343,10847,10973,11351,11981,12107,12611,13241,13367,13619,13997,14249,14627,14753,14879,15131,15383,15761,15887,16139,17021,17903,18911,19037,19163,19289,19541,19793,19919,20297,20549,21179,21557,21683,22691,22817,22943,23321,23447,24077,24203,24329,25463,25589,25841,26597,26723,26849,27479,27983,28109,29243,29873,30881,31259
mov $1,5
mov $2,$0
add $2,2
pow $2,2
lpb $2
sub $2,1
mov $3,$1
mul $3,2
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,63
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
lpe
mov $0,$1
mul $0,2
sub $0,125
| 34.583333
| 501
| 0.728916
|
0989cb7b12f739677a661537e4d06c52c4751163
| 1,169
|
asm
|
Assembly
|
lib/src/xr/x86/os2/xrnsets.asm
|
zanud/xds-2.60
|
b4a32b9c9c91fe513fa5ff78ec87bb44102a3b72
|
[
"Apache-2.0"
] | 53
|
2019-06-10T18:19:44.000Z
|
2021-12-28T18:56:00.000Z
|
Sources/Lib/src/xr/x86/os2/xrnsets.asm
|
undecidedzogvisvitalispotent8stars360/xds
|
cfd20e209193c9cfcee94ad2ca30d8c32ead48c9
|
[
"Apache-2.0"
] | 5
|
2020-07-10T16:06:48.000Z
|
2021-07-30T07:17:50.000Z
|
Sources/Lib/src/xr/x86/os2/xrnsets.asm
|
undecidedzogvisvitalispotent8stars360/xds
|
cfd20e209193c9cfcee94ad2ca30d8c32ead48c9
|
[
"Apache-2.0"
] | 20
|
2019-06-10T18:09:16.000Z
|
2021-10-02T19:46:42.000Z
|
.386p
.387
; COPYRIGHT (c) 1995,99 XDS. All Rights Reserved.
; Implementation for isWholeNum function
ifdef OS2
.model FLAT
endif
DGROUP group _DATA
_DATA segment use32 dword public 'DATA'
_DATA ends
ifdef OS2
_TEXT segment use32 dword public 'CODE'
else
_TEXT segment use32 para public 'CODE'
endif
; assume cs: _TEXT, ds: DGROUP, gs: nothing, fs: nothing
;PROCEDURE X2C_doROTL(x: BITSET; bits: CARDINAL): BITSET;
public X2C_doROTL
X2C_doROTL proc near
push ecx
mov eax,+8h[esp]
mov ecx,+0ch[esp]
shl eax,cl
pop ecx
ret
X2C_doROTL endp
;PROCEDURE X2C_doROTR(x: BITSET; bits: CARDINAL): BITSET;
public X2C_doROTR
X2C_doROTR proc near
push ecx
mov eax,+8h[esp]
mov ecx,+0ch[esp]
shr eax,cl
pop ecx
ret
X2C_doROTR endp
;PROCEDURE X2C_doASHR(x: BITSET; bits: CARDINAL): BITSET;
public X2C_doASHR
X2C_doASHR proc near
push ecx
mov eax,+8h[esp]
mov ecx,+0ch[esp]
sar eax,cl
pop ecx
ret
X2C_doASHR endp
_TEXT ends
end
| 19.813559
| 73
| 0.60308
|
35ec06a2e70d01fd6169c0673fdde9ab60656277
| 337
|
asm
|
Assembly
|
programs/oeis/004/A004920.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/004/A004920.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/004/A004920.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A004920: Floor of n*phi^5, where phi is the golden ratio, A001622.
; 0,11,22,33,44,55,66,77,88,99,110,121,133,144,155,166,177,188,199,210,221,232,243,255,266,277,288,299,310,321,332,343,354,365,377,388,399,410,421,432,443,454,465,476,487
mov $3,$0
mul $0,7
div $0,79
add $0,6
mov $1,1
mul $1,$0
sub $1,6
mov $2,$3
mul $2,11
add $1,$2
| 24.071429
| 170
| 0.670623
|
d57d13dd6933d7958291c5e1e2ca3151eebd2fd2
| 5,641
|
asm
|
Assembly
|
kernel/asm/vesa.asm
|
pwoolcoc/redox
|
87f5ea23d26502494439cbf2a094bb5102f989b8
|
[
"MIT"
] | null | null | null |
kernel/asm/vesa.asm
|
pwoolcoc/redox
|
87f5ea23d26502494439cbf2a094bb5102f989b8
|
[
"MIT"
] | null | null | null |
kernel/asm/vesa.asm
|
pwoolcoc/redox
|
87f5ea23d26502494439cbf2a094bb5102f989b8
|
[
"MIT"
] | null | null | null |
%include "asm/vesa.inc"
SECTION .text
USE16
vesa:
.getcardinfo:
mov ax, 0x4F00
mov di, VBECardInfo
int 0x10
cmp ax, 0x4F
je .edid
mov eax, 1
ret
.edid:
cmp dword [.required], 0 ;if both required x and required y are set, forget this
jne near .findmode
mov ax, 0x4F15
mov bx, 1
xor cx, cx
xor dx, dx
mov di, VBEEDID
int 0x10
cmp ax, 0x4F
jne near .noedid
xor di, di
.lp:
xor cx, cx
mov cl, [di+VBEEDID.standardtiming]
shl cx, 3
add cx, 248
push ecx
call decshowrm
mov al, 'x'
call charrm
pop ecx
mov bx, cx
inc di
mov al, [di+VBEEDID.standardtiming]
and al, 11000000b
cmp al, VBEEDID.aspect.4.3
jne .not43
mov ax, 3
mul cx
mov cx, ax
shr cx, 2
jmp .gotres
.not43:
cmp al, VBEEDID.aspect.5.4
jne .not54
shl cx, 2
mov ax, cx
mov cx, 5
xor dx, dx
div cx
mov cx, ax
jmp .gotres
.not54:
cmp al, VBEEDID.aspect.16.10
jne .not1610
mov ax, 10
mul cx
mov cx, ax
shr cx, 4
jmp .gotres
.not1610:
mov ax, 9
mul cx
mov cx, ax
shr cx, 4
.gotres:
call decshowrm
mov si, .edidmsg
call printrm
inc di
cmp di, 8
jb .lp
jmp .findmode
.noedid:
mov si, .noedidmsg
call printrm
jmp .findmode
.resetlist:
;if needed, reset mins/maxes/stuff
xor cx, cx
mov [.minx], cx
mov [.miny], cx
mov [.requiredx], cx
mov [.requiredy], cx
mov [.requiredmode], cx
.findmode:
mov si, [VBECardInfo.videomodeptr]
mov ax, [VBECardInfo.videomodeptr+2]
mov fs, ax
sub si, 2
mov cx, [.requiredmode]
test cx, cx
jnz .getmodeinfo
.searchmodes:
add si, 2
mov cx, [fs:si]
cmp cx, 0xFFFF
jne .getmodeinfo
cmp word [.goodmode], 0
je .resetlist
jmp .findmode
.getmodeinfo:
push esi
mov [.currentmode], cx
mov ax, 0x4F01
mov di, VBEModeInfo
int 0x10
pop esi
cmp ax, 0x4F
je .foundmode
mov eax, 1
ret
.foundmode:
;check minimum values, really not minimums from an OS perspective but ugly for users
cmp byte [VBEModeInfo.bitsperpixel], 32
jb .searchmodes
.testx:
mov cx, [VBEModeInfo.xresolution]
cmp word [.requiredx], 0
je .notrequiredx
cmp cx, [.requiredx]
je .testy
jmp .searchmodes
.notrequiredx:
cmp cx, [.minx]
jb .searchmodes
.testy:
mov cx, [VBEModeInfo.yresolution]
cmp word [.requiredy], 0
je .notrequiredy
cmp cx, [.requiredy]
jne .searchmodes ;as if there weren't enough warnings, USE WITH CAUTION
cmp word [.requiredx], 0
jnz .setmode
jmp .testgood
.notrequiredy:
cmp cx, [.miny]
jb .searchmodes
.testgood:
mov cx, [.currentmode]
mov [.goodmode], cx
push esi
call decshowrm
mov al, ':'
call charrm
mov cx, [VBEModeInfo.xresolution]
call decshowrm
mov al, 'x'
call charrm
mov cx, [VBEModeInfo.yresolution]
call decshowrm
mov al, '@'
call charrm
xor ch, ch
mov cl, [VBEModeInfo.bitsperpixel]
call decshowrm
mov si, .modeok
call printrm
xor ax, ax
int 0x16
pop esi
cmp al, 'y'
jne .searchmodes
.setmode:
mov bx, [.currentmode]
cmp bx, 0
je .nomode
or bx, 0x4000
mov ax, 0x4F02
int 0x10
.nomode:
cmp ax, 0x4F
je .returngood
mov eax, 1
ret
.returngood:
xor eax, eax
ret
.minx dw 640
.miny dw 480
.required:
.requiredx dw 0 ;1024 ;USE THESE WITH CAUTION
.requiredy dw 0 ;768
.requiredmode dw 0
.noedidmsg db "EDID not supported.",10,13,0
.edidmsg db " is supported.",10,13,0
.modeok db 10,13,"Is this OK?(y/n)",10,13,0
.goodmode dw 0
.currentmode dw 0
;useful functions
decshowrm:
mov si, .number
.clear:
mov al, "0"
mov [si], al
inc si
cmp si, .numberend
jb .clear
dec si
call convertrm
mov si, .number
.lp:
lodsb
cmp si, .numberend
jae .end
cmp al, "0"
jbe .lp
.end:
dec si
call printrm
ret
.number times 7 db 0
.numberend db 0
convertrm:
dec si
mov bx, si ;place to convert into must be in si, number to convert must be in cx
.cnvrt:
mov si, bx
sub si, 4
.ten4: inc si
cmp cx, 10000
jb .ten3
sub cx, 10000
inc byte [si]
jmp .cnvrt
.ten3: inc si
cmp cx, 1000
jb .ten2
sub cx, 1000
inc byte [si]
jmp .cnvrt
.ten2: inc si
cmp cx, 100
jb .ten1
sub cx, 100
inc byte [si]
jmp .cnvrt
.ten1: inc si
cmp cx, 10
jb .ten0
sub cx, 10
inc byte [si]
jmp .cnvrt
.ten0: inc si
cmp cx, 1
jb .return
sub cx, 1
inc byte [si]
jmp .cnvrt
.return:
ret
printrm:
mov al, [si]
test al, al
jz .return
call charrm
inc si
jmp printrm
.return:
ret
charrm: ;char must be in al
mov bx, 7
mov ah, 0xE
int 10h
ret
; .bestmode: ;preference is width > height > color
; mov bx, [VBEModeInfo.xresolution]
; cmp bx, [.width]
; ja .switchmode
; jb .searchmodes
; mov bx, [VBEModeInfo.yresolution]
; cmp bx, [.height]
; ja .switchmode
; jb .searchmodes
; mov bl, [VBEModeInfo.bitsperpixel]
; cmp bl, [.color]
; jb .searchmodes
; .switchmode:
; mov cx, [.currentmode]
; mov [.mode], cx
; mov bx, [VBEModeInfo.xresolution]
; mov [.width], bx
; mov bx, [VBEModeInfo.yresolution]
; mov [.height], bx
; mov bl, [VBEModeInfo.bitsperpixel]
; mov [.color], bl
; jmp .searchmodes
; .mode dw 0
; .color db 0
; .height dw 0
; .width dw 0
| 18.495082
| 91
| 0.586775
|
562c78b9f966050171338bc7db9d070ea120c6e6
| 773
|
asm
|
Assembly
|
sound/sfxasm/B0.asm
|
NatsumiFox/Sonic-3-93-Nov-03
|
032e4fc25f243636d458639c4a4311caca898f96
|
[
"MIT"
] | 7
|
2019-12-05T00:35:57.000Z
|
2022-02-27T20:00:33.000Z
|
sound/sfxasm/B0.asm
|
NatsumiFox/Sonic-3-93-Nov-03
|
032e4fc25f243636d458639c4a4311caca898f96
|
[
"MIT"
] | null | null | null |
sound/sfxasm/B0.asm
|
NatsumiFox/Sonic-3-93-Nov-03
|
032e4fc25f243636d458639c4a4311caca898f96
|
[
"MIT"
] | null | null | null |
B0_Header:
sHeaderInit ; Z80 offset is $D60B
sHeaderPatch B0_Patches
sHeaderTick $01
sHeaderCh $01
sHeaderSFX $80, $05, B0_FM5, $00, $00
B0_FM5:
sPatFM $00
ssModZ80 $01, $01, $0C, $01
B0_Loop1:
dc.b nC0, $0A
saVolFM $10
sLoop $00, $04, B0_Loop1
sStop
B0_Patches:
; Patch $00
; $F9
; $20, $30, $10, $30, $1F, $1F, $1F, $1F
; $02, $04, $11, $02, $0B, $1F, $10, $05
; $1F, $2F, $4F, $2F, $0E, $07, $04, $80
spAlgorithm $01
spFeedback $07
spDetune $02, $01, $03, $03
spMultiple $00, $00, $00, $00
spRateScale $00, $00, $00, $00
spAttackRt $1F, $1F, $1F, $1F
spAmpMod $00, $00, $00, $00
spSustainRt $02, $11, $04, $02
spSustainLv $01, $04, $02, $02
spDecayRt $0B, $10, $1F, $05
spReleaseRt $0F, $0F, $0F, $0F
spTotalLv $0E, $04, $07, $00
| 20.891892
| 41
| 0.584735
|
fef3e98f138b762fc9e002f7c4869827abe2a04d
| 4,196
|
asm
|
Assembly
|
lib/chibiakumas/SrcMSX/MSX1_V1_VdpMemory.asm
|
gilbertfrancois/msx
|
f34418180820df067530f31bd9727ef1c65a7989
|
[
"Apache-2.0"
] | null | null | null |
lib/chibiakumas/SrcMSX/MSX1_V1_VdpMemory.asm
|
gilbertfrancois/msx
|
f34418180820df067530f31bd9727ef1c65a7989
|
[
"Apache-2.0"
] | null | null | null |
lib/chibiakumas/SrcMSX/MSX1_V1_VdpMemory.asm
|
gilbertfrancois/msx
|
f34418180820df067530f31bd9727ef1c65a7989
|
[
"Apache-2.0"
] | null | null | null |
GetColMemPos: ;Get a BC (XY) color memory pos, 32 chars per line, 8 bytes of color per char,
; this command uses Y as a bitmap line number (0-192), not a tile number (0-24)
push bc
ld a,c
and %11111000
rrca
rrca
rrca
or &20 ;Colors start at &2000
ld h,a
ld a,b
and %00011111
rlca
rlca
rlca
ld b,a
ld a,c
and %00000111
or b
ld l,a
call VDP_SetWriteAddress
pop bc
ret
CopyToVDP: ;Send data to the VDP using OUT commands
push bc
push hl
ex de,hl
call VDP_SetWriteAddress
pop hl
pop bc
inc b
inc c
CopyToVDP2:
ld a,(hl)
out (VdpOut_Data),a
inc hl
dec c
jr nz,CopyToVDP2
dec b
jr nz,CopyToVDP2
ret
ScreenINIT:
ret
DOINIT:
ld a, %00000010 ;mode 2
out (VdpOut_Control),a
ld a,128+0 ;0 - - - - - - M2 EXTVID
out (VdpOut_Control),a
ld a, %01000000 ;(show screen)
out (VdpOut_Control),a
ld a,128+1 ;1 4/16K BL GINT M1 M3 - SI MAG
out (VdpOut_Control),a
ld a, %10011111 ;Color table address ;%10011111=tile mode ; %11111111= bitmap mode
out (VdpOut_Control),a
ld a,128+3 ;3 CT13 CT12 CT11 CT10 CT9 CT8 CT7 CT6
out (VdpOut_Control),a
;in mode 2 control register #3 has a different meaning. Only bit 7 (CT13) sets the CT address.
;Somewhat like control register #4 for the PG, bits 6 - 0 are an ANDmask over the top 7 bits of the character number.
;Set Sprite attrib table to &1B00
ld a,%00110110
out (VdpOut_Control),a
ld a,128+5
out (VdpOut_Control),a
;ld a,%00000000
;out (VdpOut_Control),a
;ld a,128+11
;out (VdpOut_Control),a
;Set Sprite Pattern table to &3800
ld a,%00000111
out (VdpOut_Control),a
ld a,128+6
out (VdpOut_Control),a
ld a, %00000000 ;Pattern table address
out (VdpOut_Control),a
ld a,128+4 ;4 - - - - - PG13 PG12 PG11
out (VdpOut_Control),a
;in mode 2 Only bit 2, PG13, sets the address of the PG (so it's either address 0 or 2000h). Bits 0 and 1 are an AND mask over the character number. The character number is 0 - 767 (2FFh) and these two bits are ANDed over the two highest bits of this value (2FFh is 10 bits, so over bit 8 and 9). So in effect, if bit 0 of control register #4 is set, the second array of 256 patterns in the PG is used for the middle 8 rows of characters, otherwise the first 256 patterns. If bit 1 is set, the third array of patterns is used in the PG, otherwise the first.
ld a, &F0 ;Text color
out (VdpOut_Control),a
ld a,128+7 ;7 TC3 TC2 TC1 TC0 BD3 BD2 BD1 BD0
out (VdpOut_Control),a
ld hl, BitmapFont
ld de, &0000 ; $8000
ld bc, 8*96 ; the ASCII character set: 256 characters, each with 8 bytes of display data
call CopyToVDP ; load tile data
CLS:
ld hl,&1800 ;Set all the tiles to Zero
call VDP_SetWriteAddress
ld bc,&17FF
;ld d,0
FillRpt:
xor a; ;Write a Zero
out (VdpOut_Data),a
dec bc
ld a,b
or c
jr nz, FillRpt
ld hl,&2000 ;Clear all the color info, 8 lines per tile, 32x24 tiles=&1800
call VDP_SetWriteAddress
ld a,0
ld bc,&1800
FillRptnb:
ld a,&F0 ;Foreground / Background... F0=White/Black
out (VdpOut_Data),a
dec bc
ld a,b
or c
jr nz, FillRptnb
ret
VDP_SetReadAddress:
ld C,0 ;Bit 6=0 when reading, 1 when writing
jr VDP_SetAddress
prepareVram:
VDP_SetWriteAddress:
ld C,64 ;&40/64/Bit6
VDP_SetAddress:
ld a, l
out (VdpOut_Control), a
ld a, h
or C
out (VdpOut_Control), a
ret
SetHardwareSprite:
rlca ;4 bytes per sprite
rlca
push bc
push hl
ld h,&1B ;Sprite Attribs start at &1B00
ld l,a
call VDP_SetWriteAddress
pop hl
pop bc
ld a,c
out (VdpOut_Data),a ;y
ld a,B
out (VdpOut_Data),a ;x
ld a,h
out (VdpOut_Data),a ;Pattern
ld a,l
out (VdpOut_Data),a ;Color + 'EC'
;'EC' - early clock - shifts sprite 32 pixels left so sprites can be offscreen left
ld a,%00001000 ;turn on sprites
out (VdpOut_Control),a ;Set up Vram [VR=1] [SPD=SpriteDisable]
ld a,128+8
out (VdpOut_Control),a ;R#8 [MS ] [LP ] [TP ] [CB ] [VR ] [ 0 ] [SPD] [BW ]
ret
| 24.395349
| 558
| 0.641325
|
d980e1c87d4e84ebba64992aa51442e2668c1e89
| 6,020
|
asm
|
Assembly
|
bios/romdrive.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
bios/romdrive.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
bios/romdrive.asm
|
minblock/msdos
|
479ffd237d9bb7cc83cb06361db2c4ef42dfbac0
|
[
"Apache-2.0"
] | null | null | null |
page ,132
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1991
; * All Rights Reserved.
; */
TITLE ROMDRIVE
break macro arg
subttl arg ; bogus macro for include files
endm
; adapted from RAMDRIVE.SYS from MS-DOS 5.0
.xlist
include devsym.inc
include biosseg.inc
.list
include msgroup.inc
SUBTTL <I/O Packet offset declarations>
;
; Define I/O packet offsets for useful values.
;
; SEE ALSO
; MS-DOS Technical Reference manual section on Installable Device Drivers
;
; READ/WRITE PACKET OFFSETS
RW_COUNT EQU WORD PTR (SIZE SRHEAD) + 5
RW_TRANS EQU DWORD PTR (SIZE SRHEAD) + 1
RW_START EQU WORD PTR (SIZE SRHEAD) + 7
; MEDIA CHECK PACKET OFFSETS
MCH_RETVAL EQU BYTE PTR (SIZE SRHEAD) + 1
MCH_MEDIA EQU BYTE PTR (SIZE SRHEAD) + 0
; BUILD BPB PACKET OFFSETS
BPB_BUFFER EQU DWORD PTR (SIZE SRHEAD) + 1
BPB_MEDIA EQU BYTE PTR (SIZE SRHEAD) + 0
BPB_BPB EQU DWORD PTR (SIZE SRHEAD) + 5
SUBTTL <Device header>
ASSUME CS:bios_data,DS:NOTHING,ES:NOTHING,SS:NOTHING
public ptrsavx
public devexit
public rombase
public ssize,seclim,rdrivebpb
public bpb_rd_length
extrn xfer_from_rom:near
extrn ROM$INIT:near
public rdrive
rdrive:
ROMDEV LABEL WORD
DW -1,-1
DEVATS DW DEVOPCL
DW STRATEGY
DW ROM$IN
DB 1 ;1 ROMDRIVE
SUBTTL <Command dispatch table>
;**
;
; This is the device driver command dispatch table.
;
;
ROMTBL LABEL WORD
DB 15 ; Max allowed command code
DW ROM$INIT
DW MEDIA$CHK
DW GET$BPB
DW CMDERR
DW ROM$READ
DW DEVEXIT
DW DEVEXIT
DW DEVEXIT
DW ROM$WRT ; writing not supported, read only
DW ROM$WRT ; writing not supported, read only
DW DEVEXIT
DW DEVEXIT
DW DEVEXIT
DW DEVEXIT
DW DEVEXIT
DW ROM$REM
RDRIVEBPB:
SSIZE DW 512 ; Physical sector size in bytes
CSIZE DB 0 ; Sectors/allocation unit
RESSEC DW 1 ; Reserved sectors for DOS
FATNUM DB 1 ; No. allocation tables
DIRNUM DW 64 ; Number directory entries
SECLIM DW 0 ; Number sectors
DB 0F8H ; Media descriptor
FATSEC DW 1 ; Number of FAT sectors
DW 1 ; Number of sectors per track
DW 1 ; Number of heads
DW 0 ; Number of hidden sectors
; now allocate enough extra bytes so that we can guarantee that
; the amount we read is always divisible by 4. This allows
; actual ROM interface modules to utilize DWORD moves without
; a bunch of extra effort.
db ((offset rdrivebpb - offset $) and 3) dup (0)
bpb_rd_length = (offset $) - (offset rdrivebpb)
SUBTTL <Common Device code>
rombase dd 0
; ROMDRIVE DEVICE ENTRY POINTS - STRATEGY, ROM$IN
ptrsavx DD 0 ; Storage location for packet addr
;** STRATEGY - Device strategy routine
;
STRATP PROC FAR
STRATEGY:
MOV WORD PTR [ptrsavx],BX ; Save packet addr
MOV WORD PTR [ptrsavx+2],ES
RET
STRATP ENDP
;** ROM$IN - Device interrupt routine
;
; ENTRY ptrsavx has packet address saved by previous STRATEGY call.
; EXIT Dispatch to appropriate function handler
; CX = Packet RW_COUNT
; DX = Packet RW_START
; ES:DI = Packet RW_TRANS
; DS = bios_data
; STACK has saved values of all regs but FLAGS
; All function handlers must return through one of
; the standard exit points
; USES FLAGS
;
ROM$IN:
PUSH SI
PUSH AX
PUSH CX
PUSH DX
PUSH DI
PUSH BP
PUSH DS
PUSH ES
PUSH BX
LDS BX,[ptrsavx] ;GET POINTER TO I/O PACKET
;
; Set up registers for READ or WRITE since this is the most common case
;
MOV CX,DS:[BX.RW_COUNT] ;CX = COUNT
MOV DX,DS:[BX.RW_START] ;DX = START SECTOR
MOV AL,DS:[BX.REQFUNC] ; Command code
MOV AH,BYTE PTR [ROMTBL] ; Valid range
CMP AL,AH
JA CMDERR ; Out of range command code
CBW ; Make command code a word
mov si,ax ; get to indexable register
add si,si
les di,ds:[bx.RW_TRANS] ; es:di -> transfer address
jmp cs:word ptr ROMTBL+1[si] ; jump to routine
;** EXIT - ALL ROUTINES RETURN THROUGH ONE OF THESE PATHS
;
; Exit code entry points:
;
;
ROM$WRT:
mov al,0 ; write protect error
jmp short err$exit
CMDERR:
MOV AL,3 ;UNKNOWN COMMAND ERROR
JMP SHORT ERR$EXIT
ERR$CNT:
LDS BX,[ptrsavx]
MOV [BX.RW_COUNT],0 ; NO sectors transferred
ERR$EXIT: ; Error in AL
MOV AH,(STERR + STDON) SHR 8 ;MARK ERROR RETURN
JMP SHORT ERR1
EXITP PROC FAR
DEVEXIT:
MOV AH,STDON SHR 8
ERR1:
LDS BX,[ptrsavx]
MOV [BX.REQSTAT],AX ; Set return status
POP BX
POP ES
POP DS
POP BP
POP DI
POP DX
POP CX
POP AX
POP SI
RET ;RESTORE REGS AND RETURN
EXITP ENDP
;** MEDIA$CHK - Device Driver Media check routine
;
; ROMDRIVE Media check routine. ALWAYS returns media not changed
;
; ENTRY from ROM$IN
; EXIT through DEVEXIT
; USES DS,BX
;
MEDIA$CHK:
LDS BX,[ptrsavx]
MOV [BX.MCH_RETVAL],1 ; ALWAYS NOT CHANGED
JMP DEVEXIT
;** GET$BPB - Device Driver Build BPB routine
;
; ROMDRIVE Build BPB routine. Returns pointer to BPB at RDRIVEBPB
;
; EXIT through DEVEXIT
; USES DS,BX
GET$BPB:
LDS BX,[ptrsavx]
MOV WORD PTR [BX.BPB_BPB],OFFSET RDRIVEBPB
MOV WORD PTR [BX.BPB_BPB + 2],CS
JMP DEVEXIT
;** ROM$REM - Device Driver Removable Media routine
;
; ROMDRIVE Removable Media routine. ALWAYS returns media not removable
; NOTE: This routine is never called if running on DOS 2.X
;
; ENTRY from ROM$IN
; EXIT through ERR1
; USES AX
;
ROM$REM:
MOV AX,STBUI + STDON ; Media NOT removable
JMP ERR1
;** ROM$READ - Device Driver READ routine
;
; ROMDRIVE READ routine. Perform device READ.
;
; ES:DI is transfer address
; CX is sector transfer count
; DX is start sector number
; EXIT through DEVEXIT or ERR$CNT
; USES ALL
;
ROM$READ:
jcxz devexit ; zero sectors, read okay.
xchg ax,dx ; get start sector
mul ssize ; now dx:ax is the start of block
push dx ; save dx for now
mov bx,ax ; get low 16 bits into correct register
mov ax,cx ; get sector count
mul ssize ; get byte count
or dx,dx ; if overflow, use 64k
jz romread1
xor ax,ax ; 0 means 64K
romread1:
mov cx,ax ; pass count in cx
pop dx ; dx:bx is sector address
call xfer_from_rom ; es:di is DMA address
jnc devexit
JMP ERR$CNT
bios_data ENDS
END
| 20
| 75
| 0.707475
|
ff84aff16cee100beec92f94110796b9555fc699
| 2,897
|
asm
|
Assembly
|
src/shaders/h264/mc/writeRecon_YC.asm
|
tizenorg/platform.upstream.libva-intel-driver
|
9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90
|
[
"MIT"
] | null | null | null |
src/shaders/h264/mc/writeRecon_YC.asm
|
tizenorg/platform.upstream.libva-intel-driver
|
9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90
|
[
"MIT"
] | null | null | null |
src/shaders/h264/mc/writeRecon_YC.asm
|
tizenorg/platform.upstream.libva-intel-driver
|
9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90
|
[
"MIT"
] | null | null | null |
/*
* Copyright © <2010>, Intel Corporation.
*
* This program is licensed under the terms and conditions of the
* Eclipse Public License (EPL), version 1.0. The full text of the EPL is at
* http://www.opensource.org/licenses/eclipse-1.0.php.
*
*/
// Kernel name: WriteRecon_YC.asm
//
// $Revision: 10 $
// $Date: 10/03/06 5:28p $
//
//#if !defined(__WRITERECON_YC__) // Make sure this is only included once
//#define __WRITERECON_YC__
// TODO: Merge two inst to one.
mov (1) p0:w nOFFSET_ERRORY:w
mov (1) p1:w nOFFSET_ERRORY+128:w
$for(0; <4; 1) {
mov (16) mbMSGPAYLOADY(%1,0)<1> r[p0,%1*32+0]<8,2>:ub {NoDDClr}
mov (16) mbMSGPAYLOADY(%1,16)<1> r[p0,%1*32+16]<8,2>:ub {NoDDChk}
}
$for(0; <4; 1) {
mov (16) mbMSGPAYLOADY(%1+4,0)<1> r[p0,%1*32+256]<8,2>:ub {NoDDClr}
mov (16) mbMSGPAYLOADY(%1+4,16)<1> r[p0,%1*32+16+256]<8,2>:ub {NoDDChk}
}
#if defined(MBAFF)
add (1) pMSGDSC:ud gFIELDFLAGS:uw MSG_LEN(8)+nDWBWMSGDSC+nBDIX_DESTY+ENWRCOM:ud
#elif defined(FIELD)
add (1) pMSGDSC:ud gFIELDFLAGS:uw MSG_LEN(8)+nDWBWMSGDSC_TF+nBDIX_DESTY+ENWRCOM:ud
#endif
mov (2) gMSGSRC.0<1>:d gX<2;2,1>:w {NoDDClr}
mov (1) gMSGSRC.2:ud 0x000f000f:ud {NoDDChk}
#if defined(FRAME)
send (8) gREG_WRITE_COMMIT_Y<1>:ud mMSGHDRYW gMSGSRC<8;8,1>:ud DAPWRITE MSG_LEN(8)+nDWBWMSGDSC+nBDIX_DESTY+ENWRCOM
#else
send (8) gREG_WRITE_COMMIT_Y<1>:ud mMSGHDRYW gMSGSRC<8;8,1>:ud DAPWRITE pMSGDSC:ud
#endif
#ifndef MONO
// TODO: Why did I use p0?
mov (1) p0:w nOFFSET_ERRORC:w
mov (16) mbMSGPAYLOADC(0,0)<2> r[p0,0]<32;16,2>:ub {NoDDClr}
mov (16) mbMSGPAYLOADC(0,1)<2> r[p0,128]<32;16,2>:ub {NoDDChk}
mov (16) mbMSGPAYLOADC(1,0)<2> r[p0,32]<32;16,2>:ub {NoDDClr}
mov (16) mbMSGPAYLOADC(1,1)<2> r[p0,128+32]<32;16,2>:ub {NoDDChk}
mov (16) mbMSGPAYLOADC(2,0)<2> r[p0,64]<32;16,2>:ub {NoDDClr}
mov (16) mbMSGPAYLOADC(2,1)<2> r[p0,128+64]<32;16,2>:ub {NoDDChk}
mov (16) mbMSGPAYLOADC(3,0)<2> r[p0,96]<32;16,2>:ub {NoDDClr}
mov (16) mbMSGPAYLOADC(3,1)<2> r[p0,128+96]<32;16,2>:ub {NoDDChk}
#if defined(MBAFF)
add (1) pMSGDSC:ud gFIELDFLAGS:uw MSG_LEN(4)+nDWBWMSGDSC+nBDIX_DESTC+ENWRCOM:ud
#elif defined(FIELD)
add (1) pMSGDSC:ud gFIELDFLAGS:uw MSG_LEN(4)+nDWBWMSGDSC_TF+nBDIX_DESTC+ENWRCOM:ud
#endif
asr (1) gMSGSRC.1:d gMSGSRC.1:d 1:w {NoDDClr}
mov (1) gMSGSRC.2:ud 0x0007000f:ud {NoDDChk} // NV12 (16x4)
#if defined(FRAME)
send (8) gREG_WRITE_COMMIT_UV<1>:ud mMSGHDRCW gMSGSRC<8;8,1>:ud DAPWRITE MSG_LEN(4)+nDWBWMSGDSC+nBDIX_DESTC+ENWRCOM
#else
send (8) gREG_WRITE_COMMIT_UV<1>:ud mMSGHDRCW gMSGSRC<8;8,1>:ud DAPWRITE pMSGDSC:ud
#endif // defined(FRAME)
#endif // !defined(MONO)
//#endif // !defined(__WRITERECON_YC__)
| 36.2125
| 125
| 0.627546
|
1cb320477ac85e94a309ad0f9a6091cd452d307d
| 5,969
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1713.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1713.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1713.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 %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x89dc, %rdx
xor $8214, %r11
mov $0x6162636465666768, %r8
movq %r8, %xmm1
and $0xffffffffffffffc0, %rdx
vmovaps %ymm1, (%rdx)
nop
nop
nop
nop
dec %r15
lea addresses_UC_ht+0x75dc, %rsi
lea addresses_WT_ht+0x1dbdc, %rdi
nop
nop
nop
nop
nop
xor $15494, %r15
mov $11, %rcx
rep movsb
nop
nop
nop
nop
xor %rcx, %rcx
lea addresses_WT_ht+0x1bdc, %r8
nop
nop
nop
inc %rdi
movb $0x61, (%r8)
nop
nop
nop
nop
and %rdi, %rdi
lea addresses_WC_ht+0x182c, %r15
clflush (%r15)
nop
and $3844, %rdi
mov $0x6162636465666768, %rsi
movq %rsi, %xmm5
vmovups %ymm5, (%r15)
nop
nop
inc %rsi
lea addresses_UC_ht+0xf1dc, %rdx
nop
nop
nop
nop
nop
cmp %r8, %r8
mov (%rdx), %r11d
nop
nop
cmp $12427, %rcx
lea addresses_WT_ht+0x15694, %r11
nop
nop
nop
nop
nop
and $43305, %rdi
movl $0x61626364, (%r11)
cmp $41654, %r15
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %r8
pop %r15
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
// REPMOV
mov $0xddc, %rsi
lea addresses_US+0x16c1c, %rdi
nop
nop
nop
nop
nop
add $28946, %r10
mov $46, %rcx
rep movsb
nop
nop
nop
nop
nop
dec %rcx
// Load
mov $0x38d56000000001dc, %rax
nop
nop
sub %r12, %r12
movups (%rax), %xmm0
vpextrq $0, %xmm0, %rbx
nop
add %rbx, %rbx
// Faulty Load
lea addresses_A+0xc9dc, %rsi
nop
nop
nop
xor %rbx, %rbx
movb (%rsi), %r12b
lea oracles, %rcx
and $0xff, %r12
shlq $12, %r12
mov (%rcx,%r12,1), %r12
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rax
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'congruent': 0, 'AVXalign': False, 'same': False, 'size': 2, 'NT': False, 'type': 'addresses_A'}, 'OP': 'LOAD'}
{'src': {'congruent': 10, 'same': False, 'type': 'addresses_P'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_US'}}
{'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 16, 'NT': False, 'type': 'addresses_NC'}, 'OP': 'LOAD'}
[Faulty Load]
{'src': {'congruent': 0, 'AVXalign': True, 'same': True, 'size': 1, 'NT': True, 'type': 'addresses_A'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'OP': 'STOR', 'dst': {'congruent': 10, 'AVXalign': True, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WT_ht'}}
{'src': {'congruent': 9, 'same': False, 'type': 'addresses_UC_ht'}, 'OP': 'REPM', 'dst': {'congruent': 6, 'same': False, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 9, 'AVXalign': False, 'same': False, 'size': 1, 'NT': False, 'type': 'addresses_WT_ht'}}
{'OP': 'STOR', 'dst': {'congruent': 4, 'AVXalign': False, 'same': False, 'size': 32, 'NT': False, 'type': 'addresses_WC_ht'}}
{'src': {'congruent': 11, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_UC_ht'}, 'OP': 'LOAD'}
{'OP': 'STOR', 'dst': {'congruent': 3, 'AVXalign': False, 'same': False, 'size': 4, 'NT': False, 'type': 'addresses_WT_ht'}}
{'00': 21829}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 36.845679
| 2,999
| 0.658067
|
4b43278c3fe288ff91ed7e1e73134e9ea44abeea
| 1,399
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/math/float/math32/z80/h32_coeff_expf.asm
|
Frodevan/z88dk
|
f27af9fe840ff995c63c80a73673ba7ee33fffac
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/_DEVELOPMENT/math/float/math32/z80/h32_coeff_expf.asm
|
Frodevan/z88dk
|
f27af9fe840ff995c63c80a73673ba7ee33fffac
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/_DEVELOPMENT/math/float/math32/z80/h32_coeff_expf.asm
|
Frodevan/z88dk
|
f27af9fe840ff995c63c80a73673ba7ee33fffac
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
;
; Extracted from cephes-math
;
; Cephes is a C language library for special functions of mathematical physics
; and related items of interest to scientists and engineers.
; https://fossies.org/
;
; Coefficients from lolremez, to make use of additional accuracy in
; calculation from 32-bit mantissa poly() function.
;
; Approximation of f(x) = exp(x)
; with weight function g(x) = exp(x)
; on interval [ -0.5, 0.5 ]
; with a polynomial of degree 9.
; float f(float x)
; {
; float u = 2.7401157e-6f;
; u = u * x + 2.4972405e-5f;
; u = u * x + 1.984268e-4f;
; u = u * x + 1.388852e-3f;
; u = u * x + 8.3333304e-3f;
; u = u * x + 4.166667e-2f;
; u = u * x + 1.6666667e-1f;
; u = u * x + 5.e-1f;
; u = u * x + 1.f;
; return u * x + 1.f;
; }
;
;-------------------------------------------------------------------------
; Coefficients for expf()
;-------------------------------------------------------------------------
SECTION rodata_fp_math32
PUBLIC _m32_coeff_expf
._m32_coeff_expf
DEFQ 0x3F800000 ; 1.0000000e+0
DEFQ 0x3F800000 ; 1.0000000e+0
DEFQ 0x3F000000 ; 5.0000000e-1
DEFQ 0x3E2AAAAB ; 1.6666667e-1
DEFQ 0x3D2AAAAB ; 4.1666667e-2
DEFQ 0x3C088889 ; 8.3333334e-3
DEFQ 0x3AB60B61 ; 1.3888889e-3
DEFQ 0x395010CA ; 1.9842680e-4
DEFQ 0x37D17BD5 ; 2.4972405e-5
DEFQ 0x3637E2D4 ; 2.7401157e-6
| 29.145833
| 78
| 0.557541
|
e59ec48884b5a994ca5d8110d6cfd83da5d90aa1
| 893
|
asm
|
Assembly
|
programs/oeis/024/A024075.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/024/A024075.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/024/A024075.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A024075: a(n) = 7^n-1.
; 0,6,48,342,2400,16806,117648,823542,5764800,40353606,282475248,1977326742,13841287200,96889010406,678223072848,4747561509942,33232930569600,232630513987206,1628413597910448,11398895185373142,79792266297612000,558545864083284006,3909821048582988048,27368747340080916342,191581231380566414400,1341068619663964900806,9387480337647754305648,65712362363534280139542,459986536544739960976800,3219905755813179726837606,22539340290692258087863248,157775382034845806615042742,1104427674243920646305299200,7730993719707444524137094406,54116956037952111668959660848,378818692265664781682717625942,2651730845859653471779023381600,18562115921017574302453163671206,129934811447123020117172145698448,909543680129861140820205019889142,6366805760909027985741435139224000,44567640326363195900190045974568006,311973482284542371301330321821976048
mov $1,7
pow $1,$0
sub $1,1
mov $0,$1
| 111.625
| 828
| 0.913774
|
567ec83d6ad1a49dd034a68bf403868f0c7744aa
| 259
|
asm
|
Assembly
|
libsrc/input/generic/in_GetKeyReset.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 8
|
2017-01-18T12:02:17.000Z
|
2021-06-12T09:40:28.000Z
|
libsrc/input/generic/in_GetKeyReset.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1
|
2017-03-06T07:41:56.000Z
|
2017-03-06T07:41:56.000Z
|
libsrc/input/generic/in_GetKeyReset.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 3
|
2017-03-07T03:19:40.000Z
|
2021-09-15T17:59:19.000Z
|
; void in_GetKeyReset(void)
; 09.2005 aralbrec
SECTION code_clib
PUBLIC in_GetKeyReset
PUBLIC _in_GetKeyReset
EXTERN _in_KeyDebounce, _in_KbdState
.in_GetKeyReset
._in_GetKeyReset
ld a,(_in_KeyDebounce)
ld e,a
ld d,0
ld (_in_KbdState),de
ret
| 16.1875
| 36
| 0.772201
|
85047d364edb4559ec39289e5e798bbb1a321f61
| 564
|
asm
|
Assembly
|
programs/oeis/162/A162495.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/162/A162495.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/162/A162495.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A162495: Number of reduced words of length n in the icosahedral reflection group [3,5] of order 120.
; 1,3,5,7,9,11,12,12,12,12,11,9,7,5,3,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
mul $0,2
mov $1,6
mov $2,5
mov $4,11
mov $6,27
lpb $0
add $6,6
trn $1,$6
add $1,6
mov $3,8
add $4,5
add $4,$0
mov $0,12
add $4,2
sub $6,6
add $3,$6
add $4,$2
sub $4,$3
add $5,5
add $4,$5
lpe
add $1,6
trn $4,$0
trn $1,$4
| 20.142857
| 211
| 0.544326
|
e0fb6e676bd9d2b04d8db816a7ce17b186f23908
| 1,000
|
asm
|
Assembly
|
7.Extra/Print0ToNum/print-0-to-num.asm
|
KDahir247/X86AssemblyPratice
|
f2f2267f4979e5332c727e49a9b3fb958f366938
|
[
"MIT"
] | 1
|
2021-02-15T00:44:26.000Z
|
2021-02-15T00:44:26.000Z
|
7.Extra/Print0ToNum/print-0-to-num.asm
|
KDahir247/X86AssemblyPratice
|
f2f2267f4979e5332c727e49a9b3fb958f366938
|
[
"MIT"
] | null | null | null |
7.Extra/Print0ToNum/print-0-to-num.asm
|
KDahir247/X86AssemblyPratice
|
f2f2267f4979e5332c727e49a9b3fb958f366938
|
[
"MIT"
] | null | null | null |
.686
.model flat, c
;use microsoft visual c runtime library
includelib msvcrt.lib
;Prevent use o jump instruction (JZ, JNZ, etc...) to have a clean control flow.
;Implementation for this Assembly File
;extern "C" void Print0ToNum();
printf PROTO C, :VARARG
ReceiveInput PROTO C
exit PROTO C, :DWORD
.const
;If you pass a value that is negitive it will be converted to the absolute value
introduction_Byte db 'Enter a unsigned integer to print from 0 to n-1: ',10,0
format_Byte db '%i ',0
.data
currentIndex_DWORD DWORD ?
.code
Print0ToNum proc
push ebp
mov ebp, esp
push ebx
invoke printf, offset [introduction_Byte]
invoke ReceiveInput
;get the absoulte value of abs if negitve
mov edx, eax
neg eax
test eax, eax
cmovs eax, edx
mov ecx, eax
mov ebx,ecx
mov [currentIndex_DWORD], 0
l1:
invoke printf, offset [format_Byte], currentIndex_DWORD
mov ecx, ebx
dec ebx
inc [currentIndex_DWORD]
loop l1
pop ebx
pop ebp
invoke exit, 0
Print0ToNum endp
end
| 15.873016
| 81
| 0.734
|
3acc402ba1f03a1ab2696c50031fe41540c5993c
| 636
|
asm
|
Assembly
|
oeis/187/A187364.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/187/A187364.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/187/A187364.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A187364: Trisection of A000984 (central binomial coefficients): binomial(2(3n+1),3n+1)/2, n>=0.
; 1,35,1716,92378,5200300,300540195,17672631900,1052049481860,63205303218876,3824345300380220,232714176627630544,14226520737620288370,873065282167813104916,53753604366668088230810,3318776542511877736535400,205397724721029574666088520,12738806129490428451365214300,791532924062974587678774064068,49263609265046928387789436527216,3070609578529107968988200404956360,191645966716130525165099506263706416,11975573020964041433067793888190275875,749146650746521593754190788877936298300
mul $0,3
mov $1,1
add $1,$0
add $1,$0
bin $1,$0
mov $0,$1
| 63.6
| 478
| 0.872642
|
7605dd7ff9a15c382d6e87c010b81f306860b64d
| 996
|
asm
|
Assembly
|
programs/oeis/255/A255072.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/255/A255072.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/255/A255072.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A255072: Number of steps to reach 0 starting with n and using the iterated process: x -> x - (number of runs in binary representation of x).
; 0,1,1,2,2,2,3,4,4,4,4,5,5,5,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,11,12,12,12,12,13,13,13,13,14,14,14,14,14,15,15,15,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,20,21,21,21,21,22,22,22,22,23,23,23,23,23,24,24,24,25,25,25,25,25,25,25,26,26,26,26,26,27,27,27,27,28,28,28,28,29,29,29,29,30,30,30,30,30,31,31,31,32,32,32,32,33,33,33,33,34,34,34,34,35,35,35,36,37,37,37,37,38,38,38,38,39,39,39,39,39,40,40,40,41,41,41,41,41,41,41,42,42,42,42,42,43,43,43,43,44,44,44,44,44,44,44,45,45,45,45,45,45,46,46,46,46,47,47,47,47,47,47,48,48,48,48,48,49,49,49,49,50,50,50,50,51,51,51,51,52,52,52,52,52,53,53,53,54,54,54,54,54,54,54,55,55,55,55,55,56,56,56,56,57,57,57,57,58,58,58,58,59,59,59,59,59,60,60,60,61,61,61,61,62,62,62,62,63,63,63
lpb $0
cal $0,236840 ; n minus number of runs in the binary expansion of n: a(n) = n - A005811(n).
add $1,11
lpe
div $1,11
| 110.666667
| 724
| 0.662651
|
5911dcc1f0b587143951146a7741c5ef8a8b01c2
| 382
|
asm
|
Assembly
|
programs/oeis/301/A301461.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/301/A301461.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/301/A301461.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A301461: Number of integers less than or equal to n whose largest prime factor is 3.
; 0,0,0,1,1,1,2,2,2,3,3,3,4,4,4,4,4,4,5,5,5,5,5,5,6,6,6,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11
lpb $0
mov $2,$0
trn $3,2
lpb $2
add $1,$3
div $2,3
mov $3,2
lpe
div $0,2
lpe
div $1,2
| 25.466667
| 184
| 0.575916
|
ac1a0651c76b32d4bc19d369e9fdffca42f7fa2d
| 5,325
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_32_1105.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_32_1105.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_32_1105.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 %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x1c13, %rax
nop
nop
nop
nop
nop
xor $24505, %r9
mov (%rax), %dx
nop
add $64915, %r8
lea addresses_WT_ht+0x17a86, %rsi
lea addresses_UC_ht+0x55a1, %rdi
clflush (%rdi)
nop
nop
and %rbp, %rbp
mov $41, %rcx
rep movsw
and $8083, %r8
lea addresses_WC_ht+0xcca1, %rax
xor $1129, %rcx
mov (%rax), %ebp
nop
nop
nop
nop
nop
and %rcx, %rcx
lea addresses_A_ht+0x11409, %rsi
lea addresses_UC_ht+0x10d89, %rdi
nop
nop
nop
inc %r9
mov $125, %rcx
rep movsw
nop
nop
nop
nop
nop
sub $37655, %r8
lea addresses_WT_ht+0x147a1, %rsi
lea addresses_WC_ht+0x1d7a1, %rdi
nop
nop
nop
nop
nop
and $22521, %rdx
mov $14, %rcx
rep movsq
nop
nop
add $60985, %r8
lea addresses_WT_ht+0x17971, %rsi
lea addresses_UC_ht+0x27a1, %rdi
nop
sub $37479, %r8
mov $37, %rcx
rep movsb
nop
nop
nop
nop
nop
mfence
lea addresses_normal_ht+0xd521, %r8
nop
nop
nop
nop
nop
add $57011, %r9
movb $0x61, (%r8)
nop
cmp %rcx, %rcx
lea addresses_D_ht+0x1b883, %r8
nop
nop
nop
nop
nop
inc %rdi
movb $0x61, (%r8)
nop
add $56833, %rbp
lea addresses_WT_ht+0xada1, %r8
add %rsi, %rsi
vmovups (%r8), %ymm7
vextracti128 $1, %ymm7, %xmm7
vpextrq $1, %xmm7, %rbp
xor $2696, %rdi
lea addresses_WT_ht+0x18da1, %rcx
nop
nop
nop
nop
sub $27371, %rdi
mov (%rcx), %rbp
xor $23065, %r8
lea addresses_A_ht+0x51a1, %rsi
sub %rbp, %rbp
mov $0x6162636465666768, %rcx
movq %rcx, %xmm0
vmovups %ymm0, (%rsi)
nop
xor $48256, %rdx
lea addresses_WC_ht+0x1db21, %rcx
nop
nop
nop
nop
nop
and $11054, %rdx
mov $0x6162636465666768, %rbp
movq %rbp, %xmm6
movups %xmm6, (%rcx)
nop
nop
nop
nop
nop
dec %rdx
lea addresses_UC_ht+0xe8a1, %rdi
and $994, %r9
movb $0x61, (%rdi)
nop
and $61869, %rcx
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r8
ret
.global s_faulty_load
s_faulty_load:
push %r13
push %r14
push %r8
push %rbx
push %rdi
push %rdx
push %rsi
// Store
lea addresses_PSE+0x131a1, %rsi
xor %rdx, %rdx
movw $0x5152, (%rsi)
nop
add $40918, %r13
// Store
mov $0x4bc9310000000da1, %rdx
nop
nop
nop
add %rbx, %rbx
movw $0x5152, (%rdx)
nop
nop
nop
xor %rbx, %rbx
// Store
mov $0xb21, %r13
nop
nop
nop
nop
nop
add $31642, %rdi
mov $0x5152535455565758, %rbx
movq %rbx, %xmm2
vmovups %ymm2, (%r13)
nop
nop
nop
nop
nop
dec %rsi
// Store
lea addresses_A+0x7621, %rdx
nop
nop
nop
xor $59692, %r13
mov $0x5152535455565758, %rdi
movq %rdi, (%rdx)
nop
and %rsi, %rsi
// Faulty Load
mov $0x4bc9310000000da1, %rdx
nop
nop
and %rdi, %rdi
movntdqa (%rdx), %xmm5
vpextrq $1, %xmm5, %r8
lea oracles, %r14
and $0xff, %r8
shlq $12, %r8
mov (%r14,%r8,1), %r8
pop %rsi
pop %rdx
pop %rdi
pop %rbx
pop %r8
pop %r14
pop %r13
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 0, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_PSE', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_NC', 'size': 2, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_P', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_NC', 'size': 16, 'AVXalign': False, 'NT': True, 'congruent': 0, 'same': True}}
<gen_prepare_buffer>
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 2, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 0, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WC_ht', 'size': 4, 'AVXalign': True, 'NT': False, 'congruent': 8, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 3, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 1, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 9, 'same': False}, 'dst': {'type': 'addresses_WC_ht', 'congruent': 7, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_WT_ht', 'congruent': 4, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 9, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_normal_ht', 'size': 1, 'AVXalign': True, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_D_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 1, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 10, 'same': False}}
{'OP': 'LOAD', 'src': {'type': 'addresses_WT_ht', 'size': 8, 'AVXalign': False, 'NT': False, 'congruent': 11, 'same': True}}
{'OP': 'STOR', 'dst': {'type': 'addresses_A_ht', 'size': 32, 'AVXalign': False, 'NT': False, 'congruent': 6, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_WC_ht', 'size': 16, 'AVXalign': False, 'NT': False, 'congruent': 7, 'same': False}}
{'OP': 'STOR', 'dst': {'type': 'addresses_UC_ht', 'size': 1, 'AVXalign': False, 'NT': False, 'congruent': 8, 'same': False}}
{'00': 32}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 20.882353
| 148
| 0.645634
|
c17c8d1fe037bc3c168288bc298296da76cf639f
| 7,567
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_345.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_345.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_345.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x14b74, %rsi
lea addresses_normal_ht+0x1aeb0, %rdi
and $44990, %r11
mov $83, %rcx
rep movsq
nop
nop
xor $7747, %r11
lea addresses_D_ht+0x180f4, %rax
nop
nop
xor %rcx, %rcx
movups (%rax), %xmm5
vpextrq $0, %xmm5, %r8
nop
nop
nop
nop
sub $36972, %rcx
lea addresses_D_ht+0x4244, %r11
nop
nop
and %rcx, %rcx
movw $0x6162, (%r11)
nop
nop
and $49046, %rcx
lea addresses_D_ht+0x30f4, %r8
nop
nop
nop
nop
cmp %r14, %r14
mov $0x6162636465666768, %rcx
movq %rcx, %xmm3
movups %xmm3, (%r8)
nop
sub %rax, %rax
lea addresses_WC_ht+0x153a4, %r11
nop
nop
nop
nop
nop
sub %rax, %rax
movw $0x6162, (%r11)
nop
xor $21641, %r11
lea addresses_D_ht+0x9774, %rsi
nop
nop
nop
nop
nop
cmp %r14, %r14
movb $0x61, (%rsi)
nop
nop
nop
nop
cmp $8326, %rcx
lea addresses_WC_ht+0x18604, %r14
nop
nop
nop
add %r8, %r8
movw $0x6162, (%r14)
nop
nop
xor $18290, %rsi
lea addresses_WT_ht+0x19664, %rdi
nop
xor $52074, %r11
movw $0x6162, (%rdi)
sub %rsi, %rsi
lea addresses_normal_ht+0x1ddf5, %rcx
nop
sub %rdi, %rdi
movl $0x61626364, (%rcx)
cmp %r8, %r8
lea addresses_WT_ht+0x1734, %rsi
nop
dec %r11
movl $0x61626364, (%rsi)
nop
nop
nop
nop
xor %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %rax
pop %r8
pop %r14
pop %r11
ret
.global s_faulty_load
s_faulty_load:
push %r12
push %r13
push %r8
push %rbp
push %rcx
push %rdx
push %rsi
// Load
lea addresses_UC+0xf3e8, %r13
nop
nop
nop
dec %rsi
vmovups (%r13), %ymm6
vextracti128 $1, %ymm6, %xmm6
vpextrq $1, %xmm6, %rbp
nop
nop
nop
and $29261, %rsi
// Store
lea addresses_RW+0x13ead, %rdx
nop
nop
nop
nop
nop
sub %rcx, %rcx
movl $0x51525354, (%rdx)
nop
nop
nop
nop
nop
and %r12, %r12
// Store
lea addresses_WC+0x1f374, %rcx
nop
nop
nop
cmp %r12, %r12
movb $0x51, (%rcx)
nop
add $7380, %r13
// Store
lea addresses_D+0x1db74, %rbp
nop
cmp %rcx, %rcx
movb $0x51, (%rbp)
nop
nop
nop
nop
xor $5970, %r8
// Store
lea addresses_normal+0xd374, %r12
nop
nop
nop
nop
nop
xor %r13, %r13
mov $0x5152535455565758, %rdx
movq %rdx, (%r12)
nop
nop
nop
nop
nop
sub %rbp, %rbp
// Faulty Load
lea addresses_normal+0xd374, %r13
nop
nop
nop
nop
cmp %rsi, %rsi
mov (%r13), %cx
lea oracles, %rbp
and $0xff, %rcx
shlq $12, %rcx
mov (%rbp,%rcx,1), %rcx
pop %rsi
pop %rdx
pop %rcx
pop %rbp
pop %r8
pop %r13
pop %r12
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_normal', 'same': False, 'AVXalign': True, 'congruent': 0}}
{'OP': 'LOAD', 'src': {'size': 32, 'NT': False, 'type': 'addresses_UC', 'same': False, 'AVXalign': False, 'congruent': 2}}
{'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_RW', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_WC', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_D', 'same': False, 'AVXalign': False, 'congruent': 10}}
{'OP': 'STOR', 'dst': {'size': 8, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': False, 'congruent': 0}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'size': 2, 'NT': False, 'type': 'addresses_normal', 'same': True, 'AVXalign': True, 'congruent': 0}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'same': True, 'type': 'addresses_A_ht', 'congruent': 11}, 'dst': {'same': False, 'type': 'addresses_normal_ht', 'congruent': 2}}
{'OP': 'LOAD', 'src': {'size': 16, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'size': 16, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 7}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': True, 'congruent': 3}}
{'OP': 'STOR', 'dst': {'size': 1, 'NT': False, 'type': 'addresses_D_ht', 'same': False, 'AVXalign': False, 'congruent': 9}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WC_ht', 'same': False, 'AVXalign': True, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'size': 2, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 4}}
{'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_normal_ht', 'same': False, 'AVXalign': False, 'congruent': 0}}
{'OP': 'STOR', 'dst': {'size': 4, 'NT': False, 'type': 'addresses_WT_ht', 'same': False, 'AVXalign': False, 'congruent': 5}}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 32.616379
| 2,999
| 0.65191
|
b5782f795d302f38652b41921c112ee48e2074ad
| 880
|
asm
|
Assembly
|
libsrc/cpc/cpc_TestKeyF.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 640
|
2017-01-14T23:33:45.000Z
|
2022-03-30T11:28:42.000Z
|
libsrc/cpc/cpc_TestKeyF.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 1,600
|
2017-01-15T16:12:02.000Z
|
2022-03-31T12:11:12.000Z
|
libsrc/cpc/cpc_TestKeyF.asm
|
jpoikela/z88dk
|
7108b2d7e3a98a77de99b30c9a7c9199da9c75cb
|
[
"ClArtistic"
] | 215
|
2017-01-17T10:43:03.000Z
|
2022-03-23T17:25:02.000Z
|
;
; Amstrad CPC library
; ******************************************************
; ** Librería de rutinas para Amstrad CPC **
; ** Raúl Simarro, Artaburu 2009 **
; ******************************************************
;
; $Id: cpc_TestKeyF.asm $
;
SECTION code_clib
PUBLIC cpc_TestKeyF
PUBLIC _cpc_TestKeyF
;EXTERN cpc_KeysData
EXTERN keymap
EXTERN tabla_teclas
.cpc_TestKeyF
._cpc_TestKeyF
SLA L
inc l
ld h,0
ld de,tabla_teclas
add hl,de
ld a,(HL)
sub $40
ex de,hl
ld hl,keymap ;; lee la línea buscada del keymap
ld c,a
ld b,0
add hl,bc
ld a,(hl)
ex de,hl
DEC hl ; pero sólo nos interesa una de las teclas.
and (HL) ; para filtrar por el bit de la tecla (puede haber varias pulsadas)
CP (hl) ; comprueba si el byte coincide
ld hl,0
ret z
inc l
ret
| 19.555556
| 80
| 0.530682
|
9c5e9b51ba731bbb51d5626a5c2ccd6d0b180d71
| 4,688
|
asm
|
Assembly
|
testbed.asm
|
kieranhj/vgm-player-bbc
|
ff8281069f571c4669972aa693a0e2818b90b0d2
|
[
"MIT"
] | 3
|
2021-05-22T23:38:51.000Z
|
2021-11-30T21:23:46.000Z
|
testbed.asm
|
simondotm/bbc-vgmplayer
|
ff8281069f571c4669972aa693a0e2818b90b0d2
|
[
"MIT"
] | 1
|
2020-04-09T22:17:26.000Z
|
2020-04-09T22:17:26.000Z
|
testbed.asm
|
simondotm/bbc-vgmplayer
|
ff8281069f571c4669972aa693a0e2818b90b0d2
|
[
"MIT"
] | 3
|
2019-06-02T04:02:14.000Z
|
2020-05-19T11:22:57.000Z
|
;******************************************************************
; 6502 BBC Micro Compressed VGM (VGC) Music Player
; By Simon Morris
; https://github.com/simondotm/vgm-player-bbc
; https://github.com/simondotm/vgm-packer
;******************************************************************
; Allocate vars in ZP
.zp_start
ORG &70
GUARD &8f
;----------------------------------------------------------------------------------------------------------
; Common code headers
;----------------------------------------------------------------------------------------------------------
; Include common code headers here - these can declare ZP vars from the pool using SKIP...
INCLUDE "lib/vgcplayer_config.h.asm"
INCLUDE "lib/vgcplayer.h.asm"
INCLUDE "lib/exomiser.h.asm"
.zp_end
\ ******************************************************************
\ * Utility code - always memory resident
\ ******************************************************************
ORG &3000
GUARD &7c00
.vgc_test_start
;----------------------------
;-------------------------------------------
; main VGC TEST
;-------------------------------------------
ALIGN 256
.performance_test
{
; initialize the vgm player with a vgc data stream
lda #hi(vgm_stream_buffers)
ldx #lo(vgm_data)
ldy #hi(vgm_data)
clc ; clear carry to disable looping
jsr vgm_init
.loop
jsr vgm_update
pha
inc vgc_test_counter+0
bne nohi
inc vgc_test_counter+1
.nohi
pla
beq loop
lda #67:jsr&ffee
lda vgc_test_counter+0
sta &70
lda vgc_test_counter+1
sta &71
rts
}
.vgc_test_counter EQUW 0
ALIGN 256
.decode_bytes
; initialize the vgm player with a vgc data stream
lda #hi(vgm_stream_buffers)
ldx #lo(vgm_data)
ldy #hi(vgm_data)
clc ; clear carry to disable looping
jsr vgm_init
rts
ALIGN 256
.decode_update
jsr vgm_update
pha
lda vgm_fx + 0
sta decoded_data + 0
lda vgm_fx + 1
sta decoded_data + 1
lda vgm_fx + 2
sta decoded_data + 2
lda vgm_fx + 3
sta decoded_data + 3
lda vgm_fx + 4
sta decoded_data + 4
lda vgm_fx + 5
sta decoded_data + 5
lda vgm_fx + 6
sta decoded_data + 6
lda vgm_fx + 7
sta decoded_data + 7
lda vgm_fx + 8
sta decoded_data + 8
lda vgm_fx + 9
sta decoded_data + 9
lda vgm_fx + 10
sta decoded_data + 10
pla
rts
ALIGN 256
.decoded_data
SKIP 11
.decode_bytes_end
.performance_test_end
.vgm_buffer_start
; reserve space for the vgm decode buffers (8x256 = 2Kb)
ALIGN 256
.vgm_stream_buffers
skip 256
skip 256
skip 256
skip 256
skip 256
skip 256
skip 256
skip 256
.vgm_buffer_end
; include your tune of choice here, some samples provided....
.vgm_data
INCBIN "music/vgc/song_091.vgc"
;INCBIN "music/vgc/axelf.vgc"
;INCBIN "music/vgc/bbcapple.vgc"
;INCBIN "music/vgc/nd-ui.vgc"
;INCBIN "music/vgc/outruneu.vgc"
;INCBIN "music/vgc/ym_009.vgc"
;INCBIN "music/vgc/test_bbc.vgc"
;INCBIN "music/vgc/acid_demo.vgc"
; code routines
INCLUDE "lib/vgcplayer.asm"
.vgc_test_end
PRINT ~vgm_data
PRINT "PERFORMANCE TEST = ", ~performance_test
PRINT "DECODE INIT = ", ~decode_bytes
PRINT "DECODE UPDATE = ", ~decode_update
PRINT "DECODE DATA = ", ~decoded_data
SAVE "VGCTEST", vgc_test_start, vgc_test_end, performance_test
PUTBASIC "basic/dump.bas", "DUMP"
PUTBASIC "basic/perftest.bas", "TEST"
;-------------------------------------------
; main VGM TEST
;-------------------------------------------
CLEAR &3000, &7C00
ORG &3000
.vgm_test_start
.vgm_test_main
{
LDX #LO(vgm_test_data)
LDY #HI(vgm_test_data)
JSR vgm_init_stream
.loop
jsr vgm_poll_player
LDA vgm_player_ended ; non zero if true
pha
inc vgm_test_counter+0
bne nohi
inc vgm_test_counter+1
.nohi
pla
beq loop
lda #67:jsr&ffee
lda vgm_test_counter+0
sta &70
lda vgm_test_counter+1
sta &71
rts
}
.vgm_test_counter EQUW 0
INCLUDE "lib/exomiser.asm"
INCLUDE "lib/vgmplayer.asm"
.vgm_test_data
INCBIN "music/vgm_out/Chris Kelly - SMS Power 15th Anniversary Competitions - Collision Chaos.bin.exo"
;PUTFILE "music/vgm_out/BotB 16433 Slimeball - Fluid Dynamics.bin.exo", "V.FLUID", &3000, &3000
;PUTFILE "music/vgm_out/ne7-magic_beansmaster_system_psg.bin.exo", "V.MAGIC", &3000, &3000
;PUTFILE "music/vgm_out/Chris Kelly - SMS Power 15th Anniversary Competitions - Collision Chaos.bin.exo", "V.CHAOS", &3000, &3000
.vgm_test_end
SAVE "VGMTEST", vgm_test_start, vgm_test_end, vgm_test_main
PRINT "Vgm Player Size = ", (vgm_player_end-vgm_player_start)
PRINT "Exo Compressor Size = ", (exo_end-exo_start)
| 18.677291
| 129
| 0.593857
|
64b7d995a8bdb01d56a26ea3854d42c7d7fe2c15
| 445
|
asm
|
Assembly
|
oeis/099/A099615.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/099/A099615.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/099/A099615.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A099615: Triangle read by rows, 2<=k<=n: T(n,k) = denominator of (1+1/n)^k-(1+k/n) and of (1-1/n)^k-(1-k/n).
; Submitted by Christian Krause
; 4,9,27,16,64,256,25,125,625,3125,36,216,1296,7776,46656,49,343,2401,16807,117649,823543,64,512,4096,32768,262144,2097152,16777216,81,729,6561,59049,531441,4782969,43046721,387420489,100,1000,10000,100000
add $0,2
mov $1,1
lpb $0
add $1,1
mov $2,$0
trn $0,$1
add $0,1
lpe
pow $1,$2
mov $0,$1
| 29.666667
| 205
| 0.674157
|
c182f0d6ef6b2174d1e526a4e9501186c8636313
| 225
|
asm
|
Assembly
|
src/main/fragment/mos6502-common/pdsm1_derefidx_vbuyy=pdsm2_derefidx_vbuyy_plus_vdsm3.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | 2
|
2022-03-01T02:21:14.000Z
|
2022-03-01T04:33:35.000Z
|
src/main/fragment/mos6502-common/pdsm1_derefidx_vbuyy=pdsm2_derefidx_vbuyy_plus_vdsm3.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
src/main/fragment/mos6502-common/pdsm1_derefidx_vbuyy=pdsm2_derefidx_vbuyy_plus_vdsm3.asm
|
jbrandwood/kickc
|
d4b68806f84f8650d51b0e3ef254e40f38b0ffad
|
[
"MIT"
] | null | null | null |
lda {m2}
sta $fc
lda {m2}+1
sta $fd
lda {m1}
sta $fe
lda {m1}+1
sta $ff
clc
lda ($fc),y
adc {m3}
sta ($fe),y
iny
lda ($fc),y
adc {m3}+1
sta ($fe),y
iny
lda ($fc),y
adc {m3}+2
sta ($fe),y
iny
lda ($fc),y
adc {m3}+3
sta ($fe),y
| 9.375
| 11
| 0.555556
|
d36bd3dc02de36bee41b534f95a764ae9344fae1
| 2,210
|
asm
|
Assembly
|
TestData/queens.32.asm
|
robertmuth/Cwerg
|
fdf30b06c93b4620c0a45b448b6d92acb81c35f0
|
[
"Apache-2.0"
] | 171
|
2020-01-30T16:58:07.000Z
|
2022-03-27T22:12:17.000Z
|
TestData/queens.32.asm
|
robertmuth/Cwerg
|
fdf30b06c93b4620c0a45b448b6d92acb81c35f0
|
[
"Apache-2.0"
] | 14
|
2021-05-15T02:12:09.000Z
|
2022-03-16T04:16:18.000Z
|
TestData/queens.32.asm
|
robertmuth/Cwerg
|
fdf30b06c93b4620c0a45b448b6d92acb81c35f0
|
[
"Apache-2.0"
] | 5
|
2021-03-01T20:52:13.000Z
|
2022-03-07T06:35:03.000Z
|
# classic n-queens puzzle
# requires std_lib.asm
.mem LINE 4 RO
.data 1 "\n========================================"
.mem BOARD 4 RW
.data 64 [32] # 32 = space
.mem XCOORDS 4 RW
.data 8 [0]
.mem COUNTER 4 RW
.data 4 [0]
# ========================================
.fun dump NORMAL [] = []
.bbl start
.reg U32 [i dim count len]
# inc counter
lea counter:A32 = COUNTER
ld count = counter 0
add count = count 1
st counter 0 = count
mov len 9
lea line:A32 = LINE
pusharg len
pusharg line
bsr print_ln
lea board:A32 = BOARD
mov dim = 8
mov i = 0
.bbl loop
pusharg dim
pusharg board
bsr print_ln
lea board = board dim
add i = i 1
blt i 8 loop
ret
# ========================================
.fun conflict NORMAL [U8] = [U8]
.reg A32 [board xcoords]
.reg U8 [lastx i x d1 d2 res y]
.bbl start
poparg y
beq y 0 success
lea xcoords = XCOORDS
ld lastx = xcoords y
mov i = 0
.bbl loop
ld x = xcoords i
beq x lastx conflict
sub d1 = y i
sub d2 = lastx x
ble x lastx ok
sub d2 = x lastx
.bbl ok
beq d1 d2 conflict
add i = i 1
blt i y loop
.bbl success
mov res 0
pusharg res
ret
.bbl conflict
mov res 1
pusharg res
ret
# ========================================
.fun solve NORMAL [] = [U8]
.reg U8 [i pos queen empty tmp res y]
.reg A32 [board xcoords]
.bbl start
poparg y
blt y 8 cont
bsr dump
ret
.bbl cont
mov empty = 32
mov queen = 42
lea xcoords = XCOORDS
lea board = BOARD
mov i = 0
.bbl loop
mul pos = y 8
add pos = pos i
st board pos = queen
#bsr dump [] = []
st xcoords y = i
pusharg y
bsr conflict
poparg res
beq res 1 next
add y = y 1
pusharg y
bsr solve
sub y = y 1
.bbl next
st board pos = empty
add i = i 1
blt i 8 loop
ret
# ========================================
.fun main NORMAL [S32] = []
.reg A32 [board counter]
.bbl start
pusharg 0:U8
bsr solve
lea counter = COUNTER
ld count:U32 = counter 0
pusharg count
bsr print_u_ln
pusharg 0:S32
ret
| 17.265625
| 52
| 0.513575
|
1667ea2049abefad890f4b7eceee800350a5ee02
| 500
|
asm
|
Assembly
|
programs/oeis/066/A066606.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/066/A066606.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/066/A066606.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A066606: a(n) = 2^n mod n^2.
; 0,0,8,0,7,28,30,0,26,24,112,64,80,116,143,0,155,28,116,176,197,444,255,64,57,316,80,128,60,424,374,0,602,616,18,784,76,460,944,576,207,1324,303,1600,782,1016,1929,1792,2382,124,1844,2512,1009,568,1693,704,1376,236,946,3376,673,1492,1079,0,357,856,1342,288,1457,324,286,2944,2849,300,818,3664,3791,2872,3004,5376,4616,824,1081,3088,2157,1208,5750,4480,1070,4024,765,8112,4472,7712,2293,4096,1651,7564,215,5376
add $0,1
mov $1,2
pow $1,$0
pow $0,2
mod $1,$0
mov $0,$1
| 50
| 410
| 0.71
|
7b6f655107b8ab539e4f02d040382088b687600a
| 284
|
asm
|
Assembly
|
programs/oeis/176/A176636.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/176/A176636.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/176/A176636.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A176636: Periodic sequence: Repeat 57, 71.
; 57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57,71,57
mod $0,2
mul $0,14
add $0,57
| 40.571429
| 208
| 0.661972
|
7139f4bc1d49373403f0d021008eee3746a83d09
| 1,011
|
asm
|
Assembly
|
games/Giftpia/Main.asm
|
BttrDrgn/GC-Translation
|
4d9feab9523bc49c5b23542e28565bc50c1152c7
|
[
"Unlicense"
] | 1
|
2022-03-27T09:03:45.000Z
|
2022-03-27T09:03:45.000Z
|
games/Giftpia/Main.asm
|
BttrDrgn/GC-Translation
|
4d9feab9523bc49c5b23542e28565bc50c1152c7
|
[
"Unlicense"
] | null | null | null |
games/Giftpia/Main.asm
|
BttrDrgn/GC-Translation
|
4d9feab9523bc49c5b23542e28565bc50c1152c7
|
[
"Unlicense"
] | null | null | null |
// GameCube "Giftpia" Japanese To English Translation by krom (Peter Lemon):
endian msb // GameCube PPC requires Big-Endian Encoding (Most Significant Bit)
output "../../output/Giftpia [U].iso", create
origin $000000; insert "../../isos/Giftpia [J].iso" // Include Japanese Giftpia ISO
macro Text(OFFSET, TEXT) {
map 0, 0, 256 // Map Default ASCII Chars
origin {OFFSET}
db {TEXT} // ASCII Text To Print
}
macro TextShiftJIS(OFFSET, TEXT) {
// Map Shift-JIS Words
map ' ', $8140
map $2C, $8143 // Comma ","
map '.', $8144
map ':', $8146
map '?', $8148
map '!', $8149
map '~', $8160
map '\s', $8166 // Single Quote "'"
map '\d', $8168 // Double Quote '"'
map '+', $817B
map '&', $8195
map '0', $824F, 10 // Map Numbers
map 'A', $8260, 26 // Map English "Upper Case" Characters
map 'a', $8281, 26 // Map English "Lower Case" Characters
origin {OFFSET}
dw {TEXT} // Shift-JIS Text To Print
}
//Region
Text($3, "E")
include "Banner.asm"
include "Menus.asm"
| 25.275
| 83
| 0.612265
|
9dcb62f6e56f5883488cda1ad60ee9144e298c23
| 347
|
asm
|
Assembly
|
programs/oeis/131/A131234.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | 1
|
2021-03-15T11:38:20.000Z
|
2021-03-15T11:38:20.000Z
|
programs/oeis/131/A131234.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/131/A131234.asm
|
jmorken/loda
|
99c09d2641e858b074f6344a352d13bc55601571
|
[
"Apache-2.0"
] | null | null | null |
; A131234: Starts with 1, then n appears Fibonacci(n-1) times.
; 1,2,3,4,4,5,5,5,6,6,6,6,6,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10
pow $0,2
mov $2,1
lpb $0
mul $0,3
div $0,8
add $1,$2
lpe
add $1,1
| 28.916667
| 210
| 0.587896
|
acdcbd53037e8cbf619db337c6607429b9bbea41
| 623
|
asm
|
Assembly
|
programs/oeis/065/A065383.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/065/A065383.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/065/A065383.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A065383: a(n) = smallest prime >= n*(n + 1)/2.
; 2,2,3,7,11,17,23,29,37,47,59,67,79,97,107,127,137,157,173,191,211,233,257,277,307,331,353,379,409,439,467,499,541,563,599,631,673,709,743,787,821,863,907,947,991,1039,1087,1129,1181,1229,1277,1327,1381,1433,1487,1543,1597,1657,1721,1777,1831,1901,1973,2017,2081,2153,2213,2281,2347,2417,2503,2557,2633,2707,2777,2851,2927,3011,3083,3163,3251,3323,3407,3491,3571,3659,3761,3833,3917,4007,4099,4201,4283,4373,4481,4561,4657,4759,4861,4951
mov $2,$0
mul $2,$0
add $2,$0
div $2,2
lpb $2
lpb $0
add $1,1
gcd $0,$1
lpe
sub $2,1
mul $0,$2
lpe
add $1,2
mov $0,$1
| 34.611111
| 438
| 0.685393
|
3fa46b024b50ede9d1f0dfb69aa34a3ea2e38100
| 1,845
|
asm
|
Assembly
|
src/cpu/gdt.asm
|
programble/happy
|
3664c7d289d85134952175bb96bc65f33503a58d
|
[
"0BSD"
] | 1
|
2016-12-22T16:28:44.000Z
|
2016-12-22T16:28:44.000Z
|
src/cpu/gdt.asm
|
programble/happy
|
3664c7d289d85134952175bb96bc65f33503a58d
|
[
"0BSD"
] | null | null | null |
src/cpu/gdt.asm
|
programble/happy
|
3664c7d289d85134952175bb96bc65f33503a58d
|
[
"0BSD"
] | null | null | null |
global gdt.init
global gdt.table, gdt.table.null, gdt.table.code, gdt.table.data, gdt.table.#
Type:
.DATA: equ 0000_0000b
.CODE: equ 0000_1000b
.A: equ 0000_0001b
.W: equ 0000_0010b
.E: equ 0000_0100b
.R: equ 0000_0010b
.C: equ 0000_0100b
Access:
.S: equ 0001_0000b
.DPL0: equ 0000_0000b
.DPL1: equ 0010_0000b
.DPL2: equ 0100_0000b
.DPL3: equ 0110_0000b
.P: equ 1000_0000b
Flags:
.L: equ 0010_0000b
.D: equ 0100_0000b
.B: equ 0100_0000b
.G: equ 1000_0000b
struc SegmentDescriptor
.limitLow: resw 1
.baseLow: resw 1
.baseMid: resb 1
.typeAccess: resb 1
.limitHighFlags: resb 1
.baseHigh: resb 1
endstruc
struc Gdt
.limit: resw 1
.base: resd 1
endstruc
section .data
gdt.table:
.null:
dq 0
.code:
istruc SegmentDescriptor
at SegmentDescriptor.limitLow, dw 0FFFFh
at SegmentDescriptor.baseLow, dw 0
at SegmentDescriptor.baseMid, db 0
at SegmentDescriptor.typeAccess, db Type.CODE | Type.R | Access.S | Access.DPL0 | Access.P
at SegmentDescriptor.limitHighFlags, db 0Fh | Flags.D | Flags.G
at SegmentDescriptor.baseHigh, db 0
iend
.data:
istruc SegmentDescriptor
at SegmentDescriptor.limitLow, dw 0FFFFh
at SegmentDescriptor.baseLow, dw 0
at SegmentDescriptor.baseMid, db 0
at SegmentDescriptor.typeAccess, db Type.DATA | Type.W | Access.S | Access.DPL0 | Access.P
at SegmentDescriptor.limitHighFlags, db 0Fh | Flags.B | Flags.G
at SegmentDescriptor.baseHigh, db 0
iend
.#: equ $ - gdt.table
gdt.gdt:
istruc Gdt
at Gdt.limit, dw gdt.table.# - 1
at Gdt.base, dd gdt.table
iend
section .text
gdt.init: ; : : ax
lgdt [gdt.gdt]
mov ax, gdt.table.data - gdt.table
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax
jmp (gdt.table.code - gdt.table):.ret
.ret:
ret
| 22.5
| 96
| 0.679133
|
9d4dbb5502e9c15365174829f47a739d0107d370
| 828
|
asm
|
Assembly
|
bin/JWASM/Samples/Win64_6p.asm
|
Abd-Beltaji/ASMEMU
|
4122099e188e951357407152c4666346e45871d3
|
[
"MIT"
] | 3
|
2022-03-08T16:53:42.000Z
|
2022-03-18T21:55:57.000Z
|
bin/JWASM/Samples/Win64_6p.asm
|
Abd-Beltaji/ASMEMU
|
4122099e188e951357407152c4666346e45871d3
|
[
"MIT"
] | null | null | null |
bin/JWASM/Samples/Win64_6p.asm
|
Abd-Beltaji/ASMEMU
|
4122099e188e951357407152c4666346e45871d3
|
[
"MIT"
] | null | null | null |
;--- Win64 "hello world" console application.
;--- uses CRT functions (MSVCRT).
;--- unlike Win64_6.asm, this version is to be created with option -pe
;---
;--- assemble: JWasm -pe Win64_6p.asm
.x64 ; -pe requires to set cpu, model & language
.model flat, fastcall
option casemap:none
option frame:auto ; generate SEH-compatible prologues and epilogues
option win64:3 ; init shadow space, reserve stack at PROC level
option dllimport:<msvcrt>
printf proto :ptr byte, :vararg
exit proto :dword
_kbhit proto
_flushall proto
option dllimport:NONE
.data
szFmt db 10,"%u + %u = %u",10,0
.code
main proc FRAME
invoke printf, addr szFmt, 3, 4, 3+4
.repeat
invoke _kbhit
.until eax
invoke _flushall
invoke exit, 0
main endp
end main
| 20.7
| 73
| 0.650966
|
c15a8dd0abd822a2bc4fd1096c33c2d7d96deabe
| 672
|
asm
|
Assembly
|
Mid-Term/Solution/Q_2.asm
|
simonahsan2129/CSE331L-Section-1-Fall20-NSU
|
e430f061e4046d212c536b67025b9fcb950e2497
|
[
"MIT"
] | 1
|
2021-01-13T09:48:44.000Z
|
2021-01-13T09:48:44.000Z
|
Mid-Term/Solution/Q_2.asm
|
AmirulAhsanSimon/CSE331L-Section-1-Fall20-NSU
|
e430f061e4046d212c536b67025b9fcb950e2497
|
[
"MIT"
] | null | null | null |
Mid-Term/Solution/Q_2.asm
|
AmirulAhsanSimon/CSE331L-Section-1-Fall20-NSU
|
e430f061e4046d212c536b67025b9fcb950e2497
|
[
"MIT"
] | 1
|
2021-03-15T16:18:20.000Z
|
2021-03-15T16:18:20.000Z
|
.MODEL SMALL
.STACK 100H
.DATA
PROMPT_1 DB "Digits: $"
PROMPT_2 DB 0DH,0AH, "Sum: $"
.CODE
MAIN PROC
MOV AX, @DATA
MOV DS, AX
LEA DX, PROMPT_1
MOV AH, 9
INT 21H
MOV CX, 10
MOV AH, 2
MOV DL, 48
@LOOP:
INT 21H
INC DL
DEC CX
JNZ @LOOP
LEA DX, PROMPT_2
MOV AH, 9
INT 21H
MOV AH, 4CH
INT 21H
MAIN ENDP
END MAIN
| 16.8
| 37
| 0.315476
|
b0ad21434da215ea83fabccc3d66d03aa15629c9
| 2,525
|
asm
|
Assembly
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_290_606.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_290_606.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_290_606.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1239f, %rsi
lea addresses_UC_ht+0x1de9f, %rdi
nop
add %r14, %r14
mov $61, %rcx
rep movsw
nop
nop
nop
nop
nop
cmp $2898, %r10
lea addresses_A_ht+0xfc1f, %rsi
lea addresses_D_ht+0x499f, %rdi
nop
nop
nop
nop
nop
dec %r14
mov $55, %rcx
rep movsw
add %rcx, %rcx
pop %rsi
pop %rdi
pop %rcx
pop %r14
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
// REPMOV
lea addresses_A+0xa59f, %rsi
lea addresses_RW+0x1f73f, %rdi
sub %rbp, %rbp
mov $81, %rcx
rep movsw
nop
nop
nop
nop
dec %rdi
// Faulty Load
lea addresses_US+0x1ad9f, %rbp
sub %rax, %rax
mov (%rbp), %esi
lea oracles, %rcx
and $0xff, %rsi
shlq $12, %rsi
mov (%rcx,%rsi,1), %rsi
pop %rsi
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r8
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 2, 'same': False, 'NT': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A', 'congruent': 10, 'same': False}, 'dst': {'type': 'addresses_RW', 'congruent': 5, 'same': False}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'type': 'addresses_US', 'AVXalign': False, 'congruent': 0, 'size': 4, 'same': True, 'NT': False}}
<gen_prepare_buffer>
{'OP': 'REPM', 'src': {'type': 'addresses_normal_ht', 'congruent': 7, 'same': False}, 'dst': {'type': 'addresses_UC_ht', 'congruent': 6, 'same': False}}
{'OP': 'REPM', 'src': {'type': 'addresses_A_ht', 'congruent': 6, 'same': False}, 'dst': {'type': 'addresses_D_ht', 'congruent': 10, 'same': True}}
{'00': 290}
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*/
| 28.055556
| 869
| 0.659802
|
eca064ff6e56c19873463df35352bdd0fba8561a
| 3,806
|
asm
|
Assembly
|
_incObj/45 Sideways Stomper.asm
|
kodishmediacenter/msu-md-sonic
|
3aa7c5e8add9660df2cd0eceaa214e7d59f2415c
|
[
"CC0-1.0"
] | 9
|
2021-01-15T13:47:53.000Z
|
2022-01-17T15:33:55.000Z
|
_incObj/45 Sideways Stomper.asm
|
kodishmediacenter/msu-md-sonic
|
3aa7c5e8add9660df2cd0eceaa214e7d59f2415c
|
[
"CC0-1.0"
] | 7
|
2021-01-14T02:18:48.000Z
|
2021-03-24T15:44:30.000Z
|
_incObj/45 Sideways Stomper.asm
|
kodishmediacenter/msu-md-sonic
|
3aa7c5e8add9660df2cd0eceaa214e7d59f2415c
|
[
"CC0-1.0"
] | 2
|
2021-01-14T13:14:26.000Z
|
2021-01-29T17:46:04.000Z
|
; ---------------------------------------------------------------------------
; Object 45 - spiked metal block from beta version (MZ)
; ---------------------------------------------------------------------------
SideStomp:
moveq #0,d0
move.b obRoutine(a0),d0
move.w SStom_Index(pc,d0.w),d1
jmp SStom_Index(pc,d1.w)
; ===========================================================================
SStom_Index: dc.w SStom_Main-SStom_Index
dc.w SStom_Solid-SStom_Index
dc.w loc_BA8E-SStom_Index
dc.w SStom_Display-SStom_Index
dc.w SStom_Pole-SStom_Index
; routine frame
; xpos
SStom_Var: dc.b 2, 4, 0 ; main block
dc.b 4, -$1C, 1 ; spikes
dc.b 8, $34, 3 ; pole
dc.b 6, $28, 2 ; wall bracket
;word_B9BE: ; Note that this indicates three subtypes
SStom_Len: dc.w $3800 ; short
dc.w $A000 ; long
dc.w $5000 ; medium
; ===========================================================================
SStom_Main: ; Routine 0
moveq #0,d0
move.b obSubtype(a0),d0
add.w d0,d0
move.w SStom_Len(pc,d0.w),d2
lea (SStom_Var).l,a2
movea.l a0,a1
moveq #3,d1
bra.s @load
@loop:
bsr.w FindNextFreeObj
bne.s @fail
@load:
move.b (a2)+,obRoutine(a1)
move.b #id_SideStomp,0(a1)
move.w obY(a0),obY(a1)
move.b (a2)+,d0
ext.w d0
add.w obX(a0),d0
move.w d0,obX(a1)
move.l #Map_SStom,obMap(a1)
move.w #$300,obGfx(a1)
move.b #4,obRender(a1)
move.w obX(a1),$30(a1)
move.w obX(a0),$3A(a1)
move.b obSubtype(a0),obSubtype(a1)
move.b #$20,obActWid(a1)
move.w d2,$34(a1)
move.b #4,obPriority(a1)
cmpi.b #1,(a2) ; is subobject spikes?
bne.s @notspikes ; if not, branch
move.b #$91,obColType(a1) ; use harmful collision type
@notspikes:
move.b (a2)+,obFrame(a1)
move.l a0,$3C(a1)
dbf d1,@loop ; repeat 3 times
move.b #3,obPriority(a1)
@fail:
move.b #$10,obActWid(a0)
SStom_Solid: ; Routine 2
move.w obX(a0),-(sp)
bsr.w SStom_Move
move.w #$17,d1
move.w #$20,d2
move.w #$20,d3
move.w (sp)+,d4
bsr.w SolidObject
bsr.w DisplaySprite
bra.w SStom_ChkDel
; ===========================================================================
SStom_Pole: ; Routine 8
movea.l $3C(a0),a1
move.b $32(a1),d0
addi.b #$10,d0
lsr.b #5,d0
addq.b #3,d0
move.b d0,obFrame(a0)
loc_BA8E: ; Routine 4
movea.l $3C(a0),a1
moveq #0,d0
move.b $32(a1),d0
neg.w d0
add.w $30(a0),d0
move.w d0,obX(a0)
SStom_Display: ; Routine 6
bsr.w DisplaySprite
SStom_ChkDel:
out_of_range DeleteObject,$3A(a0)
rts
; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||
SStom_Move:
moveq #0,d0
move.b obSubtype(a0),d0
add.w d0,d0
move.w off_BAD6(pc,d0.w),d1
jmp off_BAD6(pc,d1.w)
; End of function SStom_Move
; ===========================================================================
; This indicates only two subtypes... that do the same thing
; Compare to SStom_Len. This breaks subtype 02
off_BAD6: dc.w loc_BADA-off_BAD6
dc.w loc_BADA-off_BAD6
; ===========================================================================
loc_BADA:
tst.w $36(a0)
beq.s loc_BB08
tst.w $38(a0)
beq.s loc_BAEC
subq.w #1,$38(a0)
bra.s loc_BB3C
; ===========================================================================
loc_BAEC:
subi.w #$80,$32(a0)
bcc.s loc_BB3C
move.w #0,$32(a0)
move.w #0,obVelX(a0)
move.w #0,$36(a0)
bra.s loc_BB3C
; ===========================================================================
loc_BB08:
move.w $34(a0),d1
cmp.w $32(a0),d1
beq.s loc_BB3C
move.w obVelX(a0),d0
addi.w #$70,obVelX(a0)
add.w d0,$32(a0)
cmp.w $32(a0),d1
bhi.s loc_BB3C
move.w d1,$32(a0)
move.w #0,obVelX(a0)
move.w #1,$36(a0)
move.w #$3C,$38(a0)
loc_BB3C:
moveq #0,d0
move.b $32(a0),d0
neg.w d0
add.w $30(a0),d0
move.w d0,obX(a0)
rts
| 22.790419
| 77
| 0.515502
|
e8597f7ada4029e80004f109b6bc8532a51852fb
| 371
|
asm
|
Assembly
|
oeis/028/A028250.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/028/A028250.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/028/A028250.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A028250: Sequence arising in multiprocessor page migration.
; Submitted by Jamie Morken(s2.)
; 2,5,7,10,12,15,17,20,23,25,28,30,33,35,38,40,43,46,48,51,53,56,58,61,64,66,69,71,74,76,79,81,84,87,89,92,94,97,99,102,105,107,110,112,115,117,120,122,125,128,130,133,135,138,140,143,146,148,151,153,156,158,161,163
mov $2,$0
mul $0,175
div $0,56
add $0,5
div $0,2
add $0,$2
| 33.727273
| 215
| 0.695418
|
fc03784dfc1b7f0af5413621e7d4754088f980bb
| 1,297
|
asm
|
Assembly
|
programs/oeis/006/A006364.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/006/A006364.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
programs/oeis/006/A006364.asm
|
karttu/loda
|
9c3b0fc57b810302220c044a9d17db733c76a598
|
[
"Apache-2.0"
] | null | null | null |
; A006364: Numbers n with an even number of 1's in binary, ignoring last bit.
; 0,1,6,7,10,11,12,13,18,19,20,21,24,25,30,31,34,35,36,37,40,41,46,47,48,49,54,55,58,59,60,61,66,67,68,69,72,73,78,79,80,81,86,87,90,91,92,93,96,97,102,103,106,107,108,109,114,115,116,117,120,121,126,127,130,131,132,133,136,137,142,143,144,145,150,151,154,155,156,157,160,161,166,167,170,171,172,173,178,179,180,181,184,185,190,191,192,193,198,199,202,203,204,205,210,211,212,213,216,217,222,223,226,227,228,229,232,233,238,239,240,241,246,247,250,251,252,253,258,259,260,261,264,265,270,271,272,273,278,279,282,283,284,285,288,289,294,295,298,299,300,301,306,307,308,309,312,313,318,319,320,321,326,327,330,331,332,333,338,339,340,341,344,345,350,351,354,355,356,357,360,361,366,367,368,369,374,375,378,379,380,381,384,385,390,391,394,395,396,397,402,403,404,405,408,409,414,415,418,419,420,421,424,425,430,431,432,433,438,439,442,443,444,445,450,451,452,453,456,457,462,463,464,465,470,471,474,475,476,477,480,481,486,487,490,491,492,493,498,499
mov $2,$0
lpb $2,1
mov $0,$5
sub $2,1
sub $0,$2
mov $4,$0
sub $4,1
sub $4,$0
cal $0,254378 ; Run lengths of A228495 (Characteristic function of the odd odious numbers).
mov $3,$4
add $3,$4
sub $0,$3
add $0,$4
mov $4,$0
sub $4,1
add $1,$4
lpe
| 61.761905
| 947
| 0.696993
|
87f8ab368d2dbcade688424c19d8c764f472dfc4
| 630
|
asm
|
Assembly
|
Maths/Utilities/RequAdivQ-LL61.asm
|
ped7g/EliteNext
|
6e930f9b9924b295d7281ee6acb879600d7e597f
|
[
"Unlicense"
] | 9
|
2021-09-29T22:08:15.000Z
|
2022-03-23T05:35:43.000Z
|
Maths/Utilities/RequAdivQ-LL61.asm
|
ped7g/EliteNext
|
6e930f9b9924b295d7281ee6acb879600d7e597f
|
[
"Unlicense"
] | 1
|
2022-01-21T12:35:42.000Z
|
2022-01-21T17:47:24.000Z
|
Maths/Utilities/RequAdivQ-LL61.asm
|
ped7g/EliteNext
|
6e930f9b9924b295d7281ee6acb879600d7e597f
|
[
"Unlicense"
] | 1
|
2022-01-15T10:13:49.000Z
|
2022-01-15T10:13:49.000Z
|
RequAdivQ:
; R = A/Q, U = remainder, code looked a little odd as if R is reminader and U = result
LL61: ; Handling division R=A/Q for case further down
ld c,a ; c = A
ld a,(varQ) ; test for divide by 0
cp 0
jr z,LL84 ; divide by zero error
ld d,a ; now we can do C/D
ld b,8
xor a
LL63: ; roll divide loop
sla c
rla
cp d
jr c,LL64
inc c
sub d
LL64:
djnz LL63
ld (varU),a ; store remainder in U
ld a,c
ld (varR),a ; store remainder in R
ret
LL84: ; div error R=U=#5
ld a,50
ld (varR),a
ld (varU),a
ret
| 21
| 87
| 0.533333
|
f2b9e11a774da57622909beb343fbd089d4553bf
| 338
|
asm
|
Assembly
|
programs/oeis/119/A119910.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/119/A119910.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/119/A119910.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A119910: Period 6: repeat [1, 3, 2, -1, -3, -2].
; 1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2,1,3,2,-1,-3,-2
mov $1,1
mov $2,2
lpb $0
sub $0,1
add $1,$2
sub $2,$1
lpe
mov $0,$1
| 28.166667
| 211
| 0.434911
|
9a61b9a321b12c40e9c22510dd9f88ad7b5f5a41
| 6,738
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_559.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 9
|
2020-08-13T19:41:58.000Z
|
2022-03-30T12:22:51.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_559.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 1
|
2021-04-29T06:29:35.000Z
|
2021-05-13T21:02:30.000Z
|
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_559.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xc713, %rdx
nop
nop
nop
nop
dec %rbp
movl $0x61626364, (%rdx)
nop
nop
nop
inc %rcx
lea addresses_UC_ht+0x1da13, %rax
nop
nop
nop
nop
add $13193, %rdx
movb $0x61, (%rax)
sub %rax, %rax
lea addresses_WT_ht+0x18753, %r14
nop
nop
nop
nop
inc %r15
movb $0x61, (%r14)
add $59879, %rcx
lea addresses_WT_ht+0x155b3, %rdx
nop
sub %r9, %r9
mov $0x6162636465666768, %r14
movq %r14, (%rdx)
nop
inc %rdx
lea addresses_WC_ht+0x10e53, %rsi
lea addresses_normal_ht+0xd5e7, %rdi
clflush (%rdi)
nop
nop
nop
nop
xor %rax, %rax
mov $98, %rcx
rep movsl
nop
add %rbp, %rbp
lea addresses_WC_ht+0x18153, %rsi
lea addresses_A_ht+0xd6ba, %rdi
nop
nop
nop
nop
and $8009, %r14
mov $18, %rcx
rep movsl
nop
sub %r15, %r15
lea addresses_D_ht+0xfe61, %rsi
nop
nop
nop
nop
nop
cmp $62933, %rdx
mov $0x6162636465666768, %r9
movq %r9, %xmm1
and $0xffffffffffffffc0, %rsi
vmovaps %ymm1, (%rsi)
nop
nop
cmp %rdx, %rdx
lea addresses_A_ht+0x1e753, %r9
nop
nop
nop
nop
xor $62723, %rax
movb (%r9), %r14b
nop
nop
nop
nop
add $55336, %rbp
lea addresses_D_ht+0xa575, %r14
xor $47517, %r9
mov (%r14), %rbp
nop
nop
nop
add $44371, %rbp
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rbp
pop %rax
pop %r9
pop %r15
pop %r14
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r14
push %r9
push %rbx
push %rcx
push %rdi
// Store
lea addresses_UC+0x751b, %r14
nop
and %r10, %r10
mov $0x5152535455565758, %rcx
movq %rcx, %xmm2
movups %xmm2, (%r14)
nop
nop
nop
nop
nop
add %r10, %r10
// Load
lea addresses_A+0x1a8d1, %r10
clflush (%r10)
nop
nop
nop
sub %r9, %r9
vmovups (%r10), %ymm6
vextracti128 $0, %ymm6, %xmm6
vpextrq $1, %xmm6, %r12
add $40251, %r14
// Faulty Load
lea addresses_UC+0x1f553, %rdi
nop
nop
add $41512, %r10
mov (%rdi), %r14
lea oracles, %r9
and $0xff, %r14
shlq $12, %r14
mov (%r9,%r14,1), %r14
pop %rdi
pop %rcx
pop %rbx
pop %r9
pop %r14
pop %r12
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 2, 'type': 'addresses_UC', 'congruent': 0}}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 16, 'type': 'addresses_UC', 'congruent': 0}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': False, 'size': 32, 'type': 'addresses_A', 'congruent': 1}}
[Faulty Load]
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': True, 'size': 8, 'type': 'addresses_UC', 'congruent': 0}}
<gen_prepare_buffer>
{'dst': {'same': True, 'NT': False, 'AVXalign': False, 'size': 4, 'type': 'addresses_WC_ht', 'congruent': 6}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_UC_ht', 'congruent': 2}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 1, 'type': 'addresses_WT_ht', 'congruent': 4}, 'OP': 'STOR'}
{'dst': {'same': False, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_WT_ht', 'congruent': 5}, 'OP': 'STOR'}
{'dst': {'same': False, 'congruent': 2, 'type': 'addresses_normal_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 8, 'type': 'addresses_WC_ht'}}
{'dst': {'same': False, 'congruent': 0, 'type': 'addresses_A_ht'}, 'OP': 'REPM', 'src': {'same': False, 'congruent': 10, 'type': 'addresses_WC_ht'}}
{'dst': {'same': False, 'NT': False, 'AVXalign': True, 'size': 32, 'type': 'addresses_D_ht', 'congruent': 1}, 'OP': 'STOR'}
{'OP': 'LOAD', 'src': {'same': False, 'NT': False, 'AVXalign': True, 'size': 1, 'type': 'addresses_A_ht', 'congruent': 9}}
{'OP': 'LOAD', 'src': {'same': True, 'NT': False, 'AVXalign': False, 'size': 8, 'type': 'addresses_D_ht', 'congruent': 0}}
{'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
*/
| 35.650794
| 2,999
| 0.656426
|
62b2efd67998ed7a708d381673a596452b1749b2
| 300
|
asm
|
Assembly
|
oeis/021/A021288.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/021/A021288.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/021/A021288.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A021288: Decimal expansion of 1/284.
; 0,0,3,5,2,1,1,2,6,7,6,0,5,6,3,3,8,0,2,8,1,6,9,0,1,4,0,8,4,5,0,7,0,4,2,2,5,3,5,2,1,1,2,6,7,6,0,5,6,3,3,8,0,2,8,1,6,9,0,1,4,0,8,4,5,0,7,0,4,2,2,5,3,5,2,1,1,2,6,7,6,0,5,6,3,3,8,0,2,8,1,6,9,0,1,4,0,8,4
mov $2,10
pow $2,$0
mul $2,5
div $2,142
mov $0,$2
mod $0,10
| 30
| 199
| 0.54
|
645ac08eb24e79e41869e02c43ac4d79b4d79575
| 476
|
asm
|
Assembly
|
oeis/117/A117475.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/117/A117475.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/117/A117475.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A117475: The values of c in a^2 + b^2 = c^2 where b - a = 23 and gcd(a,b,c) = 1.
; Submitted by Christian Krause
; 37,65,205,373,1193,2173,6953,12665,40525,73817,236197,430237,1376657,2507605,8023745,14615393,46765813,85184753,272571133,496493125,1588660985,2893773997,9259394777,16866150857,53967707677,98303131145
mov $2,-3
lpb $0
sub $0,1
add $1,20
mov $3,$0
add $3,10
add $3,$0
mod $3,4
mul $3,$2
add $1,$3
add $2,$1
lpe
add $2,$1
mov $0,$2
add $0,40
| 23.8
| 202
| 0.676471
|
6adf419812024b81109e37b8e00d1ad8af73030f
| 237
|
asm
|
Assembly
|
src/third_party/nasm/test/br3187743.asm
|
Mr-Sheep/naiveproxy
|
9f6e9768295f6d1d41517a15a621d4756bd7d6be
|
[
"BSD-3-Clause"
] | 2,219
|
2018-03-26T02:57:34.000Z
|
2022-03-31T00:27:59.000Z
|
src/third_party/nasm/test/br3187743.asm
|
Mr-Sheep/naiveproxy
|
9f6e9768295f6d1d41517a15a621d4756bd7d6be
|
[
"BSD-3-Clause"
] | 395
|
2020-04-18T08:22:18.000Z
|
2021-12-08T13:04:49.000Z
|
src/third_party/nasm/test/br3187743.asm
|
Mr-Sheep/naiveproxy
|
9f6e9768295f6d1d41517a15a621d4756bd7d6be
|
[
"BSD-3-Clause"
] | 473
|
2019-03-24T16:34:23.000Z
|
2022-03-31T02:01:05.000Z
|
;Testname=unoptimized; Arguments=-O0 -fbin -obr3187743.bin; Files=stdout stderr br3187743.bin
;Testname=optimized; Arguments=-Ox -fbin -obr3187743.bin; Files=stdout stderr br3187743.bin
bits 64
vlddqu xmm0,[edi]
vlddqu ymm0,[edi]
| 29.625
| 93
| 0.767932
|
e1127e120eaabe368d552f696c575b047978eda5
| 449
|
asm
|
Assembly
|
programs/oeis/157/A157893.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 22
|
2018-02-06T19:19:31.000Z
|
2022-01-17T21:53:31.000Z
|
programs/oeis/157/A157893.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 41
|
2021-02-22T19:00:34.000Z
|
2021-08-28T10:47:47.000Z
|
programs/oeis/157/A157893.asm
|
neoneye/loda
|
afe9559fb53ee12e3040da54bd6aa47283e0d9ec
|
[
"Apache-2.0"
] | 5
|
2021-02-24T21:14:16.000Z
|
2021-08-09T19:48:05.000Z
|
; A157893: Values of m in A080075.
; 1,2,3,2,4,3,5,3,4,3,6,4,5,4,7,4,5,4,6,4,5,4,8,5,6,5,7,5,6,5,9,5,6,5,7,5,6,5,8,5,6,5,7,5,6,5,10,6,7,6,8,6,7,6,9,6,7,6,8,6,7,6,11,6,7,6,8,6,7,6,9,6,7,6,8,6,7,6,10,6,7,6,8,6,7,6,9,6,7,6,8,6,7,6,12,7,8,7,9,7
seq $0,112714 ; Numbers of the form k*2^m-1 with k<2^m and k odd.
seq $0,7814 ; Exponent of highest power of 2 dividing n, a.k.a. the binary carry sequence, the ruler sequence, or the 2-adic valuation of n.
| 74.833333
| 205
| 0.619154
|
ccfc08a94484f31be936364100f9decc65b36e8f
| 1,109
|
asm
|
Assembly
|
3rdParties/src/nasm/nasm-2.15.02/travis/test/floatb.asm
|
blue3k/StormForge
|
1557e699a673ae9adcc8f987868139f601ec0887
|
[
"Apache-2.0"
] | 1
|
2020-06-20T07:35:25.000Z
|
2020-06-20T07:35:25.000Z
|
3rdParties/src/nasm/nasm-2.15.02/travis/test/floatb.asm
|
blue3k/StormForge
|
1557e699a673ae9adcc8f987868139f601ec0887
|
[
"Apache-2.0"
] | null | null | null |
3rdParties/src/nasm/nasm-2.15.02/travis/test/floatb.asm
|
blue3k/StormForge
|
1557e699a673ae9adcc8f987868139f601ec0887
|
[
"Apache-2.0"
] | null | null | null |
;; Known problematic floating-point numbers and their proper
;; encoding...
bits 64
dd 1.1e10
dd 0x5023e9ac ; Should be...
dd 50.40e9
dd 0x513bc130 ; Should be...
dq 1.4e23
dq 0x44bda56a4b0835c0
dq 50.48e21
dq 0x44a5610d7502feae
dt 1.2e28
dq 0x9b18ab5df7180b6c
dw 0x405c
dt 50.46e25
dq 0xd0b29a67e95dcb60
dw 0x4057
do 0xf.ffffff8p-4
do 0q3.7777777774p-2
do 0b1.1111_1111_1111_1111_1111_1111_1111_111p-1
dt 0xf.ffffff8p-4
dt 0q3.7777777774p-2
dt 0b1.1111_1111_1111_1111_1111_1111_1111_111p-1
dq 0xf.ffffff8p-4
dq 0q3.7777777774p-2
dq 0b1.1111_1111_1111_1111_1111_1111_1111_111p-1
dd 0xf.ffffff8p-4
dd 0q3.7777777774p-2
dd 0b1.1111_1111_1111_1111_1111_1111_1111_111p-1
dw 0xf.ffffff8p-4
dw 0q3.7777777774p-2
dw 0b1.1111_1111_1111_1111_1111_1111_1111_111p-1
db 0xf.ffffff8p-4
db 0q3.7777777774p-2
db 0b1.1111_1111_1111_1111_1111_1111_1111_111p-1
;; Way too big numbers, should overflow to +Inf
dd 1.0E646456955
dd 1.0E646456956
dd 1.0E2147483646
dd 1.0E2147483647
dd 1.0E2147483648
dd 1.0E2147483649
| 19.45614
| 62
| 0.744815
|
3bf2b977d19b2757f6ba0d07b4d28bc7ed79ba95
| 153
|
asm
|
Assembly
|
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddrcright.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddrcright.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddrcright.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
; void *zx_saddrcright(void *saddr)
SECTION code_arch
PUBLIC zx_saddrcright
zx_saddrcright:
INCLUDE "arch/zx/display/z80/asm_zx_saddrcright.asm"
| 13.909091
| 55
| 0.79085
|
db95244707179b341c90ba8e6b6a8f6c135d850d
| 2,430
|
asm
|
Assembly
|
src/kernel/stubs.asm
|
TheBenPerson/psos
|
71947d92b46f280641e01987e0874713ee6c4de5
|
[
"MIT"
] | null | null | null |
src/kernel/stubs.asm
|
TheBenPerson/psos
|
71947d92b46f280641e01987e0874713ee6c4de5
|
[
"MIT"
] | null | null | null |
src/kernel/stubs.asm
|
TheBenPerson/psos
|
71947d92b46f280641e01987e0874713ee6c4de5
|
[
"MIT"
] | null | null | null |
; PSOS Development Build
; https://github.com/TheBenPerson/PSOS/tree/dev
;
; Copyright (C) 2016 - 2017 Ben Stockett <thebenstockett@gmail.com>
;
; 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.
[BITS 16]
SECTION .text
extern syscalled
extern uSegment
global syscallISR
syscallISR: ; syscall handler
sti ; enable interrupts
pushad ; save registers
mov ax, cs
mov ds, ax ; ds = KERNEL_SEGMENT
mov ss, ax
mov byte [syscalled], 1 ; syscalled = true
shl bx, 2 ; call *= 4
push edi
push esi
push ecx
call dword [callTable + bx] ; call offset in syscall table
add sp, 12
mov es, ax
mov byte [syscalled], 0 ; syscalled = false
mov ax, [uSegment]
mov ds, ax ; restore segment
mov ss, ax
popad
mov ax, es ; set return value
iret
SECTION .data
callTable: ; syscall table
; core syscalls
extern kexec
dd kexec
extern kinstallISR
dd kinstallISR
; keyboard syscalls
extern kgetKey
dd kgetKey
extern ksetCallback
dd ksetCallback
extern ktoChar
dd ktoChar
; pit syscalls
extern ksleep
dd ksleep
; rtc syscalls
extern kgetDate
dd kgetDate
; spkr syscalls
extern kbeep
dd kbeep
; vga syscalls
extern kclearText
dd kclearText
extern kdraw
dd kdraw
extern kputc
dd kputc
extern kputn
dd kputn
extern kputs
dd kputs
extern ksetCursor
dd ksetCursor
extern ksetPosition
dd ksetPosition
extern ksetVGAMode
dd ksetVGAMode
extern ksetAttr
dd ksetAttr
| 18.549618
| 80
| 0.749794
|
d7e3ca07473f927a8bf6434caaad697ad3b7919d
| 827
|
asm
|
Assembly
|
oeis/142/A142526.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/142/A142526.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/142/A142526.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A142526: Primes congruent to 41 mod 52.
; Submitted by Christian Krause
; 41,197,353,457,509,613,769,821,977,1237,1289,1549,1601,1861,1913,2017,2069,2381,2693,2797,2953,3109,3733,3889,4201,4253,4357,4409,4513,4721,4877,5189,5449,5501,5657,5813,6073,6229,7321,7477,7529,7789,7841,8101,8933,9349,9661,9817,9973,10181,10337,10597,10753,10909,11117,11273,11689,11897,12157,12781,13093,13249,13457,13613,13873,14029,14081,14341,14549,14653,15017,15121,15173,15277,15329,15641,15797,15901,16057,16369,16421,16889,16993,17669,17929,17981,18397,18553,18917,19073,19333,19489,19541
mov $1,5
mov $2,$0
add $2,2
pow $2,2
lpb $2
add $1,35
mov $3,$1
seq $3,10051 ; Characteristic function of primes: 1 if n is prime, else 0.
sub $0,$3
add $1,17
mov $4,$0
max $4,0
cmp $4,$0
mul $2,$4
sub $2,1
lpe
mov $0,$1
add $0,36
| 35.956522
| 500
| 0.729141
|
f77e992a4d641b7f49e4e38017faa6eca6c48a92
| 3,556
|
asm
|
Assembly
|
lib/src/xr/x86/modf.asm
|
zanud/xds-2.60
|
b4a32b9c9c91fe513fa5ff78ec87bb44102a3b72
|
[
"Apache-2.0"
] | 53
|
2019-06-10T18:19:44.000Z
|
2021-12-28T18:56:00.000Z
|
Sources/Lib/src/xr/x86/modf.asm
|
undecidedzogvisvitalispotent8stars360/xds
|
cfd20e209193c9cfcee94ad2ca30d8c32ead48c9
|
[
"Apache-2.0"
] | 5
|
2020-07-10T16:06:48.000Z
|
2021-07-30T07:17:50.000Z
|
Sources/Lib/src/xr/x86/modf.asm
|
undecidedzogvisvitalispotent8stars360/xds
|
cfd20e209193c9cfcee94ad2ca30d8c32ead48c9
|
[
"Apache-2.0"
] | 20
|
2019-06-10T18:09:16.000Z
|
2021-10-02T19:46:42.000Z
|
cpu 386
bits 32
%ifdef OS2
group DGROUP _DATA
section _DATA use32 align=4 FLAT public 'DATA'
%else
group DGROUP _DATA
section _DATA use32 align=4 public 'DATA'
%endif
%ifdef OS2
section .text use32 align=4 FLAT public 'CODE'
%else
section .text use32 align=16 public 'CODE'
%endif
; assume cs: .text, ds: DGROUP, ss: DGROUP, gs: nothing, fs: nothing
global X2C_modf
X2C_modf:
push ebp
push esi
push edi
push ebx
mov esi, [esp+28]
lea ebp, [esp+20]
mov eax, dword [ebp]
mov edx, dword [ebp+4]
xchg ebp, esi
mov dword [ebp], eax
mov dword [ebp+4], edx
mov ecx, edx
and ecx, 7FF00000H
je modf_1
cmp ecx, 43300000H
jb modf_2
xchg esi, ebp
modf_1: xor eax, eax
mov dword [ebp], eax
mov dword [ebp+4], eax
pop ebx
pop edi
pop esi
pop ebp
fld qword [esp+4]
ret 12
modf_2: mov edi, ecx
shr ecx, 20
sub cx, 03FFH
jb modf_1
push edx
xor eax, eax
mov edx, 0FFF00000H
cmp cl, 20
jbe modf_3
sar edx, 21
rcr eax, 1
sub cl, 21
sar eax, cl
jmp short modf_4
modf_3: sar edx, cl
modf_4: and dword [ebp], eax
and dword [ebp+4], edx
not edx
not eax
mov ebp, esi
and eax, dword [ebp]
and edx, dword [ebp+4]
xor esi, esi
or esi, eax
or esi, edx
je modf_13
test edx, 0FFF00000H
jne modf_10
modf_9: sub edi, 00100000h
add eax, eax
adc edx, edx
test edx, 0FFF00000H
je modf_9
jmp short modf_12
modf_10: test edx, 0FFE00000H
je modf_12
modf_11: add edi, 00100000h
shr edx, 1
rcr eax, 1
rcr esi, 1
test edx, 0FFE00000H
jne modf_11
adc esi, esi
adc eax, 00000000h
adc edx, 00000000h
modf_12: and edx, 000FFFFFH
or edx, edi
modf_13: pop esi
test edx, edx
je modf_5
and esi, 80000000H
or edx, esi
modf_5: mov dword [ebp], eax
mov dword [ebp+4], edx
pop ebx
pop edi
pop esi
pop ebp
fld qword [esp+4]
ret 0CH
;X2C_modf endp
| 32.327273
| 85
| 0.348706
|
846f76474a6a4304a057f14c268ed96699ce4f2f
| 1,270
|
asm
|
Assembly
|
stuff/R316/old/lib/gfx/screen.asm
|
Daswf852/Stuff
|
36f32ce7da1c7a829cb064d9c91c61272ac6bd2e
|
[
"WTFPL"
] | null | null | null |
stuff/R316/old/lib/gfx/screen.asm
|
Daswf852/Stuff
|
36f32ce7da1c7a829cb064d9c91c61272ac6bd2e
|
[
"WTFPL"
] | null | null | null |
stuff/R316/old/lib/gfx/screen.asm
|
Daswf852/Stuff
|
36f32ce7da1c7a829cb064d9c91c61272ac6bd2e
|
[
"WTFPL"
] | null | null | null |
%ifndef __SCREEN_ASM
%define __SCREEN_ASM
%include "../common.asm"
screen:
.init:
dpush 0x7
dpush 0x0
call .setColor
dpush 0
dpush TRUE
call .setMode
ret
.setFGColor: ;( IRGB -- )
push r0
push r1
mov r1, _terminalConfigColor
dpop r0
shl r0, 8
and [r1], 0xF0FF
or [r1], r0
pop r1
pop r0
ret
.setBGColor: ;( IRGB -- )
push r0
push r1
mov r1, _terminalConfigColor
dpop r0
shl r0, 12
and [r1], 0x0FFF
or [r1], r0
pop r1
pop r0
ret
.setColor: ;( IRGB_FG IRGB_BG -- )
call .setBGColor
call .setFGColor
ret
.setColorPair: ;( IRGB_FG+IRGB_BG -- )
ret
.setMode: ; ( 0|1|2 clear -- )
push r0
push r1
push r2
dpop r0 ;clear
dpop r1 ;mode
mov r2, 0
and r1, 3
cmp r1, 3
jnz ..correctMode
mov r1, 0
..correctMode:
and r0, 1
shl r0, 15
or r2, r0, r1
mov r0, _terminalConfigMode
mov [r0], r2
pop r2
pop r1
pop r0
ret
%endif
| 15.679012
| 42
| 0.445669
|
693f7f55449cea050a8851f8f2b66b8c0d91456d
| 482
|
asm
|
Assembly
|
oeis/131/A131964.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/131/A131964.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/131/A131964.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A131964: Expansion of f(x^2, x^10) / f(x, x^3) in powers of x where f(, ) is Ramanujan's general theta function.
; Submitted by Jon Maiga
; 1,1,1,2,0,1,1,0,1,0,2,1,1,1,0,1,2,2,0,1,1,1,1,1,0,1,1,0,1,0,1,2,1,1,0,1,1,1,3,0,0,0,2,1,1,2,1,2,1,0,0,0,2,1,0,2,0,2,0,0,1,1,0,1,0,1,2,1,2,1,1,1,1,0,0,0,2,1,2,0,2,2,1,1,0,0,1,3,1,0,1,1,0,1,2,1,0,1,1,0
mul $0,4
add $0,3
mul $0,6
seq $0,123331 ; Expansion of (c(q)^2/(3c(q^2))-1)/2 in powers of q where c(q) is a cubic AGM function.
div $0,2
| 48.2
| 201
| 0.587137
|
da73bf8823fc7f8286389dc844aa4cd68098a6c6
| 6,965
|
asm
|
Assembly
|
Projects/PJZ2/ParaLines/SectionData_PublicData.asm
|
jonathanbennett73/amiga-pjz-planet-disco-balls
|
1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b
|
[
"MIT"
] | 21
|
2021-04-04T06:00:44.000Z
|
2022-01-19T19:12:24.000Z
|
Projects/PJZ2/ParaLines/SectionData_PublicData.asm
|
jonathanbennett73/amiga-pjz-planet-disco-balls
|
1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b
|
[
"MIT"
] | null | null | null |
Projects/PJZ2/ParaLines/SectionData_PublicData.asm
|
jonathanbennett73/amiga-pjz-planet-disco-balls
|
1890f797ec7e8061ce4bfb9a8e6844f2ce9f6e1b
|
[
"MIT"
] | null | null | null |
*****************************************************************************
* Included at the end of the code section (for (pc) data)
*****************************************************************************
rsreset
CTRL_SINE_OFFSET rs.w 1
CTRL_SINE_SPEED rs.w 1
CTRL_SINE_FREQ rs.w 1
CTRL_SINE_SPEEDNEW rs.w 1
CTRL_SINE_FREQNEW rs.w 1
CTRL_SINESET_ACTIVE rs.w 1 ;>0 if sine values are being changed over time
CTRL_SINESET_COUNTER rs.w 1 ;Change counter speed
CTRL_SINE_SIZEOF rs.w 0
rsreset
CTRL_SCRIPT_PTR rs.l 1 ;Script Ptr
CTRL_FINISHED rs.w 1 ;1 if quitting
CTRL_PRECALC_INTROSTART_DONE rs.w 1 ;1 if intro precalc done
CTRL_PHASE rs.w 1 ;Current phase
CTRL_FRAME_COUNT rs.w 1 ;Local (effect) frame counter
CTRL_PAUSE_COUNTER rs.w 1 ;Pause counter, 0=running
CTRL_ISFRAMEOVER_COUNTER rs.w 1 ;Waiting for frame, 0=inactive
CTRL_ISMASTERFRAMEOVER_COUNTER rs.w 1 ;Waiting for frame, 0=inactive
CTRL_MUSICSYNC rs.w 1 ;Value returned from music E8x (may be further processed)
CTRL_MUSICSYNCMASK rs.w 1 ;The music sync value will be anded with this mask to allow script to "hide" events
CTRL_MUSICSYNCMASKWAIT rs.w 1 ;A music mask to wait for before continuing, if 00 then no wait
CTRL_MUSICSYNC_LASTFRAME rs.w 1 ;The CTRL_FRAME_COUNT value of the last music trigger
CTRL_P0_PRECALC_DONE rs.w 1 ;1 if effect precalc done
CTRL_PALETTE_LOAD_FLAG rs.w 1 ;set to >1 to force palette load
CTRL_PALETTE_ACTIVE rs.w 1 ;Palette change active
CTRL_PALETTE_PTR rs.l 1 ;src Palette ptr (16 words of colors)
CTRL_PALETTE_COUNTER rs.w 1 ;Palette counter, speed
CTRL_PALETTE_SPEED rs.w 1 ;How often to update, higher is slower, 0 = instant
CTRL_PALETTE_STEP rs.w 1 ;Current step to interpolate between current color and final 0-15
;bpl and cl ptrs must stay in order as accessed as group.
CTRL_BPL_PHYS_PTR rs.l 1 ;visible bpl2
CTRL_BPL_LOG1_PTR rs.l 1 ;visible bpl1
CTRL_BPL_LOG2_PTR rs.l 1 ;Logical2
CTRL_BPL_LOG3_PTR rs.l 1 ;Logical3
CTRL_BPL_LOG4_PTR rs.l 1 ;Logical4 (clear and draw)
CTRL_CL_PHYS_PTR rs.l 1 ;Copper ptr - physical
CTRL_CL_LOG1_PTR rs.l 1 ;Logical1
CTRL_USERVALWAIT_ACTIVE rs.w 1 ;0=inactive
CTRL_USERVALWAIT_OFFSET rs.w 1 ;Offset into CTRL_xxx for value to check
CTRL_USERVALWAIT_VAL rs.w 1 ;The value to wait for
CTRL_USERVAL1 rs.w 1 ;Example general purpose value
CTRL_SINE_X1 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_X2 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_Y1 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_Y2 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_X3 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_X4 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_Y3 rs.b CTRL_SINE_SIZEOF
CTRL_SINE_Y4 rs.b CTRL_SINE_SIZEOF
CTRL_SINETAB_PTR rs.l 1 ;rotation sine table
CTRL_MUSIC_FADE_STEP rs.w 1 ;Fade from 0-15
CTRL_ZERODATA_SIZE rs.w 0 ;size of all zeroed data - START OF NONZERO
CTRL_SIZE rs.w 0
even
Controller_Info:
dcb.b CTRL_ZERODATA_SIZE,0 ;Init all to zero by default
even
*****************************************************************************
; Master palette poked into the copperlist each frame
PAL_Current: dcb.w PAL_NUMCOLS_MAIN,0 ;main colours
dcb.w PAL_NUMCOLS_ALT,0 ;dark/reflection colours
PAL_Current_Copper: dcb.w PAL_NUMCOLS_MAIN,0 ;main colours
dcb.w PAL_NUMCOLS_ALT,0 ;dark/reflection colours
; This holds the old source palette used during transitions in FX_PALETTE. The
; source value is interpolated from this value to the destination value + step size.
PAL_Current_Src: dcb.w PAL_NUMCOLS_MAIN,0 ;main colours
dcb.w PAL_NUMCOLS_ALT,0 ;dark/reflection colours
*****************************************************************************
; Copper horizontal blanking notes from Photon/Scoopex
; As established, positions $e7...$03 are not usable. If you're writing a simple
; copperlist with no need for tight timing, positions $df and $07 are conventionally
;used for the positions on either side of the horizontal blanking, and for
; compatibility across chipsets use increments of 4 from these, resulting in
;positions $db, $0b, and so on.
MEMORYFETCHMODE equ 0 ;0 (OCS),1 or 3
ifeq MEMORYFETCHMODE
DDF_INCREMENT equ 1
else
DDF_INCREMENT equ (MEMORYFETCHMODE+1)&$fffe
endif
*****************************************************************************
DIW_VSTART set (P0_DIW_V&$ff)<<8
DIW_VSTOP set ((P0_DIW_V+P0_DIW_HEIGHT)&$ff)<<8
DIW_HSTART set P0_DIW_H&$ff
DIW_HSTOP set (DIW_HSTART+P0_DIW_WIDTH)&$ff
DIW_START set DIW_VSTART!DIW_HSTART
DIW_STOP set DIW_VSTOP!DIW_HSTOP
DDF_START set (P0_DDF_H/2)-8
DDF_STOP set DDF_START+((P0_DDF_WORDWIDTH-DDF_INCREMENT)*8)
P0_CL_Phys:
; Trigger copper interrupt if P0_SCANLINE_EOF = 0
ifne FW_FRAME_IRQ_NEEDTRIG
ifeq P0_SCANLINE_EOF
CMOVE intreq,INTF_SETCLR|FW_FRAME_IRQ_TYPE
endif
endif
CMOVE diwstrt,DIW_START
CMOVE diwstop,DIW_STOP
CMOVE ddfstrt,DDF_START
CMOVE ddfstop,DDF_STOP
CMOVE bplcon0,$4200 ;4 bpl
CMOVE bplcon1,$0000
CMOVE bplcon2,$0000
CMOVE bpl1mod,BPL_BPLMOD
CMOVE bpl2mod,BPL_BPLMOD_REPTPREVLINE
CMOVE dmacon,DMAF_SPRITE ;disable sprites
;If we have a single CL then allow some time for changing ptrs
ifeq P0_CL_NUM_BUFFERS-1
CWAIT 25-1,$7 ;25 is end of vblank
;CWAIT P0_DIW_V-1,$7
endif
P0_CL_Bpl: ;Bitplane pointers
CMOVE bpl1pth,$0
CMOVE bpl1ptl,$0
CMOVE bpl2pth,$0
CMOVE bpl2ptl,$0
CMOVE bpl3pth,$0
CMOVE bpl3ptl,$0
CMOVE bpl4pth,$0
CMOVE bpl4ptl,$0
;CMOVE bpl5pth,$0
;CMOVE bpl5ptl,$0
P0_CL_Cols:
CMOVE tmpcolor00,$000
a set color01
rept PAL_NUMCOLS_MAIN-1
CMOVE a,$000
a set a+2
endr
a set P0_DIW_V-1 ;First wait is for end of previous line, so we don't need two waits per line
b set 0
rept BPL_BUF_HEIGHT
CWAIT a,$df
CMOVE bplcon1,b
b set b+$0040
b set (b&$00f0)
a set a+1
endr
; Trigger interrupt if P0_SCANLINE_EOF >0
ifne FW_FRAME_IRQ_NEEDTRIG
ifne P0_SCANLINE_EOF
;ifgt P0_SCANLINE_EOF-255
; CWAIT 255,$df
;endif
;CWAIT ((P0_SCANLINE_EOF-1)&$ff),$df
CMOVE intreq,INTF_SETCLR|FW_FRAME_IRQ_TYPE
endif
endif
COPPEREND
P0_CL_End:
P0_CL_BPL_OFFSET equ (P0_CL_Bpl-P0_CL_Phys)
P0_CL_COL_OFFSET equ (P0_CL_Cols-P0_CL_Phys)
P0_CL_SIZE equ P0_CL_End-P0_CL_Phys
*****************************************************************************
; Include the intro script
include "Script.asm"
*****************************************************************************
*****************************************************************************
*****************************************************************************
section FW_PublicBss,bss
*****************************************************************************
; Screen height mult by screen bytewidth and number of bitplanes (interleaved)
Mult_SCR_Height_ByteWidth:
ds.w BPL_BUF_HEIGHT
*****************************************************************************
;GenSin_Sin_Table:
; ds.w LIB_GENSIN_16384_2048W_NUMWORDS/4
;GenSin_Cos_Table:
; ds.w LIB_GENSIN_16384_2048W_NUMWORDS
*****************************************************************************
| 32.395349
| 110
| 0.67911
|
46ddd6363a9ea916d2905b221fde144bb9e5b5a5
| 2,234
|
asm
|
Assembly
|
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_41_1455.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_41_1455.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_41_1455.asm
|
ljhsiun2/medusa
|
67d769b8a2fb42c538f10287abaf0e6dbb463f0c
|
[
"MIT"
] | 3
|
2020-07-14T17:07:07.000Z
|
2022-03-21T01:12:22.000Z
|
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %rax
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0xf23, %rsi
lea addresses_A_ht+0x1c023, %rdi
nop
nop
nop
add $52289, %r13
mov $88, %rcx
rep movsw
nop
cmp %r13, %r13
lea addresses_D_ht+0x19f23, %rbp
clflush (%rbp)
nop
nop
add %rbx, %rbx
mov (%rbp), %eax
nop
nop
nop
sub $21885, %rdi
lea addresses_WC_ht+0x67b3, %rbx
add %rdi, %rdi
movw $0x6162, (%rbx)
inc %rcx
pop %rsi
pop %rdi
pop %rcx
pop %rbx
pop %rbp
pop %rax
pop %r13
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r14
push %r15
push %r8
push %r9
push %rax
push %rbp
// Store
mov $0x1e692a0000000723, %rax
clflush (%rax)
nop
nop
nop
nop
sub %r14, %r14
mov $0x5152535455565758, %r8
movq %r8, %xmm2
vmovntdq %ymm2, (%rax)
nop
nop
nop
nop
inc %r14
// Store
lea addresses_normal+0x8b23, %rbp
nop
nop
nop
and $65456, %rax
movl $0x51525354, (%rbp)
cmp $54806, %r15
// Faulty Load
lea addresses_normal+0xaf23, %r14
nop
xor %r9, %r9
mov (%r14), %eax
lea oracles, %r9
and $0xff, %rax
shlq $12, %rax
mov (%r9,%rax,1), %rax
pop %rbp
pop %rax
pop %r9
pop %r8
pop %r15
pop %r14
pop %r11
ret
/*
<gen_faulty_load>
[REF]
{'src': {'type': 'addresses_normal', 'same': False, 'size': 8, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_NC', 'same': False, 'size': 32, 'congruent': 11, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
{'dst': {'type': 'addresses_normal', 'same': False, 'size': 4, 'congruent': 8, 'NT': True, 'AVXalign': False}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'type': 'addresses_normal', 'same': True, 'size': 4, 'congruent': 0, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'type': 'addresses_D_ht', 'congruent': 11, 'same': False}, 'dst': {'type': 'addresses_A_ht', 'congruent': 8, 'same': False}, 'OP': 'REPM'}
{'src': {'type': 'addresses_D_ht', 'same': False, 'size': 4, 'congruent': 11, 'NT': False, 'AVXalign': False}, 'OP': 'LOAD'}
{'dst': {'type': 'addresses_WC_ht', 'same': False, 'size': 2, 'congruent': 3, 'NT': False, 'AVXalign': False}, 'OP': 'STOR'}
{'34': 41}
34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34 34
*/
| 19.946429
| 147
| 0.648612
|
09aed2bb2ffa43ccc98edaf75a9a0022afd0e6d7
| 5,030
|
asm
|
Assembly
|
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0xca_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/AVXALIGN/_st_sm_/i7-7700_9_0xca_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/AVXALIGN/_st_sm_/i7-7700_9_0xca_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:
push %r15
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x19a29, %rsi
lea addresses_WC_ht+0x133a1, %rdi
nop
nop
nop
nop
nop
add $50932, %r15
mov $82, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp %rdx, %rdx
lea addresses_WT_ht+0x149a1, %rsi
lea addresses_A_ht+0x1b4fd, %rdi
nop
nop
nop
nop
nop
add $11267, %r9
mov $123, %rcx
rep movsl
nop
nop
nop
nop
nop
sub %r15, %r15
lea addresses_WC_ht+0x12f23, %rsi
lea addresses_normal_ht+0x1ec19, %rdi
sub %rax, %rax
mov $97, %rcx
rep movsq
nop
nop
nop
nop
dec %r15
pop %rsi
pop %rdx
pop %rdi
pop %rcx
pop %rax
pop %r9
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r11
push %r12
push %r13
push %r8
push %rdx
push %rsi
// Store
lea addresses_WC+0x41a1, %rdx
nop
nop
inc %r8
mov $0x5152535455565758, %r11
movq %r11, %xmm5
vmovups %ymm5, (%rdx)
nop
nop
nop
sub $23964, %rdx
// Faulty Load
lea addresses_WC+0x41a1, %r13
nop
nop
sub $4110, %rsi
mov (%r13), %edx
lea oracles, %r12
and $0xff, %rdx
shlq $12, %rdx
mov (%r12,%rdx,1), %rdx
pop %rsi
pop %rdx
pop %r8
pop %r13
pop %r12
pop %r11
pop %r10
ret
/*
<gen_faulty_load>
[REF]
{'src': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': False, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
{'dst': {'NT': False, 'AVXalign': False, 'size': 32, 'congruent': 0, 'same': True, 'type': 'addresses_WC'}, 'OP': 'STOR'}
[Faulty Load]
{'src': {'NT': False, 'AVXalign': True, 'size': 4, 'congruent': 0, 'same': True, 'type': 'addresses_WC'}, 'OP': 'LOAD'}
<gen_prepare_buffer>
{'src': {'congruent': 3, 'same': False, 'type': 'addresses_UC_ht'}, 'dst': {'congruent': 9, 'same': False, 'type': 'addresses_WC_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 11, 'same': False, 'type': 'addresses_WT_ht'}, 'dst': {'congruent': 1, 'same': False, 'type': 'addresses_A_ht'}, 'OP': 'REPM'}
{'src': {'congruent': 0, 'same': False, 'type': 'addresses_WC_ht'}, 'dst': {'congruent': 3, 'same': False, 'type': 'addresses_normal_ht'}, 'OP': 'REPM'}
{'58': 21829}
58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58 58
*/
| 42.991453
| 2,999
| 0.664414
|
5bfcd6edd3368b09e5bff74792d234269d8e5e4e
| 97
|
asm
|
Assembly
|
data/maps/headers/ViridianForestNorthGate.asm
|
opiter09/ASM-Machina
|
75d8e457b3e82cc7a99b8e70ada643ab02863ada
|
[
"CC0-1.0"
] | 1
|
2022-02-15T00:19:44.000Z
|
2022-02-15T00:19:44.000Z
|
data/maps/headers/ViridianForestNorthGate.asm
|
opiter09/ASM-Machina
|
75d8e457b3e82cc7a99b8e70ada643ab02863ada
|
[
"CC0-1.0"
] | null | null | null |
data/maps/headers/ViridianForestNorthGate.asm
|
opiter09/ASM-Machina
|
75d8e457b3e82cc7a99b8e70ada643ab02863ada
|
[
"CC0-1.0"
] | null | null | null |
map_header ViridianForestNorthGate, VIRIDIAN_FOREST_NORTH_GATE, FOREST_GATE, 0
end_map_header
| 24.25
| 79
| 0.876289
|
d68655d4072a1bd9fd8c836d1ce96ff3d410303f
| 600
|
asm
|
Assembly
|
oeis/129/A129953.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/129/A129953.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/129/A129953.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A129953: First differences of A129952.
; 0,1,4,10,24,56,128,288,640,1408,3072,6656,14336,30720,65536,139264,294912,622592,1310720,2752512,5767168,12058624,25165824,52428800,109051904,226492416,469762048,973078528,2013265920,4160749568,8589934592,17716740096,36507222016,75161927680,154618822656,317827579904,652835028992,1340029796352,2748779069440,5634997092352,11544872091648,23639499997184,48378511622144,98956046499840,202310139510784,413416372043776,844424930131968,1724034232352768,3518437208883200,7177611906121728,14636698788954112
mov $1,2
pow $1,$0
add $0,2
mul $1,$0
div $1,4
mov $0,$1
| 60
| 500
| 0.85
|
b573841494b9cf0e21607113d3d0b58f4bcc13d0
| 146
|
asm
|
Assembly
|
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/old_cos/sfc/yst_svld.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/old_cos/sfc/yst_svld.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
other.7z/SFC.7z/SFC/ソースデータ/ヨッシーアイランド/ツール/tool/old_cos/sfc/yst_svld.asm
|
prismotizm/gigaleak
|
d082854866186a05fec4e2fdf1def0199e7f3098
|
[
"MIT"
] | null | null | null |
Name: yst_svld.asm
Type: file
Size: 40635
Last-Modified: '2016-05-13T04:52:55Z'
SHA-1: 40B3E3F9D711EF95B476A544DA85353C20D44B1C
Description: null
| 20.857143
| 47
| 0.815068
|
d0437de72240d7ef631520d9ea0f79c758f84439
| 2,081
|
asm
|
Assembly
|
text/maps/rock_tunnel_b2f.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 16
|
2018-08-28T21:47:01.000Z
|
2022-02-20T20:29:59.000Z
|
text/maps/rock_tunnel_b2f.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 5
|
2019-04-03T19:53:11.000Z
|
2022-03-11T22:49:34.000Z
|
text/maps/rock_tunnel_b2f.asm
|
adhi-thirumala/EvoYellow
|
6fb1b1d6a1fa84b02e2d982f270887f6c63cdf4c
|
[
"Unlicense"
] | 2
|
2019-12-09T19:46:02.000Z
|
2020-12-05T21:36:30.000Z
|
_RockTunnel2BattleText2::
text "Hikers leave twigs"
line "as trail markers."
done
_RockTunnel2EndBattleText2::
text "Ohhh!"
line "I did my best!"
prompt
_RockTunnel2AfterBattleText2::
text "I want to go "
line "home!"
done
_RockTunnel2BattleText3::
text "Hahaha! Can you"
line "beat my power?"
done
_RockTunnel2EndBattleText3::
text "Oops!"
line "Out-muscled!"
prompt
_RockTunnel2AfterBattleText3::
text "I go for power"
line "because I hate"
cont "thinking!"
done
_RockTunnel2BattleText4::
text "You have a"
line "#DEX?"
cont "I want one too!"
done
_RockTunnel2EndBattleText4::
text "Shoot!"
line "I'm so jealous!"
prompt
_RockTunnel2AfterBattleText4::
text "When you finish"
line "your #DEX, can"
cont "I have it?"
done
_RockTunnel2BattleText5::
text "Do you know about"
line "costume players?"
done
_RockTunnel2EndBattleText5::
text "Well,"
line "that's that."
prompt
_RockTunnel2AfterBattleText5::
text "Costume players"
line "dress up as"
cont "#MON for fun."
done
_RockTunnel2BattleText6::
text "My #MON"
line "techniques will"
cont "leave you crying!"
done
_RockTunnel2EndBattleText6::
text "I give!"
line "You're a better"
cont "technician!"
prompt
_RockTunnel2AfterBattleText6::
text "In mountains,"
line "you'll often find"
cont "rock-type #MON."
done
_RockTunnel2BattleText7::
text "I don't often"
line "come here, but I"
cont "will fight you."
done
_RockTunnel2EndBattleText7::
text "Oh!"
line "I lost!"
prompt
_RockTunnel2AfterBattleText7::
text "I like tiny"
line "#MON, big ones"
cont "are too scary!"
done
_RockTunnel2BattleText8::
text "Hit me with your"
line "best shot!"
done
_RockTunnel2EndBattleText8::
text "Fired"
line "away!"
prompt
_RockTunnel2AfterBattleText8::
text "I'll raise my"
line "#MON to beat"
cont "yours, kid!"
done
_RockTunnel2BattleText9::
text "I draw #MON"
line "when I'm home."
done
_RockTunnel2EndBattleText9::
text "Whew!"
line "I'm exhausted!"
prompt
_RockTunnel2AfterBattleText9::
text "I'm an artist,"
line "not a fighter."
done
| 16.007692
| 30
| 0.722729
|
14187198b490cfda3effec8f0799fce689f9e50a
| 358
|
asm
|
Assembly
|
src/PJ/picdrive/mov/memwcopy.asm
|
AnimatorPro/Animator-Pro
|
6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb
|
[
"BSD-3-Clause"
] | 119
|
2015-01-10T15:13:50.000Z
|
2022-01-24T04:54:34.000Z
|
src/PJ/picdrive/mov/memwcopy.asm
|
AnimatorPro/Animator-Pro
|
6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb
|
[
"BSD-3-Clause"
] | 6
|
2015-10-22T20:14:59.000Z
|
2021-07-10T03:25:21.000Z
|
src/PJ/picdrive/pict2/memwcopy.asm
|
AnimatorPro/Animator-Pro
|
6d0b68cd94bb5cfde2cdd05e9a7c8ee1e1cb3cbb
|
[
"BSD-3-Clause"
] | 27
|
2015-04-24T22:55:30.000Z
|
2022-01-21T13:54:00.000Z
|
CGROUP group code
code segment dword 'CODE'
assume cs:CGROUP,ds:CGROUP
;pj_copy_words(UBYTE *s,UBYTE *d,unsigned count)
public pj_copy_words
pj_copy_words proc near
push esi
push edi
push ecx
mov esi,[esp+16]
mov edi,[esp+20]
mov ecx,[esp+24]
rep movsw
pop ecx
pop edi
pop esi
ret
pj_copy_words endp
code ends
end
| 13.769231
| 49
| 0.687151
|
529f5b3c7b0aa066df08751e3fcb245293f927a8
| 21
|
asm
|
Assembly
|
projects/Links_Awakening_gb.windfish/configuration/macros/call_changebank.asm
|
jverkoey/awaken
|
743755248996deb7181ae92f6e60be5656439c44
|
[
"Apache-2.0"
] | 68
|
2020-12-16T10:06:48.000Z
|
2022-03-29T19:54:01.000Z
|
projects/Links_Awakening_gb.windfish/configuration/macros/call_changebank.asm
|
jverkoey/awaken
|
743755248996deb7181ae92f6e60be5656439c44
|
[
"Apache-2.0"
] | 62
|
2020-12-19T04:28:41.000Z
|
2021-02-15T22:18:16.000Z
|
projects/Links_Awakening_gb.windfish/configuration/macros/call_changebank.asm
|
jverkoey/awaken
|
743755248996deb7181ae92f6e60be5656439c44
|
[
"Apache-2.0"
] | 4
|
2021-01-17T03:51:22.000Z
|
2021-01-21T16:26:53.000Z
|
ld a, #1
call $07b9
| 10.5
| 10
| 0.571429
|
f107975ddd92552a10bec8041d0e12cd7209337c
| 338
|
asm
|
Assembly
|
libsrc/adt/stack/adt_StackDelete.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/adt/stack/adt_StackDelete.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
libsrc/adt/stack/adt_StackDelete.asm
|
meesokim/z88dk
|
5763c7778f19a71d936b3200374059d267066bb2
|
[
"ClArtistic"
] | null | null | null |
; void adt_StackDelete(struct adt_Stack *s, void *delete)
; CALLER linkage for function pointers
PUBLIC adt_StackDelete
EXTERN adt_StackDelete_callee
EXTERN ASMDISP_ADT_STACKDELETE_CALLEE
.adt_StackDelete
pop bc
pop de
pop hl
push hl
push de
push bc
jp adt_StackDelete_callee + ASMDISP_ADT_STACKDELETE_CALLEE
| 17.789474
| 61
| 0.781065
|
d3b8dd4793127e5bb35c7265b27a0846ab8fd3a3
| 206
|
asm
|
Assembly
|
Mips Exersice/mips.asm
|
Pandula1234/Machine-Instructions
|
4fa06486968a546a727fffd897e5a18f75e95c04
|
[
"BSL-1.0"
] | null | null | null |
Mips Exersice/mips.asm
|
Pandula1234/Machine-Instructions
|
4fa06486968a546a727fffd897e5a18f75e95c04
|
[
"BSL-1.0"
] | null | null | null |
Mips Exersice/mips.asm
|
Pandula1234/Machine-Instructions
|
4fa06486968a546a727fffd897e5a18f75e95c04
|
[
"BSL-1.0"
] | null | null | null |
.data
num1: .word 10,15
newline: .asciiz "\n"
.text
la $t0, 0
lw $a0, num1($t0)
li $v0, 1
syscall
la $a0, newline
li $v0, 4
syscall
li $v0, 1
addiu $t0,$t0, 4
lw $a0,num1($t0)
syscall
li, $v0, 10
syscall
| 10.3
| 21
| 0.626214
|
02215007d5fd9fb436d173eb0a041bfd10d2f901
| 715
|
asm
|
Assembly
|
oeis/018/A018904.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/018/A018904.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/018/A018904.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A018904: Define the sequence S(a(0),a(1)) by a(n+2) is the least integer such that a(n+2)/a(n+1) > a(n+1)/a(n) for n >= 0. This is S(1,6).
; 1,6,37,229,1418,8781,54377,336734,2085253,12913101,79965442,495192589,3066520913,18989683446,117595179557,728217839669,4509548979898,27925753660941,172932530727097,1070898946784974,6631629973859333,41066915083090461,254310255712336562,1574837214570903629,9752309223434642593,60391978491187980006,373982303321142647077,2315916230792058629509,14341502098938697171178,88810933538610587050701,549969024275580623499017,3405728502236011429239614,21090254394274176887182213,130603138248739181064077421
mov $1,1
lpb $0
sub $0,1
add $2,$1
mul $1,5
add $1,$2
lpe
mov $0,$1
| 59.583333
| 496
| 0.813986
|
ae6725e41d0808a3b0c60ea4d6231c113effb59a
| 1,652
|
asm
|
Assembly
|
source/system/interface.asm
|
mega65dev/rom-assembler
|
1670a56a8246dcdcc18e83b345d577eba686cf32
|
[
"MIT"
] | null | null | null |
source/system/interface.asm
|
mega65dev/rom-assembler
|
1670a56a8246dcdcc18e83b345d577eba686cf32
|
[
"MIT"
] | null | null | null |
source/system/interface.asm
|
mega65dev/rom-assembler
|
1670a56a8246dcdcc18e83b345d577eba686cf32
|
[
"MIT"
] | null | null | null |
; ********************************************************************************************
; ********************************************************************************************
;
; Name : interface.asm
; Purpose : ..
; Created : 15th Nov 1991
; Updated : 4th Jan 2021
; Authors : Fred Bowen
;
; ********************************************************************************************
; ********************************************************************************************
ready_1
lda #%10000000
jsr _setmsg ; turn Kernel messages on
lda #%11000000
trb runmod ; turn run modes off, leave trace mode on????
ready_2
bbs4 runmod,l24_1 ; print appropriate system prompt
jsr _primm ; Program mode: print 'ready.'
!text cr,"READY.",cr,0
bra main
l24_1 jsr _primm ; Edit mode: print 'ok.'
!text cr,"OK.",cr,0
main jmp (imain) ; MAIN INPUT LOOP
nmain ldx #$ff ; set direct mode flag
stx curlin+1
jsr InputLine ; get a line of input & buffer it
; ********************************************************************************************
;
; Date Changes
; ==== =======
;
; ********************************************************************************************
| 38.418605
| 101
| 0.255448
|
ae8ecbef6a1912fe64d81f7dd27513d9b2375fac
| 589
|
asm
|
Assembly
|
oeis/065/A065705.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 11
|
2021-08-22T19:44:55.000Z
|
2022-03-20T16:47:57.000Z
|
oeis/065/A065705.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 9
|
2021-08-29T13:15:54.000Z
|
2022-03-09T19:52:31.000Z
|
oeis/065/A065705.asm
|
neoneye/loda-programs
|
84790877f8e6c2e821b183d2e334d612045d29c0
|
[
"Apache-2.0"
] | 3
|
2021-08-22T20:56:47.000Z
|
2021-09-29T06:26:12.000Z
|
; A065705: a(n) = Lucas(10*n).
; 2,123,15127,1860498,228826127,28143753123,3461452808002,425730551631123,52361396397820127,6440026026380244498,792070839848372253127,97418273275323406890123,11981655542024930675232002,1473646213395791149646646123,181246502592140286475862241127,22291846172619859445381409012498,2741715832729650571495437446296127,337208755579574400434493424485411123,41473935220454921602871195774259272002,5100956823360375782752722586809405045123,627376215338105766356982006981782561278127
mul $0,10
mov $1,2
mov $2,1
lpb $0
sub $0,2
add $1,$2
add $2,$1
lpe
mov $0,$1
| 45.307692
| 472
| 0.865874
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.