Reply
  • Jan 1, 2021

    I have to make a program in assembly language that will count the space between two letters in the alphabet. So A to D is 2 in between. I'm killing myself here lmao.

  • eclass ⛓️
    Jan 1, 2021

    wouldnt you buiild a database of each letter and give it a value (1,2,3,etc) and just do = A - Z = 25 or some s***.

  • Jan 2, 2021
    ·
    1 reply

    Better off asking Stack Overflow than KTT breh lol

  • Jan 2, 2021

    Not sure what low level language you’re using, but one thing that may help is thinking about how chars are represented.

    Like in C where you can get the ascii value of a char by subtracting ‘a’, it would definitely be easy to find the difference between two chars if you could subtract them

  • Jan 2, 2021
    ·
    1 reply

    Maybe you can take inspiration from a more known exercise, such as the caesar cipher? It plays with a very similar concept.

    github.com/vnteles/AssemblyX86-CaesarCipher/blob/master/caesar_cipher.asm

  • Jan 2, 2021
    Sand Man

    Better off asking Stack Overflow than KTT breh lol

    lmfao 2 real

  • Jan 2, 2021
    ·
    1 reply
    ALONE

    Maybe you can take inspiration from a more known exercise, such as the caesar cipher? It plays with a very similar concept.

    https://github.com/vnteles/AssemblyX86-CaesarCipher/blob/master/caesar_cipher.asm

    I need to be better at this

  • Jan 2, 2021
    ·
    1 reply
    Bo Ceephus

    I need to be better at this

    At what precisely? I’m not good at assembly either, but I know what kind of resources I need to progress.

  • Jan 2, 2021
    ·
    1 reply
    ALONE

    At what precisely? I’m not good at assembly either, but I know what kind of resources I need to progress.

    Just programming in general. I was doing okay taking python classes in college but fell off shortly after

  • Jan 3, 2021
    Bo Ceephus

    Just programming in general. I was doing okay taking python classes in college but fell off shortly after

    I’m sure you’re able to pick it up again and improve! There are a bunch of good online courses that you can follow to get knowledge, such as cs50. Have a look at it, if you like! :)