Skip to Content
Linux® on the Mainframe
book

Linux® on the Mainframe

by John Eilert, Maria Eisenhaendler, Dorothea Matthaeus, Ingolf Salm
June 2003
Intermediate to advanced content levelIntermediate to advanced
464 pages
10h 33m
English
Pearson
Content preview from Linux® on the Mainframe

21.3. The program status word

In a mainframe instruction stream, the next instruction is pointed to by the program status word (PSW). The current instruction is the only instruction according to the architecture. Everything else is considered to be data. Until the current instruction completes and the PSW changes its address, we can never be sure of what the next instruction is.

What is the program status word? The PSW in each CPU contains information required for the execution of the currently active program. In the z/Architecture, it is 128 bits long and includes the instruction address, condition code, and other control fields.

There are different ways that a PSW can get the address of the next instruction:

  • If this instruction is not a branch, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Set up Linux on IBM System z for Production

Set up Linux on IBM System z for Production

Lydia Parziale, Saulo Silva, David Borges De Sousa, Livio Sousa, Junius Mills, Qi Ye
ABCs of IBM z/OS System Programming Volume 1

ABCs of IBM z/OS System Programming Volume 1

Lydia Parziale, Luiz Fadel, Stanley Jon
Mainframe from Scratch: Hardware Configuration and z/OS Build

Mainframe from Scratch: Hardware Configuration and z/OS Build

Keith Winnard, Bertus Bekker, Rafael Carvalho A. Lima, Nilkanth Patwardhan, Zheng Zhao, Hui Zhou
Introduction to the New Mainframe: IBM z/VSE Basics

Introduction to the New Mainframe: IBM z/VSE Basics

Mike Ebbers, Wolfgang Bosch, Hans Joachim Ebert, Helmut Hellner, Jerry Johnston, Marco Kroll, Wilhelm Mild, Wayne O'Brien, Bill Ogden, Ingolf Salm, Joerg Schmidbauer, Martin Walbruehl

Publisher Resources

ISBN: 0131014153Purchase book