X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fstruct.h;h=e862786713a1b49f983d13695e45f4f929b5f810;hp=dd69d212424d9e813795546f48f0fc35dcd2536f;hb=71c7607d809b725d66ef21471041e2677c71be4e;hpb=d1f82970bf7d41db2fea11b08cd8e308f6cb8138 diff --git a/include/struct.h b/include/struct.h index dd69d21..e862786 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,7 +40,7 @@ typedef struct { CPU *cpu; /**