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.

Addressing a Byte Within the PartitionTI-Ie size <strong>of</strong> the partition cannot be greater than 64 K bytes; therefore, ,my bytt::within the partition can be addressed with 16 bits (hex 0000 through FFFF). A16-bit address is stored in the third and fourth byte <strong>of</strong> an object code instruction.Example:lop Code I16-Bit Address" IHexadecimal 2461Addressing an Object Code InstructionBecause object code instructions begin on 4-byte boundaries, the last 2 bits <strong>of</strong> the16-bit address are always zeros. These 2 bits can be used for flags; the high-order14 bits are used to address the instruction. In an object code instruction, a 14-bitaddress is stored in the high-order 14 bits <strong>of</strong> the third and fourth bytes as follows:Hexadecimal 139414-Bit AddressFlag BitsInstruction 0 isplacementIn certain branch instructions, the label in the source instruction is converted to adisplacement rather than to an address. An instruction displacement is the number<strong>of</strong> 4-byte object code instructions from the next sequential instruction to skipif the branch is taken. An instruction displacement is 8 bits long and is stored inthe fourth byte <strong>of</strong> an object code instruction. A positive displacement can causea forward jump <strong>of</strong> up to 128 object code instructions. A negative displacementis stored in the twos complement <strong>of</strong> the displacement value. A negatiye displacementcauses a backward jump <strong>of</strong> up to 128 object code instructions from theinstruction following the branch instruction.132

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

Saved successfully!

Ooh no, something went wrong!