请问lodsd,lodsw是什么意思

wesen1111 2008-03-15 12:25:38
请问lodsd,lodsw是什么意思,有什么作用
例如:
while [esi].VirtualAddress
cld
lodsd ;eax = [esi].VirtualAddress
mov ebx,eax
lodsd ;eax = [esi].SizeOfBlock
不明白lodsd后面解释到底怎么来的
...全文
2080 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
masmaster 2010-06-08
  • 打赏
  • 举报
回复
俺翻译一下
lodsb,lodsw,lodsd,是串读取指令,功能是将数据段中的字节(sb),字(sw),双字(sd)读取至AL(字节),AX(字),EAX(双字)中。
东子于 2010-06-07
  • 打赏
  • 举报
回复
bu dong....
yangyucun 2009-11-19
  • 打赏
  • 举报
回复
看不懂
wesen1111 2008-03-15
  • 打赏
  • 举报
回复
谢谢,解释得很清楚了,
大熊猫侯佩 2008-03-15
  • 打赏
  • 举报
回复
LODS - Load String (Byte, Word or Double)
Usage: LODS src
LODSB
LODSW
LODSD (386+)
Modifies flags: None
Transfers string element addressed by DS:SI (even if an operand is
supplied) to the accumulator. SI is incremented based on the size
of the operand or based on the instruction used. If the Direction
Flag is set SI is decremented, if the Direction Flag is clear SI

is incremented. Use with REP prefixes.
Clocks Size
Operands 808x 286 386 486 Bytes
src 12/16 5 5 5 1

AC LODS m8 Load byte at address DS:(E)SI into AL
AD LODS m16 Load word at address DS:(E)SI into AX
AD LODS m32 Load doubleword at address DS:(E)SI into EAX

AC LODSB Load byte at address DS:(E)SI into AL
AD LODSW Load word at address DS:(E)SI into AX
AD LODSD Load doubleword at address DS:(E)SI into EAX

21,459

社区成员

发帖
与我相关
我的任务
社区描述
汇编语言(Assembly Language)是任何一种用于电子计算机、微处理器、微控制器或其他可编程器件的低级语言,亦称为符号语言。
社区管理员
  • 汇编语言
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