I'm learning ARM assembly and mostly it's going OK, but I could use some help with reading characters from stdin. I can output to stdout using the following code. PSP and RSP are aliases for the registers I'm using as stack pointers, and OS_write=0x900004.
STMFA RSP!, {r0-r3,LR} @ save...