projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
comet2monitorの追加と、モニター機能作成
[YACASL2.git]
/
include
/
struct.h
diff --git
a/include/struct.h
b/include/struct.h
index
9064d5f
..
e36c13f
100644
(file)
--- a/
include/struct.h
+++ b/
include/struct.h
@@
-85,7
+85,7
@@
typedef enum {
/**
* オペランドなし
*/
/**
* オペランドなし
*/
- NONE = 0
0
,
+ NONE = 0,
} CMDTYPE;
/**
} CMDTYPE;
/**
@@
-125,6
+125,15
@@
typedef struct {
extern EXECPTR *execptr;
extern EXECPTR *execptr;
+/**
+ * @brief 汎用レジスタの番号からレジスタを表す文字列を返す
+ *
+ * @return 汎用レジスタを表す文字列。「GR0」「GR1」・・・「GR7」のいずれか
+ *
+ * @param word レジスタ番号[0-7]を表すWORD値
+ */
+char *grstr(WORD word);
+
/**
* COMET II仮想マシンのリセット
*/
/**
* COMET II仮想マシンのリセット
*/