Thursday, 21 August 2014

What do you understand by Basic Block.

Basic Block

Basic block is sequence of code. In this code there is only one entry and only one exit point. One entry point means there is no code within the destination of a jump instruction anywhere in the program. One exit point means only the last instruction of any code can cause the program to start execute the code in a different basic block. There is no branch in this code.Basic blocks include a list of instructions which form the body of the block. Basic blocks belong to functions. They have the type of label. Compilers basically break programs into their basic blocks as a first step in the analysis process. Basic blocks represent the vertices or nodes in a control flow graphs.

by Precise Testing Solution

No comments:

Post a comment

Bookmark Us

Delicious Digg Facebook Favorites More Stumbleupon Twitter