summaryrefslogtreecommitdiff
path: root/eater_cpu/cpp
diff options
context:
space:
mode:
authoruvok2026-01-22 19:43:31 +0100
committeruvok2026-01-22 19:43:31 +0100
commit63ca6b95b1f06f18ade4e58ba7ba42b09eeeb5d5 (patch)
treea830cf00225de858a08ae0e43a9a97605517e39b /eater_cpu/cpp
parent48d11484cc6e0b26627af6259e238fe29421962c (diff)
Implement LDI
Diffstat (limited to 'eater_cpu/cpp')
-rw-r--r--eater_cpu/cpp/Veater_computer__main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/eater_cpu/cpp/Veater_computer__main.cpp b/eater_cpu/cpp/Veater_computer__main.cpp
index fbfc978..4de8454 100644
--- a/eater_cpu/cpp/Veater_computer__main.cpp
+++ b/eater_cpu/cpp/Veater_computer__main.cpp
@@ -29,6 +29,8 @@ void load_program(const std::unique_ptr<Veater_computer> &topp) {
// OUT
0xe0,
+ // LDI 4
+ 0x54,
// NOP
0x00,
// HALT