Documente Academic
Documente Profesional
Documente Cultură
interview. 8051 or MCS-51 (Intel refers) is one of popular microcontroller architecture among 8-bit microcontrollers.
In 1981, Intel Corporation introduced an 8-bit microcontroller called the 8051. The 8051 became widely
popular after Intel allowed other manufacturers to make and market any flavors of the 8051. They please
with the condition that they remain code-compatible with the 8051. This has led to many, versions of the
8051 with different speeds and amounts of on-chip ROM marketed by more than half a dozen
manufacturers. It is important to note that although there are different flavors of the 8051 in terms of
speed and amount of on-chip ROM, they are all compatible with the original 8051 as far as the instructions
are concerned. This means that if you write your program for one, it will run on any of them regardless of
Block Diagram of 8051
Microcontroller Architecture
the manufacturer.
What is the difference between Harvard Architecture and von Neumann Architecture?
The nameHarvard Architecturecomes 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.
Thevon Neumann Architectureis 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.
Intels original MCS-51 family was developed usingNMOStechnology, but later versions, identified by a letter C in their name (e.g., 80C51) usedCMOStechnology
and consume less power than their NMOS predecessors. This made them more suitable for battery-powered devices.
The Intel 8051 is an 8-bit microcontroller which means that most available operations are limited to 8 bits.
40 Pin IC.
4K ROM.
1 serial port.
Direct memory
What location code memory space and data memory space begins?
128 bytes of RAM (from 0x00 to 0x7F) and can be used to store data.
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
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 lessand, depending on the instructions being used, an
NOTE: It is again important to emphasize that not all instructions execute in the same amount of time. The fastest instructions require one machine cycle (12
crystal pulses), many others require two machine cycles (24 crystal pulses), and the two very slow math operations require four machine cycles (48 crystal pulses).
Pages: 1 2 3
Login
Username
Password
Remember Me
Log In