Aug 25, 2019
Update on the Mu computer
Now that we have a bootstrapped (quasi-) language and (kinda) bootstrapped OS, we're finally starting to think about less error-prone notations.
This week two of us built a notation for x86 addressing modes:
- direct:
%ecx
- indirect:
*ecx
- indirect with displacement:
*(ecx+4)
- indirect with index, scale and displacement:
*(ecx + edx<<3 + 4)
Not yet sure this is a good approach. But it'll be fun to playtest.
Here's before and after screenshots for factorial.subx.
Before:
After:
This post is part of my Freewheeling Apps Devlog.
Comments gratefully appreciated. Please send them to me by any method of your choice and I'll include them here.