X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fstruct.h;h=e862786713a1b49f983d13695e45f4f929b5f810;hp=f98de142686c1f349ff149fc6f9f94f487f41309;hb=71c7607d809b725d66ef21471041e2677c71be4e;hpb=a639337a9aa30a059c1695ab1701b8714fd26193 diff --git a/include/struct.h b/include/struct.h index f98de14..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; /**