• a!=b&0xff
    unsigned char a=0x12; unsigned char b=0x22; if(a!=b&0xff)//is not true,but why? a = 0; else b = 0;//execute this "a!=b" is true ,so “true &0xff ”should be true,I want to know the c51 compiler why...
  • Comparison of constant (checking if flash location is not 0xff)
    Hello, I have one application, where I store several copies of settings into internal flash. I made command "CAT" for list of all stored settings. To identify single store location as "empty" I simply...
  • MOV a,a error
    why does mov a,a show an error but mov b,b doesnt give any error?
  • MOV in ASM
    if my ASM code is previously coded to run for 256Byte internal RAM of MCU (use MOV instruction) and i now need to change to external 2Kbyte RAM (use MOVX), then should i change R7 to R7:R6 because R7...
  • MOV RO
    As a part of an "In application programming" I am using the following assembler code: #pragma asm MOV R0,#14 //OSC frec MOV R1,#02H //PROGRAM DATA BYTE #pragma endasm I can't find the way of...