www.pudn.com > r&s1.10°æ±¾£«Îĵµ.rar > basetype.h
/* =============================================================================== | Copyright (C) 2004 RuanHaiShen, All rights reserved. | SUMMARY: | Base types for this architecture. | | DESCRIPTION: | See http://www.01s.org for documentation, latest information, license | and contact details. | email:ruanhaishen@01s.org =============================================================================*/ #ifndef __basetype_h__ #define __basetype_h__ /*===========================================================================*/ /*---------------------------------------------------------------------------*/ /* characterize the architecture system */ /* the processor data width */ #define ARCH_CPU_BITS 16 /* stack growing direction: UPWARDS -from low-memory to high-memory */ /* DOWNWARDS -from high-memory to low-memory */ #define ARCH_STACK_GROW DOWNWARDS /* data storage in memory: LITTLE_ENDIAN -data storage as little-endian */ /* BIG_ENDIAN -data storage as big-endian */ #define ARCH_MM_BYTEORDER LITTLE_ENDIAN /* basetype */ #define __arch_u8 char #define __arch_u16 short #define __arch_u32 long #define __arch_u64 long long /*===========================================================================*/ #endif