#26 new
Peter Johnson

macros too limited

Reported by Peter Johnson | June 25th, 2011 @ 07:48 PM

Originally posted on Trac by vclaudepierre@tiscali.fr
Original Trac Ticket

  Description

    (last modified by peter@tortall.net)
    (diff)

  @@@

You cannot concatenate macro arguments like this :

%assign x 0 %rep 8 movd eax,mm(value of x)
push eax
%assign x x+1 %rep

I tried with {, %, %%, labels... I cannot succeed.

Bill's asm can do it and so it is very powerful.
I wrote lots of macros with that feature.
Why not invent a %# (or a %

Trac Attachments

h3. Trac Comments
comment:1

              Changed 7 years ago by vclaudepierre@tiscali.fr

      
      It's all right : I found a way to write it, with alternate macros.
Not the easier, but acceptable.

comment:2

              Changed 7 years ago by peter@tortall.net


      comment:2

                  Changed 7 years ago by peter@tortall.net

      Description
        modified (diff)
    
      Milestone
        changed from 0.4.0 to 1.0.0

      Description
        modified (diff)
    
      Milestone
        changed from 0.4.0 to 1.0.0

comment:3

              Changed 7 years ago by peter@tortall.net


      comment:3

                  Changed 7 years ago by peter@tortall.net

      Component
        changed from Parser: NASM-compatible to Preprocessor: 'real' NASM

      Component
        changed from Parser: NASM-compatible to Preprocessor: 'real' NASM

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages