Extensions => Types => Signed and unsigned 24-bit integers: __int24 (4.7), 
__uint24 (4.7).

int main(void)
{
    volatile __uint24 a = 0;
}

Gives
    volatile __uint24 a = 0;
  58:   19 82           std     Y+1, r1 ; 0x01
  5a:   1a 82           std     Y+2, r1 ; 0x02
  5c:   1b 82           std     Y+3, r1 ; 0x03


 :: Morten

-----Original Message-----
From: AVR-GCC-list [mailto:avr-gcc-list-bounces+meolsen=atmel....@nongnu.org] 
On Behalf Of Diogo Martins Silva
Sent: 30. november 2016 08:41
To: avr-gcc-list@nongnu.org
Subject: [avr-gcc-list] 24 bits (u)ints

Hello all.

The avr-gcc wiki (https://gcc.gnu.org/wiki/avr-gcc) lists 24 bits (u)ints as an 
extension since version 4.7. How do I use them?

Thanks

Diogo


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to