cmp

Assembly Syntax

cmp regrs1, reg_or_imm

Implementation

subcc regrs1, reg_or_imm, %g0

Operation

compare contents of regrs1 and reg_or_imm

Comments

sets the condition bits

Example

cmp %r1, %r0

Home Page Index Page All Synthetic Instructions