Program Control Instructions; Program Control Operations - Motorola MC68030 User Manual

Enhanced 32-811 microprocessor
Hide thumbs Also See for MC68030:
Table of Contents

Advertisement

3.2.8 Program Control Instructions
A set of subroutine call and return instructions and conditional and uncon-
ditional branch instructions perform program control operations. The no
operation instruction (NOP) may be used to force synchronization of the
internal pipelines. Table 3-8 summarizes these instructions.
Table
3-8.
Program Control Operations
Instruction
Operand Syntax
Operand Size
Operation
Integer and Floating-Point Conditional
Bcc
<label>
8,16,32
if condition true, then PC + d • PC
OBcc
On,<label>
16
if condition false, then On -1 • On
if On io -1, then PC + d • PC
Scc
<ea>
8
if condition true, then 1 's • destination;
else O's • destination
Unconditional
BRA
<label>
8,16,32
PC+d. PC
BSR
<label>
8,16,32
SP-4. SP; PC. (SP); PC+d. PC
JMP
<ea>
none
destination. PC
JSR
<ea>
none
SP-4. SP; PC. (SP); destination. PC
NOP
none
none
PC+2. PC
Returns
RTO
#<d>
16
(SP). PC; SP+4+d. SP
RTR
none
none
(SP). CCR; SP+2. SP; (SP). PC; SP+4. SP
RTS
none
none
(SP). PC; SP+4. SP
Letters cc in the integer instruction mnemonics Bcc, OBee, and Sec specify testing one of the following conditions:
CC - Carry clear
GE - Greater or equal
LS - Lower or same
PL - Plus
CS - Carry set
GT - Greater than
L T - Less than
T - Always true*
EQ - Equal
HI - Higher
MI - Minus
VC - Overflow clear
F
- Never true*
LE - Less or equal
NE - Not equal
VS - Overflow set
*Not applicable to the Bcc or cpBcc instructions.
MOTOROLA
MC68030 USER'S MANUAL
3-11

Advertisement

Table of Contents
loading

Table of Contents