2 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
3 * See the copyright notice in the ACK home directory, in the file "Copyright".
5 #define RCSID5 "$Id: mach5.c,v 3.3 1994/06/24 13:34:04 ceriel Exp $"
8 * Signetics 2650 special routines
17 if(((DOTVAL - 1) & MASK1) == MASK1)
18 serror("page violation");
23 if(((DOTVAL - 1) & MASK1) >= MASK2)
24 serror("page violation");
35 if((DOTVAL & MASK) != (exp.val & MASK))
36 serror("relative address outside page");
42 * I (Duk Bekema) think the next two if's are meant to
43 * handle wrap around, but the original author didn't give
44 * any comment here and I don't know anything about the
56 newrelo(exp.typ, RELPC | RELO1);
68 if(pass == PASS_3 && (exp.val & MASK) != (DOTVAL & MASK))
69 serror("page violation");
72 newrelo(exp.typ, RELO2 | RELBR);
74 emit2(low13(exp.val) | ind | ix);
84 serror("branch to nonexistent memory");
87 newrelo(exp.typ, RELO2 | RELBR);