1234567package x86 // SignExtendR0ToR2 doubles the size of R0 (RAX) by sign-extending it to R2 (RDX).// This is also known as CQO.func SignExtendR0ToR2(code []byte) []byte { return append(code, 0x48, 0x99)}