EightBit/M6502/HarteTest_6502/cycle_t.h

16 lines
288 B
C
Raw Permalink Normal View History

#pragma once
#include <string_view>
#include "simdjson/simdjson.h"
#include "byte_t.h"
class cycle_t final : public byte_t {
public:
2024-01-10 14:41:37 +00:00
cycle_t(const simdjson::dom::array input) noexcept
: byte_t(input) {}
[[nodiscard]] auto action() const noexcept { return at(2).get_string(); }
};