LD ProgramSubroutineOn this pageSubroutine ProgramSubroutine Program The subroutine program is a collection of programs that are called by the ECALL instruction in the scan program. The scan program calls the SBRT n ~ RET instructions in the subroutine program using the ECALL instruction.