  We investigate the production of aluminium and the heavy magnesium isotopes
in asymptotic giant branch models. We evolve models with a wide range in
initial mass (between 1 and 6Msun), and composition (Z=0.02, 0.008, 0.004). We
evolve the models from the pre-main sequence, through all intermediate stages
including the core helium flash, to near the end of the thermally-pulsing AGB
phase. We performed detailed nucleosynthesis calculations from which we
determine for the first time, the production of the magnesium and aluminium
isotopes as a function of the stellar mass and composition. From our models, we
calculate stellar yields suitable for galactic chemical evolution models. The
most massive AGB models produce the neutron-rich magnesium isotopes, and also
produce Al-26 in substantial quantities via hot bottom burning. We note that
the calculations are subject to many uncertainties, such as the modelling of
the third dredge up, mass-loss and nuclear reaction rates.
