Mouradpr Posted July 9, 2007 Posted July 9, 2007 (edited) please i want a source code with masm for calcul ( a mod B )... thnks Edited July 9, 2007 by Mouradpr
CyberLord Posted July 9, 2007 Posted July 9, 2007 xor edx, edx ; edx must be zero mov eax, num1 mov ecx, num2 idiv ecx ; eax = int (num1 / num2); => the quotient ; edx = num1 mod num2 ; => the reminder It's simple
Loki Posted July 9, 2007 Posted July 9, 2007 (edited) no no,Um, you might have to be a little more explicit than that about what you want Edited July 9, 2007 by Loki
zako Posted July 9, 2007 Posted July 9, 2007 I suspect he means masm syntax such as.if (10h mod 2); do something nop.else; do something else nop.endifthough he may find the assembled code not quite as he expected.
Mouradpr Posted July 9, 2007 Author Posted July 9, 2007 In fact, I want to create a new encryption algorithm similar to something RSA but it is difficult ... By Assembly .A language other langue...Tell them very soon. thnks For all
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now