load the first number to be doubled
Use temp as a parameter to pass value to Subr
//Store the return address,and jump to the procedure
Store the first number,doubled
load the second number to be doubled
Store the return address and jump to the procedure
Store the second number doubled
End program
Store return address here
Actual subroutine to double numbers
Ac now holds double the value of Temp
Return to calling code