Skip to content
← Electronics

Electronics · 2nd Puc Science

Ch 11Microcontroller — 2nd PUC Electronics, concept-first.

A microcontroller is a complete small computer built onto a single integrated circuit (IC). It combines a comparatively simple CPU with the support circuits a system usually needs — a crystal oscillator, a watchdog timer, timers/counters, and both serial and analog input/output — so that one chip can run a whole applic…

Exam weightage:1m × 12m × 15m × 1

115

Q&A

13

Concepts

8m

Exam weightage

Start learning — read this chapter →

Key concepts

Hover a concept to preview it and jump to its most relevant Q&A.

Chapter contents

The NCERT structure, section by section. Open a section to see its questions, then read the concept-first solution.

Introduction

A microcontroller is a complete small computer built onto a single integrated circuit (IC). It combines a comparatively simple CPU with the support circuits a system usually needs — a crystal oscillat…

11.1

The 8051 Microcontroller — Architecture, Addressing Modes and Instruction Set

A microprocessor is the general-purpose Central Processing Unit (CPU) of a digital computer. By itself it is not a complete computer — it only does the processing and needs external memory and I/O to…

11.2

Assembly Language Programming, Arithmetic Operations and the PIC Microcontroller

Programming resembles writing fiction: the science lies in the rules (grammar, structure), the art in how the pieces are arranged.

Chapter Summary

- A microcontroller is a complete computer on one chip — a CPU with on-chip ROM, RAM, parallel and serial I/O, timers/counters, and interrupt and clock circuits — whereas a microprocessor is only the…

More questions

115 Q
+Show 13 questions13 questions
  1. Example 1Describe the operation of each of the following immediate-data MOV instructions of the 8051. ```asm MOV A, #25H ; load 25H into A MOV R4, #6…Free
  2. Example 2Analyse the following PUSH and POP sequence. Assume the stack pointer SP is first loaded with 30H and that RAM location 00H (register R0) al…Free
  3. Example 3Sample of Assembly Language Program: explain the following 8051 assembly language program, which loads two numbers and accumulates them (wit…Free
  4. Example 4Write a program to add two 8-bit numbers. The numbers are 1FH and 5EHPreview
  5. Example 5Write a program to add two 8-bit number, and store it in R5. The numbers are 0F1H and 0DHPreview
  6. Example 6Write a program to add two 8- bit numbers OE4H and OD9H. Show how the flag register is affected by the above instructions.Preview
  7. Example 7Subtract 23H from 3FH when CY = 0, write the program and solve.Preview
  8. Example 8Analyse the following program. ```asm CLR C MOV A, #5CH ; load A with value 5CH (A = 5CH) SUBB A, #7EH ; subtract 7EH from A INC NEXT ; if C…Preview
  9. Example 9Multiply 35H by 45HPreview
  10. Example 10Multiply OE2H and 7FH, the result A will have lower byte and B will have upper byte.Preview
  11. Example 11Divide 85 by 10Preview
  12. Example 12Divide 117d by 13dPreview
  13. Example 13Divide 0EDH by 01EHPreview
+Show 5 questions5 questions
  1. Q1Write the instructions to move value 34H into register A and value 3FH into register B, then add them together.Free
  2. Q2Write the instructions to add the values 16H and CDH, place the result in register R2.Free
  3. Q3Add 25H and 34H and put the result in register A.Preview
  4. Q4Write a program to add two 8-bit number and store it in R6. The numbers are 01EH and 01CH.Preview
  5. Q5Subtract 21H from 30H and write the program and solve.Preview
