ack/mach/i386/ce/mach.c

40 lines
673 B
C
Raw Permalink Normal View History

1989-02-08 14:57:48 +00:00
#define CODE_EXPANDER
#include <system.h>
#include "back.h"
#include "mach.h"
#ifdef DEBUG
arg_error( s, arg)
char *s;
int arg;
{
fprint( STDERR, "arg_error %s %d\n", s, arg);
}
#endif
int push_waiting = FALSE;
int fit_byte( val)
int val;
{
return( val >= -128 && val <= 127);
}
#define IEEEFLOAT
#define FL_MSL_AT_LOW_ADDRESS 0
#define FL_MSW_AT_LOW_ADDRESS 0
#define FL_MSB_AT_LOW_ADDRESS 0
1989-07-31 11:22:43 +00:00
#include <con_float>
1989-02-08 14:57:48 +00:00
/* as long as we generate assembler ...
do_open(filename)
char *filename;
{
if (filename == 0 || ! sys_open(filename, OP_WRITE, &codefile))
return FALSE;
fprint( codefile, ".sect .text; .sect .rom; .sect .data; .sect .bss\n"); return TRUE;
}
*/