6502-asm/codec.hh
2022-03-20 15:50:14 -07:00

13 lines
250 B
C++

#pragma once
#include <cstdint>
#include <map>
#include <tuple>
#include "isa.hh"
namespace codec {
extern const std::map<std::tuple<isa::op, isa::mode>, uint8_t>& encode();
const std::map<uint8_t, std::tuple<isa::op, isa::mode>>& decode();
}