The loop calls subroutines , each subroutine manages a part of the hardware or software .
The loop calls subroutines , each of which manages a part of the hardware or software .