diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-04-10 19:38:40 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2021-04-10 19:38:40 +0200 |
commit | 6e3e5e6aaf1bc9b8f2d787fdf5f9bbd714776b5d (patch) | |
tree | 101e0425ac695b03a139ffaf9e54cf8f7581eb5a /pysc-v/main.py | |
parent | af13bf2b02503c1af010a4ce3cef22e4efbc4dae (diff) |
reorder everything
Diffstat (limited to 'pysc-v/main.py')
-rw-r--r-- | pysc-v/main.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pysc-v/main.py b/pysc-v/main.py new file mode 100644 index 0000000..2d6f6a5 --- /dev/null +++ b/pysc-v/main.py @@ -0,0 +1,5 @@ +# Use a generator for the execution flow +# -> PC has to be a global variable, updated by each instruction to the next val +# So user can set the PC by hand and call next(run) and make the code jump! + + |