* Program Ex2a.asm * Program to store three numbers (decimal 10, 20, and 30) into memory locations * M[$01], M[$02], and M[$03] and to store the sum in memory location M[$04] ORG $100 ;Store program at memory location M[$100] LDAA #$0A ;Load hexadecimal $0A into register A STAA $01 ;Store in memory location M[$01] LDAA #$14 STAA $02 LDAA #$1E STAA $03 ADDA $01 ;Add the contents of M[$01] to A ADDA $02 ;Add the contents of M[$02] to A STAA $04 ;Store the sum in M[$04] END