![NEC mPD17120 Subseries Скачать руководство пользователя страница 92](http://html.mh-extra.com/html/nec/mpd17120-subseries/mpd17120-subseries_user-manual_249259092.webp)
CHAPTER 9 REGISTER FILE (RF)
77
The assembler (AS17K) has the below flag symbol handling instructions defined internally as macros.
SETn:
Set a flag to 1
CLRn:
Reset a flag to 0
SKTn:
Skip when all flags are 1
SKFn:
Skip when all flags are 0
NOTn:
Invert a flag
INITFLG:
Initialize a flag (data setting per 4 bits)
By using these incorporated macro instructions, the contents of the register file can be manipulated one bit at
a time.
Due to the fact that most of control register consists of 1-bit flags, the assembler (AS17K) has reserved words
(predefined symbols) for use with these flags.
However, note that there is no reserved word for the stack pointer for its use as a flag. The reserved word used
for the stack pointer is "SP", for its use as data memory. For this reason, none of the above flag manipulation
instructions using reserved words can be used for the stack pointer.
Содержание mPD17120 Subseries
Страница 15: ... x MEMO ...
Страница 23: ... MEMO 8 ...
Страница 45: ... MEMO 30 ...
Страница 49: ... MEMO 34 ...
Страница 55: ... MEMO 40 ...
Страница 93: ... MEMO 78 ...
Страница 99: ... MEMO 84 ...
Страница 102: ...CHAPTER 11 ARITHMETIC AND LOGIC UNIT 87 MEMO ...
Страница 119: ... MEMO 104 ...
Страница 175: ... MEMO 160 ...
Страница 199: ... MEMO 184 ...
Страница 265: ... MEMO 250 ...
Страница 281: ...266 MEMO ...
Страница 285: ... MEMO 270 ...
Страница 289: ... MEMO 274 ...