Chapter 11 Instruction Set: Addressing Modes and Formats

  1. Two types
    • Instruction addressing
      • Sequence addressing
      • Jump addressing
    • Data addressing
  2. Addressing modes
    • Immediate
      • Operand = address(Operand in instruction?)
      • Fast, Limited range
      • Applications
        • Define and use constants
        • Set initial values of variable
    • Direct
      • Address field contains effective address of operand(Operand address in instruction?)
      • Limited address space
    • Indirect
      • Memory cell pointed to the address field containing the address of(pointer to)the operand(The pointer pointing to the operand is pointed by the address field of the instruction)
      • Large address space
    • Register
      • Operand is held in register named in address field
      • No memory access
      • Very fast execution
      • Very limited address space
    • Implicit
      • The address of operand is not explicitly presented, it hides in the opcode or a special register, such as AC.
    • Register indirect
      • Operand is in memory cell pointed to by contents of register R
    • Displacement: powerful
      • Direct addressing + register indirect addressing
      • The most common uses of displacement addressing
        • Relative addressing
        • Base-register addressing
        • Indexing
    • Stack
  3. Instruction formats: usually more than one instruction format in an instruction set
    • Instruction length
    • Allocation of bits: trade off between the number of opcode and the power of the addressing capability
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值