Embedded Midterm Study

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

15 Terms

1
New cards

Register Mode

As = 00 Ad = 0. Value is in register Rn. Instruction specifies which register, n, it is in.

2
New cards

Indexed Mode

As = 01, Ad = 1. Operand is in memory at the memory location that the value holds, plus an offset determined by X. Ex. X(Rn)

3
New cards

Symbolic Mode

As = 01, Ad = 1. Operand is in memory at the named address PC + offset. To distinguish Rn = R0 = PC

4
New cards

Absolute Mode

As = 01, Ad = 1. Operand is in memory at the named address. Special case of indexed mode where Rn = R2 = SR

5
New cards

Indirect Register

As = 10, Ad = n/a. Only valid for src operand. Operand is in the memory address contained in the register.

6
New cards

Indirect Autoincrement

As = 11, Ad = n/a. Only valid for src operand. Operand is in memory address contained in register. after getting the operand the register is incremented for the size of the operand. 1 for byte 2 for word.

7
New cards

Immediate

As = 11, Ad = n/a. The operand is a constant encoded in the next instruction word. To distinguish from autoincrement, the source reg is R0 = PC

8
New cards

All addressing modes are valid as-

Source Operands

9
New cards

The following addressing modes is only valid as a source and use registers

Indirect Register, Indirect autoincrement

10
New cards

Which Register serves as a constant generator in MSP430

R3

11
New cards

The first 256 bytes of the MSP430 memory address space are reserved for?

8-Bit I/O peripheral registers

12
New cards

Little Endian means

The lest significant byte is placed at the lower address in memory

13
New cards

The symbolic and absolute addressing modes are special cases of which other addressing mode

Indexed

14
New cards

in the hex number 0×1234, which digit is the least significant bit

4

15
New cards