Question: Question 4 The assembly instructions of Main program and Subroutine MYADD are given below. Assume that the starting address of main program is $2000 and
Question 4 The assembly instructions of Main program and Subroutine MYADD are given below. Assume that the starting address of main program is $2000 and Subroutine MYADD is 2FE0. Sum dc.B 0 Main LDS N$1FFF LDAA #51 LDAB# 49 JSR MYADD Loop BRA LOOP MY ADD PSHA PSHB ABA STAA Sum PULB PULA RTS a) In front of each instruction specify the addressing mode
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
