Nate Goebel. 1981-2013.
My brother departed this world Sunday evening... he was with family, without pain, at peace,
and had no doubt he was headed to a better place.
I sincerely thank everyone who donated to help him
and his family.
Ruby on Rails
October 15, 2012 6:50AM EDT
unsigned int spsr;
asm volatile ("mrs %[SPSR], spsr \n"
: [SPSR] "=r" (spsr)
lcd_putsf(0, line++, "val: 0x%08x mode: %s", *(uint32_t *)pc, (spsr & (1<<5)) ? "T" : "A");
Be nice. :-) Use Pastie for good, not evil.