Question: 8051 Microcontroller - Assembly Language Determine the value of RO (#YY) and R1 (#XX) in the program below, in order to generate a 50ms delay,

8051 Microcontroller - Assembly Language Determine the value of RO (#YY) and R1 (#XX) in the program below, in order to generate a 50ms delay, if the frequency per machine cycle is 850kHz. State the value of RO, R1 and the delay generated by these values in the answer. DELAY: CLRA MOV RO, LOOP2 MOV R1, #XX #YY LOOP1 CLR P2.0 DJNZ R1, LOOP1 SETB P2.0 DJNZ R2, LOOP2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
