360 Assembly/360 Instructions/CR

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Format[edit | edit source]

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.