flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
heizzpep
How to declare some like this:
Code: C# char var[500]; in fasm? |
|||
![]() |
|
AsmGuru62
Code: var rb 500 |
|||
![]() |
|
heizzpep
Thx!
|
|||
![]() |
|
typedef
or if you want to initialize the array with 0 etc.
Code: var db 500 dup(0) |
|||
![]() |
|
Mac2004
You can also use times directive:
Code: var: times 500 db 0 Regards Mac2004 |
|||
![]() |
|
JohnFound
Everything is byte:
Code: SS rb 50*sizeof.S |
|||
![]() |
|
baldr
heizzpep,
You can redefine times as macro (it doesn't work in your case because it's assembler directive, and structs are macros indeed). There was thread about similar problem. |
|||
![]() |
|
Tomasz Grysztar
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.