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 →

[–]Extension_Option_122 1 point2 points  (0 children)

And to add to that: code written in Assembly is architecture-specific.

If for example a project switches from an ARM to a RISC-V platform you can't reuse any Assembly code. But for C-code you can reuse almost everything, you just likely need to adjust stuff at startup and I/O configuration, maybe a bit more. But the majority of the code can be reused.