Revision 09d33c16-729a-436f-a50e-a82d44d76fea - Code Golf Stack Exchange

# [Wise](https://github.com/Wheatwizard/Wise/tree/master), 12 bytes (non-competing)

*Mistah Figgins has me beat [here](https://codegolf.stackexchange.com/a/113568/56656)*

 [:??:?^?&<]|

I just made this language so I thought I would try the basics.

[Try it online]

## Explanation

 [ ... ] #Loop until our carry is zero
 : #Duplicate the top
 ?? #Roll the top two to the bottom
 : #Duplicate the top
 ? #Roll to the bottom

At this point we have `n m m n` on the stack

 ^ #Xor n and m
 ? #Roll that to the bottom
 & #And n and m to create the carry over
 < #Bitshift to the left
 | #Remove the extra zero with an or

 [Try it online]: https://tio.run/nexus/wise#@x9tZW9vZR9nr2YTW/P//39Dg/@GhgA

AltStyle によって変換されたページ (->オリジナル) /