Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!cottage!lm From: lm@cottage.UUCP Newsgroups: comp.arch Subject: Re: AM29000 Booleans Message-ID: <3540@spool.WISC.EDU> Date: Wed, 6-May-87 22:03:35 EDT Article-I.D.: spool.3540 Posted: Wed May 6 22:03:35 1987 Date-Received: Fri, 8-May-87 04:46:10 EDT References: <1270@aw.sei.cmu.edu> <138@neptune.AMD.COM> Sender: news@spool.WISC.EDU Reply-To: lm@cottage.WISC.EDU (Larry McVoy) Organization: U of Wisconsin CS Dept Lines: 28 In article <138@neptune.AMD.COM> brian@neptune.AMD.COM (Brian McMinn) writes: > >No, this is not a typo. All negative numbers are regarded as Boolean >TRUE. Although this does not correspond with the "C" language >definition of TRUE, it did gain some speed in the hardware. Since Could you please show the assembly language generated for the following, { int x; if (x) ; else ; if (!x) ; else ; } And tell me which will be executed for x = -1, 0, 1. Thanks much... --- Larry McVoy lm@cottage.wisc.edu or uwvax!mcvoy "What a wonderful world it is that has girls in it!" -L.L.