AnsweredAssumed Answered

memcmp for far pointers

Question asked by michaelsarafidis on Oct 9, 2012
Latest reply on Oct 9, 2012 by michaelsarafidis

Hi there,


i am using Codewarrior IDE 5.9.0 build 5294 and i am trying to compare 2 tables with memcmp.

if both tables are in near memory then there is no problem. if one of them is in far memory then memcmp does not get the correct address.

it gets a 16bit address. I know that in standard c there is also _fmemcmp for far pointers. I am including ansib.lib that does not include _fmemcmp.

Should i include a different library or there is another workarround?


Thanks in advance.