1
0

psubb.asm 488 B

12345678910111213141516171819202122232425262728293031323334
  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. quad4:
  11. dq 0x8000800080008000
  12. mydword:
  13. dd 0xcafebabe
  14. myaddress:
  15. dq 0x00adbeefc0de00ce
  16. %include "header.inc"
  17. movq mm0, [quad1]
  18. movq mm1, [quad2]
  19. movq mm2, [quad3]
  20. movq mm3, [quad2]
  21. movq mm4, [quad4]
  22. psubb mm0, [quad2]
  23. psubb mm0, [quad1]
  24. psubb mm1, mm2
  25. psubb mm2, [quad1]
  26. psubb mm3, [quad1]
  27. psubb mm4, [quad4]
  28. %include "footer.inc"