Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

delay subroutine in assembly language

Status
Not open for further replies.

anasfuad33eng

Member level 1
Member level 1
Joined
Mar 21, 2013
Messages
32
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,498
hi,all what is a duration time of delay and delay2 below:
if oscilator frequency is :22.118MHZ of my 8051 kit
delay:mov r5,#0ffh
h1:mov r3,#0fh
h2:djnz r3,h2
djnz r5,h1
ret

delay2:mov r5,#0ffh
h11:mov r3,#55h
h22:djnz r3,h22
djnz r5,h11
ret

thanks in advance
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top