aboutsummaryrefslogtreecommitdiff
path: root/src/cpu.spec.ts
diff options
context:
space:
mode:
authorlironh2020-03-21 09:52:53 +0200
committerlironh2020-03-22 21:08:30 +0200
commit8934a7566a038a74464d3d8df9d04fd875e5b1d7 (patch)
treee131c263938081e6c89f39f141f3f20f6da8f851 /src/cpu.spec.ts
parentMerge pull request #19 from gfeun/main-execute-loop-optimization (diff)
downloadavr8js-8934a7566a038a74464d3d8df9d04fd875e5b1d7.tar.gz
avr8js-8934a7566a038a74464d3d8df9d04fd875e5b1d7.tar.bz2
avr8js-8934a7566a038a74464d3d8df9d04fd875e5b1d7.zip
refactor: added peripherals and cpu feature folders
Diffstat (limited to 'src/cpu.spec.ts')
-rw-r--r--src/cpu.spec.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cpu.spec.ts b/src/cpu.spec.ts
deleted file mode 100644
index 92df7ee..0000000
--- a/src/cpu.spec.ts
+++ /dev/null
@@ -1,8 +0,0 @@
-import { CPU } from './cpu';
-
-describe('cpu', () => {
- it('should set initial value of SP to the last address of internal SRAM', () => {
- const cpu = new CPU(new Uint16Array(1024), 0x1000);
- expect(cpu.SP).toEqual(0x10ff);
- });
-});