Science, asked by junaid568, 1 year ago

What is subroutine in 8085 microprocessor?

Answers

Answered by pratik6555
5
subroutine is a separate set of commands written on the same memory but different location. When subroutine is called due to some logical command like JMP (****H) or JNC (****H), the execution of program is shift to the memory location (****H).

At the end of subroutine, RET function is written which returns the control back to the point where it was before sub routine was called
Similar questions