eZ80 docs
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

AbsO1PAbsO2

Takes the absolute value in OP1 and OP2 and adds them together.

Address: $0201A0

Inputs:

  • OP1: First number to add.
  • OP2: Second number to add.

Outputs:

  • OP1: Addition result.

Destroys:

  • af, hl, de, bc
  • OP1, OP2