I have several questions about memory and registers in X86 assembly:
- I have a string - "abcdefgh", and register- %eaxholds a pointer to the string. Now I use- movl (%eax), %edxto grab the first four bytes of the string into- %edx. How are they stored in the register? Is the character- din the- %dlregister, or is it the character- a?
- When using - movb %eax, %dlfor example, which of- %eax's bytes does it actually move? The one in- %alor the opposite one? Is it even possible to do this? Or should I use a pointer like this -- movb (%eax), %dh- to take the first byte the pointer points to?
 
     
    