Research indexBook chapter
Your First Program
Van Hoey
Apress eBooks1 Jan 2019
NobleIDark:/48914/w1/20260521/578F9722DOI10.1007/978-1-4842-5076-1_1
Your First Program
Van Hoey · Apress eBooks · 2019 · Subscription
NobleIDark:/48914/w1/20260521/578F9722DOI10.1007/978-1-4842-5076-1_1
The full text is at the publisher
You can read the abstract here, or open it at the publisher.
Abstract
Generations of programmers have started their programming careers by learning how to display hello, world on a computer screen. It is a tradition that was started in the seventies by Brian W. Kernighan in the book he wrote with Dennis Ritchie, The C Programming Language. Kernighan developed the C programming language at Bell Labs. Since then, the C language has changed a lot but has remained the language that every self-respecting programmer should be familiar with. The majority of “modern” and “fancy” programming languages have their roots in C. C is sometimes called a portable assembly language, and as an aspiring assembly programmer, you should get familiar with C. To honor the tradition, we will start with an assembler program to put hello, world on your screen. Listing 1-1 shows the source code for an assembly language version of the hello, world program, which we will analyze in this chapter.