1 #ifndef YACASL2_WORD_H_INCLUDED
2 #define YACASL2_WORD_H_INCLUDED
13 /* WORD - 16ビットデータ型 */
14 typedef unsigned short WORD;
16 /* 10進数の文字列をWORD値に変換 */
17 WORD n2word(const char *str);
19 /* 16進数の文字列をWORD値に変換 */
20 WORD h2word(const char *str);
22 /* 10進数または16進数の文字列をWORD値に変換 */
23 WORD nh2word(const char *str);
25 /* WORD値を10進数の文字列に変換 */
26 char *word2n(WORD word);
28 /* WORD値を2進数の文字列に変換 */
29 char *word2bit(const WORD word);
32 void print_dumpword(WORD word, bool logicalmode);