flat assembler
Message board for the users of flat assembler.

Index > Macroinstructions > How put in label macro ?

Author
Thread Post new topic Reply to topic
Roman



Joined: 21 Apr 2012
Posts: 1763
Roman 04 May 2023, 06:00
My idea found label and put macro.
Code:
macro jss p {  
   if defined p.#for
      store  macroFor at p.#for 
   end if
if defined p.#nxt
      store  macroNext at p.#nxt
   end if
 }         

;in code
         jss .k 
;we only write labels and macro auto put macro in label .k.for and .k.nxt
.k.for:    
         some code
.k.nxt:
         jss .w 
.w.for:    
.w.nxt:
  
                      
    
Post 04 May 2023, 06:00
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.