lc4_asm_disassembling/submit/lc4_disassembler.h

26 lines
732 B
C
Raw Normal View History

2024-11-13 09:37:18 +08:00
/************************************************************************/
/* File Name : lc4_disassembler.h */
/* Purpose : This function declares functions for lc4_dissembler.c */
/* */
/* */
/* Author(s) : tjf */
/************************************************************************/
#include <stdio.h>
#include "lc4_memory.h"
/*
* declarations of functions that must defined in lc4_disassembler.c
*/
/**
* translates the hex representation of arithmetic instructions
* into their assembly equivalent in the given linked list.
*
* returns 0 upon success, and non-zero if an error occurs.
*/
int reverse_assemble (row_of_memory* memory) ;