Motorola CPU32 Reference Manual page 336

M68300 series central processor unit
Hide thumbs Also See for CPU32:
Table of Contents

Advertisement

8.2.2 Timing Example 2: Branch Instructions
Example 2 shows what happens when a branch instruction is executed, in both
the taken and not-taken cases. (Refer to Figures 8-5 and 8-6). The instruction
stream is for a simple limit check with the variable already in a data register.
CLOCK
INSTRUCTION
CONTROLLER
EXECUTION
TIME
CLOCK
Instructions
MOVEQ
CMP.L
BLE.B
MOVE.L
#7,D1
D1,00
NEXT
01, (AO)
BLE.B NOT TAKEN
Figure 8-5. Example 2 -
Branch Taken
2
2
BUS
1 PRE-
3 PRE-
FETCH
CONTROLLER
FETCH
INSTRUCTION
CONTROLLER
~
__
~~~~~~~~mmm
MOVEO
! ! [ · : : : : : : ~ ~ : ~ . : : : : : : : · : I I . O~~t~T
T
~~JN I . ! I : ~ ~ ~ ~ ; : : . I . I !
4
EXECUTION
TIME
MOVEO
#7,D1
BLE.B NOT TAKEN
I I I I : : : · : : : : : : : : : : : : : : . : · : : : : : · : : : ~ ~ ~ ~ : ~ . : ~ : ~ : : : ~ ~ ~ . : · : : : . : : : : : · · : : : : · : . :
. .
: : : . : : : . : . : : I ! ~
Figure 8-6. Example 2 -
Branch Not Taken
CPU32 REFERENCE MANUAL
INSTRUCTION EXECUTION
TIMING
MOTOROLA
8-9
IE

Advertisement

Table of Contents
loading

Table of Contents