* PURPOSE.
*/
-/*
- * Author: Matthias Braun
- * Date: 12.03.2007
- * Copyright: (c) Universitaet Karlsruhe
- * License: This file is protected by GPL - GNU GENERAL PUBLIC LICENSE.
+/**
+ * @file
+ * @brief Interface for assembler output.
+ * @author Matthias Braun
+ * @date 12.03.2007
+ * @version $Id$
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#include "beemitter.h"
#include "irprintf.h"
+#include "ident.h"
+#include "tv.h"
void be_emit_init_env(be_emit_env_t *env, FILE *F)
{
be_emit_string_len(env, str, len);
}
+void be_emit_tarval(be_emit_env_t *env, tarval *tv)
+{
+ char buf[64];
+
+ tarval_snprintf(buf, sizeof(buf), tv);
+ be_emit_string(env, buf);
+}
+
void be_emit_irvprintf(be_emit_env_t *env, const char *fmt, va_list args)
{
char buf[256];