TE: 16 bit for _TEXT_RE and fixes for virtual addresses calculations