* Copyright (c) 1986 The Regents of the University of California.
* This code is derived from software contributed to Berkeley by
* %sccs.include.redist.c%
* @(#)Awrite_long.c 7.1 (Berkeley) %G%
write_longword (infop
, longword
, where
)
/* Put the longword at the given address in
/**************************************************/
if (! (where
->mode
& W
)) exception(infop
, ILL_ADDRMOD
);
switch (where
->mode
& ADDFIELD
) /* Mask out R/W bits */
put_longword (infop
, longword
, where
->address
);
Replace (infop
, where
->reg_number
, longword
);
printf("Unknown destination in write_long (alignment code)\n");