A basic computer simulator to execute basic instructions using a custom instruction set and memory model.
- Instruction Set:
0000
: Load from memory to R10001
: Store from R1 to memory0010
: Add a constant to a register0011
: Subtract a constant from a register0100
: Bitwise AND with a constant0101
: Move a constant to a register0111
: Halt execution
- Registers: R1, R2, R3 (represented with 2 bits each)
- Memory: Programs are stored in the first 512 locations.