flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 31 Mar 2008, 15:51
Code: rept 10 x:1 { Tile#x TILE_INFO } |
|||
![]() |
|
pinny_woman 31 Mar 2008, 15:52
omg, that was so quick
![]() Many thanks again revolution |
|||
![]() |
|
revolution 31 Mar 2008, 15:54
Your Q's can be answered from the fasm pdf in the download. But it seems it is sometimes faster to ask here
![]() |
|||
![]() |
|
pinny_woman 31 Mar 2008, 16:32
The main trouble I find with the manual, is knowing what to look for. Once you gave me the 'rept' then it's easy to get all the rest of the info from the manual
![]() Many thanks again |
|||
![]() |
|
pinny_woman 01 Apr 2008, 07:38
Having used the above, I don't think I asked for what I actually needed, lol.
My app will return an integer value as a pointer into the array of TILE_INFO structs, so, unless I go about it the long way if eax==1 then tile1 else if eax==2 then tile2 etc I have no way of making use of the structure. Is there some way of defing the array so that if the returned value is 13 then I can access tile.13.Hnd tile.13.x Tile.13y thanks again |
|||
![]() |
|
revolution 01 Apr 2008, 07:50
Use an offset.
Code: tile_array: rb 10*sizeof.TILE_INFO ... imul eax,sizeof.TILE_INFO mov ecx,[tile_array+eax+TILE_INFO.Hnd] |
|||
![]() |
|
Madis731 01 Apr 2008, 07:52
Maybe we need another manual, a kind'o cheat-sheet. Some A4-formatted-PDF, where you have some tips.
|
|||
![]() |
|
revolution 01 Apr 2008, 07:54
Madis731 wrote: Maybe we need another manual, a kind'o cheat-sheet. Some A4-formatted-PDF, where you have some tips. |
|||
![]() |
|
pinny_woman 01 Apr 2008, 07:57
Do you never sleep Rev¿
Seriously, when you come out of hiding I'll have to buy you a drink or 3. Thanks for coming to the rescue again |
|||
![]() |
|
revolution 01 Apr 2008, 08:02
My auto answer robot software is working it's magic. I just sleep all day long and let the robot do the posting. So that means you will have to buy me an electron or 3. I like 100-240Vac, 50-60Hz.
|
|||
![]() |
|
pinny_woman 01 Apr 2008, 08:05
will 3-Phase do¿
|
|||
![]() |
|
revolution 01 Apr 2008, 08:09
pinny_woman wrote: will 3-Phase do¿ ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.