virtual computer COMET2 emulator and virtual language CASL2 compiler.
GR1
: input bufferGR2
: input length
LAD GR1,IBUF ; buffer
LAD GR2,32 ; length
SVC 1 ; input
GR1
: output bufferGR2
: output length
LAD GR1,IBUF ; buffer
LAD GR2,32 ; length
SVC 2 ; output
# with operand
[<label>]<space><opecode><spece><operand>[<space>[<comment>]]
# without operand
[<label>]<space><opecode>[<space>[<semicoron>[<comment>]]]
# comment line
[<space>]<semicoron>[<comment>]
Address 1 ~ 99 are supervisor. Program load to address 100.