Timer? input question

daklein at netzero.net daklein at netzero.net
Wed Aug 22 03:28:16 GMT 2001


 From the 8051 e side, related to deciding whether or not to start or 
continue applying traction control spark retard.

Can anyone explain / confirm / debunk this......

What is the reason for a section of code to do something like this?  I'm 
hypothesizing that it is reading a timer from outside the HC11, and it 
wants to compare whatever is at $14a6 & $1486, without getting interrupted 
and the lda & nop are just for a little delay to read or time to twiddle 
bits or something.  Am I in the ballpark?

di	
ldaA	L14A6
nop	
ldX	L14A6
ldaA	L1486
nop	
cmpX	L1486
ei	
bne	@18

I looked some thru anht.hac for something similar to this, but can't find 
an example of this sort of thing.  Could anyone point me to a sample 
section of code, or any other help about how this might work.

Thanks way in advance,
	Dale

----------------------------------------------------
NetZero Platinum
Sign Up Today - Only $9.95 per month!
http://my.netzero.net/s/signup?r=platinum&refcd=PT97
----------------------------------------------------------------------------
To unsubscribe from gmecm, send "unsubscribe gmecm" (without the quotes)
in the body of a message (not the subject) to majordomo at lists.diy-efi.org




More information about the Gmecm mailing list