• Assembly and C51
    Hello,there: I have met a tough quesiton, how to program with C and Assembly in the project using KEIL(verison 3.0), for example, I wana program the frame with C, and the functions with assembly, especially...
  • 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...
  • Understand The 8051's Capabilities and C51 Assembly Output.
    One of THE worst things you can do in C51 code is to haphazardly use integers where unsigned chars (bytes) will suffice. Particularly when indexing arrays. While this may seem obvious to some, in my...