Microcontroller 8051
Microcontroller 8051
Unit 4
Unit 5
Write a program to get the x value form P1 and send X^2 (square) to P2 continuously by
using look up table?
(10)
write a program to add ten 8 bit numbers are stored in the internal RAM form 31H to
3AH .after addition ,MSD will be stored in R2 and LSD will be R3 ?
(5)
write a program to find the biggest number in the set of TEN hex number are stored in
RAM location 50H onward .The biggest number should finally be saved in 60H. ?
Write down the following Instruction set with proper OPCODE and OPRAND,
FUNCTION in 8051 Microcontroller
All program branching instruction
(b)All logical instruction
All Boolean instruction set
Generate a square wave using timer/counter programming with an ON time of 3 ms and
OFF time of 10ms on all port 0.assume an XTAL of 22 MHz ?
(a)Take data in through ports 0, 1, and 2 one after the other and transfer this data serially,
continuously?
(10)
(b) Explain the SCON serial port control register with proper format?
Unit 6
(5)