• C51 + Assembler
    Hey guys I'm going to be importing some ASM code from an old project, how do I know what registers I can use, I don't want to conflict with anything that the compiler has decided to do. thanx! ...
  • inline assembly with C51 v3.20
    On the manual of C51 v3.2, writing and using assembly functions are described and is working successfully. However, there is no clue about the inline assembly on the manual. Does anybody know anything...
  • C51 Inline assemble error
    I'm using C51 V6.12 C source file is like this: void I2CWrite(unsigned char D,bit ConvToBCD) { #pragma asm ..... #pragma endasm } unsigned char I2CRead(bit ACK,bit ConvToBin) { #pragma asm ...
  • Assemble function templale callable in C51
    Hi All Here is my template to create quickly a function in assemlbe and call in C51 Enjoy ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Template of a function writen...
  • Errors when assembling C51 enerated .src flle
    I have just revisited some old code which was compiled with the C51 C compiler - the code compiles ok (flow is C51->BL51->OH51). I now need to add some inline assembler. To check that the new flow (C51...