• A strange error
    What's wrong with it ? Thank you! cmpb rl6, byte_294 ___________________________________________________________^ *** ERROR #A74 IN 6387 (T15.A66, LINE 5082): OPERAND TYPE MISMATCH
  • Question about PEC
    Hi again, I am using C167. I am using PEC for AD-conversion. I configure PEC as follows: ADCIC = 0x007B; PECC3 = 0x00FF; SRCP3 = (int) (&ADDAT); DSTP3 = (int) (&P3); ADCON = 0x0090; I works...
  • A question about code optimization
    Hello all, I am experiencing problems with the following piece of code: lp_R0 = g_tcb[g_running_task].r0_ptr ; // restoring next task settings __asm { MOV R15, lp_R0 MOV R0, [R15] POP R15...
  • A question about using sdata
    Hello, I am using the medium memory model. In order to deal with a shortage of memory, I am using 'sdata' to store some static variables, and I have declared SDATA to reside in the address range (0x10000...
  • A question about the logic analyzer
    Hello all, I want to monitor 2 variables: 'gActiveTask', which has external linkage (meaning: a module uses it by specifying "external"), and another which isn't static (called 'sCounter'). When I...