• the call to delay subroutine results infinite loop
    I'm using keil uvision 4 and learning programming for AT89s52 , I'm using 12MHZ frequency. I had written a subroutine for a delay of 10 micro sec which is in another file called DELAY.ASM and made...
  • Subroutines
    I have file with many subroutines. How can I use this file in my project? I have problem that in output hex file are all subroutines (used and NOT USED) example: main.c extern void Sub1(void);...
  • Locating Functions
    I want to locate a function (eg. unsigned char xyz) at the specific flash-address 0xC0F000. How do I tell the linker/compiler to do so? Thanks in advance
  • Program start location
    With the old uVision, I could start my programs at 0x001000, by using the segments in the linker. The new uVision2 gives me a start251 out of range error. Any ideas on what I am doing wrong. Thanks Paul...
  • Nested Subroutines?
    Hello, I was wondering how to use routines in a subroutine (called nested subroutines?). For example, let's say I have MOV r0, #0 start BL firstLoop stop B stop firstLoop ADD r0,...