Microcontroller and interfacing Assignment

Start Date: 12/08/11[Type text]End Date: 22/08/11

ASSIGNMENT-2

1. List the JUMP and CALL instruction. Describe Conditional JUMP Instruction

2. Write a program to read 100 bytes of data from P1 and save the data in external RAM starting at 5100H Location.

3. Differentiate the following terms:
  • SJMP VS LJMP
  • ACALL VS LCALL
  • Reading input pins vs Port latch
4. How many addressing modes are available in 8051? Explain each one with example.

5. Explain the following terms:
  • MOVX A,@DPTR
  • MOVC A,@A+DPTR
  • MOV A,@R0
  • BIT directive
  • EQU directive
6. Elaborate the term reading input pins vs. port latch.

7. What is read-modify-write feature in 8051? Enlist the instructions used for this purpose.

8. Enlist & explain different addressing mode in 8051 with suitable example.

9. Write a program to get the x value from P1 & send x2 to P2, continuously.

10 Write a program to convert:
  • Hexadecimal to decimal
  • Packed BCD to two ASCII numbers

		

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s