This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using far or huge pointer, which is faster?

I have an array defined in RAM. The array is defined 40 bytes. I do interpolation on the array by passing the address of the array as a huge pointer to int to the interpolation function.

For the C167CS, which pointer is faster, the far pointer or the huge pointer?

  • Brad,
    See the code comparisons in the C166 Compiler manual (section 3 page 80 in mine).
    Far and Huge use EXTP and EXTS op-codes respectively for extended addressing and have the same timing. It is the Xhuge model that really slows things down.
    Best
    Scott