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

Arc_Unarc

Swaps a specified variable between RAM and Archive.

Throws an OS error if any problem is encountered, including attempting to pass a variable which cannot be archived / unarchived.

Address: $021448

Inputs:

  • OP1: Type and name of the variable to swap.

Outputs:

  • Swaps variable between RAM and Archive.

Destroys:

  • af, bc, de, hl
  • OP3