Module 1: Introduction to Microcontroller

Size: px
Start display at page:

Download "Module 1: Introduction to Microcontroller"

Transcription

1 Module 1: Introduction to Microcontroller 1. Microprocessors uses type of architecture 2. Microcontroller uses type of architecture 3. Microcontroller uses type of processor 4. Which of the following device can be externally added to the microcontroller. a) RAM b) ROM c) timers d) None of the above 5. Which of the following device is externally connected to the microprocessor a) ALU b) program counter c) timer d) registers 6. In which of the following IC s, Princeton or Von-Neumann type of architecture is used a) 8085 b) 8086 c) MC6800 d)all of the above 7. Microcontrollers commonly have a) RAM b) ROM c) Processors d) All of the above 8. Related to the microprocessor which statement is true a) microprocessor based system is more flexible in design point of view b) microprocessor have separate memory map for data and code c) fixed amount of RAM & ROM need not be connected externally to the microprocessor d) none of the above Page 1 of 49

2 9. Match the following a) Intel 8048 i) 8 bit b) Intel 80C196 ii) 8 bit (Flash memory + ADC) c) Microchip PIC 16F877 iii) 8 bit (on chip ADC) d) Motorola 68HC11 iv) 16 bit 10. Digital signal Processors uses which of the following design architecture a) Hardvard + CISC b) RISC c) Von Neumann + CISC d) Harvard + RISC 11. RAM chips a) are secondary memory b) store data indefinitely until erased c) allow the computer to store data electronically d) all of the above 12. The attributes volatility, holds data and processing instructions and made up of semiconductor material are of memory 13. Which is true for a typical RISC architecture a) complex addressing modes b) memory to register operations c) have few CPU registers d) execute instruction in single cycle Page 2 of 49

3 14. Micro-programmed control unit a) facilitates random logic, PLA or ROM b) faster than the hardwired control unit c) facilitates ease implementation of new instructions d) all of the above 15. Name the micro computer architecture which uses a separate block of memory to store data and instructions a) Von Neumann b) Hardvard c) RISC d) CISC Page 3 of 49

4 Module 2: Intel 8051 Microcontroller Lecture 5: Introduction 1. Every register of 8051 has address associated except register. 2. The stack pointer on every PUSH instruction and on every POP instruction. 3. On reset the program counter of 8051 has the address 4. What are the functions of EA, PSEN and ALE signals? has bytes of RAM from location. 6. The location of RAM used as scratch pad is. 7. The flag register of 8051 is called 8. and are the registers used to access the ROM data. 9. bit of PSW indicates the sign of a number. 10. DPTR is byte addressable register (True/False). 11. is the signal used to read the external memory. 12. After RESET the stack pointer hold the address of RAM memory 13. The bit address of 5th bit of RAM byte 2C is 14. Which of the following statement is false? a) RST pin is active high b) For 8051 the EAbar pin must be connected to Vcc c) ALE is connected to OE pin of ROM containing program code d) PSEN stands for program store enable 15. In 8051, each machine cycle has clock cycles. Page 4 of 49

5 16. The process to map the I/O Register as a part of variable RAM area is called a) data mapped I/O b) RAM mapped I/O c) memory mapped I/O d) variable mapped I/O 17. What is the value of the PSW to select bank 3? 18. RS0 and RS1 are: a) not a part of the PSW register b) are the flag bits c) are bit 3 and 4 respectively in the PSW register d) are bit 6 and 7 in the PSW which are modified upon arithmetic operations 19. TH0, TL0, TMOD, and A have the addresses a) 8Ch, 8Ah, 89h and E0h b) E0h, 8Ch, 8Ah, and 89h c) 8Ch, E0h, 8Ah, and 89h d) 8Ch, 8Ah, E0h, and 89h 20. Match the following. 1. Internal RAM memory. a) bit- addressable. 2. SCON. b) 128 bytes. 3. Internal program storage memory. c) byte- addressable. 4. TMOD. d) 4 kbytes a) 1-b 2-c 3-d 4-a b) 1-d 2-a 3-b 4-c c) 1-d 2-c 3-b 4-a d) 1-b 2-a 3-d 4-c Page 5 of 49

6 Lecture 6 & 7: Addressing modes, Port Structure, and External Memory Access 1. Identify the addressing modes of the given instructions: a) MOV A, R4 b) MOV A,#05H c) MOV R3,R2 d) MOV e) MOV R3, 0F5H f) MOV 3, 2 2. Using addressing mode, data can be accessed dynamically a) direct b) register indirect c) indexed d) register 3. What are the different types of Address decoding Techniques? 4. The addressing mode used in stack instructions is 5. addressing mode of 8051 is used in accessing data elements of the lookup table entries of ROM space of and are the registers used in register indirect addressing mode. 7. Which port of 8051 is used to access the upper byte of the address connected to external memory a) port1 b) port2 c) port3 d)port0 8. Port0 is called the quasi bidirectional port. (True/False) 9. All higher address lines are decoded to select the memory or I/O device in absolute decoding. (True/False) 10. and are the port bits used to communicate serially. 11. Maximum external memory that can be interfaced to 8051 is. 12. instruction is normally used with external RAM or I/O address. Page 6 of 49

7 13. instruction is normally used with external ROM. 14. Port pins can be driven by open collector or open drain outputs. (True/False). 15. (a) Port P0 can be used as an output only because it is used as AD0-AD7 in the expanded mode: (b) All port bits can be used as input or output in single-chip mode (c) A port bit can be used as an input after writing 0 at it (d) Two ports P0 and P2 are the output ports and P1 and P3 are the input ports: 16. & are the port used as address and data line for external memory interface. 17. Maximum data memory that can be interfaced is 18. Reset pin is: a) active when connected to 1 b) active for a few cycles only c) active when connected to 0 d) active only on watchdog timer reset 19. Commonly to access the data from the memory a) EA is connected to VCC for on chip memory and to GND for external memory b) EA is connected to GND for on chip access and to VCC for external memory c) EA is the don't care for memory access d) none of the above Page 7 of 49

8 Lecture 8: Timer and Counters: 1. TMOD and TCON registers are a) byte addressable and bit addressable respectively b) byte addressable c) bit addressable d) bit and byte addressable respectively 2. The value of TMOD is when the timer 1 operates in mode timer/counter operates in modes. 4. Each timer has & registers of bit wide. 5. is used to start the timer. 6. The input frequency to the timer circuits is times the crystal frequency. 7. The frequency and time period used by the timer for the crystal frequency of 22 MHz is and. 8. The Maximum period generated by the timer in mode 2 for a crystal frequency of MHz is 9. The instruction to stop the timer is 10. is the control flag which monitors the timer ON/OFF condition. 11. is the status flag which puts ON/OFF the timer. 12. Maximum value that can be stored in the timer register for mode 2 operation is. 13. If the initial value of TH is 14h and TL is 02Ch, then the count for which the timer will be ON when operating in mode 1 is 14. Obtain the delay generated for the given code if the crystal frequency is 12 MHz. MOV TMOD, #01H MOV TL0, #00 MOV TH0, #0EEH SETB TR0 Page 8 of 49

9 15. Analyze the code to find the count value when the TF0 flag will be raised. Assume XTAL = MHz. MOV TMOD, #01H MOV TL0, #00 MOV TH0, #0EEH. SETB TR0 16. To generate the delay of 10msec for the crystal frequency of 12 MHz, the value to be loaded in register TH0 and TL0 is & 17. is the bit of TMOD set to operate the timer in counter mode. 18. In mode 0 operation of timer the register TL is of bit wide. 19. In mode 2 operation of timer the count value is loaded in register and register overflows to 00h. Page 9 of 49

10 Lecture 9: Interrupts of The 8051 has interrupts. a) INTO b) INT1 c) Timer d) RESET 2. interrupt is of highest priority a) IE0, TF0, IE1,TF1, Serial b) IE1, TF0, IE0,TF1, Serial c) TF0, IE1, IE0, TF1, Serial d) IE0, TF0, IE1, Serial, TF1 3. and are triggered by the external signal. 4. The flag is set, when a transition takes place on INTX pin. a) IEX, low-to-high b) IEX, high-to-low c) ITX, low d) IEX, high 5. is the instruction used to return from interrupt service routine. 6. On encountering RETI in ISR, the first step taken by microcontroller is a) Pop top 2 bytes of stack to get address of next instruction b) Pops bottom 2 bytes of stack to get address of the next instruction c) Pop top 2 bytes of stack to get address of current instruction d) Pops bottom 2 bytes of stack to get address of the current instruction 7. and are the registers associate with interrupt programming. 8. When 8051 is reset and the EA line is LOW, the program counter points to the first program instruction in the: a) internal code memory b) internal data memory c) external code memory d) external data memory Page 10 of 49

