ArticleslgStudy

computer science

Z/Architecture

Z/Architecture is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Z/Architecture rather than just read about it. In short: z/Architecture, initially and briefly called ESA Modal Extensions (ESAME), is IBM's 64-bit complex instruction set computer (CISC) instruction set architecture, implemented by its mainframe computers. IBM introduced its first z/Architecture-based system, the z900, in late 2000.

Key takeaways

  • Z/Architecture belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Z/Architecture to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Z/Architecture from memory before moving on to harder problems.

Reference excerpt

z/Architecture, initially and briefly called ESA Modal Extensions (ESAME), is IBM's 64-bit complex instruction set computer (CISC) instruction set architecture, implemented by its mainframe computers. IBM introduced its first z/Architecture-based system, the z900, in late 2000. Subsequent z/Architecture systems include the IBM z800, z990, z890, System z9, System z10, zEnterprise 196, zEnterprise 114, zEC12, zBC12, z13, z14, z15, z16, and z17. z/Architecture retains backward compatibility with previous 32-bit-data/31-bit-addressing architecture ESA/390 and its predecessors back to the 32-bit-data/24-bit-addressing System/360. The IBM z13 is the last z Systems server to support running an operating system in ESA/390 architecture mode. However, all 24-bit and 31-bit problem-state application programs originally written to run on the ESA/390 architecture will be unaffected by this change.

Features

z/Architecture includes almost all of the features of ESA/390, and adds some new features. Among the features of z/Architecture are

A channel subsystem with the architecture introduced by S/370-XA Branch relative instructions introduced by ESA/390, with 16-bit signed halfword offsets Relative long instructions, with 32-bit signed halfword offsets Trimodal (24/31/64-bit) addresses 16 32-bit access registers (ARs) introduced by ESA/370 16 64-bit general registers (GRs), 32-bit on older architectures 16 64-bit control registers (CRs) introduced by System/370 as 32-bit 16 64-bit floating-point registers (FPRs) 32 128-bit vector registers (VRs); bits 0–63 of VR0–VR15 contain FPR0–FPR15 1 32-bit floating-point control (FPC) register 1 128-bit program-status word (PSW), which includes a 64-bit instruction address An 8-KiB prefix storage area (PSA) Cryptographic Facility IEEE Binary-floating-point instructions added by ESA/390 IEEE Decimal-floating-point instructions For information on when each feature was introduced, consult the Principles of Operation.

Extended-immediate facility The extended-immediate facility adds instructions with 32-bit signed and unsigned immediate operands, Find Leftmost ones, and miscellaneous load instructions, e.g., Load and test, Load byte, Load logical character.

General-instructions-extension facility The general-instructions-extension facility add 3 dozen instructions, including

Compare and branch instructions Compare and trap instructions Load instructions, e.g. Load and test (LT) Store instructions

High-word facility The high-word facility provides instructions operating on the high word of a 64-bit general register.

Long-displacement facility The long-displacement facility adds instructions with a 20-bit signed displacement, e.g., LAY.

Miscellaneous-instruction-extensions Facility 1 The miscellaneous-instruction-extensions Facility 1 adds

Compare logical and trap (CLT and CLGT) Rotate then insert selected bits (RISBGN)

Miscellaneous-instruction-extensions Facility 2 The miscellaneous-instruction-extensions Facility 2 adds

Branch indirect on condition (BIC) new add, multiply and subtract instructions

Miscellaneous-instruction-extensions Facility 3 The miscellaneous-instruction-extensions Facility 3

And with complement (NCRK, NCGRK) Move right to left (MVCRL) Not and (NNRK, NNGRK) Not exclusive or (NXRK, NXGRK) Not or (NORK, NOGRK) Or with complement (OCRK, OCGRK) Select (SELR, SELGR) Select high (SELFHR)

Vector facility The z13 introduced a 128-bit Packed SIMD facility named "Vector Facility", which was first documented in edition 11 of z/Architecture Principles of Operation. It adds 32 vector registers, each 128 bits wide; the existing 16 floating-point registers are overlaid on the new vector registers. The new architecture adds over 150 new instructions to operate on data in vector registers, including integer, floating-point, and string data types. The z13 implementation includes two independent SIMD units to operate on vector data. The older vector processor facility first introduced from the IBM 3090 and also supported in the ES/9000 is not supported in z/Architecture.

Neural-network-processing-assist facility The z16 introduced the Neural-network-processing-assist facility, which introduces several instructions performing operations on model-dependent data types. For the z16 this is the 16-bit NNP-Data-Type-1 Format. The new instructions include tensor operations useful for AI and neural network applications.

Registers

Each processor has these registers

Access registers Breaking-event-address register (BEAR) Control registers Floating-point Control (FPC) register Floating-point registers General registers Prefix register Program status word (PSW) Vector registers

Access registers Each CPU has 16 32-bit access registers. When a program running in AR mode specifies register 1–15 as a base register or as a register operand containing an address, the CPU uses the associated access register during address translation.

Breaking-event-address register (BEAR) The 64-bit BEAR contains the address of the last instruction that broke the sequential execution of instructions; an interrupt stores the BEAR in the doubleword at real address 272 (11016). After an Execute of a branch, the BEAR contains the address of the execute, not that of the branch.

Control registers The 16 64-bit control registers provide controls over and the status of a CPU, except for information included in the PSW. They are an evolutionary enhancement to the control registers on the earlier ESA/390 on the IBM S/390 processors. For details on which fields are dependent on specific features, consult the Principles of Operation. Because z/Architecture expands the control registers from 32 bits to 64, the bit numbering differs from that in ESA/390.

Floating-point Control (FPC) register The FPC register contains Interrupt Masks (IM), Status Flags (SF), Data Exception Code (DXC), Decimal Rounding Mode (DRM) and Binary Rounding Mode (BRM). An interruption only stores the DXC if the FPC register if the AFP-register (additional floating-point register) control bit, bit 13 of control register 0, is one. Also, while individual bits of the DXC usually have significance, programs should normally treat it as an 8-bit integer rather than querying individual bits.

Floating-point registers Each CPU had 16 64-bit floating-point registers; FP0–15 occupy bits 0–63 of VR0–15. Ignoring the vector registers, floating point data may be in one of three formats and are in one of three sizes. z/Architecture supports

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Z/Architecture

Start with the simplest possible case. Write down what Z/Architecture claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Z/Architecture before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Z/Architecture ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Z/Architecture

In research
Z/Architecture appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Z/Architecture in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Z/Architecture is common in secondary-school and first-year university syllabi. It links to neighbouring topics 64-bit computers, Computer-related introductions in 2000, IBM System/360 mainframe line, so understanding it makes those chapters shorter.
In everyday life
Look for Z/Architecture outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Z/Architecture” →

How to study Z/Architecture in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Z/Architecture means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Z/Architecture out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Z/Architecture in simple terms?

z/Architecture, initially and briefly called ESA Modal Extensions (ESAME), is IBM's 64-bit complex instruction set computer (CISC) instruction set architecture, implemented by its mainframe computers. IBM introduced its first z/Architecture-based system, the z900, in late 2000.

Why does Z/Architecture matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Z/Architecture?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Z/Architecture.

Tags

  • 64-bit computers
  • Computer-related introductions in 2000
  • IBM System/360 mainframe line
  • IBM mainframe technology
  • Instruction set architectures

Keep exploring