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
-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);
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.