EightBit/M6502/HarteTest_6502/cycle_t.h
2024-03-08 19:17:02 +00:00

16 lines
288 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(const simdjson::dom::array input) noexcept
: byte_t(input) {}
[[nodiscard]] auto action() const noexcept { return at(2).get_string(); }
};