Registers 2-12
The online compiler saves the contents of registers two through twelve in a save area prior to calling a user-written edit module. The save area is configured as shown in the following table. The register values stored in the save area are passed back to the appropriate registers after the user-written edit module finishes executing.
Word |
Contents |
---|---|
1 |
The return value from the #START macro (discussed later in this section); register 12 points to this word on entry to the user edit module |
2 |
The value from register 11 |
3 |
The value from register 12 (not the register 12 value passed to the user edit module) |
4 |
The value from register 2 |
5 |
The value from register 3 |
6 |
The value from register 4 |
7 |
The value from register 5 |
8 |
The value from register 6 |
9 |
The value from register 7 |
10 |
The value from register 8 |
11 |
The value from register 9 |
12 |
The value from register 10 |
13 |
The address of word 1 of this save area |
14 |
The start of the 18-word save area for the user edit module; register 13 points to this word on entry to the edit module |
Registers 1 and 13-15
Registers 1 and registers 13 through 15 are used for communication:
Copyright © 2013 CA.
All rights reserved.
|
|