Thread (4 messages) flat view 4 messages, 3 authors, 2005-06-08

Re: syntax for clobber list with inline assembly

From: Chris Friesen <hidden>
Date: 2005-06-08 21:40:08

Hollis Blanchard wrote:
But it should be said that much better style is to let the compiler 
choose registers for you, i.e. don't hardcode register numbers at all. 
For example (well, it's contrived, but I hope you get the idea):
Certainly that would be the normal case.

In this particular case I'm writing some code to test whether my 
function to flush/clear the entire cache is properly working.

It uses self-modifying code, and I've got some instructions using r3 
hardcoded as hex.  Thus the specific use of r3.

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help