flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > Macro Get value from equ

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1314
Roman 24 Dec 2022, 06:46
Fasmw 1.73
How do this?
Code:
ArrVals equ EAX, EDX, ESI, EBX
Macro GetEqVal val, num {}

GetEqVal ArrVals, 3 ; do reteqval equ ESI
Mov reteqval, 1 ; mov esi, 1
    
Post 24 Dec 2022, 06:46
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-2023, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.