diff options
Diffstat (limited to 'src/cpu/interrupt.ts')
| -rw-r--r-- | src/cpu/interrupt.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/interrupt.ts b/src/cpu/interrupt.ts index 1bfa035..2e4ceb9 100644 --- a/src/cpu/interrupt.ts +++ b/src/cpu/interrupt.ts @@ -6,9 +6,9 @@ * Copyright (C) 2019, Uri Shaked */ -import { ICPU } from './cpu'; +import { CPU } from './cpu'; -export function avrInterrupt(cpu: ICPU, addr: number) { +export function avrInterrupt(cpu: CPU, addr: number) { const sp = cpu.dataView.getUint16(93, true); cpu.data[sp] = cpu.pc & 0xff; cpu.data[sp - 1] = (cpu.pc >> 8) & 0xff; |
