1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #ifndef ULMAS1_ENCODE_H
#define ULMAS1_ENCODE_H
#include <stdarg.h>
#include <stdint.h>
#include <stdio.h>
#include "cg.h"
uint32_t encodeInstr(enum CgSeg cgSeg, uint64_t addr, uint32_t opCode,
va_list vl);
uint64_t encodeExpr(enum CgSeg cgSeg, uint64_t addr, size_t numBytes,
struct Expr *expr);
void encodeFixables();
void encodePrintFixups(FILE *out);
#endif // ULMAS1_ENCODE_H
|