5.72 · exercise
Basic quiz: binary logic
Two's complement negation, the sign bit, how many bits one hexadecimal digit carries, what a logical shift left does to a value, and the instruction that complements a register.
0 of 5 correct
Multiple choice
How is a positive integer negated in two's complement representation?
Multiple choice
How many bits are represented by a single hexadecimal digit?
Multiple choice
What arithmetic does a logical shift left (lsl) by n bits perform on the value in a register?
Multiple choice
Which AArch64 instruction writes the bitwise NOT (the complement of every bit) of one general-purpose register into another?
Multiple choice
In a two's complement signed integer, what does a 1 in the left-most bit indicate?