flat assembler
Message board for the users of flat assembler.
Index
> DOS > Hello World! Program not working, plz help |
Author |
|
Tomasz Grysztar 13 Sep 2003, 22:08
You have put data at the beginning of your program, and it gets executed before your actual code. I shouldn't have to say that this can be very dangerous. If you don't want to move your data to the end of your program, you can just skip it with jump instruction, so it won't get executed:
Code: org 100h jmp start __pause db 'Press any key to continue...$' start: ; and here the rest of program... PS. Have you seen my DOS tutorial preliminary? I'm trying to clarify such things there, it's posted in this thread: http://board.flatassembler.net/topic.php?t=118. |
|||
13 Sep 2003, 22:08 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.