pshufw.asm 352 B

1234567891011121314151617181920
  1. global _start
  2. section .data
  3. align 16
  4. myquad:
  5. dq 0xad0000ceadad00ff
  6. mydword:
  7. dd 0xcafebabe
  8. myaddress:
  9. dq 0x00adbeefc0de00ce
  10. %include "header.inc"
  11. movq mm0, [myquad]
  12. pshufw mm0, [myaddress], 0xAB
  13. pshufw mm1, [myaddress], 0xFE
  14. pshufw mm2, [myquad], 0xFF
  15. pshufw mm6, [myaddress], 0x19
  16. pshufw mm7, [myaddress], 0xB5
  17. %include "footer.inc"