The main memory (RAM) stores the code (machine code) and data for the computer. A computer's main memory is an array of bytes (sequence of bytes in hex format), with each byte labeled with a unique number, known as its address. The first address starts at 0, and the last address depends on the hardware and software in use. The addresses and values are represented in hexadecimal:
