The Birth of a Program
int j;
char* s = “hello\n”;
int p() {
j = write(1, s, 6);
return(j);
}
myprogram.c
compiler
…..
p:
store this
store that
push
jsr _write
ret
etc.
myprogram.s
assembler
myprogram.o
linker
object file
program
(executable file)
myprogram
libraries and other objects
Previous slide
Next slide
Back to first slide
View graphic version