first of all many thanks for repply dear pedja089
now my code like this,

main:
HSERIN [WAIT($07), str DATAIN\8]
if datain[1] = $06 then high portc.3
hserout [str datain\8]
goto main
END

this not working