

|
 |
| Programming > Assembly x86 > Re: mov seg, re... |
|
| << Topic |
< Post |
Post 9 of 10 Topic 4579 of 4728
|
Post > |
Topic >> |
Re: mov seg, reg/mov reg, seg and size prefix
by "rhyde@[EMAIL PROTECTED]
" <spamtrap@[EMAIL PROTECTED]
>
Mar 27, 2008 at 09:29 AM
| On Mar 21, 2:38 am, Frank Kotler <spamt...@[EMAIL PROTECTED]
> wrote:
>
> That's why we should *never* emit the useless, redundant, cache-filling
> override when segreg is the *destination*. This one really *is* "always
> 16 bits". Might as well emit a "nop". Again, it'd be a painless one to
> get wrong.
A quick follow-up.
If the do***entation claims that the H.O. bits of EAX are undefined
after "mov eax,ds" (as opposed to being zero or left unchanged), why
bother emitting the prefix? There are other instructions in the x86
instruction where Intel does this.
hLater,
Randy Hyde


|
10 Posts in Topic:
|
"rhyde@[EMAIL PROTEC |
2008-03-18 14:24:20 |
|
"Wolfgang Kern" |
2008-03-19 00:54:57 |
|
s_dubrovich <spamtrap@ |
2008-03-18 16:23:32 |
|
Frank Kotler <spamtra |
2008-03-19 06:55:37 |
|
"Rod Pemberton" |
2008-03-19 09:05:52 |
|
Frank Kotler <spamtra |
2008-03-19 20:17:25 |
|
"Rod Pemberton" |
2008-03-20 05:39:58 |
|
Frank Kotler <spamtra |
2008-03-21 09:38:20 |
|
"rhyde@[EMAIL PROTEC |
2008-03-27 09:29:22 |
|
"Rod Pemberton" |
2008-03-27 15:51:32 |
|
Post A Reply:

|
|
|
|