X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/7aa8541bb3a69361fcfe0e9b1148c693fd1043ec..260493397ff323c936b295ec96d1e06710ece653:/ARM_Constants.v diff --git a/ARM_Constants.v b/ARM_Constants.v index 921e6ec..2eedd3a 100644 --- a/ARM_Constants.v +++ b/ARM_Constants.v @@ -37,4 +37,16 @@ `define SHIFT_LSL 2'b00 `define SHIFT_LSR 2'b01 `define SHIFT_ASR 2'b10 -`define SHIFT_ROR 2'b11 \ No newline at end of file +`define SHIFT_ROR 2'b11 + +`define CPSR_N 31 +`define CPSR_Z 30 +`define CPSR_C 29 +`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