introducing new integer types in SYSTEM module. -- noch.

Former-commit-id: 747943b008
This commit is contained in:
Norayr Chilingarian 2015-03-11 14:03:49 +04:00
parent 7de984b46a
commit 9d6a71eb59
26 changed files with 923 additions and 673 deletions

View file

@ -12,6 +12,7 @@ uses double # as concatenation operator
*/
#include <alloca.h>
#include <stdint.h> /* for type sizes -- noch */
//#include <string.h>
extern void *memcpy(void *dest, const void *src, unsigned long n);
@ -52,6 +53,10 @@ typedef void *SYSTEM_PTR;
//#define *SYSTEM_PTR void
//typedef unsigned char SYSTEM_BYTE;
#define SYSTEM_BYTE unsigned char
typedef int8_t SYSTEM_INT8;
typedef int16_t SYSTEM_INT16;
typedef int32_t SYSTEM_INT32;
typedef int64_t SYSTEM_INT64;
/* runtime system routines */
extern long SYSTEM_DIV();