Add functions to compile programs for logisim

This commit is contained in:
2023-09-22 15:12:17 +02:00
parent 3636e08c3e
commit 451c6406c2
2 changed files with 108 additions and 0 deletions

View File

@@ -1,6 +1,18 @@
#ifndef ASSEMBLING_H
#define ASSEMBLING_H
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
/**
* @name assemble
* @return char*
* @brief Assemble into binary for chosen device. Returns pointer on success, zero on error.
*
* @param char* device: assemble_device
* @param char* tokens: assemble_tokens
*/
char* assemble (char* device, char* tokens);
#endif//ASSEMBLING_H