projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dumpwordコマンド実行時やレジスタの内容を表示するときに、対応する文字を表示するよう仕様変更
[YACASL2.git]
/
include
/
word.h
diff --git
a/include/word.h
b/include/word.h
index
24dea80
..
6d83ef0
100644
(file)
--- a/
include/word.h
+++ b/
include/word.h
@@
-1,10
+1,13
@@
#ifndef YACASL2_WORD_H_INCLUDED
#define YACASL2_WORD_H_INCLUDED
#ifndef YACASL2_WORD_H_INCLUDED
#define YACASL2_WORD_H_INCLUDED
+#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <ctype.h>
+#include <stdbool.h>
+
#include "cerr.h"
/* WORD - 16ビットデータ型 */
#include "cerr.h"
/* WORD - 16ビットデータ型 */
@@
-25,4
+28,7
@@
char *word2n(WORD word);
/* WORD値を2進数の文字列に変換 */
char *word2bit(const WORD word);
/* WORD値を2進数の文字列に変換 */
char *word2bit(const WORD word);
+/* WORD値を解析して表示 */
+void print_dumpword(WORD word, bool logicalmode);
+
#endif
#endif