11 9. Registers IP and IE are bit addressable (TRUE/FALSE). 10. The instruction MOV IE,# B enables a) serial, timer1, EX0 b) serial, timer0, EX1 c) Timer1, timer0, EX0 d) all the interrupts 11. Map the interrupts to their vector address a) IE0 i) 000B b) IE1 ii) 0023 c) TF0 iii) 0003 d) TF1 iv) 001B e) SERIAL v) The instruction which enables all the interrupts is 13. Bytes of memory space assigned to each of the interrupts is 14. Upon reset the address held in the stack pointer is 15. To change level triggered interrupt to edge triggered interrupts modification must be done in which register? a) PCON b) TCON c) TMOD d) SCON Page 11 of 49

12 Lecture 10: Program Branching Instructions 1. The following instruction is a relative jump instruction: a. AJMP b. JMP c. SJMP d. LJMP 2. The relative address range from the current program counter(pc) of relative jump instructions is: a to +128 bytes b to +127 bytes c. 0 to +128 bytes d. 0 to -127 bytes 3. In the following block of code what is the significance of next? MOV A,#45h MOV B,#96h ADD A,B JNC next MOV A,R6 next: MOV A,R5... a. next is a data variable. b. next is a constant. c. next is relative address. d. next has no significance. 4. While accessing short absolute jump instruction, bits of program counter hold the address within the page. a. 12 b. 11 c. 10 d Match the following: A B 1) CJNE a) 3-byte instruction 2) b) carry flag is not affected. 3) SJMP c) re-locatable 4) LCALL d) 2-byte instruction 5) JC e) carry flag is affected Page 12 of 49

13 6. Consider the following block of code: MOV A,#49h MOV R5,#05h back: CPL A.6 CPL A.2 DJNZ R5,back... What will be the contents of Accumulator after execution of this block? a. 49 b. D1 c. CD d. 0D 7. Consider the following code: ORG 0 MOV A,#23h MOV B,#53h CJNE A,B,next MOV R7,#0 next: JC next1 MOV R7,# G SJMP n1 next1: MOV R7,# S n1: NOP END After execution of following block of code, what will be the contents of R7? a. A b. S c. G d. B 8. Consider the following block of code: ORG 0000h MOV R4,#96h back: MOV R3,#50h back1: CPL A.4 DJNZ R3,back1 DJNZ R4,back END Page 13 of 49

14 How many times the loop will be executed? a. 146 b c d Consider the following block of code: MOV A,40h JNB A.7,next MOV R6,# A SJMP next1 next : MOV R6,# B next1: If the content of the memory location 40h is AAh then what will be the content of R6 after execution of this block? a. AA b. BB c. A d. B 10. Consider the following block of code: MOV 45h,#10 MOV A,R0 JZ next MOV R5,@R0 SJMP next1 next: MOV R5,R0 next1: If the content of R0 is 45h then what are the contents of R5 after execution of this block? a. 45h b. 10h c. 01h d. 0Ah Page 14 of 49

15 Lecture 11: Serial Communication 1. The timer mode which is also referred to as standard UART mode: a. mode-0 b. mode-1 c. mode-2 d. mode-3 2. Usually the timer configuration used to set the baud rate in serial communication is a. Timer-1 in mode-1 operation b. Timer-1 in mode-2 operation c. Timer-0 in mode-2 operation d. Timer-0 in mode-1 operation 3. Match the following: Registers Address a. SCON i. 99h b. PCON ii. 98h c. SBUF iii. 0E0h d. Register-A iv. 87h 4. Choose the odd one among the following: a. SCON register b. PCON register c. I/O ports(p1,p2,p3) d. TCON register 5. What is the bit time if the baud rate is 4800? a ms b ms c ms d ms 6. Match the following: (Assume the clock frequency as MHz) Baud Rates a i. 0FDh b ii. 0FAh c iii. 0F4h d iv. 0E8h Value to be loaded into timer-1 Page 15 of 49

16 7. Consider the following events: 1) Loading SCON register. 2) TR flag is set. 3) TR flag is cleared. 4) TI flag is monitored. 5) Loading TMOD register. 6) Loading SBUF register. The correct sequence of events used to transmit a byte serially is: a. 1,4,5,3,2,6 b. 6,5,1,4,3,2 c. 1,5,3,6,2,4 d. 5,1,2,6,4,3 8. Consider the following block of code: ORG 0000h MOV TMOD,#20h MOV TH1,#-3 MOV SCON,#50h END The serial mode used and the baud rate set in above block of code is: a. Mode-0,2400 b. Mode-1,9600 c. Mode-0,9600 d. Mode-1, Consider the following block of code: ORG 0000h MOV TMOD,#20h MOVA,PCON SETB ACC.7 MOV PCON,A MOV TH1,#-3 MOV SCON,#10h END Page 16 of 49

17 The serial mode used and the baud rate set in above block of code is: (Assume clock frequency as MHz) a. Mode-0,19200 b. Mode-1,9600 c. Mode-0,9600 d. Mode-1, Consider the following 8051 C program: #include <reg51.h> main() { TMOD = 0x20; TH1 = 0xFD; SCON = 0x50; TR1 = 1; for(i=0;i<10;i++) { SBUF = Y ; while(ti == 0); TI = 0; SBUF = E ; while(ti == 0); TI = 0; SBUF = S ; while(ti == 0); TI = 0; } } What is the time required to transmit the data in the above program if the XTAL frequency is MHz. a ms b ms c ms d ms Page 17 of 49

18 Lecture 12: Serial Communication 1. The serial mode/s which is/are also referred to as Multi-processor mode is/are: a. mode-2 b. mode-3 c. mode-2 and mode-3 d. mode-1 and mode-2 2. Timer-1 can be used in different modes to set the baud rate. - State true or false. 3. The various bits transmitted/received in the Multi-processor mode are: a. 1 start-bit,8 data-bits and 1 stop-bit b. 1 start-bit,6 data-bits, 2 programmable-bit and 1 stop-bit c. 1 start-bit,6 data-bits, 1 programmable bit and 1 stop-bit d. 1 start-bit,8 data-bits, 1 programmable-bit and 1stop-bit 4. The power saving modes of operation of 8051-microcontroller are: a. Idle mode b. Multi-processor mode c. UART mode d. Power-down mode e. Both (a) and (d) f. Both (d) and (c) g. All of the above 5. During the power saving modes of 8051: a. The CPU is reset b. CPU status is changed c. CPU status is preserved d. CPU status is overwritten 6. TB8 is for data byte and for address byte in multi-processor mode: a. 1,1 b. 1,0 c. 0,1 d. 0,0 7. The programmable bit during multi-processor serial communication mode is data bit: a. 1 st b. 8 th c. 9 th d. 10 th Page 18 of 49

19 8. Consider the following events: 1) All slaves check the address sent by master. 2) Master sends the address of slave with TB8 = 1. 3) Slave responds to master by clearing its SM2 bit. 4) Slaves have their SM2 bit set. 5) Data bits sent by master with TB8 = 0. Arrange the events in chronological order for master-slave communication in multiprocessor serial communication mode: a. 4,2,3,1,5 b. 4,1,2,3,5 c. 4,2,1,3,5 d. 1,2,3,4,5 9. For serial mode-2 operation, what is the baud rate if SMOD = 0 and XTAL frequency is MHz? a b c d Consider the following block of code: ORG 0000h MOV TMOD,#20h MOV TH1,#-3 MOV SCON,#0D0h END The serial mode used and the baud rate set in above block of code is: (Assume clock frequency as MHz) a. Mode-2,2400 b. Mode-2,9600 c. Mode-3,9600 d. Mode-3,2400 Page 19 of 49

20 Lecture 13: 8051 Instruction Set 1. is the instruction used with external RAM or IO address for data transfer. 2. is the instruction used with external ROM for data transfer. 3. MOV a) Moves the contents of R0 to A b) Transfer the data between A and R0 c) Move the data from Memory to A d) Transfer the data from the memory location whose address is stored in R0 to A 4. Which is the valid instruction to transfer data 25H into R0 a) MOV R0,25H b) MOV R0, #25H c) d) MOV #25H,R0 5. Command used to read data from the port 0 a) MOV P0,A b) MOV c) MOV A,P0 d) MOV P0,#0FFH 6. MOV #32h, R3 a) is a valid instruction b) instruction moves data from R3 to memory location 32H c) instruction copies value 32h to R3 d) is invalid instruction as destination cannot be an immediate value 7. Instruction MOV A, #FFH generates a syntax error (TRUE/FALSE) 8. MOV R2, R4 is invalid instruction. (TRUE/FALSE) 9. is the instruction used to read data from the look up table. Page 20 of 49

