A computer simulation study on a two-sublattice magnetic system