if (interrupts enabled){ do this }
asm("assembly");
_asm("tfr b, ccr",foo);
__asm unsigned int get_cpsr(void){ MRS r0,CPSR; BX lr;}
Now I've loaded the CPRS into a variable within my program, but I'm struggling to understand what format the CPRS is in, I've seen things using hex to reset flags and etc along which bytes are control, field, status and extension masks.
I put my CPRS into an int just to see what the data shows and I'm given 1610612752, I'm assuming I shouldn't be loading it into an int and something else in order for it to be much more clear.
1610612752
Any hints pushing me to the right direction would be most appreciated.
Prepaid Gift Balance