• Conditional with AND and OR logic confusion
    I'd like to branch to a certain Label if X=32 -- but only if (N=6 and O=6) or if (N=0 and O=0). How must I construct that conditional? Len ps: Are there any limits to this? Actually, (N=6...
  • calling subroutines from ISR
    Hi, I'm a newbie. I've got some legacy code where I need to add some features. From the ISR routines I need to call some C functions. ISR is made up with assembly macros, the caller routine that...
  • return value of subroutines and SCXT
    Hi, i am wondering how to give back a value of a subroutine to the calling routine and use a register when using scxt. example: SCXT CP,#0FC40h NOP CALLS something CMP R10, ONES...
  • Subroutines
    I have file with many subroutines. How can I use this file in my project? I have problem that in output hex file are all subroutines (used and NOT USED) example: main.c extern void Sub1(void);...
  • How to set a conditional breakpoint on a register value?
    Using DS-5's Eclipse debugger and DSTREAM agent, I am stepping through the code running on an ARM M7 in a chip on a dev board. The build was done using optimization level -O1, so not all variables are...