[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::macro

Title:VAX MACRO assembler issues
Moderator:TLE::TROWEL
Created:Mon Mar 30 1987
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:257
Total number of notes:916

249.0. "Pushing addresses on STACK and RSB'ing " by GALVIA::FOX_F () Mon Feb 03 1997 15:19

    
    I am porting some VAX macro code to ALPHA that makes extensive use of 
    the feature on the vax that allowed the programmer to modify the 
    FP and SP so that a subsequent RSB would return to a particular 
    entry point. 
    
    
    ......
    MOVQ 	ADDRESS,FP 	; RESET THE FP/SP  
    RSB 
    
    Has anyone any pointers on how I can get around this on the VAX. 
    I have found some code that uses $begin_prologue and $begin_epilogue
    etc. but I would appreciate some more information on this. 
    
    Thanks. 
    John. 
    
T.RTitleUserPersonal
Name
DateLines
249.1COMEUP::SIMMONDSlock (M); while (not *SOMETHING) { Wait(C,M); } unlock(M)Mon Feb 03 1997 21:4113
    Modification is mandated.  Get hold of the latest version of "Porting
    VAX MACRO Code to OpenVMS Alpha" (AA-PV64B-TE) .. (PostScript,
    Bookreader and possibly HTML versions are available on the Intranet;
    see pointers in VAXAXP::VMSNOTES 9.*)
    
.0>    Has anyone any pointers on how I can get around this on the VAX. 
                                                                   ~~~
    Do you also want to make these modules compileable on both platforms?
    
    If you still need some hints after Reading The Fine Manual, I'd be glad
    to help out..
    
    John.