12.07.2015 Views

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

IBM System/7 Functional Characteristics - All about the IBM 1130 ...

SHOW MORE
SHOW LESS
  • No tags were found...

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

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

Branch and Link Long (PBALL)0 5 8 16 31Op Code Zeros Address0 1 0 1 0 XXX 0 0 0 0 0 0 0 0III! 1 1 1 1 1 1 1 _ 1 1 1 I 1 1 1 I 1 1 1 I 1 1 1-......„.....••■•■••■■•-■•■•-•■••••■••••..■•5 0-7 0 0 X X X XThe branch and link long instruction (PBALL) branches to ano<strong>the</strong>r storage location andsaves <strong>the</strong> contents of <strong>the</strong> IAR for return to <strong>the</strong> original sequence. The PBALL instructionis unconditional; <strong>the</strong> branch is always taken because it is not based upon <strong>the</strong> result of acondition or test.When <strong>the</strong> second word of <strong>the</strong> PBALL instruction is fetched from storage, <strong>the</strong> IAR contains<strong>the</strong> address of <strong>the</strong> storage location immediately following <strong>the</strong> PBALL instruction.Execution of <strong>the</strong> PBALL instruction causes <strong>the</strong> contents of <strong>the</strong> IAR to be stored (andthus saved for future use in returning to <strong>the</strong> original sequence) in <strong>the</strong> index registerspecified by <strong>the</strong> R field. If R=000, <strong>the</strong> accumulator is used for this purpose.The location of <strong>the</strong> next instruction to be executed (<strong>the</strong> location branched to) iscontained in <strong>the</strong> address field of <strong>the</strong> PBALL instruction. This address is loaded into <strong>the</strong>IAR and <strong>the</strong> branch is made to that address. The branch and link long instruction (PBALL)permits branching to any location in main storage, whereas <strong>the</strong> branch and link instruction(PBAL) limits branching to locations that are +127 or —128 storage positions away from<strong>the</strong> address contained in <strong>the</strong> IAR when <strong>the</strong> PBAL instruction is executed.Bits 8 to 15 of <strong>the</strong> instruction must always be set to 0's.The branch and link long instruction does not change <strong>the</strong> carry, overflow, and resultindicators.

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

Saved successfully!

Ooh no, something went wrong!