Each has its own place. I write code in all languages including Python and C. Yet, I have to write code in assembly even today when the particular problem statement requires its usage. Such generalization can only be expected from a marketing campaign that this post really is.
codewritinfool|8 years ago
fhood|8 years ago
monocasa|8 years ago
* First stage initialization
* Interrupt prologue/epilogue
* Bitbanging where you want deterministic cycle counts
* For using the FIQ for very high priority interrupts. It has it's own registers partially banked, so if you stay in r8-r13 you don't have to save and restore state at all.
So we don't use assembly for magic go faster juice, but instead when there's a coding constraint that we can't easily explain to the compiler.
boznz|8 years ago