aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
authorUri Shaked2020-12-09 00:51:33 +0200
committerUri Shaked2020-12-09 00:51:33 +0200
commitc34224610b49db0909b7916d0bd6f42a9f2ceeab (patch)
tree6aa25cd66ccd73e551c063900a5d5188b76dc12b /src/cpu
parent0.13.1 (diff)
downloadavr8js-c34224610b49db0909b7916d0bd6f42a9f2ceeab.tar.gz
avr8js-c34224610b49db0909b7916d0bd6f42a9f2ceeab.tar.bz2
avr8js-c34224610b49db0909b7916d0bd6f42a9f2ceeab.zip
test(cpu): improve test name
Diffstat (limited to '')
-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);
});
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.