flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
heizzpep 30 Jul 2012, 19:03
How to declare some like this:
Code: C# char var[500]; in fasm? |
|||
![]() |
|
AsmGuru62 30 Jul 2012, 19:14
Code: var rb 500 |
|||
![]() |
|
heizzpep 30 Jul 2012, 19:15
Thx!
|
|||
![]() |
|
typedef 30 Jul 2012, 21:36
or if you want to initialize the array with 0 etc.
Code: var db 500 dup(0) |
|||
![]() |
|
Mac2004 02 Aug 2012, 14:39
You can also use times directive:
Code: var: times 500 db 0 Regards Mac2004 |
|||
![]() |
|
JohnFound 08 Aug 2012, 16:09
Everything is byte:
Code: SS rb 50*sizeof.S |
|||
![]() |
|
baldr 09 Aug 2012, 02:57
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 09 Aug 2012, 07:55
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.