Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!linus!vaxine!wjh12!genrad!decvax!harpo!floyd!cmcl2!seismo!rlgvax!cvl!umcp-cs!mark From: mark@umcp-cs.UUCP Newsgroups: net.lang.c Subject: Re: 8bit 6809 ints Message-ID: <7539@umcp-cs.UUCP> Date: Mon, 18-Jun-84 21:56:34 EDT Article-I.D.: umcp-cs.7539 Posted: Mon Jun 18 21:56:34 1984 Date-Received: Thu, 21-Jun-84 04:29:48 EDT References: <899@sri-arpa.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 13 The Vandata C cross-compiler we use for our z-80 work has compile time options one sets to get the following behaviors: 1. normal, promote arithmetic on chars to 16 bits before performing. 2. faster, don't promote arithmetic on chars to 16, leave it at 8-bits except for subroutine arguements. 3. fastest but dangerous, don't even promote chars in arguments. This allows you to write code using chars where you know the values fit in 8 bits, and the compiler will generate fast 8-bit op-codes if you ask it to. -- Spoken: Mark Weiser ARPA: mark@maryland CSNet: mark@umcp-cs UUCP: {seismo,allegra}!umcp-cs!mark