Displaying 1 result from an estimated 1 matches for "ldai16opc".
2019 Mar 25
2
Printing PC-relative offsets - how to get the instruction length?
...02,pc ; encoding: [0xa6,0x8c,0xe8]
; <MCInst #1849 LDAi8oPC
; <MCOperand Imm:0>
; <MCOperand Imm:1000>>
I still get the 8-bit variant instead of LDAi16oPC, and the operand is truncated.
The TableGen-generated .inc file has
{ 444 /* lda */, MC6809::LDAi8oPC, Convert__imm_95_0__Imm81_0, AMFBS_None, { MCK_Imm8, MCK_PC }, },
{ 444 /* lda */, MC6809::LDAi16oPC, Convert__imm_95_0__Imm161_0, AMFBS_None, { MCK_Imm16, MCK_PC }, },
... so how do I get the 1...