This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

far keyword and .far linker command directive

Anonymous
Anonymous


Hi,

 

I would like to ask a question on far keyword.

 

From both the compiler document and assembler document, it is said that C/C++ compiler translate far const into .const in its assembly output, which subsequently will be placed into .const section by the linker.

 

 

What on earth is far in C/C+? There is also .far section in the linker command file, what is it for?

    


 

    

Zheng