?? 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
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -