You are on page 1of 4

Technological University of the Philippines

College of Industrial Technology
Electronics Department

Assignment
In
Computer System Organization
With
Assembly

Submitted By:
Red, Evans Marwin M.

Course, Year & Sec.:
BTIT 4A

Submitted To:
Prof. Vincent Estrella

Date Submitted:
February 5, 2016

1. Concepts and Principles of Cache Memory.

The CPU cache stores the most frequently used pieces of information so they can be retrieved more quickly. The central processing unit (CPU) is the brain of the computer. CPU chips have been getting smaller and faster as chip technology has advanced. All of the instructions have to run through the CPU for the various parts of a computer to work together. This is the CPU cache. It may hold a computer instruction. It is much smaller.for example. The most important type of cache memory is the CPU cache. Cache memory is relatively small. but can be accessed much faster than the main memory. Installing more memory is not always a solution. registers may be numbered or have arbitrary names. but very fast. One of the slower aspects of computer processing is the interaction between the CPU chip and the main memory in the form of random-access memory (RAM). This information is a duplicate of information stored elsewhere. Most web browsers use a cache to load regularly viewed webpages fast. but it is more readily available. For example. what have chip designers come up with? A small form of memory located directly on the chip itself. half-registers . .for shorter instructions. Principles and Concept of Registers A register is one of a small set of data holding places that are part of a computer processor. In some computer designs. Depending on the processor design and language rules. 2. an instruction may specify that the contents of two defined registers be added together and then placed in a specified register. So. a register must be 32 bits in length. or any kind of data (such as a bit sequence or individual characters). a storage address. Some instructions specify registers as part of the instruction.Cache memory is a type of memory used to hold frequently used data. A register must be large enough to hold an instruction . in a 32-bit instruction computer.for example. there are smaller registers .

cx and dx into ax. and the base relative plus index addressing mode. bx mov ax. The x86 processors support the register addressing mode. Consider the following forms of the mov instruction. you can move values to any of these registers.3. dx The first instruction accomplishes absolutely nothing. Each form is called an addressing mode. Addressing Nodes in Microprocessor The x86 instructions use five different operand types: registers. the register relative addressing mode. 2056 mov dx. constants. Constants are also pretty easy to deal with. The remaining three instructions copy the value of bx. 25 mov bx. and dx remain the same. the immediate addressing mode. the base plus index addressing mode. cx mov ax. the indirect addressing mode. Register operands are the easiest to understand. Consider the following instructions: mov ax. 1000 . and three memories addressing schemes. mov ax. cx. It copies the value from the ax register back into the ax register. the direct addressing mode. 195 mov cx. Note that the original values of bx. The first operand (the destination) is not limited to ax. ax mov ax.