Intel mcs-48 manual ===~

Models: mcs-48

1 478
Download 478 pages 26.88 Kb
Page 391
Image 391

8279/8279·5

 

o 1

14 15_Display

lst entry

r;TT_- _- _- _-ITI

RAM

 

L..:.LJ.

 

Address

 

o 1

14 15

 

2nd entry [20 =- - =IIJ

 

 

o 1

14 15

 

16th entry

G21 ====:EEl

 

 

o 1

14 15

 

17th entry

E0=

===~

 

 

o 1

14 15

 

18th entry

@EI= ===:EE1

 

LEFT ENTRY MODE (AUTO INCREMENT)

Right Entry

Right entry is the method used by most e!ectronic ca)culators. The first entry is placed in the right most display character. The next entry is also placed in the right most character after the display is shifted left one character. The left most character is shifted off the end and is lost.

1 2

14 15 O-Display

lstentry OJ- - - =I I l'I::~ess

2

3

15

0

1

2nd entry OJ ====I 11 I 2

 

01234587

Display

lst entry

 

I

 

I I I I

RAM

11

1·1

I Address

 

 

o 1

234 567

I

2nd entry 11

12

I

I I I I

o 1 234 567

Command l'12 I I II I 1 1 10010101

Enter next at Location 5 Auto Increment o 1 234 567

3rd entry 11 I2 I I I 1 3 I I I

o 1 234 567

4thentry 111211113141

LEFT ENTRY MODE (AUTO INCREMENT)

!n the Right Entry mode, Auto Incrementing and non Incrementing have the same effect as in the Left Entry except if the address sequence is interrupted:

23 4 5 6 7 O___ Display

1st entry 1 I I I I I I l'I :~~ess

 

23456701

2nd entry

I! I I \1 I21

 

23456701

Command

11 121

10010101

 

 

3

4

0

1

2

3rd entry

ITI===J 1 I 21

3

 

1

2

14

15

0

17th entry

r2:E[

===1151161171

 

.2

3

15

0

1

18th entry

~=

===1161171181

RIGHT ENTRY MODE (AUTO INCREMENT)

Note that now the display position and register address do not correspond. Consequently, entering a character to an arbitrary position in the Auto Increment mode may have unexpected results. Entry starting at Display RAM address o with sequential entry is recommended.

Auto Increment

In the Left Entry mode, Auto Incrementing causes the address where the CPU will next write to be incremented by one and the character appears in the next location. With non-Auto Incrementing the entry is both to the same RAM address and display position. Entry to an arbitrary address in the Auto Increment mode has no undesirable side effects and the result is predictable:

Enter next at Location 5 Auto Increment

 

 

3

4

5

6

7

0

1

2

Jrd

entry

I

 

1 3 1

 

 

11 121

1

 

1

 

 

 

 

 

4

5

6

7

0

1

2

3

4th

entry

1

3

1 4 1

 

11

121

I

I

 

 

 

RIGHT ENTRY MODE (AUTO INCREMENT)

Starting at an arbitrary location operates as shown below:

o 1 2 3 4 5 6 7__ Display Command10010101 111I111I1:~~ess

Enter next at Location 5 Auto Increment

1 234 5 6 7 0

1st entry I I I I I 11

23456701

2nd entry I \

I I

8th entry 14151617181112131

9th entry 15161718191213 141

RIGHT ENTRY MODE (AUTO INCREMENT)

9-76

AFN-Q0742A-07

Page 391
Image 391
Intel mcs-48 manual ===~