aboutsummaryrefslogtreecommitdiff
path: root/tests/expected/runrom/halt.txt
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-09-07 23:19:53 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-09-07 23:19:53 +0200
commite2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa (patch)
tree4bfd91230b7834feb97d8a0cbb7b73ed10e5de29 /tests/expected/runrom/halt.txt
parenta17bd972a99007099057d7901b88732b22d08270 (diff)
downloadtools.nes-e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa.tar.gz
tools.nes-e2a20dedc354c0b8d2e5253ffd4ac22d2b2898aa.zip
vnf: display also the break mark on report()
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à <mssola@mssola.com>
Diffstat (limited to 'tests/expected/runrom/halt.txt')
-rw-r--r--tests/expected/runrom/halt.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/expected/runrom/halt.txt b/tests/expected/runrom/halt.txt
new file mode 100644
index 0000000..8e4d83e
--- /dev/null
+++ b/tests/expected/runrom/halt.txt
@@ -0,0 +1,11 @@
+<start> PC: $8000, cycles: 7, registers: [a: $00, x: $00, y: $00, sp: $FD], status: ----I--
+ [STACK]: 02 80 00 00
+ [STACK]: 34 02 80 00 00
+brk PC: $8000, cycles: 14, registers: [a: $00, x: $00, y: $00, sp: $FA], status: --B-I--
+<end> (break mark = $42)
+
+== Memory dump ==
+
+[$2FB] = $34 [reads=0, writes=1]
+[$2FC] = $02 [reads=0, writes=1]
+[$2FD] = $80 [reads=0, writes=1]