5

NASM, does not do the supposed output! (caesar cipher)

view full story
linux-howto

http://stackoverflow.com – THE PROBLEM, IN SHORT, IS THAT IT DOES NOT OUTPUT ANYTHING. I've been literally ~7hours coding 4 simple assembly programs today on NASM... all based around having a caesar cypher done with different inputs. I swear, this seems like witchcraft, from the first time I finished the first program I had a 99% certainty I did everything right. Basically, it takes a file's input: 10 characters, all CAPs, advances them all by 3 positions in the alphabet each, and those that go past the Z ascii code, then get 26 positions subtracted. Z->D, A->D, D->H, etc. Only important code is here: mov ecx, 0 mov (HowTos)