Pular para o conteúdo

Deslocamentos binários e manipulação de bits

Introduzido
Material de apoio
Videoaula para este tópico Abrir a página do vídeo
21:25

Arquitetura Von Neumann

Durante a maior parte da história, uma máquina fazia um trabalho. Um tear tecia pano. Uma calculadora somava. Para fazê-la fazer algo novo, você a reconstituía. Depois veio algo decepitivamente simples…

Narração em inglês · legendas em inglês e 中文 que você pode alternar

Nesta aula

Videoaula
Vocabulário
English Significado
processor/ˈprəʊsesə/The component that executes instructions and performs the operations of a computer or similar system.
multiply instructionAn instruction that tells a processor to multiply numbers.
bit/bɪt/
shift/ʃɪft/Moving the bits of a binary value left or right by a specified number of positions.
clock tickOne pulse of the clock that controls a processor's operations.
kilobytesUnits of data storage, each equal to about one thousand bytes.
embedded deviceA computer built into a larger system to perform a specific task.
register/ˈredʒɪstə/A small, fast storage location within a processor used to hold data, addresses or instructions temporarily.
sensor/ˈsensə/Devices that detect physical quantities and produce signals representing their measurements.
actuator/ˈæktʃuːeɪtə/A device that converts a control signal into a physical action, such as movement.
Test/test/To check whether a chosen bit is 0 or 1.
mask/mæsk/máscara
mask operationsOperations that use a bit pattern to change or check chosen bits.
logical shift/ˈlɒdʒɪkl ʃɪft/deslocamento lógico
unsigned numberA binary number whose bits all represent value, with no sign bit.
integer/ˈɪntɪdʒə/A whole number that may be positive, negative or zero.
sign bit/saɪn bɪt/bit de sinal
two's complement/tuːz ˈkɒmplɪmənt/A signed binary integer representation in which a negative value is formed by inverting the positive value's bits and adding one within a fixed bit width.
byte/baɪt/A group of eight bits, commonly used as a unit of data storage.
arithmetic right shift/ˌærɪθˈmetɪk raɪt ʃɪft/deslocamento aritmético à direita
logical right shiftAn operation that moves bits right and fills empty positions with zeros.
cyclic shift/ˈsaɪklɪk ʃɪft/deslocamento cíclico
rotate/rəʊˈteɪt/An operation that moves bits around so bits leaving one end enter the other.
cyclic left shiftAn operation that moves bits left and returns those leaving to the right end.
Clear/klɪə/To change a chosen bit to 0 without changing other bits.
Toggle/ˈtɒɡl/To change a chosen bit from 0 to 1 or from 1 to 0.
ACCA register that holds results of arithmetic and logic operations.
denary/ˈdiːnəri/The base-ten number system, using the digits zero through nine.
binary/ˈbaɪnəri/A number system using base two, with the digits zero and one.
hexadecimal/ˌheksəˈdesɪml/A base-sixteen number system using digits zero to nine and letters A to F.
least significant bit/liːst sɪɡˈnɪfɪkənt bɪt/The bit with the lowest place value; in an integer it is the rightmost bit.
monitoring/ˈmɒnɪtərɪŋ/The process of checking data from sensors to observe a system.
control bitA bit whose value determines whether a device is switched on or off.
memory/ˈmeməri/Circuits that store data, such as registers, RAM and ROM.
overflow/ˌəʊvəˈfləʊ/A condition in which a result exceeds the range representable by the available storage or number format.
Próximo →

Material de apoio

IGCSE, A-Level & AP