aboutsummaryrefslogtreecommitdiff
path: root/tests/expected/runrom/overflow-arithmetics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/expected/runrom/overflow-arithmetics.txt')
-rw-r--r--tests/expected/runrom/overflow-arithmetics.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/expected/runrom/overflow-arithmetics.txt b/tests/expected/runrom/overflow-arithmetics.txt
new file mode 100644
index 0000000..3eadfae
--- /dev/null
+++ b/tests/expected/runrom/overflow-arithmetics.txt
@@ -0,0 +1,6 @@
+<start> PC: $8011, cycles: 7, registers: [a: $00, x: $00, y: $00, sp: $FD], status: ----I--
+ldx #$01 PC: $8013, cycles: 9, registers: [a: $00, x: $01, y: $00, sp: $FD], status: ----I--
+
+@:
+lda $0F, x PC: $8013, cycles: 9, registers: [a: $00, x: $01, y: $00, sp: $FD], status: ----I--
+error: out of bounds: indexed access to $0010 falls out of 'zp_buffer' ($00-$10; bounded inclusively below and exclusively above)