Practicum Processor 2 Learn Assembly Language 2 Preserve Prosperity language

View project on GitHub

Standard LIB

The Standard Library (Standard LIB) is a collection of possibly useful methods you want to incorporate in your own programs as well. Just download the .pp2 files you want and put them in the directory of your choice. Once you have done so, import it in your own PP2LAL2PP program by using import <name>. Just like PP2LAL2PP, the Standard LIB is published under the MIT licence.




Keeps the processor busy counting down instead of doing other things.

delay The amount of times the function has to loop until it exists. Note that there is no real unit for 1 delay loop. It's just one iteration. Using a delay of 1000 is pretty optimal for 7Segment multiplexing.

power(base, exp)

Calculates base to the power of exp.

© 2016 Ruben Schellekens, Sten Wessel PP2LAL2PP software published under the MIT licence.