Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
bcc [2016/08/22 23:47]
freeaks
— (current)
Line 1: Line 1:
  
-=== BCC === 
- 
-This instruction is used to jump in the code from one place to another.\\ ​ 
-We perform some test and BCC checks the result. \\  
-Depending on that result we can decide to move to another area in our code.\\ ​ 
-BCC means '​branch condition code' and the\\  
-CC part for '​condition code' can be for example one of the following:​\\ ​ 
- 
-EQ equal\\ ​ 
-GE greater or equal\\  ​ 
-GT greater than\\ ​ 
-LE less or equal\\ ​ 
-LS low or same\\ ​ 
-LT less than\\ ​ 
-MI minus\\ ​ 
-HI high\\ ​ 
-NE not equal\\ ​ 
- 
-Syntax is:\\  
-<​code>​ 
-BEQ <​label>​ 
-BGE  " 
-BNE  " 
-BLT  " 
-BLE  " 
-BHI  " 
-... 
-</​code>​ 
- 
- 
-Usage example:​\\ ​ 
-{{topic>​bne bgt beq bhi}} 
Last modified: le 2016/08/22 23:47