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: …µASN OR !&HKEYS ASN

Flags: UserMode Lock (–61) and User Mode (–62) affect the status of the user keyboard

Input/Output:

Level 2/Argument 1

Level 1/Argument 2

Level 1/Item 1

 

 

 

obj

xkey

'SKEY'

xkey

 

 

 

Example: Executing ASN with GETI in level 2 and 75.3 in level 1 assigns GETI to …Õon the user keyboard. (…Õhas a location of 75.3 because it is seven rows down, five columns across, and rightshifted.) When the calculator is in User mode, pressing …Õnow executes GETI (instead of executing Õ).

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 secondmost 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 calculator makes no special provision for signed binary integers, you can still interpret a number as a signed quantity.

Access: ÃLBIT ASR

( Ãis the rightshift of the 3key).

Flags: Binary Integer Wordsize (–5 through –10), Binary Integer Base (–11, –12)

Input/Output:

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

#n1

#n2

 

 

 

See also:

SL, SLB, SR, SRB

 

 

ASSUME

Type: Function

Description: Adds global names to the reserved variable REALASSUME, with specific assumptions. REALASSUME is a list of the global variables that will be considered by some CAS operations to represent real numbers when complex mode is set. ASSUME adds further assumptions, for example that a variable is greater than or equal to zero. Assumptions must be of the form v≤expression, or v≥expression, where v is the variable name. Several assumptions can be combined.

These assumptions are used by the solve commands; for example if a variable is assumed to be greater than zero then the solvers will not look for solutions where that variable is negative. Some of the solvers will give complex solutions for variables even if they are in REALASSUME.

Access: Catalog, …µ

Full Command and Function Reference 319

Page 139
Image 139
HP 48gII Graphing, 50g Graphing manual Asr, Assume, Skey, Access … ÃL BIT ASR