NAME

Vas - Vobla assembler for ISOS - !!!! VERY ROUGH DRAFT !!!!!1


SYNOPSIS

vas [options] <sourcefile>


ARGUMENTS

Options may be one or more of the following:

-l
Create listing file

-wait
When finish, wait to user keystroke to close console window

-h
Listing Vas running options

-i directory
Adding a directory to include file path (default current directory)

-o directory
Definition of output directory for output (default current directory)

-ObjFileName
Output object file name. This option is a must when more than one file is being compiled.


DESCRIPTION

vas is the Vobla assembler.

Input Lines

The assembler takes a set of input lines, each of which have the format:

Comments are introduced by a semicolon (;), and cause subsequent characters until end of line to be ignored. Apart from the label field (which must start in the first column of the line) input is free format, and white space is ignored. Blank lines are also ignored.

Numbers

Decimal
A string of decimal digits, e.g. 123456

Hexadecimal
& (or 0x, in UNIX mode) followed by string of hexadecimal digits e.g. &ff00, 0xff00

Octal
@ (or 0, in UNIX mode) followed by string of octal digits e.g. @377, 0377

Binary
% followed by string of binary digits e.g. %110101

Characters
Up to 4 characters contained within single (') or double (``) quotes.

Quote characters
These can be escaped by doubling them. e.g. 'a', ``8'', '****', ``It's'', '\'\''