X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fword.h;h=7f11c5e8c8deba5bebf2509be06e9a29b51fd34e;hb=bf31ea99380e3ee2198f61f6510ebe6e4a3961f5;hp=24dea808455398312b4bf0e8ef873b8c6c7f095a;hpb=8a76ef9abe62fac15c40aebb64fbb8a541b78075;p=YACASL2.git diff --git a/include/word.h b/include/word.h index 24dea80..7f11c5e 100644 --- a/include/word.h +++ b/include/word.h @@ -1,12 +1,19 @@ #ifndef YACASL2_WORD_H_INCLUDED #define YACASL2_WORD_H_INCLUDED +#include #include #include #include #include +#include + +#include "cmem.h" #include "cerr.h" +/* wordのエラー定義 */ +bool addcerrlist_word(); + /* WORD - 16ビットデータ型 */ typedef unsigned short WORD; @@ -25,4 +32,7 @@ char *word2n(WORD word); /* WORD値を2進数の文字列に変換 */ char *word2bit(const WORD word); +/* WORD値を解析して表示 */ +void print_dumpword(WORD word, bool logicalmode); + #endif