No Blink Eval
DigitalBob
Posts: 1,513
in Propeller 2
Just wondering why P56 doesn't blink Eval, works on flex GUI
spin2
214B
Comments
This line: translates to a single assembly instruction (from the Listing file in FlexProp): Those of us who have written Assembly for other processors recognize that this instruction is in fact doing three things: 1) Selecting the correct set of registers for the specified pin, 2) setting the dirx bit to 1 (for output), and then inverting the outx bit.
This is really cool, and as I delve more and more into PASM2 I find many useful instructions. In a recent case of porting a P1 PASM object to P2 PASM, I was able to replace nine lines of PASM1 with one line of PASM2. That made me smile. Not only is the P2 blazingly faster than the P1, it has a far more efficient instruction set.