diff options
| author | Uri Shaked | 2020-09-30 10:39:56 +0300 |
|---|---|---|
| committer | Uri Shaked | 2020-09-30 10:39:56 +0300 |
| commit | 8dcafb11983f3918378332db8dba978614b1692c (patch) | |
| tree | 33b2cf0fe54e7c90f36161f8ffea88f84b2042cb /src/cpu/instruction.spec.ts | |
| parent | 0.11.2 (diff) | |
| download | avr8js-8dcafb11983f3918378332db8dba978614b1692c.tar.gz avr8js-8dcafb11983f3918378332db8dba978614b1692c.tar.bz2 avr8js-8dcafb11983f3918378332db8dba978614b1692c.zip | |
fix(cpu): incorrect address for RAMPZ / EIND
We used their I/O space address intead of their data space address.
close #61
Diffstat (limited to 'src/cpu/instruction.spec.ts')
| -rw-r--r-- | src/cpu/instruction.spec.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
