Are you an LLM? You can read better optimized documentation at /examples/embed/keil-c51.md for this page in Markdown format
Executable programs
lua
target("hello")
add_rules("c51.binary")
set_toolchains("c51")
add_files("src/main.c")