这道汇编小程序哪里出错了,

2025-03-04 22:31:30
推荐回答(1个)
回答1:

可能是编译软件的问题。你用的软件,是被人破解过的D版。
程序没错。
我编译、连接时,显示的信息如下:

C:\MASM>masm z4
Microsoft (R) Macro Assembler Version 5.10
Copyright (C) Microsoft Corp 1981, 1988. All rights reserved.

Object filename [z4.OBJ]:
Source listing [NUL.LST]:
Cross-reference [NUL.CRF]:

48998 + 411733 Bytes symbol space free

0 Warning Errors
0 Severe Errors

C:\MASM>link z4

Microsoft (R) Overlay Linker Version 3.64
Copyright (C) Microsoft Corp 1983-1988. All rights reserved.

Run File [Z4.EXE]:
List File [NUL.MAP]:
Libraries [.LIB]:
LINK : warning L4021: no stack segment

C:\MASM>z4

C:\MASM>