#2
zhulei19782016-09-02 18:11
|
程序代码:
.386
.model flat,stdcall
.stack 4096
ExitProcess PROTO,dwExitCode:DWORD
g EQU <C>
.data
A DWORD 50
B DWORD 60
g DWORD 70
D DWORD 80
sum DWORD 0
.code
main PROC
mov eax,A
mov ebx,B
mov ecx,g
mov edx,D
add eax,ebx
add eax,edx
sub eax,ecx
mov sum,eax
INVOKE ExitProcess,0
main ENDP
END main
.model flat,stdcall
.stack 4096
ExitProcess PROTO,dwExitCode:DWORD
g EQU <C>
.data
A DWORD 50
B DWORD 60
g DWORD 70
D DWORD 80
sum DWORD 0
.code
main PROC
mov eax,A
mov ebx,B
mov ecx,g
mov edx,D
add eax,ebx
add eax,edx
sub eax,ecx
mov sum,eax
INVOKE ExitProcess,0
main ENDP
END main
以上是我写的代码,为什么C不能用
报错说是syntax error:C
???