flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > variables

Author
Thread Post new topic Reply to topic
profkid13



Joined: 21 Aug 2003
Posts: 112
profkid13
How can i use variables in fasm for menuet?
and how do i do something like:

if variable1 = "123" then
..
Post 02 Jul 2004, 15:17
View user's profile Send private message Reply with quote
coconut



Joined: 02 Apr 2004
Posts: 326
Location: usa
coconut
mov eax, 1234
cmp eax, 1234
je goto1234
...
... eax is not 1234
...

goto1234:
...
... eax is 1234


eax of course can be variable1
Post 02 Jul 2004, 18:06
View user's profile Send private message Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 112
profkid13
thanx Very Happy
Post 02 Jul 2004, 19:12
View user's profile Send private message Reply with quote
Endre



Joined: 29 Dec 2003
Posts: 212
Location: Budapest, Hungary
Endre
profkid13 wrote:
How can i use variables in fasm for menuet?
and how do i do something like:

if variable1 = "123" then
..


See subsection 2.2.3 "Other directives" in fasm.txt for some examples.

Endre.
Post 03 Jul 2004, 13:38
View user's profile Send private message Reply with quote
profkid13



Joined: 21 Aug 2003
Posts: 112
profkid13
Endre wrote:
profkid13 wrote:
How can i use variables in fasm for menuet?
and how do i do something like:

if variable1 = "123" then
..


See subsection 2.2.3 "Other directives" in fasm.txt for some examples.

Endre.


nice, why did i never searched for this doc before Razz
http://flatassembler.net/docs.php?article=manual
Post 03 Jul 2004, 14:31
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 can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.