aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: ac53f7903bf765c0d24754d7958ee37b7e4f02b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Creole is a bytecode designed for simple implementations.

## Bytecode Format

Each creole line consists of pseudo-UTF-8 characters. The first byte
is an unsigned number between 0 and 127 (the high bit is clear). Each
suceeding pseudo-UTF-8 character is encoded as follows:

* `110xxxxx 10xxxxxx`
* `1110xxxx 10xxxxxx 10xxxxxx`
* `11110xxx 10xxxxxx 10xxxxxx 10xxxxxx`
* `111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx`
* `1111110x 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx	10xxxxxx`
* `11111110 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx 10xxxxxx`

The first four bytes determine the type:

* `0`: Value is a register.
* `1`: Value is immediate.

All other values are reserved. Overlong values are allowed, and for some
argument values they are necessary. All lines are terminated by a byte
of all zeros.
etro' width='13' height='13' alt='Gravatar' /> dmaas 3-4/+12 2003-01-06back out previous commit - don't drop the legacy API just yetGravatar dmaas 6-173/+130 2003-01-05emulate legacy ISO reception API on top of new rawiso APIGravatar dmaas 7-131/+174 2002-12-24update iso API for multi-channel reception and new packet buffer layoutGravatar dmaas 4-123/+236 2002-12-20oops, irq_interval needs to be signedGravatar anonymous 1-1/+1 2002-12-20dmaas - renamed exported arm definitions into the raw1394_ namespace; brought...Gravatar anonymous 3-124/+48 2002-12-16rawiso updates:Gravatar dmaas 3-18/+25 2002-11-18fix cplusplus extern C blockGravatar ddennedy 1-4/+4 2002-11-18merged rawiso branchGravatar ddennedy 7-6/+488