Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/26/06 15:24
Read: times


 
#119114 - an easier method
Responding to: ???'s previous message
Is this reasonable?
sure, but an easier method that also takes care of 'forgetting' that a variable was added:

in my assembler days I often did the following

define var1 #nn
define var2 var1+1

define varn varm+1
define stack varn+1

...

mov SP, #stack

Erik

List of 19 messages in thread
TopicAuthorDate
best practice regarding SP            01/01/70 00:00      
   an easier method            01/01/70 00:00      
   the other way round            01/01/70 00:00      
      as a general rule            01/01/70 00:00      
         Good rule            01/01/70 00:00      
         on stack and data            01/01/70 00:00      
            Estimating stack usage            01/01/70 00:00      
               The future is now            01/01/70 00:00      
                  I'd like it also as interrupt...            01/01/70 00:00      
                     where would you store the interrupt retu            01/01/70 00:00      
                        what return???            01/01/70 00:00      
                           then don't call it an interrupt            01/01/70 00:00      
                              OK, call it... exception?            01/01/70 00:00      
                              Trap perhaps?            01/01/70 00:00      
                                 trap!            01/01/70 00:00      
                                 the root            01/01/70 00:00      
                                    Fair point            01/01/70 00:00      
                                       signaling            01/01/70 00:00      
                                    avost?            01/01/70 00:00      

Back to Subject List