I have found a sample helloworld program for TASM 5.0 however it doesn't seem to work correctly, then i found a post on this forum that explained how to fix it, so i followed the steps, but failed. The solution apparently helped the other guy, but it doesn't help here. ):
The program is this:
HelloMessage DB 'Hello, world',13,10,'$'
.startup ;<<<<<----- This was supposed to help but it doesn't :S
mov ds,ax ;set DS to point to the data segment
mov ah,9 ;DOS print string function
mov dx,OFFSET HelloMessage ;point to "Hello, world"
int 21h ;display "Hello, world"
mov ah,4ch ;DOS terminate program function
int 21h ;terminate the program
It assembles just fine, but when i try to link it i get "fatal: no program entry point" an it aborts :S
Also, i can't make TASM integrate into my command prompt, i have to write the whole path, ex.: "c: asmin asm32 progname.asm" instead of just tasm32 or tasm progname... :S
Anyone know how to fix this? :O
Hope you can help :S