flat assembler
Message board for the users of flat assembler.

Index > DOS > Arrays in Flat Assembler, I need help! PLEASE!

Author
Thread Post new topic Reply to topic
simpaticool



Joined: 12 Jan 2005
Posts: 16
Location: Romania
simpaticool 02 Feb 2005, 08:11
Hi!
I started with TASM, but then I realised that FASM is better and
easy to use.
I have a little problem ....
How do I create an array in fasm?
In tasm it was something like var db ? dup(10)
But this does not work in fasm Sad

I also need some help with strings (comparing strings).

Please help me with some examples and/or tutorials.

Thanks! Very Happy
Post 02 Feb 2005, 08:11
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8353
Location: Kraków, Poland
Tomasz Grysztar 02 Feb 2005, 09:37
Already discussed here: http://board.flatassembler.net/topic.php?t=1621

In short, TASM's var db 10 dup (?) can be in fasm written as:
Code:
var rb 10    

or
Code:
label var byte
times 10 db ?    
Post 02 Feb 2005, 09:37
View user's profile Send private message Visit poster's website Reply with quote
simpaticool



Joined: 12 Jan 2005
Posts: 16
Location: Romania
simpaticool 03 Feb 2005, 06:45
Thanks!
Very Happy
Post 03 Feb 2005, 06:45
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.