Important Changes: this may cause big error

using define to replace parameter,and add instauction constants into a
header file