lc4_asm_disassembling/submit/lc4_disassembler.c

19 lines
760 B
C

/************************************************************************/
/* File Name : lc4_disassembler.c */
/* Purpose : This file implements the reverse assembler */
/* for LC4 assembly. It will be called by main() */
/* */
/* Author(s) : tjf and you */
/************************************************************************/
#include <stdio.h>
#include "lc4_memory.h"
int reverse_assemble (row_of_memory* memory)
{
/* if you use binary constants, they should be proceeded by a 0b as in 0b011 for decimal 3 */
/* without the 0b, constants with leading zeroes will be considered octal constants, not binary */
/* hex constants starting with 0x can also be used */
return 0 ;
}