2019-04-10 22:01:22 +00:00
|
|
|
sub rsp, 72
|
|
|
|
mov qword ptr [rsp+64], rbx
|
|
|
|
mov qword ptr [rsp+56], r8
|
|
|
|
mov qword ptr [rsp+48], r9
|
|
|
|
mov qword ptr [rsp+40], r10
|
|
|
|
mov qword ptr [rsp+32], r11
|
|
|
|
mov qword ptr [rsp+24], r12
|
|
|
|
mov qword ptr [rsp+16], r13
|
|
|
|
mov qword ptr [rsp+8], r14
|
|
|
|
mov qword ptr [rsp+0], r15
|
|
|
|
xor rbp, rax ;# modify "mx"
|
|
|
|
ror rbp, 32 ;# swap "ma" and "mx"
|
|
|
|
mov ebx, ebp ;# ecx = ma
|
2019-05-06 16:14:00 +00:00
|
|
|
and ebx, RANDOMX_DATASET_BASE_MASK
|
2019-04-10 22:01:22 +00:00
|
|
|
shr ebx, 6 ;# ebx = Dataset block number
|
2019-04-26 14:05:30 +00:00
|
|
|
;# add ebx, datasetOffset / 64
|
2019-04-10 22:01:22 +00:00
|
|
|
;# call 32768
|