cmp
Assembly Syntax
cmp reg
rs1
, reg_or_imm
Implementation
subcc reg
rs1
, reg_or_imm, %g0
Operation
compare contents of
reg
rs1
and
reg_or_imm
Comments
sets the condition bits
Example
cmp %r1, %r0
Home Page
Index Page
All Synthetic Instructions