求模的有关问题
求模的问题Assembly code.model small.datadata1 dw 12345 .code.startupmov ax,data1 mod 10.exitend提示
求模的问题
Assembly code.model small.datadata1 dw 12345 .code.startupmov ax,data1 mod 10.exitend
提示 constant expected
要怎么解决?
刚学,啥都不懂
[解决办法]Assembly codemov ax, data1mov cx, 10cwddiv cxmov ax, dx