LiteASM is a beginner-friendly assembly-like language designed for ease of use and learning. It supports basic arithmetic and logical operations, as well as reusable code in the form of functions.
; Calculate the sum of two numbers
MAIN:
INPUT A ; Read first number
INPUT B ; Read second number
CALL SUM ; Call SUM function
PRINT Z ; Print result
JMP END
SUM:
ADD Z, A, B ; Z = A + B
RET ; Return to caller
END:
; Program ends here
LiteASM is licensed under the MIT License.