Template:FUNU changes for 7.5: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Starting with version 7.5 of <var class="product">Model 204</var>, all $functions are entered in AMODE 64. This requires you to modify the ENTER macro for each $function, and...") |
No edit summary |
||
Line 1: | Line 1: | ||
Starting with version 7.5 of <var class="product">Model 204</var>, all $functions are entered in AMODE 64. This requires you to modify the ENTER macro for each $function, and may require you to modify the code for proper addressing in AMODE 64. | Starting with version 7.5 of <var class="product">Model 204</var>, all $functions are entered in AMODE 64. This requires you to modify the ENTER macro for each $function, and may require you to modify the code for proper addressing in AMODE 64. | ||
<ul> | <ul> | ||
<li>In order to exploit QTBL above the 2G bar, any $functions which has arguments must be in AMODE 64. The ENTER macro should use ZMODE=GQ (the AMODE will remain as 64) and the code must be changed for proper addressing. | <li>In order to exploit QTBL above the 2G bar, any $functions which has arguments must be in AMODE 64. The ENTER macro should use ZMODE=GQ (the AMODE will remain as 64) and the code must be changed for proper addressing. | ||
<li>If the $function does not have any arguments or if you will not exploit QTBL above the bar, and if your $function does not access any other data structures which may be above the bar, you can use the ZMODE=31 operand on the ENTER macro. This will cause your $function to switch to AMODE 31 at entry (and restore the AMODE upon exit). | <li>If the $function does not have any arguments or if you will not exploit QTBL above the bar, and if your $function does not access any other data structures which may be above the bar, you can use the ZMODE=31 operand on the ENTER macro. This will cause your $function to switch to AMODE 31 at entry (and restore the AMODE upon exit). | ||
<li>In any case, the AMODE issues need to be accounted for in any routines which your $function routine does a CCALL to. | <li>In any case, the AMODE issues need to be accounted for in any routines which your $function routine does a CCALL to. | ||
</ul> | </ul> |
Revision as of 23:28, 1 December 2016
Starting with version 7.5 of Model 204, all $functions are entered in AMODE 64. This requires you to modify the ENTER macro for each $function, and may require you to modify the code for proper addressing in AMODE 64.
- In order to exploit QTBL above the 2G bar, any $functions which has arguments must be in AMODE 64. The ENTER macro should use ZMODE=GQ (the AMODE will remain as 64) and the code must be changed for proper addressing.
- If the $function does not have any arguments or if you will not exploit QTBL above the bar, and if your $function does not access any other data structures which may be above the bar, you can use the ZMODE=31 operand on the ENTER macro. This will cause your $function to switch to AMODE 31 at entry (and restore the AMODE upon exit).
- In any case, the AMODE issues need to be accounted for in any routines which your $function routine does a CCALL to.