346 chapter 2

0.0(0)
studied byStudied by 1 person
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/14

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

15 Terms

1
New cards

8

How many bits does a byte have?

2
New cards

16

How many bits does a half-word have?

3
New cards

32

How many bits does a word have?

4
New cards

64

How many bits does a double-word have?

5
New cards
  1. adding two positive numbers but getting a non-positive result

  2. adding two negative numbers but yielding a non-negative result

When adding signed numbers represented in two’s complement, overflow occurs only in two scenarios:

6
New cards
  1. subtracting a positive number from a negative number but getting a positive result

  2. subtracting a negative number from a positive number but producing a negative resul

when subtracting signed numbers, overflow occurs in two scenarios

7
New cards

different

Overflow cannot occur when adding operands with ______ signs

8
New cards

same

Overflow cannot occur when subtracting operands with the ____ signs

9
New cards

0 MSB = positive
1 MSB = negative

Signed magnitude representation

10
New cards

Positive: normal representation
Negative: invert all bits of a positive

One’s complement representation

11
New cards

invert all bits, then plus 1

Two’s Complement representation

12
New cards

No, No, Yes

<p></p>
13
New cards

No, Yes, No

knowt flashcard image
14
New cards

Yes, No, Yes

knowt flashcard image
15
New cards

Yes, Yes, No

knowt flashcard image