X-Git-Url: http://git.joshuawise.com/firearm.git/blobdiff_plain/7aa8541bb3a69361fcfe0e9b1148c693fd1043ec..48775efdc0074dd9a772e37ae43adf58b5c9be8c:/ARM_Constants.v?ds=inline 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