contur2
Loading...
Searching...
No Matches
block.h File Reference

Block — the fundamental unit of simulated memory. More...

#include <cstdint>
#include "contur/arch/instruction.h"
Include dependency graph for block.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  contur::Block
 A single memory cell in the simulated architecture. More...

Namespaces

namespace  contur

Detailed Description

Block — the fundamental unit of simulated memory.

Each Block represents a single cell in physical memory. In interpreted mode, blocks store an instruction opcode, a register index, an integer operand, and a state flag. This is the "Command" pattern — each block is a self-contained instruction that the CPU can fetch, decode, and execute.

Definition in file block.h.