X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=include%2Fexec.h;h=7940829cd4923b59d708b362572f0d12c559d264;hp=432d3fd939509fa55348d5e8a9028a5de8cc3aef;hb=2f0b91ab1a54973a084e1609b46a1432c8b8e334;hpb=170d5903618ef67fae20a54cac942ca8b8821f10 diff --git a/include/exec.h b/include/exec.h index 432d3fd..7940829 100644 --- a/include/exec.h +++ b/include/exec.h @@ -23,11 +23,12 @@ typedef struct { bool trace; /**<レジストリの内容をステップごとに表示する場合はtrue */ bool logical; /**<レジストリの内容を論理値(0から65535)で表示する場合はtrue */ bool dump; /**<メモリの内容をステップごとに表示する場合はtrue */ - bool step; /**<ステップ実行の場合はtrue */ + bool monitor; /**<モニターモードの場合はtrue */ + bool step; /**<ステップ実行の場合はtrue */ } EXECMODE; /** - * @brief 実行モード: trace, logical, dump, step + * @brief 実行モード: trace, logical, dump, monitor, step */ extern EXECMODE execmode; @@ -43,17 +44,13 @@ void addcerrlist_load(); /** * @brief 指定されたファイルからアセンブル結果を読み込む - */ -bool loadassemble(const char *file); - -/** - * @brief 汎用レジスタの番号からレジスタを表す文字列を返す * - * @return 汎用レジスタを表す文字列。「GR0」「GR1」・・・「GR7」のいずれか + * @return 読み込み終了アドレス。読み込めなかった場合は、0 * - * @param word レジスタ番号[0-7]を表すWORD値 + * @param file 読み込むファイル名 + * @param start 読み込み開始アドレス */ -char *grstr(WORD word); +WORD loadassemble(const char *file, WORD start); /** * @class Exec