diff options
author | Yuyang Huang <yuyanghuang@google.com> | 2024-04-09 01:22:06 +0900 |
---|---|---|
committer | Yuyang Huang <yuyanghuang@google.com> | 2024-04-09 10:30:17 +0900 |
commit | 19e74c3297f60a60aa3a37890befa893102df0ac (patch) | |
tree | d509a6edc952516fc7dc3997f3b7533a86f9660a | |
parent | ca8f966ba3b593909c29267e52a7340396e9b673 (diff) | |
download | apf-19e74c3297f60a60aa3a37890befa893102df0ac.tar.gz |
Enhance disassembler output clarity for DROP/PASS opcodes
Modified disassembler to improve the readability of output related to
DROP and PASS opcodes.
Test: TH
Change-Id: Ice54cc218c6deef61aef0785a12c7f1ee2827207
-rw-r--r-- | disassembler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disassembler.c b/disassembler.c index 65b90d1..de6129c 100644 --- a/disassembler.c +++ b/disassembler.c @@ -138,7 +138,7 @@ const char* apf_disassemble(const uint8_t* program, uint32_t program_len, uint32 print_opcode("drop"); } if (imm > 0) { - bprintf(" %d", imm); + bprintf("counter=%d", imm); } break; case LDB_OPCODE: |