Docsity

Solutions to Quiz 3 in ECE331, Spring 09 - Prof. Andrew Mason, Quizzes of Electrical and Electronics Engineering

Toggle sidebar
bg1
Quiz 3-Solution ECE331, Spring 09
1. List 3 elements/parts/blocks in the 68HC12
1 Accumulator A Programmers Model
2 Accumulator B
3 Accumulator D
4. Index register X
5. Index register Y
6. Stack pointer
7. Program counter
8. Condition code register
2. Name 3 of the flags
1 C, Carry in the condition code register
2 V, Overflow
3 Z, Zero
4 N, Negative
5 H, Half-carry
3. List the mnemonic (or describe specific function) of 1 example
a) Data transfer instruction
MOVB, LDDA, STAA, PULX, PSHA, ROL
b) Arithmetic instruction
ADDA, ABX, MUL, EMUL, IDIV, FDIV
c) Logic instruction
ANDA, EORB, ORCC, BSET, BCLR

Partial preview of the text

Download Solutions to Quiz 3 in ECE331, Spring 09 - Prof. Andrew Mason and more Quizzes Electrical and Electronics Engineering in PDF only on Docsity!

Quiz 3-Solution ECE331, Spring 09

  1. List 3 elements/parts/blocks in the 68HC 1 Accumulator A Programmers Model 2 Accumulator B 3 Accumulator D
    1. Index register X
    2. Index register Y
    3. Stack pointer
    4. Program counter
    5. Condition code register
  2. Name 3 of the flags 1 C, Carry in the condition code register 2 V, Overflow 3 Z, Zero 4 N, Negative 5 H, Half-carry
  3. List the mnemonic (or describe specific function) of 1 example a) Data transfer instruction MOVB, LDDA, STAA, PULX, PSHA, ROL b) Arithmetic instruction ADDA, ABX, MUL, EMUL, IDIV, FDIV c) Logic instruction ANDA, EORB, ORCC, BSET, BCLR