Asr - HP 48gII Advanced User's Reference Manual

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

hold key assignment indicated by "&" in the table below (where the shift is held while pressing
the key). The legal values for p and f are as follows:
Value of
.pf
.00 or .10 Unshifted [key]
.20
.30
.40
.50
.60
Once ASN has been executed, pressing a given key in User or 1-User mode executes the user-
assigned object. The user key assignment remains in effect until the assignment is altered by
ASN, STOKEYS, or DELKEYS. Keys without user assignments maintain their standard
definitions.
If the argument obj is the name SKEY, then the specified key is restored to its standard key
assignment on the user keyboard. This is meaningful only when all standard key assignments had
been suppressed (for the user keyboard) by the command S DELKEYS (see DELKEYS).
To make multiple key assignments simultaneously, use STOKEYS. To delete key assignments,
use DELKEYS.
Be careful not to reassign or suppress the keys necessary to cancel User mode. If this happens,
exit User mode by doing a system halt ("warm start"): press and hold ‡and C
simultaneously, releasing Cfirst. This cancels User mode.
...µ
Access:
Flags:
User-Mode Lock (–61) and User Mode (–62) affect the status of the user keyboard
Input/Output:
See also:
DELKEYS, RCLKEYS, STOKEYS

ASR

Type:
Command
Description: Arithmetic Shift Right Command: Shifts a binary integer one bit to the right, except for the most
significant bit, which is maintained.
The most significant bit is preserved while the remaining (wordsize –1) bits are shifted right one
bit. The second-most significant bit is replaced with a zero. The least significant bit is shifted out
and lost.
An arithmetic shift is useful for preserving the sign bit of a binary integer that will be shifted.
Although the hp49g+/hp48gII makes no special provision for signed binary integers, you can
still interpret a number as a signed quantity.
Shift
(left-shifted) [key]
!
(right-shifted) [key]
...
(alpha-shifted) [key]
~
(alpha left-shifted) [key]
~!
(alpha right-shifted)
~...
OR !&H
ASN
KEYS ASN
Level 2/Argument 1
Level 1/Argument 2
obj
'SKEY'
Value
of .pf
.21
!
.31
...
.41
~
.51
~!
.61
~...
x
key
x
key
Full Command and Function Reference 3-15
Shift
& [key]
& [key]
& [key]
& [key]
& [key]
Level 1/Item 1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents