projects/07/src/codewriter.h
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
#ifndef _CODEWRITER_H #define _CODEWRITER_H // 'codewriter.h' roughly corresponds to the 'CodeWriter' module specified in // nand2tetris, with a few liberties taken. #include <stdbool.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "parser.h" #include "util.h" #define _DEBUG bool write_instruction(struct vm_instruction_t *vm_instr, FILE *fp) { // TODO implement // STUB! return true; } #endif // _CODEWRITER_H |