flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Stupid topic removed

Author
Thread Post new topic Reply to topic
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 16 Aug 2016, 17:31
fasm makes INT as a in-fun, while fasng lets it be
Code:
macro int x
  db 0xcc(x=3)
  db 0xcd, x(x<>3)
end macro    


yet some still can be macro but builtn i fasmg:
Code:
macro dw [x] forward
  assume x>-32769&x<65536
  db x and 255, x shr 8
end macro    

so what's the min?(can add unexisted command)


Last edited by l4m2 on 18 Aug 2016, 03:12; edited 2 times in total
Post 16 Aug 2016, 17:31
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 16 Aug 2016, 19:34
Please clarify what exactly are you asking? I changed the title already but it is not clear to me what you actually want.
Post 16 Aug 2016, 19:34
View user's profile Send private message Visit poster's website Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 17 Aug 2016, 01:42
Let's say we use only db, macro, match, display, equ and sth. in fasmg(not all), and define other things. Possible?
Post 17 Aug 2016, 01:42
View user's profile Send private message Reply with quote
l4m2



Joined: 15 Jan 2015
Posts: 674
l4m2 17 Aug 2016, 04:28
revolution wrote:
Please clarify what exactly are you asking? I changed the title already but it is not clear to me what you actually want.
The title was badly changed from "min(that should be smallest) fasmg" to "a macro that gets the smallest number"
Post 17 Aug 2016, 04:28
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20299
Location: In your JS exploiting you and your system
revolution 17 Aug 2016, 05:54
You can change the title at any time. I was trying to help, but clearly I failed.
Post 17 Aug 2016, 05:54
View user's profile Send private message Visit poster's website 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.