aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUri Shaked2020-01-30 23:23:15 +0200
committerUri Shaked2020-01-30 23:23:15 +0200
commit6b1935d69e7dfec69ec066f29bf27e139209fa47 (patch)
treeb6edc4b03559c844ae28dd03e7566cb768463f28
parentchore: enable strictNullChecks (diff)
downloadavr8js-6b1935d69e7dfec69ec066f29bf27e139209fa47.tar.gz
avr8js-6b1935d69e7dfec69ec066f29bf27e139209fa47.tar.bz2
avr8js-6b1935d69e7dfec69ec066f29bf27e139209fa47.zip
test(instruction): fix incorrect opcode in tests
Diffstat (limited to '')
-rw-r--r--src/instruction.spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instruction.spec.ts b/src/instruction.spec.ts
index 2ffbe3c..2c5244e 100644
--- a/src/instruction.spec.ts
+++ b/src/instruction.spec.ts
@@ -496,7 +496,7 @@ describe('avrInstruction', () => {
});
it('should execute `MUL r0, r1` and update the zero flag', () => {
- loadProgram('569c');
+ loadProgram('019c');
cpu.data[0] = 0; // r0 <- 0
cpu.data[1] = 9; // r1 <- 9
avrInstruction(cpu);