Program Control Instructions

Program control instructions are used to change or modify the flow of a program. There are some instructions here to control the flow of the program. 

Types of Program Control Instructions

Program control instructions have five major types, which are explained below

1. BRANCH/JUMP

The branch word is used in direct addressing mode, while the Jump word is used in indirect addressing mode with the same task. It moves from one location to another defined location.

2. SKIP

It skips that specific instruction where we defined skip instruction.

3. CALL & RETURN

It works like a subroutine. When we CALL, it transfers control to a specific position. When it finds RETURN, it returns back to the next instruction from where It was called.

4. COMPARE

It is a condition between two variables like A>B, A<B, etc.

5. TEST

The test bit sets any value to zero to test the results. Mostly used in Flags.