جميع
برامج المسنجر وملحقاته
The 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 Memory RAM or ROM
Microprocessor Memory
The 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.

Photo courtesy ROM chip
ROM stands for read-only memory. A ROM chip is programmed with a permanent collection of pre-set bytes. The address bus tells the ROM chip which byte to get and place on the data bus. When the RD line changes state, the ROM chip presents the selected byte onto the data bus.

Photo courtesy
RAM chip
RAM stands for random-access memory. RAM contains bytes of information, and the microprocessor can read or write to those bytes depending on whether the RD or WR line is signaled. One problem with todays RAM chips is that they forget everything once the power goes off. That is why the computer needs ROM.
By the way, nearly all computers contain some amount of ROM (it is possible to create a simple computer that contains no RAM — many microcontrollers do this by placing a handful of RAM bytes on the processor chip itself — but generally impossible to create one that contains no ROM). On a PC, the ROM is called the BIOS (Basic Input/Output System). When the microprocessor starts, it begins executing instructions it finds in the BIOS. The BIOS instructions do things like test the hardware in the machine, and then it goes to the hard disk to fetch the boot sector (see How Hard Disks Work for details). This boot sector is another small program, and the BIOS stores it in RAM after reading it off the disk. The microprocessor then begins executing the boot sectors instructions from RAM. The boot sector program will tell the microprocessor to fetch something else from the hard disk into RAM, which the microprocessor then executes, and so on. This is how the microprocessor loads and executes the entire operating system.



![]()


![]()



Related posts:
- Microprocessor Logic – how a microprocessor worksMicroprocessor Logic Photo courtesy Intel CorporationIntel Pentium 4 processorTo understand how a microprocessor works, it is helpful to look inside and learn about the logic used to create one. In the process you can also learn about assembly language — the native language of a microprocessor — and many of the things that engineers can [...]...
- 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 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 [...]...
- Flash memory Vs Hard diskThere are significant differences between a standard hard drive and flash memory. A hard drive is a fairly heavy palm-sized device composed of several spinning platters and a roving head that reads data that has been magnetically imprinted on the platters. Flash memory refers to a memory chip about the size of a postage stamp, [...]...
- 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 [...]...
- unload unused DLL and regain memory in Windows XPMost of the time whenever a program is closed the DLLs hang around in your memory in case the program is loaded again. This can be an inefficient use of memory. The advantage of using this registry tweak is that you regain precious system memory whenever a program is closed. This registry change will tell [...]...
- Intel Core 2 Duo E8400 Wolfdale 3.0GHz 6MB L2 Cache LGA 775 65W Dual-Core ProcessorWith the Wolfdale core Intel pours more power into a Core 2 Duo package. The 45nm process allowed Intel to reduce the power needed to 65W. Lower power means lower CPU heat, which translates to lower system heat and longer system life. They also packed more features into the chip. L2 cache has been bumped to 6MB and the Front Side Bus has been pushed to 1333MHz. You can now use both DDR2 and the hot new DDR3 memory for extreme performance. They also boosted memory access and execution speed with the Wide Dynamic Execution and Smart Memory Access. These combine to let the processor compute more instructions with more data per clock cycle. Youd better watch out; your enemies will be shooting back faster now. The Advanced Digital Media Boost feature has been enhanced with the addition of the SSE4 instruction set and Intel HD Boost. This will give your entertainment experience a boost with better audio and video processing. It will also help with speech recognition, engineering and scientific applications. Perhaps most important of all will be the boost to security with increased encryption power and speed....
- 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 [...]...
- PCI Vs AGPPCI (Peripheral Component Interconnect) and AGP (Accelerated Graphics Port) are two different technologies used to connect expansion cards – such as video, sound, and graphics cards – to your PC. The main difference between the two is speed, particularly when it comes to processing graphics. Gone are the days of simple words and numbers – [...]...
- برنامج التاريخ الهجري نوكيا N73برنامج التاريخ الهجري لجوال نوكيا N73 برنامج التاريخ الهجري لجوال نوكيا N73 برنامج التاريخ الهجري لجوال نوكيا N73 تقويم ام القري برنامج ...
- Controller Area Network (CAN)Controller Area Network (CAN) [What is the endianness of CAN ? ]"CAN we talk? : Distributed systems require protocols for communication between devices. CAN and SPI are two of the most common." article by Niall Murphy 2003-05-14 http://www.embedded.com/story/OEG20030509S0042 ...
- What is DSL?DSL (Digital Subscriber Line) is a high-speed Internet service that competes with cable Internet to provide online access to local customers. DSL operates over standard copper telephone lines like dial-up service, but is many times faster than dial-up. In addition to being faster than dial-up, DSL does not tie up the phone line, coexisting with [...]...