Move note on instruction length to readme, from simulator.js
This commit is contained in:
parent
7b4d6f2ec0
commit
996d628406
|
|
@ -34,6 +34,9 @@ Misc:
|
||||||
E CHP ———— ; carry hop ... skip next instruction if Carry Flag is set ... when true: IP <- PC + 2
|
E CHP ———— ; carry hop ... skip next instruction if Carry Flag is set ... when true: IP <- PC + 2
|
||||||
F
|
F
|
||||||
|
|
||||||
|
- instructions are two bytes long:
|
||||||
|
one byte for the opcode, one for the argument
|
||||||
|
|
||||||
|
|
||||||
### Nice features that didn't fit
|
### Nice features that didn't fit
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 { INITIAL_IP_ADDRESS, CYCLE_LIMIT } = require('./machine.config');
|
||||||
|
|
||||||
const display = require('./display.js');
|
const display = require('./display.js');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue