B. E./B. Tech. Degree examination, april/may 2011 Sixth Semester



Download 1.56 Mb.
View original pdf
Page85/86
Date16.12.2020
Size1.56 Mb.
#54858
1   ...   78   79   80   81   82   83   84   85   86
EE2354 auque
5. Write a program to mask the 0
th
&7
th
bit using 8051?
MOV A,#data
ANL A
MOV DPTR,#4500
MOVX @DPTR,A LOOP SJMP LOOP
6. Write about CALL statement in 8051?
There are two subroutine CALL instructions.they are
*LCALL(Long CALL)
*ACALL(Absolute CALL) Each increments the pc to the st byte of the instruction & pushes them into the stack.

www.Vidyarthiplus.com www.Vidyarthiplus.com Page - 18 -

7. Write about the jump statement
There are three forms of jump.they are
LJMP(Long-jump)-address 16
AJMP(Absolute jump)-address 11
Sjmp(short jump)-relative address
8. Write a program to load accumulator DPH & DPL using 8051?
MOV A
MOV DPH,A
MOV DPL,A
9. Write a program to finds complement using 8051?
MOV AR CPL A INCA
10. Write a program to add two bit numbers using 8051?
MOV AH ADD AH

Download 1.56 Mb.

Share with your friends:
1   ...   78   79   80   81   82   83   84   85   86




The database is protected by copyright ©ininet.org 2024
send message

    Main page