]> Joshua Wise's Git repositories - firearm.git/commitdiff
Add more constants.
authorJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 26 Dec 2008 06:20:45 +0000 (01:20 -0500)
committerJoshua Wise <joshua@rebirth.joshuawise.com>
Fri, 26 Dec 2008 06:20:45 +0000 (01:20 -0500)
ARM_Constants.v

index bbde7be9344dbae177a7a82d04f490c317c5f215..c8c0f1e8624489088fedb46077724fdcec02c2c7 100644 (file)
 `define COND_LE 4'b1101        /* Z set OR (N not equals V) */
 `define COND_AL 4'b1110        /* TRUE */
 `define COND_NV 4'b1111        /* FALSE */
 `define COND_LE 4'b1101        /* Z set OR (N not equals V) */
 `define COND_AL 4'b1110        /* TRUE */
 `define COND_NV 4'b1111        /* FALSE */
+
+`define COND_MATTERS(x) ((x != `COND_AL) && (x != `COND_NV))
+
+`define ALU_AND 4'b0000
+`define ALU_EOR 4'b0001
+`define ALU_SUB 4'b0010
+`define ALU_RSB 4'b0011
+`define ALU_ADD 4'b0100
+`define ALU_ADC 4'b0101
+`define ALU_SBC 4'b0110
+`define ALU_RBC 4'b0111
+`define ALU_TST 4'b1000
+`define ALU_TEQ 4'b1001
+`define ALU_CMP 4'b1010
+`define ALU_CMN 4'b1011
+`define ALU_ORR 4'b1100
+`define ALU_MOV 4'b1101
+`define ALU_BIC 4'b1110
+`define ALU_MVN 4'b1111
This page took 0.024989 seconds and 4 git commands to generate.