A

15

A

12

Result: 15

3

 

 

 

 

that is,A

x

T

t

T

t

 

 

 

 

 

Z

z

Z

z

 

 

 

 

 

Y

y

Y

y

 

 

X

3

X

3

 

 

Recall Arithmetic

Recall arithmetic uses L›, L …, L z, or L q to do arithmetic in the X–register using a recalled number and to leave the result in the display. Only the X–register is affected.

New x = Previous x {+, –, , } Variable

For example, suppose you want to divide the number in the X–register (3, displayed) by the value in A(12). Press LqA. Now x = 0.25, while 12 is still in A. Recall arithmetic saves memory in programs: using L›A (one instruction) uses half as much memory as LA, ›(two instructions).

A

12

A

12

 

 

T

t

T

t

 

 

Z

z

Z

z

 

 

Y

y

Y

y

Result: 3

12

X

3

X

0.25

that is, x

12

 

 

Example:

Suppose the variables D, E, and F contain the values 1, 2, and 3. Use storage arithmetic to add 1 to each of those variables.

Storing Data into Variables 3–5