diff options
author | bd <bdunahu@operationnull.com> | 2025-04-17 17:20:48 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-17 17:20:48 -0400 |
commit | c7c531ce16fe66bf9f3bcb04ea9294d50a41e348 (patch) | |
tree | 4bc2b191f65352d951741d1deffa88492371609b /gui/worker.cc | |
parent | f6f2f32b6dbd1b1e60052cb67f40864c3b5bd74b (diff) |
HALT instruction... but it voids future stages' instructions
Diffstat (limited to 'gui/worker.cc')
-rw-r--r-- | gui/worker.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/worker.cc b/gui/worker.cc index 08503c9..defec46 100644 --- a/gui/worker.cc +++ b/gui/worker.cc @@ -33,6 +33,8 @@ void Worker::doWork() p.push_back(0b00000000000000000000000110100110); p.push_back(0b00000000000000000000000111100110); p.push_back(0b00000000000000000000001000100110); + p.push_back(0b00000000000000000000000000101110); + p.push_back(0b00000000000000000000000000101110); p.push_back(0b00000000000000000000000000010000); // p.push_back(0b00000000000000000010100010001101); @@ -118,7 +120,7 @@ void Worker::runSteps(int steps) void Worker::runStep() { qDebug() << "Running for 1 step "; - this->ct->advance(WAIT); + this->ct->run_for(1); emit dram_storage(this->d->view(0, 256)); emit cache_storage(this->c->view(24, 8)); emit register_storage(this->ct->get_gprs()); |