ft: implement more mnemonics
This commit is contained in:
@@ -29,7 +29,7 @@ macro_rules! modrms {
|
||||
/// Generate the resulting Mnemonic from a GPR instruction with Byte-sized
|
||||
/// Immediate, encoded in a ModRM byte.
|
||||
/// GPR always has an imm value as second operand.
|
||||
macro_rules! modrmgprb {
|
||||
macro_rules! modrmgpr1b {
|
||||
($self:ident) => {{
|
||||
let (target, reg) = $self.parse_modrm_byte(Operand::Byte(0));
|
||||
let imm = $self.parse_byte();
|
||||
@@ -41,7 +41,7 @@ macro_rules! modrmgprb {
|
||||
/// Generate the resulting Mnemonic from a GPR instruction with Word-sized
|
||||
/// Immediate, encoded in a ModRM byte.
|
||||
/// GPR always has an imm value as second operand.
|
||||
macro_rules! modrmgprv {
|
||||
macro_rules! modrmgpr1v {
|
||||
($self:ident) => {{
|
||||
let (target, reg) = $self.parse_modrm_byte(Operand::Word(0));
|
||||
let imm = $self.parse_word();
|
||||
|
||||
Reference in New Issue
Block a user