flat assembler
Message board for the users of flat assembler.

Index > Main > [solved] how to fasm use define

Author
Thread Post new topic Reply to topic
kerr



Joined: 24 Feb 2016
Posts: 156
kerr 05 Apr 2017, 02:54
Hi firends ,i use fasm is can't know use define.
please help me. thank you !

_________________
I hope we will be good friends.
Post 05 Apr 2017, 02:54
View user's profile Send private message Reply with quote
rugxulo



Joined: 09 Aug 2005
Posts: 2341
Location: Usono (aka, USA)
rugxulo 05 Apr 2017, 03:32
Which type? =? EQU? DEFINE? FIX? -D= (cmdline)? Other??

Can you give a working example (in NASM, MASM, etc.) of what you're trying (and failing) to do?
Post 05 Apr 2017, 03:32
View user's profile Send private message Visit poster's website Reply with quote
kerr



Joined: 24 Feb 2016
Posts: 156
kerr 05 Apr 2017, 05:24
rugxulo wrote:
Which type? =? EQU? DEFINE? FIX? -D= (cmdline)? Other??

Can you give a working example (in NASM, MASM, etc.) of what you're trying (and failing) to do?



is nasm syntax %define
i want know, i like fasm is how to use.

_________________
I hope we will be good friends.
Post 05 Apr 2017, 05:24
View user's profile Send private message Reply with quote
Trinitek



Joined: 06 Nov 2011
Posts: 257
Trinitek 05 Apr 2017, 05:36
Code:
; NASM
%define myDef 1234

; FASM
define myDef 1234    
Post 05 Apr 2017, 05:36
View user's profile Send private message Reply with quote
kerr



Joined: 24 Feb 2016
Posts: 156
kerr 05 Apr 2017, 07:50
Trinitek wrote:
Code:
; NASM
%define myDef 1234

; FASM
define myDef 1234    



Yes , thank you .

_________________
I hope we will be good friends.
Post 05 Apr 2017, 07:50
View user's profile Send private message Reply with quote
kerr



Joined: 24 Feb 2016
Posts: 156
kerr 07 Apr 2017, 08:32
rugxulo wrote:
Which type? =? EQU? DEFINE? FIX? -D= (cmdline)? Other??

Can you give a working example (in NASM, MASM, etc.) of what you're trying (and failing) to do?


No

i just Forget how to use fasm define.

_________________
I hope we will be good friends.
Post 07 Apr 2017, 08:32
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.