AVR 64bit/64 bit Division ASM

#2396759
Lesenswert?

Gonzo schrieb:
> Kann der long long? Ich dachte nur bis 32 bit.
Ich nehme stark an. Hier ist ein Auszug aus der 
/usr/lib/avr/include/stdint.h (avrlibc 1:1.7.1-2)
1
/** \ingroup avr_stdint
2
    64-bit signed type.
3
    \note This type is not available when the compiler
4
    option -mint8 is in effect. */
5

6
typedef signed long long int int64_t;
7

8
/** \ingroup avr_stdint
9
    64-bit unsigned type.
10
    \note This type is not available when the compiler
11
    option -mint8 is in effect. */
12

13
typedef unsigned long long int uint64_t;

Wenn der Datentyp unterstützt wird, dann wird die avr-libc sicher auch 
die passende Division parat haben.

Gruß Oliver

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren