stephenj wrote:After a brief review, it looks like we've implemented some of the same macros. I haven't looked at it too much yet, but I suspect your implementation is better than my own.
Are the macros you wrote available for download somwhere? I am always interested in seeing how other people implement macros as I often learn something that way.
stephenj wrote:One macro that I tend to implement is the XOR swap trick (I've yet to find a good alternative to xchg).
There is quite a bit more I could add. Current focus is on writing SWITCH/CASE macros to generate branch tables. Once finished with that focus will shift to writing test programs to make sure all the macros work properly.
stephenj wrote:I'd check my macro include, but my main computer (and only amd64 capable machine) is fried, and I won't have an alternative for a few hours.
Sorry to hear your computer is down. I do not have a 64-bit machine to test with and so none of the macpac's macros are 64-bit aware. (64-bit support is planned, however.)
stephenj wrote:Great job though!
Thanks!
- TJ
Theorem: a cat has nine tails.
Proof: No cat has eight tails. A cat has one tail more than no cat.
Therefore, a cat has nine tails.