diff --git a/readme.md b/readme.md index 8c9024e..54b0c63 100644 --- a/readme.md +++ b/readme.md @@ -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 diff --git a/simulator.js b/simulator.js index 995b289..226437c 100644 --- a/simulator.js +++ b/simulator.js @@ -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');