From a3598ecd16a42ed0408cd88f61b3b3372bd3a50b Mon Sep 17 00:00:00 2001 From: Peter Evans Date: Tue, 23 Jan 2018 16:21:43 -0600 Subject: [PATCH] The stack pushes from the end of the page now --- tests/mos6502.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mos6502.c b/tests/mos6502.c index bbfc275..2d13c80 100644 --- a/tests/mos6502.c +++ b/tests/mos6502.c @@ -26,7 +26,7 @@ Test(mos6502, create) Test(mos6502, push_stack) { mos6502_push_stack(cpu, 0x34); - cr_assert_eq(mos6502_get(cpu, 0x0100), 0x34); + cr_assert_eq(mos6502_get(cpu, 0x01ff), 0x34); } Test(mos6502, pop_stack)