8ial

From Esolang
(Redirected from 13ial)
Jump to navigation Jump to search

8ial (or 8 instruction assembly language) is basicly self explanatory. It's a 8 instruction assembly language created by User:Ractangle

Syntax

Command Action
EVR Edit the Value of the currently pointing Registry
PSH PuSH a registry
;A creates label A
OUT OUTput the top of the stack
PTR Point To Registry
PUT inPUT into registry
JIR Jump to a label If Registry is equal to a number
!A comments A

To halt a program. you need to reach the EOF

Examples

Truth-machine

INP $1
JIR o $1 1
PSH $1
OUT
JIR e $1 0
;o
PSH $1
OUT
JIR o $1 1
;e