• Question to ISD51 with assembler code
    I will use the ISD51 also with the assembler. I have written a small program sequence for the ISD_INIT() macro. ------------------------------------------ $NOMOD51 #include <REG932.H> EXTRN CODE...
  • Question about C call assemble function
    I have a function written in assemble,e.g. _MyFunc,which gets two paramenters and store something in the buffer. The prototype in C is : void MyFunc(unsigned char*,unsigned char); In c, I call it...
  • Assembly IF statement simple question
    If I say, if a == 10 b = b * 4 + 2 if it does then do 'b = b * 4 + 2' or skip doing it? Would it be BNE or BEQ? Something tells me it's DON'T DO... Thanks
  • Assembler Jumptable and stack question.
    Hi, Im using the STM32F103ZE uC. I wrote an assembler function calling it from C (vS00StmJmp(x)) with one argument representing an index in a jumptable. The assembler function then jumps to the...
  • Inline Assembly & Interrupt Functions
    Hello, 1) I want to place assembly code in my C code. The problem with using SRC is that I would have to rename the file MyAsm.SRC to MyAsm.A51 and then (remove C code from project) include A51 code...