Memory space and identification

The Intel 8085 is an 8-bit microprocessor with specific characteristics concerning memory addressing, size and identification. Here is a detailed explanation:

Memory addressing

The 8085 processor has a 16-bit address bus. This is a fundamental aspect that determines how the processor interacts with memory.

The concept of the address bus: the address bus is a set of wires over which memory address information is transferred from the microprocessor to memory. Each line of the address bus can be in one of two states (0 or 1). With a 16-bit address bus, 216 different combinations of zeros and ones are possible.

Calculating the addressable memory: using the formula 2n, where n is the number of bits in the address bus, we get 216 = 65536 memory locations. Since each memory location can hold 8 bits (1 byte) of data, the total addressable memory of the Intel 8085 is 64 KB (65536 bytes).

Memory sizes and types

RAM (random-access memory): used for temporary storage of data and of the programs that are currently running. In an 8085-based system, the amount of RAM can vary depending on the specific requirements of the application. For example, in simple embedded systems it may be only a few kilobytes, while in more complex systems it may cover the entire available range of 64 KB.

ROM (read-only memory): used to store permanent data and programs such as the system boot code. As with RAM, the size of ROM in an 8085 system can be adjusted to suit the requirements. If necessary, it can range from a few kilobytes up to the 64 KB of addressable space.

Identification of memory locations

Hexadecimal number system: memory locations in the 8085 are usually identified using the hexadecimal number system. Since the address bus is 16 bits wide, the address range extends from 0000h to FFFFh. For example, to access the first memory location, you refer to it as 0000h, and the last addressable location has the address FFFFh.

Memory mapping: in an 8085-based system, different memory types (RAM, ROM, input/output ports) are mapped to specific address ranges. For example, the lower part of the address space may be assigned to ROM for storing the boot code, while the upper part may be used for RAM. The specific mapping depends on the hardware of the system.