Create stack space
Create process table entry
Fill priority, name, registers and other fields of process table entry. (what values should the PC and initial state contain?)
Simulate a call to procedure to be executed. Copy arguments to the stack of the new process and fill return address of a routine ( userret) that calls the kill procedure. Thus kill also handles normal termination.
Returns process id.