Escolar Documentos
Profissional Documentos
Cultura Documentos
GENERACIN DE RETARDOS
EN ASSEMBLER
Ing. Lenin Llanos Len
Generacin de Retardos
Generacin de Retardos
Delay_Xus
Instruccin
Generacin de Retardos
Delay_Xus
Delay_Xus
movlw 0xXX
movwf Cuenta
Repeticion
Decfsz Cuenta
goto Repeticion
return
Cuenta 0xXX
Cuenta Cuenta 1
Cuenta=0
SI
RETURN
NO
Generacin de Retardos
movlw (1)
movwf (1)
decfsz (2)
Es cero
decfsz (1)
goto (2)
return (2)
Generacin de Retardos
C1 C1 1
C2 C2 1
C1=0
NO
C2=0
SI
SI
RETURN
NO