first ever upload
This commit is contained in:
29
src/spider/runtime/cpu/CPU.hpp
Normal file
29
src/spider/runtime/cpu/CPU.hpp
Normal 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();
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user