flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound 13 May 2005, 18:02
Code: WinDir rb MAX_PATH "rb" means "reserve bytes" |
|||
![]() |
|
Cthulhu 13 May 2005, 18:09
Thanks friend
|
|||
![]() |
|
YONG 14 May 2005, 07:52
The code
Code: WinDir rb MAX_PATH simply reserves MAX_PATH bytes of space. It does not initialize those bytes to zero, i.e., those bytes may contain any random values at program start. To make sure that those bytes are initialized to zero at program start, use the following code: Code: WinDir: times MAX_PATH db 0 YONG |
|||
![]() |
|
Cthulhu 14 May 2005, 13:16
Thank you YONG!
|
|||
![]() |
|
Matrix 25 Jun 2005, 05:01
Hy,
newbies, pls read the FASM documentation , Design Principles, or Why fasm Is Different and the faqs:
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.