Archive for June 27th, 2007

PIC Arithmetic 16-bit

Posted in June 27th, 2007

Target: PIC16C71
; Bit definitions

#define _c status,0
#define _z status,2
#define _dc status,1

#define _gie intcon, 7

; Macro definitions

Bank1 macro
bsf [...]

Continue reading...