aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/cpu.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/cpu.spec.ts')
-rw-r--r--src/cpu/cpu.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/cpu.spec.ts b/src/cpu/cpu.spec.ts
index 92df7ee..a68f754 100644
--- a/src/cpu/cpu.spec.ts
+++ b/src/cpu/cpu.spec.ts
@@ -1,7 +1,7 @@
import { CPU } from './cpu';
describe('cpu', () => {
- it('should set initial value of SP to the last address of internal SRAM', () => {
+ it('should set initial value of SP to the last byte of internal SRAM', () => {
const cpu = new CPU(new Uint16Array(1024), 0x1000);
expect(cpu.SP).toEqual(0x10ff);
});