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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c6f7518956a9a842 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news1.google.com!news.glorb.com!wns13feed!worldnet.att.net!attbi_s03.POSTED!not-for-mail From: "Jeff C," Newsgroups: comp.lang.ada References: <19b0e504.0405180913.33db54ed@posting.google.com> Subject: Re: Inline ASM X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: <4Qwqc.74142$536.12047899@attbi_s03> NNTP-Posting-Host: 24.147.74.171 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s03 1084922240 24.147.74.171 (Tue, 18 May 2004 23:17:20 GMT) NNTP-Posting-Date: Tue, 18 May 2004 23:17:20 GMT Organization: Comcast Online Date: Tue, 18 May 2004 23:17:21 GMT Xref: controlnews3.google.com comp.lang.ada:673 Date: 2004-05-18T23:17:21+00:00 List-Id: "Dan McLeran" wrote in message news:19b0e504.0405180913.33db54ed@posting.google.com... > First of all, let me say that I am using Gnat 3.15p. Now the problem. > I have a piece of C code that outports 16-bit values to an ISA-bus > card. It seemed that I should be able to do this from within Ada, > using the Asm capabilities. I have been able to embed other Asm > instructions with success but this one is frustrating me. I keep > getting this error message: > > "Error: suffix or operands invalid for 'out'" > perhaps you need to use outw instead of out since it is a 16 bit value you are passing and this is going directly to the assembler?