Fastest possible computer created!

  • iamdumb
    13th Aug 2014 Member 0 Permalink

    Probably. If it fits.

  • Ferne
    13th Aug 2014 Member 0 Permalink

    w0t, okeh.

  • Schneumer
    13th Aug 2014 Member 0 Permalink

    Binary Code......Binary Code everywhere

  • RockerM4NHUN
    13th Aug 2014 Member 0 Permalink

    Relocatable multiplier:

    Memory:

    0x00 - AX
    0x01 - BL
    0x02 - BH
    0x03 - RL
    0x04 - RH

     

    Prog multiplies AX and BL

     

    STIP //safety jump
    ADD A, 0x0E //safety jump
    JMP A //safety jump
    LOD A, 0x02 (A = BH) <-- NEXT
    SHL A, 1
    LOD B, 0x01 (B = BL)
    IF B, 0x80
    OR A, 0x01
    SHL B, 1
    STO B, 0x01
    STO A, 0x02
    LOD B, 0x00 (B = AX)
    SHR B, 1
    STO B, 0x00
    STIP <-- ENTRY POINT
    ADD A, 0x13 (=@END)
    LOD B, 0x00 (B = AX)
    IFN B, 0xFF
    JMP A
    ADD A, 0xE8 (=-@NEXT-@END)
    IFN B, 0x01
    JMP A
    LOD B, 0x01 (B = BL) //load variables
    LOD A, 0x03 (A = RL)
    ADD A, B
    STO A, 0x03
    LOD B, 0x02
    LOD A, 0x04
    ADC A, B
    STO A, 0x04
    STIP
    ADD A, 0xE5 (=@NEXT)
    JMP A
    LOD B, 0x04 <-- END
    LOD A, 0x03
    OUT A, B
    STOP

  • Ferne
    13th Aug 2014 Member 0 Permalink

    Oh god, that's a load of shit there. Thought I'd solve it in a smaller way...

  • RockerM4NHUN
    13th Aug 2014 Member 0 Permalink

    The job is yours ;)

  • Synergy
    3rd Sep 2014 Member 0 Permalink

    This looks absolutely fantastic.

  • h4zardz1
    3rd Sep 2014 Member 0 Permalink
    01100010 01101001 01101110 01100001 01110010 01111001 01101001 01110011 01100111 01101111 01101111 01100100
    (what is written inside that?)
  • iamdumb
    3rd Sep 2014 Member 0 Permalink

    @h4zardz1 (View Post)

     

    ASCII: binaryisgood

  • FM22
    3rd Sep 2014 Member 0 Permalink

    The computer is fine and very fast but with deco on (you need deco to see the keypad),
    the output number becomes invisible.
    I think it is to do with the insl taking on the deco colour rather than 'real' colour
    of the filt when the cray beams go through the filt at the output.