Practice: Can you determine what is in each register without using CodeWarrior editor?
In the table below, step through each instruction and predict the hexadecimal contents of Accumulator D, Accumulator A and Accumulator B after each instruction is executed. Assume the registers are initially zero. The first one is done for you.
You can check your answers by entering the instructions into CodeWarrior.
Multiple choice select only one
1. Each individual MC9S12 memory location (address) is capable of storing up to ______.
a. One word (16 bits) c. 16 address lines (65,535 bits)
b. One byte (8 bits) d. two words (32 bits)
2. Which of the following opcodes tells the processor to put a word into accumulator D?
a. LDD c. LDAB
b. LDAA d. LDAD
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions

Consult our trusted tutors.