KrajsyArch Assembler

instructions:

INV X

ADD X, Y

SUB X, Y

OR X, Y

AND X, Y

XOR X, Y

GET X, Y

SET X, Y

LD X, Y

INC X

DEC X

SL X

SR X

SRL X

SRR X

SLP X

SWP

JZ X, Y

JNZ X, Y

JG X, Y

JMP Y

OUT X

IN X

constant: #FF

read RAM: *FF

registers: A/B

variables: A=#FF

Input

Output

RAM

Register A

Register B

Register PC

Register IO

Register SLP