• Problems with SDRAM and return of a function
    Dear all, I'm using the LPC2468 with SDRAM that ist configured in the startup and ind the memory layout. In general ist works. But I found one strange problem. I have a sructure ExternalCFG that...
  • May functions return an union?
    Is it possible for a function to return a union? Storing data in the Flash/EEData memory of the ADuC845, is done through operating some SFR registers and page write. I would like to read and write...
  • Function return value if () are missing
    As I am sure most of us have at some time, I have ocasionally missed the () off the end when calling a function. e.g myFunction; instead of myFunction(); When I do this the code compiles and...
  • Function returning a struct
    Hi, How come the 51 compiler V7.04 cannot compile the following code? typedef struct { int i; } S; S jj(void) { S k; return(k); } S i(void) { return(jj()); } void main(void...
  • DELAY FUNCTION IS NOT RETURNED
    Hello everyone. I'm beginner for ASM programming. I tried programming by using modular programming method in ASM. I built 2 modules (seperately): delay_s.a and main.a. delay_s.a: ;=========...