OpenCores
URL https://opencores.org/ocsvn/eco32/eco32/trunk

Subversion Repositories eco32

[/] [eco32/] [tags/] [eco32-0.22/] [monitor/] [monitor-digilent/] [main.c] - Blame information for rev 211

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 16 hellwig
/*
2
 * main.c -- the main program
3
 */
4
 
5
 
6
#include "common.h"
7
#include "stdarg.h"
8
#include "romlib.h"
9
#include "command.h"
10
#include "getline.h"
11
#include "instr.h"
12
#include "cpu.h"
13
 
14
 
15
int main(void) {
16
  char *line;
17
 
18
  printf("\n\nECO32 Machine Monitor 1.1\n\n");
19
  initInstrTable();
20
  cpuSetPC(0xC0000000);
21
  while (1) {
22
    line = getLine("ECO32 > ");
23
    addHist(line);
24
    execCommand(line);
25
  }
26
  return 0;
27
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.