我是组装初学者,我正在尝试理解以下几行:
mov $0x80484e0,%ebx // what the hell means this value: 0x80484e0?
mov $0x1b,%eax // writing 27 in %eax
mov %edx,%edi // ? %edx is not used until not, why reading from there?
mov %ebx,%esi // why not like this: mov $0x80484e0,%esi
mov %eax,%ecx // writing 27 in counter-register, but same questen like one line before
rep movsl %ds:(%esi),%es:(%edi) // repeat 27 times: copy 32 bit word from %ds:(%esi) to %es:(%edi)
但是 %ds:(%esi),%es:(%edi) 是什么意思?我只知道这条线必须复制任何东西。但最重要的问题是值 0x80484e0 的含义。