📄 flag.lst
字号:
35 #define _SPACE 0x08
36 #define _PUNCT 0x10
37 #define _CNTRL 0x20
38 #define _WHITE 0x40
39 #define _HEX 0x80
40
41 #define isalnum(c) (_ctype[(c) & 0xff] & (_UPPER | _LOWER | _DIGIT))
42 #define isalpha(c) (_ctype[(c) & 0xff] & (_UPPER | _LOWER))
43 #define iscntrl(c) (_ctype[(c) & 0xff] & _CNTRL)
44 #define isdigit(c) (_ctype[(c) & 0xff] & _DIGIT)
45 #define isgraph(c) (_ctype[(c) & 0xff] & (_UPPER | _LOWER | _DIGIT | _PUNCT))
46 #define islower(c) (_ctype[(c) & 0xff] & _LOWER)
47 #define isprint(c) (_ctype[(c) & 0xff] & (_UPPER|_LOWER|_DIGIT|_PUNCT|_SPACE))
48 #define ispunct(c) (_ctype[(c) & 0xff] & _PUNCT)
49 #define isspace(c) (_ctype[(c) & 0xff] & _WHITE)
50 #define isupper(c) (_ctype[(c) & 0xff] & _UPPER)
51 #define isxdigit(c) (_ctype[(c) & 0xff] & _HEX)
52 #define tolower(c) (isupper(c) ? ((c)-'A'+'a') : (c))
53 #define toupper(c) (islower(c) ? ((c)-'a'+'A') : (c))
54
55 #endif /* _CTYPE_H */
FILE NAME: E:\Study\ucOS-II\ucOS-II\PLATFORM\Public\INCLUDES.H
26 #include <machine.h>
FILE NAME: c:\hew3\tools\renesas\h8\6_1_2\include\machine.h
1 /*-----------------------------------------------------------------------*/
2 /* H8S,H8/300 SERIES C/C++ Compiler Ver. 6.0 */
3 /* Copyright (C) 1994,2002, Renesas Technology Corp. */
4 /* All Rights Reserved. */
5 /*-----------------------------------------------------------------------*/
6
7 #ifndef _MACHINE_H
8 #define _MACHINE_H
9
10 #ifdef __cplusplus
11 X extern "C" {
12 #endif
13 extern void _builtin_set_imask_ccr(unsigned char);
14 extern unsigned char _builtin_get_imask_ccr(void);
15 extern void _builtin_set_ccr(unsigned char);
16 extern unsigned char _builtin_get_ccr(void);
17 extern void _builtin_and_ccr(unsigned char);
18 extern void _builtin_or_ccr(unsigned char);
19 extern void _builtin_xor_ccr(unsigned char);
20 extern void _builtin_set_imask_exr(unsigned char);
21 extern unsigned char _builtin_get_imask_exr(void);
22 extern void _builtin_set_exr(unsigned char);
23 extern unsigned char _builtin_get_exr(void);
24 extern void _builtin_and_exr(unsigned char);
25 extern void _builtin_or_exr(unsigned char);
26 extern void _builtin_xor_exr(unsigned char);
27 extern void _builtin_trapa(unsigned int);
28 extern void _builtin_sleep(void);
29 #ifndef __V4_ENGINE__
30 X extern char _builtin_movfpe(char *);
31 X extern void _builtin_eepmovi(void *, const void *, unsigned int);
32 X extern void _builtin_eepmovb(void *, const void *, unsigned char);
33 X extern void _builtin_eepmovw(void *, const void *, unsigned int);
34 #else
35 extern void _builtin_movfpe(char *, char);
36 #endif
37
38 E #if 0L || 0L || 0L || 0L || 0L
41 X extern long _builtin_mulsu(long, long);
42 X extern unsigned long _builtin_muluu(unsigned long, unsigned long);
43 X extern void _builtin_movmdb(void *, const void *, unsigned int);
44 X extern void _builtin_movmdw(int *, const int *, unsigned int);
45 X extern void _builtin_movmdl(long *, const long *, unsigned int);
46 X extern unsigned int _builtin_movsd(char *, const char *, unsigned int);
47 X extern void _builtin_set_vbr(void *);
48 X #ifndef _EEPROM_H
49 X unsigned char _builtin_eepromb(void *, const void *, unsigned char,
50 X volatile unsigned char *, unsigned char,
51 X volatile unsigned char *, unsigned char);
52 X unsigned int _builtin_eepromw(void *, const void *, unsigned int,
53 X volatile unsigned char *, unsigned char,
54 X volatile unsigned char *, unsigned char);
55 X #endif
56 #endif
57 extern void _builtin_movtpe(char, char *);
58 extern void _builtin_tas(char *);
59 E #if 1L || 0L
60 extern void _builtin_eepmov(void *, const void *, unsigned char);
61 #else
62 X extern void _builtin_eepmov(void *, const void *, unsigned int);
63 #endif
64 extern long _builtin_mac(long,int *, int *, unsigned long);
65 extern long _builtin_macl(long,int *, int *, unsigned long, unsigned long);
66 extern char _builtin_rotlc(int, char);
67 extern int _builtin_rotlw(int, int);
68 extern long _builtin_rotll(int, long);
69 extern char _builtin_rotrc(int, char);
70 extern int _builtin_rotrw(int, int);
71 extern long _builtin_rotrl(int, long);
72 extern int _builtin_ovfaddc(char, char, char *);
73 extern int _builtin_ovfaddw(int, int, int *);
74 extern int _builtin_ovfaddl(long, long, long *);
75 extern int _builtin_ovfsubc(char, char, char *);
76 extern int _builtin_ovfsubw(int, int, int *);
77 extern int _builtin_ovfsubl(long, long, long *);
78 extern int _builtin_ovfshalc(char, char *);
79 extern int _builtin_ovfshalw(int, int *);
80 extern int _builtin_ovfshall(long, long *);
81 extern int _builtin_ovfnegc(char, char *);
82 extern int _builtin_ovfnegw(int, int *);
83 extern int _builtin_ovfnegl(long, long *);
84 extern int _builtin_ovfadduc(unsigned char, unsigned char, unsigned char *);
85 extern int _builtin_ovfadduw(unsigned int, unsigned int, unsigned int *);
86 extern int _builtin_ovfaddul(unsigned long, unsigned long, unsigned long *);
87 extern int _builtin_ovfsubuc(unsigned char, unsigned char, unsigned char *);
88 extern int _builtin_ovfsubuw(unsigned int, unsigned int, unsigned int *);
89 extern int _builtin_ovfsubul(unsigned long, unsigned long, unsigned long *);
90 extern int _builtin_ovfshlluc(unsigned char, unsigned char *);
91 extern int _builtin_ovfshlluw(unsigned int, unsigned int *);
92 extern int _builtin_ovfshllul(unsigned long, unsigned long *);
93 extern void _builtin_dadd(unsigned char, char *, char *, char *);
94 extern void _builtin_dsub(unsigned char, char *, char *, char *);
95 extern void _builtin_nop(void);
96 #ifdef __cplusplus
97 X }
98 #endif
99
100 #define set_imask_ccr(m) _builtin_set_imask_ccr(m)
101 #define get_imask_ccr() _builtin_get_imask_ccr()
102 #define set_ccr(ccr) _builtin_set_ccr(ccr)
103 #define get_ccr() _builtin_get_ccr()
104 #define and_ccr(ccr) _builtin_and_ccr(ccr)
105 #define or_ccr(ccr) _builtin_or_ccr(ccr)
106 #define xor_ccr(ccr) _builtin_xor_ccr(ccr)
107 #define set_imask_exr(m) _builtin_set_imask_exr(m)
108 #define get_imask_exr() _builtin_get_imask_exr()
109 #define set_exr(exr) _builtin_set_exr(exr)
110 #define get_exr() _builtin_get_exr()
111 #define and_exr(exr) _builtin_and_exr(exr)
112 #define or_exr(exr) _builtin_or_exr(exr)
113 #define xor_exr(exr) _builtin_xor_exr(exr)
114 #define trapa(no) _builtin_trapa(no)
115 #define sleep() _builtin_sleep()
116 #ifndef __V4_ENGINE__
117 X #define eepmovi(dst,src,sz) _builtin_eepmovi(dst,src,sz)
118 X #define eepmovb(dst,src,sz) _builtin_eepmovb(dst,src,sz)
119 X #define eepmovw(dst,src,sz) _builtin_eepmovw(dst,src,sz)
120 X #define _movfpe(a) _builtin_movfpe(a)
121 X #define movfpe(a,d) (d = _builtin_movfpe(a))
122 #else
123 #define movfpe(a,d) _builtin_movfpe(a,d)
124 #endif
125
126 E #if 0L || 0L || 0L || 0L || 0L
129 X #define mulsu(d1,d2) _builtin_mulsu(d1,d2)
130 X #define muluu(d1,d2) _builtin_muluu(d1,d2)
131 X #define movmdb(dst,src,sz) _builtin_movmdb(dst,src,sz)
132 X #define movmdw(dst,src,sz) _builtin_movmdw(dst,src,sz)
133 X #define movmdl(dst,src,sz) _builtin_movmdl(dst,src,sz)
134 X #define movsd(dst,src,sz) _builtin_movsd(dst,src,sz)
135 X #define set_vbr(vbr) _builtin_set_vbr(vbr)
136 X #ifndef _EEPROM_H
137 X #define _EEPROM_H
138 X #define eepromb(dst,src,sz,ecr,ecr_val) _builtin_eepromb(dst,src,sz,ecr,ecr_val,0,0)
140 X #define eepromw(dst,src,sz,ecr,ecr_val) _builtin_eepromw(dst,src,sz,ecr,ecr_val,0,0)
142 X #define eepromb_epr(dst,src,sz,ecr,ecr_val,epr,epr_val) _builtin_eepromb(dst,src,sz,ecr,ecr_val,epr,epr_val)
144 X #define eepromw_epr(dst,src,sz,ecr,ecr_val,epr,epr_val) _builtin_eepromw(dst,src,sz,ecr,ecr_val,epr,epr_val)
146 X #endif
147 #endif
148 #define movtpe(d,a) _builtin_movtpe(d,a)
149 #define tas(a) _builtin_tas(a)
150 #define eepmov(dst,src,sz) _builtin_eepmov(dst,src,sz)
151 #define mac(i,d1,d2,c) _builtin_mac(i,d1,d2,c)
152 #define macl(i,d1,d2,c,m) _builtin_macl(i,d1,d2,c,m)
153 #define rotlc(c,d) _builtin_rotlc(c,d)
154 #define rotlw(c,d) _builtin_rotlw(c,d)
155 #define rotll(c,d) _builtin_rotll(c,d)
156 #define rotrc(c,d) _builtin_rotrc(c,d)
157 #define rotrw(c,d) _builtin_rotrw(c,d)
158 #define rotrl(c,d) _builtin_rotrl(c,d)
159 #define ovfaddc(d1,d2,rst) _builtin_ovfaddc(d1,d2,rst)
160 #define ovfaddw(d1,d2,rst) _builtin_ovfaddw(d1,d2,rst)
161 #define ovfaddl(d1,d2,rst) _builtin_ovfaddl(d1,d2,rst)
162 #define ovfsubc(d1,d2,rst) _builtin_ovfsubc(d1,d2,rst)
163 #define ovfsubw(d1,d2,rst) _builtin_ovfsubw(d1,d2,rst)
164 #define ovfsubl(d1,d2,rst) _builtin_ovfsubl(d1,d2,rst)
165 #define ovfshalc(d,rst) _builtin_ovfshalc(d,rst)
166 #define ovfshalw(d,rst) _builtin_ovfshalw(d,rst)
167 #define ovfshall(d,rst) _builtin_ovfshall(d,rst)
168 #define ovfnegc(d,rst) _builtin_ovfnegc(d,rst)
169 #define ovfnegw(d,rst) _builtin_ovfnegw(d,rst)
170 #define ovfnegl(d,rst) _builtin_ovfnegl(d,rst)
171 #define ovfadduc(d1,d2,rst) _builtin_ovfadduc(d1,d2,rst)
172 #define ovfadduw(d1,d2,rst) _builtin_ovfadduw(d1,d2,rst)
173 #define ovfaddul(d1,d2,rst) _builtin_ovfaddul(d1,d2,rst)
174 #define ovfsubuc(d1,d2,rst) _builtin_ovfsubuc(d1,d2,rst)
175 #define ovfsubuw(d1,d2,rst) _builtin_ovfsubuw(d1,d2,rst)
176 #define ovfsubul(d1,d2,rst) _builtin_ovfsubul(d1,d2,rst)
177 #define ovfshlluc(d,rst) _builtin_ovfshlluc(d,rst)
178 #define ovfshlluw(d,rst) _builtin_ovfshlluw(d,rst)
179 #define ovfshllul(d,rst) _builtin_ovfshllul(d,rst)
180 #define dadd(sz,d1,d2,rst) _builtin_dadd(sz,d1,d2,rst)
181 #define dsub(sz,d1,d2,rst) _builtin_dsub(sz,d1,d2,rst)
182 #define nop() _builtin_nop()
183
184 #endif /* _MACHINE_H */
FILE NAME: E:\Study\ucOS-II\ucOS-II\PLATFORM\Public\INCLUDES.H
27
28 #include <vecttbl.h>
FILE NAME: E:\Study\ucOS-II\ucOS-II\PLATFORM\Public\vecttbl.h
1 /*
2 *********************************************************************************************************
3 * uC/OS-II
4 * The Real-Time Kernel
5 *
6 * (c) Copyright 1992-2003, Micrium, Inc, Weston, FL
7 * All Rights Reserved
8 *
9 * EDK-38024
10 * H8/300L
11 *
12 * INTERRUPT VECTOR TABLE
13 *
14 * Filename : vecttbl.h
15 * Programmer : Jean J. Labrosse
16 *********************************************************************************************************
17 */
18
19 void PowerON_Reset(void);
20 void INT_Dummy(void);
21 void INT_IRQ0(void);
22 void INT_IRQ1(void);
23 void INT_IRQAEC(void);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -