جميع
برامج المسنجر وملحقاته
Microprocessor Logic
![]() Photo courtesy Intel Corporation Intel Pentium 4 processor |
A microprocessor executes a collection of machine instructions that tell the processor what to do. Based on the instructions, a microprocessor does three basic things:
- Using its ALU (Arithmetic/Logic Unit), a microprocessor can perform mathematical operations like addition, subtraction, multiplication and division. Modern microprocessors contain complete floating point processors that can perform extremely sophisticated operations on large floating point numbers.
- A microprocessor can move data from one memory location to another.
- A microprocessor can make decisions and jump to a new set of instructions based on those decisions.
![]() |
This is about as simple as a microprocessor gets. This microprocessor has:
- An address bus (that may be 8, 16 or 32 bits wide) that sends an address to memory
- A data bus (that may be 8, 16 or 32 bits wide) that can send data to memory or receive data from memory
- An RD (read) and WR (write) line to tell the memory whether it wants to set or get the addressed location
- A clock line that lets a clock pulse sequence the processor
- A reset line that resets the program counter to zero (or whatever) and restarts execution
Here are the components of this simple microprocessor:

- Registers A, B and C are simply latches made out of flip-flops. (See the section on “edge-triggered latches” in How Boolean Logic Works for details.)
- The address latch is just like registers A, B and C.
- The program counter is a latch with the extra ability to increment by 1 when told to do so, and also to reset to zero when told to do so.
- The ALU could be as simple as an 8-bit adder (see the section on adders in How Boolean Logic Works for details), or it might be able to add, subtract, multiply and divide 8-bit values. Lets assume the latter here.
- The test register is a special latch that can hold values from comparisons performed in the ALU. An ALU can normally compare two numbers and determine if they are equal, if one is greater than the other, etc. The test register can also normally hold a carry bit from the last stage of the adder. It stores these values in flip-flops and then the instruction decoder can use the values to make decisions.
- There are six boxes marked “3-State” in the diagram. These are tri-state buffers. A tri-state buffer can pass a 1, a 0 or it can essentially disconnect its output (imagine a switch that totally disconnects the output line from the wire that the output is heading toward). A tri-state buffer allows multiple outputs to connect to a wire, but only one of them to actually drive a 1 or a 0 onto the line.
- The instruction register and instruction decoder are responsible for controlling all of the other components.
- Tell the A register to latch the value currently on the data bus
- Tell the B register to latch the value currently on the data bus
- Tell the C register to latch the value currently output by the ALU
- Tell the program counter register to latch the value currently on the data bus
- Tell the address register to latch the value currently on the data bus
- Tell the instruction register to latch the value currently on the data bus
- Tell the program counter to increment
- Tell the program counter to reset to zero
- Activate any of the six tri-state buffers (six separate lines)
- Tell the ALU what operation to perform
- Tell the test register to latch the ALUs test bits
- Activate the RD line
- Activate the WR line



![]()


![]()



