Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/09/02 06:34
Read: times


 
#25510 - RE: the ADC (lots of source code ahead)
Ok I've figured out why it was "locking up".
I left a ";" out of one place, the assembler thought every character after that was an error, and generated me a 1200 page error log. I'm still getting two errors to the source code on compile :

MOV A, C
****------------------------------------------------^
****ERROR #20: Illegal operand

and

JNB R2, Light2On
****----------------------------------------^
****ERROR #20: Illegal operand

Since im trying to read individual bits off of a port with register C, how do I put that into 0 and shift it 8 times to input 8 bits into a byte. Whats the correct syntax of both?

List of 16 messages in thread
TopicAuthorDate
the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      
RE: the ADC (lots of source code ahead)            01/01/70 00:00      

Back to Subject List