flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
comrade 18 Jul 2008, 03:20
See http://flatassembler.net/docs.php?article=manual#1.2.2
Basically, use either the "db ?" syntax, or the "rb" syntax. |
|||
![]() |
|
LocoDelAssembly 18 Jul 2008, 03:23
Just by defining them with the value "?" (for example: aByte db ?).
Note however that the uninitialized variables must be placed AFTER any initialized data or instructions, otherwise the "?"'s will be filled with zeroes (and will take up space). Example: Code: org $100 jmp exit aByte db ? exit: int $20 Code: org $100 jmp exit exit: int $20 aByte db ? |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.