Texas Instruments MSP430x1xx User Manual

Page 356

Advertising
background image

Instruction Set Overview

B-6

JC/JHS

Label

Jump to label if carry bit is set

JEQ/JZ

Label

Jump to label if zero bit is set

JGE

Label

Jump to label if (N .XOR. V) = 0

JL

Label

Jump to label if (N .XOR. V) = 1

JMP

Label

Jump to label unconditionally

JN

Label

Jump to label if negative bit is set

JNC/JLO

Label

Jump to label if carry bit is reset

JNE/JNZ

Label

Jump to label if zero bit is reset

Note:

Conditional and Unconditional Jumps

Conditional and unconditional jumps do not affect the status bits.

A jump that is taken alters the PC with the offset:

PCnew = PCold + 2 + 2*offset

A jump that is not taken continues the program with the ascending instruction.

B.1.3 Emulated Instructions

The following instructions can be emulated with the reduced instruction set
without additional code words. The assembler accepts the emulated
instruction mnemonic, and inserts the applicable core instruction op-code.

Advertising