II-106
EPSON
S1C6S3N2 TECHNICAL SOFTWARE
CHAPTER 7: SUMMARY OF NOTES
CHAPTER 7
– Program Memory
SUMMARY OF NOTES
(1) To use a branch instruction such as "JP" to branch
outside the page of that instruction, the page to branch
to must first be set with the "PSET" instruction; then the
branch instruction can be executed. Be sure to execute
the branch instruction as the step immediately following
"PSET".
(2) Immediately after the "PSET" instruction mentioned in
above item (1), it will automatically be DI state until
execution of the branch instruction is completed.
(3) When moving from the last step of one page to the top
step of the next page, there is no need to execute branch
instructions such as "PSET" and "JP".
(4) With just the one instruction "CALZ", subroutines on
page 0 can be called from any page without using "PSET".
Programming can be done efficiently if universal subrou-
tines are located on page 0.
(5) If the "PSET" instruction is executed immediately before
"CALZ", "CALZ" will have priority and data set with
"PSET" will be ignored.
(6) The program memory can be used as a data table
through the table look-up instruction.
(1) Part of the data memory is used as stack area for subrou-
tine calls and register storage, so be careful not to overlap
the data area and stack area.
(2) Subroutine calls and interrupts take up three words of
the stack area.
(3) When addresses 40H–6FH have been allocated as seg-
ment memory by option selection, 48 words of RAM can
be used as segment area.
(4) Memory is not mounted in unused area within the memory
map and in memory area not indicated in this manual. For
this reason, normal operation cannot be assured for pro-
grams that have been prepared with access to these areas.
– Data Memory
Содержание S1C6S3N2
Страница 4: ......
Страница 6: ......
Страница 7: ...Hardware Hardware S1C6S3N2 I Technical Hardware ...
Страница 8: ......
Страница 141: ...Software Software S1C6S3N2 II Technical Software ...
Страница 142: ......
Страница 146: ......