| Title: | VAX MACRO assembler issues | 
| Moderator: | TLE::TROWEL | 
| Created: | Sun Mar 29 1987 | 
| Last Modified: | Wed Jun 04 1997 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 257 | 
| Total number of notes: | 916 | 
    
    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.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 249.1 | COMEUP::SIMMONDS | lock (M); while (not *SOMETHING) { Wait(C,M); } unlock(M) | Mon Feb 03 1997 21:41 | 13 | |
|     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.
 | |||||