[WP-34s] BCD Support
|
05-22-2014, 09:06 AM
Post: #1
|
|||
|
|||
[WP-34s] BCD Support
QQ: is there any BCD support on the 34S?
Like swapping digits, shifting right left etc? Haven't found that in the spec, so I assume no. |
|||
05-22-2014, 09:15 AM
Post: #2
|
|||
|
|||
RE: [WP-34s] BCD Support
You're right, there's nothing provided beyond SDR and SDL. Maybe a nice programming exercise ...
d:-) |
|||
05-22-2014, 09:15 AM
Post: #3
|
|||
|
|||
RE: [WP-34s] BCD Support
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 |
|||
05-24-2014, 06:44 AM
Post: #4
|
|||
|
|||
RE: [WP-34s] BCD Support
(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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)