Help me with my calculator

  • KingCarrot
    6th March Member 0 Permalink

    Hello
    been trying to make a small little computer as a side project when im bored. So far ive made a Linear counter at 1hz, binary counter at 2hz and a 24hr clock. now ive tried to make a calculator using FILT and ARAY. I have made it so i can take 2 numbers and then i XOR them together into a BRAY(THis does make it so that the math is wrong but i can fix that later). but now what do i do with this BRAY? ive tred to configure some DTEC to detect specific wavelengths, but it isnt working. 
    i guess my question is How do i read a BRAY


    Heres all the stuff ive made so far

    https://powdertoy.co.uk/Browse/View.html?ID=3216687 

  • Jerehmia
    6th March Member 1 Permalink

    This save pretty much explains exacly what you want:

     

     

    To add numbers you'll have to create half adder logic in FILT and put as many half adders in series as you've got bits to add (I have demonstration saves for adders/subtractors too).

    Edited once by Jerehmia. Last: 6th March
  • KingCarrot
    10th March Member 0 Permalink

    @Jerehmia (View Post)

     This is exactly what i was looking for, thank you so much