Program Control Instructions
Program Control Instructions • Branch Instructions • Procedure Call and Return Instructions A program control instruction changes address value in the PC and hence the normal flow of execution. • Change in PC causes a break in the execution of instructions. • It is an important feature of the computers since it provides the control over the flow of the program and provides the capability to branch to different program segments. Typical Program Control Instructions • Branch (BR) and Jump (JMP) instructions are used sometimes interchangeably but, they are different. • Branch and Jump instructions usually differ in addressing modes. • Usually Jump is used to refer to unconditional version of branch. • Skip (SKP) instructions is used to skip one(next) instruction. It can be conditional or unconditional. It does not need an address field. • In case of conditional skip instruction, the combination of conditional skip and a unconditi...