Problems when trying to add ASM code in C function | Cypress Semiconductor
Problems when trying to add ASM code in C function
Im trying to add assembly code inside a C function using:
i also add the SCR directive for the Cx51 compiler on c code using:
but when trying to compile the linker gives a problem because it appears it needs OBJ file in order to compile, but when using SCR directive, OBJ files are not created.
i also have tryed to set to true the "inline assembly" option inside the "build settings" window, but also get errors.
What can i do to get the assembly code working inside C function?