汇编学习 -- 使用段进行封装
在代码段使用dw(define word)定义字型数据定义字型数据则使用db(define byte);实现下面8个字型数据的累加assume cs:codecode segment ;这是在代码段中定义字型数据 dw 0123h,0456h,0789h,0abch,0defh,0fedh,0cbah,0987hstart: mov bx,0 ;start可以指定程序的入口 mov ax,0 mov cx,8 s: add ax,cs:[b
原创
2021-10-24 13:13:58 ·
281 阅读 ·
0 评论