fn emit_load_imm64(&mut self, reg: u8, value: u64) {
        // Emit a `movabs`
        self.emit_raw(&[0x48, 0xB8 + reg]);
        self.code_buffer.write_u64::<LittleEndian>(value).unwrap();
    }
/// Emits code for loading a 64-bit immediate value into a 64-bit register, which is specified
/// as the encoding to use in the opcode.
///
/// I'd really like to generalize the register abstraction to work for this use case at some
/// point.
Emits code for loading a 64-bit immediate value into a 64-bit register, which is specified
as the encoding to use in the opcode.

I'd really like to generalize the register abstraction to work for this use case at some
point.
Emits code for loading a 64 - bit immediate value into a 64 - bit register which is specified as the encoding to use in the opcode . I ' d really like to generalize the register abstraction to work for this use case at some point .
fn emit_load_imm64(&mut self, reg: u8, value: u64) {
        // Emit a `movabs`
        self.emit_raw(&[0x48, 0xB8 + reg]);
        self.code_buffer.write_u64::<LittleEndian>(value).unwrap();
    }
fn emit_load_imm64 ( & mut self , reg : u8 , value : u64 ) { // Emit a `movabs` self . emit_raw ( & [ 0x48 , 0xB8 + reg ] ) ; self . code_buffer . write_u64 :: < LittleEndian > ( value ) . unwrap ( ) ; }
Emits code for loading a 64-bit immediate value into a 64-bit register, which is specified
as the encoding to use in the opcode.
Emits code for loading a 64 - bit immediate value into a 64 - bit register which is specified as the encoding to use in the opcode .
&mut self
reg
u8
value
u64
&mut self
reg
u8
value
u64