Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi all,
In my application I need to force controller to stored or create local variables on to the stack between function calls.
Default in keil compiler it is not creating onto the stack instead created somewhere in the RAM.
Please suggest me to make it.
keil pragma - optimize
Hi,
Actually when ever a function is called, all local variable should be created on to the stack and then proceed for executing the function body.
But in keil compiler, when I call a function variables local to the function are not created onto the stack.There are...
keil compiling assembly
Hi Boss,
To work both assembly and C code you need to
1) add .lib file to group and compile
2) enable Generate assembler src file option in the group.
Now your code will work.
Regards,
Sam
compiling c programs with keil
Hi People........
I am writting an application in C.In this application I have include some assembly instructions(for manupulating the stack).I tried this
including the asm code in between the #pragma directives.
#pragma asm
ASM code
#pragma endasm
When I am...
how to execute a asm program keil
Hi People........
I am writting an application in C.In this application I have include some assembly instructions(for manupulating the stack).I tried this including the asm code in between the #pragma directives.
#pragma asm
ASM code
#pragma endasm
When I am...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.