The CELQMAIN CSECT contains the address of the main routine.
RENT CELQMAIN | ||||
---|---|---|---|---|
+0 | 0x04 | 0x00 | 0x00 | 0x01 |
+4 | 0x00 | 0x00 | 0x00 | 0x00 |
+8 | AD(main
entry point)
|
|||
+10 | AD(CELQINPL)
|
|||
+18 | A(0), or -1 if no environment | |||
+1C | Q(environment), or -1 if no environment |
NORENT CELQMAIN | ||||
---|---|---|---|---|
+0 | 0x05 | 0x00 | 0x00 | 0x01 |
+4 | 0x00 | 0x00 | 0x00 | 0x00 |
+8 | AD(main
entry point)
|
|||
+10 | AD(CELQINPL)
|
|||
+18 | AD(environment),
or 0 if no environment
|