Instructions Match numbers 110 with their correct addressing
Solution
HCS12 Assembly Language instructions
1. LDAA $12
It is a Direct mode data assigning . It places the contents of the memory location $12 in the accumulator A. in the addressing mode A - Accumulator Direct .
2. STAA 34
Store accumulator A with value of 34 . here 34 is Decimal value because there is no $ used . Store the data in to memory of A .
3. STAB $FF, X
Store accumulator B with hexa decimal value of FF + X . It is a Extended data transfer instruction.
4. LDAA $1023
It is a Direct mode data assigning . It places the contents of the memory location $1023 in the accumulator A. in the addressing mode A - Accumulator Direct .
5. NOP
No Operation is Performed . It is used to increase processing time.
6.STD 23,Y
Store accumulator D with decimal value of 23 addition with Y . It is a Extended data transfer instruction and/ or this instruction sets the direction flag to 1.
7. ABBA - invalid
8. STAA #34
Store accumulator A with value of 34 . Here 34 is Hexadecimal value because there is $ used in prefix of 34 . Store the data in to memory of A .
9. LDAA 32, X
It is a Extended mode. Load accumulator B. It places the contents of the memory location 20 hex (decimal 32) in the accumulator B.
10. STD A, Y
Store accumulator D in to A , and addition with Y .
