7 tmp <= registers[`REG_B];
8 tmp2 <= registers[`REG_C];
11 tmp <= registers[`REG_D];
12 tmp2 <= registers[`REG_E];
15 tmp <= registers[`REG_H];
16 tmp2 <= registers[`REG_L];
19 tmp <= registers[`REG_SPH];
20 tmp2 <= registers[`REG_SPL];
35 0: {tmp,tmp2} <= {tmp,tmp2} +
36 (opcode[3] ? 16'hFFFF : 16'h0001);
40 registers[`REG_B] <= tmp;
41 registers[`REG_C] <= tmp2;
44 registers[`REG_D] <= tmp;
45 registers[`REG_E] <= tmp2;
48 registers[`REG_H] <= tmp;
49 registers[`REG_L] <= tmp2;
52 registers[`REG_SPH] <= tmp;
53 registers[`REG_SPL] <= tmp2;