flat assembler
Message board for the users of flat assembler.
  
       
      Index
      > Macroinstructions > ESP-based Proc macros | 
  
| Author | 
  | 
              
| 
                  
                   revolution 15 Dec 2008, 10:03 
                  Yes, there have been many versions posted. Some also from myself. But in general the problems outweigh the benefits IMO. However, if you have a specific requirement and are prepared to follow a few rules with stack usage and algorithm expression then ESP based procs can be beneficial. Probably the most obvious case is leaf routines with no fancy stack usage within. 
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   Mercury Knight 15 Dec 2008, 18:36 
                  Hmmmmm I'd wondered. I spent time searching this forum before asking but search engine came up with a bunch of posts having nothing to do with any of the keywords I chose to use. *GRRRRRRRRRRR* Any quick links so I can see what has been done and see what was done that I might not have thought of?
 
                  
                There is one option left, and that's using a structure. It ain't pretty, but it gets the job done (mentally, that is). Btw, what's the leaf routines you are talking about?  | 
              |||
                  
  | 
              
| 
                  
                   bitRAKE 15 Dec 2008, 20:29 
                  IIRC, there are some posts in the macro section of the board.
 
                  
                A quick search for ESP yielded: http://board.flatassembler.net/topic.php?t=5938 http://board.flatassembler.net/topic.php?t=7764  | 
              |||
                  
  | 
              
| 
                  
                   Mercury Knight 16 Dec 2008, 03:36 
                  thanks bitRAKE!  
                  
                 | 
              |||
                  
  | 
              
| 
                  
                   revolution 16 Dec 2008, 04:56 
                  Mercury Knight wrote: Btw, what's the leaf routines you are talking about?  | 
              |||
                  
  | 
              
< Last Thread | Next Thread >  | 
    
Forum Rules: 
  | 
    
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.