360 Assembly/360 Instructions/BALR
< 360 Assembly < 360 InstructionsBAL/BALR is a Branch and Link Instruction. It stores the address of the next sequential instruction in operand 1 then jumps to the address specified in operand 2.
Example
BALR R5,R3
It will store NSI(Next Sequential Address) in R5 and jump to the address stored in R3.
BALR R14,0 <---Special Use
It will just store NSI in R14 and not jump to anywhere because operand 2 is R0
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.