ACSE 2.0.3
Advanced Compiler System for Education
Loading...
Searching...
No Matches
target_asm_print.h
Go to the documentation of this file.
1
3
4#ifndef TARGET_ASM_PRINT_H
5#define TARGET_ASM_PRINT_H
6
7#include <stdbool.h>
8#include <stdio.h>
9#include "program.h"
10
21
29char *registerIDToString(t_regID regID, bool machineRegIDs);
30
37bool printInstruction(t_instruction *inst, FILE *fp, bool machineRegIDs);
38
43bool writeAssembly(t_program *program, const char *fn);
44
48
49#endif
bool printInstruction(t_instruction *inst, FILE *fp, bool machineRegIDs)
bool writeAssembly(t_program *program, const char *fn)
char * registerIDToString(t_regID regID, bool machineRegIDs)
int t_regID
Type for register identifiers.
Definition program.h:28
Program object definition and management.