Citazione:
Originalmente inviato da illez idem, vale solo l'ultima.
Ho googlato un pochino ma non ho trovato possibili spiegazioni; ho guardato l'assembly, il codice prodotto è:
$000F $1105 BCF GPIO, 2
$0010 $1085 BCF GPIO, 1
$0011 $1005 BCF GPIO, 0
Non sono un guru dei PIC, ma questa cosa non me la spiego |
Strano, lascerebbe pensare a un baco del compilatore assembler perché l'istruzione prodotta è corretta:
BCF, BSF Example: BCF status,Z
These instructions clear (BCF) or set (BSF) the indicated bit in a register. The bit may have a name (like Z) or you can use a number from 0 to 7 (0 is the least significant bit and 7 is the most significant).