360 Assembly/360 Instructions/CR

Format

edit

CR 2,6 compares the values inside the registers R2 and R6

  • If R2 is equal to R6 then it sets the condition code in PSW 0.
  • If the R2 is greater than R6 then it sets the Condition Code in PSW 2.
  • Otherwise it sets the condition code in PWS 1.