(added CODE blocks to maintain alignment)Rich (BB code):*declare variables* Name Address PORTB EQU 6 ; TRISB EQU 86H ; OPTREG EQU 81H ; STATUS EQU ; CARRY EQU 0 ; RP0 EQU 5 ; MSB EQU 3 ;
You use equates to access immediate data??Maybe if you spent more time studying PIC code and not watching youtube or checking Facebook you might know the answer.
Are you asking what the entire program does?
Or what is the purpose of using equates?
| Thread starter | Similar threads | Forum | Replies | Date |
|---|---|---|---|---|
| A | Declaring constants in struct | Programming & Languages | 2 | |
| T | declaring string | Programming & Languages | 5 | |
| A | declaring two or moer arguments in macros (C) | General Electronics Chat | 6 | |
| V | Declaring a non-continuous bus in verilog? | Programming & Languages | 0 | |
| B | Newbie question, Declaring variable in c | Programming & Languages | 6 |