Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!apple!vsi1!wyse!mips!mash From: mash@mips.COM (John Mashey) Newsgroups: comp.sys.mips Subject: Re: R2000/R3000 Instruction Set Message-ID: <23985@winchester.mips.COM> Date: 25 Jul 89 01:07:54 GMT References: <1989Jul24.154416.14251@cs.rochester.edu> Reply-To: mash@mips.COM (John Mashey) Distribution: usa Organization: MIPS Computer Systems, Inc. Lines: 15 In article <1989Jul24.154416.14251@cs.rochester.edu> crummey@cs.rochester.edu (John M. Mellor-Crummey) writes: >I don't have access to a MIPS data book and I am interested in knowing >whether either the R2000/R3000 chips support some sort of arithmetic >operations with trap on exceptional conditions (e.g., add with trap on >overflow or subtract with trap on negative). Do the MIPS chips support >some such instruction, or do all exceptional conditions have to be >tested explicitly? Arithmetic adds & subtracts [ADD, SUB, ADDI] can cause overflow exceptions, hence need no explicit test. -- -john mashey DISCLAIMER: UUCP: {ames,decwrl,prls,pyramid}!mips!mash OR mash@mips.com DDD: 408-991-0253 or 408-720-1700, x253 USPS: MIPS Computer Systems, 930 E. Arques, Sunnyvale, CA 94086