1 /* $Id: mach.c,v 1.8 1994/06/24 12:54:26 ceriel Exp $ */
3 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4 * See the copyright notice in the ACK home directory, in the file "Copyright".
6 con_part(sz,w) register sz; word w; {
10 if (part_size == TEM_WSIZE)
24 con_mult(sz) word sz; {
28 fatal("bad icon/ucon size");
29 fprintf(codefile,".data4 %ld\n", atol(str));
36 if (argval != 4 && argval != 8)
37 fatal("bad fcon size");
38 fprintf(codefile,".data4\t");
40 fprintf(codefile,"F_DUM,");
41 fprintf(codefile,"F_DUM\n");
44 fprintf(stderr,"Warning : dummy float-constant(s)\n");
48 prolog(nlocals) full nlocals; {
50 fprintf(codefile,"\tjsr Pro\n");
55 "\tldx #[%d].h\n\tlda #[%d].l\n\tjsr Lcs\n",
59 mes(type) word type; {
62 switch ( (int)type ) {
66 ptyp(sp_cend)|ptyp(sp_pnam)|sym_ptyp) ) {
71 fprintf(codefile,".define %s\n",argstr) ;
76 while ( getarg(any_ptyp) != sp_cend ) ;
82 ".sect .text", /* SEGTXT */
83 ".sect .data", /* SEGCON */
84 ".sect .rom", /* SEGROM */
85 ".sect .bss" /* SEGBSS */