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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/04/03 14:46
Read: times


 
#52073 - LEDs on ports
I tried to write a simple program in assembler to switch on a LED on p1.2, by typing:

setb 1.2
end

however, when I tried to compile it, i got an error and in the log file - it had an arrow pointing to the p1.2 and it said something like 'undeclared identifier'.

I am using AS31 from
http://www.pjrc.com/tech/8051/#as31_assembler

Can you tell me what I am doing wrong and how to correct it.

Thanks,
Dennis.

List of 5 messages in thread
TopicAuthorDate
LEDs on ports            01/01/70 00:00      
   RE: LEDs on ports            01/01/70 00:00      
   RE: LEDs on ports            01/01/70 00:00      
   RE: LEDs on ports            01/01/70 00:00      
      RE: part-specific info            01/01/70 00:00      

Back to Subject List