#pragma once #include #include // Machine geometry the tools use unless something says otherwise: how wide a // cell is in bits, and how many cells the tape holds. The instruction set does // not fix either (ROR just rotates inside a cell and the tape is a ring), so // these are the only places the old 8 bit / 256 cell assumptions live. inline constexpr size_t kDefaultCellSize = 11; inline constexpr size_t kDefaultMemoryCells = 259; inline constexpr uint32_t kDefaultCellMask = (1u << kDefaultCellSize) - 1u;