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.

Subtrahieren von Binärzahlen

Empfohlene Antworten

Veröffentlicht

Hallöööchen mit 3 öchen,

da meine Schule erst am Montag beginnt, möchte ich schon einmal vorarbeiten, hänge aber schon seit gestern beim subtrahieren von Binärzahlen. Ich versteh es einfach nicht.

Ich weiß zwar was ein Einerkomplement und ein Zweierkomplement ist und auch wie ich das umwandle, aber ich weiß nicht WANN ich das tun muss.

Mal steht dabei ich muss subtrahieren, dann wieder steht da ich muss mit den Komplementen addieren, also was jetzt?

Wikipedia sagt mir folgende Regeln:

0 − 0 = 0

0 − 1 = −1

1 − 0 = 1

1 − 1 = 0

Jetzt hab ich aber das Problem:

1 - 1 (und übertrag 1) = ?

0-1 = -1 (was soll das heißen? anhand eines Beispiels anscheinend 1 mit übertrag 1, oder?)

Also addieren klappt wunderbar, aber wie gesagt subtrahieren... es steht nirgendwo richtig und einfach am besten mit mehreren Beispielen :( (und glaubt mir google war mein bester Freund).

Ich bitte um Hilfe und würde mich über Antworten freuen.

Liebe Grüße

Bastilla

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.