• How to get an ELF file from Keil C51
    Hi All, I've been using Keil C51 compiler for sometime to compile firmware for an 8051 processor. I recently wanted to use a 3rd party firmware debugger tool and looks like they only accept ELF/DWARF...
  • Float - uint comparison sometimes succeeding?
    Hello Community! First time poster here :) I am debugging some code and am completely perplexed by a comparison between and integer and a float that sometimes evaluates true. In the following code...
  • Declaring local variable causes L15 warnings, but only on optimization level 9
    For reference, please take a look at this older question of mine: https://community.arm.com/developer/tools-software/tools/f/keil-forum/41992/spurious-link-from-isr-to-pr-main Previously, function pointers...
  • C51 software
    Hi everyone, I am working with 8051 micro-controller for one of my office project. I have free version of C51 and the file size of my code went more than 2kb so now i am not able to compile my code...
  • C51 libs: Where is ?C?LSTKXDATA and friends documented?
    I am trying to understand some disassembled code, and encounter instances of ?C?LSTKXDATA. Apparently, that function expects 4 bytes of data following the call instruction. And thus must adjust the stack...