1

qd on fait

cmp d0,d1
bge truc

on va a truc si d0 >= D1 ou D0 <= D1 (je m'embrouille tjrs les pinceaux)

2

d1>=d0

3

Y a une doc qui traine si tu veux, elle est pas mal, c'est un aide mémoire pour les tests
je te la mail quand je rentre
Cours et tutos Asm: http://membres.lycos.fr/sirryl

4

cmp    B , A
bxx    name_of_label_to_branch_to

then bxx will branch to the label if:

*  when working with unsigned integers: 
 
A >  B            Bhi ( branch if higher )
A >= B            Bcc ( branch if carry clear )
A <= B            Bls ( branch if lower or same )
A <  B            Bcs ( branch if carry set ) 
A =  B            beq ( branch if equal ) 
A <> B            bne ( branch if non equal ) 

*  with signed integers

A >  B            bgt ( branch if greater )
A >= B            bge ( branch if greater or equal )
A <= B            ble ( branch if lower or equal )
A <  B            blt ( branch if lower )
A =  B            beq ( branch if equal )
A <> B            bne ( branch if non equal )
avatar
Mes news pour calculatrices TI: Ti-Gen
Mes projets PC pour calculatrices TI: TIGCC, CalcForge (CalcForgeLP, Emu-TIGCC)
Mes chans IRC: #tigcc et #inspired sur irc.freequest.net (UTF-8)

Liberté, Égalité, Fraternité

5

Bah lui il l'a sur lui la doc wink
Cours et tutos Asm: http://membres.lycos.fr/sirryl