21 10. Instruction that exchanges the data between register A and B is a) XCH A, B b) XCH B, A c) XCHD A,0F0H d) XCH A, 0F0H 11. Analyze the operation of the code PUSH 07H PUSH 06H POP 07H POP 06H a) Restores the data in register R6 and R7 b) Swaps the data between memory location 07h and 06h c) Exchanges the data between R6 and R7 d) a or b 12. instruction exchanges lower nibble data between register A and internal RAM source 13. In rotate and swap instructions the destination register is. 14. What is the content of A after the execution of the instructions: MOV A, #0FH RL A a) 0FH b) 0F0H C) 00H d)ffh 15. If the carry flag is set, then the MOV 7Fh, C a) sets the byte location 7Fh b) sets the bit location 7FH c) sets the 7 bit of RAM byte 2Fh d) is a invalid instruction 16. Executing the instruction ANL C,/b alters the addressed bit b. (TRUE/FALSE). 17. is the instruction that interchanges the nibbles of accumulator. Page 21 of 49

22 18. Four operations of right or left rotate is equivalent to instruction. 19. Instruction that clears the contents of accumulator is: a) MOV A, #00H b) CLR A c) ANL A, #00H d) Any of the above 20. Contents of accumulator at the end of the code execution will be: MOV R0,A XRL A,#1FH XRL A,R0 a) equal to R0 b) equal to A c) 1Fh d) depends on value of A 21. Increment and decrement operations alter the C, AC and OV flags (TRUE/FALSE). 22. In addition and subtraction the destination register is. 23. An alternate instruction for CLR C is a) CLR PSW.0 b) CLR PSW.2 c) CLR PSW.5 d) CLR PSW Equivalent instruction to increment the contents of DPTR(16-bit) is a) INC DPTR b) INC DPL c) INC DPH d) Not possible in a single instruction 25. After executing the MUL instruction, lower-byte of the product is in while the higher-byte is in register. Page 22 of 49

23 26. An equivalent instruction that decrements the register contents and checks if zero is a) DEC and JZ b) DEC and JNZ c) DJNZ d) CJNE 27. Instruction that adjusts the result to the BCD equivalent is 28. Addition and subtraction alters the flags while division and multiplication alters flag 29. The rotate instruction that doubles the content is 30. The rotate instruction that halves the content is 31. Instruction MOV A,P2 a) reads the input pin b) reads the port latch c) performs read-modify-write operation d) reads the internal latch. Page 23 of 49

24 Module 3: PIC Microcontroller 1. The first PICs were a major improvement over existing microcontroller because they were. a. programmable b. of high output current c. input/output controller built d. All of the above around a RISC architecture. 2. The PIC family share the same core set of RISC instructions. True/False 3. All assembly language instructions for PIC microcontroller is execute within. a. one clock cycle b. two clock cycle c. half clock cycle d. none 4. A program can mask any and all interrupts through the register. a. SFR b. INTCON c. TRIS d. none 5. A allows you to program the part from a serial port without any special programmer circuitry. a. program circuit b. assembler c. bootloader d. none 6. The file is what the PIC programmer tool uses to burn the program into the PIC s program memory. a..hex b. assembler c. bootloader d. all Page 24 of 49

25 7. The PIC retrieved commands from EEPROM memory one at a time and executed them. This is known as. a. execution b. interpreted execution c. compiled execution d. none 8. In PIC Basic, I2COUT represents- Send bytes to I 2 C device. True/False 9. In PIC basic variables can be renamed using the statement. a. Symbol b. comments c. Line labels d. ASCII values 10. ASCII characters must not be placed within quotes. True/False 11. Line Labels are limited to a length of characters and cannot start with a number. a. 32 b. 64 c. 16 d command reverses the state of the port pin in the data register. a. TOGGLE pin b. REVERSE pin c. POT pin d. none 13. The first return will go back to subroutine and second return will go back to original GOSUB. This is known as. a. nesting b. ISR c. RETURN d. none 14. PICs use possible clock configurations. Page 25 of 49

26 a. external clock b. self oscillating with external crystal c. external or self oscillating with PLL d. self oscillating with external RC e. ALL 15. PIC machine instructions are uploaded from PC to PIC system via the debugger. a. bootloader b. ICD2 c. DIC2 d. IDC2 16. The user must ensure the direction register is set correctly via. a. set_fast_io ( ) b. set_tris ( ) c. set_tris_x( ) d. none 17. The timer/counters can be used to. a. generate timed interrupts. b. count incoming logic transitions c. capture timer/counter on an input event. d. generate variable PWM outputs e. ALL 18. PSA determines whether the input is pre-scaled or not. TRUE/FALSE 19. An interrupt is raised when a particular condition occurs. a. timer/counter overflow b. change in the state of an input line c. data received on a serial bus d. completion of an A-D conversion e. power supply brown-out. f. ALL 20. Calculate interrupt rate when clock frequency is 20MHz and a pre-scaler ratio of 16. a Hz b MHz c. 305 Hz d. none Page 26 of 49

27 21. PBPro is really a full-featured interpreter. True/False 22. NAP command represents Power down processor for short period of time. True/False 23. The PIC can be reset using. a. MCLR b. CLR c. INTR d. ALL 24. The data direction register is called the register. a. DATA b. TRIS c. DDR d. none 25. The register is where you set Port A to be digital or analog input mode. a. ADCON1 b. ADON c. DACON d. none 26. All the interrupts can be enabled or disabled by setting or clearing the bit in the option register. a. GIE b. IE c. SIE d. none 27. The loop returns back to the main loop using the RETURN command. a. for b. convrt c. convert d. none Page 27 of 49

28 28. PIC16Cxx Microcontroller Family has instructions. a. 35 b. 36 c. 24 d Logic unit of PIC has capability of performing operations. a. complementing (COMF) b. rotation (RLF and RRF). c. Both a & b d. none 30. A interprets each instruction written in assembly language as a series of zeros and ones which have a meaning for the internal logic of the microcontroller. a. Translator b. Interpreter c. Assembler d. none 31. A is a textual designation (generally an easy-to-read word) for a line in a program. a. Instructions b. Operand c. Label d. Directives 32. is a series of words that a programmer writes to make the program more clear and legible. a. Directives b. Comments c. Labels d. none 33. Data directive represents defining a block for the named constants. a. CBLOCK b. DATABLOCK c. DBLOCK d. none 34. Process of translating a program written in assembler language we get file(s) like. a. Executing file b. Program errors file c. List file d. All 35. An approach to programming in which separate logical tasks are programmed separately and joined later is known as. a. Modules b. Modular programming c. Assembly Programming d. none 36. Communication between two devices is easiest to achieve via communication. a. Parallel b. Parallel RS-232 c. serial RS-232 d. none Page 28 of 49

29 37. Microcontroller and AD converter are connected over line(s). a. MOSI b. MISO c. SS d. SCK. e. ALL 38. Branch instructions require instruction cycles. a. 2 b. 1 c. 4 d XT mode frequencies between. a. 32 khz and 200 khz b. 100 khz and 4 MHz c. 8 MHz and 20 MHz d. none 40. CCP stands for: a. Complex Capture Pulsewidth b. Cover Capture Pulsewidth c. Compare Capture Pulsewidth d. none 41. Special Function Registers are reserved for a. Control / Configuration b. Peripheral access c. Indirect Addressing d. Program Counter e. ALL 42. IRP stands for: a. Indirect Register Pointer b. Interrupt Register Pointer c. Interrupt Routine Pin d. none Page 29 of 49

30 43. INDF register tracks contents of FSR. True/False 44. One of the following is not a mnemonic. a. IORWF b. XORWL c. COMF d. SWAPF 45. SWAPF command swaps full byte. True/False 46. RC discharges in time =. a. 2πRC b. 2RC c. 1/2πRC d. 2πC 47. In EXTRC mode External RC is connected between PIC pin. a. OSC1 and VDD b. OSC1 and ground c. OSC1 and INTR d. VDD and ground 48. Master in synchronous mode synchronizes data to external clock. True/False 49. Following is (are) the core independent peripherals: a. Configurable Logic Cell (CLC) b. Complementary Waveform/Output Generator c. Numerically Controlled Oscillator d. Programmable Switch Mode Controller e. ALL 50. PIC has Faster Time-to-Market because of following reason(s): a. Free software b. Pin and code compatibility, easy migration c. Pre-programmed parts d. all Page 30 of 49

31 51. XLP stands for a. extreme Low Power b. Interface Low Power c. x times low power d. none 52. Baseline architecture of PIC has no interrupts. True/False 53. CVD stands for a. Complimentary Voltage Divider b. Capacitive Voltage Divider c. Configurable Voltage Divider d. none 54. PIC Microcontroller's are used in I/O data transfer. a. Port-D and Port-E b. Port-D and Port-F c. Port-A and Port-E d. none 55. The control pin(s) of Port-E function is/are for data transfer. a. RD b. WR c. CS d. ALL 56. Mode facilitates bidirectional 8-bit parallel data transfer. a. TMD b. PSP c. GIE d. PSPIE 57. PIC microcontroller has following feature(s): a. 32 I/O pins arranged b. Two 16-bit timer/counters c. Two external and three internal d. One full duplex serial I/O vectored interrupts e. ALL Page 31 of 49

