AddJump

From Esolang
Jump to navigation Jump to search
This article is a stub, which means that it is not detailed enough and needs to be expanded. Please help us by adding some more information.

AddJump(Add 1 and Jump to command) is an OISC by User:ChuckEsoteric08 and inprised by FlipJump.

Command

a;b;

Increment variable a by 1 and Go to command b(1-indexed). You can go to command which specified by variable by putting it between two "%"s:

a;%a%;

It will increment variable "a" and go to command specified by variable "a"

SaddJump

SaddJump is Self-Modifying AddJump where command

a;b;

is increment memory address a and go to memory address b.

Relative addresses can be used: [a] is value in memory address a, [[[a]]];b; implements Three Star Programmer SADDJMP-n is SADDJUMP where memory address can be n-bits long(wrapping):

  • SADDJMP-8 uses 8-bit addresses
  • SADDJMP-16 uses 16-bit addresses
  • SADDJMP-32 uses 32-bit addresses

See Also

External resources