- 1: begin
- case (opcode[5:3])
- `INSN_reg_A: registers[`REG_A] <= tmp;
- `INSN_reg_B: registers[`REG_B] <= tmp;
- `INSN_reg_C: registers[`REG_C] <= tmp;
- `INSN_reg_D: registers[`REG_D] <= tmp;
- `INSN_reg_E: registers[`REG_E] <= tmp;
- `INSN_reg_H: registers[`REG_H] <= tmp;
- `INSN_reg_L: registers[`REG_L] <= tmp;
- endcase
- end
+ 1: case (opcode[5:3])
+ `INSN_reg_A: `_A <= rdata;
+ `INSN_reg_B: `_B <= rdata;
+ `INSN_reg_C: `_C <= rdata;
+ `INSN_reg_D: `_D <= rdata;
+ `INSN_reg_E: `_E <= rdata;
+ `INSN_reg_H: `_H <= rdata;
+ `INSN_reg_L: `_L <= rdata;
+ endcase