5.33 · exercise

Quiz: Binary Logic & Numbers - Intermediate

Logical instructions and their aliases, shifts and sign extension, and the integer widths and number bases behind them.

0 of 8 correct

Knowledge Check

What is the range of a signed 32-bit value in two's complement?

Knowledge Check

In the LP64 data model that Linux uses on AArch64, how many bits does a long int occupy?

Knowledge Check

The tst instruction is an alias for which base instruction?

Knowledge Check

What logical operation does the bic (bit clear) instruction perform?

Knowledge Check

What is the difference between a logical shift right (lsr) and an arithmetic shift right (asr)?

Knowledge Check

What does the sxtb wd, wn instruction do?

Knowledge Check

In the bitfield insert instruction bfi wd, wn, #lsb, #width, what does #lsb specify?

Knowledge Check

How many bits does a single octal digit represent?