TMP90C400のROMなし版のTMP90C401です。
写真のTMP90C401はTLCS-90シリーズアーキテクチャのプロセッサを持ち、さらにRWM 128 Byte、シリアルインターフェース1 chに8 bitタイマ4 ch、最大37本のパラレルI/Oポートを利用できます。割り込みは外部3本、内部7本、マイクロDMA 8ch分利用できます。
命令がどれくらいZ80 CPUと似ているか、ニーモニックだけ並べてみましょう。
LD Load
LDW Load Word
PUSH Push
POP Pop
LDA Load Address
EX Exchange
EXX Exchange X
LDI Load and Increment
LDIR Load, Increment and Repeat
LDD Load and Decrement
LDDR Load, Decrement and Repeat
CPI Compare and Increment
CPIR Compare, Increment and Repeat
CPD Compare and Decrement
CPDR Compare, Decrement and Repeat
ADD Add
ADC Add with Carry
SUB Subtract
SBC Subtract with Carry
AND And
OR Or
XOR Exclusive Or
CP Compare
INC Increment
DEC Decrement
INCX Increment if X
DECX Decrement if X
DAA Decimal Adjust Accumlator
CPL Complement
NEG Nagate
LDAR Load Address Relative
CCF Complement Carry Flag
SCF Set Carry Flag
RCF Reset Carry Flag
NOP No Operation
HALT Halt
DI Disable Interrupt
EI Enable Interrupt
SWI Software Interrupt
MUL Multiply
DIV Divide
INCW Increment Word
DECW Decrement Word
RLCA Rotate Left Circular Accumulator
RLC Rotate left Circular
RRCA Rotate Right Circular Accumulator
RRC Rotate Right Circular
RLA Rotate Left Accumulator
RL Rotate Left
RRA Rotate Right Accumulator
RR Rotate Right
SLAA Shift Left Arithmetic Accumulator
SLA Shift Left Arithmetic
SRAA Shift Right Arithmetic Accumulator
SRA Shift Right Arithmetic
SLLA Shift Left Logical Accumulator
SLL Shift Left Logical
SRLA Shift Right Logical Accumulator
SRL Shift Right Logical
RLD Rotate Left Digit
RRD Rotate Right Digit
BIT Bit Test
RES Reset Bit
SET Set Bit
TSET Test and Set
JP Jump
JR Jump Relative
JRL Jump Relative Long
CALL Call
CALR Call Relative
DJNZ Decrement and Jump if Non Zero
RET Return
RETI Return from Interrupt
順不同になってしまいましたが、たまに見慣れないニーモニックが混じっているのを除けば、Z80
CPUのニーモニックにそっくりなことがおわかりになるでしょう。
ただ、内容はかなり拡張されていて、AND命令やXOR命令のディスティネーションにHLレジスタを指定する16
bit論理演算が可能になっていたり、メモリをディスティネーションにしたADDやORやINC命令が実行できたりします。
アドレッシングモードも強化されていて、次の8種類のアドレッシングモードを利用できます。
Return to IC Collection