Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

(a Mod B)

Featured Replies

Posted

please i want a source code with masm for calcul ( a mod B )... :(

thnks

Edited by Mouradpr

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 :P

  • Author

no no,

no no,

Um, you might have to be a little more explicit than that about what you want

Edited by Loki

I suspect he means masm syntax such as

.if (10h mod 2)
; do something
nop
.else
; do something else
nop
.endif

though he may find the assembled code not quite as he expected.

  • 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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.