Writing firmware: assembly or high level?

前端 未结 17 1867
时光说笑
时光说笑 2020-12-13 02:29

Related to:

  • Testing firmware
  • starting a microcontroller simulator/emulator
  • Interpreting assembly code

If you are writing co

17条回答
  •  盖世英雄少女心
    2020-12-13 03:15

    Assembly coding is a thing of the past for PCs, but is very relevant in embedded.

    Writing assembly in embedded is different than writing assembly on PCs. PC compilers are "better than humans" at generating optimized instructions. Embedded systems often have weird architectures, and their optimizing compilers are not nearly as mature as a PC optimizing compiler.

提交回复
热议问题