
ya we cs guys......rulz......our collg.........& we got the "ROYAL CS" ya baby.......we rockz
![]() An Intel 8085AH processor. | |
Produced | From 1977 to 1990s |
---|---|
Common manufacturer(s) | Intel and several others |
Max CPU clock | 3,5 and 6 MHz |
Instruction set | pre x86 |
Package(s) | 40 pin DIP |
Program, data and stack memories occupy the same memory space. The total addressable memory size is 64 KB.
Program memory - program can be located anywhere in memory. Jump, branch and call instructions use 16-bit addresses, i.e. they can be used to jump/branch anywhere within 64 KB. All jump/branch instructions use absolute addressing.
Data memory - the processor always uses 16-bit addresses so that data can be placed anywhere.
Stack memory is limited only by the size of memory. Stack grows downward.
First 64 bytes in a zero memory page should be reserved for vectors used by RST instructions.
The processor has 5 interrupts. They are presented below in the order of their priority (from lowest to highest):
INTR is maskable 8080A compatible interrupt. When the interrupt occurs the processor fetches from the bus one instruction, usually one of these instructions:
RST5.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 2Ch (hexadecimal) address.
RST6.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 34h (hexadecimal) address.
RST7.5 is a maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 3Ch (hexadecimal) address.
Trap is a non-maskable interrupt. When this interrupt is received the processor saves the contents of the PC register into stack and branches to 24h (hexadecimal) address.
All maskable interrupts can be enabled or disabled using EI and DI instructions. RST 5.5, RST6.5 and RST7.5 interrupts can be enabled or disabled individually using SIM instruction.
256 Input ports
256 Output ports
Accumulator or A register is an 8-bit register used for arithmetic, logic, I/O and load/store operations.
Flag is an 8-bit register containing 5 1-bit flags:
General registers:
Stack pointer is a 16 bit register. This register is always incremented/decremented by 2.
Program counter is a 16-bit register.
8085 instruction set consists of the following instructions:
The Intel 8085 is an 8-bit microprocessor introduced by Intel in 1977. It was binary-compatible with the more-famous Intel 8080 but required less supporting hardware, thus allowing simpler and less expensive microcomputer systems to be built.
The "5" in the model number came from the fact that the 8085 required only a +5-volt (V) power supply rather than the +5V, -5V and +12V supplies the 8080 needed. Both processors were sometimes used in computers running the CP/M operating system, and the 8085 later saw use as a microcontroller (much by virtue of its component count reducing feature). Both designs were eclipsed for desktop computers by the compatible but more capable Zilog Z80, which took over most of the CP/M computer market as well as taking a large share of the booming home computer market in the early-to-mid-1980s. The 8085 had a very long life as a controller. Once designed into such products as the DECtape controller and the VT100 video terminal in the late 1970s, it continued to serve for new production throughout the life span of those products (generally many times longer than the new manufacture lifespan of desktop computers).
Once again we have a sinusoidal current i = Im . sin (ωt), so integration gives
(The constant of integration has been set to zero so that the average charge on the capacitor is 0).
Now we define the capacitive reactance XC as the ratio of the magnitude of the voltage to magnitude of the current in a capacitor. From the equation above, we see that XC = 1/ωC. Now we can rewrite the equation above to make it look like Ohm's law. The voltage is proportional to the current, and the peak voltage and current are related by
Note the two important differences. First, there is a difference in phase: the integral of the sinusoidal current is a negative cos function: it reaches its maximum (the capacitor has maximum charge) when the current has just finished flowing forwards and is about to start flowing backwards. Run the animation again to make this clear. Looking at the relative phase, the voltage across the capacitor is 90°, or one quarter cycle, behind the current. We can see also see how the φ = 90° phase difference affects the phasor diagrams at right. Again, the vertical component of a phasor arrow represents the instantaneous value of its quanitity. The phasors are rotating counter clockwise (the positive direction) so the phasor representing VC is 90° behind the current (90° clockwise from it).
Recall that reactance is the name for the ratio of voltage to current when they differ in phase by 90°. (If they are in phase, the ratio is called resistance.) Another difference between reactance and resistance is that the reactance is frequency dependent. From the algebra above, we see that the capacitive reactance XC decreases with frequency . This is shown in the next animation: when the frequency is halved but the current amplitude kept constant, the capacitor has twice as long to charge up, so it generates twice the potential difference. The blue shading shows q, the integral under the current curve (light for positive, dark for negative). The second and fourth curves show VC = q/C . See how the lower frequency leads to a larger charge (bigger shaded area before changing sign) and therefore a larger VC.
Thus for a capacitor, the ratio of voltage to current decreases with frequency. We shall see later how this can be used for filtering different frequencies.
(SOURCE:http://www.physclips.unsw.edu.au/~jw/AC.html)
Candidates who do not want any further allotment should delete their higher options before 5 PM on 18/10/2008 |
The materials presented are primarily created for my presentation in the classroom and thus cannot replace the book. They may help you in following the class and get a better feeling on which topics I have covered more deeply and which topics I put aside. Please let me know whenever you find errors in the materials.
My lecture notes are based on the early version of David Patterson. Due to copyright reasons these materials can only be used for educational purposes in conjunction with the textbook. Permission for commercial purposes should be obtained from the original copyright holder and the successive copyright holders including me.
Lecture notes (in PDF formats)
Midterm Review (pdf-2)
¡¡Notes: pdf-2 lays out 2 slides per page; pdf-6 lays out 6 slides per page; pdf-notes contains detailed explanations.