360 Assembly/Arithmetic

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

Arithmetic Instructions[edit | edit source]

Binary integer arithmetic instructions[edit | edit source]

Instructions are sorted alphabetically. The instructions marked as "logical" set condition code (CC) field in PSW according to unsigned treating of values. Otherwise, condition codes reflect treating values as 2-complement signed values.

  • Add - A
  • Add Half - AH
  • Add Logical - AL
  • Add Logical Register - ALR
  • Add Register - AR
  • Load Register Complement - LCR
  • Subtract - S
  • Subtract Half - SH
  • Subtract Logical - SL
  • Subtract Logical Register - SLR
  • Subtract Register - SR
  • Multiply - M
  • Multiply with Register - MR
  • Divide - D
  • Divide by Register - DR

Decimal integer arithmetic instructions[edit | edit source]

Floating number instructions[edit | edit source]


360 Assembly Language
360 Family Introduction · Basic FAQ · 360 Family · 360 Architecture
360 Instruction Set 360 Instructions · Branch Instructions · Data Transfer Instructions · Control Flow Instructions · Arithmetic Instructions · Logic Instructions · Shift and Rotate Instructions · Priveleged Instructions · Other Instructions
Syntaxes and Assemblers 360 Assemblers· Pseudo Instructions
Instruction Extensions Floating Point · High-Level Languages