The below code returns the errors that follow it. There is more code but its kinda long. I do have the INCLUDE statement in there. If any other information is needed, let me know. Thanks.

23 myName BYTE "Program developed by Me",0
24 mov edx, OFFSET myName
25 call WriteString

prog1.asm(25) : error A2107: cannot have implicit far jump or call to near label

prog1.asm(24) : warning A4012: line number information for segment without class

Posted on 2006-08-14 08:22:47 by Westerberg
How about:

myName BYTE "Program developed by Me",0
mov edx, OFFSET myName 
call WriteString
Posted on 2006-08-14 08:38:34 by JimmyClif
Thanks. I'm new to assembly language and was following an example. I should have thought about it more.
Posted on 2006-08-14 08:57:03 by Westerberg