PNut/Spin2 Latest Version (v51)

This is PNut_v51, which is the Parallax ongoing work-in-progress Spin2/PASM2 development tool.

Share this object
<

Overview

Content

Latest PNut Documentation:
https://docs.google.com/document/d/16qVkmA6Co5fUNKJHF6pBfGfDupuRwDtf-wyieh_fbqw/edit

Propeller 2 Silicon Documentation:
https://docs.google.com/document/d/1gn6oaT5Ib7CytvlZHacmrSbVBJsD9t_-kmvjd7nUR6o/edit?usp=sharing

Propeller 2 Assembly Language Instructions:
https://docs.google.com/spreadsheets/d/1_vJk-Ad569UMwgXTKTdfJkHYHpc1rZwxB-DcIiAZNdk/edit?usp=sharing

General Propeller 2 Documentation:
https://www.parallax.com/propeller-2/documentation/

PNut GitHub Repository (not yet updated):
https://github.com/parallaxinc/P2_PNut_Public

PNut_v51 adds exponential floating-point operators to Spin2 with a few minor enhancements and a bug fix. Here's what's new in v50:

  • New floating-point operators: POW, LOG2, EXP2, LOG10, EXP10, LOG (natural log) and EXP (e-to-the-power-of-x).

  • SIZEOF() can now be used in DAT blocks to get sizes of structures in bytes.

  • Long variables within structures can now be used as method pointers.

  • The syntax for ignoring multiple return values from methods has changed, since it had a stack bug and couldn't been successfully used by anyone. Instead of '_(number_of_longs_toignore)', it now uses brackets: '[number_of_longs_to_ignore]'.

A few bugs were found and fixed that had been in several versions, up to v51. One bug was causing columns not to be counted correctly for "object.method" instances and the other was not allowing "[++/--]structure_ptr" to be used as a parameter, due to some parsing oversight. These have both been fixed and a new v51a has been added below.


Downloads  
Zip archive download

Leave a Reply