The NFPA requires alarms to be on a dedicated circuit.  It is important to note that local code may override this.  To be absolutely sure of the proper wiring of a alarm, you should use a licensed and insured electrician, and check with your local building department.