Chapter 10 Instruction Set: Charateristics and Functions

  1. Instruction Set:
    • The collection of instructions that a CPU can execute:
      • The instruction set determines the function of CPU
  2. Element of an instrction
    • Operation code(Op code)
    • Source operand reference
    • Result operand reference
    • Next instruction reference
    • Operands are stored in cache or main memeory or virtual memory, CPU registers, I/O devices.
  3. Instruction types:
    • Data processing 
    • Data storage(main memory)
    • Data movement(I/O)
    • Program flow control: test and branch
  4. Number of addresses
    • 4 addresses
      • A4 is next instruction address
    • 3 addresses
      • Next instruction address is usually implicit
    • 2 addresses
    • 1 address
      • Implicit second address: usually a register(accumulator, AC)
    • 0 address: Op code
      • All addresses are implicit or no address
      • Uses a stack
  5. Types of operands
    • Address
    • Numbers
    • Characters
    • Logical data
  6. Types of operations
    • Data transfer: the most fundamental
      • Specify
        • Source
        • Destination: registers, memory, top of stack
        • Amount of data
        • Mode of addressing
    • Arithmetic
    • Logical
    • Conversion
      • Translate: some values in memory are converted by table query
      • Convert: base conversion
    • I/O
    • System control
    • Transfer of control
  7. MMX: A set of highly optimized instructions for multimedia applications
    • SIMD execution model
      • SIMD allows the same operation to be carried out on multiple data elements in parallel. The MMX technology supports parallel opertions on byte, word, and doubleword data elements which contained in MMX registers.
    • Wraparound & Saturation arithmetic
      • Wraparound arithmetic: the extra bit is truncated when overflow occurs.
      • Saturation arithmetic: When overflow or underflow happens, the result is set to the largest or smallest value representable
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值