Question: Assume that ASC has a stack pointer register (SP) that is initiated to 0 when power is turned on. Assume also two instructions LSP and SSP for loading and storing the SP from and into a memory location, respectively. The following operations are required:
a. PUSH: TL ← ACC
b. POP: ACC ← TL
c. ADD: SL ← TL + SL; POP
Write subroutines for these operations using the ASC instruction set including the two new instructions LSP and SSP.