Displaying 1 result from an estimated 1 matches for "pcoffset8".
Did you mean:
p_offset
2019 Mar 25
2
Printing PC-relative offsets - how to get the instruction length?
...a */, 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<
(outs GR8:$dst8),
(ins pcoffset8:$offset),
!strconcat("lda", "\t", "${offset}", ",", "pc"),
0x00,
0xA6,
[]
> { let Inst{23-16} = offset{7-0}; let Inst{15} = 0b1; let Inst{14-13} = 0b00; let Inst{12-8} = 0b01100; let...