32 58. register stores the important status conditions of the PIC microcontroller. a. PSW b. PSP c. TCON d. none 59. Bit address of 'b' bit of register 'R' is address of register. a. R b. R-1 c. 'R' + b d. 'R' b 60. TRBUF is an 8-bit RAM variable used for storage. a. temporary b. permanent c. a or b d. none 61. SDA (RC4) and SCL (RC3) are both drain pins. a. closed b. open c. voltage d. current 62 When a master wants to initiate a data transfer, it pulls SDA low followed by SCL being pulled low. This is called condition. a. STOP b. LOW c. START d. none 63. START and STOP conditions are unique and they never happen within a data transfer. True/False 64. The reason for open drain connection is a. data transfer is bi-directional b. devices connected to the I 2C bus can drive- the data line c. either a or b d. both a & b Page 32 of 49

33 Module 4: Microprocessors Microprocessor is a general purpose device 2. Microcontroller is indented for a specific purpose (A). (1) is true, (2) is false (C). (1) is true, (2) is true (B). (1) is false, (2) is true (D). (1) is false, (2) is false 2. If the crystal oscillator is operating at, the PCLK output of 8284 is 2.5 MHz. (A) 15 MHz. (C) 7.5 MHz. (B) 5 MHz. (D) 10 MHz. 3. In which T-state does the CPU sends the address to memory or I/O and the ALE signal for demultiplexing (A) T1. (B) T2. (C) T3. (D) T4. 4. If a 1M x 1 DRAM requires 4 ms for a refresh and has 256 rows to be refreshed, no more than of time must pass before another row is refreshed. (A) 64 ms. (B) 4 ns. (C) 0.5 ns. (D) micro sec. 5. In a DMA write operation the data is transferred (A) from I/O to memory. (C) from memory to memory. (B) from memory to I/O. (D) from I/O to I/O. Page 33 of 49

34 6. Which type of JMP instruction assembles if the distance is 0020 h bytes (A) near. (C) short. B) far. (D) none of the above. 7. A certain SRAM has CS = 0, WE = 0 and OE = 1. In which of the following modes this SRAM is operating (A) Read (C) Stand by (B) Write (D) None of the above 8. Which of the following is true with respect to EEPROM? (A) contents can be erased byte wise only. (B) contents of full memory can be erased together. (C) contents can be erased using ultra violet rays (D) contents cannot be erased 9. Pseudo instructions are basically (A) false instructions. (C) assembler directives. (B) instructions that are ignored by the microprocessor. (D) instructions that are treated like comments. 10. Number of the times the instruction sequence below will loop before coming out of loop is MOV AL, 00h A1: INC AL JNZ A1 (A) 00 (B) 01 (C) 255 (D) 256 Page 34 of 49

35 11. What will be the contents of register AL in 8086 after the following has been executed MOV BL, 8C MOV AL, 7E ADD AL, BL (A) 0A and carry flag is set (B) 0A and carry flag is reset (C) 6A and carry flag is set (D) 6A and carry flag is reset 12. Direction flag is used with (A) String instructions. (B) Stack instructions. (C) Arithmetic instructions. (D) Branch instructions. 13. Ready pin of a microprocessor is used (A) to indicate that the microprocessor is ready to receive inputs. (B) to indicate that the microprocessor is ready to receive outputs. (C) to introduce wait states. (D) to provide direct memory access. 14. These are two ways in which a microprocessor can come out of Halt state. (A) When hold line is a logical 1. (B) When interrupt occurs and the interrupt system has been enabled. (C) When both (A) and (B) are true. (D) When either (A) or (B) are true. 15. In the instruction FADD, F stands for (A) Far. (C) Floating. (B) Floppy. (D) File. Page 35 of 49

36 16. SD RAM refers to (A) Synchronous DRAM (C) Semi DRAM (B) Static DRAM (D) Second DRAM 17. In case of DVD, the speed is referred in terms of n X (for example 32 X). Here, X refers to (A) 150 KB/s (C) 1.38 MB/s (B) 300 KB/s (D) 2.4 MB/s 18. Itanium processor of Intel is a (A) 32 bit microprocessor. (B) 64 bit microprocessor. (C) 128 bit microprocessor. (D) 256 bit microprocessor. 19. LOCK prefix is used most often (A) during normal execution. (B) during DMA accesses (C) during interrupt servicing. (D) during memory accesses. 20. The Pentium microprocessor has execution units. (A) 1 (B) 2 (C) 3 (D) EPROM is generally erased by using (A) Ultraviolet rays (C) 12 V electrical pulse (B) infrared rays (D) 24 V electrical pulse Page 36 of 49

37 22. Signal voltage ranges for a logic high and for a logic low in RS-232C standard are (A) Low = 0 volt to 1.8 volt, high = 2.0 volt to 5 volt (B) Low =-15 volt to 3 vol, high = +3 volt to +15 volt (D) Low = +3 volt to +15 volt, high = -3 volt to -15 volt (E) Low = 2 volt to 5.0 volt, high = 0 volt to 1.8 volt 23. The PCI bus is the important bus found in all the new Pentium systems because (A) It has plug and play characteristics (B) It has ability to function with a 64 bit data bus (C) Any Microprocessor can be interfaced to it with PCI controller or bridge (D) All of the above 24. Which of the following statement is true? (A) The group of machine cycle is called a state. (B) A machine cycle consists of one or more instruction cycle. (C) An instruction cycle is made up of machine cycles and a machine cycle is made up of number of states. (D) None of the above is a (A) UART (C) Programmable Interrupt controller (B) USART (D) Programmable interval timer/counter microprocessor has (A) 16 bit data bus (C) 6 byte pre-fetch queue (B) 4 byte pre-fetch queue (D) 16 bit address bus Page 37 of 49

38 27. By what factor does the 8284A clock generator divide the crystal oscillator s output frequency? (A) One (C) Three (B) Two (D) Four 28. The memory data bus width in Pentium is (A) 16 bit (C) 64 bit (B) 32 bit (D) None of these 29. When the 82C55 is reset, its I/O ports are all initializes as (A) output port using mode 0 (B) Input port using mode 1 (C) output port using mode 1 (D) Input port using mode 0 30.Which microprocessor pins are used to request and acknowledge a DMA transfer? (A) reset and ready (C) HOLD and HLDA (B) ready and wait (D) None o these 31. Which of the following statement is false? (A) RTOS performs tasks in predictable amount of time (B) Windows 98 is RTOS (C) Interrupts are used to develop RTOS (D) Kernel is the one of component of any OS 32. The VESA local bus operates at (A) 8 MHz (C) 16 MHz (B) 33 MHz (D) None of these Page 38 of 49

39 33. The first modern computer was called. (A) FLOW-MATIC (C) ENIAC (B) UNIVAC-I (D) INTEL 34. Software command CLEAR MASK REGISTER in DMA (A) Disables all channels. (B) Enables all channels. (C) None. (D) Clears first/last flip-flop within The first task of DOS operating system after loading into the memory is to use the file called. (A) HIMEM.SYS (C) AUTOEXEC.BAT (B) CONFIG.SYS (D) SYSTEM.INI 36. If the programmable counter timer 8254 is set in mode 1 and is to be used to count six events, the output will remain at logic 0 for number of counts (A) 5 (B) 6 (C) 0 (D) All of the above 37.The flash memory is programmed in the system by 12 V programming pulse. (A) TRUE (B) FALSE 38. A plug and play (PnP) interface is one that contains a memory that holds configuration information of the system. (A) TRUE (B) FALSE Page 39 of 49

40 39. The accelerated graphics port (AGP) allows virtually any microprocessor to be interfaced with PCI bus via the use of bridge interface. (A) TRUE (B) FALSE 40. A Bus cycle is equal to how many clocking periods (A) Two (C) Four (B) Three (D) Six 41. The time required to refresh a typical DRAM is (A) 2 4 us (C) 2 4 ms (B) 2 4 ns (D) 2 4 ps 42. The no. of address lines required to address a memory of size 32 K is (A) 15 lines (C) 18 lines (B) 16 lines (D) 14 lines 43. The no. of wait states required to interface 8279 to 8086 with 8MHz clock are (A) Two (C) One (B) Three (D) None 44. NMI input is (A) Edge sensitive (B) Level sensitive (C) Both edge and level triggered (D) edge triggered and level sensitive Page 40 of 49

41 45. Data rate available for use on USB is (A) 12 Mbits per second (C) Both (A) and (B) (B) 1.5 Mbits per second (D) No restriction 46. In 80186, the timer which connects to the system clock is (A) timer 0 (B) timer 1 (C) timer 2 (D) Any one can be connected 47. Conversion of the decimal number into signed binary word results (A) (B) (C) (D) What do the symbol [ ] indicate when used with a register? (A) Direct addressing (C) Indirect addressing (B) Register Addressing (D) None of the above 49. SDRAM refers to (A) static DRAM (C) sequential DRAM (B) synchronous DRAM (D) semi DRAM 50. Which pins are general purpose I/O pins during mode-2 operation of the 82C55? (A) PA0 PA7 (C) PC3-PC7 (B) PB0-PB7 (D) PC0-PC2 Page 41 of 49

