-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@charles-l's solution: add two numbers #21
Conversation
To run: $ subx translate 0*.subx add2.subx -o a.elf && subx run a.elf test
I'm switching to a more exposed working dynamic after chatting with Charles Saternos (#19). From now on I'll start a new branch for big features. Branches won't always pass all their tests. Phases have gone weeks in the past before being committed all at once. Developing in a branch gives others the opportunity to see more current progress and jump in more easily. Some 'kata' branches for new contributors to start at: * add two numbers: #21 * write a string to a byte stram: #22 * print a number in decimal to a byte stream: #20
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent! Thank you for also fixing my test.
btw -- this is a really good intro to the project (either for contributors or for people new to x86 and its calling conventions). Do you want me to move my code elsewhere so other folks can implement the solution themselves? |
I was thinking about that as well: https://mastodon.social/@akkartik/101994481345011251 But don't worry about it. This branch has your name on it. I'll spin up a new one -- with your test bugfix. |
Spun up another copy: #24 |
I'm switching to a more exposed working dynamic after chatting with Charles Saternos (#19). From now on I'll start a new branch for big features. Branches won't always pass all their tests. Phases have gone weeks in the past before being committed all at once. Developing in a branch gives others the opportunity to see more current progress and jump in more easily. Some 'kata' branches for new contributors to start at: * add two numbers: #21 * write a string to a byte stram: #22 * print a number in decimal to a byte stream: #20
I'm switching to a more exposed working dynamic after chatting with Charles Saternos (#19). From now on I'll start a new branch for big features. Branches won't always pass all their tests. Phases have gone weeks in the past before being committed all at once. Developing in a branch gives others the opportunity to see more current progress and jump in more easily. Some 'kata' branches for new contributors to start at: * add two numbers: #21 * write a string to a byte stram: #22 * print a number in decimal to a byte stream: #20
I'm switching to a more exposed working dynamic after chatting with Charles Saternos (#19). From now on I'll start a new branch for big features. Branches won't always pass all their tests. Phases have gone weeks in the past before being committed all at once. Developing in a branch gives others the opportunity to see more current progress and jump in more easily. Some 'kata' branches for new contributors to start at: * add two numbers: #21 * write a string to a byte stram: #22 * print a number in decimal to a byte stream: #20
I'm switching to a more exposed working dynamic after chatting with Charles Saternos (#19). From now on I'll start a new branch for big features. Branches won't always pass all their tests. Phases have gone weeks in the past before being committed all at once. Developing in a branch gives others the opportunity to see more current progress and jump in more easily. Some 'kata' branches for new contributors to start at: * add two numbers: #21 * write a string to a byte stram: #22 * print a number in decimal to a byte stream: #20
To see the failing tests:
Feel free to push changes to this branch as you like.
When (when!) you need to debug things, go back and reread https://github.com/akkartik/mu/blob/master/subx/Readme.md#a-few-hints-for-debugging. And, of course, feel free to email me.