- Assembly code
.model small.datadata1 dw 12345 .code.startupmov ax,data1 mod 10.exitend
提示 constant expected
要怎么解决?
刚学,啥都不懂
------解决方案--------------------------------------------------------
- Assembly code
mov ax, data1mov cx, 10cwddiv cxmov ax, dx
.model small.datadata1 dw 12345 .code.startupmov ax,data1 mod 10.exitend
mov ax, data1mov cx, 10cwddiv cxmov ax, dx