Quantcast
Channel: How to use a variable offset in inline assembly? - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Chris for How to use a variable offset in inline assembly?

That's not possible using the instruction with a constant offset. To generate the code, the offset would need to be known at compile time, and not be variable. You have to use a different instruction,...

View Article



How to use a variable offset in inline assembly?

The overall problem I am trying to solve, is to call printf, while fetching its format string and arguments from a raw buffer. So far, the solution that seems to be working the best is through the use...

View Article
Browsing latest articles
Browse All 2 View Live


Latest Images