tiamat 0.4.1
tiamat: ^0.4.1 copied to clipboard
This is an emulator of the COMET2 and a compiler of the CASL2.
tiamat #
virtual computer COMET2 emulator and virtual language CASL2 compiler.
links #
macros #
IN #
GR1
: input bufferGR2
: input length
LAD GR1,IBUF ; buffer
LAD GR2,32 ; length
SVC 1 ; input
copied to clipboard
OUT #
GR1
: output bufferGR2
: output length
LAD GR1,IBUF ; buffer
LAD GR2,32 ; length
SVC 2 ; output
copied to clipboard
Specification #
CASL2 Format #
# with operand
[<label>]<space><opecode><spece><operand>[<space>[<comment>]]
# without operand
[<label>]<space><opecode>[<space>[<semicoron>[<comment>]]]
# comment line
[<space>]<semicoron>[<comment>]
copied to clipboard
Extended #
Address 1 ~ 99 are supervisor. Program load to address 100.