码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2014-11-22 18:51:31      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:des   style   blog   http   io   ar   color   sp   for   

  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

标签:des   style   blog   http   io   ar   color   sp   for   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!