code: def create_from_userdata(userdata):
          
          memhi = userdata.get('d3')
          memlo = userdata.get('d4')
          memory = memhi << 8 | memlo
          control_flags = userdata.get('d6')
          group = userdata.get('d7')
          addrhi = userdata.get('d8')
          addrmed = userdata.get('d9')
          addrlo = userdata.get('d10')
          addr = Address(bytearray([addrhi, addrmed, addrlo]))
          data1 = userdata.get('d11')
          data2 = userdata.get('d12')
          data3 = userdata.get('d13')
          return ALDBRecord(memory, control_flags, group, addr,
                            data1, data2, data3)
docs: Create ALDB Record from the userdata dictionary.