社区
语言基础/算法/系统设计
帖子详情
为什么执行到mov [eax].a,[ebp+$14]时会报出operand size mismatch的错误?
shixueli
2007-02-02 11:06:05
而用
mov edx,[ebp+$14]
mov [eax].a,edx
就不会报错?
其中类成员a是integer型的。
...全文
237
2
打赏
收藏
为什么执行到mov [eax].a,[ebp+$14]时会报出operand size mismatch的错误?
而用 mov edx,[ebp+$14] mov [eax].a,edx 就不会报错? 其中类成员a是integer型的。
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
阿发伯
2007-02-02
打赏
举报
回复
mov edx,[ebp+$14]
mov [eax].a,edx
这2个语句中,都有寄存器edx,所以正确
阿发伯
2007-02-02
打赏
举报
回复
mov [eax].a,[ebp+$14]
2个操作数中,必须有一个是寄存器,而这个语句2个都是内存单元,所以错误
assembly6_7
bb 0a 00 00 00
mov
$0xa,%ebx 804900d: cd 80 int $0x80 0804900f : 804900f: bb
14
00 00 00
mov
$0x
14
,%ebx 80490
14
: cd 80 int $0x80 3.调试 命令行: $ as --32 -gstabs -o jumptest.o jumptest.s $ ld -m ...
WinNT.h
非常重要的一个头文件,定义了大部分wi
nd
ows系统里一些内部.../*++ BUILD Version: 0091 Increment this if a change has global effects Copyright (c) Microsoft Corporation. All rights reserved. Module Name:
Making plain binary files using a C compiler (i386+)
Making plain binary files using a C compiler (i386+) Cornelis Frank April 10, 2000 I wrote this article because there isn’t much information on the Internet concerning this topic a
nd
I needed ...
Where the top of the stack is on x86
为什么80%的码农都做不了架构师?>>> ...
板凳——————————————————(枯藤 )MIX汇编 前导(4)
汇编学习笔记 这里主要讲述的是函数的调用,...如果使用pushl和popl, 会出现 “invalid instruction suffix for push” 这是因为pushl和popl都是适用在32bit系统上的,因为64-bit 的系统,不接受32-bit的数值,所以用p
语言基础/算法/系统设计
16,749
社区成员
33,245
社区内容
发帖
与我相关
我的任务
语言基础/算法/系统设计
Delphi 语言基础/算法/系统设计
复制链接
扫一扫
分享
社区描述
Delphi 语言基础/算法/系统设计
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章