Skip to content

General information

Adi (Addy) edited this page Sep 12, 2021 · 2 revisions

General information 🪛

Registers

Registers in ReWave follow an A-to-D rule. They are laid in the main memory and start from [0x00] to [0x0F].

  • A0, B0 - comparison accumulators
  • C0 - current opcode (eq: x86 CIR)
  • D0 - counter (eq: x86 PC) (note: read-only as of now, changing will result in undefined behavior!)
  • AX..DX - first set of general-purpose registers
  • AY..DY - second set
  • AZ..DZ - third set