LoadFixedOffsetSignExtend loads from memory with a signed offset from -128 to 127 into a register and sign-extends it.
(code []byte, destination cpu.Register, base cpu.Register, offset int32, length byte)
| 9 | |
| 10 | // LoadFixedOffsetSignExtend loads from memory with a signed offset from -128 to 127 into a register and sign-extends it. |
| 11 | func LoadFixedOffsetSignExtend(code []byte, destination cpu.Register, base cpu.Register, offset int32, length byte) []byte { |
| 12 | return memLoadExtend(code, destination, base, offset, length, 0x0FBE, 0x0FBF, 0x63) |
| 13 | } |
| 14 | |
| 15 | // LoadFixedOffsetZeroExtend loads from memory with a signed offset from -128 to 127 into a register and zero-extends it. |
| 16 | func LoadFixedOffsetZeroExtend(code []byte, destination cpu.Register, base cpu.Register, offset int32, length byte) []byte { |