Here is the ASDF control file that builds the emulator.
Those functions related to the construction of key structures are here.
Code related to the modes of operation of the calculator are in this file.
Code related to manipulation of the HP-67 stack is here.