42 Module 5: Experiments on Microcontroller 1. The Enable pin in LCD is input and output. (True/False) 2. To latch the data at the data pins the enable should be a pulse. 3. To recognize the data at the data pins the signal RS must be set. 4. The minimum setup time prior to enable going high is 5. The command code for line 1 and sixth character is 6. In ADC804, a pulse on the WR marks the start of conversion. 7. Digital data is obtained from an ADC808 when a pulse is sent on OE pin. 8. In ADC0804, for a V ref of 2V, the step size is 9. If V ref /2 is 0.64V and the digital data out is , the input voltage Vin is 10. The output of a DAC808 is in the form of. 11. An 8-bit DAC has discrete voltage levels of output. 12. For an 8-bit DAC if reference current is 2mA and the digital input is 99H, then the output current is 13. For an 8-bit DAC with reference current of 2mA, the max current is 1.99mA when all the inputs are. 14. In a 4 X 4 keyboard matrix, if the row has D3-D0 =1101 and the column are D3-D0 = 1110, then the key pressed is 15. To identify the key pressed, in a keypad interface, one row is set to zero at a time. (True/False) 16. The 8051 can support a maximum of bytes of data memory space. 17. To read the data from external RAM, 8051 uses the instruction 18. External ROM data can be read using the instruction 19. Ports and of 8051 are used for external memory interface. 20. When EA is connected to V cc, the program code is fetched from ROM. Page 42 of 49

43 Module 1: Answers Introduction to Microcontroller Answers: 1. Von-Neumann 2. Harvard 3. CISC 4. c 5. c 6. d 7. d 8. b 9. a-i,b-iv,c-ii,d-iii 10. a 11. d 12. ROM 13. d 14. d 15. b Page 43 of 49

44 Module 2: Answers to Intel 8051 Microcontroller Answers: Lecture 5: 1. DPTR 2. Increment, decrements H 4. Ans by students bytes, 00-7FH 6. 30H-7FH 7. PSW 8. R0 & R1 9. Overflow 10. True 11. EA H 13. c 14. c C H 18. c 19. a 20. A Lecture 6 & 7: 1. Answer by students 2. b 3. Absolute and linear 4. Direct 5. Indexed 6. R0 & R1 7. B 8. False 9. True 10. P3.0 & P Kb 12. MOVX 13. MOVC 14. True 15. b 16. P0 & P a 19. a 20. P3.2 & P3.4 Lecture 8: 1. A 2. 20H TH & TL, 8 5. SETB TRX 6. 1/12 th MHz, 0,546µs µs 9. CLR TRX 10. TRX 11. TFX 12. FFH ms T0 or 6-T1 Page 44 of 49

45 THX & TLX THX,TLX Lecture 9: d 3. A 4. INT0 & 1 5. b 6. RETI 7. a 8. IP & IE 9. C 10. True 11. B 12. b 13. SETB IE H 16. B Lecture 10: 1. C 2. b 3. C 4. b 5. c 6. D 7. b 8. D 9. c 10. d Lecture 11: 1. B 2. b 3. B 4. b 5. b 6. A 7. d 8. B 9. a 10. c Lecture 12: 1. C 2. True 3. D 4. c 5. c 6. c 7. c 8. C 9. d 10. c Page 45 of 49

46 Lecture 13 &14: 1. MOVX 2. MOVC 3. D 4. b 5. c 6. D 7. True 8. MOVC 9. d 10. d 11. D 12. XCHD 13. a 14. b 15. c 16. False 17. SWAP 18. SWAP 19. d 20. c 21. False 22. Accumulator 23. d 24. d 25. A & B register 26. C 27. DA 28. AC flag 29. RL 30. RR 31. A Page 46 of 49

47 Module 3: Answers to PIC Microcontroller Answers: 1. d 2. True 3. d 4. b 5. c 6. a 7. b 8. True 9. a 10. False 11. a 12. a 13. a 14. e 15. b 16. c 17. e 18. True 19. f 20. a 21. False 22. True 23. a 24. b 25. a 26. a 27. b 28. a 29. c 30. a 31. c 32. b 33. a 34. d 35. b 36. c 37. e 38. a 39. b 40. c 41. e 42. a 43. True 44. b 45. False 46. a 47. b 48. False 49. e 50. d 51. a 52. True 53. b 54. a 55. d 56. b 57. e 58. b 59. b 60. a 61. b 62. c 63. True 64. d Page 47 of 49

48 Module 4: Introduction to Advanced Microprocessors Answers: 1. c 2. c 3. a 4. b 5. a 6. a 7. b 8. c 9. c 10. d 11. a 12. a 13. c 14. a 15. c 16. a 17. c 18. b 19. c 20. c 21. a 22. b 23. d 24. b 25. b 26. d 27. c 28. c 29. d 30. c 31. b 32. b 33. c 34. b 35. b 36. b 37. a 38. a 39. b 40. c 41. c 42. a 43. a 44. d 45. c 46. c 47. c 48. c 49. b 50. a Page 48 of 49

49 Module 5: Experiments on Microcontroller Answer: 1. True 2. High-to-Low 3. High ns 5. 86H 6. Low-to-High 7. High-to-Low mV V 10. Current mA 13. High True MOVX 18. MOVC 19. P0 & P2 20. On-Chip Page 49 of 49

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 4 The 8051 Architecture Department of Electrical Engineering Lecture 4 The 8051 Architecture 1 In this Lecture Overview General physical & operational features Block diagram Pin assignments Logic symbol Hardware description Pin

More information

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller of 8085 microprocessor 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration 8-bit

More information

Question Bank Microprocessor and Microcontroller

Question Bank Microprocessor and Microcontroller QUESTION BANK - 2 PART A 1. What is cycle stealing? (K1-CO3) During any given bus cycle, one of the system components connected to the system bus is given control of the bus. This component is said to

More information

Microcontroller Intel [Instruction Set]

Microcontroller Intel [Instruction Set] Microcontroller Intel 8051 [Instruction Set] Structure of Assembly Language [ label: ] mnemonic [operands] [ ;comment ] Example: MOV R1, #25H ; load data 25H into R1 2 8051 Assembly Language Registers

More information

8051 Overview and Instruction Set

8051 Overview and Instruction Set 8051 Overview and Instruction Set Curtis A. Nelson Engr 355 1 Microprocessors vs. Microcontrollers Microprocessors are single-chip CPUs used in microcomputers Microcontrollers and microprocessors are different

More information

Introduction To MCS-51

Introduction To MCS-51 Introduction To MCS-51 By Charoen Vongchumyen Department of Computer Engineering Faculty of Engineering KMITLadkrabang 8051 Hardware Basic Content Overview Architechture Memory map Register Interrupt Timer/Counter

More information

Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples.

Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MICROCONTROLLERS AND APPLICATIONS 1 Module 2 Module-2 Contents: Memory organization Programming model - Program status word - register banks - Addressing modes - instruction set Programming examples. MEMORY

More information

Microprocessors 1. The 8051 Instruction Set. Microprocessors 1 1. Msc. Ivan A. Escobar Broitman

Microprocessors 1. The 8051 Instruction Set. Microprocessors 1 1. Msc. Ivan A. Escobar Broitman Microprocessors 1 The 8051 Instruction Set Microprocessors 1 1 Instruction Groups The 8051 has 255 instructions Every 8-bit opcode from 00 to FF is used except for A5. The instructions are grouped into

More information

Module Contents of the Module Hours COs

Module Contents of the Module Hours COs Microcontrollers (EE45): Syllabus: Module Contents of the Module Hours COs 1 8051 MICROCONTROLLER ARCHITECTURE: Introduction to Microprocessors and Microcontrollers, the 8051 Architecture, 08 1 and pin

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many

More information

Embedded Controller Programming

Embedded Controller Programming Embedded Controller Programming Counters, Timers and I/O in Assembly Language Ken Arnold Copyright 2000-2004 Ken Arnold 1 Outline Timer/Counters Serial Port More 8051 Instructions Examples Copyright 2000-2004

More information

UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING

UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING UNIT 2 THE 8051 INSTRUCTION SET AND PROGRAMMING Instructions Alphabetical List of Instructions ACALL: Absolute Call ADD, ADDC: Add Accumulator (With Carry) AJMP: Absolute Jump ANL: Bitwise AND CJNE: Compare

More information

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC.

Module I. Microcontroller can be classified on the basis of their bits processed like 8bit MC, 16bit MC. MICROCONTROLLERS AND APPLICATIONS 1 Module 1 Module I Introduction to Microcontrollers: Comparison with Microprocessors Harvard and Von Neumann Architectures - 80C51 microcontroller features - internal

More information

CPEG300 Embedded System Design. Lecture 3 Memory

CPEG300 Embedded System Design. Lecture 3 Memory CPEG300 Embedded System Design Lecture 3 Memory Hamad Bin Khalifa University, Spring 2018 Review Von Neumann vs. Harvard architecture? System on Board, system on chip? Generic Hardware Architecture of

