Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

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.

Kurze X86'er Frage

Empfohlene Antworten

Veröffentlicht

Hallo,

dieses ist normal nicht meine Rubrik hier, und ich kann kein x86 Assembler.

Ich programmiere normalerweise Java.

Nun benötige ich allerdings ein kurzes x86 Assembler Beispiel für folgende Berechnung:

(20*(40+1))

Ich möchte damit etwas testen.

Nein, das ist keine Schulaufgabe ;) Aus dem Alter bin ich raus.

Ich möchte etwas in einem Delphi Programm testen, welches einige Sachen aus Assembler übernimmt.

MfG

Markus

Moin!

Es ist zwar lange her, aber ich denke das sollte es tun:


MOV AX, 40

ADD AX, 1

MOV BX, 20

MUL BX

ACHTUNG: Dass das Ergebnis in AX liegt daran, dass es sich bei den beiden Faktoren um 8Bit-Werte handelt. Wenn Du Ergebnisse hast, die die 16Bit sprengen, dann liegen sie in DX:AX.

ACHTUNG2: Meine kenntnisse stammen noch aus 286-Zeiten. Sie sollten aber immernoch gueltig sein.

Du kannst auch hier nachschauen:

8086/88 Assembler Befehlsreferenz

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

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.