What is subroutine in microprocessor?

1 year ago

The subroutine in the microprocessor is a sequence of program instructions code that performs a particular task. This is packaged as a unit and used in a particular task when needed.

A subroutine is a unit which is used in multiple times in different location. The four types of subroutine have in the microprocessor.

  1. Conditional Call instruction,
  2. Unconditional call instruction,
  3. Conditional return instruction,
  4. Unconditional return instruction.
Sujan Bk
Jan 22, 2022
More related questions

Questions Bank

View all Questions