汇编语言:编写code段中的代码,用push指令将a段中的前8个字型数据,逆序存储b段中
assume cs:code a segment dw 1,2,3,4,5,6,7,8,9,0ah,0bh,0ch,0dh,0eh,0fh,0ffh a ends b segment dw 0,0,0,0,0,0,0,0 b ends code segment start: mov ax,b mov ss,ax mov sp,16 mov ax,a mov ds,ax mov bx,0 mov cx,8 s:push [bx] add bx,2 loop s code ends end start