Hp 49g Graphing Calculator Uživatelský manuál Strana 83

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 199
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 82
Manipulating bits and bytes
The following commands enable you to manipulate binaiy integers one bit
or one byte at a time. The commands are available by pressing o (BASEjbit
OR 0 (0E)byte. Unless otherwise stated, each example assumes the
wordsize is set to 24.
Commands
Example
Input Output
ASR Arithmetic Shift Right. Per
forms 1 bit arithmetic right shift.
The most significant bit is regener
ated.
#1100010b
#110001b
RL Rotate Left. Binary integer
rotates left one bit. (The example
assumes that the wordsize is 4.)
# 1100b # 1001b
RLE Rotate Left Byte. Binary inte
ger rotates left one byte.
# FFFFh # FFFFOOh
RR Rotate Right. Binary integer
rotates right one bit. (The example
assumes that the wordsize is 4.)
# 1101b #1110b
RRB Rotate Right Byte.
Binary integer rotates right one
byte.
# AOBOCOh COAOBOh
SL Shift Left. Binary integer shifts
left one bit.
# 1101b
#11010b
SLB Shift Left Byte. Binary integer
shifts left one byte.
# AOBOh # AOBOOOh
SR Shift Right. Binary integer
shifts right one bit.
#llOllb # 1101b
SRB Shift Right Byte. Binary inte
ger shifts right one byte.
# AOBOCOh # AOBOh
Page 8-6
Number bases
Zobrazit stránku 82
1 2 ... 78 79 80 81 82 83 84 85 86 87 88 ... 198 199

Komentáře k této Příručce

Žádné komentáře