cancel
Showing results for 
Search instead for 
Did you mean: 

How to identify far, near, huge address?

rashsiva
Associate
Posted on August 20, 2007 at 11:54

How to identify far, near, huge address?

1 REPLY 1
rashsiva
Associate
Posted on August 02, 2007 at 13:12

When I went through the ST10 C-compiler document, I am not clear how the near, far & huge address are identified while it executing in the target.

Could any one please clarify me?

When I read the C-Compiler document I understood in the following way.

For near data 16 bit address will be generated,14th & 15th bit is used to find the DPP register so 14bit offset and 10 base address is taken DPP point page and the data is accessed.

For far data 24 bit address is generated and address arithmetic is performed on the 24 bit. 14bit is used as offset and one DPP is temporally used.

For huge data no address arithmetic is performed.

But while executing in the target how the address is near, far, huge is identified?