Pick three bugfixes from next branch to trunk for inclusion in 4.5.0 RC2, as discusse...
[sdcc.git] / sdcc / src / z80 / support.h
bloba2902b75e8b542763885c19d561899fd6467e753
1 /** @file z80/support.h
2 Support functions for the z80 port.
3 */
4 #ifndef Z80_SUPPORT_INCLUDE
5 #define Z80_SUPPORT_INCLUDE
7 typedef unsigned short WORD;
8 typedef unsigned char BYTE;
10 typedef struct
12 WORD w[2];
13 BYTE b[4];
15 Z80_FLOAT;
17 /** Convert a native float into 'z80' format */
18 int convertFloat (Z80_FLOAT * f, double native);
20 #endif