Maps Redstone Device

Compair and Test

  • 709 views 0 today
  • save_alt 20 downloads
Progress
100% complete
  • 3
  • 0
  • 3
SilvercraftRedstone
Lvl 25Expert System
25
Functions

test:
sets carry flag 1 if at least 1 bit matches

cmp:
sets sign 0 if a>=b
sets sign 1 if b>a
sets carry if carry
sets zero flag 1 if a=b
sets overflow if overflow

overflow and carry have diffrent meanings for signed and unsigned int
this device works for both (signed and unsigned)

More like this

  Have something to say?

RevolutionalRedStone
04/17/2012 9:45 pm
Level 54 : Grandmaster Pirate
Wowsers, you are perhaps the most helpful member of the PMC Restone community! And certainly one of the most skilled, if panda doesn't decide to use this in his Bamboo core; and even if he does, I'ma use this In my J400, it is very compact... But I wonder; cauld it scale upto 8-bit ints ?

Thanks again SilverCraft; also i've just finished adapting and installing the ALU you built me and it's working like a Dream : ) .. I'm updating the project soon; and I'll sure be giving you a mention.
1
realheri
04/19/2012 10:42 am
Level 1 : New Crafter
i am glad that there are some ppl who can appreciate that
1
realheri
04/19/2012 10:26 am
Level 1 : New Crafter
cust copy one end and stack it to x-bit

edit, but with little changes the mini alu can du the same, this would reduce space ;)
1

Welcome