< 360 Assembly < 360 Instructions

Format

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.
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.