  In this paper, we define the generalized noncommutative residue of the Dirac
operator. And we give the proof of Kastler-Kalau-Walze type theorems for the
generalized noncommutative residue on 4-dimensional and 6-dimensional compact
manifolds with (resp.without) boundary.
