COSIL ASM (CASM)

Since I cannot be bothered to write everything in raw bytecode I have written a COSIL ASM (CASM) compiler library called SCALP - Simple Cosil Assembler Library Package.

It uses the mnemonics from the COSIL Language specification as the commands.

SCALP is quite fussy about layout. The commands are separated by new line character ('\n'). Parameters are single-space separated. Hex number notation is not supported. The use of chars in the C# format of 'X' is allowed, however only ASCII characters are supported.

Here is some example code:

MOV AL 1
MOV AH 72
KEI 1
JMP 0

SCALP is included in the main project source. Separately is a basic IDE, that includes syntax highlighting to show how SCALP can be used. As this project is free and open source feel free to integrate SCALP into your "Language X -> CASM -> COSIL Bytecode" Compiler!


Last edited Jul 25, 2013 at 6:21 PM by melikesPCcheese, version 3

Comments

No comments yet.