Get list of brands name assign in manufacturer attribute. Manufacturer is a by default attribute of Magento.
Get all value and store in an array like this $attributeArray[$option['value']].
And print with foreach loop.
 Here is full code......
 $attribute = Mage::getModel('eav/config')->getAttribute('catalog_product', 'manufacturer');
  foreach ( $attribute->getSource()->getAllOptions(true, true) as $option){
    $attributeArray[$option['value']] = $option['label'];
    }  
  foreach($attributeArray as $key=>$val)
  {
  echo $val . "<br>";
  }
 
Labels: Magento