Vidyalankar T.E. Sem. V [EXTC] Microprocessors and Microcontrollers I Prelim Question Paper Solution V SS (GND)
|
|
- Osborn Short
- 5 years ago
- Views:
Transcription
1 1. (a) Pin configuration of 8085 X 1 X 2 CLKOUT TRAP RST 7.5 RST 6.5 RST 5.5 INTR INTA SID SOD RESET IN RESET OUT T.E. Sem. V [EXTC] Microprocessors and Microcontrollers I Prelim Question Paper Solution V CC (+5 V) V SS (GND) Description : 1. X 1, X 2 : These are crystal input lines for the internal clock generator circuit. Since internally the microprocessor requires 3 MHz clock signal and the clock generator divides the frequency by 2, the crystal oscillator connected externally should have the frequency of 6 MHz. 2. CLK OUT : (Clock out) The 3 MHz clock which is used by the microprocessor for its internal operations is available as output on this pin. It is used for synchronization between microprocessor and peripheral device. 3. AD 0 AD 7 : These are lower order multiplexed addr and data lines. These carry address during the initial part of the read/write cycle and data during the rest of the read/write cycle. These lines are demultiplexed with the external latch which will be controlled by ALE. ALE RD WR IO/ M S 1 S 0 Ready HOLD HLDA AD 0 AD 7 A 8 A A 8 A 15 : These are higher order, non-multiplexed buffered output lines. These are unidirectional. These lines act as address lines during the entire read/write cycle. 5. ALE : (address latch enable) It is an output pin which is high when AD 0 to AD 7 carries address and low when they carry data. It is used to enable (strobe) an external latch that holds the lower order address from the 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 1
2 : T.E. MPMC_I multiplexed address-data bus for every read/write cycle. It is used to demultiplex the address/data bus. 1. (b) 6. RD : (read) It is an active low, control output line. It is used with IO/ M to activate the contents of memory or I/O module for read operation. 7. WR : (write) It is an active low, control output line which is used with IO/ M to activate the memory module or I/O module for write operation. Timing Diagram for Memory Write CLK ALE AD 0 AD 7 A 8 A 15 IO / M RD S 0 S WR T 1 T 2 T 3 lower byte of address Higher byte of address from p to memory BYTE During T 1 p sends the address to memory. 1) ALE goes high since ADo AD7 will carry address. 2) ADo AD7 will carry lower byte of address and A 8 A 15 will carry higher byte of address from any 16 bit register pair except PC. 3) IO / M, S o, S 1 i.e., to indicate memory write machine cycle. 4) RD and WR remains inactivated. During T 2 p activates the memory chip for write operation. Tristate never appears in write signals because address and data both are driven by P only. 1) ALE remains low throughout the rest of machine since ADo AD7 will carry data to be written. 2) ADo AD7 carries the byte to be written in memory. 3) A 8 A 15 continues to drive higher byte of address throughout rest of machine. 4) IO / M, S o, S 1 remains throughout the cycle to indicate memory write and RD also remains inactivated. 5) WR is activated so that the memory chip starts performing the write operation. During T 3, the data sent by p is written in memory and hence p inactivates WR signal and stops driving the data byte on ADo AD7 lines and hence address data bus is tristated /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
3 Prelim Question Paper Solution 1. (c) Modes of operation of timer: COUNTER i) MODE 0 : In this mode, only 13 bits are used for counting i.e. 8 bits in THX and 5 bits in TLX. If we load 0000H initially, then timer flag will set when 1FFF become 0000 (after 8192 pulses). Maximum delay produced in MODE 0 = f. ii) MODE 1: In this mode, 16 bits are used for counting. If we load 0000 initially, then timer flag will set when FFFF becomes 0000 (after pulses) Maximum delay produced in Mode 1 = f. iii) MODE 2: 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 3
4 : T.E. MPMC_I 1. (d) Setting the mode bits to (10) 2 in TMOD configures the timer to use only the TLX counter as a 8 bit counter. THX is used to hold a value from FFh to 00h. The timer flag is also set when TLX overflows. This mode exhibits an auto reload feature. TLX will count up from the number in THX, overflow and be reinitialized with contents of THX. So, main program is interrupted at regular intervals continuously. maximum delay produced in Mode 2 = f. This mode is used to produce desired frequency by using Timer flag. iv) MODE 3: internal or external Timer 0 in MODE 3 becomes two completely separate 8 bit counters. TL0 is controlled by gate arrangement and sets Timer flag TF0 whenever it overflows from FFh to 00h. TH0 receives the timer clock under the control of TR1 only and sets the TF1 Flag when it overflows. Timer 1 may still be used in modes 0, 1, and 2 while Timer 0 is in mode 3 with one important exception that no interrupt is generated by timer 1 while timer 0 is using the TF1 overflow flag. Switching timer1 to mode 3 will stop it and hold whatever count is in timer 1. i) LHLD addr [L] [addr] [H] [addr + 1] It means to move the contents of memory location whose address is specified in the instruction into L register and the contents of next memory location into H register. e.g. LHLD 4000 H Before execution HL XX XX After execution [L] [4000 H] [H] [4001 H] 4000H 4001H 30H 10H H L 4000H 30H 10H 30H 4001H 10H Width : 3 byte Addressing : direct addressing. Flags affected : none. Machine cycle : 5 (op code fetch, operand fetch, operand fetch, memory read, memory read) T states : 16 ( ) /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
5 Prelim Question Paper Solution ii) MVI M, data 8 [[HL]] data 8 It moves the data specified in the instruction into the memory location whose address is stored in HL register pair. e.g. MVI M, 60 H [[HL]] 60 H This instruction moves 60 H into memory location whose address is stored in HL register pair. Width : 2 bytes Addressing : immediate/indirect addressing. Flags affected : none. Machine cycle : 3 (op code fetch, operand fetch, memory write) T states : 10 ( ) iii) STAX r p (rp HL) [ MOV M, A performs similar operation] [[r p ]] [A] It moves the contents of accumulator into the memory location whose address is stored in the specified register pair. e.g. STAX B [[BC]] [A] This instruction moves the contents of accumulator into memory location whose address is stored in BC register pair. Width : 1 byte Addressing : indirect addressing. Flags affected : none. iv) ACI 50H [A] [A] + 50H + [CF] It adds the 8 bit data specified in the instruction to accumulator along with carry flag and the result is stored in accumulator. Width : 2 byte Addressing : immediate addressing. Flags affected : all. Machine cycle : 2 (op code fetch, operand fetch) T states : 7 (4 + 3) v) DAA (Decimal Adjustment Accumulator) This instruction is used for BCD addition, after an ADD instruction (any, add operation). If both the data are valid BCD numbers, then after adding them, using any of the add instructions the answer will be in hexadecimal form, since the internal operation would be in hex (binary). If the result is an invalid BCD number, then it has to be modified so as to obtain a proper BCD result. In order to do that, the DAA instruction is to be given after the "add" instruction so as to adjust the hexadecimal answer to a BCD. To perform this operation, the DAA instruction works as follows : (i) If the lower nibble of accumulator (result) is greater than 9 or the auxiliary flag is set, then 6 is added to the lower nibble. (ii) If higher nibble or accumulator (result) is greater than 9 or the carry flag is set then add 6 to the higher nibble. e.g H H H H + 02 H + 06 H + 09 H + 60 H 05 H 0B H 11 H B0 H +00 H + 06 H + 06 H + 60 H 05H 11H 17 H 10 H (carry = 1) 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 5
6 : T.E. MPMC_I 2. (a) Special Function Registers: SFR S Address range from 80 to FF H are given to special function registers. Not all of the addresses from 80 to FF H are used for SFRs, and attempting to use an address that is not defined, results in unpredictable results. Following are the SFRs with their internal RAM addresses and utility. i) A Accumulator, Address 0E0 H. ii) B Address iii) DPTR DPH DPL iv) PSW Address Arithmetic, 0F0 H External data pointer, 83 H 82 H Program status word, 0D0H v) SP Stack pointer, Address 81 H vi) SBUF Serial port data buffer, Address 99 H. Utility: It is used to hold data byte which is to be transmitted serially hold the data byte received. vii) TMOD Timer/Counter mode control, Address 89 H viii) TCON Timer/Counter control, Address 88 H ix) SCON Address Serial port control, 98 H x) IE Interrupt enable control, Address 0A8 H EA - ET2 ES ET1 EX1 ET0 EX0 EA: Enable interrupt bits. Cleared to 0 by program to disable all interrupts. Set to 1 to enable interrupts. ET2: Reserved for future use. ES: Enable serial port interrupt, 1: enable 0: disable. ETX: Enable timer X overflow interrupt, 1: enable 0: disable /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
7 Prelim Question Paper Solution EX1/0:Enable external interrupt 1/0, 1: enable 0: disable. 2. (b) xi) IP register: ( Address 0B8 H) - - PT2 PS PT1 PX1 PT0 PX0 xii) PT2: Reserved for future use. PS: Priority of serial port interrupts. Set/ cleared by program. PTX: Priority of timer X overflow interrupts. PX1/0:Priority of external interrupts 1/0. P0 80 H PORT 0 P1 90 H PORT 1 P2 0A0 H PORT 2 P3 0B0 H PORT 3 xiii) Some of the SFRs are bit addressable also. E.g. CLR A ( byte operation) SETB 0E3 H ( bit operation) Set only bit 3 of accumulator. Other bits are not affected. i) Baud rate in the 8051 The 8051 transfers and receives data serially at many different baud rates. The baud rate in the 8051 is programmable. This is done with the help of Timer 1. Before we discuss how to do that, we will look at the relationship between the crystal frequency and the baud rate in the As discussed in previous chapters, the 8051 divides the crystal frequency by 12 to get the machine cycle frequency. In the case of XTAL = MHz, the machine cycle frequency is khz ( MHz /12 = khz). The 8051's serial communication UART circuitry divides the machine cycle frequency of khz by 32 once more before it is used by Timer l to set the baud rate. Therefore, khz divided by 32 gives 28,800 Hz. This is the number we will use throughout this section to find the Timer l value to set the baud rate. When Timer l is used to set the baud rate it must be programmed in mode 2, that is 8-bit, auto-reload. To get baud rates compatible with the PC, we must load TH l with the values shown in Table 2. Example 4 shows how to verify the data in Table 2. Table 2 : Timer 1 TH1 Register Values for Various Baud Rates Baud Rate TH1 (Decimal) TH1 (Hex) FD FA F E8 Note: XTAL = MHz. 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 7
8 : T.E. MPMC_I ii) Command word register (CWR) in 8155 There are 2 formats for CWR which is descriminated by bit D 7 of CWR. (i) CWR format for BSR mode (when bit D 7 = 0). D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 0 X X X BSR mode PC PC PC PC PC PC PC PC 7 This mode is available to Port C only. Individual bits of Port C can be set on reset by writing appropriate command in CWR. D 3, D 2 and D 1 bits position of the command identifies the Port C bit which is to be affected and the D 0 bit of command specifies whether to set or reset the bit selected by D 3, D 2 & D 1. ii) CWR format for I/O mode (D 7 = 1). D 7 D 6 D 5 D 4 D 3 D 2 D 1 D 0 1 I/O mode Not used generally set to 0 Select the Port C bit D 3 D 2 D 1 Port C bit 0 Reset 1 Set Port C lower (PC o PC 3 ) 0 output 1 input Port B (PB o PB 7 ) 0 output 1 input Mode of Port B 0 mode 0 1 mode 1 Port C upper (PC 4 PC 7 ) 0 output 1 input Port A (PA 0 PA 7 ) 0 output 1 input Mode for Port A 00 mode 0 01 mode 1 1X mode /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
9 Prelim Question Paper Solution 3. (a) MOV A, M Assumptions : i) Opcode of MOV A, M is XX. ii) The instruction is placed in the memory at 1250 H (PC = 1250) iii) H L contains 2500 H. (4) Memory location of 2500 H contains 39 H. (5) Accumulator contains some data say 15 H. Before execution : A H L PC 15 H Memory XX 39 H MOV A, M After execution : A H L PC CLK ALE AD 0 AD 7 A 8 A 15 IO/M S 0 S 1 RD WR PCL 50 H 12 H PCH Timing Diagram : M 1 M 2 T 1 T 2 T 3 T 4 T 1 T 2 T 3 From mem to IR OPCODE BYTE XX L 00 H H 25 H From mem. to acc. 39 H 1 PC = PC + 1 = 1251 This instruction requires 2 machine (opcode fetch + mem.read) M 1 : Opcode fetch T 1 : Load PC on address bus T 2 : Activate RD and PC = PC + 1. T 3 : Read opcode byte into IR. 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 9
10 : T.E. MPMC_I T 4 : Decode the opcode byte. M 2 : Memory Read T 1 : Load HL on address bus T 2 : Activate RD signal. T 3 : Read the byte from memory and load it in accumulator. 3. (b) Interrupt Structure of 8085 : Description : The interrupt enable flip-flop gets set when user given an EI instruction and gets reset by the gate G8 under following conditions : a) User gives DI instruction or b) Any interrupt gets acknowledged c) When p is reset. This flip flop when reset disables all the maskable interrupts through the 4 AND gates (G1, G2, G3 & G4) since 1 input of these gates is zero, the output remains zero. Priority Triggering Level 1 D 2 RST 7.5 Q G RST 7.5 internally ACK Reset7.5 (through SIM) RESET IN RESET IN RST 6.5 RST 5.5 Trap Trap ack DI Any interrupt ACK RESET IN INTR 1 D G6 G5 CLR G8 Q EI G7 S Q Interrupt Enable F/F R INTA M 7.5 M 6.5 M 5.5 Get RST Code From External Hardware 003CH (RST 7.5) 0038H (RST 7) 0034H (RST 6.5) 0030H (RST 6) 002CH (RST 5.5) 0028H (RST 5) 0024H (Trap) 0020H (RST 4) 0018H (RST 3) G4 G2 G3 0010H (RST 2) 0008H (RST 1) 0000H (RST 0) /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
11 Prelim Question Paper Solution 4. (a) Since RST 7.5 is edge triggered the interrupt is internally stored in a +ve edge triggered D type Latch. This latch gets set on rising edge of RST 7.5 which acts as clock to the latch. This latch stores the interrupt till one of the following condition occurs : (a) When RST 7.5 is internally acknowledged by p. (b) When the p is Reset. (c) When RESET RST 7.5 command through SIM instruction (i.e., with D 4 bit = 1). Any of the above conditions when appear set one of the inputs of the gate G5 which provides an output zero to clear the RST 7.5 latch. I./O Since TRAP is also edge triggered it also requires Device INTR an internal +ve edge triggered D-type Latch which gets cleared when trap is internally 8 +V acknowledged or when p is reset by gate G6. CC 0 The TRAP line is also level triggered i.e., level D 7 sensitive so as to eliminate noise. It means that D 6 8 D TRAP must maintain high level for some 5 D 4 5 duration so as to be considered. A spike is not D 3 allowed to trigger a TRAP interrupt by providing D 2 an AND gate G7 at output of the latch. D 1 D After TRAP is triggered if it remains high for 0 INTA the time delay of the flip flop only then the output of AND gate can be 1. EN Since INTR is non-vectored P in response to INTR activates INTA. This INTA signal enables an external buffer which is programmed to provide to opcode of an RST n instructions (RST 0 to RST 7). Block diagram of /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 11
12 : T.E. MPMC_I 4. (b) It includes 8 blocks : 1) Read / write logic : when A 0 = 0 the controller is selected to write a command or read a status. The CS & A 0 determine the port address of the controller 2) Control Logic : It has two pins (INT : OutPut; INTA : Input) INT & INTA is connected to INTR & of microprocessor. 3) Interrupt Registers : IRR, ISR and IMR. a) IRR : Interrupt Request Register has 8 input lines (IR 0 IR 7 ) for interrupt corresponding to input, the respective bit is set and the request is saved in this register. b) ISR : Inservice register : it stores all the levels that are currently being serviced. c) IMR Interrupt Mask Register: It stores the masking bits of the interrupt lines to be masked. 4) Priority Resolver : This examines the IRR, ISR & IMR and determines whether INT should be sent to p. 5) CASCADE BUFFER / COMPARATOR : This block is used to expand the no. of interrupt levels by cascading two / more 8259s. Stepper motors A stepper motor is a widely used device that translates electrical pulses into mechanical movement. In applications such as disk drives, dot matrix printers, and robotics, the stepper motor is used for position control. Stepper motors commonly have a permanent magnet rotor (also called the shaft) surrounded by a stator (see Figure 1). There are also steppers called variable reluctance stepper motors that do not have a PM rotor. The most common stepper motors have four stator windings that are paired with a center-tapped common as shown in figure 2. The stepper motor discussed here has a total of 6 leads: 4 leads representing the four stator windings and 2 commons for the center-tapped leads. As the sequence of power is applied to each stator winding, the rotor will rotate. There are several widely used sequences where each has a different degree of precision. Table (i) shows a 2- phase, 4-step stepping sequence. It must be noted that although we can start with any of the sequences in Table, once we start we must continue in the proper order. For example, if we start with step 3 (0110), we must continue in the sequence of steps 4, 1, 2, etc. Fig. 2: Stator Windings Configuration Fig. 1 : Rotor Alignment /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
13 5. (a) Clockwise Step # Winding A Winding B Winding C Winding D Prelim Question Paper Solution Step angle How much movement is associated with a single step? This depends on the internal construction of the motor, in particular the number of teeth on the-stator and the rotor. The step angle is the minimum degree of rotation associated with a single step. Various motors have different step angles. Table (j) shows some step angles for various motors. In Table (j), notice the term steps per revolution. This is the total number of steps needed to rotate one complete rotation or 360 degrees (e.g., 180 steps x 2 degrees = 360). Table (j) : Stepper Motor Step Angle Step Angle Step per Revolution It must be noted that perhaps contrary to one's initial impression, a stepper motor does not need more terminal leads for the stator to achieve smaller steps. All the stepper motors discussed in this section have 4 leads for the stator winding and 2 COM wires for the center tap. Although some manufacturers set aside only one lead for the common signal instead of two, they always have 4 leads for the stators. Next we discuss some associated terminology in order to understand the stepper motor further. Step I : Total EPROM required = 8 KB Chip size available = 2 KB No. of chips required = 4 Chip 1 : Starting address = 0000 H Chip size = 2 kb = 07 FF H Endign address = 07FF H Chip 2 : Starting address = 0800 H Chip size = 2 kb = 07FFH Ending address = 0 F F F H Chip 3 : Starting address = 1000 H Chip size = 2 kb = 07FF H Ending address = 17FF H Chip 4 : Starting address = 1800 H Chip size = 07FF H Ending address = 1FFF H Table (i) : Normal 4-Step Sequence Step II : Total RAM required = 16 kb Chip size = 2 kb No. of chips requied = 8 Counterclockwise 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 13
14 : T.E. MPMC_I Chip 1 : Starting address = 2000 H Chip size = 07FF H Ending address = 27FF H Chip 2 : Starting address = 2800 H Chip size = 07FF H Ending address = 2FFF H Chip 3 : Starting address = 3000 H Chip size = 07FF H Ending address = 37FF H Chip 4 : Starting address = 3800 H Chip size = 07FF H Ending address = 3FFF H Chip 5 : Starting address = 4000 H Chip size = 07FF H Ending address = 47FF H Chip 6 : Starting address = 4800 H Chip size = 07FF H Ending address = 4FFF H Chip 7 : Starting address = 5000 H Chip size = 07FF H Ending address = 57FF H Chip 8 : Starting address = 5800 H Chip size = 07FF H Ending address = 5FFF H /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
15 Prelim Question Paper Solution Step III : Memory MAP A 15 A 14 A 13 A 12 A 11 A 10 A 9 A 8 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 EPROM y 0 SA = 0000 H Chip 1 EA = 07FF H EPROM y 1 SA = 0800 H Chip 2 EA = 0FFF H EPROM y 2 SA = 1000 H Chip 3 EA = 17FF H EPROM y 3 SA = 1800 H Chip 4 EA = 1FFF H RAM y 4 SA = 2080 H Chip 1 EA = 27FF H RAM y 5 SA = 2800 H Chip 2 EA = 2FFF H RAM y 6 SA = 3000 H Chip 3 EA = 37FF H RAM y 7 SA = 3800 H Chip 4 EA = 3FFF H RAM y 8 SA = 4000 H Chip 5 EA = 47FF H RAM y 9 SA = 4800 H Chip 6 EA = 4FFF H RAM y 10 SA = 5000 H Chip 7 EA = 57FF H RAM y 11 SA = 5800 H Chip 8 EA = 5FFF H /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 15
16 : T.E. MPMC_I 5. (b) Fig. 1 Step I : Total RAM required (data) = 16 kb Chip size available = 16 kb (assume) No. of chips required = 1 Chip 1 : Starting address = 0000 H Chip size = 16 kb 3FFF H Ending address = 3FFF H Step II : Total RAM required (program) = 16 kb Chip size available = 16 kb (assume) No. of chips requierd = 1 Chip 1 : Starting address = 0000 H /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
17 Step III : Step IV : Chip size = 16 kb 3FFF H Ending address = 3FFF H Prelim Question Paper Solution Memory Map a) Data Memory A 15 A 14 A 13 A 12 A 11 A 10 A 9 A 8 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 IM SA = 0000 H ip EA = 3FFF H b) Program Memory A 15 A 14 A 13 A 12 A 11 A 10 A 9 A 8 A 7 A 6 A 5 A 4 A 3 A 2 A 1 A 0 IM SA = 0000 H ip EA = 3FFF H Final Implementation + 5 V CC V CC X 1 X 2 RESET EA GND P 2 A 18 A 15 AD 0 AD PSEN (P 3 7 ) RD (P 3 6 ) WR P OE WE A 0 A 7 OE A 0 A 13 D 0 D CS A 0 A 13 D 0 D CS A 0 A 15 D 0 D /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 17
18 : T.E. MPMC_I a) Interfacing ADC 0804 to MCS - 51 family. 6. (b) (a) LXI SP, XXXX H LXI H, 4000 H MVI C, 00H (counter for zero) MOV D, C (counter for +ve) MOV E, C (counter for ve) MOV B, M UP INX H MOV A, M ANA A JNZ DN 1 INR C JMP DN DN 1 JP DN 2 INR E JMP DN DN 2 INR D DN DCR B JNZ UP LXI H 5000 H MOV M, C INX H MOV M, D INX H MOV M, E HLT Rotate Instructions 1. RAL (Rotate Accumulator Left with carry) D P2.5 P2.6 P 1.0 P 1.7 P2.7 CF RD WR D 0 D 7 INTR 7 D6 D5 D4 D3 D2 D1 D0 V CC A D C CLK R CLK IN V ref 2 V in (+) V in ( ) GND CS AGND /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
19 Prelim Question Paper Solution This instruction rotates the contents of accumulator left by one bit position including carry. The D 0 th bit enters into D 1 th bit position, D 1 into D 2, D 2 into D 3 and so on D 6 into D 7, the D 7 th bit enters into carry flag and the carry flag enters into D 0 th bit. Width : 1 byte Addressing : implied addressing. Flags affected : only carry Machine cycle : 1 (op code fetch) T states : 4 2. RLC (rotate accumulator left without carry) CF D 7 D6 D5 D4 D3 D2 D1 D0 This instruction rotates the contents of accumulator left by one bit position without including carry. The D 0 th bit enters into D 1 th bit position, D 1 into D 2, D 2 into D 3 and so on D 6 into D 7, the D 7 th bit enters into D 0 th bit and also in carry flag. Width : 1 byte Addressing : implied addressing. Flags affected : only carry. Machine cycle : 1 (op code fetch) T states : 4 3. RAR (Rotate accumulator right with carry) CF D 7 D6 D5 D4 D3 D2 D1 D0 This instruction rotates the contents of accumulator right by one bit position including carry. The D 7 th bit enters into D 6 th bit position, D 6 into D 5, D 5 into D 4 and so on D 1 into D 0, the D 0 th bit enters into carry flag and the carry flag enters into D 7 th bit. Width : 1 byte Addressing : implied addressing. Flags affected : only carry. Machine cycle : 1 (op code fetch) T states : 4 4. RRC. (Rotate accumulator right without carry) D 7 D6 D5 D4 D3 D2 D1 D0 CF This instruction rotates the contents of accumulator right by one bit position without including carry. The D 7 th bit enters into D 6 th bit position, D 6 into D 5, D 5 into D 4 and so on D 1 into D 0, the D 0 th bit enters into D 7 th bit and also into carry flag. 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 19
20 : T.E. MPMC_I Width : 1 byte Addressing : implied addressing. Flags affected : only carry. Machine cycle : 1 (op code fetch) T states : 4 7. (a) 7. (a) i) 1 machine cycle 6 states = 12 clk pulses. For 4 machine cycles, we need to count 12 4 = 48 clock pulses. Count in HEX is 30H Count to be loaded in Timer is 2 s compliment of 30H i.e. CFH + 01H = D0H i.e. FFD0H 16 bits : ii) Memory Mapped I/O 1) Instead of memory, I/O device is connected in the memory map. 2) All 20 address lines of 8086 are used in this technique. Hence upto 2 20 = 1 MB devices can be connected. 3) Memory related control signals like memory read, memory write are used for interacting with I/O devices. 4) All instructions related to memory access are used for accessing data from I/O device. 5) All memory related addressing modes can be used 6) Some memory space is used for connecting I/O devices. Hence effective memory capacity is less than 1 MB. 7) Efficiency of I/O access is less as memory related instructions are used for accessing I/O devices. I/O mapped I/O (Isolated I/O) 1) Separate I/O space is utilised in this technique. 2) Only 16 address lines are active in I/O mapped I/O. Hence upto 2 16 = 64K devices can be connected. 3) I/O related control signals like I/O read and I/O write are used for interacting with I/O devices. 4) Dedicated instructions, IN and OUT are used for accessing data from I/O devices. 5) Only I/O related addressing modes are available (direct I/O, Indirect I/O) 6) Separate address space is used for connecting I/O devices. Hence effective memory capacity is 1 MB. 7) IN and OUT instructions are designed for high throughput. Hence accessing I/O is efficient /Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I
21 Prelim Question Paper Solution 7. (b) 8051 has four I/O ports: port 0, port 1, port2, port 3. Latch is used to control each port. Different opcode is used to access latch and port. The contents of latch is different from content of port. PORT 0: It can function as input or output port for data. To use Port 0 as input port, then logic 1 is written in every latch. Now, upper buffer is disabled, lower buffer enabled. Due to control logic both FETs are off and so pin is connected to internal bus through lower buffer i.e reads data. To use Port 0 as output port, data is written into the latches. In this case, both buffers are disabled. The latch which was written 0 will make lower FET on so that pin is grounded.the latch which has written 1 will make both FET off and so that pin will be floating i.e. logic 1. Port 0 is also used during memory expansion. Initially it transfer lower byte address then it is used to transfer data. PORT 1: It can function as input or output port for data. To use Port 1 as input port, then logic 1 is written in every latch due to this FET is off. Now, upper buffer is disabled, lower buffer enabled. So pin is connected to internal bus through lower buffer i.e reads data. If we want Port 1 as output port, data is written into the latches. In this case, both buffers are disabled. The latch which was written 0 makes FET on so that pin is grounded i.e 0 is available at pin. The latch which has written 1 will make FET off and so that pin will be floating i.e. logic 1. The upper buffer is enabled to read contents of latch. Fig B Fig A 1113/Engg/TE/Pre Pap/2013/EXTC/Soln/MPMC_I 21
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 informationMicrocontrollers. Fig. 1 gives a comparison of a microprocessor system and a microcontroller system.
Syllabus: : Introduction to, 8051 Microcontroller Architecture and an example of Microcontroller based stepper motor control system (only Block Diagram approach). (5 Hours) Introduction to A microcontroller
More informationSubject Code: Model Answer Page No: /25
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 informationControl Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.
Unit I 8085 and 8086 PROCESSOR Introduction to microprocessor A microprocessor is a clock-driven semiconductor device consisting of electronic logic circuits manufactured by using either a large-scale
More information1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.
(1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic
More informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. UNIT I THE 8085 & 8086 MICROPROCESSORS PART A (2 Marks) 1. Give the significance of SIM and RIM instruction available in 8085. [NOV/DEC 2006] Instruction
More information2. 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 informationMicro Processor & Micro Controllers
Micro Processor & Micro Controllers 1. What is microprocessor? It is a program controlled semi conductor device (IC), which fetches, decodes and execute instructions. 2. What are the basic units of microprocessor?
More information1. 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 informationS.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING
S.R.M. INSTITUTE OF SCIENCE & TECHNOLOGY SCHOOL OF ELECTRONICS & COMMUNICATION ENGINEERING QUESTION BANK Subject Code : EC307 Subject Name : Microprocessor and Interfacing Year & Sem : III Year, V Sem
More informationMICROPROCESSORS 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 informationArchitecture & 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 information1. What is microprocessor? It is a program controlled semi conductor device (IC), which fetches, decodes and execute instructions.
Downloaded from www.books4career.blogspot.com 1. What is microprocessor? It is a program controlled semi conductor device (IC), which fetches, decodes and execute instructions. 2. What are the basic units
More informationEEE3410 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 informationMicroprocessor Architecture
Microprocessor - 8085 Architecture 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
More informationThe 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 informationQUESTION BANK. EE 6502 / Microprocessor and Microcontroller. Unit I Processor. PART-A (2-Marks)
QUESTION BANK EE 6502 / Microprocessor and Microcontroller Unit I- 8085 Processor PART-A (2-Marks) YEAR/SEM : III/V 1. What is meant by Level triggered interrupt? Which are the interrupts in 8085 level
More informationLIST OF PROGRAMS. Prg. Name of the Program. 1 Study of Pin Diagram of Study of Architecture of Study of 8085 Kit.
LIST OF PROGRAMS Prg. Name of the Program No. 1 Study of Pin Diagram of 8085 2 Study of Architecture of 8085 3 Study of 8085 Kit 4 Reverse Order 5 Exchange of memory blocks 6 Absolute Difference 7 Even
More informationELECTRICAL ENGINEERING
Serial : 1. JP_EE_Microprocessor_130618 CLASS TEST Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: 011-45124612 ELECTRICAL ENGINEERING
More information1. Internal Architecture of 8085 Microprocessor
1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the
More informationDelhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:
Serial : LS2_EE_S_Microprocessors_2688 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: -452462 CLASS TEST 28-9 ELECTRICAL ENGINEERING
More informationQuestion 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 informationCHAPTER 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 information8-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 informationChapter 1: Basics of Microprocessor [08 M]
Microprocessor: Chapter 1: Basics of Microprocessor [08 M] It is a semiconductor device consisting of electronic logic circuits manufactured by using either a Large scale (LSI) or Very Large Scale (VLSI)
More informationLecture Note On Microprocessor and Microcontroller Theory and Applications
Lecture Note On Microprocessor and Microcontroller Theory and Applications MODULE: 1 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip
More informationم.م. ماجد عيدان. Introduction to microprocessor and microcomputer
Lect. (1) Introduction to microprocessor and microcomputer Reference Books: 1. Ramesh S. Gaonkar, "Microprocessor Architecture, Programming and Application with the 8085". 2. Anokh Singh, A.K. Chhabra,Fundamentals
More informationMICROPROCESSOR MICROPROCESSOR. From the above description, we can draw the following block diagram to represent a microprocessor based system: Output
8085 SATISH CHANDRA What is a Microprocessor? The word comes from the combination micro and processor. Processor means a device that processes whatever. In this context, processor means a device that processes
More information1. What is Microprocessor? Give the power supply & clock frequency of 8085?
1. What is Microprocessor? Give the power supply & clock frequency of 8085? A microprocessor is a multipurpose, programmable logic device that reads binary instructions from a storage device called memory
More informationMICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS
MICROPROCESSOR AND MICROCONTROLLER BASED SYSTEMS UNIT I INTRODUCTION TO 8085 8085 Microprocessor - Architecture and its operation, Concept of instruction execution and timing diagrams, fundamentals of
More informationPin Description, Status & Control Signals of 8085 Microprocessor
Pin Description, Status & Control Signals of 8085 Microprocessor 1 Intel 8085 CPU Block Diagram 2 The 8085 Block Diagram Registers hold temporary data. Instruction register (IR) holds the currently executing
More informationEC2304-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 informationINSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor
INSTITUTE OF ENGINEERING AND MANAGEMENT, KOLKATA Microprocessor Subject Name: Microprocessor and Microcontroller Year: 3 rd Year Subject Code: CS502 Semester: 5 th Module Day Assignment 1 Microprocessor
More informationUnderstanding 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 informationDHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI
DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING YEAR : III SEM : VI EE2354- MICROPROCESSORS AND MICROCONTROLLER UNIT I 8085 and 8086 PROCESSOR PART A 1. Define
More informationROEVER ENGINEERING COLLEGE
ROEVER ENGINEERING COLLEGE ELAMBALUR, PERAMBALUR- 621 212 DEPARTMENT OF INFORMATION TECHNOLOGY MICROPROCESSOR & MICROCONTROLLER 2 marks questions andanswers Unit I 1. Define microprocessor? A microprocessor
More informationMICROPROCESSOR BASICS AND RELATED TERMS
MICROPROCESSOR BASICS AND RELATED TERMS Microprocessor: Programmable integrated device that has computing ability and decision making capacity. It is the CPU of computer. A multipurpose, programmable,
More informationVidyalankar. Vidyalankar T.E. Sem. V [CMPN] Microprocessors Prelim Question Paper Solution. 1. (a)
1. (a) Step 1 : Total EPROM required Chip size available No.of chips required = 2 T.E. Sem. V [CMPN] Microprocessors Prelim Question Paper Solution = 64 KB = 32 KB No.of sets required = 2 1 2 Set 1 = Ending
More informationHistory and Basic Processor Architecture
History and Basic Processor Architecture History of Computers Module 1 Section 1 What Is a Computer? An electronic machine, operating under the control of instructions stored in its own memory, that can
More informationMAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) MODEL ANSWER
MODEL ANSWER SUMMER 17 EXAMINATION Subject Title: Microprocessor Subject Code: 17443 I m p o r t a n t I n s t r u c t i o n s t o e x a m i n e r s : 1) The answers should be examined by key words and
More information8051 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 informationUNIT I. Differences between: Microcomputer, Microprocessor and Microcontroller
UNIT I SYLLABUS INTRODUCTION TO 8085 Intel 8085 Microprocessor architecture signals Addressing modes Instruction classification Instruction set Timing diagram ALP format Programming 8085 8-bit and 16-bit
More informationThe functional block diagram of 8085A is shown in fig.4.1.
Lecture-13 Internal Architecture of Intel 05A The functional block diagram of 05A is shown in fig.4.1. INTA INTR RST7.5 RST5.5 RST6.5 TRAP SOD SID INTERRUPT SERIAL I/O (Internal Bus) FR(S) IR() B() C()
More informationUnit 1 8 BIT MICROPROCESSOR ARCHITECTURE
Unit 1 8 BIT MICROPROCESSOR ARCHITECTURE 8085 -Internal Architecture - Addressing modes - Instruction set -Timing diagrams -Interrupts-Assembly language Programming 1. Internal Architecture of 8085 Microprocessor
More informationDelhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:
Serial : 01. ND_EE_NW_Microprocessors_150718 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: 011-45124612 CLASS TEST 2018-19 ELECTRICAL
More information(2) Explain the addressing mode of OR What do you mean by addressing mode? Explain diff. addressing mode for 8085 with examples.
(1) Explain instruction format and Opcode format of 8085 μp with example. OR With help of examples, explain the formation of opcodes of 8085 OR What is an instruction? List type of instruction based on
More informationModule 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 informatione-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 information1. Internal Architecture of 8085 Microprocessor
Practical 1 Date : AIM : Introduction Of Microprocessor 8085. 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within µp to carry out the instruction, which has been decoded.
More informationThree 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 informationSAMPLE STUDY MATERIAL
Microprocessor-IN Postal Correspondence Course 1 SAMPLE STUDY MATERIAL Instrumentation Engineering IN Postal Correspondence Course GATE & PSUs Microprocessor Microprocessor-IN Postal Correspondence Course
More informationArchitecture of 8085 microprocessor
Architecture of 8085 microprocessor 8085 consists of various units and each unit performs its own functions. The various units of a microprocessor are listed below Accumulator Arithmetic and logic Unit
More informationInstruction Set Instruction set of 8085 can be classified in following groups: Data Transfer Instructions These instructions can perform data transfer operations between Registers of 8085 e.g. MOV 8085
More information27 December 2016 Pramod Ghimire. Slide 1 of 16
8259-Programmable Interrupt Controller (8259-PIC) Slide 1 of 16 Programmable Interface Device A Programmable interface device is designed to perform various input/output functions. Such a device can be
More informationAssembly Language Programming of 8085
Assembly Language Programming of 8085 Topics 1. Introduction 2. Programming model of 8085 3. Instruction set of 8085 4. Example Programs 5. Addressing modes of 8085 6. Instruction & Data Formats of 8085
More informationUNIT 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 information8051 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 informationInterrupts. by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar
Chapter 12 Interrupts by Rahul Patel, Assistant Professor, EC Dept., Sankalchand Patel College of Engg.,Visnagar Microprocessor & Interfacing (140701) Rahul Patel 1 Points to be Discussed 8085 Interrupts
More informationEC6504 MICROPROCESSOR AND MICROCONTROLLER
UNIT I THE 8086 MICROPROCESSOR 1. What do you mean by Addressing modes? (May/June 2014) The different ways that a microprocessor can access data are referred to as addressing modes. 2. What is meant by
More information8051 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 informationMAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI
MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. QUESTION BANK DEPARTMENT: EEE SUB CODE: EE2324 YR/ SEM:III/ VI SUB NAME: MICROPROCESSORS & MICROCONTROLLERS UNIT 2- PROGRAMMING OF 8085 MICROPROCESSORS
More information1. Internal Architecture of 8085 Microprocessor
Practical 1 Date : AIM : Introduction Of Microprocessor 8085. 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within µp to carry out the instruction, which has been decoded.
More informationEE6502- 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 information8085 INSTRUCTION SET INSTRUCTION DETAILS
8085 INSTRUCTION SET INSTRUCTION DETAILS DATA TRANSFER INSTRUCTIONS MOV Rd, Rs Copy from source to destination This instruction copies the contents of the source register Rs into the destination register
More informationIntroduction 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 informationBasics of Microprocessor
Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured
More information9. PERIPHERAL CHIPS 9a
9. PERIPHERAL CHIPS 9a 8255: Programmable Peripheral Interface. Draw the pin diagram of PPI 8255. Ans. The pin diagram of 8255 is shown in Fig. 9a. PA 3 4 PA 4 PA2 2 39 PA 5 PA 3 38 PA 6 PA 4 37 PA7 RD
More informationCS 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 informationEC1362 Microprocessors & Microcontrollers
Part A- Two Mark Questions 1. What is Microprocessor? It is a program controlled semiconductor device (IC}, which fetches, decodes and executes instructions. 2. What are the basic units of a microprocessor?
More informationEE309: Computer Organization, Architecture and MicroProcessors. sumantra/courses/up/up.html GND HIGH ORDER ADDRESS BUS
CMP:8085 Primer-1 EE309: Computer Organization, rchitecture and MicroProcessors http://www.ee.iitb.ac.in/ sumantra/courses/up/up.html The 8085 Chip F LGS: S Z x x P x cy EXTERNLLY INITITED SIGNLS SERIL
More information8051 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 informationSANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR. ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1
SANKALCHAND PATEL COLLEGE OF ENGINEERING, VISNAGAR ELECTRONICS & COMMUNICATION DEPARTMENT Question Bank- 1 Subject: Microcontroller and Interfacing (151001) Class: B.E.Sem V (EC-I & II) Q-1 Explain RISC
More informationMicrocontroller 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 information8086 Interrupts and Interrupt Responses:
UNIT-III PART -A INTERRUPTS AND PROGRAMMABLE INTERRUPT CONTROLLERS Contents at a glance: 8086 Interrupts and Interrupt Responses Introduction to DOS and BIOS interrupts 8259A Priority Interrupt Controller
More informationDelhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:
Serial :. PT_EE-EC_A_Microprocessor_968 Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: E-mail: info@madeeasy.in Ph: -452462 CLASS TEST 28-9 Subject : Microprocessors
More informationGATE Exercises on Microprocessors
1 GATE Exercises on Microprocessors Abstract This problem set has questions taken from GATE papers over the last twenty years. Teachers can use the problem set for courses tutorials. 1) The clock frequency
More informationMSMF GATE CENTRE. Sub: MICROPROCESSORS. Time: 50min Date: Marks:33
MSMF GATE CENTRE Sub: MICROPROCESSORS Time: 50min Date:20-12-16 Marks:33 1. Which interrupt has highest priority in 8085 microprocessor? a) INTR b) RST 4.5 c) RST 6.5 d) RST 7.5 2. In 8085 microprocessor,
More informationINSTRUCTION SET OF 8085
INSTRUCTION SET OF 8085 Instruction Set of 8085 An instruction is a binary pattern designed inside a microprocessor to perform a specific function. The entire group of instructions that a microprocessor
More informationThese three counters can be programmed for either binary or BCD count.
S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.
More informationBHARATHIDASAN ENGINEERING COLLEGE. III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013)
BHARATHIDASAN ENGINEERING COLLEGE III Year / V Semester / EEE MICROPROCESSORS AND MICROCONTROLLERS (R-2013) FREQUENTLY ASKED QUESTIONS IN UNIVERSITY EXAMINATION PART A UNIT 1-8085 PROCESSOR 1. Draw the
More informationDistributed 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 information8/26/2010. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to Three Units of 8085
BLOCK DIAGRAM OF INTEL 8085 GURSHARAN SINGH TATLA Introduction to 8085 It was introduced in 1977. It is 8-bit microprocessor. Its actual name is 8085 A. It is single NMOS device. It contains 6200 transistors
More informationMODEL 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 informationMicroprocessor and Microcontroller question bank. 1 Distinguish between microprocessor and microcontroller.
Course B.E(EEE) Batch 2015 Semester V Subject code subject Name UAEE503 Microprocessor and Microcontroller question bank UNIT-1 Architecture of a Microprocessor PART-A Marks: 2 1 Distinguish between microprocessor
More informationSYLLABUS 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 informationPractical Course File For
Practical Course File For Microprocessor (IT 473) B.Tech (IT) IV-SEM Department of IT University Institute of Engineering & Technology Panjab University, Chandigarh Page 1 INTRODUCTION... 4 EXPERIMENT-1:
More information12-Dec-11. Gursharan Singh Maninder Kaur. Introduction to 8085 BLOCK DIAGRAM OF INTEL Introduction to Introduction to 8085
mailme@gursharansingh.in BLOCK DIAGRAM OF INTEL 8085 mailme@maninderkaur.in Introduction to 8085 It was introduced in 1977. It is 8-bit microprocessor. Its actual name is 8085 A. It is single NMOS device.
More informationUNIT - II PERIPHERAL INTERFACING WITH 8085
UNIT - II PERIPHERAL INTERFACING WITH 8085 Peripheral Interfacing is considered to be a main part of Microprocessor, as it is the only way to interact with the external world. The interfacing happens with
More informationAE66/AC66/AT66/ AE108/AC108/AT108 MICROPROCESSORS & MICROCONTROLLERS
Q.2 a. Draw pin diagram and signal group diagram of 8085 microprocessor. (8) b. List out the various categories of the 8085 instructions. Give examples of the instructions for each group. (8) Data transfer
More informationIts Assembly language programming
8085 Architecture & Its Assembly language programming Dr A Sahu Dept of Computer Science & Engineering IIT Guwahati 8085 Era and Features 8085 Outline Block diagram (Data Path) Bus Structure Register Structure
More informationSUMMER 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 informationMICROPROCESSORS & MICRO CONTROLLER COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK
KINGS COLLEGE OF ENGINEERING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK SUBJECT CODE: EC1257 SUBJECT NAME: MICROPROCESSOR AND MICROCONTROLLER YEAR : II IT SEM : IV UNIT I THE 8085 MICROPROCESSOR
More informationEXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER
OBJECT: EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER To understand the structure and operating instruction of the microprocessor trainer. INTRODUCTION: The MKT 8085 is a single-board microcomputer,
More informationThe 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 informationDepartment of Computer Science and Engineering
Department of Computer Science and Engineering QUESTION BANK Subcode/Subject : CS1304 Microprocessor & Microcontroller Year/Sem: III / V UNIT I THE 8085 MICROPROCESSOR PART A ( 2Marks) 1. How AD0-AD7 are
More information8051 Peripherals. On-Chip Memory Timers Serial Port Interrupts. Computer Engineering Timers
8051 Peripherals On-Chip Memory Timers Serial Port Interrupts Computer Engineering 2 2-1 8051 Timers 8051 Timers The 8051 has 2 internal 16-bit timers named Timer 0 and Timer 1 Each timer is a 16-bit counter
More informationEASWARI ENGINEERING COLLEGE DEPARTMENT OF ELECTRONICS AND COMMUNICATION QUESTION BANK - V SEMESTER ECE EC2304 MICROPROCESSORS AND MICROCONTROLLERS UNIT I 1. When the 8086 processor is in minimum mode and
More informationVALLIAMMAI 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 informationIntroduction to Microprocessor
Introduction to Microprocessor The microprocessor is a general purpose programmable logic device. It is the brain of the computer and it performs all the computational tasks, calculations data processing
More informationEKT222 Miroprocessor Systems Lab 5
LAB 5: Interrupts Objectives: 1) Ability to define interrupt in 8085 microprocessor 2) Ability to understanding the interrupt structure in the 8085 microprocessor 3) Ability to create programs using the
More information