flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 07 Aug 2016, 16:12
Code: irp x,\ ax=3, \ bx++, \ cx=1024 \ {let x} |
|||
![]() |
|
Tomasz Grysztar 07 Aug 2016, 18:23
Alternatively, you can use fasmg:
Code: include '80286.inc' macro letlist macro ? param& match =end =letlist, param purge ? else match dest+==src, param add dest,src else match dest==src, param mov dest,src else match dest++, param inc dest else match any, param err "SYNTAX ERROR" end match end macro end macro macro end?.letlist ; I have found a small bug while writing this example. end macro ; These two lines are not needed if you use the latest, fixed fasmg. letlist ax=3 bx++ cx=1024 end letlist |
|||
![]() |
|
l4m2 08 Aug 2016, 02:48
Tomasz Grysztar wrote:
Maybe I mistaked fasm and fasmg ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.