flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Is this a bug? "sizeof"? |
Author |
|
Ivan2k2 09 Feb 2006, 13:25
if i not mistake, 'sizeof' works with structures
|
|||
09 Feb 2006, 13:25 |
|
dead_body 09 Feb 2006, 13:48
and what I must use instead "sizeof" ?
Is there another directive? |
|||
09 Feb 2006, 13:48 |
|
shoorick 09 Feb 2006, 14:01
BUFFSIZE = 1024 (or BUFFSIZE equ 1024)
... mov ecx,BUFFSIZE ... buffer db BUFFSIZE DUP(?) |
|||
09 Feb 2006, 14:01 |
|
Tomasz Grysztar 09 Feb 2006, 14:43
Code: struc db [data] { common . db data sizeof.#. = $ - . } |
|||
09 Feb 2006, 14:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.