beautypg.com

4 four-cycle instructions, 5 five-cycle instructions, Three-cycle instructions – Maxim Integrated High-Speed Microcontroller User Manual

Page 68: Figure 5-4. two-cycle instruction timing

background image

High-Speed Microcontroller User’s Guide

Rev: 062210

68 of 176

5.6.4 Four-Cycle Instructions

All four-cycle instructions require more time than the associated number of bytes. These are all program
branching instructions that can move program control to a new location. The four-cycle instructions use
either 1 or 3 bytes as shown in the following examples.

Figure 5-6

shows the timing of both four-cycle

instructions.

RET

22h

CJNE A, #data, addr

B4h
d7-d0
a7-a0

5.6.5 Five-Cycle Instructions

There are only two five-cycle instructions in the high-speed microcontroller. They are the multiply
(MUL) and divide (DIV). These are shown below.

Figure 5-7

shows the timing of five-cycle instructions.

MUL A, B

A4h

DIV A, B

84h


Note that the five-cycle instructions require only 1 byte. They need 5 cycles to accomplish the math
function.