12-24-2014, 08:42 PM
(12-24-2014, 07:03 PM)Chibill Wrote: SBM and RBM are nothing like move.. They change how big of numbers they hold in bit size and actuall should be combined into Set Bit Mode to set you bit mod. Also I still don't understand what ADDC is used for because if that instrucrion exists the uses could break the whole Multi-bit system.
That is because you don't understand how I was able to integrate your bit modes into MOV. I made it so that your FLAGS control the bit mode, and then you move the value you want your bit mode to be into the FLAGS. What you would have found is that this is pretty much how SBM and RBM would have worked anyway, except you would have just put each of them into their own arbitrary two bit control registers.
ADD EAX, EBX = A + B --> A
ADC EAX, EBX = A + B + 1 --> A, where 1 is the carry in. You're going to need this operation if you want your multi bit stuff to work.