page 60,132 .sall .xlist .8086PUBLIC _glinit,_g1line,_gcls1,_gcls2,_gcls3,_g5line,_gasc1,_gtitl,_gasc2,_gbias PUBLIC _gdan,_gonbu,_gkihy,_gmus,_gtnup,_gjp1d,_gjp1l,_sfjis PUBLIC _gsyoy,_gonty,_gsfn,_gobcy,_g1box,_gcircle pushall macro push bp pushf push ax push bx push cx push dx push si push di push ds push es endmpopall macro pop es pop ds pop di pop si pop dx pop cx pop bx pop ax popf pop bp endm....
..._DATA SEGMENT WORD PUBLIC 'DATA' _DATA ENDS;DGROUP GROUP _DATA_TEXT SEGMENT BYTE PUBLIC 'CODE' ASSUME CS:_TEXT,DS:_DATA ,SS:_DATA page +...
我以前也遇到过,他不能识别ebx,不知给怎么办?
汇编连接错误,错误是:Error LNK1190 invalid fixup found。在MSDN中可以查到LNK1190,解释是The standard Visual C++ version 5 linker successfully links VxDs. Visual Studio 97 Service Pack 3 successfully links as well. 我用的是VC6,装了pack6,不过问题还是不能解决。好像还涉及到VxDs。请各位大虾指点
page 60,132 .flat;change to 32bit .xlist .8086PUBLIC _glinit,_g1line,_gcls1,_gcls2,_gcls3,_g5line,_gasc1,_gtitl,_gasc2,_gbias PUBLIC _gdan,_gonbu,_gkihy,_gmus,_gtnup,_gjp1d,_gjp1l,_sfjis PUBLIC _gsyoy,_gonty,_gsfn,_gobcy,_g1box,_gcircle pushall macro push bp pushf push ax push bx push cx push dx push si push di push ds push es endmpopall macro pop es pop ds pop di pop si pop dx pop cx pop bx pop ax popf pop bp endm....
首先谢谢指点。 我将.sall改为.model flat,错误提示是:error A2085: instruction or register not accepted in current CPU mode. 请多指教。
首先谢谢指点。 我将.sall改为.model flat,错误提示是:error A2085: instruction or register not accepted in current CPU mode. 请多指教。
.sall
.xlist
.8086PUBLIC _glinit,_g1line,_gcls1,_gcls2,_gcls3,_g5line,_gasc1,_gtitl,_gasc2,_gbias
PUBLIC _gdan,_gonbu,_gkihy,_gmus,_gtnup,_gjp1d,_gjp1l,_sfjis
PUBLIC _gsyoy,_gonty,_gsfn,_gobcy,_g1box,_gcircle
pushall macro
push bp
pushf
push ax
push bx
push cx
push dx
push si
push di
push ds
push es
endmpopall macro
pop es
pop ds
pop di
pop si
pop dx
pop cx
pop bx
pop ax
popf
pop bp
endm....
_DATA ENDS;DGROUP GROUP _DATA_TEXT SEGMENT BYTE PUBLIC 'CODE'
ASSUME CS:_TEXT,DS:_DATA ,SS:_DATA
page +...
这套程序功能是电子乐谱演奏,由MS-C程序和汇编程序组成。在C中调用汇编程序。汇编部分主要是完成图形显示等等。程序于1988年做成,当时运行在NEC的PC98下,运行正常。现在想改到win2000下运行,用VC连接汇编,就出现了以上错误。
请各位大虾指点
.flat;change to 32bit
.xlist
.8086PUBLIC _glinit,_g1line,_gcls1,_gcls2,_gcls3,_g5line,_gasc1,_gtitl,_gasc2,_gbias
PUBLIC _gdan,_gonbu,_gkihy,_gmus,_gtnup,_gjp1d,_gjp1l,_sfjis
PUBLIC _gsyoy,_gonty,_gsfn,_gobcy,_g1box,_gcircle
pushall macro
push bp
pushf
push ax
push bx
push cx
push dx
push si
push di
push ds
push es
endmpopall macro
pop es
pop ds
pop di
pop si
pop dx
pop cx
pop bx
pop ax
popf
pop bp
endm....
我将.sall改为.model flat,错误提示是:error A2085: instruction or register not accepted in current CPU mode.
请多指教。
我将.sall改为.model flat,错误提示是:error A2085: instruction or register not accepted in current CPU mode.
请多指教。