MODES and ROUTINES - a mystery to me

Also, the following thread explains the difference between SHM armed states and modes, so it should also be of interest: