answersLogoWhite

0

procedure for 60 ms delay with 10 mhz frequency

proc delay near

mov cx,bb8h ;3000

l1:

nop ;3 cycles

loop l1; ;17 cycles

ret

endp delay

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Write an Assembly language program which implements sorting algorithm both ascending and descending order and display those numbers with certain delay say of 5sec between successive displays?

das


Difference between delay subroutine and ordinary subroutine in context of 8085?

a subroutine is a portion of the code within a larger program which performs a specific function and is independent of remaining code.....delay routines are subroutines used for maintaining the timings of various operations in microprocessor


Write a main program in INTEL 8085 microprocessor to count continuously in binary with a one second delay between each count?

To create a main program in the Intel 8085 microprocessor that counts continuously in binary with a one-second delay between each count, you can use the following code: START: LXI H, 0000H ; Initialize register pair HL to 0000 INX H ; Increment HL CALL DELAY ; Call delay subroutine for 1 second JMP START ; Repeat the process DELAY: MVI C, 0FFH ; Load C with 255 D1: MVI B, 0FFH ; Load B with 255 D2: DCR B ; Decrement B JNZ D2 ; Loop until B becomes 0 DCR C ; Decrement C JNZ D1 ; Loop until C becomes 0 RET ; Return from delay This program initializes a counter, increments it continuously, and calls a delay subroutine that creates a delay of approximately one second using nested loops.


What is loop in microprocessor?

A loop in a microprocessor, like any loop in any programming language, is a series of instructions that is executed repeatedly until some condition is satisfied. An example of a delay loop in the 8085 might be... . PUSH FLAGS . XRA A L INR A . JNZ L . POP FLAGS This piece of code, with a 1 MHz clock, will take about 4.6 mS to execute, and it will save and restore the accumulator and flags.


What effect does language delay have on reading ability?

Language delay can impact reading ability by affecting phonological awareness, vocabulary development, and comprehension skills. Children with language delay may struggle with decoding words, understanding their meanings, and grasping complex sentences, which can hinder their overall reading proficiency. Early intervention and targeted support are crucial in addressing language delay to improve reading outcomes.


Write an assembly language to turn on an led connected to the port p1.3 pin on occurrence of int 1 and turn off the led after delay of 20msec assume clk frequency to be 12 mhz?

lightbulb = bright + 1;


What year was assembly languages created?

In 1949 with the EDSAC (electronic delay storage automatic calculator).


What is code of assembly language for generating the delay of 1 second?

lxi h,DDF2h ; for CLK = 2.5 MHz loop dcx h push h pop h mov a,h ana l jnz loop


What would cause the wiper delay not to work the switch has been replaced in the column?

The delay system may not have anything to do with the switch. It depends on the manufacturer but the delay system maybe part of the wiper motor assembly...or the delay is sometimes located in a separate module located separately from the control switch.


Can you increase the speed on a speed hack program Edit Where would i find the delay in the program?

It depends on the design of the program. Usually programs designed to slow down games do so by introducing a delay as an interupt. If you can chage the rate of the interupt then you can alter the speed that the game runs at.


Write a program to introduce a time delay using subroutine?

go and have agud sleep


How can I delay the start time of my Instant Pot cooking using the delay start feature?

To delay the start time of your Instant Pot cooking using the delay start feature, simply set the desired cooking time and then press the Delay Start button to select the desired delay time. This will allow you to program your Instant Pot to start cooking at a later time.