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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 314
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
72
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.1 ADD (Add Word Data of Source Register to Destination
Register)
Adds word data in "Rj" to word data in "Ri", stores results to "Ri".
ADD (Add Word Data of Source Register to Destination Register)
Assembler format: ADD Rj, Ri
Operation: Ri + Rj Ri
Flag change:
N : Set when the MSB of the operation result is "1", cleared when the MSB is "0".
Z : Set when the operation result is "0", cleared otherwise.
V : Set when an overflow has occurred as a result of the operation, cleared otherwise.
C : Set when a carry has occurred as a result of the operation, cleared otherwise.
Execution cycles: 1 cycle
Instruction format:
Example: ADD R2, R3
NZVC
CCCC
MSB LSB
10100110 Rj Ri
R2
R3
123 4 5678
8 765 43 21
NZVC
CCR
R2
R3
CCR
0000
NZVC
1000
9999 9999
123 4 5678
Before execution After execution
Instruction bit pattern : 1010 0110 0010 0011
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 313 314

Comentarios a estos manuales

Sin comentarios