• C166: Call-segmented to a ram-address does not work
    Hello, I use a ST10F269 (SMALL-modell) with Keil C166 v6. I try to call a RAM-routine (in XRAM2) from ROM (in Segment 2 => all code is located within 64kB in Segment 2) via assembler routine: ...
  • C166: Stack does not update memory!
    Hi, I have a Stack problem in an interrupt handler. When I use a PUSH or CALL instruction, SP is correctly updated, but the memory at the address pointed by SP remains 0!! DPP3 = 3 I checked...
  • AgsiSetWatchOnMemory in C166 can't work properly
    my code like this: end=g_FlashMemBase+g_flashMemSize-1; tmp.Format("MAP 0x%x ,0x%x READ WRITE EXEC",g_ FlashMemBase,end); Agsi.ExecuteCommand(tmp); ret &=Agsi.SetWatchOnMemory(g_FlashMemBase...
  • C166 Compiler
    /* file1.c */ static void StaticFunction(void); void main(void) { StaticFunction(); } void StaticFunction(void) { /* something */ } /* file2.c */ void SomeFunction(void) { StaticFunction...
  • _at_ for C166 ?
    Hello, is for C166 compiler also the instruction _at_ as with 8051 compilers to the direct address assignment? Rgds, Peter