安装 sdcc 即可
# sdas8051 -ols demo.asm
sdcc demo.rel
# packihx demo.ihx > demo.hex
# sdobjcopy -I ihex -O binary demo.ihx demo.bin
Linux sdcc/sdas8051 编译 8051 汇编生成 intel hex 与 bin
原文:https://www.cnblogs.com/seliote/p/14020951.html