HP3000-L Archives

December 1998, Week 3

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:
Bruce Toback <[log in to unmask]>
Reply To:
Bruce Toback <[log in to unmask]>
Date:
Tue, 15 Dec 1998 11:14:02 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
Lane Rollins writes:

>I'm working from home today and don't have the C/ix manual... what is the
>#pragma to get a struct to align data on 16 bit boundries. Like on a classic
>3000. I've got a struct for an image dataset that isn't cooperating.

It's

    #pragma HP_ALIGN MPE_16 [PUSH]


Use #pragma HP_ALIGN POP or
    #pragma HP_ALIGN HPUX_NATURAL to restore 32-bit alignment.

-- Bruce (who wishes this had been available at the first C/iX release)


--------------------------------------------------------------------------
Bruce Toback    Tel: (602) 996-8601| My candle burns at both ends;
OPT, Inc.            (800) 858-4507| It will not last the night;
11801 N. Tatum Blvd. Ste. 142      | But ah, my foes, and oh, my friends -
Phoenix AZ 85028                   | It gives a lovely light.
btoback AT optc.com                |     -- Edna St. Vincent Millay
Mail sent to [log in to unmask] will be inspected for a
fee of US$250. Mailing to said address constitutes agreement to
pay, including collection costs.

ATOM RSS1 RSS2