mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-19 21:55:11 +00:00
Adding internal registers for the CPU
This commit is contained in:
@@ -3,10 +3,34 @@
|
||||
//
|
||||
|
||||
#include "CPU.hpp"
|
||||
#include "../Exceptions/NotImplementedException.hpp"
|
||||
|
||||
namespace ComSquare::CPU
|
||||
{
|
||||
CPU::CPU(std::shared_ptr<ComSquare::MemoryBus> bus)
|
||||
: _bus(bus)
|
||||
{ }
|
||||
|
||||
uint8_t CPU::read(uint24_t addr)
|
||||
{
|
||||
(void)addr;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
void CPU::write(uint24_t addr, uint8_t data)
|
||||
{
|
||||
(void)addr;
|
||||
(void)data;
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
int CPU::update()
|
||||
{
|
||||
throw NotImplementedException();
|
||||
}
|
||||
|
||||
int CPU::executeInstruction()
|
||||
{
|
||||
throw NotImplementedException();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user