tiamat

virtual computer COMET2 emulator and virtual language CASL2 compiler.

links

macros

IN

  • GR1: input buffer
  • GR2: input length
  LAD     GR1,IBUF  ; buffer
  LAD     GR2,32    ; length
  SVC     1         ; input

OUT

  • GR1: output buffer
  • GR2: output length
  LAD     GR1,IBUF  ; buffer
  LAD     GR2,32    ; length
  SVC     2         ; output

Specification

IPA Shiken Yougo ver 4.2

CASL2 Format

# with operand
[<label>]<space><opecode><spece><operand>[<space>[<comment>]]

# without operand
[<label>]<space><opecode>[<space>[<semicoron>[<comment>]]]

# comment line
[<space>]<semicoron>[<comment>]

Extended

Address 1 ~ 99 are supervisor. Program load to address 100.

Libraries

casl2
tiamat