More information

Digital Blocks Semiconductor IP

Digital Blocks Semiconductor IP 805 SFR Bus Digital Blocks Semiconductor IP 805 Microcontroller Configurable Peripherals General Description The Digital Blocks (Configurable Peripherals) Microcontroller Verilog IP Core is complaint with

More information

Department of Electronics and Instrumentation Engineering Question Bank

Department of Electronics and Instrumentation Engineering Question Bank www.examquestionpaper.in Department of Electronics and Instrumentation Engineering Question Bank SUBJECT CODE / NAME: ET7102 / MICROCONTROLLER BASED SYSTEM DESIGN BRANCH : M.E. (C&I) YEAR / SEM : I / I

More information

Digital Blocks Semiconductor IP

Digital Blocks Semiconductor IP Digital Blocks Semiconductor IP 805 Microcontroller General Description The Digital Blocks Microcontroller Verilog IP Core is complaint with the MCS 5 Instruction Set and contains standard 805 MCU peripherals,

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller EE4380 Fall 2001 Pari vallal Kannan Center for Integrated Circuits and Systems University of Texas at Dallas 8051 Architecture Programmer s View Register Set Instruction Set Memory

More information

Digital Blocks Semiconductor IP

Digital Blocks Semiconductor IP Digital Blocks Semiconductor IP DB805C-FSM 805 Microcontroller FSM Finite State Machine General Description The Digital Blocks DB805C-FSM IP Core contains Digital Blocks compact DB805C CPU Core & GPIO

More information

CS 320. Computer Architecture Core Architecture

CS 320. Computer Architecture Core Architecture CS 320 Computer Architecture 8051 Core Architecture Evan Hallam 19 April 2006 Abstract The 8051 is an 8-bit microprocessor designed originally in the 1980 s by the Intel Corporation. This inexpensive and

More information

EE6502- MICROPROCESSOR AND MICROCONTROLLER

EE6502- MICROPROCESSOR AND MICROCONTROLLER . EE6502- MICROPROCESSOR AND MICROCONTROLLER UNIT III - 8051 MICROCONTROLLER PART - A 1. What is Microcontroller? A device which contains the microprocessor with integrated peripherals like memory, serial

More information

Programming of 8085 microprocessor and 8051 micro controller Study material

Programming of 8085 microprocessor and 8051 micro controller Study material 8085 Demo Programs Now, let us take a look at some program demonstrations using the above instructions Adding Two 8-bit Numbers Write a program to add data at 3005H & 3006H memory location and store the

More information

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051:

MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Features of 8051: DEPARTMENT OF ECE MICROPROCESSORS AND MICROCONTROLLERS MATERIAL UNIT V 8051 MICROCONTROLLERS To make a complete microcomputer system, only microprocessor is not sufficient. It is necessary to add other

More information

UNIT THE 8051 INSTRUCTION SET AND PROGRAMMING

UNIT THE 8051 INSTRUCTION SET AND PROGRAMMING UNIT THE 8051 INSTRUCTION SET AND PROGRAMMING Instructions Alphabetical List of Instructions ACALL: Absolute Call ADD, ADDC: Add Accumulator (With Carry) AJMP: Absolute Jump ANL: Bitwise AND CJNE: Compare

More information

8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52

8-bit Microcontroller with 8K Bytes In-System Programmable Flash AT89S52 Features Compatible with MCS -51 Products 8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz

More information

UNIT MICROCONTROLLER AND ITS PROGRAMMING

UNIT MICROCONTROLLER AND ITS PROGRAMMING M i c r o p r o c e s s o r s a n d M i c r o c o n t r o l l e r s P a g e 1 UNIT-7 8051 MICROCONTROLLER AND ITS PROGRAMMING INTRODUCTION The microcontroller incorporates all the features that are found

More information

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families

The Microcontroller. Lecture Set 3. Major Microcontroller Families. Example Microcontroller Families Cont. Example Microcontroller Families The Microcontroller Lecture Set 3 Architecture of the 8051 Microcontroller Microcontrollers can be considered as self-contained systems with a processor, memory and I/O ports. In most cases, all that is

More information

8051 Core Specification

8051 Core Specification 8051 Core Specification Authors: Jaka Simsic Simon Teran jakas@opencores.org simont@opencores.org Rev. 0.1 August 14, 2001 First Draft www.opencores.org Rev 0.1 First Draft 1 of 26 Revision History Rev.

More information

Microcontroller. Instruction set of 8051

Microcontroller. Instruction set of 8051 UNIT 2: Addressing Modes and Operations: Introduction, Addressing modes, External data Moves, Code Memory, Read Only Data Moves / Indexed Addressing mode, PUSH and POP Opcodes, Data exchanges, Example

More information

8051 Microcontroller

8051 Microcontroller 8051 Microcontroller 1 Salient Features (1). 8 bit microcontroller originally developed by Intel in 1980. (2). High-performance CMOS Technology. (3). Contains Total 40 pins. (4). Address bus is of 16 bit

More information

8051 microcontrollers

8051 microcontrollers 8051 microcontrollers Presented by: Deepak Kumar Rout Synergy Institute of Engineering and Technology, Dhenkanal Chapter 2 Introduction Intel MCS-51 family of microcontrollers consists of various devices

More information

Assembly Language programming (2)

Assembly Language programming (2) EEE3410 Microcontroller Applications LABORATORY Experiment 2 Assembly Language programming (2) Name Class Date Class No. Marks Arithmetic, Logic and Jump instructions Objectives To learn and practice the

More information

8051 Microcontrollers

8051 Microcontrollers 8051 Microcontrollers Richa Upadhyay Prabhu NMIMS s MPSTME richa.upadhyay@nmims.edu March 8, 2016 Controller vs Processor Controller vs Processor Introduction to 8051 Micro-controller In 1981,Intel corporation

More information

MODULE-1. Short Answer Questions

MODULE-1. Short Answer Questions MODULE-1 Short Answer Questions 1. Give the comparison between microprocessor and microcontroller. It is very clear from figure that in microprocessor we have to interface additional circuitry for providing

More information

Contents 8051 Instruction Set BY D. BALAKRISHNA, Research Assistant, IIIT-H Chapter I : Control Transfer Instructions Lesson (a): Loop Lesson (b): Jump (i) Conditional Lesson (c): Lesson (d): Lesson (e):

More information

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text

e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text e-pg Pathshala Subject : Computer Science Paper: Embedded System Module: 8051 Architecture Module No: CS/ES/5 Quadrant 1 e-text In this lecture the detailed architecture of 8051 controller, register bank,

More information

Microcontroller and Embedded Systems:

Microcontroller and Embedded Systems: Microcontroller and Embedded Systems: Branches: 1. Electronics & Telecommunication Engineering 2. Electrical & Electronics Engineering Semester: 6 th Semester / 7 th Semester 1. Explain the differences

More information

UNIT IV MICROCONTROLLER

UNIT IV MICROCONTROLLER UNIT IV 8051- MICROCONTROLLER Prepared by R. Kavitha Page 1 Application Prepared by R. Kavitha Page 2 Pin Description of the 8051 UNIT IV- 8051 MICROCONTROLLER P1.0 P1.1 P1.2 P1.3 P1.4 P1.5 P1.6 P1.7 RST

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

SN8F5000 Family Instruction Set

SN8F5000 Family Instruction Set SONiX Technology Co., Ltd. 8051-based Microcontroller 1 Overview SN8F5000 is 8051 Flash Type microcontroller supports comprehensive assembly instructions and which are fully compatible with standard 8051.

More information

C51 Family. Architectural Overview of the C51 Family. Summary

C51 Family. Architectural Overview of the C51 Family. Summary Architectural Overview of the C51 Family C51 Family Summary 1. Introduction............................................................ I.1. 1.1. TSC80C51/80C51/80C31.................................................................

More information

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote

Programming Book Microcontroller Kit. Rev 3.0 January, Wichit Sirichote Programming Book1 8051 Microcontroller Kit Rev 3.0 January, 016 016 Wichit Sirichote 1 Contents Overview...3 SAFTY INFORMATION...3 Tools...3 Experiment 1 Blinking LED...4 Experiment Binary number counting...9

More information

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET

SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET 1 SYLLABUS UNIT - I 8086/8088 ARCHITECTURE AND INSTRUCTION SET Intel 8086/8088 Architecture Segmented Memory, Minimum and Maximum Modes of Operation, Timing Diagram, Addressing Modes, Instruction Set,

More information

MASSEY UNIVERSITY PALMERSTON NORTH CAMPUS

MASSEY UNIVERSITY PALMERSTON NORTH CAMPUS MASSEY UNIVERSITY PALMERSTON NORTH CAMPUS EXAMINATION FOR 159.233 COMPUTER SYSTEMS Semester One June 2008 Time allowed: THREE (3) hours This exam contains THREE (3) questions ANSWER ALL THREE (3) QUESTIONS

