VTech Alphabert s Magic Readport User Manual Page 3

  • Download
  • Add to my manuals
  • Print
  • Page
    / 80
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 2
BM Dept., Govt. Engg. College, Gandhinagar Page 3
INDEX
Sr.
No.
Name of Experiment Date Sign
1
Write a assembly language program to ….
Add two 8 bit numbers stored in register R6 and R7
Multiply two 8 bit numbers stored in register R6 and R7.
To find 1’s complement of number stored in register R0.
To perform AND operation between content of register R0 and
R1.
2
Write C language program to
Read data from port P2 and P3. Add data and display result on
port P0. Glow LED connected at port pinP1.1 if carry flag set
after addition.
Read data from port P2 and P3. Multiply data and display result
on port P0 and P1.
Write program to read switch connected at port pin P1.0, toggle it
and send to port pin P1.1.
3
Write program to
To add two sixteen bit numbers stored in DPTR and at memory
location 40h, 41h.Store result in DPTR.
Multiply two 16 bit numbers. Assume that first 16 bit number is
stored in register R6 and R7, Second 16 bit number is stored in
register R4 and R5. Store answer in register R0,R1,R2 and R3.
4
Write a program to
Add block of data stored at location 40h to 45h.
Transfer block of data from the location 40h-4Fh to external
memory location 2000h-200Fh.
Arrange data stored at the location 40h-4Fh in ascending order.
5
Write a program to perform following…
Keep monitoring port pin P1.2 until it becomes high.
When P1.2 becomes high, write data 45h to port P0.
Send high to low pulse on pin P2.3.
6
Write a program to generate square wave of 50% duty cycle having
frequency 5 KHz at port pin P1.0 using timer 1 in mode 2. Modify program
to generate pulse waveform of 70% duty cycle using timer on the same pin.
7
Generate external interrupt INT0 and INT1 by connecting push button
switch. Glow LEDs connected at port 1 one by one when interrupt INT0
occurs. LEDs should flash when interrupt INT1 occurs.
Page view 2
1 2 3 4 5 6 7 8 ... 79 80

Comments to this Manuals

No comments