计算机组成 寻址方式
寻址方式 (Addressing Modes)
The term 'addressing mode' refers to the mechanism which will use to specify the operands. An operand can be specified as the part of the instruction, or the reference of the memory location which had given. An operand could also be an address of CPU register. Addressing modes can also be defined by the following criteria which are as follows:
术语“寻址模式”是指用于指定操作数的机制。 可以将操作数指定为指令的一部分,也可以指定为给定存储位置的引用。 操作数也可以是CPU寄存器的地址。 也可以通过以下标准定义寻址模式:
Addressing modes shows the way where exactly the required object is present.
寻址模式显示了确切存在所需对象的方式。
In this condition, object may be an instruction or data.
在这种情况下,对象可以是指令或数据。
The output of the addressing mode is Effective Address [EA], where EA is the actual address where exactly the object is present in the computer.
寻址模式的输出是有效地址[EA],其中EA是计算机中确切存在对象的实际地址。
There is a different convention which is used to indicate the various addressing modes some of them follow here:
有一个不同的约定,用于指示各种寻址模式,其中一些遵循以下约定:
- #/I ------- Immediate addressing mode.
- Reg.Name -------Register addressing mode.
- [ ] ------------Direct addressing mode.
- @/ ( ) ----------Indirect addressing mode.
- Index Reg Name ------Indexed addressing mode.
- +/- -------------- Auto indexed addressing mode.
寻址方式分类 (Classification of Addressing Modes)
According to specify the operand in different ways, the addressing modes are classified in two ways that are:
根据以不同方式指定操作数,寻址方式分为两种方式:
Sequential control flows addressing mode which is focused on data.
顺序控制流以数据为重点的寻址模式。
Transfer of control flow addressing mode which is focu