working on a simple processor