merged cricon.c+crfcon.c+crucon.c into crxcon.c
This commit is contained in:
parent
85da3bcac1
commit
b821194cbd
|
@ -12,12 +12,10 @@ convert.c
|
||||||
crcst.c
|
crcst.c
|
||||||
crdlb.c
|
crdlb.c
|
||||||
crdnam.c
|
crdnam.c
|
||||||
crfcon.c
|
crxcon.c
|
||||||
cricon.c
|
|
||||||
crilb.c
|
crilb.c
|
||||||
crpnam.c
|
crpnam.c
|
||||||
crscon.c
|
crscon.c
|
||||||
crucon.c
|
|
||||||
cst.c
|
cst.c
|
||||||
dfdlb.c
|
dfdlb.c
|
||||||
dfdnam.c
|
dfdnam.c
|
||||||
|
|
|
@ -7,8 +7,8 @@ AR = ar
|
||||||
SUF = o
|
SUF = o
|
||||||
LIBSUF = a
|
LIBSUF = a
|
||||||
SRC = bhcst.c bhdlb.c bhdnam.c bhfcon.c bhicon.c bhilb.c bhpnam.c bhucon.c \
|
SRC = bhcst.c bhdlb.c bhdnam.c bhfcon.c bhicon.c bhilb.c bhpnam.c bhucon.c \
|
||||||
crcst.c crdlb.c crdnam.c crfcon.c cricon.c crilb.c crpnam.c crscon.c \
|
crcst.c crdlb.c crdnam.c crxcon.c crilb.c crpnam.c crscon.c \
|
||||||
crucon.c cst.c dfdlb.c dfdnam.c dfilb.c dlb.c dnam.c end.c endarg.c \
|
cst.c dfdlb.c dfdnam.c dfilb.c dlb.c dnam.c end.c endarg.c \
|
||||||
exc.c fcon.c getid.c icon.c ilb.c insert.c internerr.c \
|
exc.c fcon.c getid.c icon.c ilb.c insert.c internerr.c \
|
||||||
msend.c op.c opcst.c opdlb.c opdnam.c opilb.c opnarg.c oppnam.c pnam.c \
|
msend.c op.c opcst.c opdlb.c opdnam.c opilb.c opnarg.c oppnam.c pnam.c \
|
||||||
pro.c pronarg.c msstart.c psdlb.c psdnam.c pspnam.c scon.c ucon.c \
|
pro.c pronarg.c msstart.c psdlb.c psdnam.c pspnam.c scon.c ucon.c \
|
||||||
|
@ -57,7 +57,7 @@ opr:
|
||||||
make pr | opr
|
make pr | opr
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.$(SUF) *.$(LIBSUF) em_code.3
|
rm -f *.$(SUF) *.$(LIBSUF) em_code.3 em_codeEK.h
|
||||||
|
|
||||||
lintlib: make.sh
|
lintlib: make.sh
|
||||||
lint -I. -I../../h -I../../../h -Ceme -DREADABLE_EM $(SRC)
|
lint -I. -I../../h -I../../../h -Ceme -DREADABLE_EM $(SRC)
|
||||||
|
|
15
modules/src/em_code/crxcon.c
Normal file
15
modules/src/em_code/crxcon.c
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#include "em_private.h"
|
||||||
|
|
||||||
|
/* $Header$ */
|
||||||
|
|
||||||
|
CC_crxcon(op, spec, v, s)
|
||||||
|
char *v;
|
||||||
|
arith s;
|
||||||
|
{
|
||||||
|
/* CON or ROM with argument ICON(v,z)
|
||||||
|
*/
|
||||||
|
PS(op);
|
||||||
|
WCON(spec, v, s);
|
||||||
|
CEND();
|
||||||
|
NL();
|
||||||
|
}
|
|
@ -88,7 +88,9 @@ C_putbyte(c)
|
||||||
Xputbyte(c);
|
Xputbyte(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BIGMACHINE
|
||||||
#define C_putbyte Xputbyte
|
#define C_putbyte Xputbyte
|
||||||
|
#endif
|
||||||
|
|
||||||
C_init(w, p)
|
C_init(w, p)
|
||||||
arith w, p;
|
arith w, p;
|
||||||
|
|
|
@ -42,9 +42,9 @@
|
||||||
#define C_hol_pnam(n,s,i) CC_bhpnam(ps_hol,n,s,i)
|
#define C_hol_pnam(n,s,i) CC_bhpnam(ps_hol,n,s,i)
|
||||||
|
|
||||||
#define C_con_cst(v) CC_crcst(ps_con,v)
|
#define C_con_cst(v) CC_crcst(ps_con,v)
|
||||||
#define C_con_icon(v,s) CC_cricon(ps_con,v,s)
|
#define C_con_icon(v,s) CC_crxcon(ps_con,sp_icon,v,s)
|
||||||
#define C_con_ucon(v,s) CC_crucon(ps_con,v,s)
|
#define C_con_ucon(v,s) CC_crxcon(ps_con,sp_ucon,v,s)
|
||||||
#define C_con_fcon(v,s) CC_crfcon(ps_con,v,s)
|
#define C_con_fcon(v,s) CC_crxcon(ps_con,sp_fcon,v,s)
|
||||||
#define C_con_scon(v,s) CC_crscon(ps_con,v,s)
|
#define C_con_scon(v,s) CC_crscon(ps_con,v,s)
|
||||||
#define C_con_dnam(v,s) CC_crdnam(ps_con,v,s)
|
#define C_con_dnam(v,s) CC_crdnam(ps_con,v,s)
|
||||||
#define C_con_dlb(v,s) CC_crdlb(ps_con,v,s)
|
#define C_con_dlb(v,s) CC_crdlb(ps_con,v,s)
|
||||||
|
@ -52,9 +52,9 @@
|
||||||
#define C_con_pnam(v) CC_crpnam(ps_con,v)
|
#define C_con_pnam(v) CC_crpnam(ps_con,v)
|
||||||
|
|
||||||
#define C_rom_cst(v) CC_crcst(ps_rom,v)
|
#define C_rom_cst(v) CC_crcst(ps_rom,v)
|
||||||
#define C_rom_icon(v,s) CC_cricon(ps_rom,v,s)
|
#define C_rom_icon(v,s) CC_crxcon(ps_rom,sp_icon,v,s)
|
||||||
#define C_rom_ucon(v,s) CC_crucon(ps_rom,v,s)
|
#define C_rom_ucon(v,s) CC_crxcon(ps_rom,sp_ucon,v,s)
|
||||||
#define C_rom_fcon(v,s) CC_crfcon(ps_rom,v,s)
|
#define C_rom_fcon(v,s) CC_crxcon(ps_rom,sp_fcon,v,s)
|
||||||
#define C_rom_scon(v,s) CC_crscon(ps_rom,v,s)
|
#define C_rom_scon(v,s) CC_crscon(ps_rom,v,s)
|
||||||
#define C_rom_dnam(v,s) CC_crdnam(ps_rom,v,s)
|
#define C_rom_dnam(v,s) CC_crdnam(ps_rom,v,s)
|
||||||
#define C_rom_dlb(v,s) CC_crdlb(ps_rom,v,s)
|
#define C_rom_dlb(v,s) CC_crdlb(ps_rom,v,s)
|
||||||
|
@ -83,3 +83,7 @@
|
||||||
#ifndef op_lol
|
#ifndef op_lol
|
||||||
#include <em_mnem.h>
|
#include <em_mnem.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef sp_icon
|
||||||
|
#include <em_spec.h>
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue