Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Programming Question of the Week?

Programming Question of the Week?

Scheduled Pinned Locked Moved The Lounge
question
25 Posts 14 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M megaadam

    Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

    ... such stuff as dreams are made on

    R Offline
    R Offline
    Rage
    wrote on last edited by
    #3

    segment .data

    segment .bss

    segment .text
    global fibo

    fibo:
    push ebp
    mov ebp, esp

    mov  edx, \[ebp+8\]
    cmp  edx, 2	;n mit 2 vergleichen
    jae  recur	;falls größer
    

    ;mov esp, ebp
    ;pop ebp
    ;ret

    recur:
    push edx
    push eax
    call fibo
    dec edx
    mov edx, eax
    push edx

    call fibo
    add esp, 8
    add eax, edx
    pop edx
    
    pop edx
    ret 0
    

    Do not escape reality : improve reality !

    M L 2 Replies Last reply
    0
    • M megaadam

      Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

      ... such stuff as dreams are made on

      A Offline
      A Offline
      Amarnath S
      wrote on last edited by
      #4

      Tonight.

      1 Reply Last reply
      0
      • R Rage

        segment .data

        segment .bss

        segment .text
        global fibo

        fibo:
        push ebp
        mov ebp, esp

        mov  edx, \[ebp+8\]
        cmp  edx, 2	;n mit 2 vergleichen
        jae  recur	;falls größer
        

        ;mov esp, ebp
        ;pop ebp
        ;ret

        recur:
        push edx
        push eax
        call fibo
        dec edx
        mov edx, eax
        push edx

        call fibo
        add esp, 8
        add eax, edx
        pop edx
        
        pop edx
        ret 0
        

        Do not escape reality : improve reality !

        M Offline
        M Offline
        megaadam
        wrote on last edited by
        #5

        Thank You Sir Rage!

        ... such stuff as dreams are made on

        R 1 Reply Last reply
        0
        • M megaadam

          Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

          ... such stuff as dreams are made on

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #6

          Twixt Widershins and Netherhoop. That would be 3.30 Tuesday week.

          This space for rent

          1 Reply Last reply
          0
          • M megaadam

            Thank You Sir Rage!

            ... such stuff as dreams are made on

            R Offline
            R Offline
            Rage
            wrote on last edited by
            #7

            Kindly test and give feedback if works

            Do not escape reality : improve reality !

            F 1 Reply Last reply
            0
            • R Rage

              Kindly test and give feedback if works

              Do not escape reality : improve reality !

              F Offline
              F Offline
              F ES Sitecore
              wrote on last edited by
              #8

              It doesn't work

              R 1 Reply Last reply
              0
              • R Rage

                segment .data

                segment .bss

                segment .text
                global fibo

                fibo:
                push ebp
                mov ebp, esp

                mov  edx, \[ebp+8\]
                cmp  edx, 2	;n mit 2 vergleichen
                jae  recur	;falls größer
                

                ;mov esp, ebp
                ;pop ebp
                ;ret

                recur:
                push edx
                push eax
                call fibo
                dec edx
                mov edx, eax
                push edx

                call fibo
                add esp, 8
                add eax, edx
                pop edx
                
                pop edx
                ret 0
                

                Do not escape reality : improve reality !

                L Offline
                L Offline
                Lost User
                wrote on last edited by
                #9

                Please help me out. I don't understand those two comments. :-)

                The language is JavaScript. that of Mordor, which I will not utter here
                This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                OriginalGriffO 1 Reply Last reply
                0
                • M megaadam

                  Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

                  ... such stuff as dreams are made on

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #10

                  Indeed, poor Fibonacci, is always mistyped by 'software developers'. :-D

                  1 Reply Last reply
                  0
                  • M megaadam

                    Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

                    ... such stuff as dreams are made on

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #11

                    megaadam wrote:

                    When can you send me?

                    The question is not when. It's where I would like to send someone with such a question.

                    The language is JavaScript. that of Mordor, which I will not utter here
                    This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                    "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                    M 1 Reply Last reply
                    0
                    • L Lost User

                      Please help me out. I don't understand those two comments. :-)

                      The language is JavaScript. that of Mordor, which I will not utter here
                      This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                      "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #12

                      Which two? I see five!

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                      L 1 Reply Last reply
                      0
                      • OriginalGriffO OriginalGriff

                        Which two? I see five!

                        Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #13

                        This is not going to turn into one of those 'how many fingers am I holding up' type interrogation?

                        The language is JavaScript. that of Mordor, which I will not utter here
                        This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                        "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                        OriginalGriffO 1 Reply Last reply
                        0
                        • L Lost User

                          This is not going to turn into one of those 'how many fingers am I holding up' type interrogation?

                          The language is JavaScript. that of Mordor, which I will not utter here
                          This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                          "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                          OriginalGriffO Offline
                          OriginalGriffO Offline
                          OriginalGriff
                          wrote on last edited by
                          #14

                          No, because that is going to focus on just 2 at some point and somebody will get all upset. ;)

                          Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                          1 Reply Last reply
                          0
                          • F F ES Sitecore

                            It doesn't work

                            R Offline
                            R Offline
                            Rage
                            wrote on last edited by
                            #15

                            Did you try turning it off and on?

                            Do not escape reality : improve reality !

                            F 1 Reply Last reply
                            0
                            • R Rage

                              Did you try turning it off and on?

                              Do not escape reality : improve reality !

                              F Offline
                              F Offline
                              F ES Sitecore
                              wrote on last edited by
                              #16

                              It doesn't work.

                              1 Reply Last reply
                              0
                              • L Lost User

                                megaadam wrote:

                                When can you send me?

                                The question is not when. It's where I would like to send someone with such a question.

                                The language is JavaScript. that of Mordor, which I will not utter here
                                This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                                "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                                M Offline
                                M Offline
                                megaadam
                                wrote on last edited by
                                #17

                                Where can you send me?

                                ... such stuff as dreams are made on

                                D 1 Reply Last reply
                                0
                                • M megaadam

                                  Where can you send me?

                                  ... such stuff as dreams are made on

                                  D Offline
                                  D Offline
                                  den2k88
                                  wrote on last edited by
                                  #18

                                  To Fun Cool, a very nice place, in fact italians - a notoriously warm people - send daily quite a lot of individuals there.

                                  * CALL APOGEE, SAY AARDWOLF * GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X * Never pay more than 20 bucks for a computer game. * I'm a puny punmaker.

                                  1 Reply Last reply
                                  0
                                  • M megaadam

                                    Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

                                    ... such stuff as dreams are made on

                                    K Offline
                                    K Offline
                                    Keith Barrow
                                    wrote on last edited by
                                    #19

                                    +++++++++++

                                    +>>>>++++++++++++++++++++++++++++++++++++++++++++
                                    ++++++++++++++++++++++++++++++++<<<<<<[>[>>>>>>+>
                                    +<<<<<<<-]>>>>>>>[<<<<<<<+>>>>>>>-]<[>++++++++++[-
                                    <-[>>+>+<<<-]>>>[<<<+>>>-]+<[>[-]<[-]]>[<<[>>>+<<<
                                    -]>>[-]]<<]>>>[>>+>+<<<-]>>>[<<<+>>>-]+<[>[-]<[-]]
                                    [<<+>>[-]]<<<<<<<]>>>>>[+++++++++++++++++++++++++
                                    +++++++++++++++++++++++.[-]]++++++++++<[->-<]>++++
                                    ++++++++++++++++++++++++++++++++++++++++++++.[-]<<
                                    <<<<<<<<<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]<-[>>.>.<<<
                                    [-]]<<[>>+>+<<<-]>>>[<<<+>>>-]<<[<+>-]>[<+>-]<<<-]

                                    It's even copypasta, so it's perfect answer to the question.

                                    KeithBarrow.net[^] - It might not be very good, but at least it is free!

                                    M 1 Reply Last reply
                                    0
                                    • K Keith Barrow

                                      +++++++++++

                                      +>>>>++++++++++++++++++++++++++++++++++++++++++++
                                      ++++++++++++++++++++++++++++++++<<<<<<[>[>>>>>>+>
                                      +<<<<<<<-]>>>>>>>[<<<<<<<+>>>>>>>-]<[>++++++++++[-
                                      <-[>>+>+<<<-]>>>[<<<+>>>-]+<[>[-]<[-]]>[<<[>>>+<<<
                                      -]>>[-]]<<]>>>[>>+>+<<<-]>>>[<<<+>>>-]+<[>[-]<[-]]
                                      [<<+>>[-]]<<<<<<<]>>>>>[+++++++++++++++++++++++++
                                      +++++++++++++++++++++++.[-]]++++++++++<[->-<]>++++
                                      ++++++++++++++++++++++++++++++++++++++++++++.[-]<<
                                      <<<<<<<<<<[>>>+>+<<<<-]>>>>[<<<<+>>>>-]<-[>>.>.<<<
                                      [-]]<<[>>+>+<<<-]>>>[<<<+>>>-]<<[<+>-]>[<+>-]<<<-]

                                      It's even copypasta, so it's perfect answer to the question.

                                      KeithBarrow.net[^] - It might not be very good, but at least it is free!

                                      M Offline
                                      M Offline
                                      megaadam
                                      wrote on last edited by
                                      #20

                                      Nice! What is it, Brainelephant?

                                      ... such stuff as dreams are made on

                                      K 1 Reply Last reply
                                      0
                                      • M megaadam

                                        Quickly I must have codes for “Numbers”-fibonaxi Program. Urgent!please tonight. When can you send me?

                                        ... such stuff as dreams are made on

                                        M Offline
                                        M Offline
                                        MarkTJohnson
                                        wrote on last edited by
                                        #21

                                        Serindipity[^]

                                        R 1 Reply Last reply
                                        0
                                        • S StM0n

                                          It's NUMB3RS... please mind your writinx ;)

                                          (yes|no|maybe)* "Fortunately, we don't need details - because we can't solve it for you." - OriginalGriff

                                          I Offline
                                          I Offline
                                          Ian Shlasko
                                          wrote on last edited by
                                          #22

                                          That show was cute, but way too formulaic. Think they'll make a F1B0NACC1 spin-off?

                                          Proud to have finally moved to the A-Ark. Which one are you in?
                                          Author of the Guardians Saga (Sci-Fi/Fantasy novels)

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups