[fpc-devel] FPC micro controller

Desmond Coertzen patrolliekaptein at gmail.com
Wed Jul 29 18:55:06 CEST 2009


That is fantastic!

Is this correct for application?

var
  SomeIOPort: nibbles;
begin
  SomeIOPort.low[7] := 1;
end;

On Wed, Jul 29, 2009 at 4:47 PM, Daniël Mantione <
daniel.mantione at freepascal.org> wrote:

>
>
> Op Wed, 29 Jul 2009, schreef Desmond Coertzen:
>
>  This is my first question / suggestion: With byte sized variables being
>> the
>> smallest accessible variable in the PC architecture, will we see a
>> language
>> extension to provide bit accessible variables for the micro controllers?
>>
>
> Do you mean bitpacking?
>
> type  nibbles=bitpacked record
>        low_nibble=0..15;
>        high_nibble=0..15;
>      end;
>
> Daniël
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20090729/32f0abba/attachment.html>


More information about the fpc-devel mailing list