• Steve Revill's avatar
    Added FRAMLDR/FRAMSTR macros · c522f63f
    Steve Revill authored
    Detail:
      These macros allow easy access to registers pushed on the stack during the Entry macro.
    This is simpler than the previous method of "LDR     r1, [sp, #Proc_LocalStack + 1*4]" because the new macros will calculate the correct offset even if non-continuous regs are used, and will also trap attempts to access regs that weren't pushed onto the stack.
    
      The FRAMSTR macro can be used to alter the values that will be returned on EXIT.
    Admin:
      Tested by looking at produced code in Zap
    Notes:
      Changes by James Lampard.
    
    Version 1.71. Tagged as 'HdrSrc-1_71'
    c522f63f
Proc 14.8 KB