Move note on instruction length to readme, from simulator.js

This commit is contained in:
n loewen 2023-08-02 11:26:10 +01:00
parent 7b4d6f2ec0
commit 996d628406
2 changed files with 3 additions and 5 deletions

View File

@ -34,6 +34,9 @@ Misc:
E CHP ———— ; carry hop ... skip next instruction if Carry Flag is set ... when true: IP <- PC + 2
F
- instructions are two bytes long:
one byte for the opcode, one for the argument
### Nice features that didn't fit

View File

@ -1,8 +1,3 @@
// NOTES:
//
// - instructions are two bytes long:
// one byte for the opcode, one for the argument
const { INITIAL_IP_ADDRESS, CYCLE_LIMIT } = require('./machine.config');
const display = require('./display.js');