|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
Assembly - Fatal:no program entry point
I tried following code in Borland Turbo Assembler 5.0
Code:
.MODEL SMALL; .STACK; .CODE; mov ah,1h; mov cx,07h; int 10h; mov ah,4ch; int 21h; END; It assembled fine with no errors but when I tried to link it with tlink, it gave a fatal error saying "Fatal:no program entry point" |
|
#2
|
||||
|
||||
|
Read the manual help to see what that error means.
Search the web with the text of your error message. You will not be the first ever person to see that message. Maybe Code:
.global start; .CODE; start: mov ah,1h; Though you might have to read up on - the syntax of the pseudo-op which introduces global symbols - the syntax of how symbols are specified - the actual name of the default entry point. All of which are somewhat assembler specific.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut. |
|
#3
|
|||
|
|||
|
Thanks.
Adding Code:
start: ...... end start; solves the problem. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Assembly - Fatal:no program entry point |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|