; Process termination test: ; ; Populate the process queue: start P00 0 start P01 1 start P02 2 start P03 3 start P04 4 ; ; Try a straightforward kill: kill 2 ps all ; ; Fire up a process: switch 0 call main 0 0 call F 0 0 ps 0 ; ; Kill the running process: kill 0 ps all ; ; Add some more processes: start P01 0 start P02 0 start P11 1 start P12 1 start P13 1 start P14 1 ps all ; ; Kill some scattered around the process queue: kill 8 kill 1 kill 7 kill 10 kill 9 ps all ; ; Fire up another process and create an access violation: switch 0 call main 0 0 call F 3 100 200 300 1 100 set 2 111 ps all ; ; Kill 'em all: kill 3 kill 4 kill 6 ps all ; ; Create a new process: start P30 3 ps all ; ; Kill a non-existent one: kill 100000 ; ; Quit: exit