Fujitsu FR Family Instruction Manual page 155

32-bit microcontroller
Hide thumbs Also See for FR Family:
Table of Contents

Advertisement

Example:
DIV0U R2
Example:
Actual use MDL ÷ R2 = MDL (quotient) ... MDH (remainder), unsigned calculation
DIV0U R2
DIV1
DIV1
DIV1
Instruction bit pattern : 1001 0111 0101 0010
R2
0 0 F F F F F F
MDH
0 0 0 0 0 0 0 0
MDL
0 F F F F F F 0
D1 D0 T
SCR
x x 0
Before execution
R2
R2
32 DIV1s are arranged
R2
R2
0 1 2 3 4 5 6 7
MDH
x x x x
x x x x
F E D C
B A 9 8
MDL
D1 D0 T
SCR
x x 0
Before execution
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
R2
MDH
MDL
SCR
R2
MDH
MDL
SCR
0 0 F F F F F F
0 0 0 0 0 0 0 0
0 F F F F F F 0
D1 D0 T
0 0 0
After execution
0 1 2 3 4 5 6 7
0 0 0 0 0 0 7 8
0 0 0 0 0 0 E 0
D1 D0 T
0 0 0
After execution
131

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fr series

Table of Contents