Addressing Modalities
To access memory locations, address modes are used by computer programmers. The address mode specifies how the CPU accesses and stores information (Andrews 2016,). A particular type of address mode is a form that specifies an address or provides data location. Common addressing modes include: direct, indirect, immediate, and indexed (Ma & Xiang, 2020). Indirect addressing is when the operator specifies the precise address and location in his/her memory. Direct addressing involves specifying an address within the instruction that contains the location for the operand. Direct addressing mode sends data from the instruction to the CPU. (A. K. und al., 2018.). Indexed mode allows access to the address relative a specific offset from a base. There are some parameters in the instruction that allow the addressing method to locate the data. These parameters include the base address and offset as well as the data required. The address mode provides the flexibility required by programs to access memory locations so that data can be accessed. (Babu and al., 2018, p.