Atmel C51 Manual Página 52

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 116
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 115 116

Comentários a estes Manuais

Sem comentários