Fujitsu FR family 32-bit microcontroller instruction manue Manual de usuario Pagina 161

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 314
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 160
137
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.43 DIV4S (Correction Answer for Signed Division)
This instruction is used in signed division. It should be used in combinations such as
DIV0S, DIV1 x 32, DIV2, DIV3 and DIV4S.
DIV4S (Correction Answer for Signed Division)
Assembler format: DIV4S
Operation: if (D1 = = 1) {
0 – MDL MDL
}
Flag change:
N, Z, V, and C: Unchanged
Execution cycles: 1 cycle
Instruction format:
Example: DIV4S
NZVC
––––
MSB LSB
1001111101110000
MDH
MDL
D1 D0 T
SCR SCR
D1 D0 T
110110
R2
00FF FFFF
MDH
MDL
R2
FFFF FFF1
0000 0000
0000 000F
0000 0000
00FF FFFF
NZVC
CCR CCR
NZVC
00000000
Before execution After execution
Instruction bit pattern : 1001 1111 0111 0000
Vista de pagina 160
1 2 ... 156 157 158 159 160 161 162 163 164 165 166 ... 313 314

Comentarios a estos manuales

Sin comentarios