_rip_relative has to use x64 registers for the proper rip relative adressing

That's actually an embarassing error...
This commit is contained in:
2017-12-27 19:08:16 +01:00
parent 72b73ee462
commit c56030a7d1

View File

@@ -11,7 +11,7 @@ _small:
public _rip_relative public _rip_relative
_rip_relative: _rip_relative:
mov eax, [seed] mov rax, qword[seed]
mov ecx, 214013 mov ecx, 214013
mul ecx mul ecx
add eax, 2531011 add eax, 2531011