HP3000-L Archives

January 1999, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Mon, 4 Jan 1999 17:51:19 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (35 lines)
Michale asks:

> I have a user who wants to read some COBOL packed decimal fields in C.  He
> informs me that there are some intrinsics for doing this but that they are
> not documented.  The intrinsics that he is interested in are: HPPACCVAD,
> HPPACCVBD, and HPPACCVDB.
>
> A search of the WWW finds a document regarding these intrinsics but they are
> quoting a Series 800 manual.  Are these "intrinsics" callable on the
> HP/3000?  Under Posix?


<plug>
CSEQ [2.4] - LPS Toolbox [A.04a]            (c) 1995 Lund Performance Solutions

Procedure HPPACCVAD (
   addr1        : anyvar record  ;        {R26, @32 ->  8}
   len1         :        int32   ;        {R25}
   addr2        : anyvar record  ;        {R24, @32 ->  8}
   len2         :        int32   ;        {R23}
   Parm_5       : var    int32   ;        {SP-$0034} := nil, align 32}
   Parm_6       : var    int32   )        {SP-$0038} := nil, align 32}
   {Contact HP for documentation                                       }
</plug>

Looks like they're on MPE/iX.

Sure...call them from C under POSIX, if you want.  Just get the calling
sequence correct (#pragma intrinsic for HP C, <correct-definition> for
gcc)

--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2