Thursday, April 12, 2007

Branch command

Syntax:
Branch offset, (label0,label1...)
Uses offset(byte variable)to index the list of labels.
execution continues at the indexed label according to
the offset value.
Example:
Branch B8, (label0,label1,label3)

if B8=0,then the program execution jumps to label0
if B8=1,then the program execution jumps to label1
and if B8=2,then the program execution jumps to label2

No comments: