X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fstruct.h;h=05ff5f9f53cdda7b270a37858d939c37543dcef6;hp=dd69d212424d9e813795546f48f0fc35dcd2536f;hb=80d4fc2d9a7022362c88cac0adbddd32ce7a3a62;hpb=d1f82970bf7d41db2fea11b08cd8e308f6cb8138 diff --git a/include/struct.h b/include/struct.h index dd69d21..05ff5f9 100644 --- a/include/struct.h +++ b/include/struct.h @@ -1,6 +1,7 @@ #ifndef YACASL2_CASL2_INCLUDED #define YACASL2_CASL2_INCLUDED +#include #include "word.h" /** @@ -8,7 +9,7 @@ */ enum { CMDSIZE = 4, /**<命令の最大文字数 */ - GRSIZE = 8, /**<汎用レジスタの数。COMET II規格により0から7までの8つ */ + GRSIZE = 8, /**<汎用レジスタの数。COMET II規格では、8(0から7) */ DEFAULT_MEMSIZE = 512, /**<デフォルトのメモリ容量。COMET II規格では、65535語(word) */ DEFAULT_CLOCKS = 5000000, /**<デフォルトのクロック周波数。COMET II規格では、未定義 */ }; @@ -39,79 +40,82 @@ typedef struct { CPU *cpu; /**