Różne programy na zajęcia laboratoryjne z AK2
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

timestamp64.s 133B

12345678910111213141516
  1. # Jan Potocki 2020
  2. .global timestamp
  3. # Segment kodu
  4. .text
  5. timestamp:
  6. xor %rax, %rax
  7. cpuid
  8. rdtsc
  9. shl $32, %rdx
  10. or %rdx, %rax
  11. ret