将两个数a=8,b=17交换,使a=17,b=8可以用到c

来源:学生作业学帮网 编辑:学帮网 时间:2024/05/29 02:18:46

将两个数a=8,b=17交换,使a=17,b=8可以用到c

汇编:
MOV AX,8
MOV BX,17
XCHG AX,BX