CS-PROJECTS / c02_assembler / DATAParser.h
DATAParser.h
Raw
#ifndef DATAPARSER_H
#define DATAPARSER_H

/**  Breaks up given MIPS32 assembly instruction and creates a proper 
 *   char* storing the machine code for data output.
 * 
 *   Pre:  pASM points to an array holding the bits (as chars) of variables
 *         defined within the program
 * 
 *   Returns:
 *         A pointer to a proper char* representation of binary machine code
 */
void parseDATA(char pDATA[], int count);

#endif