error A2022: instruction operands must be the same size

小犬蠢一浪162022-10-04 11:39:541条回答

error A2022: instruction operands must be the same size
; Win32 Consol .exe
include io32.inc
.data
;add your data here
mov cx,8

.code
start:
; add your code here
WriteUDecDword cx

ReadChar al ; press any key to continue
exit 0


end start
求大神指导菜鸟

已提交,审核后显示!提交回复

共1条回复
tuyanjing 共回答了22个问题 | 采纳率77.3%
报错是说你的代码传递值大小不匹配
比如mov指令时,
mov al,bx
你看下程序自己的程序有什么地方有问题比如WriteUDecDword参数是什么类型的
1年前

相关推荐