摘要: .386 .model flat,stdcall option casemap:none .data continueMsg TEXTEQU <"Do you wish to continue (Y/N)?"> ;分配的是文本 Prompt1 BYTE continueMsg ;变量prompt1使 阅读全文
posted @ 2023-11-08 11:39 天子骄龙 阅读(51) 评论(0) 推荐(0)
摘要: 计算数组或字符串占用的字节数 声明数组大小更好的方法是,让汇编器来计算这个值。$操作符(当前位置计数器)返回当前程序语句的偏移量。在下例中, 从当前位置计数器($) 中减去list的偏移量, 就得到 .386 .model flat,stdcall option casemap:none .data 阅读全文
posted @ 2023-11-08 04:53 天子骄龙 阅读(95) 评论(0) 推荐(0)