pico-sdk/tools/pioasm/pio_disassembler.h
graham sanderson efe2103f9b
Some checks failed
CMake / build (push) Has been cancelled
Build on macOS / build (push) Has been cancelled
Build on Windows / build (push) Has been cancelled
Multi GCC / build (push) Has been cancelled
SDK 2.0.0 release
2024-08-08 08:54:38 -05:00

24 lines
552 B
C++

/*
* Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef _PIO_DISASSEMBLER_H
#define _PIO_DISASSEMBLER_H
#ifdef __cplusplus
#include <string>
#include <cstdint>
#include "pio_types.h"
typedef unsigned int uint;
std::string disassemble(uint inst, uint sideset_bits, bool sideset_opt);
extern "C" void disassemble(char *buf, int buf_len, uint inst, uint sideset_bits, bool sideset_opt);
#else
void disassemble(char *buf, int buf_len, uint inst, uint sideset_bits, bool sideset_opt);
#endif
#endif