Original Post
Ok, first off: does ANYONE here even know ASM???
If so, what the hell is wrong with this code:
.MODEL SMALL
.DATA
MyMessage dw "This is a message!$"
.CODE
START:
JMP BEGIN
BEGIN:
mov dx,OFFSET MyMessage
mov ax,SEG MyMessage
mov ds,ax
mov ah,9
int 21h
MOV ax,4c00h
INT 21h
END START
i''ve been trying to assemble it, but nothing,just a bunch of errors like:
ERROR: THIS IS A MESSAGE.ASM: String value too long! LINE: [5]
ERROR: THIS IS A MESSAGE.ASM: Expected end of line! LINE: [8]
ERROR: THIS IS A MESSAGE.ASM: Expected end of line! LINE: [14]
FATAL ERROR: Identifier does not exists "SEG"!
can someone PLEASE help me?!?! (yes, this looks noobish, yes, I''m desperate, comeone people, work with me! I WANT TO LEARN ASM, NOT JUST GET STUCK WITH ERRORS!)