• Setting Port Bit with ARTX
    I'm writing a library to set a Port BIT , that can be used on ARTX for xc167 . I use a function with parameters "PortAddr" and "PortBit" : *(PortAddr) |= ( 1<<PortBit ); and analog function for...
  • Unable to set ASM breakpoint
    I am unable to set breakpoints or single step through ASM 51 source code. In the starting ASM file I can set breakpoints and single step. In any other source file I can not set braekpoints and when I...
  • bits are not setting
    Can anybody tell me what is wrong in the following coding? I am unable to set P1.5 and P1.6 if I take the set memory from the variable and try to assign it to P1.5 or 6. But I am able to set P1.5 and...
  • Asm bit banding macro
    Good day. I try to create asm bit bannding macro. it's only macro and invocation code: MACRO ;macro definition sram_bit_band_set $p1,$p2 LDR R4,=0x22000000+p1*32+4*p2 MOV R5,#1 STR R5,[R4]...
  • asm bits in mixed code
    In a c/assembler program I want to reserve a byte in the bit addressable area, I use ASMBITS SEGMENT DATA AT 32 according to the A51 assembler manual discussion of SEGMENT this should be OK. I get...