1
0

psubsw.asm 422 B

123456789101112131415161718192021222324252627282930
  1. global _start
  2. section .data
  3. align 16
  4. quad1:
  5. dq 0x70ad80ad7fffffff
  6. quad2:
  7. dq 0x71ae01ff0f00ffbe
  8. quad3:
  9. dq 0xf100808080f0ff42
  10. mydword:
  11. dd 0xcafebabe
  12. myaddress:
  13. dq 0x00adbeefc0de00ce
  14. %include "header.inc"
  15. movq mm0, [quad1]
  16. movq mm1, [quad2]
  17. movq mm2, [quad3]
  18. movq mm3, [quad2]
  19. psubsw mm0, [quad2]
  20. psubsw mm0, [quad1]
  21. psubsw mm1, mm2
  22. psubsw mm2, [quad1]
  23. psubsw mm3, [quad1]
  24. %include "footer.inc"