Hello
Which CPU are you currently using (HCS12XDP512, ....)?
From what I can see (from HCS12X reference manual), address 0x7DB089'G is in fact equivalent to address 0xF6B089'L.
All absolute addresses you specify in ANSI C source code are considered as logical (even in large memory model).
So instead of writing
typedef void (*function)(void);
function func;
func = (function) 0x7DB089;
func();
You have to write
typedef void (*function)(void);
function func;
func = (function) 0xF6B089;
func();
CrasyCat
Hi Gravity,
When you use external address space, you need to use FAR pointers to indicate to the debugger which space you address and avoid address to be truncated or wrong.
See Nabla's post and the code I had on the NE64 with extended bus.
If I understood well what you meant...
Alban.