search for: ldai8opc

Displaying 1 result from an estimated 1 matches for "ldai8opc".

2019 Mar 25
2
Printing PC-relative offsets - how to get the instruction length?
...-show-inst -show-encoding <<< "lda 0,pc" .text <stdin>:1:1: note: parsed instruction: ['lda', 0, <register 13>] lda 0,pc ^ lda $+2,pc ; encoding: [0xa6,0x8c,0x00] <<=========== ; <MCInst #1849 LDAi8oPC ; <MCOperand Imm:0> ; <MCOperand Imm:0>> The "encoding:" knows that I have a three-byte instruction, but that is generated by another chunk of code miles away. I suppose I could replicate tha...