flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
JohnFound
Code: WinDir rb MAX_PATH "rb" means "reserve bytes" |
|||
![]() |
|
Cthulhu
Thanks friend
|
|||
![]() |
|
YONG
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
Thank you YONG!
|
|||
![]() |
|
Matrix
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.