Back to the 2024 paper

Module 3: Instruction Set and Programming

20247m

Define subroutine. Explain the execution of subroutine function.

Worked SolutionAI Assisted

Subroutine – see Q70

Definition, CALL pushes PC, RET pops, types LCALL/ACALL, stack use, example DELAY routine. RETI for interrupt return. Benefits: modular, recursive via stack.

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.