diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-03 22:43:07 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-03 22:43:07 +0100 |
commit | 1847bba4d356264268116d7d0b313b86e0af7c5b (patch) | |
tree | 78ed2fb08ce6f3534ca00afefb6fdc0588a5c97c /monitor | |
parent | 1b32dfecc4fd1c9d9d024bb053c43ea17021cc65 (diff) | |
download | SystDigit-Projet-1847bba4d356264268116d7d0b313b86e0af7c5b.tar.gz SystDigit-Projet-1847bba4d356264268116d7d0b313b86e0af7c5b.zip |
CPU all implemented except missing ALU operations.
Diffstat (limited to 'monitor')
-rwxr-xr-x | monitor/mon | bin | 17231 -> 17247 bytes | |||
-rw-r--r-- | monitor/mon.c | 2 |
2 files changed, 2 insertions, 0 deletions
diff --git a/monitor/mon b/monitor/mon Binary files differindex 03e4012..9da1072 100755 --- a/monitor/mon +++ b/monitor/mon diff --git a/monitor/mon.c b/monitor/mon.c index b876559..41182a8 100644 --- a/monitor/mon.c +++ b/monitor/mon.c @@ -152,6 +152,8 @@ void mon_step(t_mon *mon) { ticker = 1; } if (mon->ticker_input != -1) { + if (mon->inputs[mon->ticker_input].size == 1) + ticker = (ticker != 0 ? 1 : 0); sprintf(mon->inputs[mon->ticker_input].value, "/%d", ticker); } |