logs archiveIRC Archive / Undernet / #asm / 2006 / March / 31 / 1
_exe
Does anyone speak Dutch?
Inode
a little
TaskFall
hi all
who knows Z0MBiE ?
_exe
How do you call this "shirt" http://www.alpacanation.com/images/uploads_products/10584_100772_IncaWine.jpg ?
BoR0
its an indian cloth
but i'd pay more attention to the chick
Inode
poncho ?
_exe
Great, we call it poncho too.
Inode
cool
_exe
http://programmerstools.org/node/498
Heh.
         

SHM1L
hi
i get an error when using MASM32 to link a file
i do link test
i get no program entry point
fatal error
Chiu_Lee
usually it is a good idea to paste the error
SHM1L
PROG1.obj : warning LNK4033: converting object format from OMF to COFF
PROG1.obj : warning LNK4078: multiple ".data" sections found with different attr
ibutes (C0220040)
LINK : fatal error LNK1561: entry point must be defined
Chiu_Lee
are you using some otehr objects as well? or you just forgot the main function"?
SHM1L
well i use a very simple program
i did
.MODEL SMALL
.CODE
MOV AH,2h
Chiu_Lee
do you compile to exe or com?
SHM1L
i want to do a com file
Chiu_Lee
ok. you passed the correct parameters to the assembler, right?
SHM1L
MOV DL,2Ah
Chiu_Lee well i did ML /c PROG1.ASM
Chiu_Lee
and it didn't give any errors/warnings?
SHM1L
nope
nada
Chiu_Lee
and it generated the obj file?
SHM1L
yes
Chiu_Lee
you might have missed the org 100h part. com starts at that address in the code segment. is that so?
SHM1L
well , i follow some book and i dont see any org 100h written in the instructions
is it a must ?
Chiu_Lee
well .. afaik, com will start at cs:100h no matter what
SHM1L
well i added after .CODE
ORG 100h
Chiu_Lee
so you either define something there, and jump to 100h where your actual code starts, or do somthing so that you get the code starting from there (use db or something) but org is the cleanest
SHM1L
still same problem
« prev next »