added 'write constant table' option to programmer