• Jeffrey Lee's avatar
    Add FramADR macro · c3e7e5c5
    Jeffrey Lee authored
    While poking around in FileSwitch I spotted that (a) it currently isn't
    using the FramLDR/FramSTR macros (instead manually calculating offsets
    from Proc_LocalStack), and (b) in a few places it was using
    `ADD dest, sp, #Proc_LocalStack+n*4` to get the address of an argument.
    
    Add a FramADR macro which can be used to perform that task, so that
    everything is ready for switching FileSwitch over to using the Fram
    macros.
    
    Version 3.02. Tagged as 'HdrSrc-3_02'
    c3e7e5c5
Proc 14.7 KB