EasyManua.ls Logo

HP 48GII User Manual

HP 48GII
653 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #320 background imageLoading...
Page #320 background image
3-202 Full Command and Function Reference
Input/Output:
Level 1/Argument 1 Level 2/Item 1 Level 1/Item 2
string
1
string
substring
unsent
” 0
See also: BUFLEN, SBRK, SRECV, STIME
XNUM
CAS: Convert objects to 12-digit decimal numeric values.
XOR
Type: Function
Description: Exclusive OR Function: Returns the logical exclusive OR of two arguments.
When the arguments are binary integers or strings, XOR does a bit-by-bit (base 2) logical
comparison:
Binary integer arguments are treated as sequences of bits with length equal to the current
wordsize. Each bit in the result is determined by comparing the corresponding bits (bit
1
and
bit
2
) in the two arguments, as shown in the following table:
bit
1
bit
2
bit
1
XOR bit
2
0 0 0
0 1 1
1 0 1
1 1 0
String arguments are treated as sequences of bits, using 8 bits per character (that is, using the
binary version of the character code). The two string arguments must be the same length.
When the arguments are real numbers or symbolics, XOR simply does a true/false test. The
result is 1 (true) if either, but not both, arguments are nonzero; it is 0 (false) if both arguments
are nonzero or zero. This test is usually done to compare two test results.
If either or both of the arguments are algebraic objects, then the result is an algebraic of the form
symb
1
XOR symb
2
. Execute NUM (or set flag –3 before executing XOR) to produce a numeric
result from the algebraic result.
Access: …ã
L LOGIC XOR (ã is the right-shift of the 3key).
BASE L LOGIC XOR ( ´ is the left-shift of the Pkey).
Flags: Binary Integer Wordsize (-5 through -10), Binary Integer Base (-11, -12)
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
#n
1
#n
2
#n
3
string
1
” “string
2
string
3
T/F
1
T/F
2
0/1
T/F 'symb'
'T/F XOR symb'
'symb' T/F
'symb XOR T/F'
'symb
1
' 'symb
2
'
'symb
1
XOR symb
2
'
See also: AND, NOT, OR
XPON
Type: Function
Description: Exponent Function: Returns the exponent of the argument.

Table of Contents

Other manuals for HP 48GII

Question and Answer IconNeed help?

Do you have a question about the HP 48GII and is the answer not in the manual?

HP 48GII Specifications

General IconGeneral
Battery typeCR2032
TypeScientific
Form factorPocket
Weight and Dimensions IconWeight and Dimensions
Weight220 g
Dimensions (WxDxH)184 x 87 x 23.5 mm

Summary

RPL Programming

Understanding Programs

Programs as objects, delimiters, and basic structure.

Entering and Executing Programs

Details on how to create, store, and run programs.

Using Conditional Structures

Covers IF, CASE, IFT, IFTE structures for program decision-making.

Input and Output Commands

Details commands like PROMPT, INPUT, INFORM, CHOOSE for user interaction.

RPL Programming Examples

Fibonacci Numbers

Demonstrates recursive and loop-based Fibonacci calculations.

Minimum and Maximum Array Elements

Details finding min/max elements using MNX and MNX2.

Applying a Program to an Array

Explains the APLY command for transforming array elements.

Full Command and Function Reference

How to Access Commands and Functions

Explains key presses and menu paths to access commands.

ABS (Absolute Value)

Details the absolute value function and its array behavior.

ACOS (Arc Cosine)

Explains the inverse cosine function, domain, and range.

Computer Algebra Commands

CAS Operations

Overview of CAS operations and their categorization by menu.

Algebra commands

Lists and describes commands for algebraic manipulation.

Calculus Commands

Covers derivation, integration, and limit commands.

Equation Reference

Columns and Beams (1)

Provides equations for structural mechanics.

Electricity (2)

Lists equations related to electrical circuits and laws.

Fluids (3)

Covers equations for fluid mechanics.

The Development Library

Introduction

Explains the purpose and usage of the development library.

Tools for Development

Details APEEK, PEEK, POKE, POKEARM commands.

MASD Compiler

Discusses syntax, modes, and directives for MASD.

Error and Status Messages

Messages Listed Alphabetically

Alphabetical list of error messages.

Messages Listed Numerically

Numerical list of error messages by hex code.

System Flags

System Flags (continued)

Description of various system flags.

System Flags (continued)

Continuation of system flags description.

Reserved Variables

Contents of the Reserved Variables

Explanation of key reserved variables.

PPAR

Details plotting parameters.

Technical Reference

Object Sizes

Lists object sizes in bytes.

Symbolic Integration Patterns

Provides a table of symbolic integration patterns.

Parallel Processing With Lists

General rules for parallel processing

Explains conditions for parallel list processing.

Group 4: ADD and +

Describes how ADD and + handle parallel list operations.

Keyboard Shortcuts

Press and Hold key combinations

Lists functions performed by key combinations.

Shifted softkeys

Explains shift key effects on menu labels.

The Menu-Number Table

-- menus 0-117 are semi-compatible with 48G menus --

Menu numbers and paths for built-in menus.

-- New Library 222 commands --

Details commands available in Library 222.

Related product manuals