Question No:3 Find the time delay in the following program if the crystal freq. is 16MHz. MYREG EQU Ox08 ORG 0 BACK MOVL
Posted: Fri May 20, 2022 7:43 pm
Question No:3 Find the time delay in the following program if the crystal freq. is 16MHz. MYREG EQU Ox08 ORG 0 BACK MOVLW 0x55 MOVWF PORTB CALL DELAY MOVLW OxAA MOVWF PORTB CALL DELAY GOTO BACK // This is the delay subroutine ORG 300H MOVLW OxFF DELAY AGAIN MOVWF MYREG NOP NOP NOP DECF MYREG, F BNZ AGAIN RETURN END