1 #ifndef YACASL2_WORD_H_INCLUDED
2 #define YACASL2_WORD_H_INCLUDED
12 bool addcerrlist_word();
14 /* WORD - 16ビットデータ型 */
15 typedef unsigned short WORD;
17 /* 10進数の文字列をWORD値に変換 */
18 WORD n2word(const char *str);
20 /* 16進数の文字列をWORD値に変換 */
21 WORD h2word(const char *str);
23 /* 10進数または16進数の文字列をWORD値に変換 */
24 WORD nh2word(const char *str);
26 /* WORD値を10進数の文字列に変換 */
27 char *word2n(WORD word);
29 /* WORD値を2進数の文字列に変換 */
30 char *word2bit(const WORD word);
33 void print_dumpword(WORD word, bool logicalmode);