Search
lxdream.org :: lxdream/src/aica/armcore.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/armcore.h
changeset 5:d85c2e81ce2d
prev2:42349f6ea216
next7:976a16e92aab
author nkeynes
date Sat Oct 02 05:49:23 2004 +0000 (15 years ago)
permissions -rw-r--r--
last change More work on the arm core
file annotate diff log raw
1.1 --- a/src/aica/armcore.h Sat Aug 21 06:15:49 2004 +0000
1.2 +++ b/src/aica/armcore.h Sat Oct 02 05:49:23 2004 +0000
1.3 @@ -21,6 +21,10 @@
1.4 uint32_t svc_r[2]; /* SVC bank 13..14 */
1.5 uint32_t user_r[7]; /* User/System bank 8..14 */
1.6
1.7 + uint32_t c,n,z,v,t;
1.8 +
1.9 + /* "fake" registers */
1.10 + uint32_t shift_c; /* used for temporary storage of shifter results */
1.11 };
1.12
1.13 #define CPSR_N 0x80000000 /* Negative flag */
1.14 @@ -42,6 +46,6 @@
1.15
1.16 extern struct arm_registers armr;
1.17
1.18 -
1.19 +#define CARRY_FLAG (armr.cpsr&CPSR_C)
1.20
1.21 #endif /* !dream_armcore_H */
.