Announcement Announcement Module
Collapse
No announcement yet.
Bit Fields Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bit Fields

    I'm trying to use the DSM Query API and some of the returned data is spread over bit ranges in a 5-byte string. Does anyone have some handy RPGIV code for extracting these bit ranges and returning as an integer value? (I know this would be a snip in C, but I don't have access to the C compiler).

  • #2
    Bit Fields

    On Monday, September 14, 1998, 11:45 PM, J V Thompson wrote: I'm trying to use the DSM Query API and some of the returned data is spread over bit ranges in a 5-byte string. Does anyone have some handy RPGIV code for extracting these bit ranges and returning as an integer value? (I know this would be a snip in C, but I don't have access to the C compiler). JV, Have a look at the TESTB opcode. Should do the trick. Derek

    Comment

    Working...
    X