Implemented 32-bit jumps

This commit is contained in:
Eduard Urbach 2024-07-10 15:01:46 +02:00
parent 75a8823b13
commit 3b2cbbe3b7
Signed by: eduard
GPG key ID: 49226B848C78F6C8
10 changed files with 253 additions and 38 deletions

View file

@ -5,7 +5,7 @@ package x64
func Call(code []byte, address uint32) []byte {
return append(
code,
0xe8,
0xE8,
byte(address),
byte(address>>8),
byte(address>>16),