NonStop S-Series Server Description Manual (G06.27+)
Contents
HP NonStop S-Series Server Description Manual—520331-004
ix
Figures (continued)
Figures (continued)
Figure 6-6. An Example of Register Stack Operations 6-11
Figure 6-7. The TNS Register Stack Is Implemented in the RP Wrap Page 6-13
Figure 6-8. In Concept, the P Register Controls Execution Flow 6-15
Figure 6-9. The BUN Instruction Is Typical of Branch Instructions 6-16
Figure 6-10. Two Examples of Branching 6-17
Figure 6-11. An Example of Code Segment Indexing 6-19
Figure 6-12. An Example of Indirect Addressing in the Data Segment 6-21
Figure 6-13. Byte Addressing in the Data Segment Is Restricted to Half
Segment 6-22
Figure 6-14. Indirect Byte Addressing in the Data Segment Can Specify Odd
Bytes 6-23
Figure 6-15. Sequence and Encoding for Indexing in the Data Segment 6-25
Figure 6-16. Three Examples of Indexing in the Data Segment 6-27
Figure 6-17. Direct and Indirect Examples of SG Addressing 6-29
Figure 6-18. Layout of Procedure Code in a TNS Code Segment 6-31
Figure 6-19. Procedure Entry Points Are Grouped by Attribute in the PEP
Table 6-33
Figure 6-20. Procedure Data Consists of Global Areas and Stack Frame 6-35
Figure 6-21. There Are Four Data Segment Addressing Modes 6-37
Figure 6-22. PUSH and POP Instructions Add and Delete Stack Elements 6-39
Figure 6-23. Example of a Procedure Call and Exit 6-41
Figure 6-24. Sequence of Events Performed by a PCAL Instruction 6-43
Figure 6-25. Sequence of Events Performed by an EXIT Instruction 6-45
Figure 6-26. Defining and Accessing a Procedure’s Local Variables 6-47
Figure 6-27. Example of Passing Parameters to a Called Procedure 6-49
Figure 6-28. Examples of Accessing Value Parameters and Reference
Parameters 6-51
Figure 6-29.
Sequence of Events for Saving a Stack Frame 6-53
Figure 6-30. Sequence of Events for Restoring a Stack Frame 6-55
Figure 6-31. Nested Calls Create a Chain of Markers on the Stack 6-57
Figure 6-32. Example of Returning a Value to the Caller of a Procedure 6-59
Figure 6-33. Example of Retrieving a Value Returned by a Called Procedure 6-61
Figure 6-34. Subprocedures Return Values Through Sublocal Data Area 6-63
Figure 6-35. Saved Copy of the Environment Register Preserves Space ID
Index 6-65
Figure 6-36. Sequence of Events for an External Procedure Call 6-67
Figure 6-37. Example of Resolving a Virtual Address in User Code Space 6-69
Figure 6-38. Accelerated Programs Files Contain Both TNS and Accelerated
Code 6-71