// Copyright 2022 xensik. All rights reserved.
//
// Use of this source code is governed by a GNU GPLv3 license
// that can be found in the LICENSE file.

#include "stdafx.hpp"
#include "t4.hpp"

namespace xsk::gsc::t4
{

auto opcode_size(std::uint8_t id) -> std::uint32_t
{
    switch (opcode(id))
    {
        default:
            throw error("Couldn't resolve instruction size for " + std::to_string(id));
    }
}

} // namespace xsk::gsc::t4
