Sub-Routine Program - Type of Programs

 

image-20240321-053855.png
image-20240321-053903.png

 

  • This is the program run by ECALL instruction in a scan program.

  • This is used to operate the instructions between SBRT n and RET in a sub-routine program according to the ECALL instruction in a scan program.

  • Enter sub-routine file ID and sub-routine number to the ECALL instruction.