You are on page 1of 9

MICROPROCESSOR AND

MICROCONTROLLER LAB CSE-2016


DIGITAL ASSESSMENT - 3

Name: Aditya Singh Rawat


Reg.No: 20BCT0218

1. Develop an assembly language program for 8051 microcontroller to


generate a continuous square wave having TONT = OFF = 5msec on
P2.3 pin using Timer 0 Mode 1. Assume XTAL = 11.0592 MHz
2. Let's generate a square wave of 2mSec period using an AT89C51
microcontroller with timer0 in mode0 on the P1.0 pin of port1.
Assume xtal oscillator frequency of 11.0592 MHz.
3. Here we are generating a square wave on PORT1.0 with 200uSec.
time period using Timer1 in mode2. We will use 11.0592 MHz Xtal
oscillator frequency
4. Write a program to generate a square wave of delay 50 ms on pin
P2.3 using an interrupt for Timer 0. Assume that XTAL =
11.0592MHz.

You might also like