Displaying 1 result from an estimated 1 matches for "pcoffset16".
2019 Mar 25
2
Printing PC-relative offsets - how to get the instruction length?
...0x00,
0xA6,
[]
> { let Inst{23-16} = offset{7-0}; let Inst{15} = 0b1; let Inst{14-13} = 0b00; let Inst{12-8} = 0b01100; let Inst{7-0} = opcode; }
def LDAi16oPC : MC6809LoadIndexed_i16oPC_P1<
(outs GR8:$dst8),
(ins pcoffset16:$offset),
!strconcat("lda", "\t", "${offset}", ",", "pc"),
0x00,
0xA6,
[]
> { let Inst{31-24} = offset{7-0}; let Inst{23-16} = offset{15-8}; let Inst{15} = 0b1; let Inst{14-13} = 0b0...