Hp 49g Graphing Calculator Manual de usuario Pagina 82

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 199
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 81
Using Boolean operators
The HP 49G provides a number of commands that enable you to perfonu
Boolean operations and comparisons on binary integers. These
commands—available by pressing 0 (B^ LOGIC—are illustrated in the
following table. The input syntax shown assumes that you are in algebraic
mode.
Commands
Examples
Input Output
AND Logical bit-by-bit
AND of two arguments.
Compares corresponding
bits and returns true (1) if
both bits are 1.
# 1100b AND# 1010b #1000b
NOT Returns the one’s
complement of the argu
ment. Each bit in the result
is the complement of the
corresponding bit in the
argument.
NOT (#11 lb)
#Liiiimoooob‘>
OR Logical bit-by-bit OR
of two arguments. Com
pares corresponding bits
and returns true (1) if either
bit is 1.
# 1100b OR# 1010b #lllOb
XOR Logical bit-by-bit
exclusive OR of two argu
ments. Compares coue-
sponding bits and returns
true (1) if only one of the
bits is 1.
# 1101b XOR# 1011b # IlOb
aThis answer assumes that the wordsize has been set to 12.
Number bases
Page 8-5
Vista de pagina 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 198 199

Comentarios a estos manuales

Sin comentarios