Avoid far/huge Pointer Cast
Avoid pointer type casts betweek far and huge. These kinds of type casts generate many instructions to convert from one pointer type to the other. You will achieve the best reqults by declaring the pointer with the memory type actually needed.
On C167-compatible devices, huge pointers are more efficient and generate less code than far pointers. In general, you should avoid the far memory type in C167 applications.