first ever upload

This commit is contained in:
2026-03-17 20:41:40 -06:00
parent 707b56703d
commit a8f30f6967
10 changed files with 271 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
#pragma once
#include <spider/runtime/cpu/Register.hpp>
namespace spider {
class CPU {
public: // General Purpose Registers
register_t RA, RB, RC, RD,
RX, RY, R0, R1,
R2, R3, R4, R5,
R6, R7, R8, R9;
public: // System Registers
u64 RF;
u64 RI;
u64 RS;
u64 RZ;
u64 RE;
u64 RN; // Epsilo(n)
u64 RV;
u64 RM;
public:
CPU();
~CPU();
};
}