Electronic Components Datasheet Search
  English  ▼

X  

COP404C Datasheet(PDF) 13 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # COP404C
Description  COP404C ROMless CMOS Microcontrollers
PDF  18 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

COP404C Datasheet(HTML) 13 Page - National Semiconductor (TI)

Back Button COP404C Datasheet HTML 9Page - National Semiconductor (TI) COP404C Datasheet HTML 10Page - National Semiconductor (TI) COP404C Datasheet HTML 11Page - National Semiconductor (TI) COP404C Datasheet HTML 12Page - National Semiconductor (TI) COP404C Datasheet HTML 13Page - National Semiconductor (TI) COP404C Datasheet HTML 14Page - National Semiconductor (TI) COP404C Datasheet HTML 15Page - National Semiconductor (TI) COP404C Datasheet HTML 16Page - National Semiconductor (TI) COP404C Datasheet HTML 17Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 18 page
background image
Instruction Set (Continued)
TABLE III COP404C Instruction Set
(Continued)
Machine
Mnemonic
Operand
Hex
Language
Data Flow
Skip
Description
Code
Code
Conditions
(Binary)
INPUTOUTPUT INSTRUCTIONS
ING
33
l0011l0011l
G
x A
None
Input G Ports to A
2A
l0010l1010l
ININ
33
l0011l0011l
IN
x A
None
Input IN Inputs to A
28
l0010l1000l
INIL
33
l0011l0011l
IL3 CKO ‘‘0’’ IL0
x A
None
Input IL Latches to A
29
l0010l1001l
(Note 2)
INL
33
l0011l0011l
L74 x RAM(B)
None
Input L Ports to RAMA
2E
l0010l1110l
L30
x A
OBD
33
l0011l0011l
Bd
x D
None
Output Bd to D Outputs
3E
l0011l1110l
OGI
y
33
l0011l0011l
y
x G
None
Output to G Ports
5b
l0101l y l
Immediate
OMG
33
l0011l0011l
RAM(B)
x G
None
Output RAM to G Ports
3A
l0011l1010l
XAS
4F
l0100l1111l
A
SIO C
x SKL
None
Exchange A with SIO
(Note 2)
Note 1
All subscripts for alphabetical symbols indicate bit numbers unless explicitly defined (eg Br and Bd are explicitly defined) Bits are numbered O to N where
O signifies the least significant bit (low-order right-most bit) For example A3 indicates the most significant (left-most) bit of the 4-bit A register
Note 2
For additional information on the operation of the XAS JID LQID INIL and SKT instructions see below
Note 3
The JP instruction allows a jump while in subroutine pages 2 or 3 to any ROM location within the two-page boundary of pages 2 or 3 The JP instruction
otherwise permits a jump to a ROM location within the current 64-word page JP may not jump to the last word of a page
Note 4
A JSRP transfers program control to subroutine page 2 (0010 is loaded into the upper 4 bits of P) A JSRP may not be used when in pages 2 or 3 JSRP
may not jump to the last word in page 2
Note 5
LBI is a single-byte instruction if d e 0 9 10 11 12 13 14 or 15 The machine code for the lower 4 bits equals the binary value of the ‘‘d’’ data minus 1
eg to load the lower four bits of B(Bd) with the value 9 (10012) the lower 4 bits of the LBI instruction equal 8 (10002) To load 0 the lower 4 bits of the LBI
instruction should equal 15 (11112)
Note 6
Machine code for operand field y for LEI instruction should equal the binary value to be latched into EN where a ‘‘1’’ or ‘‘0’’ in each bit of EN corresponds
with the selection or deselection of a particular function associated with each bit (See Functional Description EN Register)
Note 7
If SEL2O e 1 A
Br (0
x A3)
If SEL2O e 0 A
Br (00
x A3 A2)
Description of Selected Instructions
XAS INSTRUCTION
XAS (Exchange A with SIO) copies C to the SKL latch and
exchanges the accumulator with the 4-bit contents of the
SIO register The contents of SIO will contain serial-inseri-
al-out shift register or binary counter data depending on the
value of the EN register If SIO is selected as a shift register
an XAS instruction can be performed once every 4 instruc-
tion cycles to effect a continuous data stream
LQID INSTRUCTION
LQID (Load Q Indirect) loads the 8-bit Q register with the
contents of ROM pointed to by the 11-bit word PC10 PC8
A M LQID can be used for table lookup or code conversion
such as BCD to seven-segment The LQID instruction
‘‘pushes’’ the stack (PC a 1
x SA x SB x SC) and
replaces the least significant 8 bits of the PC as follows A
x PC (74) RAM(B) x PC(30) leaving PC(10) PC(9)
and PC(8) unchanged The ROM data pointed to by the
new address is fetched and loaded into the Q latches Next
the stack is ‘‘popped’’ (SC
x SB x SA x PC) re-
storing the saved value of PC to continue sequential pro-
gram execution Since LQID pushes SB
x SC the previ-
ous contents of SC are lost
Note LQID uses 2 instruction cycles if executed one if
skipped
JID INSTRUCTION
JID (Jump Indirect) is an indirect addressing instruction
transferring program control to a new ROM location pointed
to indirectly by A and M It loads the lower 8 bits of the ROM
address register PC with the contents of ROM addressed by
the 11-bit word PC10 8 A M PC10 PC9 and PC8 are not
affected by JID
Note JID uses 2 instruction cycles if executed one if
skipped
13



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com