The title summarises most of the question, but to expand slightly ..
I have been tasked with writing a couple of simple programs (C compiled with ARM gcc) to run on C