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 has 5 major types which are explained below

1. BRANCH/JUMP

Branch word is used in direct addressing mode while 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 found 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 is used to set any value to zero to test the results. Mostly used in Flags.

Help Other’s By Sharing…

Contact Us

Burewala, Vehari, Punjab, Pakistan

cstaleem1@gmail.com

Website: CStaleem.com

Pin It on Pinterest