1,编译

nasm -f bin myfile.asm -o myfile  生成目标文件

nasm -f bin myfile.asm -l myfile   生成清单文件

2,快速开始

nasm是大小写敏感的

*$当前地址

*$$当前段的地址

*每个section的默认是按照4字节对齐,除非指定了align或者start

*section之间不能重叠

*vstart当前段的引用地址

相关文章:

  • 2021-07-16
  • 2022-02-07
  • 2021-07-14
  • 2021-09-13
  • 2021-12-30
  • 2022-02-17
  • 2022-12-23
  • 2021-09-27
猜你喜欢
  • 2021-11-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
  • 2021-12-10
  • 2022-12-23
  • 2021-12-02
相关资源
相似解决方案