From 19e74c3297f60a60aa3a37890befa893102df0ac Mon Sep 17 00:00:00 2001 From: Yuyang Huang Date: Tue, 9 Apr 2024 01:22:06 +0900 Subject: 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 --- disassembler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3