Design and simulation of an processor architecture