Hi~
I study Assembly Language. beginner...
below test code compile...
CODE SEGMENT
ASSUME CS:CODE, DS:CODE
ORG 100H ;COM MODEL
START:
MOV AX,CS
MOV DS,AX
MOV AH,2
MOV DL, 'T'
INT 21H
MOV AH,2
MOV DL,54H
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START
ml /c test.asm
this obj file link...
link test.obj
test.obj : warning LNK4033: converting object format from OMF to COFF
LINK : fatal error LNK1561: entry point must be defined
occured error message.
Assembly Language : MASM32
under Windows NT 2000
:confused:
I study Assembly Language. beginner...
below test code compile...
CODE SEGMENT
ASSUME CS:CODE, DS:CODE
ORG 100H ;COM MODEL
START:
MOV AX,CS
MOV DS,AX
MOV AH,2
MOV DL, 'T'
INT 21H
MOV AH,2
MOV DL,54H
INT 21H
MOV AH,4CH
INT 21H
CODE ENDS
END START
ml /c test.asm
this obj file link...
link test.obj
test.obj : warning LNK4033: converting object format from OMF to COFF
LINK : fatal error LNK1561: entry point must be defined
occured error message.
Assembly Language : MASM32
under Windows NT 2000
:confused:
Your asm code is old 16bit asm - and the linker in masm32 can only
produce win32 PE executables. Get a 16bit linker or start writing
win32 code :)
produce win32 PE executables. Get a 16bit linker or start writing
win32 code :)
You can get the older LINK from Iczelion's site. It's near the bottom of this page:
http://spiff.tripnet.se/~iczelion/download.html
You may want to rename it to something like LINKDOS.EXE to avoid confusion.
:)
http://spiff.tripnet.se/~iczelion/download.html
You may want to rename it to something like LINKDOS.EXE to avoid confusion.
:)