URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [tags/] [eco32-0.22/] [monitor/] [monitor/] [main.c] - Rev 224
Go to most recent revision | Compare with Previous | Blame | View Log
/* * main.c -- the main program */ #include "common.h" #include "stdarg.h" #include "romlib.h" #include "command.h" #include "getline.h" #include "instr.h" #include "cpu.h" int main(void) { char *line; printf("\n\nECO32 Machine Monitor 1.0\n\n"); initInstrTable(); cpuSetPC(0xC0000000); while (1) { line = getLine("ECO32 > "); addHist(line); execCommand(line); } return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log