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