Ok so I got it to work a little bit it finds the GCD for 5 and 20 but when I test it with 18 and 24 the program stops working. I am missing something here with my logic or some thing with the registers. I dont know what is wrong with this seeing that it worked with the first test group of...
Ok well I am working on a program that does the GCD thing but needs to be recursive. My problem is I dont know how to call it with the values that I have in the data section and two I dont know if it works right or not.
well here is what I have so far
Thanks for any help :)
TITLE MASM GCD...
Thank you for the advice I was still thinking in Java, that just slipped my mind about running though the addresses not doing like java, at least I was not off by 1 but 4.
Hello, I got this simple program worked up and I just dont think it is doing what is is suppose to do. Now admittedly I am just starting in assembly language and I am still a bit lost.
This is in MASM and I want to sum every number in the array that is less than 50 (sample varable) I think I got...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.