Related posts:
- Microprocessor Memory RAM or ROMThe previous section talked about the address and data buses, as well as the RD and WR lines. These buses and lines connect either to RAM or ROM -- generally both. In our sample microprocessor, we have an address bus 8 bits wide and a data bus 8 bits wide. That means that the microprocessor can address (28) 256 bytes of memory, and it can read or write 8 bits of the memory at a time. Lets assume that this simple microprocessor has 128 bytes of ROM starting at address 0 and 128 bytes of RAM starting at address 128. ...
- Microprocessor Progression Intel complete 8-bit computer on one chipThe first microprocessor to make it into a home computer was the Intel 8080, a complete 8-bit computer on one chip, introduced in 1974. The first microprocessor to make a real splash in the market was the Intel 8088, introduced in 1979 and incorporated into the IBM PC (which first appeared around 1982). If you are familiar with the PC market and its history, you know that the PC market moved from the 8088 to the 80286 to the 80386 to the 80486 to the Pentium to the Pentium II to the Pentium III to the Pentium 4. All of these ...
- How Microprocessors WorkThe computer you are using to read this page uses a microprocessor to do its work. The microprocessor is the heart of any normal computer, whether it is a desktop machine, a server or a laptop. The microprocessor you are using might be a Pentium, a K6, a PowerPC, a Sparc or any of the [...]...
- How VoIP technology Works – free phone callsIf youve never heard of VoIP, get ready to change the way you think about long-distance phone calls. VoIP, or Voice over Internet Protocol, is a method for taking analog audio signals, like the kind you hear when you talk on the phone, and turning them into digital data that can be transmitted over the Internet.How is this useful? VoIP can turn a standard Internet connection into a way to place free phone calls. The practical upshot of this is that by using some of the free VoIP software that is available to make Internet phone calls, youre bypassing the phone company (and its charges) entirely. ...
- How Computers Work – Processor and Main MemoryThis is a tutorial web book. All 152 pages of the large paperback book with 96 diagrams are on 38 web pages here. Even if you know nothing about electronics, you have come to the right place. If you are wondering how microprocessors work, you have come to the right place. A microprocessor is a [...]...
- 4x Serial to Ethernet and Wi-Fi Module – Programmable Ethernet Module FeaturesThe EM1000W combines an EM1000 serial-to Ethernet module with an WA1000 wireless Wi-Fi Module that is mounted piggy-back on top. Programmable Ethernet Module Features High-performance (88 MHz) RISC processor. One 100BaseT Ethernet port with Auto-MDX (detection of straight-through or crossover cable). Standard Ethernet magnetics are not integrated into the Module. Support for UDP(1), TCP(1), ICMP [...]...
- برنامج التاريخ الهجري نوكيا N73برنامج التاريخ الهجري لجوال نوكيا N73 برنامج التاريخ الهجري لجوال نوكيا N73 برنامج التاريخ الهجري لجوال نوكيا N73 تقويم ام القري برنامج ...


Don’t quarter
Cure Trigeminal Neuralgia by Tegretol
Menopause Symptoms treatment by Ogen
if you take possession of nitrates, on numerous occasions prescribed for trunk trial, as this may reason a rash, unsafe slope in blood pressure.
Debate
Cure Mycobacterium Avium by Cipro XR
your generalized salubrity repute with your doctor to ensure that you are thriving enough to engage in sexual activity. If you circumstance breast pain, nausea, or any other discomforts during fucking, seek immediate medical help.
Gonococcal Infection treatment by Cipro
Cure Trigeminal Neuralgia by Tegretol
Thats cool. I agree, that was a good post!Dude a friend of mine get a Black MacBook Air. infact some of my freinds told me that they were able to get Free Laptops. Its not a scam, yes we can win Free notebook computers.
there are lot of brands of Free notebook computers and Free Laptops.
you can get Free laptop deals
so my suggestion check this out you may Get best Free Laptops.
Hi Everybody,
I happy to come here. It is a great forum
ass parade
Buy propecia online generic finasteride propecia , buy zithromax online zithromax for tooth abcess , buy kamagra online viagra kamagra aangeboden , buy lasix online is lasix surgery for me , buy xenical online bontril meridia phentermine xenical , buy soma online soma 2410 curvy v , buy lexapro online lexapro and lithobid , buy nolvadex online hcg vs nolvadex for pct , buy imitrex online cause does drowsiness imitrex , buy flomax online flomax tamsulosin new mexico , buy celexa online switch celexa to lexapro , buy diflucan online uk diflucan , buy ultram online ultram er recall , buy clomid online clomid opks , buy cipro online is cipro prescribed for sinus infection , buy silagra online penegra generic viagra silagra cumwithuscom , buy accutane online seb dermatitis low dose accutane , buy amoxil online shelf life of amoxil , buy paxil online paxil news , buy xanax online claritin and xanax , buy valium online can i take valium prozac , buy tramadol online dog tramadol prednisone tylenol .