Skip to content

Data Generator

Paul Raingeard edited this page Nov 26, 2021 · 1 revision

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.

Generating data

Steps:

  • Insert a snippet by typing gen or select de command Insert snippet.
  • Modify the values.
  • Click on the Generate data code 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