Posted July 9, 200718 yr please i want a source code with masm for calcul ( a mod B )... thnks Edited July 9, 200718 yr by Mouradpr
July 9, 200718 yr 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
July 9, 200718 yr no no,Um, you might have to be a little more explicit than that about what you want Edited July 9, 200718 yr by Loki
July 9, 200718 yr 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.
July 9, 200718 yr Author 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
Create an account or sign in to comment