Data Generator - prb28/vscode-amiga-assembly GitHub Wiki
Generating data from an expression
The Amiga Assembly extension can help you to generate data from a mathematical expression.
This may help to create a pre-calculated sinus table.

Steps:
- Insert a snippet by typing
genor select de commandInsert snippet. - Modify the values.
- Click on the
Generate datacode lens.
Options
| option | description |
|---|---|
| expression | Mathematical expression (all functions from Math javascript library are accessible |
| startValue | Start value for the variable |
| endValue | End value for the variable |
| step | Step for the variable increment |
| outputType | Output type in (B)yte, (W)ord or (L)ong - will generate the dc.(b|w|l) |
| outputInHex | If true the output values will be in hex |
| valuesPerLine | Count of values in one line of data |
Please do not modify the variable name