Skip to content

Logical and arithmetic operations

Guillaume DERAMCHI edited this page Feb 19, 2024 · 5 revisions

Logical and arithmetic operations

Usage

  • Perform various logical (xor, and, or, not) and arithmetic (add, sub, mul, div, mod) operations.

Variants

  • Each operation follows a similar format, e.g., xor rg2, 7 or add rg2, var.

Error check

  • Common checks include variable/register existence and validity.

Additional instructions

  • The documentation also includes details on other instructions like lab, rsh, lsh, int ngr, draw, ob1, if_*, else/end, and pusha/popa.
  • Each of these instructions has its specific usage, variants, binary code representation, and error checks.

Clone this wiki locally