start to generate assemble code
implement reg_descriptor and get_reg()