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

Back to Subject List

Thread Closed: Off-topic

???
04/18/08 09:47
Read: times


 
Msg Score: -5
 -1 Message Not Useful
 -4 Off-Topic
#153666 - PIC16F627 MOVE command
Hello,

I have a question concerning moving data to port B
when i use this code it works fine:

MOVLW B'00000001' ;
MOVWF PORTB

Still i want to get rid of the binary stuff and do something like this

LEDS EQU H'22'
LED1 EQU H'01'
...
BSF LEDS,LED1 ; set bit LED1 in register LEDS
MOVLW LEDS ; move register leds to w
MOVWF PORTB ; move w to port B

Thanks



List of 2 messages in thread
TopicAuthorDate
PIC16F627 MOVE command            01/01/70 00:00      
   AFAIK            01/01/70 00:00      

Back to Subject List