diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-11-12 16:15:59 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2013-11-12 16:15:59 +0100 |
commit | b6b536727b7e3cb0dc0463ab6a4bdec757ff466b (patch) | |
tree | 70da98d1c5155740d766b5712ff6aa044ef78e4b /csim/sim.c | |
parent | f4deea25fd83783c087d7b5023b68bc27f30476f (diff) | |
download | SystDigit-Projet-b6b536727b7e3cb0dc0463ab6a4bdec757ff466b.tar.gz SystDigit-Projet-b6b536727b7e3cb0dc0463ab6a4bdec757ff466b.zip |
Minor changes.
Diffstat (limited to 'csim/sim.c')
-rw-r--r-- | csim/sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ t_machine *init_machine (t_program *p) { char *o = p->vars[i].name + 1; while (*o) { if (*o == '1') m->var_values[i] |= a; - a >>= 1; + a <<= 1; o++; } } |