movq.asm 248 B

12345678910111213141516171819
  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. movq mm0, [myquad]
  12. movq [myaddress], mm0
  13. movq mm1, [myaddress]
  14. movq mm4, mm0
  15. %include "footer.inc"