+ case (cycle)
+ 0: begin
+ case (opcode[2:0])
+ `INSN_reg_A: begin wdata <= registers[`REG_A]; end
+ `INSN_reg_B: begin wdata <= registers[`REG_B]; end
+ `INSN_reg_C: begin wdata <= registers[`REG_C]; end
+ `INSN_reg_D: begin wdata <= registers[`REG_D]; end
+ `INSN_reg_E: begin wdata <= registers[`REG_E]; end
+ `INSN_reg_H: begin wdata <= registers[`REG_H]; end
+ `INSN_reg_L: begin wdata <= registers[`REG_L]; end
+ endcase
+ address <= {registers[`REG_H], registers[`REG_L]};
+ wr <= 1; rd <= 0;
+ end
+ 1: begin
+ `EXEC_INC_PC;
+ `EXEC_NEWCYCLE;
+ end
+ endcase