21 lines
No EOL
360 B
C
21 lines
No EOL
360 B
C
#include <stdint.h>
|
|
struct cpu_state {
|
|
uint32_t cpsr;
|
|
uint32_t sp;
|
|
uint32_t lr;
|
|
uint32_t returnAddr;
|
|
uint32_t r0;
|
|
uint32_t r1;
|
|
uint32_t r2;
|
|
uint32_t r3;
|
|
uint32_t r4;
|
|
uint32_t r5;
|
|
uint32_t r6;
|
|
uint32_t r7;
|
|
uint32_t r8;
|
|
uint32_t r9;
|
|
uint32_t r10;
|
|
uint32_t r11;
|
|
uint32_t r12;
|
|
uint32_t pc;
|
|
}; |