Binary shifts (updated)

8 flashcardsby —Griffith—
Study these flashcardsFree · spaced repetition · iPhone, Android, Mac & web

All cards

1
What are Binary shifts?
Moving the bits stored in a register a given number of places with the registers
2
What is a Logical shift?
- Bits shifted out of the registers replaced with 0
- e.g: 10101111 Shifted left 3 place becomes 01111000
3
What is Logical Shift Left (LSL)?
Multiples the number by 2 to the power of n
4
What is Logical Shift Right (LSR)?
Divides the number by 2 to the power of n
5
What is an Arithmetic shift?
- The sign of the number is preserved
- e.g: 10101111 Shifted right 3 places becomes 11110101
6
What is a Left shift
- Bits are shifted to the left
- e.g: 10101111 Shifted left 3 places becomes 01111000
7
What is a Right shift?
- Bits are shifted to the right
- e.g: 10101111 Shifted right 3 places becomes 1111010
8
What is a Cyclic shift?
- No bits are lost, bits shifted out of one end of the register are introduced at the other end of the register
- e.g: 10101111 Shifted left 3 places becomes 01111101
Study all 8 cards for free

More flashcards

Module 8 Set 4 AST24 cardsScience · EnglishAdamhealth laws20 cardsComputer science · Englishmichaanimals idioms 3 part 115 cardsGeneral knowledge · Englishanya€Veterinary Toxicology: Poisonous Plants12 cardsMedicine & health · EnglishDanielaSuunnat8 cardsLanguages · English → FinnishEverestAngielski: Słownictwo biznesowe (dział 6)366 cardsLanguages · PolishFilipp_204Spanisch Vokabeln Einheiten 1 und 2 Komplett98 cardsLanguages · German → SpanishPaulYearbook - Words to Know72 cardsHistory & humanities · EnglishJesperABO Blood Group55 cardsMedicine & health · EnglishKimPharmacology: Drug Absorption and Membrane Transport46 cardsMedicine & health · EnglishDanielaBiology4 decks · 127 cardsSciencembPlaque Psoriasis Drugs30 cardsMedicine & health · EnglishAvery

Study these decks in the app

Free on iPhone, Android, Mac and the web. Add any deck to your account in one tap.

Download on the App StoreGet it on Google Play
Study all 8 cards for free