13.07.2015 Views

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

IBM 5280 Distributed Data System - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

BR100BR101L..------16-Bit Address~-----------Page Number (0 to 3)Addressing through a <strong>System</strong> TableFormat and tables stored in the common area are available to any partition. When asource programspecifies that the format or table is in the common area (with an.XTRN control statement), the format or table is assigned a system table indexthat is greater than a valid index for a table or format within the partition. Thefollowing chart shows the range for a system table index for data areas outside thepartition:TypeValid<strong>Index</strong>ValuesScreen format 256-512Edit format 128-254<strong>Data</strong> table 128-254For edit formats and data tables, the index is stored in one byte <strong>of</strong> the object codeinstruction. For screen formats, a bit is set in the object code for the enter instruction(hex CF) to indicate that the screen format is in the common area.CONSTANTSIn a source program, a constant can be specified (1) as a decimal, hexadecimal, orbinary value, (2) as a character, or (3) with a label that is equated to a value. In theobject code, any form <strong>of</strong> constant is stored in the object code as immediate data.The following list shows the kinds <strong>of</strong> constants that are used in a source program.• <strong>Data</strong> set number: The number <strong>of</strong> the current data set. The number can be anynumber from hexadecimal 1 to F and requires 4 bits <strong>of</strong> object code.• Length: The length <strong>of</strong> data being used by the instruction.• Displacement: The displacement into a data area; usually an optional parameterin a data movement instruction.• Mask: A pattern <strong>of</strong> bits used in skip operations. Each mask requires 8 bits.Object Code Instruction Format 137

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!