Renamed x64 to x86
This commit is contained in:
parent
f558a69366
commit
9c53235e7e
80 changed files with 1757 additions and 1757 deletions
7
src/x86/ExtendRAXToRDX.go
Normal file
7
src/x86/ExtendRAXToRDX.go
Normal file
|
@ -0,0 +1,7 @@
|
|||
package x86
|
||||
|
||||
// ExtendRAXToRDX doubles the size of RAX by sign-extending it to RDX.
|
||||
// This is also known as CQO.
|
||||
func ExtendRAXToRDX(code []byte) []byte {
|
||||
return append(code, 0x48, 0x99)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue