flat assembler
Message board for the users of flat assembler.
Index
> Windows > On simple array |
Author |
|
Picnic 01 Jun 2009, 06:56
Change db to dd like this.
Code: array dd 10,20,30,40 But If you need to declare bytes instead of dwords use like this Code: array db 10,20,30,40 ; ; movzx eax,[array+3] |
|||
01 Jun 2009, 06:56 |
|
TmX 01 Jun 2009, 07:18
Ah OK, that works. I should take a note on that.
BTW, how can I expand the array, e.g becoming a 2D array like this: [[10,20],[30,40],[50,60]] So accessing array[1][1] would give you 40? |
|||
01 Jun 2009, 07:18 |
|
Picnic 01 Jun 2009, 07:30
|
|||
01 Jun 2009, 07:30 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.