• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Using C Instead of ASM

  • 534
    Posts
    12
    Years
    • Age 26
    • Seen Jul 24, 2023
    So I wanted to ask:

    1) Is it easier to use C to implement new features than ASM?
    2) Would it require a mastered experience in ASM to use C in implementing new features?
    3) Would anyone care to help me learn to use C in implementing new features? (Promise, I have lots and lots of innovations in my mind! :) )

    Reason for asking this:

    Well, I've viewed Touched's code for the Mega Evolution thingy using Code Blocks and it has piqued my interest since we're studying C in at college (1st Year Programming 1). So that's that. I just want to implement new features I have in mind without bugging anyone. :)
     
    So I wanted to ask:

    1) Is it easier to use C to implement new features than ASM?
    2) Would it require a mastered experience in ASM to use C in implementing new features?
    3) Would anyone care to help me learn to use C in implementing new features? (Promise, I have lots and lots of innovations in my mind! :) )

    Reason for asking this:

    Well, I've viewed Touched's code for the Mega Evolution thingy using Code Blocks and it has piqued my interest since we're studying C in at college (1st Year Programming 1). So that's that. I just want to implement new features I have in mind without bugging anyone. :)

    From my experience, it's only easier if you know C. Also understanding ASM first is a good starting point, a lot of the concepts are transferable almost at a 1:1 ratio. Anyways, I would suggest to you to pick the programming language that fits the task. If you're doing something big, go with C, otherwise go with ASM. I'm unsure if you'd be able to use most of your college learnings here. Functions like fgets, printing functions, strtok and other ones from libraries you use in college will probably not work in this environment (casting is useful though, casting is an essential part of it all!).
     
    From my experience, it's only easier if you know C. Also understanding ASM first is a good starting point, a lot of the concepts are transferable almost at a 1:1 ratio. Anyways, I would suggest to you to pick the programming language that fits the task. If you're doing something big, go with C, otherwise go with ASM. I'm unsure if you'd be able to use most of your college learnings here. Functions like fgets, printing functions, strtok and other ones from libraries you use in college will probably not work in this environment (casting is useful though, casting is an essential part of it all!).

    Ohh~ Then I guess I'll stick with ASM for a bit longer but I will still do advanced readings in C though. Thanks! ^U^
     
    I use C way more than I do ASM (although ASM is obviously necessary to know)

    Poketch, title screen, intro, poffins, etc etc all are in C

    Day/night music switching, drifloon appearance, swarms etc are in ASM

    I hope you can see what to use and when to use it now.. it all depends on how big/tedious the task is and whether or not it'd be better to do in C (plus real programming is super fun :P)
     
    I use C way more than I do ASM (although ASM is obviously necessary to know)

    Poketch, title screen, intro, poffins, etc etc all are in C

    Day/night music switching, drifloon appearance, swarms etc are in ASM

    I hope you can see what to use and when to use it now.. it all depends on how big/tedious the task is and whether or not it'd be better to do in C (plus real programming is super fun :P)

    They are both real programming, lol. Go fix your coin toss :D
     
    They are both real programming, lol. Go fix your coin toss :D

    ASM is what it gets compiled to. Like computer assembly..

    And what's wrong with the coin toss
     
    ASM is what it gets compiled to. Like computer assembly..

    And what's wrong with the coin toss

    ASM, like C, is still a programming language. The fact that C compiles to ASM doesn't mean anything. ASM is a low level programming language, which means it maps very close to processor instructions. C is just higher, but it doesn't mean anything to say X more real of a programming language than Z. When X and Z can both be proven to be programming langauges mathematically or conceptually using ASM (abstract state machines) and FSM (finite state machines). As well as turing machines.

    That's the point I'm trying to bring up. I'm not sure if it was intentional, but it seemed to me like you were saying ASM wasn't a programming language incomparison to C, when they both are, equally. You can do everything you do in C with ASM, you must be able to by definition, because as you said C compiles into ASM :)
     
    Back
    Top