I ask like this
I want to configure RS pin of LDC connect to PORTA,4,
LCD_PORT EQU PORTA ; Understood
LCD_RS EQU PORTA,4 ; pin 4 of PORTA as LCD_RS
bsf LCD_PORT , LCD_RS ; YES Understood
If you define " LCD_RS EQU PORTA,4"
Then you just have to do "BSF LCD_RS" not "BSF LCD_PORT, LCD_RS"
LCD_RS equ 0x04; my question is how we know ( 0x04 ) is pin 4 of PORTA
If you define " LCD_RS equ 0x04"
Then you need to do "BSF LCD_PORT, LCD_RS"
Please help or try to understand my Quentin at lease
Thanks in advance