+Show 51 questions51 questions
  1. Q1What is a microcontroller?Free
  2. Q2What is an accumulator?Free
  3. Q3What is program counter?Free
  4. Q4What is a stack pointer?Preview
  5. Q5What is an intercept circuit?Preview
  6. Q6What is the need of clock circuit?Preview
  7. Q7How much is the ROM of microcontroller 8051?Preview
  8. Q8How much is the RAM of Micro8051?Preview
  9. Q9How many serial ports are there in 8051?Preview
  10. Q10How many interrupt sources are there in 8051 microcontroller?Preview
  11. Q11What is an addressing mode?Preview
  12. Q12What is an operational code (opcode)?Preview
  13. Q13What is the meaning of MOV A, R0?Preview
  14. Q14What is the meaning of MOV R5, A?Preview
  15. Q15What is the purpose of register addressing mode?Preview
  16. Q16What is the use of direct addressing mode?Preview
  17. Q17What is the direct address of working register R5 in bank 2?Preview
  18. Q18Write the direct address of the source operand?Preview
  19. Q19Write mnemonic for the operation “save content of A in RAM location 45H”.Preview
  20. Q20What is the meaning of MOV A, @ R1?Preview
  21. Q21How do you write the mnemonics for the operation “copy the contents of RAM location whose address is held by R0 into A” in an indirect addre…Preview
  22. Q22Which sign is used in as mnemonic for immediate data?Preview
  23. Q23What is the meaning of MOVA, #22H?Preview
  24. Q24Write the mnemonics for the operation “load the decimal value 66 into R3”.Preview
  25. Q25What is the maning of MOV DPTR, #1246H?Preview
  26. Q26What does ‘jump’ instruction do?Preview
  27. Q27What does ‘cal’ instruction do?Preview
  28. Q28What is the description of the mnemonic (i) JNZ, (ii) ACALL?Preview
  29. Q29Why is ROM called non volatile?Preview
  30. Q30Why is RAM called volatile?Preview
  31. Q31What is a program?Preview
  32. Q32Expand EEPROM.Preview
  33. Q33Expand SRAM.Preview
  34. Q34Expand RAM.Preview
  35. Q35What is data addresses?Preview
  36. Q36What is machine language?Preview
  37. Q37Why is Assembly Language Programming called low level language?Preview
  38. Q38How many bits of binary data can a register A hold?Preview
  39. Q39How many bits of binary data can a register R hold temporarily?Preview
  40. Q40How many bits of address number can register PC can hold?Preview
  41. Q41How much “PAL register PC” can hold code addresses?Preview
  42. Q42What are directives?Preview
  43. Q43What does directive do?Preview
  44. Q44What is a PIC microcontroller?Preview
  45. Q45Expand PIC.Preview
  46. Q46How many accumulators are there in PIC microcontroller?Preview
  47. Q47Mention the maximum operating frequency of PIC16F877.Preview
  48. Q48How many times data can be writing in PIC16F877?Preview
  49. Q49What is the ‘working voltage range of PIC16F877?Preview
  50. Q50How much is the EEPROM memory?Preview
  51. Q51What is the largest hex value that can be moved into an 8 bit register?Preview
+Show 21 questions21 questions
  1. Q1Mention two differences between microprocessor and microcontroller.Free
  2. Q2What is an addressing mode? Why is it necessary?Free
  3. Q3Mention different opcodes used in 8051.Free
  4. Q4What are the different parts of memory of 8051?Preview
  5. Q5What is the main feature of MOV opcode? Give an example.Preview
  6. Q6What is data address? Explain.Preview
  7. Q7What is an assembly language?Preview
  8. Q8Write ALP to represent “load 15H into R2”Preview
  9. Q9Write the summary of unsigned multipliers.Preview
  10. Q10Write the summary of division of unsigned numbers.Preview
  11. Q11Mention any two core features of PIC microcontrollerPreview
  12. Q12Mention the main features of PIC microcontroller.Preview
  13. Q16Mention the power supply and power consumption of PIC 16F877.Preview
  14. Q17Briefly explain Data transfer instruction.Preview
  15. Q18Briefly explain Arithmetic instruction.Preview
  16. Q19Briefly explain Logical instruction.Preview
  17. Q20Briefly explain Programming instruction.Preview
  18. Q21What is the function of Register A?Preview
  19. Q22What is the function of Register R?Preview
  20. Q23What is the function of Register PC?Preview
  21. Q24Briefly explain about structure of AL.Preview
+Show 15 questions15 questions
  1. Q1Mention the reason to write conputer instructions in assembly language?Free
  2. Q2Mention the different programs required ALPs converted into code memory bit charges.Free
  3. Q3Briefly explain the different bits of binary memories of different registers.Free
  4. Q4What are the different fields present in ALP?Preview
  5. Q5Write ALP to load 15H into R2.Preview
  6. Q6Write the discription of ALP ADDA, R2.Preview
  7. Q7Mention the different types of addressing modes.Preview
  8. Q8Briefly explain Data transfer instruction.Preview
  9. Q9Briefly explain Arithmetic instruction.Preview
  10. Q10Briefly explain Logical instruction.Preview
  11. Q11Briefly explain Programming instruction.Preview
  12. Q12Name three functions of the 8051.Preview
  13. Q13Mention the different steps used to write a program.Preview
  14. Q14Mention three key features. (i) Max operating frequency (ii) Flash programming memory (iii) No. of pins of PIC 16F877Preview
  15. Q15Mention the value of ROM, RAM and EEPROM of PIC16F877.Preview
+Show 10 questions10 questions
  1. Q1Compare microprocessor with microcontroller.Free
  2. Q2Mention the futures of 8051.Free
  3. Q3Draw the pin diagram of 8051.Free
  4. Q4Briefly explain core feature of pic microcontroller (PIC16F887 VIP40)Preview
  5. Q5Draw the pin diagram of PIC16F887QFNPreview
  6. Q6Briefly explain the steps used in creating a program.Preview
  7. Q7Briefly explain signed and unsigned subprogramPreview
  8. Q8Explain the core features of PIC microcontroller.Preview
  9. Q9Briefly explain the overview of PIC16F887 microcontroller.Preview
  10. Q10Briefly explain different addressing modes in the 8051.Preview