Implement LD r, $nn
This commit is contained in:
@@ -48,7 +48,8 @@ package cpu_pkg;
|
||||
ALU_OP_XOR = 4'h05,
|
||||
ALU_OP_OR = 4'h06,
|
||||
ALU_OP_CP = 4'h07,
|
||||
ALU_OP_BIT = 4'h08
|
||||
ALU_OP_BIT = 4'h08,
|
||||
ALU_OP_NOP = 4'h09
|
||||
} alu_op_t;
|
||||
|
||||
typedef enum logic [1:0] {
|
||||
@@ -66,8 +67,10 @@ package cpu_pkg;
|
||||
} op_src_t;
|
||||
|
||||
typedef enum {
|
||||
OP_DEST_A,
|
||||
OP_DEST_REG8,
|
||||
OP_DEST_REG16
|
||||
OP_DEST_REG16,
|
||||
OP_DEST_MEMORY
|
||||
} op_dest_t;
|
||||
|
||||
typedef enum {
|
||||
|
||||
Reference in New Issue
Block a user