HLA汇编语言

在网上找到答案:

 

用高级汇编编译程序HLA对《汇编语言编程艺术》一书随书源码中的例子程序helloworld进行编译时,

提示polink:warning: /SECTION:.bss ignored; section is missing,其他的例子也是这样的提示,

有这个警告,但程序编译后可以得到.exe文件,能够正常运行,结果正确,

warning提示是什么意思?

 

这是polink(Pelles C的链接程序)输出的提示信息,提示信息不一定代表程序有问题.
原因:
汇编产生的目标文件(.obj)中, 运行码放在.text section, 有初值的数据区放在.data section, 未初始化的储存区放在.bss section.

你的源程序没有未初始化的变量, 因此obj文件中没有.bss section. 对于polink就会出这提示信息. 如果你很在意, 可以不使用polink, 用微软的link程序.

 

备注:

《汇编语言的编程艺术》(第2版),(美)海德 著,清华大学出版社,2011-12-1
基于INTEL x86处理器,使用了作者自制的高级语言汇编器(High Level Assembler,HLA)作为教学工具,以部分地获得高级语言的优势和功能。https://my.oschina.net/u/4267179/blog/3620410
 
 
Art of Assembly Book  的官网   https://www.plantation-productions.com/Webster/

 

The Art of Assembly Language Programming

https://www.plantation-productions.com/Webster/www.artofasm.com/index.html

 

此书作者Randall Hyde的个人网站  https://www.randallhyde.com/#Main
 
 
 
其他有价值的链接 :

Linux Assembly Language Programming

https://www.plantation-productions.com/Webster/LinuxAsm/index.html
 
 
 
HLA汇编器下载(win,linux,freebsd,macos)及指导手册,例子源码,用HLA进行win32编程,RadASM,OllyDbg
https://www.plantation-productions.com/Webster/HighLevelAsm/index.html
 
 

HLA for Windows    

https://www.plantation-productions.com/Webster/HighLevelAsm/WinDownload.html

 

High Level Assembler v1.x

https://sourceforge.net/p/hlav1/code/HEAD/tree/

 

关于OpenSUSE安装HLA编译时,提示:Could not open include file "stdlib.hhf" 的解决办法之一(主要讲在linux上安装HLA汇编器的具体命令步骤 )

https://blog.csdn.net/empare/article/details/7528986?locationNum=13&fps=1

 
 
 
 
 
 
 

 

posted @ 2021-09-27 22:14  Thermo  阅读(287)  评论(0编辑  收藏  举报