Jump to content

360 Assembly/360 Instructions/CR

From Wikibooks, open books for an open world

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.