|
|
d73e2ab710
|
move /src/as to /as and /src to /vm
|
2018-12-18 13:29:18 +01:00 |
|
|
|
66ea2b3b49
|
src/cpu.c: add M16_DEBUG_INSTR preprocessor macro to toggle debug output.
|
2018-11-25 11:38:11 +01:00 |
|
|
|
6d2ad112af
|
src/cpu.c: LW/SW are Type-RI.
|
2018-11-25 11:21:40 +01:00 |
|
|
|
6256fa7512
|
src/cpu.c: remove the old static variables that exists in struct cpu_state from now on.
|
2018-11-24 20:05:27 +01:00 |
|
|
|
cf752ab682
|
move src/instr.h to include/instr.h because it will be needed by assembler for code generation.
|
2018-11-01 18:34:35 +01:00 |
|
|
|
6f60b1a74a
|
src/cpu.c: alot of refactoring, store state in a struct. and make vm.c "own" the state.
|
2018-10-28 14:53:41 +01:00 |
|
|
|
bae062cbf9
|
src/cpu.c: implement OP_INT instead of OP_SYSC_WR
|
2018-10-28 14:23:35 +01:00 |
|
|
|
dca453457d
|
src/cpu: add the define "CPU_NUM_REGS"
|
2018-10-28 14:21:00 +01:00 |
|
|
|
900e1d87c4
|
src/cpu.c: implement JR instruction
|
2018-10-28 13:27:21 +01:00 |
|
|
|
1eef46cc5e
|
src/cpu.c: adding print_reg()
|
2018-10-28 13:27:01 +01:00 |
|
|
|
2ba17c52bd
|
Initial commit
|
2018-10-26 12:35:17 +02:00 |
|