Skip to main content

MICROPROCESSOR AND MICROCONTROLLER


MICROPROCESSOR AND MICROCONTROLLER

                                                              ASSIGNMENT-II

1a) What is the difference between Harvard Architecture and von Neumann Architecture?
The name Harvard Architecture comes from the Harvard Mark. The most obvious characteristic of the Harvard Architecture is that it has physically separate signals and storage for code and data memory. It is possible to access program memory and data memory simultaneously. Typically, code (or program) memory is read-only and data memory is read-write. Therefore, it is impossible for program contents to be modified by the program itself.
The von Neumann Architecture is named after the mathematician and early computer scientist John von Neumann. Von Neumann machines have shared signals and memory for code and data. Thus, the program can be easily modified by itself since it is stored in read-write memory.

1b) 8051 was developed using which technology?

Intel’s original MCS-51 family was developed using NMOS technology, but later versions, identified by a letter C in their name (e.g., 80C51) used CMOS technology and consume less power than their NMOS predecessors. This made them more suitable for battery-powered devices.

2a) With 12 MHz clock frequency how many instructions (of 1 machine cycle and 2 machine cycle) it can execute per second?
A cycle is, in reality, 12 pulses of the crystal. That is to say, if an instruction takes one machine cycle to execute, it will take 12 pulses of the crystal to execute. Since we know the crystal is pulsing 11,059,000 times per second and that one machine cycle is 12 pulses, we can calculate how many instruction cycles the 8051 can execute per second:
11,059,000 / 12 = 921,583
This means that the 8051 can execute 921,583 single-cycle instructions per second. Since a large number of 8051 instructions are single-cycle instructions it is often considered that the 8051 can execute roughly 1 million instructions per second, although in reality it is less–and, depending on the instructions being used, an estimate of about 600,000 instructions per second is more realistic.
2b).If the internal memory 20H contains AAH and 07H contains 55H. What is the content of register A and status of carry bit after executing the following code?
MOV C,07H
MOV A,#20H
ADDC A,07H
Answer: A=76H
             C=0 (RESET)
2c). If the XLAT frequency of 8051 is 8MHz, find the time taken to execute the following program.
              MOV R2,#04
              MOV R1,#06
 WAIT: DJNZ R2,WAIT
               MOV R2,#04  Machine cycle-1
               MOV R1,#6   Machine cycle-1
WAIT:     DJNZ R2,WAIT  Machine cycle-2 x 4
3a). Explain briefly the interrupts of 8051, indicate their vector addresses


 
3c). When any interrupt is enabled, then where the pointer moves immediately?
The pointer moves to the first location of the memory called the interrupt vector table.
Explanation: When any interrupt is enabled, then it goes to vector table where the address of the ISR is placed.
4a). Interface ADC0809 to 8051 and write ALP to convert the analog voltage connected to second channel. Display the digital value on LEDs connected to port-0.



4b). Which errors are more likely to get generated by conversion time and ADC resolution respectively in accordance to the digital signal processing?


Comments

Post a Comment

Popular posts from this blog

Physics:ULTRASONIC AND APPLICATION

UNIT-III                    ULTRASONICS AND APPLICATIONS Introduction-Properties-Production: Magnetostriction effect, magnetostriction generator-  piezoelectric effect, piezoelectric generator – Ultrasonic detection- acoustical grating-Applications:  Cavitation, cleaning, SONAR,– Non destructive testing: Pulse echo system, through transmission,  resonance system- Medical applications: cardiology, neurology, ultrasonic imaging (A, B and TM- Scan). 3.1  INTRODUCTION The sound waves above the frequency of 20000 Hz (20 KHz) are known as ultrasonic waves. Ultrasonic waves are inaudible to humans, because. their high frequencies are unable to vibrate the human ear drum. The ultrasonic waves are high frequency sound waves smaller wave length. Its wave length at room temperature is 0.0175 m. Since they are sound waves, they require a material medium to travel and have most of the properties of sound waves. In addition to this, the ultrasonic waves are having high energy and it h

zener diode

ZENER DIODE < Zener Diode I-V Characteristics The Zener Diode is used in its “reverse bias” or reverse breakdown mode, i.e. the diodes anode connects to the negative supply. From the I-V characteristics curve above, we can see that the zener diode has a region in its reverse bias characteristics of almost a constant negative voltage regardless of the value of the current flowing through the diode and remains nearly constant even with large changes in current as long as the zener diodes current remains between the breakdown current IZ(min) and the maximum current rating IZ(max). This ability to control itself can be used to great effect to regulate or stabilise a voltage source against supply or load variations. The fact that the voltage across the diode in the breakdown region is almost constant turns out to be an important application of the zener diode as a voltage regulator. The function of a regulator is to provide a constant output voltage to a l

Uttar Pradesh :government sites

This site is totally based on Uttar Pradesh e-commerce sites such as people can know their land details , pay the electricity bill online and also know whether the money issued by the uttar pradesh's government for the agriculture land is received or not.        This site mainly contains the information about the Ballia district,UP.    उ. प्र .  खसरा , ख़तौनी, ऑनलाइन वेरीफ़ीकेशन विधि – ) चरण-1 सबसे पहले वेबसाइट bhulekh.up.nic.in पर जाएं। चरण-2 वेबसाइट के बाईं ओर बने कॉलम में दी गई जिलों में अपने जिले के नाम पर क्लिक करें। चरण-3 जिले की सूची के बाद बनी तहसीलों की सूची से अपनी तहसील के नाम पर क्लिक करें। चरण- 4 इसके बाद सबसे दाईं ओर बनी सूची में अपने गाँव के नाम पर क्लिक करें और फिर उसके ठीक ऊपर लिखे आगे पर क्लिक करें। चरण-5 अब एक नया पेज खुलेगा। अपनी खसरा खतौनी या खाता संख्या याद हो तो इस पेज पर इनके आगे बने गोलाकार बिंदुओं पर क्लिक करके खोजें पर क्लिक करें, आप चाहें तो अपने नाम से भी अपने भूलेख का खोज सकते हैं। खसरा संख्या और खाता संख्या के लिये दी