EightBit/M6502/HarteTest_6502/cycle_t.h

15 lines
281 B
C
Raw Normal View History

#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))); }
};