summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp/Veater_computer__main.cpp
diff options
context:
space:
mode:
authoruvok2026-01-22 19:37:00 +0100
committeruvok2026-01-22 19:37:00 +0100
commit48d11484cc6e0b26627af6259e238fe29421962c (patch)
treef3462f365ddcaba10fd5a9b69ac667b655590bf4 /eater_cpu/cpp/Veater_computer__main.cpp
parent32dab1dcf0f70af7e987a4532724d6e055533764 (diff)
Implement STA
Diffstat (limited to 'eater_cpu/cpp/Veater_computer__main.cpp')
-rw-r--r--eater_cpu/cpp/Veater_computer__main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/eater_cpu/cpp/Veater_computer__main.cpp b/eater_cpu/cpp/Veater_computer__main.cpp
index c415454..fbfc978 100644
--- a/eater_cpu/cpp/Veater_computer__main.cpp
+++ b/eater_cpu/cpp/Veater_computer__main.cpp
@@ -24,6 +24,9 @@ void load_program(const std::unique_ptr<Veater_computer> &topp) {
0x2f,
// SUB 13
0x3d,
+ // STA 12
+ 0x4c,
+
// OUT
0xe0,
// NOP