You are on page 1of 1

Q.1 What are the addressing modes of 8051? How many types of instructions are their? Ans.

CPU can access data in various ways,which are called Addresing modes. (i) There are 5 types of Addresing modes in 8051. These are 1)Immediate Addresing mode 2)Direct addresing mode 3)Register Addresing mode 4)Register Indirect Addresing mode 4)Indexed Adderesing mode (ii) There are 4 types of instruction present in their. 1)Arithmatic instruction 2)bit manipulating instruction. 3)Logical Instruction. 4)Data transfer Instruction. Q.2 Write a program to transfer 50 bytes placed at 0300H onwards and save them to 20H onwards Ans.

You might also like