flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Macro fpush to EQU values

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1251
Roman
I want store EQU names like this in macro Fpush
Code:
Fpush n, #+xmm1, #-xmm2, #*xmm3,..., #/xmm6
;store names
F_p1n equ +xmm1
F_p2n equ -xmm2
F_p3n equ *xmm3
... 
F_p6n equ /xmm6
F_pCountn equ 6

    

Its get me 6 equ
Code:
Macro Fout n ;get all 6 equs and out this code

Addss xmm0, xmm1 ;F_p1n
Subss xmm0, xmm2 ;F_p2n
Mulss xmm0, xmm3 ;F_p3n
... 
Divss xmm0, xmm6 ;F_p6n
    
Post 24 Jun 2022, 07:34
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-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.