Professional Documents
Culture Documents
An 8-bit B i-D irectional I/O Port is located o n -c h ip with the O utput Register at A ddress 0001 and the D ata-D irection
R egister at A ddress 0000. The I/O Port is bit-by-bit program m able.
TheThree-State sixteen-bit A ddress Bus allow s D irect M em ory A cce ssin g (DMA) and m ulti-processor systems sharing
a common memory.
The internal proce sso r architecture is identical to the C o m m odore S e m ico n du cto r G roup 6502 to provide software
compatibility.
PIN CONFIGURATIONS
0 , IN 1 40 RES RES 1 40 0 2 IN RES 1 40 0 2 OUT
RDY 2 39 0 2 OUT 0 , IN 2 39 r /w 0 2 IN 2 39 R/W
IRO 3 38 R/W Tr o 3 38 db0 Tr q 3 38 D B0
nm T 4 37 D B0 AEC 4 37 DB, AEC 4 37 DB,
AEC 5 36 DB, 5 36 db2 5 36 db2
VCC VCC
6 35 db2 Ao 6 35 db3 6 35 db3
VCC Ao
7 34 db3 7 34 db4
A, 7 34 db4
Ao A,
8 33 db4 8 33 db5 a2 8 33 db5
A1 A2
A 12 19 22 A, d A 13 19 22 A 15 A i3 19 22 A, 5
20 21 A] 4 21
A 13 20 21
v ss Vss Vss 20 A 14
P7
BUFFER
ADDRESS
THREE-STATE
6510-1
2
6510 CHARACTERISTICS
MAXIMUM RATINGS
<
o
o
damage due to high static voltages or
INPUT VOLTAGE Vin electric fields; however, precautions should
—0.3 to + 7.0 Vdc
be taken to avoid application ot voltages
higher than the maximum rating.
OPERATING TEMPERATURE Ta 0 to + 70 C
Capacitance C PF
Vjn = 0. Ta = 25 C, f = 1 MHz)
Logic, Pj-P7 Cm 10
Data — — 15
A0-A1 5, R/W Cout 12
0- C<2, 30 50
C 0t — 50 80
3
6 5 10,6 510-2 6510-1
Internal Clock Format Two Phase Clock Input Format
4
6 5 10 ,6 51 0-2 6510-1
Internal Clock Format Two Phase Clock Input Format
5
AC CHARAC TERISTICS
01 in Pulse Width
(Measured at 1.5V) PW01 460 - 520 240 - 260 170 - 180 ns
Read/Write Setup Time from 6510 TRWS - 100 300 - 100 150 - 100 110 ns
Address Setup Time from 651 0 t ADS - 100 300 - 100 150 - 100 125 ■ ns
6
SIGNAL DESCRIPTION
ZERO PAGE ADDRESSING — The zero page instructions allow INDEXED IN D IR E C T AD DRESSING - In indexed indirect
for shorter code and execution times by only fetching the second addressing (referred to as [Indirect, X]), the second byte of the
byte of the instruction and assuming a zero high address byte. instruction is added to the contents of the.X index register,
Careful use of the zero page can result in significant increase in discarding the carry. The result of this addition points to a memory
code efficiency. location on page zero whose contents is the low order eight bits
of the effective address. The next memory location in page zero
INDEXED ZERO PAGE ADDRESSING - (X, Y indexing) — This contains the high order eight bits of the effective address. Both
form of addressing is used in coniunction with the index register memory locations specifying the high and low order bytes of the
and is referred to as “Zero Page, X" or "Zero Page, Y.” The effective address must be in page zero.
effective address is calculated by adding the second byte to the
contents of the index register. Since this is a form of "Zero Page" INDIREC T IND EXED ADDRESSING — In indirect indexed
addressing, the content of the second byte references a location addressing (referred to as (Indirect, Y]), the second byte of the
in page zero. Additionally, due to the “Zero Page" addressing instruction points to a memory location in page zero. The contents
nature of this mode, no carry is added to the high order 8 bits of of this memory location is added to the contents of the Y index
memory and crossing of page boundaries does not occur. register, the result being the low order eight bits of the effective
address. The carry from this addition is added to the contents of
INDEX ABSOLUTE ADDRESSING — (X, Y indexing) — This form the next page zero memory location, the result being the high
of addressing is used in coniunction with X and Y index register order eight bits of the effective address.
and is referred to as "Absolute. X," and “Absolute. Y." The effective
address is formed by adding the contents of X and Y to the ABSOLUTE IN D IR E C T — The second byte of the instruction
address contained in the second and third bytes of the instruction. contains the low order eight bits of a memory location. The high
This mode allows the index register to contain the index or count order eight bits of that memory location is contained in the third
value and the instruction to contain the base address. This type of byte of the instruction. The contents of the fully specified memory
indexing allows any location referencing and the index to modify location is the low order byte of the effective address. The next
multiple fields resulting in reduced coding and execution time. memory location contains the high order byte of the effective
address which is loaded into the sixteen bits of the program
counter.
CARRY 1 = TRUE
IN D E X REGISTER Y
ZERO 1 = RESULT ZERO
IRO DISABLE 1 = DISABLE
IN D E X REGISTER X DECIM AL MODE 1 = TRUE
BRK C O M M A N D
PROGRAM CO UNTER PC
OVERFLOW ' I = TRUE
INSTRUCTIONS MEDIATE ABSOLUTE ZERO PACE ACCUM •IPUED 1*0 X| IINOI r j 2. PAGE X US. 1 ABS. Y RELATIVE IHDIRECT Z. CASE. T CONOmON CODES
MNEMONIC OPERATION OP N OP N ■ CP N « CP N s OP N = OP s b p \ = CP N a OP « OP N s OP N * OP */ ■ OP N = N Z C i 0 v
- - .3 69 2 2 6D 4 3 65 3 6' 6 7! 5 2 •5 2 7C 4 3 79 3
- ■ \t -* A 29 2 4 3 25 3 ?• A 31 2 3D ■i 3 39 :
* -
- S C — | 7 O b - 2 OE 6 3 06 5 CA 2 •6 •5 ■E 3 > > > - - -
*
E C C 3 RANCH ON C 0 2. 00
3 C 5 BRANCH C N C - : 2 B0 2 7
e e ': - - • - ‘ ;CH Z'iZ ■1 F3 2
3 i A • V 2C 4 3 24 3 7. W-. ► - - -
3 BRANCH ON N - T 2 2
3 N £ 3 RANCH CN Z • 0 2 r.fl 2 2
5 P B P A f. O ON N 3 2 ■a
S = .V-
E V C BRANCH O f. V - 0 2: a 2 2
B V S BRANCH 2N V - 2
0 -> C ’S 2 - - 0 - - -
f:H - - - - 3 -
=C _ _ _ 0 _ _
0 . oS 0
c v 0 A - V 03 CO 4 3 C5 3 C 6 O' 5 2 Dr 2 DO 4 3 09 < 3
<
;; ? i ». ‘.1 cO 2 EC J 3 E4 3
C z C3 2 2 CC 4 3 04 ■3 2
CE 5 3 CO 0 06 6 2 CE ;
0 s CA : * v -----------------
D E 38
£ C a A • M —» A *19 2 2 40 3 45 3 2 4' p 2 51 5 2 55 2 50 4 3 59 4 j
! N C M - - -* M EE 6 3 E6 6 fn 5 FE 3
t3
: m v • - i -> Y ca * ‘ ------------
j •„» P JUVP ” NJT.V lOC JC 3 3 6C 5 3
5 P jur.*p 303 20 6 3
V -> 5 AO 2 /■i: 4 1 y~ At n 2 G* 5 55 2 SC 3 =3 j
9
FFFF
ADDRESSABLE
EXTERNAL
MEMORY
STACK
0200 POINTER
01 FF
01 FF
INITIALIZED
STACK
Page '
0100
00FF
Page 0
APPLICATIONS NOTES
C O M M ODORE SEM IC O N DU CTO R GROUP reserves the right to m ake changes to any products herein
to improve reliability, function or design, C O M M O D O R E SEM IC O N DU CTO R GROUP does not assume
any liability arising out of the application or use of any product or circuit d escribed herein; neither does
it convey any license under its patent rights nor the rights of others.
10