JS-256

Monitor

Registers and Memory

Sample program

main:
        IMX hello
        JSR printstr
        HLT

printstr:
        LDX
        INX
        JEZ .end
        OUT
        JMP printstr
.end:
        RET

hello:
        .SZ "Hello, world!"

Program source

Program execution