t is known that the performance of a signal constellation used to transmit digital information over the additive white Gaussian noise channel can be improved by increasing the dimensionality of the signal set used for transmission. This paper derives an algorithm for constructing codes for six-dimensional signals over finite fields of the algebraic integer ring of the cyclotomic field modulo irreducible elements with the norm , where is a prime number and or .These linear codes can correct some types of errors and provide an algebraic approach in an area which is currently mainly dominated by nonalgebraic convolutional codes.