Multiple choice technology mainframe

Which all among the following are the Special Registers?

  1. PR

  2. PSW

  3. PC

  4. SP

Reveal answer Fill a bubble to check yourself
B,C,D Correct answer
Explanation

Special registers in COBOL are predefined reserved words that provide runtime information. PSW (Program Status Word) contains condition codes, PC (Program Counter) is not a standard COBOL special register but may appear in system-specific implementations, and SP (Stack Pointer) may be available in certain environments. PR is not a recognized special register. Note: PC and SP are more commonly associated with assembly language than standard COBOL.