On Tue, 07 Apr 2015 14:20:57 +0000, Jens Bauer wrote:

> If just incrementing a value, one could do as follows:
> PortB = (PortB | 0x00f0) + 1;
> ... oposite for decrementing:
> PortB = (PortB & 0xff0f) - 1;
> 
> But the @property can make all this transparent, so our sources become
> very easy to overview and understand.

and gcc can optimise function calls away (especially with 
`@attribute("forceinline")`), so it effectively compiles to the same code.

Attachment: signature.asc
Description: PGP signature

Reply via email to