org $1500 ldaa $1000 ; copy the contents of memory location $1000 to A suba #5 ; subtract 5 from A staa $1000 ; store the result back to memory location $1000 ldaa $1001 suba #5 staa $1001 ldaa $1002 suba #5 staa $1002 ldaa $1003 suba #5 staa $1003 end