Question No:3 Find the time delay in the following program if the crystal freq. is 16MHz. MYREG EQU Ox08 ORG 0 BACK MOVL
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question No:3 Find the time delay in the following program if the crystal freq. is 16MHz. MYREG EQU Ox08 ORG 0 BACK MOVL
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