1 `define INSN_alu_RLCA 3'b000
2 `define INSN_alu_RRCA 3'b001
3 `define INSN_alu_RLA 3'b010
4 `define INSN_alu_RRA 3'b011
5 `define INSN_alu_DAA 3'b100
6 `define INSN_alu_CPL 3'b101
7 `define INSN_alu_SCF 3'b110
8 `define INSN_alu_CCF 3'b111
10 `define INSN_ALU_A 9'b000xxx111
23 `_A <= {`_A[6:0],`_A[7]};
24 `_F <= {`_F[7:5],`_A[7],`_F[3:0]};
27 `_A <= {`_A[0],`_A[7:1]};
28 `_F <= {`_F[7:5],`_A[0],`_F[3:0]};
31 `_A <= {`_A[6:0],`_F[4]};
32 `_F <= {`_F[7:5],`_A[7],`_F[3:0]};
35 `_A <= {`_A[4],`_A[7:1]};
36 `_F <= {`_F[7:5],`_A[0],`_F[3:0]};
40 `_F <= {`_F[7],1'b1,1'b1,`_F[4:0]};
43 `_F <= {`_F[7:5],1'b1,`_F[3:0]};
46 `_F <= {`_F[7:5],~`_F[4],`_F[3:0]};