3 ms·
You can also do the reverse. By adding __asm__("%ecx") to a variable declaration, you assign it to that register, while being able to perform C code as usual.
by pbsd 14y ago
You can also do the reverse. By adding __asm__("%ecx") to a variable declaration, you assign it to that register, while being able to perform C code as usual.
This usually results in degradation performance-wise, but has its uses.