summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'eater_cpu/cpp')
-rw-r--r--eater_cpu/cpp/Veater_computer__main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/eater_cpu/cpp/Veater_computer__main.cpp b/eater_cpu/cpp/Veater_computer__main.cpp
index b4cd413..40b39b3 100644
--- a/eater_cpu/cpp/Veater_computer__main.cpp
+++ b/eater_cpu/cpp/Veater_computer__main.cpp
@@ -22,11 +22,12 @@ void load_program(const std::unique_ptr<Veater_computer> &topp) {
0x1e,
// ADD 15
0x2f,
- // SUB 13
- 0x3d,
// STA 12
0x4c,
-
+ // SUB 13
+ 0x3d,
+ // STA 11
+ 0x4b,
// OUT
0xe0,
// LDI 4