Program Schema

The Program Schema (Program.xsd) contains the primitive types used by all other documents to control the data that is emitted to the binary file by the compiler.

addressOf

The addressOf element emits the relative or absolute address of a label. By referencing a label by name, you can ensure that the correct address for that label on the target machine is written to disk at compile time.

align

The align element emits empty bytes (zeros) in order to force the next element that is written to line up to a specific address boundary.

binary

The binary element emits one or more bytes that have been converted from binary notation.

byte

The byte element emits one byte that has been converted from an unsigned integer notation.

sbyte

The sbyte element emits one signed byte that has been converted from a signed integer notation.

short

The short element emits two bytes that have been converted from a signed integer notation.

ushort

The ushort element emits two bytes that have been converted from an unsigned integer notation.

int

The int element emits four bytes that have been converted from a signed integer notation.

uint

The uint element emits four bytes that have been converted from an unsigned integer notation.

long

The long element emits eight bytes that have been converted from a signed integer notation.

ulong

The ulong element emits eight bytes that have been converted from an unsigned integer notation.

hex

The hex element emits hexadecimal values.

string

The string elements one or more bytes that have been converted from an ASCII string.

empty

The empty element emits one or more zero bytes.

label

The label element does not emit any bytes. It is used to track a specific location in memory, and can be used by the addressOf label to emit the final address of a label on the target machine.

Last edited Jan 30, 2015 at 3:47 AM by JoshuaBair, version 3