beautypg.com

Casio SERIES FX-9860G User Manual

Page 80

background image

20070201

k Stacks

The unit employs memory blocks, called stacks, for storage of low priority values and
commands. There is a 10-level numeric value stack, a 26-level command stack, and a
10-level program subroutine stack. An error occurs if you perform a calculation so complex
that it exceeds the capacity of available numeric value stack or command stack space, or if
execution of a program subroutine exceeds the capacity of the subroutine stack.

Example

1

2

3

4

5

b

c

d

e

f

g

h

2

3

4

5

4

Ч

(
(

+

Ч

(

+

...

...

Numeric Value Stack

Command Stack

1

2

3

4

5

b

c

d

e

f

g

h

2

3

4

5

4

Ч

(
(

+

Ч

(

+

...

...

Numeric Value Stack

Command Stack

2-2-7

Special Functions

# Calculations are performed according to

the priority sequence. Once a calculation is
executed, it is cleared from the stack.

# Storing a complex number takes up two numeric

value stack levels.

# Storing a two-byte function takes up two

command stack levels.