首页 > 其他 > 详细

【2014-11-22】《The Hardware/Software Interface》– Section 4

时间:2014-11-22 18:50:39      阅读:155      评论:0      收藏:0      [点我收藏+]
  1. Moving Data: IA32
    • movx Source, Dest
    • x is one of {b(1-byte), w(2-byte), l(4-byte)}
    • Operand Types
      • Immediate: Constant integer data
        • Example: $0x400, $-533
        • Like C constant, but prefixed with‘$’
      • Register; one of 8 integer registers
        • Example: %eax, %edx
        • But %esp and %ebp reserved for special use
      • Memory: 4 consecutive bytes of memory at address given by register
        • Simplest example: (%eax)
        • Various other “address modes”
  2. bubuko.com,布布扣
  3. Memory Addressing Modes: Basic
    1. Indirect (R) Mem[Reg[R]]
    2. Displacement D(R) Mem[Reg[R]+D]
  4. Conditionals and Control Flow
  5. Loops
  6. Switch Statements

【2014-11-22】《The Hardware/Software Interface》– Section 4

原文:http://www.cnblogs.com/sjtujoe/p/4115462.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!