Notch will release the newer spec soon (the draft is available here), so the stdlib has to be updated to match with that spec.
Major changes for stdlib:
- PUSH and POP has been merged (for now), bulk memory operation abusing SP won't work as is.
- Also the evaluation order of operands has been swapped. Combined with the merger of PUSH and POP this will break almost every code that abuses SP.
- We now have signed operations. Maybe useful for some cases (given that -1 is available for operands).
- SP-relative addressing is available, and it does not cost an additional cycle (in the current spec at least). The affects of this change are to be determined of course.
- Literal as the first operand to get unbranched comparison is not gone, but now slightly inefficient for some cases (no short literal allowed).
- Trivial assembler changes. (Don't think
s/\<O\>/EX/g will work, though)
Notch will release the newer spec soon (the draft is available here), so the stdlib has to be updated to match with that spec.
Major changes for stdlib:
s/\<O\>/EX/gwill work, though)