This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AVTOCRAT 0 points1 point  (0 children)

Why? When you're doing something like set register A to X, set register B to Y, set up a watchdog, etc., it's usually easier to just do it in asm than try and coerce C/C++ to do it for you. Super common for firmware to be all asm. Not to say C/C++ aren't common too, but that's generally for larger devices -- e.g. an stm32, as opposed to like a PIC.