This function of the  
                     
                        ⇘
                      CAA_Memory.library  packs 8 bits "bBit0" .. "bBit7" in one BYTE
               
                   
                  Input:
                  
                     
                        
                        
                        
                     
                     
                        
                           | 
                               xBit7 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 7 of BYTE 
                            | 
                        
                        
                           | 
                               xBit6 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 6 of BYTE 
                            | 
                        
                        
                           | 
                               xBit5 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 5 of BYTE 
                            | 
                        
                        
                           | 
                               xBit4 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 4 of BYTE 
                            | 
                        
                        
                           | 
                               xBit3 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 3 of BYTE 
                            | 
                        
                        
                           | 
                               xBit2 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 2 of BYTE 
                            | 
                        
                        
                           | 
                               xBit1 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 1 of BYTE 
                            | 
                        
                        
                           | 
                               xBit0 
                            | 
                           
                               BOOL 
                            | 
                           
                               Bit 0 of BYTE 
                            | 
                        
                     
                  
                
               
                   
                  Output:
                  
                     
                        
                        
                        
                     
                     
                        
                           | 
                               MEM.PackBitsToByte 
                            | 
                           
                               BYTE 
                            | 
                           
                               BYTE packed 
                            | 
                        
                     
                  
                
               
                   
                  Example:
                  MEM.PackBitsToByte(FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE) = 16#01