1.2. 1.2 The Anatomy of an HLA Program

A typical HLA program takes the form shown in Figure 1-1.

Figure 1-1. Basic HLA Program.

pgmID in the template above is a user-defined program identifier. You must pick an appropriate, descriptive name for your program. In particular, pgmID would be a horrible choice for any real program. If you are writing programs as part of a course assignment, your instructor will probably give you the name to use for your main program. If you are writing your own HLA program, you will have to choose an appropriate name for your project.

Identifiers in HLA are very similar to identifiers in most high level languages. HLA identifiers ...

Get Art of Assembly Language, 1st Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.