- 0: begin
- address <= {8'hFF,registers[`REG_C]};
- if (opcode[4]) begin // LD A,(C)
- rd <= 1;
- end else begin
- wr <= 1;
- wdata <= registers[`REG_A];
- end
- end
+ 0: if (opcode[4]) // LD A,(C)
+ `EXEC_READ(({8'hFF,`_C}))
+ else
+ `EXEC_WRITE(({8'hFF,`_C}), `_A)