From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ad84be6ce1cbae14 X-Google-Attributes: gid103376,public From: Robert A Duff Subject: Re: Take controll of the assignment operator Date: 2000/04/12 Message-ID: #1/1 X-Deja-AN: 610174749 Sender: bobduff@world.std.com (Robert A Duff) References: <38F2FF84.C44AC279@newtec.de> <38F437C5.D525C847@newtec.de> Organization: The World Public Access UNIX, Brookline, MA Newsgroups: comp.lang.ada Date: 2000-04-12T00:00:00+00:00 List-Id: Rainer Aigner writes: > And I want to make sure, that a read with the 8-bit type is performed by > a "load byte", > and the 16-bit type by a "load halfword" assembler statement. If you need exact control of which instructions are executed, then you need to write in assembly. Look at code statements (package Machine_Code) and intrinsics. These things are highly implementation dependent, so you need to read the documentation for the Ada compiler you're using. Try to write *most* of the code in portable Ada, and use assembly just where it's needed. - Bob