lecNew-19-Instr1

lecNew-19-Instr1 - WPI ECE2801 Foundations of Embedded...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
WPI ECE2801 Foundations of Embedded Computer Systems Lecture 19: Instruction Set (I)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EE2801: Foundations of Embedded Systems Lecture 19 Review: Addressing Modes Register addressing mode Uses the name of a register to identify the location of data – the data is held in the register Immediate addressing mode The data is specified in the instruction and is hard coded as part of the instruction (source operand) Memory addressing mode Indexed mode: x(Rn), x is a constant, Rn is a CPU register. the data is held in memory, address is x+(content of Rn). Symbolic/Absolute mode: ADDR / &ADDR. ADDR is label pointing to memory. The data is held in memory, address is the value assigned to the label. Indirect (Autoincrement) mode: @Rn (@Rn+), the address of the data in the memory is given in register Rn (automatically increment Rn by 1 or 2).
Background image of page 2
EE2801: Foundations of Embedded Systems Lecture 19 MSP430 Instructions 27 core instructions : unique opcode 24 emulated instructions : no opcode for themselves, replaced by assembler with an equivalent core instruction. Three core instruction formats Dual-operand: OPCODE src, dst Single-operand: OPCODE dst/src Jump: OPCODE label
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EE2801: Foundations of Embedded Systems Lecture 19 Double-Operand Instructions
Background image of page 4
EE2801: Foundations of Embedded Systems Lecture 19 Single-Operand Instructions
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
EE2801: Foundations of Embedded Systems Lecture 19 Jump Instructions
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/12/2009 for the course ECE 2801 taught by Professor Jarvis during the Spring '08 term at WPI.

Page1 / 18

lecNew-19-Instr1 - WPI ECE2801 Foundations of Embedded...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online