X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/ae281afdd15d606536d5b445b49cbc3bafcb9b7c..879a3986d6c3aeb3b51a0209069d15c37bfac3dc:/ARM_Constants.v diff --git a/ARM_Constants.v b/ARM_Constants.v index a635c5e..04dd4dd 100644 --- a/ARM_Constants.v +++ b/ARM_Constants.v @@ -24,7 +24,7 @@ `define ALU_ADD 4'b0100 `define ALU_ADC 4'b0101 `define ALU_SBC 4'b0110 -`define ALU_RBC 4'b0111 +`define ALU_RSC 4'b0111 `define ALU_TST 4'b1000 `define ALU_TEQ 4'b1001 `define ALU_CMP 4'b1010 @@ -45,3 +45,8 @@ `define CPSR_V 28 `define CPSR_I 7 `define CPSR_F 6 + +`define SHIFT_LSL 2'b00 +`define SHIFT_LSR 2'b01 +`define SHIFT_ASR 2'b10 +`define SHIFT_ROR 2'b11