
Educators: Earn a free Gold upgrade by joining the PBwiki Back To School Challenge.

Questions? Join PBwiki's weekly office hours today at 1 PM Eastern and get live answers.
In C, C++ and Javeq the entry point must be called main(), yes, in the PC assembley language, it can be anything. Why?
When execute a C or C++ or java program, the runtime system starts your program by calling its main() function first and the main() function then calls all the other functions. In an assembly language , programs are implemented by using symbolic representation of the numeric machine codes and other constants needed to program a particular CPU architecture. Since we are dealing directly with the CPU machine codes , there is no need to hava a main menomic to execute a program since we are dealing with the cpu instructions directly.
Armando Fonseca
Page Information
|
Wiki Information |
Recent PBwiki Blog Posts |