Subroutines

Describe the term subroutines.

E

Expert

Verified

While writing the program, particular operations can occur many times and they are not available as the individual instruction. Program of such operations is repeated again and again within the main program. Concept of the subroutines is used to prevent the repetition of smaller programs. The small programs for carrying out the particular tasks are known as subroutines. They are written independently and stored within the memory. They are called at several points of main program through the CALL instruction in which they are needed. After completion of the subroutine, main program start from the instruction just immediately following CALL instruction. 

   Related Questions in Computer Engineering

©TutorsGlobe All rights reserved 2022-2023.