for (a=0; a<=y; a++)
        for (b=0; b<=y/2; b++)
            for (c=0; c<=y/3; c++)
                if ((a + 2*b + 3*c) == y)
                    count++;

I am trying to convert my code into assembly code, and all i can find on google is at&t syntax, and its super annoying!!! but i need to figure

This is strickingly similar to the last posts of this thread yet somehow a different username. Check there for an answer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.