From e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 7 Sep 2026 23:19:53 +0200 Subject: vnf: display also the break mark on report() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When reporting the final instruction, if that was actually a brk (and hence we stopped because of it), show the breaking mark as that could be relevant when debugging. Signed-off-by: Miquel Sabaté Solà --- tests/runrom/halt.s | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tests/runrom/halt.s (limited to 'tests/runrom') diff --git a/tests/runrom/halt.s b/tests/runrom/halt.s new file mode 100644 index 0000000..06d0bef --- /dev/null +++ b/tests/runrom/halt.s @@ -0,0 +1,20 @@ +.segment "HEADER" + .byte 'N', 'E', 'S', $1A + .byte $02, $01 + .byte $00 + .byte $00 + +.segment "CHARS" +.byte 0 + +.segment "VECTORS" + .addr reset, reset, reset + +.segment "CODE" +;; asan:stack full + +.proc reset + brk + .byte $42 + rts +.endproc -- cgit v1.2.3