hotrodhed120
Member
I've seen in some code the naming of a bit or pin. Could I get someone to show me the correct way to name a pin or bit in assembly?
Example:
bit 0 of OUTPUT file would be named LED
bit 1 of OUTPUT file would be named RELAY
etc.
pin 0 of PORTA would be SW1
pin 1 of PORTA would be SW2
etc.
Can I do this with Assm.?
I'm confused on how its going to recognize which pin of what file your actually naming.
Example:
bit 0 of OUTPUT file would be named LED
bit 1 of OUTPUT file would be named RELAY
etc.
pin 0 of PORTA would be SW1
pin 1 of PORTA would be SW2
etc.
Can I do this with Assm.?
I'm confused on how its going to recognize which pin of what file your actually naming.