EightBit/M6502/HarteTest_6502/cycle_t.h
2024-01-06 12:17:15 +00:00

15 lines
281 B
C++

#pragma once
#include <string_view>
#include "simdjson/simdjson.h"
#include "byte_t.h"
class cycle_t final : public byte_t {
public:
cycle_t(simdjson::dom::array input) noexcept;
[[nodiscard]] auto action() const noexcept { return std::string(std::string_view(at(2))); }
};