* アセンブルのエラー定義
*/
static CERR cerr_assemble[] = {
- { 101, "label already defined" },
- { 102, "label table is full" },
- { 103, "label not found" },
{ 106, "operand mismatch in assemble command" },
{ 107, "no label in START" },
{ 108, "not command of operand \"r\"" },
int main(int argc, char *argv[])
{
int memsize = DEFAULT_MEMSIZE, clocks = DEFAULT_CLOCKS;
- int opt, status = 0;
+ int opt, stat = 0;
const char *usage = "Usage: %s [-tTdh] [-M <MEMORYSIZE>] [-C <CLOCKS>] FILE\n";
cerr_init();
}
/* COMET II仮想マシンのシャットダウン */
shutdown();
- status = (cerr->num == 0) ? 0 : -1;
+ stat = (cerr->num == 0) ? 0 : -1;
/* エラーの解放 */
freecerr();
- return status;
+ return stat;
}