1*45760Sbostic /*- 2*45760Sbostic * Copyright (c) 1986 The Regents of the University of California. 3*45760Sbostic * All rights reserved. 4*45760Sbostic * 5*45760Sbostic * This code is derived from software contributed to Berkeley by 6*45760Sbostic * Computer Consoles Inc. 7*45760Sbostic * 8*45760Sbostic * %sccs.include.redist.c% 9*45760Sbostic * 10*45760Sbostic * @(#)Asuba.c 7.1 (Berkeley) 12/06/90 11*45760Sbostic */ 1229638Ssam 1345699Sbostic #include "align.h" suba(infop)1429638Ssamsuba(infop) process_info *infop; 1529638Ssam /* 1629638Ssam /* Subtract address. 1729638Ssam /* 1829638Ssam /****************************/ 1929638Ssam { 2029638Ssam register int data0, data1, result; 2129638Ssam 2229638Ssam data0 = operand(infop,0)->data; 2329638Ssam data1 = operand(infop,1)->data; 2429638Ssam result = data1 - data0; 2529638Ssam write_back (infop,result, operand(infop,1)); 2629638Ssam } 27