flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Tomasz Grysztar 14 Aug 2004, 19:11
Code: macro RGB target,r,g,b { mov target,r+g shl 8+b shl 16 } RGB eax,0,0,0 |
|||
![]() |
|
windwakr 14 Aug 2004, 19:13
havent tested yet but thanks!
|
|||
![]() |
|
HarryTuttle 16 Aug 2004, 08:54
there is nothing to testing, it is raw and right
![]() _________________ Microsoft: brings power of yesterday to computers of today. |
|||
![]() |
|
IceStudent 17 Aug 2004, 17:24
Why not implemented return operator?
I mean operator like EXITM at the MASM. I think, it's very useful macro... |
|||
![]() |
|
mike.dld 17 Aug 2004, 19:08
Agree with you, IceStudent.
Maybe it won't require to rewrite many parts of compiler to allow use of macroses in instructions e.g. mov eax,RGB(0,0,0)? |
|||
![]() |
|
Tomasz Grysztar 17 Aug 2004, 19:23
It wouldn't require rewriting any parts of compiler, it would require to write a new one.
(I might suggest some HLL->FASM compiler aswell...) |
|||
![]() |
|
Madis731 18 Aug 2004, 09:58
Was that small or what
![]() ![]() |
|||
![]() |
|
Joshua 18 Aug 2004, 21:41
that's what they call the fine print
![]() |
|||
![]() |
|
vid 20 Aug 2004, 19:59
Quote: It wouldn't require rewriting any parts of compiler, it would require to write a new one Would it be such hard to make equates take arguments. It would solve such problems and make preprocesor more powerful. I don't see a big problem here... |
|||
![]() |
|
Tomasz Grysztar 20 Aug 2004, 20:17
The problem I see is the time needed to implement it. And it's anyway a bit out of the fasm's syntax image. For such purposes I would really recommend some alternative preprocessor, like HLA.
|
|||
![]() |
|
S.T.A.S. 22 Aug 2004, 10:39
Hmm.. actually return can be implemented with the help of macros. I posted some set of macro which is based on such things: http://board.flatassembler.net/topic.php?t=1889
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.