Implemented LDD (HL), A
This commit is contained in:
@@ -40,15 +40,22 @@ package cpu_pkg;
|
||||
ALU_OP_CP = 3'h07
|
||||
} alu_op_t;
|
||||
|
||||
typedef enum logic [1:0] {
|
||||
ALU16_OP_ADD = 2'h00,
|
||||
ALU16_INC = 2'h01,
|
||||
ALU16_DEC = 2'h02
|
||||
} alu16_op_t;
|
||||
|
||||
typedef enum {
|
||||
OP_SRC_A,
|
||||
OP_SRC_REG8,
|
||||
OP_SRC_OPERAND16
|
||||
OP_SRC_OPERAND16,
|
||||
OP_SRC_REG16
|
||||
} op_src_t;
|
||||
|
||||
typedef enum {
|
||||
OP_DEST_A,
|
||||
OP_DEST_R16
|
||||
OP_DEST_REG16
|
||||
} op_dest_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user