04 - Memory Organization 1
04 - Memory Organization 1
Address Value
1003 90
1002 AB
1001 12
1000 CD
ORGANIZATION OF MEMORY
Storing Words in Memory
Big Endian
Little Endian
Address Value
1003 90
1002 AB
1001 12
1000 CD
ORGANIZATION OF MEMORY
Storing Words in Memory
Big Endian
Little Endian
Address Value
1003 90
1002 AB
1001 12
1000 CD
What's a Register
A CPU contains very fast memory called registers. For
example, a MIPS ISA stores 32 32-bit registers.
Think of a register as a black box that contains an
array.
CPU Registers
CPU registers are very special memory locations
constructed from flips-flops. They are not part of main
memory; the CPU implements them on- chip. All
arithmetic and locations operations occur in the CPU
registers.
Registers contain 16 bits in size, and in hexadecimal
format
Registers default value is set to 0000H
CPU Register Types
General Purpose Registers
Segment Registers
Index Registers
Pointer Registers
General Purpose Registers
AX - the accumulator register
BX - the base address register
CX - the count register
DX - the data register