This preview shows page 1. Sign up to view the full content.
Unformatted text preview: a built-in shell command, then the shell assumes that it is the name of an executable ﬁle that it should load and run. So in this case, the shell loads and runs the hello program and then waits for it to terminate. The hello program prints its message to the screen and then terminates. The shell then prints a prompt and waits for the next input command line. 1.4.1 Hardware Organization of a System
At a high level, here is what happened in the system after you typed hello to the shell. Figure 1.4 shows the hardware organization of a typical system. This particular picture is modeled after the family of Intel Pentium systems, but all systems have a similar look and feel. 6
CPU register file PC ALU system bus memory bus CHAPTER 1. INTRODUCTION Memory Interface I/O bridge main memory I/O bus USB controller mouse keyboard graphics adapter display disk disk controller Expansion slots for other devices such as network adapters. hello executable stored on disk Figure 1.4: Hardware organization of a typical sys...
View Full Document