操作符offset

本文最后更新于 2020年4月7日 下午

offset是由编译器处理的符号,它的功能是获得标号的偏移地址


1
2
3
4
code segment
start: mov ax,offset start//相当于mov ax0
s: mov ax,offset s//相当于mov ax3
code ends

上面的程序中offset获得了start和s的偏移地址0和3


操作符offset
https://www.xinhecuican.tech/post/59431.html
作者
John Doe
发布于
2020年1月26日
许可协议