spin2cpp icon indicating copy to clipboard operation
spin2cpp copied to clipboard

Tool to convert Parallax Propeller Spin code to PASM, C++ or C

Results 32 spin2cpp issues
Sort by recently updated
recently updated
newest added

Was already in place, but seems to have been broken at some point. Also I don't think it ever worked if a constant was involved. I also added an IR-level...

The following code: ```spin PUB main(a) : x, y | b asm qexp a neg b, a qexp b getqx x getqx y endasm ``` compiles to the following, which...

As mentioned in #312, SETQ currently inhibits a bunch of optimizations by way of it being auto-marked as volatile. Though I'm not sure if that even covers all the potential...

The current implementation of __builtin_alloca() pretty much depends on being able to manipulate the stack at will, but this assumption is false if parameters are being passed on the stack...

This is just something I thought of today, that, from a cursory glance, the optimizer isn't doing yet. I'm not familiar with the ASM optimizer and it's past midnight, so...

Just some brainstorming... - Hand-written interrupt handlers should already work, as long as they push/pop the registers they use (and as long as they are lower priority than any high-level...

This has been simmering in my head for ages, so I guess I'll write another burner issue so it can simmer here for another century. Basically, it'd be real swell...

While looking through the optimizer, there's kinda been a question in the back of my mind: Is it ok if memory consistency isn't perfectly maintained? (ie. results don't match an...

... because the normal part of the multiply is emitted as a native op and the high part emits a function call. As seen in some of the system functions:...

The following code works in pNut and PropTool: ``` PUB readMagWord(magRegister) : result16 | tmpOK, ok '' Read two bytes from MAG regAddr lo is 1st byte read, hi is...