Files
avo/examples
Michael McLoughlin d43efabdbe inst,ir: cancelling inputs (#92)
Adds support for a `CancellingInputs` instruction flag, to indicate cases like `XORQ R10, R10` where the instruction actually does not depend on the value of `R10` at all.

Closes #89
2019-07-28 17:58:49 -07:00
..
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-07-28 17:58:49 -07:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-04-13 22:53:13 -05:00
2019-01-22 22:35:01 -08:00

Examples

Simple functions:

  • add: Add two numbers. The "Hello World!" of avo.
  • sum: Sum an array of numbers.

Features:

  • args: Loading function arguments.
  • returns: Building return values.
  • complex: Working with complex{64,128} types.
  • data: Defining DATA sections.
  • ext: Interacting with types from external packages.

"Real" examples: