{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

lecNew-20-JMP

lecNew-20-JMP - WPI ECE2801 Foundations of Embedded...

Info icon This preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
WPI ECE2801 Foundations of Embedded Computer Systems Lecture 20: Jumps and Assembly Directives
Image of page 1

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

View Full Document Right Arrow Icon
EE2801: Foundations of Embedded Systems Lecture 11 Review: 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 Functional groups Arithmetic instructions: ADD, ADDC, SUB, SUBC, *ADC, *SBC, DADD, *DADC, *INC, *INCD, *DEC, *DECD, SXT Logical and register control instructions: AND, XOR, *INV, BIC, BIS, *CLRC, *CLRN, *CLRZ *SETC, *SETN, *SETZ Data instructions: *RLA , * RLC , RRA , RRC , SWPB , MOV, *CLR, SWPB Program flow
Image of page 2