• Importing constants
    How to import to a *.c file a constant defined in a *.asm file with EQU directive ?
  • Question on constants
    Hallo, i have not understand the difference of locating constants in the following example: Txt1 is located in Rom, while Txt2 (declared inside a function) is a variable in Ram and will be copied in...
  • optimalization
    Hi. Can you tell me which level of optimalization I have to choose i Keil ARM? I'm working whith STM32F103. In WinAVR I allways had -Os (speed) but what i Keil ARM?
  • Macro will be "optimized" by Keil C ?
    If one macro is defined for "assignment": Ex. #define equal(a,b) {a=b; } And write: equal(A,1); equal(A,2); equal(A,3); where A is pointer to XDATA space(mapped to H/W) Keil C will "optimize...
  • Keil -O0 and -O1 optimize
    My code while(usart_transmit_status); usart_transmit_status = 1; translate at -O0 0x08001EB4 4807 LDR r0,[pc,#28] ; @0x08001ED4 0x08001EB6 7800 LDRB r0,[r0,#0x00] 0x08001EB8 2800 CMP r0,#0x00...