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.

Zweierkomplement (für 8 Bits)

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

Ich hab mal 'ne Fragen zum Addieren im Zweierkomplement.

Gegeben sind 3 Zahlen im Dezimalsystem:

-3

-5

11

Umgerechnet ins 2er-Komplement:

-3 = 11111101

-5 = 11111011

11 = 00001011

So nun sollen diese Zahen addiert werden, aber genau da scheiter ich. Das Ergebnis muss ja +3 sein, also: 00000011

11111101

11111011+

00001011+

00001011=

(Vorzeichen stehen dahinter, da die Formatierung sonst rumzickt ;) )

Irgendwo muss ich einen Fehler gemacht haben. Vor lauter 0en und 1en bin ich aber vermutlich schon blind...

Danke für die Hilfe.

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.