wrlong and shadow registers
agodwin
Posts: 72
I tried to record the time of an event by executing
wrlong cnt, bufferptr
but always recorded a zero at bufferptr.
I guess that this is an effect of the shadow registers, since cnt is read-only and wrlong uses the d-field to address the source register. However, I get a similar effect if I execute
wrlong phsa, bufferptr
- as I understand it, this should work OK.
I haven't been able to find any description of this in the docs I've read - can anyone explain it, please ?
wrlong cnt, bufferptr
but always recorded a zero at bufferptr.
I guess that this is an effect of the shadow registers, since cnt is read-only and wrlong uses the d-field to address the source register. However, I get a similar effect if I execute
wrlong phsa, bufferptr
- as I understand it, this should work OK.
I haven't been able to find any description of this in the docs I've read - can anyone explain it, please ?
Comments
Now, someone mentioned the other day a google search that found things better than the built-in forum search .. but of course, I can't find that posting either. What's the trick ?