logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

How do i make the compiler know that the opcode in the inline assembly writes its result to the eax and edx registers

68 points AmountSimple 2022-11-20 22:55:00
View on Reddit ↗

I am trying to write a function to get a value from the time stamp counter. I don't know how to make the compiler aware of the edx and eax registers.

https://preview.redd.it/681guih8f41a1.png?width=1028&format=png&auto=webp&s=84ada2b11acc2265a990ac656417cdb5467bbfc4

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com