Hardware simulator for MC6809 based system