In this simply example of code I got different results, depended on the placement of db and the length of the defined variable.
The program prints “Hello World!”, the only difference is where the definition of the string is located.
Joined: 11 Oct 2003
Location: Sunset Empire
Exactly, you are making a .com executable, right? This format is just a flat binary that starts executing from the first byte, it doesn't have an "entry point". So your data gets executed as if it was code, who knows what kind of crazy instructions result from the "Hello World!" string... You could check with a DOS debugger...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum