Assembly x64 Intro - GAS Assembly Issue
2015-12-10 10:35
246 查看
movslq %eax,%rbx <=> movsx rbx, eax
40056e: 8b 45 d0 mov -0x30(%rbp),%eax
400571: 48 63 d8 movslq %eax,%rbx
400574: 48 8b 45 f0 mov -0x10(%rbp),%rax
400578: 48 99 cqto
40057a: 48 f7 fb idiv %rbx
40057d: 48 89 45 f0 mov %rax,-0x10(%rbp)
400581: 8b 45 10 mov 0x10(%rbp),%eax
400584: 48 98 cltq
400586: 48 01 45 f0 add %rax,-0x10(%rbp)
movslq %eax,%rbx => 拷贝eax 到 rbx, 并对rbx进行符号扩展
cqto => 符号扩展rax到 rdx:rax
400581: 8b 45 10 mov 0x10(%rbp),%eax
400584: 48 98 cltq
cltq => 提升 eax (int32_t) 到 int64_t
40056e: 8b 45 d0 mov -0x30(%rbp),%eax
400571: 48 63 d8 movslq %eax,%rbx
400574: 48 8b 45 f0 mov -0x10(%rbp),%rax
400578: 48 99 cqto
40057a: 48 f7 fb idiv %rbx
40057d: 48 89 45 f0 mov %rax,-0x10(%rbp)
400581: 8b 45 10 mov 0x10(%rbp),%eax
400584: 48 98 cltq
400586: 48 01 45 f0 add %rax,-0x10(%rbp)
movslq %eax,%rbx => 拷贝eax 到 rbx, 并对rbx进行符号扩展
cqto => 符号扩展rax到 rdx:rax
400581: 8b 45 10 mov 0x10(%rbp),%eax
400584: 48 98 cltq
cltq => 提升 eax (int32_t) 到 int64_t
相关文章推荐
- Volley的高级用法(自定义Request)
- ueditor .NET版本提示uploader、Config类同时存在于两个dll中
- 【转载】Understand the serialVersionUID
- you need MySQL built with 'InnoDB' to have IT working
- saxbuilder用法
- Android之如何解决popupWindow(pw.setFocusable(true))按返回键和menu键退出
- iOS自定义UITabBar的几种方法
- UIScrollView的常用属性和方法
- cannot assign value of type
- you need MySQL built with 'InnoDB' to have IT working
- ios中常见的几种控件.(UISlider,UISwitch,UIStepper,UISegmentedControl)
- APUE学习记录(零)——Ubuntu14.04环境搭建
- String.valueOf()的处理
- iOS开发中使用UIScrollView实现图片轮播和点击加载
- mianxiangduixiang
- IOS9 IPAD UITextField hide keyboard shortcut bar.!
- UI-7-UIScrollView
- IOS- UIScrollView
- Action学习value stack contents和stack context
- 跟着汤阳光同志做一个OA系统(十二):通用的分页实现、HQL生成器QueryHelper