Displaying 1 result from an estimated 1 matches for "amfbs_non".
Did you mean:
amfbs_none
2019 Mar 25
2
Printing PC-relative offsets - how to get the instruction length?
...; <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 16-bit variant with MCK_Imm16 selected instead?
The instructions are defined as
def LDAi8oPC : MC6809LoadIndexed_i8oPC_P1<...