More information

The Timers/Counters The Serial Interface The Interrupt System Reset P0.0-P0.7 P2.0-P2.7. Port 2 Drivers. Port 2 Latch

The Timers/Counters The Serial Interface The Interrupt System Reset P0.0-P0.7 P2.0-P2.7. Port 2 Drivers. Port 2 Latch HARDWARE DESCRIPTION This chapter provides a detailed description of the 80C51 microcontroller (see Figure 1). Included in this description are: The port drivers and how they function both as ports and,

More information

WINTER 14 EXAMINATION

WINTER 14 EXAMINATION Subject Code: 17534 WINTER 14 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2)

More information

Vidyalankar T.E. Sem. V [ETRX] Microprocessors and Microcontrollers I Prelim Question Paper Solution

Vidyalankar T.E. Sem. V [ETRX] Microprocessors and Microcontrollers I Prelim Question Paper Solution 1. (a) 1. (b) T.E. Sem. V [ETRX] Microprocessors and Microcontrollers I Prelim Question Paper Solution Priority modes. 1) Fully Nested Mode : It is a general purpose mode. IR 0 highest priority IR 1 lowest

More information

Distributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. 8051 8052 and 80C51 Hardware Description December 1992 Order Number 270252-006

More information

Microcontroller and Applications

Microcontroller and Applications S.Y. Diploma : Sem. IV [DE/EJ/ET/EN/EX/EQ/IS/IC/IE] Microcontroller and Applications Time: 3 Hrs.] Prelim Question Paper Solution [Marks : 70 Q.1 Attempt any FIVE of the following : [10] Q.1(a) Define

More information

80C51 family programmer s guide and instruction set. 80C51 Family. PROGRAMMER S GUIDE AND INSTRUCTION SET Memory Organization. Philips Semiconductors

80C51 family programmer s guide and instruction set. 80C51 Family. PROGRAMMER S GUIDE AND INSTRUCTION SET Memory Organization. Philips Semiconductors PROGRAMMER S GUIDE AND INSTRUCTION SET Memory Organization Program Memory The 80C51 has separate address spaces for program and data memory. The Program memory can be up to 64k bytes long. The lower 4k

More information

MCS -51 Programmer s Guide and Instruction Set

MCS -51 Programmer s Guide and Instruction Set MCS -51 Programmer s Guide and Instruction Set November 1992 Order Number 270249-003 COPYRIGHT INTEL CORPORATION 1996 MCS -51 PROGRAMMER S GUIDE AND INSTRUCTION SET CONTENTS PAGE MEMORY ORGANIZATION 1

More information

Three criteria in Choosing a Microcontroller

Three criteria in Choosing a Microcontroller The 8051 Microcontroller architecture Contents: Introduction Block Diagram and Pin Description of the 8051 Registers Some Simple Instructions Structure of Assembly language and Running an 8051 program

More information

TUTORIAL. Donal Heffernan University of Limerick May Tutorial D.Heffernan 2000,

TUTORIAL. Donal Heffernan University of Limerick May Tutorial D.Heffernan 2000, 8051 TUTORIAL Donal Heffernan University of Limerick May-2002 8051 Tutorial D.Heffernan 2000, 2001 1 Blank 8051 Tutorial D.Heffernan 2000, 2001 2 Some reference material: Test books + MacKenzie Scott.

More information

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5

MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 Exp:1 STUDY OF MICROCONTROLLER 8051 To study the microcontroller and familiarize the 8051microcontroller kit Theory:- A Microcontroller consists of a powerful

More information

Principle and Interface Techniques of Microcontroller

Principle and Interface Techniques of Microcontroller Principle and Interface Techniques of Microcontroller --8051 Microcontroller and Embedded Systems Using Assembly and C LI, Guang ( 李光 ) Prof. PhD, DIC, MIET WANG, You ( 王酉 ) PhD, MIET 杭州 浙江大学 2014 Chapter

More information

Q. Classify the instruction set of 8051 and list out the instructions in each type.

Q. Classify the instruction set of 8051 and list out the instructions in each type. INTRODUCTION Here is a list of the operands and their meanings: A - accumulator; Rn - is one of working registers (R0-R7) in the currently active RAM memory bank; Direct - is any 8-bit address register

More information

SUMMER 13 EXAMINATION

SUMMER 13 EXAMINATION MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC - 27001-2005 Certified) Subject Code: 12187 SUMMER 13 EXAMINATION Model Answer Important Instructions to examiners: 1) The answers should

More information

CPEG300 Embedded System Design. Lecture 6 Interrupt System

CPEG300 Embedded System Design. Lecture 6 Interrupt System CPEG300 Embedded System Design Lecture 6 Interrupt System Hamad Bin Khalifa University, Spring 2018 Correction Lecture 3, page 18: Only direct addressing mode is allowed for pushing or popping the stack:

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT- IV

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT- IV UNIT- IV PART A (2 MARK QUESTIONS) 1. What is the need for de-bouncing the keyboard? (AUC NOV 2012) Debouncing is any kind of hardware device or software that ensures that only a single signal will be

More information

UNIT MICROCONTROLLER

UNIT MICROCONTROLLER Page UNIT-5 805 MICROCONTROLLER INTRODUCTION The microcontroller incorporates all the features that are found in microprocessor. The microcontroller has built in ROM, RAM, Input Output ports, Serial Port,

More information

ISSI. IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH ISSI IS89C51 NOVEMBER 1998 FEATURES GENERAL DESCRIPTION

ISSI. IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH ISSI IS89C51 NOVEMBER 1998 FEATURES GENERAL DESCRIPTION IS89C51 CMOS SINGLE CHIP 8-BIT MICROCONTROLLER with 4-Kbytes of FLASH NOVEMBER 1998 FEATURES 80C51 based architecture 4-Kbytes of on-chip Reprogrammable Flash Memory 128 x 8 RAM Two 16-bit Timer/Counters

More information

8-bit Microcontroller with 2/4-Kbyte Flash AT89LP2052 AT89LP4052

8-bit Microcontroller with 2/4-Kbyte Flash AT89LP2052 AT89LP4052 Features Compatible with MCS 51 Products 20 MIPS Throughput at 20 MHz Clock Frequency and 2.4V, 85 C Operating Conditions Single Clock Cycle per Byte Fetch 2/4K Bytes of In-System Programmable (ISP) Flash

More information

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes

More information

MODEL ANSWER SUBJECT- MICROCONTROLLER(12187) CLASS-EJ5E CLASS TEST-02 Q1.)Attempt any THREE of the following.

MODEL ANSWER SUBJECT- MICROCONTROLLER(12187) CLASS-EJ5E CLASS TEST-02 Q1.)Attempt any THREE of the following. MODEL ANSWER SUBJECT- MICROCONTROLLER(12187) CLASS-EJ5E CLASS TEST-02 Q1.)Attempt any THREE of the following. (9M) 1) Describe the instructions SWAP A and MOVX@DPTR,A with one example. (3Marks) SWAP A

More information

Dodatak. Skup instrukcija

Dodatak. Skup instrukcija Dodatak Skup instrukcija Arithmetic Operations [@Ri] implies contents of memory location pointed to by R0 or R1 Rn refers to registers R0-R7 of the currently selected register bank 2 ADD A,

More information

Highlights. FP51 (FPGA based 1T 8051 core)

Highlights. FP51 (FPGA based 1T 8051 core) Copyright 2017 PulseRain Technology, LLC. FP51 (FPGA based 1T 8051 core) 10555 Scripps Trl, San Diego, CA 92131 858-877-3485 858-408-9550 http://www.pulserain.com Highlights 1T 8051 Core Intel MCS-51 Compatible

More information

The Final Word on 8051 Microcontroller

The Final Word on 8051 Microcontroller The Final Word on 8051 Microcontroller This is a book about the Intel 8051 microcontroller and its large family of descendants. It is intended to give you, the reader, some new techniques for optimizing

More information

VRS540-4kB Flash, 128B RAM, 25~40MHz, 8-Bit MCU

VRS540-4kB Flash, 128B RAM, 25~40MHz, 8-Bit MCU VRS540-4kB Flash, 28B RAM, 25~40MHz, 8-Bit MCU 34 Ste Catherine Street West, Suite 900, Montreal, Quebec, Canada H3B H4 Tel: (54) 87-2447 http://www.goalsemi.com P.3 P.2 XTAL NC P0./AD VRS540 Overview

More information

Rev. No. History Issue Date Remark

Rev. No. History Issue Date Remark Preliminary Bar Code Reader Document Title Bar Code Reader Revision History Rev. No. History Issue Date Remark 0.0 Initial issue June 5, 2000 Preliminary 0.1 Change document title from Bar Code Reader

More information

VALLIAMMAI ENGINEERING COLLEGE S.R.M. NAGAR, KATTANKULATHUR-603203. DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING VII-EEE EE6502- MICROPROCESSORS AND MICROCONTROLLERS QUESTION BANK UNIT I 1. What

