05-22-2014, 09:06 AM
05-22-2014, 09:15 AM
You're right, there's nothing provided beyond SDR and SDL. Maybe a nice programming exercise ...
d:-)
d:-)
05-22-2014, 09:15 AM
In real mode, you get SDL and SDR to shift one digit either way.
In integer mode, BCD isn't directly supported. At least there is no BCD arithmetic. A BCD digit shift is just a four bit shift and those are supported. There is no support for digit swapping -- why is this required/important?
It should also be straightforward to implement BCD to binary conversions as subroutines.
- Pauli
In integer mode, BCD isn't directly supported. At least there is no BCD arithmetic. A BCD digit shift is just a four bit shift and those are supported. There is no support for digit swapping -- why is this required/important?
It should also be straightforward to implement BCD to binary conversions as subroutines.
- Pauli
05-24-2014, 06:44 AM
(05-22-2014 09:15 AM)Paul Dale Wrote: [ -> ]There is no support for digit swapping -- why is this required/important?Hi Pauli, was working on this little exercise to check how the 34s would perform, see here
This little problem essentially consists in generating all permutations of 9 digits, that is 362880 possibilities.
In the absence of BCD, I've been using one register per digit, which, I think, would affect memory consumption more than actual performance.
Required: to store permutations
Important: certainly not