Atmel C51 Manual Pagina 52

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 116
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 51
The 8051 Instruction Set
Atmel 8051 Microcontrollers Hardware Manual 1-50
4316E–8051–01/07
1.14.34 NOP
Function: No Operation
Description: Execution continues at the following instruction. Other than the PC, no registers or flags are affected.
Example: A low-going output pulse on bit 7 of Port 2 must last exactly 5 cycles. A simple SETB/CLR sequence generates
a one-cycle pulse, so four additional cycles must be inserted. This may be done (assuming no interrupts are
enabled) with the following instruction sequence,
CLR P2.7
NOP
NOP
NOP
NOP
SETB P2.7
Bytes: 1
Cycles: 1
Encoding: 0 0 0 0 0 0 0 0
Operation: NOP
(PC) (PC) + 1
Vista de pagina 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 115 116

Comentarios a estos manuales

Sin comentarios