A surgical stapler is provided that maintains the jaws of the stapler in an open position and prevents firing of staples when a cartridge is not loaded in one of the jaws. These eye responses include pupil movement as well as pupil size and responses, for either one or both eyes simultaneously. First and second input data registers load successive input data values input data memory or from adjacent computational units.