Question: FILL IN THE ????? ASAP ; Program to subtract a 2-byte signed number, nl, located at $1000-$1001 from a 2-byte number, n2, located at $1010-$1011.

 FILL IN THE ????? ASAP ; Program to subtract a 2-byte

FILL IN THE ?????

ASAP

; Program to subtract a 2-byte signed number, nl, located at $1000-$1001 from a 2-byte number, n2, located at $1010-$1011. Store difference, diff, at $1020-$1021. ORG $1000 n1: DC.B $87, $12 ORG $1010 n2: DC.B $65, $34 ORG $1020 diff: DS.B ????? ;difference ORG $2000 n3: LDX ????? ;load X with address of first byte location of n2 n4: LDAA ????? ;load A with LSB byte of n2 n5: ???? n1+1 ;A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!