• Using $REGUSE
    I have a function with in-line assembly language. I preceed this function with: #pragma ASM $REGUSE _population_count( A, B, R4, R5, R6, R7, DPH, DPL ) #pragma ENDASM This tells the compiler...
  • Re: Asm51 Macro Documentation
    Received uVision v1.2 with Schultz's book "C and the 8051". Need to write a Macro in Assembler but cannot find a reference to doing this. The best data was contained in the file TEMPLATE.A51. Is any...
  • Question About $REGUSE
    For an assembly coded function intended for C, is it necessary to include parameter registers in the $REGUSE statement? If you don't include these in the ASM function's $REGUSE statement, will the...
  • Assigning a larger value to a bit
    bit bitVal; unsigned char byteVal; : : bitVal = byteVal; Question: How does C51 determine whether to set or clear the bit? Does it: A). Simply copy the LSB of the byteVal into the bit, or B)...
  • ASSIGN command
    Hello !! Does anybody know all possibilities of the ASSIGN command ??? (especially assign win >??? <???) or where i can find detail information about it ??? thx, florian mair.