Chapter 3 Using the Programmer's WorkBench

The Programmer's WorkBench (PWB) is a window-oriented programming environment that incorporates a text editor, an assembler, a linker, a debugger, a make utility, a source-code browser, and an online reference system. It is an alternative to switching between command-line-based programs: you can edit, assemble, link, and debug without leaving this integrated environment. To demonstrate PWB's features, this chapter includes a sample program that you can assemble, link, and debug.

This chapter explains how to start PWB and then introduces the following PWB elements:

Windows and menus. You can quickly find the command you need using the menus. The section “Using Windows and Menus” explains how to open and close windows and how to navigate through the menus.

Programmer's editor. Features such as “bookmarks,” macros, customized key commands, and enhanced search capabilities decrease the amount of time you spend writing code.

Integrated assembler and linker. You can assemble, link, and run a program without leaving the editor. PWB's integrated environment and project-management facilities save you hours of development time.

Integrated browser and debugger. Using the Source Browser, you can quickly find a data declaration or procedure definition in your source code, as well as references to all procedures and variables in the program. With the CodeView debugger, you can set breakpoints, examine variables and machine registers, and step through execution of your program one line at a time.