I see that you are using [org 0100h], that is a .COM file.. you cannot use a linker on it!
From the looks of it, you are trying to display "This is a message."
Give this a shot.. if you are using NASM16, assembly it with this
nasm16 text.asm -o text.com
And also, try this code out. Name the file 'text.asm' and use the NASM16 command above to assemble it.
[org 0100h]
[section .text]
mov dx,msg1 ;Load the message into DX
mov ah,9 ;Function 9 - Display string
int 21h ;Make the call into DOS and display it
mov ax,4ch ;Terminate DOS process
mov ah,0 ;Exit with ERRORLEVEL of 0
int 21h ;Call DOS and exit
[section .data]
msg1 db "This is a message.", 13, 10, "$"
Reputation Points: 10
Solved Threads: 0
Junior Poster in Training
Offline 72 posts
since Oct 2009