From 8dcafb11983f3918378332db8dba978614b1692c Mon Sep 17 00:00:00 2001 From: Uri Shaked Date: Wed, 30 Sep 2020 10:39:56 +0300 Subject: fix(cpu): incorrect address for RAMPZ / EIND We used their I/O space address intead of their data space address. close #61 --- src/cpu/instruction.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/instruction.spec.ts') diff --git a/src/cpu/instruction.spec.ts b/src/cpu/instruction.spec.ts index 0665fe8..18ff76b 100644 --- a/src/cpu/instruction.spec.ts +++ b/src/cpu/instruction.spec.ts @@ -26,8 +26,8 @@ const r31 = 31; const X = 26; const Y = 28; const Z = 30; -const RAMPZ = 59; -const EIND = 60; +const RAMPZ = 0x5b; +const EIND = 0x5c; const SP = 93; const SPH = 94; const SREG = 95; -- cgit v1.2.3