Update apf_disassembler and apf_run to print instruction size
This commit updates the apf_disassembler and apf_run utilities to also
print the size of each instruction. This enhancement makes it easier to
analyze the disassembled output and optimize program size for improved
bytecode efficiency.
Example apf_disassemble output:
( 5) 3276: jgt r0, 0x12c, 3452
( 2) 3281: li r0, 6
( 12) 3283: jbsne r0, 0x9, 3452, f434f06452fe86dd60
Example apf_run output:
R0 R1 (size) PC Instruction
-------------------------------------------------
0 0 ( 4) 19: debugbuf size=2766
0 0 ( 2) 23: ldm r0, m[15]
0 0 ( 2) 25: stdw counter=6, r0
Test: TH
Change-Id: Ie53e2017493f7e720342577c1383addd2836fccc
9 files changed