Microcontrollrs Motorolla questions

profilefer7i

1- Suppose you are required to load an 8-bit value in memory location at $7001 into accumlator A using the index addressing mode. Suppose also that you decided to use index register X. What should be the contents of the index register to satisfy the desired task in the following instruction: LDAA $1,X? 

 

 

2- Consider the following program segment:

LDD #$F00D

LDX #$C100

STD 0,X

BSET 0,X,$44

BCLR 1,X,$11

 

what numbers are in the memory location $C100 and $C101 after the progrram is executed?

 

    • 12 years ago
    • 5
    Answer(0)
    Bids(0)