operand size conflict错误怎么回事的?
代码如下:#include <stdio.h>void main()
{ short address;
int a;
a = 23;
_asm {
mov address,offset _lb1
}
a = 3;
_asm jmp address
a = 12;
_lb1:
a = 1;
printf("%d\n",a);
}
#include <stdio.h>
void main()
{ short address;
int a;
a = 23;
_asm {
mov ax,offset _lb1
mov address,ax
}
a = 3;
_asm jmp address
a = 12;
_lb1:
a = 1;
printf("%d\n",a);
}两种都报错!
页:
[1]