Question: 1. How any specific location, for instance 89 H, can be used as SFR or URS? 2. Write an ASM code for basic timer which

1. How any specific location, for instance 89 H, can be used as SFR or URS?

2. Write an ASM code for basic timer which counts from 00 H FF H using Timer 0. 3. Write an ASM code for basic timer which counts from 0100 H FFFF H using Timer 1.

4. Why only a single register works as timer/counter while operating on split mode? 5. How the operating frequency of the crystal oscillator affects the working performance of the MCU?

6. An array of 8 LEDs are connected with MCU 8051 through port 1. The MCU 8051 also is connected to a 16 MHz crystal oscillator. Write an ASM code to blink all the LEDs in an alternative pattern (i.e. two consecutive LEDs will be at different states) with a time delay of 1.5 ms. for 600 times.

7. Glow the LEDs (i.e. Turn ON) connected with MCU 8051 through port 0, in an alternative pattern (i.e. two consecutive LEDs will be at different states).

A Gas sensor is connected to the MCU 8051 through the pin P0.1 and an array of LEDs is connected to MCU 8051 through Port 2. Draw the connection diagram neatly. Write the ASM code for the following instruction: - Check the Gas sensor for LH (i.e. Logic High) - Make the LEDs toggle in an alternative pattern for 10 times if the sensor becomes LH, otherwise keep checking. An IR sensor is connected to the MCU 8051 through the pin P2.1 and an array of LEDs is connected to MCU 8051 through Port 3. Draw the connection diagram neatly. Write the ASM code for the following instruction: - Check the IR sensor for LH (i.e. Logic High) - Make the LEDs toggle in an alternative pattern for 400 times with a 50% duty cycle if the sensor becomes LH, otherwise keep checking.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!