More information

ET2640 Microprocessors

ET2640 Microprocessors ET2640 Microprocessors Unit -2 Processor Programming Concepts Basic Control Instructor : Stan Kong Email : skong@itt-tech.edu Figure 2 4 Bits of the PSW Register 8051 REGISTER BANKS AND STACK 80 BYTES

More information

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller.

UNIT V MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS. 3.Give any two differences between microprocessor and micro controller. UNIT V -8051 MICRO CONTROLLER PROGRAMMING & APPLICATIONS TWO MARKS 1. What is micro controller? Micro controller is a microprocessor with limited number of RAM, ROM, I/O ports and timer on a single chip

More information

8XC51RA RB RC Hardware Description

8XC51RA RB RC Hardware Description 8XC51RA RB RC Hardware Description February 1995 Order Number 272668-001 Information in this document is provided in connection with Intel products Intel assumes no liability whatsoever including infringement

More information

Lecture 5. EEE3410 Microcontroller Applications Department of Electrical Engineering Assembly Language Programming (1)

Lecture 5. EEE3410 Microcontroller Applications Department of Electrical Engineering Assembly Language Programming (1) Department of Electrical Engineering Lecture 5 8051 Assembly Language Programming (1) 1 In this Lecture 8051 programming model Assembly language syntax Operation codes and operands Machine instructions

More information

C51 Family. C51 Family Programmer s Guide and Instruction Set. Summary

C51 Family. C51 Family Programmer s Guide and Instruction Set. Summary C51 Family Programmer s Guide and Instruction Set Summary 1. Memory Organization.................................................... I.3.2 1.1. Program Memory.......................................................................

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

MICROPROCESSOR LABORATORY MANUAL

MICROPROCESSOR LABORATORY MANUAL MICROPROCESSOR LABORATORY MANUAL T.C. AYDIN ADNAN MENDERES UNIVERSITY ENGINEERING FACULTY ELECTRICAL & ELECTRONICS ENGINEERING DEPARTMENT Prepared by: Res. Asst. Abdullah GÜLDEREN Aydın 2019 Contents 1.

More information

Mod-3: Interrupts,Timer operation,serial communication 1

Mod-3: Interrupts,Timer operation,serial communication 1 Mod-3: Interrupts,Timer operation,serial communication 1 Module-3 Contents: Interrupts - interrupt sources - interrupt handling programming examples. Timers operation different modes waveform generation-

More information

Principle and Interface Techniques of Microcontroller

Principle and Interface Techniques of Microcontroller Principle and Interface Techniques of Microcontroller --8051 Microcontroller and Embedded Systems Using Assembly and C LI, Guang ( 李光 ) Prof. PhD, DIC, MIET WANG, You ( 王酉 ) PhD, MIET 杭州 浙江大学 2011 Chapter

More information

DERTS Design Requirements (1): Microcontroller Architecture & Programming

DERTS Design Requirements (1): Microcontroller Architecture & Programming Lecture (5) DERTS Design Requirements (1): Microcontroller Architecture & Programming Prof. Kasim M. Al-Aubidy Philadelphia University 1 Lecture Outline: Features of microcomputers and microcontrollers.

More information

VRS550-8kB Flash, 256B RAM, 25~40MHz, 8-Bit MCU VRS560-16kB Flash, 256B RAM, 40MHz, 8-Bit MCU

VRS550-8kB Flash, 256B RAM, 25~40MHz, 8-Bit MCU VRS560-16kB Flash, 256B RAM, 40MHz, 8-Bit MCU VRS550-8kB Flash, 256B RAM, 25~40MHz, 8-Bit MCU VRS560-6kB Flash, 256B RAM, 40MHz, 8-Bit MCU 34 Ste Catherine Street West, Suite 900, Montreal, Quebec, Canada H3B H4 Tel: (54) 87-2447 http://www.goalsemi.com

More information

Interrupt Programming: Interrupts vs. Polling Method:

Interrupt Programming: Interrupts vs. Polling Method: UNIT 4: INTERRUPT PROGRAMMING & SERIAL COMMUNICATION WITH 8051: Definition of an interrupt, types of interrupts, Timers and Counter programming with interrupts in assembly. 8051 Serial Communication: Data

More information

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

Lecture 1. Course Overview and The 8051 Architecture

Lecture 1. Course Overview and The 8051 Architecture Lecture 1 Course Overview and The 8051 Architecture MCUniversity Program Lectures 8051 architecture t System overview of C8051F020 8051 instruction set System clock, crossbar and GPIO Assembler directives

More information

CPEG300 Embedded System Design. Lecture 8 Timer

CPEG300 Embedded System Design. Lecture 8 Timer CPEG300 Embedded System Design Lecture 8 Timer Hamad Bin Khalifa University, Spring 2018 Review 8051 port and port schematic Internal read/write data path Serial communication vs. parallel communication

More information

MODEL ANSWER WINTER 17 EXAMINATION Subject Title: Microcontroller and applications

MODEL ANSWER WINTER 17 EXAMINATION Subject Title: Microcontroller and applications Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING EC6504 MICROPROCESSOR AND MICRO CONTROLLER

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING EC6504 MICROPROCESSOR AND MICRO CONTROLLER DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING EC6504 MICROPROCESSOR AND MICRO CONTROLLER UNIT - I : THE 8086 MICROPROCESSOR PART A (2 Marks) 1. What are different

More information

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5. DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in

More information

TUTORIAL Assembly Language programming (2)

TUTORIAL Assembly Language programming (2) 8051 Assembly Language programming (2) TUTORIAL 4 EEE3410 Microcontroller Applications 1. Write the instructions to move value 34h into register A and value 3Fh into register B, then add them together.

More information

8051 MICROCONTROLLER

8051 MICROCONTROLLER 8051 MICROCONTROLLER Mr.Darshan Patel M.Tech (Power Electronics & Drives) Assistant Professor Department of Electrical Engineering Sankalchand Patel College of Engineering-Visnagar WHY DO WE NEED TO LEARN

More information

DR bit RISC Microcontroller. Instructions set details ver 3.10

DR bit RISC Microcontroller. Instructions set details ver 3.10 DR80390 8-bit RISC Microcontroller Instructions set details ver 3.10 DR80390 Instructions set details - 2 - Contents 1. Overview 7 1.1. Document structure. 7 2. Instructions set brief 7 2.1. Instruction

More information

Q.1. A) Attempt any THREE of the following:

Q.1. A) Attempt any THREE of the following: Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given in the model answer scheme. 2) The model answer and the answer written by candidate

More information

AVR Microcontrollers Architecture

AVR Microcontrollers Architecture ก ก There are two fundamental architectures to access memory 1. Von Neumann Architecture 2. Harvard Architecture 2 1 Harvard Architecture The term originated from the Harvard Mark 1 relay-based computer,

More information

VRS570 32K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU VRS580 64K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU

VRS570 32K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU VRS580 64K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU VRS570 32K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU VRS580 64K Flash, 1kB RAM, 25~40MHz, 8-Bit MCU 1134 Ste Catherine Street West, Suite 900, Montreal, Quebec, Canada H3B 1H4 Tel: (514) 871-2447 http://www.goalsemi.com

More information

8051 Memory Organization BY D. BALAKRISHNA, Research Assistant, IIIT-H Chapter 1: Memory Organization There are 2 types of memories available in 8051 microcontroller. Program memory/c code memory (ROM)

More information

MCS-51 Serial Port A T 8 9 C 5 2 1

MCS-51 Serial Port A T 8 9 C 5 2 1 MCS-51 Serial Port AT89C52 1 Introduction to Serial Communications Serial vs. Parallel transfer of data Simplex, Duplex and half-duplex modes Synchronous, Asynchronous UART Universal Asynchronous Receiver/Transmitter.

More information

The 8051 microcontroller has two 16-bit timers/counters called T0 and T1.

The 8051 microcontroller has two 16-bit timers/counters called T0 and T1. Counters and Timers: The 8051 microcontroller has two 16-bit timers/counters called T0 and T1. As their names suggest, timer counts internal clock pulse i.e. machine cycle to provide delay. Counter counts

More information

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions.

It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions. 1.What is Microprocessor? It is a program controlled semiconductor device (IC}, which fetches, decode and executes instructions. 2. What are the basic units of a microprocessor? The basic units or blocks

More information

INTERRUPTS PROGRAMMING

INTERRUPTS PROGRAMMING INTERRUPTS PROGRAMMING The 8051 Microcontroller and Embedded Systems: Using Assembly and C Mazidi, Mazidi and McKinlay Chung-Ping Young 楊中平 Home Automation, Networking, and Entertainment Lab Dept. of Computer

More information

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microcontroller Subject Code:

MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microcontroller Subject Code: MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microcontroller Subject Code: 17534 Important Instructions to examiners: 1) The answers should be examined by key words and not as word-to-word as given

More information