Function
Causes the current object program to be entered at the specified entry point.
Format
ENTER number,PARAM(a1,a2,...an)
The number parameter indicates the entry point and must be between 0 and 9. The program is entered at word 20+number.
a1,a2,...an are optional parameters to be passed to the object program when it asks for them. These must conform to the rules that govern the formats of all parameters. If they are omitted, number may also be omitted. In this case it will be taken as zero.
Forbidden contexts
NO CORE IMAGE, PROGRAM, BREAK-IN
Execution
Word 8 is set to 20+number and the low level scheduler is informed that the process is ready to run.
By means of special PERI instructions, a parameter specified in the ENTER command may be requested within the object program.
Error Messages
THE ENTRY POINT IS NOT BETWEEN 0 AND 9