Implementing disassembler back-end, yet more adjustments to CPU window
This commit is contained in:
@@ -79,7 +79,6 @@ static void cpuDecode(VUE_INST *inst, int32_t bits) {
|
||||
|
||||
/* Decode by format */
|
||||
switch (inst->format) {
|
||||
case 0: return; /* Illegal opcode */
|
||||
case 1:
|
||||
inst->reg2 = bits >> 21 & 31;
|
||||
inst->reg1 = bits >> 16 & 31;
|
||||
|
||||
@@ -159,6 +159,7 @@ typedef struct {
|
||||
|
||||
/* Emulation state */
|
||||
typedef struct {
|
||||
VUE_INST inst; /* Instruction state */
|
||||
|
||||
/* Memory bus */
|
||||
struct {
|
||||
@@ -221,8 +222,6 @@ typedef struct {
|
||||
uint16_t ecr_fecc; /* Fatal Error Cause Code */
|
||||
} cpu;
|
||||
|
||||
/* Additional fields */
|
||||
VUE_INST inst; /* Instruction state */
|
||||
} VUE;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user