A microprocessor-based keyboard/display is described in which the function of the keys can be varied automatically depending on the instrument to which the keyboard/display is connected. The keyboard/display comprises a microprocessor, a read only memory in which is stored an operating program for the microprocessor, a keyboard having a plurality of keys, a display, and means for connecting said microprocessor to another instrument. In accordance with the invention, the program stored in said read only memory is responsive to a signal from the instrument to which said keyboard/display is connected whereby upon receipt of a signal from one type of instrument at said keyboard/display at least some of said keys of said keyboard are given first functions and upon receipt of a signal from a second type of instrument said keys are given different functions. Further in accordance with the invention, the keyboard/display comprises a random access memory in which may be stored data derived from one instrument to which said keyboard/display is connected and from which may be read data from said keyboard/display. Advantageously, the keyboard/display can be used with a recorder to provide for print out of the data stored in the random access memory of the keyboard/display.