Toshiba TMP91C824F Data Book page 253

16bit microcontroller tlcs-900/l1 series
Table of Contents

Advertisement

6. Points to Note and Restrictions
(1) Notation
1.
The notation for built-in / I/O registers is as follows register symbol <bit symbol>
e.g.) TA01RUN <TA0RUN> denotes bit TA0RUN of register TA01RUN.
2.
Read-modify-write instructions
An instruction in which the CPU reads data from memory and writes the data to the same memory location
in one instruction.
Example 1)
Example 2)
• Examples of read-modify-write instructions on the TLCS-900
Exchange instruction
EX
Arithmetic operations
ADD (mem), R/#
SUB
INC
Logic operations
AND (mem), R/#
XOR (mem), R/#
Bit manipulation operations
STCF #3/A, (me m)
SET
TSET #3, (mem)
Rotate and shift operations
RLC
RL
SLA
SLL
RLD
3.
fc, fs, f
, f
FPH
The clock frequency input on ins X1 and 2 is called f
<ACT1∼ACT0> is called fc.
The clock selected by SYSCR1 <SYSCK> is called f
is called f
SYS
One cycle of f
3, (TA01RUN) ... Set bit 3 of TA01RUN.
SET
1, (100H) ... Increment the data at 100H.
INC
(mem), R
ADC (mem), R/#
(mem), R/#
SBC (mem), R/#
#3, (mem)
DEC #3, (mem)
OR
(mem), R/#
RES
#3, (mem)
#3, (mem)
CHG #3, (mem)
(mem)
RRC (mem)
(mem)
RR
(mem)
(mem)
SRA (mem)
(mem)
SRL (mem)
(mem)
RRD (mem)
and one state
SYS
.
is referred to as one state.
SYS
OSCH
. The clock frequency give by f
FPH
91C824-
250
TMP91C824
. The clock selected by DFMCR0
divided by 2
FPH

Advertisement

Table of Contents
loading

Table of Contents