movd.asm 302 B

1234567891011121314151617181920212223
  1. global _start
  2. section .data
  3. align 16
  4. myquad:
  5. dq 0x1234567890abcdef
  6. mydword:
  7. dd 0xcafebabe
  8. myaddress:
  9. dd 0xdeadbeef
  10. %include "header.inc"
  11. movd mm0, [mydword]
  12. movd [myaddress], mm0
  13. movd mm1, [myaddress]
  14. movd eax, mm0
  15. movd mm4, eax
  16. mov eax, 0x42
  17. movd mm6, eax
  18. %include "footer.inc"