MEM.PackBitsToDword (FUN)

This function of the CAA_Memory.library  packs 32 bits "xBit0" .. "xBit31" in one DWORD

Input:

xBit31

BOOL

Bit 31 of DWORD

xBit30

BOOL

Bit 30 of DWORD

xBit29

BOOL

Bit 29 of DWORD

xBit28

BOOL

Bit 28 of DWORD

xBit27

BOOL

Bit 27 of DWORD

xBit26

BOOL

Bit 26 of DWORD

xBit25

BOOL

Bit 25 of DWORD

xBit24

BOOL

Bit 24 of DWORD

xBit23

BOOL

Bit 23 of DWORD

xBit22

BOOL

Bit 22 of DWORD

xBit21

BOOL

Bit 21 of DWORD

xBit20

BOOL

Bit 20 of DWORD

xBit19

BOOL

Bit 19 of DWORD

xBit18

BOOL

Bit 18 of DWORD

xBit17

BOOL

Bit 17 of DWORD

xBit16

BOOL

Bit 16 of DWORD

xBit15

BOOL

Bit 15 of DWORD

xBit14

BOOL

Bit 14 of DWORD

xBit13

BOOL

Bit 13 of DWORD

xBit12

BOOL

Bit 12 of DWORD

xBit11

BOOL

Bit 11 of DWORD

xBit10

BOOL

Bit 10 of DWORD

xBit9

BOOL

Bit 9 of DWORD

xBit8

BOOL

Bit 8 of DWORD

xBit7

BOOL

Bit 7 of DWORD

xBit6

BOOL

Bit 6 of DWORD

xBit5

BOOL

Bit 5 of DWORD

xBit4

BOOL

Bit 4 of DWORD

xBit3

BOOL

Bit 3 of DWORD

xBit2

BOOL

Bit 2 of DWORD

xBit1

BOOL

Bit 1 of DWORD

xBit0

BOOL

Bit 0 of DWORD

Output:

MEM.PackBitsToDword

DWORD

DWORD packed

Example:

MEM.PackBitsToDword(

FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,

FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,

FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,TRUE,

FALSE,FALSE,FALSE,FALSE,FALSE,TRUE,FALSE,FALSE ) = 16#01020304