W65C816S Microprocessor DATA SHEET

Size: px
Start display at page:

Download "W65C816S Microprocessor DATA SHEET"

Transcription

1 Updated June, W6C86S Data Sheet W6C86S Microprocessor DATA SHEET The Western Design Center, Inc.,. All rights reserved WDC

2 W6C86S Data Sheet WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Information contained herein is provided gratuitously and without liability, to any user. Reasonable efforts have been made to verify accuracy of the information but no guarantee whatsoever is given as to the accuracy or as to its applicability to particular uses. In every instance, it must be the responsibility of the user to determine the suitability of the products for each application. WDC products are not authorized for use as critical components in life support devices or systems. Nothing contained herein shall be construed as a recommendation to use any product in violation of existing patents or other rights of third parties. The sale of any WDC product is subject to all WDC Terms and Conditions of Sales and Sales Policies, copies of which are available upon request. Copyright (C) 98- by The Western Design Center, Inc. All rights reserved, including the right of reproduction in whole or in part in any form. The Western Design Center W6C86S

3 W6C86S Data Sheet TABLE OF CONTENTS INTRODUCTN...7 W6C86S FUNCTNAL DESCRIPTN...8. Instruction Register (IR) Timing Control Unit (TCU) Arithmetic and Logic Unit (ALU) Internal Registers (Refer to Programming Model Table -) Accumulator (A) Data Bank Register (DBR) Direct (D) Index (X and Y) Processor Status Register (P) Program Bank Register (PBR) Program Counter (PC).... Stack Pointer (S)... PIN FUNCTN DESCRIPTN.... Abort (ABORTB) Address Bus (A-A) Bus Enable (BE) Data/Bank Address Bus (D-D7) Emulation Status (E) Interrupt Request (IRQB) Memory Lock (MLB) Memory/Index Select Status (MX) Non-Maskable Interrupt (NMIB) Phase In (PHI) Read/Write (RWB) Ready (RDY) Reset (RESB) Valid Data Address (VDA) and Valid Program Address (VPA) VDD and VSS Vector Pull (VPB)... 9 ADDRESSING MODES.... Reset and Interrupt Vectors.... Stack.... Direct.... Program Address Space.... Data Address Space... Absolute-a... Absolute Indexed Indirect-(a,x)... Absolute Indexed with X-a,x... Absolute Indexed with Y-a,y... Absolute Indirect-(a)... Absolute Long Indexed With X-al,x... Absolute Long-al... Accumulator-A... The Western Design Center W6C86S

4 W6C86S Data Sheet Block Move-xyc... Direct Indexed Indirect-(d,x)... Direct Indexed with X-d,x... Direct Indexed with Y-d,y... Direct Indirect Indexed-(d),y... Direct Indirect Long Indexed-[d],y... Direct Indirect Long-[d]... Direct Indirect-(d)... Direct-d... Immediate-#... Implied-i... Program Counter Relative Long-rl... Program Counter Relative-r...6 Stack-s...6 Stack Relative-d,s...6 Stack Relative Indirect Indexed-(d,s),y...6 TIMING, AC AND DC CHARACTERISTICS...8. Absolute Maximum Ratings DC Characteristics TA = - C to +8 C OPERATN TABLES... 7 RECOMMENDED W6C86S ASSEMBLER SYNTAX STANDARDS Directives Comments The Source Line The Label Field The Operation Code Field The Operand Field Comment Field... 8 Caveats Stack Addressing Direct Addressing Absolute Indexed Addressing ABORTB Input VDA and VPA Valid Memory Address Output Signals DB/BA operation when RDY is Pulled Low MX Output All s Function in All Modes of Operation Indirect Jumps Switching Modes How Interrupts Affect the Program Bank and the Data Bank Registers Binary Mode WAI Instruction The STP Instruction COP Signatures WDM Use RDY Pulled During Write MVN and MVP Affects on the Data Bank Register Interrupt Priorities Transfers from 8-Bit to 6-Bit, or 6-Bit to 8-Bit Registers... 6 The Western Design Center W6C86S

5 W6C86S Data Sheet 8. Stack Transfers BRK Instruction Accumulator switching from 8 bit to 6 bit HARD CORE MODEL W6C86 Core Information... 6 SOFT CORE RTL MODEL...6. W6C86 Synthesizable RTL-Code in Verilog HDL... 6 ORDERING INFORMATN...6 The Western Design Center W6C86S

6 W6C86S Data Sheet Table of Tables Table - W6C86S Microprocessor Programming Model... Table - Pin Function Table...6 Table - Addressing Mode Summary...7 Table - Absolute Maximum Ratings...8 Table - DC Characteristics...9 Table - IDD vs. VDD...9 Table - F Max vs. VDD...9 Table - W6C86S AC Characteristics... Table 6- W6C86S Instruction Set-Alphabetical Sequence... Table 6- Emulation Mode Vector Locations (8-bit Mode)... Table 6- Native Mode Vector Locations (6-bit Mode)... Table 6- Matrix... Table 6- Operation, Operation Codes, and Status Register (continued on following pages)...6 Table 6-6 Addressing Mode Symbol Table... Table 6-7 Instruction Operation (continued on following 6 pages)... Table 6-8 Abbreviations... Table 7- Alternate Mnemonics... Table 7- Address Mode Formats... Table 7- Byte Selection Operator... Table 8- Caveats...6 Table of Figures Figure - W6C86S Internal Architecture Simplified Block Diagram... Figure - W6C86S Pin PLCC Pinout... Figure - W6C86S Pin PDIP Pinout... Figure - W6C86S PIN QFP Pinout... Figure - General Timing Diagram... Figure 6- Bank Address Latching Circuit... The Western Design Center W6C86S 6

7 INTRODUCTN W6C86S Data Sheet The W6C86S is a low power cost sensitive 6-bit microprocessor. The variable length instruction set and manually optimized core size makes the W6C86S an excellent choice for low power System-on-Chip (SoC) designs. The Verilog RTL model is available for ASIC design flows. WDC, a Fabless Semiconductor Company, provides packaged chips for evaluation or volume production. To aid in system development, WDC provides a Development System that includes a W6C86DB Developer Board, an In-Circuit Emulator (ICE) and the W6cSDS Software Development System, see for more information. The WDC W6C86S is a fully static CMOS 6-bit microprocessor featuring software compatibility* with the 8-bit NMOS and CMOS 6-series predecessors. The W6C86S extends addressing to a full 6 megabytes. These devices offer the many advantages of CMOS technology, including increased noise immunity, higher reliability, and greatly reduced power requirements. A software switch determines whether the processor is in the 8-bit "emulation" mode, or in the native mode, thus allowing existing systems to use the expanded features. As shown in the W6C86S Processor Programming Model, Figure -, the Accumulator, ALU, X and Y Index registers, and Stack Pointer register have all been extended to 6 bits. A new 6-bit Direct Page register augments the Direct Page addressing mode (formerly Zero Page addressing). Separate Program Bank and Data Bank registers provide -bit memory addressing with segmented or linear addressing. Four new signals provide the system designer with many options. The ABORTB input can interrupt the currently executing instruction without modifying internal register, thus allowing virtual memory system design. Valid Data Address (VDA) and Valid Program Address (VPA) outputs facilitate dual cache memory by indicating whether a data segment or program segment is accessed. Modifying a vector is made easy by monitoring the Vector Pull (VPB) output. KEY FEATURES OF THE W6C86S Advanced fully static CMOS design for low power consumption and increased noise immunity Wide operating voltage range,.8+/- %,.+/- %,.+/- %,.+/ - %,.+/- % specified for use with advanced low voltage peripherals Emulation mode allows complete hardware and software compatibility with 6 designs -bit address bus provides access to 6 MBytes of memory space Full 6-bit ALU, Accumulator, Stack Pointer and Index Registers Valid Data Address (VDA) and Valid Program Address (VPA) output for dual cache and cycle steal DMA imple mentation Vector Pull (VPB) output indicates when interrupt vectors are being addressed Abort (ABORTB) input and associated vector supports processor repairs of bus error conditions Low power consumption (ua@mhz) Separate program and data bank registers allow program segmentation or full 6 MByte linear addressing New Direct Register and stack relative addressing provides capability for re-entrant, re-cursive and relocatable programming addressing modes - original 6 modes with 9 instructions using 6 s Wait-for-Interrupt (WAI) and Stop-the-Clock (STP) instructions further reduce power consumption, decrease interrupt latency and allows synchronization with external events Co-Processor (COP) instruction with associated vector supports co-processor configurations, i.e., floating point processors Block move ability *Except for the BBRx, BBSx, RMBx, and SMBx bit manipulation instructions which do not exist for the W6C86S The Western Design Center W6C86S 7

8 W6C86S FUNCTNAL DESCRIPTN W6C86S Data Sheet The W6C86S provides the design engineer with upward software compatibility from 8-bit W6C in applications to 6-bit system application. In Emulation mode, the W6C86S offers many advantages, including full software compatibility with 6 coding. Internal organization of the W6C86S can be divided into two parts: ) The Register Section and ) The Control Section. Instructions obtained from program memory are executed by implementing a series of data transfers within the Register Section. Signals that cause data transfers to be executed are generated within the Control Section. The W6C86S has a 6-bit internal bus architecture with an 8-bit external data bus and -bit external address bus.. Instruction Register (IR) An Operation Code enters the processor on the Data Bus, and is latched into the Instruction Register during the fetch cycle. This is then decoded, along with timing and interrupt signals, to generate various Instruction Register control signals for use during instruction operations.. Timing Control Unit (TCU) The Timing Control Unit keeps track of each instruction cycle as it is executed. The TCU is set to zero each time an instruction fetch is executed, and is advanced at the beginning of each cycle for as many cycles as is required to complete the instruction. Each data transfer between registers depends upon decoding the contents of both the Instruction Register and the Timing Control Unit.. Arithmetic and Logic Unit (ALU) All arithmetic and logic operations take place within the 6-bit ALU. In addition to data operations, the ALU also calculates the effective address for relative and indexed addressing modes. The result of a data operation is stored in either memory or an internal register. Carry, Negative, Overflow and Zero flags may be updated following the ALU data operation.. Internal Registers (Refer to Programming Model Table -). Accumulator (A) The Accumulator (A) is a general purpose register which contains one of the operands and the result of most arithmetic and logical operations. In the Native mode (E=), when the Accumulator Select Bit (M) equals zero, the Accumulator is established as 6 bits wide (A, B=C). When the Accumulator Select Bit (M) equals one, the Accumulator is 8 bits wide (A). In this case, the upper 8 bits (B) may be used for temporary storage in conjunction with the Exchange Accumulator (XBA) instruction. The Western Design Center W6C86S 8

9 W6C86S Data Sheet.6 Data Bank Register (DBR) During modes of operation, the 8-bit Data Bank Register (DBR) holds the bank address for memory transfers. The -bit address is composed of the 6-bit instruction effective address and the 8-bit Data Bank address. The register value is multiplexed with the data value and is present on the Data/Address lines during the first half of a data transfer memory cycle for the W6C86S. The Data Bank Register is initialized to zero during Reset..7 Direct (D) The 6-bit Direct Register (D) provides an address offset for all instructions using direct addressing. The effective Direct Address is formed by adding the 8-bit instruction Direct Address field to the Direct Register. The Direct Register is initialized to zero during Reset. The bank address for Direct Addressing is always zero.8 Index (X and Y) There are two general purpose registers that are commonly referred to as Index Registers (X and Y) and are frequently used as an index value for calculation of the effective address. When executing an instruction with indexed addressing, the microprocessor fetches the and the base address, and then modifies the address by adding an Index Register contents to the address prior to performing the desired operation. Pre-indexing or post-indexing of indirect addresses may be selected. In the Native mode (E=), both Index Registers are 6 bits wide where the Index Select Bit (X) of the Processor Status (P) register equals zero. If the Index Select Bit (X) equals one, both registers will be 8 bits wide, and the high byte is forced to zero..9 Processor Status Register (P) The 8-bit Processor Status Register (P) contains status flags and mode select bits. The Carry (C), Negative (N), Overflow (V), and Zero (Z) status flags serve to report the status of most ALU operations. These status flags are tested by use of Conditional Branch instructions. The Decimal (D), IRQ Disable (I), Memory/Accumulator (M), and Index (X) bits are used as mode select flags. These flags are set by the program to change microprocessor operations. The Emulation (E) select and the Break (B) flags are accessible only through the Processor Status Register. The Emulation mode select flag is selected by the Exchange Carry and Emulation Bits (XCE) instruction. Table 8-, W6C86S Compatibility Information, illustrates the features of the Native (E=) and Emulation (E=) modes. The M and X flags are always equal to one in Emulation mode. When an interrupt occurs during Emulation mode, the Break flag is written to stack memory as bit of the Processor Status Register.. Program Bank Register (PBR) The 8-bit Program Bank Register (PBR) holds the bank address for all instruction fetches. The -bit address consists of the 6-bit instruction effective address and the 8-bit Program Bank address. The register value is multiplexed with the data bus and presented on the Data bus lines during the first half of a program memory cycle. The Program Bank Register is initialized to zero during Reset. The PHK instruction pushes the PBR register onto the Stack. The Western Design Center W6C86S 9

10 W6C86S Data Sheet. Program Counter (PC) The 6-bit Program Counter (PC) Register provides the addresses which are used to step the microprocessor through sequential 8-bit program instruction fields. The PC is incremented for each 8-bit instruction field that is fetched from program memory.. Stack Pointer (S) The Stack Pointer (S) is a 6-bit register which is used to indicate the next available location in the stack memory area. It serves as the effective address in stack addressing modes as well as subroutine and interrupt processing. The Stack Pointer provides simple implementation of nested subroutines and multiple-level interrupts. During Emulation mode, the S High-order byte (SH) is always equal to one. The bank address for all stack operations is Bank zero. The Western Design Center W6C86S

11 W6C86S Data Sheet VDD AO-A7 A8-A DO-D7 (86) ADDRESS BUFFER (LOW) ADDRESS BUFFER (HIGH) DATA BUS/BANK ADDRESS BUFFER INTERNAL ADDRESS BUS (6 BITS) INDEX X (6 BITS) INDEX Y (6 BITS) STACK POINTER (S) (6 BITS) ALU (6 BITS) TRANSFER SWITCHES ACCUMULATOR (C) (6 BITS) (A) (8 BITS) (B) (8 BITS) PROG. COUNTER (PC) (6 BITS) DIRECT (D) (6 BITS) PROG. BANK (PBR) (8 BITS) DATA BANK (DBR) (8 BITS) DATA LATCH/ PREDECODE INTERNAL SPECIAL BUS (6 BITS) INTERNAL DATA BUS (6 BITS) PREDECODE REGISTER TRANSFER LOGIC PROCESSOR STATUS (P) (8 BITS) INTERUPT LOGIC INSTRUCTN DECODE SUM OF MINTERMS INSTRUCTN REGISTER (8 BITS) TIMING CONT. INSTRUCTN DECODE MINTERMS CLOCK GEN- ERATOR SYSTEM CONT. VSS ABORTB IRQB NMIB RESB RDY PHI RWB VPA VDA MLB VPB E MX BE Figure -W6C86S Internal Architecture Simplified Block Diagram The Western Design Center W6C86S

12 W6C86S Data Sheet Table - W6C86S Microprocessor Programming Model 8 BITS 8 BITS 8 BITS Data Bank Register (DBR) X Register (XH) X Register (XL) Data Bank Register (DBR) Y Register (YH) Y Register (YL) Stack Register (SH) Stack Register (SL) Accumulator (B) (C) Accumulator (A) Program Bank Register (PBR) Program (PCH) Counter (PCL) Direct Register (DH) Direct Register (DL) Shaded blocks = 6 registers B BRK command: =BRK =IRQ N V M X D I Z C Carry =true Zero =result zero IRQ disable =disable Decimal mode =true Index Register Select =8-bit, =6-bit Memory Select =8-bit, =6-bit Overflow =true Emulation =6 Emulation Mode Negative =negative =Native Mode E The Western Design Center W6C86S

13 PIN FUNCTN DESCRIPTN W6C86S Data Sheet MLB IRQB ABORTB RDY VPB VSS RESB VDA MX PHI BE 6 NMIB 7 9 NC VPA 8 8 RWB VDD 9 7 VDD A 6 D A NC W6C86S D D A D A D A D A 6 D6 A6 7 9 D A7 A8 A9 A A VSS VSS A A A A Figure - W6C86S Pin PLCC Pinout The Western Design Center W6C86S

14 W6C86S Data Sheet VPB RDY ABORT IRQB MLB NMIB VPA VDD A A A A A A A6 A7 A8 A9 A A W6C86S RESB VDA MX PHI BE E RWB D D D D D D D6 D7 A A A A VSS Figure - W6C86S Pin PDIP Pinout The Western Design Center W6C86S

15 W6C86S Data Sheet MLB IRQB ABORTB RDY VPB VSS RESB VDA MX PHI BE NMIB E VPA RWB VDD VDD A D A 9 D NC 6 W6C86S 8 D A 7 7 D A 8 6 D A 9 D A D6 A6 D A7 A8 A9 A A VSS VSS A A A A Figure - W6C86S PIN QFP Pinout The Western Design Center W6C86S

16 W6C86S Data Sheet Table - Pin Function Table Pin A-A ABORTB BE PHI D-D7 E IRQB MLB MX NC NMIB RDY RESB RWB VDA VPB VPA VDD VSS Description Address Bus Abort Input Bus Enable Phase In Clock Data Bus/Bank Address Bus Emulation OR Native Mode Select Interrupt Request Memory Lock Memory and Index Register Mode Select No Connect Non-Maskable Interrupt Ready Reset Read/Write Valid Data Address Vector Pull Valid Program Address Positive Power Supply Internal Logic Ground. Abort (ABORTB) The Abort (ABORTB) negative pulse active input is used to abort instructions (usually due to an Address Bus condition). A negative transition will inhibit modification of any internal register during the current instruction. Upon completion of this instruction, an interrupt sequence is initiated. The location of the aborted is stored as the return address in stack memory. The Abort vector address is FFF8,9 (Emulation mode) or FFE8,9 (Native mode). Note that ABORTB is a pulse-sensitive signal; i.e., an abort will occur whenever there is a negative pulse (or level) on the ABORTB pin during a PHI clock.. Address Bus (A-A) The sixteen Address Bus (A-A) output lines along with the bank address (multiplexed on the first half cycle of the Data Bus (D-D7) pins) form the -bit Address Bus for memory and I/O exchange on the Data Bus. When using the W6C86S, the address lines may be set to the high impedance state by the Bus Enable (BE) signal.. Bus Enable (BE) The Bus Enable (BE) input signal allows external control of the Address and Data Buffers, as well as the RWB signal. With Bus Enable high, the RWB and Address Buffers are active. The Data/Address Buffers are active during the first half of every cycle and the second half of a write cycle. When BE is low, these buffers are disabled. Bus Enable is an asynchronous signal.. Data/Bank Address Bus (D-D7) The Western Design Center W6C86S 6

17 W6C86S Data Sheet The Data/Bank Address Bus (D-D7) pins provide both the Bank Address and Data. The bank address is present during the first half of a memory cycle, and the data value is read or written during the second half of the memory cycle. Two memory cycles are required to transfer 6-bit values. These lines may be set to the high impedance state by the Bus Enable (BE) signal.. Emulation Status (E) The Emulation Status (E) output reflects the state of the Emulation (E) mode flag in the Processor Status (P) Register. This signal may be thought of as an extension and used for memory and system management..6 Interrupt Request (IRQB) The Interrupt Request (IRQB) negative level active input signal is used to request that an interrupt sequence be initiated. When the IRQB Disable (I) flag is cleared, a low input logic level initiates an interrupt sequence after the current instruction is completed. The Wait-for-Interrupt (WAI) instruction may be executed to ensure the interrupt will be recognized immediately. The Interrupt Request vector address is FFFE,F (Emulation mode) or FFEE,F (Native mode). Since IRQB is a level-sensitive input, an interrupt will occur if the interrupt source was not cleared since the last interrupt. Also, no interrupt will occur if the interrupt source is cleared prior to interrupt recognition. The IRQB signal going low causes bytes of information to be pushed onto the stack before jumping to the interrupt handler. The first byte is PBR followed by PCH, PCL and P (Processor Status Register). These register values are used by the RTI instruction to return the processor to its original state prior to handling the IRQ interrupt (see Table 6-).7 Memory Lock (MLB) The Memory Lock (MLB) active low output may be used to ensure the integrity of Read-Modify-Write instructions in a multiprocessor system. Memory Lock indicates the need to defer arbitration of the next bus cycle. Memory Lock is low during the last three or five cycles of ASL, DEC, INC, LSR, ROL, ROR, TRB, and TSB memory referencing instructions, depending on the state of the M flag..8 Memory/Index Select Status (MX) The Memory/Index Select Status (MX) multiplexed output reflects the state of the Accumulator (M) and Index (X) elect flags (bits and of the Processor Status (P) Register. Flag M is valid during PHI negative transition and Flag X is valid during PHI positive transition. These bits may be thought of as extensions and may be used for memory and system management. The Western Design Center W6C86S 7

18 W6C86S Data Sheet.9 Non-Maskable Interrupt (NMIB) A negative transition on the Non-Maskable Interrupt (NMIB) input initiates an interrupt sequence. A high-to-low transition initiates an interrupt sequence after the current instruction is completed. The Wait for Interrupt (WAI) instruction may be executed to ensure that the interrupt will be recognized immediately. The Non-Maskable Interrupt vector address is FFFA,B (Emulation mode) or FFEA,B (Native mode). Since NMIB is an edge-sensitive input, an interrupt will occur if there is a negative transition while servicing a previous interrupt. No interrupt will occur if NMIB remains low after the negative transition was processed. The NMIB signal going low causes bytes of information to be pushed onto the stack before jumping to the interrupt handler. The first byte on the stack is the PBR followed by the PCH, PCL and P, these register values are used by the RTI instruction to return the processor to its original state prior to the NMI interrupt.. Phase In (PHI) Phase In (PHI) is the system clock input to the microprocessor. PHI can be held in either state to preserve the contents of internal registers and reduce power as a Standby mode.. Read/Write (RWB) The Read/Write (RWB) output signal is used to control whether the microprocessor is "Reading" or "Writing" to memory. When the RWB is in the high state, the microprocessor is reading data from memory or I/O. When RBW is low the Data Bus contains valid data from the microprocessor which is to written to the addressed memory location. The RWB signal is set to the high impedance state when Bus Enable (BE) is low.. Ready (RDY) The Ready (RDY) is a bi-directional signal. When it is an output it indicates that a Wait for Interrupt (WAI) instruction has been executed halting operation of the microprocessor. A low input logic level will halt the microprocessor in its current state. Returning RDY to the active high state releases the microprocessor to continue processing following the next PHI negative transition. The RDY signal is internally pulled low following the execution of a Wait for Interrupt (WAI) instruction, and then returned to the high state when a RESB, ABORTB, NMIB, or IRQB external interrupt is active. This feature may be used to reduce interrupt latency by executing the WAI instruction and waiting for an interrupt to begin processing. If the IRQB Disable flag has been set, the next instruction will be executed when the IRQB occurs. The processor will not stop after a WAI instruction if RDY has been forced to a high state. The Stop (STP) instruction has no effect on RDY. The RDY pin has an active pull-up and when outputting a low level, the pull-up is turned off to reduce power. The RDY pin can be wired ORed. The Western Design Center W6C86S 8

19 . Reset (RESB) W6C86S Data Sheet The Reset (RESB) active low input is used to initialize the microprocessor and start program execution. The Reset input buffer has hysteresis such that a simple R-C timing circuit may be used with the internal pull-up device. The RESB signal must be held low for at least two clock cycles after VDD reaches operating voltage. Ready (RDY) has no effect while RESB is being held low. The stack pointer must be initialized by the user's software. During the Reset conditioning period the following processor initialization takes place: Registers D= SH=, SL=* DBR= XH=, XL=* PBR= YH=, YL=* A=* Signals E= VDA= MX= VPB= RWB= VPA= P Register N V M X D I Z C/E * * * */ *=not initialized When Reset is brought high, an interrupt sequence is initiated STP and WAI instructions are cleared RWB remains in the high state during the stack address cycles. The Reset vector address is FFFC,D.(see Table 6- for Vectors) PC is loaded with the contents of FFFC,D. Valid Data Address (VDA) and Valid Program Address (VPA) The Valid Data Address (VDA) and Valid Program Address (VDA) output signals indicate valid memory addresses when high and are used for memory or I/O address qualification. VDA VPA Internal Operation Address and Data Bus available. The Address Bus may be invalid. Valid program address-may be used for program cache control. Valid data address-may be used for data cache control. fetch-may be used for program cache control and single step control. VDD and VSS VDD is the positive supply voltage and VSS is system logic ground..6 Vector Pull (VPB) The Vector Pull (VPB) active low output indicates that a vector location is being addressed during an interrupt sequence. VPB is low during the last two interrupt sequence cycles, during which time the processor loads the PC with the interrupt handler vector location. The VPB signal may be used to select and prioritize interrupts from several sources by modifying the vector addresses. The Western Design Center W6C86S 9

20 ADDRESSING MODES W6C86S Data Sheet The W6C86S is capable of directly addressing 6 MBytes of memory. This address space has special significance within certain addressing modes, as follows:. Reset and Interrupt Vectors The Reset and Interrupt Vectors use the majority of the fixed addresses between FFE and FFFF.. Stack The Stack may be use memory from to FFFF. The effective address of Stack and Stack Relative addressing modes will be always be within this range.. Direct The Direct addressing modes are usually used to store memory registers and pointers. The effective address generated by Direct, Direct,X and Direct,Y addressing modes is always in Bank (-FFFF).. Program Address Space The Program Bank register is not affected by the Relative, Relative Long, Absolute, Absolute Indirect, and Absolute Indexed Indirect addressing modes or by incrementing the Program Counter from FFFF. The only instructions that affect the Program Bank register are: RTI, RTL, JML, JSL, and JMP Absolute Long. Program code may exceed 6K bytes although code segments may not span bank boundaries.. Data Address Space The Data Address space is contiguous throughout the 6 MByte address space. Words, arrays, records, or any data structures may span 6 KByte bank boundaries with no compromise in code efficiency. The following addressing modes generate -bit effective addresses: Absolute a Absolute a,x Absolute a,y Absolute Long al Absolute Long Indexed al,x Direct Indexed Indirect (d,x) Direct Indirect (d) Direct Indirect Indexed (d),y Direct Indirect Long [d] Direct Indirect Long Indexed [d],y Stack Relative Indirect Indexed (d,x),y The following addressing mode descriptions provide additional detail as to how effective addresses are calculated. Twenty-four addressing modes are available for the W6C86S. The Western Design Center W6C86S

21 W6C86S Data Sheet Absolute -a With Absolute (a) addressing the second and third bytes of the instruction form the low-order 6 bits of the effective address. The Data Bank Register contains the high-order 8 bits of the operand address. Instruction: addrl addrh Operand DBR addrh addrl Absolute Indexed Indirect-(a,x) With Absolute Indexed Indirect ((a,x)) addressing the second and third bytes of the instruction are added to the X Index Register to form a 6-bit pointer in Bank. The contents of this pointer are loaded in the Program Counter for the JMP instruction. The Program Bank Register is not changed. then: PC = (address) Instruction: addrl addrh Abs olute Indexed with X-a,x PBR addrh address With Absolute Indexed with X (a,x) addressing the second and third bytes of the instruction are added to the X Index Register to form the low-order 6-bits of the effective address. The Data Bank Register contains the high-order 8 bits of the effective address. addrl X Reg Instruction: addrl addrh Operand Address: DBR addrh addrl + X Reg effective address Absolute Indexed with Y-a,y With Absolute Indexed with Y (a,y) addressing the second and third bytes of the instruction are added to the Y Index Register to form the low-order 6-bits of the effective address. The Data Bank Register contains the high-order 8 bits of the effective address. Instruction: addrl addrh Operand Address: DBR addrh addrl + Y Reg effective address The Western Design Center W6C86S

22 W6C86S Data Sheet Absolute Indirect-(a) With Absolute Indirect ((a)) addressing the second and third bytes of the instruction form an address to a pointer in Bank. The Program Counter is loaded with the first and second bytes at this pointer. With the Jump Long (JML) instruction, the Program Bank Register is loaded with the third byte of the pointer. Instruction: addrl addrh Indirect addrh addrl Absolute Long Indexed With X-al,x With Absolute Long Indexed with X (al,x) addressing the second, third and fourth bytes of the instruction form a -bit base address. The effective address is the sum of this -bit address and the X Index Register. Absolute Long-al Instruction: addrl addrh baddr Operand Address: baddr addrh addrl + X Reg effective address With Absolute Long (al) addressing the second, third and fourth byte of the instruction form the -bit effective address. Accumulator-A Instruction: addrl addrh baddr Operand Address: baddr addrh addrl With Accumulator (A) addressing the operand is the Accumulator. Block Move-xyc Block Move (xyc) addressing is used by the Block Move instructions. The second byte of the instruction contains the high-order 8 bits of the destination address and the Y Index Register contains the low-order 6 bits of the destination address. The third byte of the instruction contains the high-order 8 bits of the source address and the X Index Register contains the low-order bits of the source address. The C Accumulator contains one less than the number of bytes to move. The second byte of the block move instructions is also loaded into the Data Bank Register. Instruction: dstbnk srcbnk dstbnk Y DBR Source Address: srcbnk X Reg Dest. Address; DBR Y Reg Increment X and Y (MVN) or decrement X and Y (MVP) and decrement C (if greater than zero), then PC=PC+. The Western Design Center W6C86S

23 W6C86S Data Sheet Direct Indexed Indirect-(d,x) Direct Indexed Indirect ((d,x)) addressing is often referred to as Indirect X addressing. The second byte of the instruction is added to the sum of the Direct Register and the X Index Register. The result points to the X low-order 6 bits of the effective address. The Data Bank Register contains the high-order 8 bits of the effective address. Instruction: offset then: + DBR Direct Register + offset direct address + X Reg (address) Operand Address: effective address Direct Indexed with X-d,x With Direct Indexed with X (d,x) addressing the second byte of the instruction is added to the sum of the Direct Register and the X Index Register to form the 6-bit effective address. The operand is always in Bank. Instruction: offset Direct Register + offset direct address + X Reg Operand Address: effective address Direct Indexed with Y-d,y With Direct Indexed with Y (d,y) addressing the second byte of the instruction is added to the sum of the Direct Register and the Y Index Register to form the 6-bit effective address. The operand is always in Bank. Instruction: offset Direct Register + offset direct address + Y Reg Operand Address: effective address The Western Design Center W6C86S

24 W6C86S Data Sheet Direct Indirect Indexed-(d),y Direct Indirect Indexed ((d),y) addressing is often referred to as Indirect Y addressing. The second byte of the instruction is added to the Direct Register (D). The 6-bit content of this memory location is then combined with the Data Bank register to form a -bit base address. The Y Index Register is added to the base address to form the effective address. Instruction: offset then: + DBR Operand Address: Direct Register + offset (direct address) base address + Y Reg effective address Direct Indirect Long Indexed-[d],y With Direct Indirect Long Indexed ([d],y) addressing the -bit base address is pointed to by the sum of the second byte of the instruction and the Direct Register. The effective address is this -bit base address plus the Y Index Register. Instruction: offset Direct Register + offset direct address base address then + Y Reg Operand Address: effective address Direct Indirect Long-[d] With Direct Indirect Long ([d]) addressing the second byte of the instruction is added to the Direct Register to form a pointer to the -bit effective address. Instruction: offset Direct Register then: + offset Operand Address: (direct address) direct address The Western Design Center W6C86S

25 W6C86S Data Sheet Direct Indirect-(d) With Direct Indirect ((d)) addressing the second byte of the instruction is added to the Direct Register to form a pointer to the low-order 6 bits of the effective address. The Data Bank Register contains the high-order 8 bits of the effective address. Instruction: offset then: + DBR Operand Address: Direct Register + offset (direct address) effective address Direct-d With Direct (d) addressing the second byte of the instruction is added to the Direct Register (D) to form the effective address. An additional cycle is required when the Direct Register is not page aligned (DL not equal ). The Bank register is always. Instruction: offset Direct Register + offset Operand Address: effective address Immediate-# With Immediate (#) addressing the operand is the second byte (second and third bytes when in the 6-bit mode) of the instruction. Implied-i Implied (i) addressing uses a single byte instruction. The operand is implicitly defined by the instruction. Program Counter Relative Long-rl The Program Counter Relative Long (rl) addressing mode is used with only with the unconditional Branch Long instruction (BRL) and the Push Effective Relative instruction (PER). The second and third bytes of the instruction are added to the Program Counter, which has been updated to point to the of the next instruction. With the branch instruction, the Program Counter is loaded with the result. With the Push Effective Relative instruction, the result is stored on the stack. The offset is a signed 6-bit quantity in the range from -768 to 767. The Program Bank Register is not affected. The Western Design Center W6C86S

26 W6C86S Data Sheet Program Counter Relative -r The Program Counter Relative (r) addressing is referred to as Relative Addressing and is used only with the Branch instructions. If the condition being tested is met, the second byte of the instruction is added to the Program Counter, which has been updated to point to the of the next instruction. The offset is a signed 8-bit quantity in the range from -8 to 7. The Program Bank Register is not affected. Stack-s Stack (s) addressing refers to all instructions that push or pull data from the stack, such as Push, Pull, Jump to Subroutine, Return from Subroutine, Interrupts, and Return from Interrupt. The bank address is always. Interrupt Vectors are always fetched from Bank. Stack Relative -d,s With Stack Relative (d,s) addressing the low-order 6 bits of the effective address is formed from the sum of the second byte of the instruction and the stack pointer. The high-order 8 bits of the effective address are always zero. The relative offset is an unsigned 8-bit quantity in the range of to. Instruction: offset Stack Pointer then: + offset Operand Address: effective address Stack Relative Indirect Indexed-(d,s),y With Stack Relative Indirect Indexed ((d,s),y) addressing the second byte of the instruction is added to the Stack Pointer to form a pointer to the low-order 6-bit base address in Bank. The Data Bank Register contains the high-order 8 bits of the base address. The effective address is the sum of the -bit base address and the Y Index Register. Instruction: offset Stack Pointer offset S + offset then + DBR base address + Y Reg Operand Address: effective address The Western Design Center W6C86S 6

27 W6C86S Data Sheet Table - Addressing Mode Summary Address Mode Instruction Times in Memory Cycle Memory Utilization in Number of Program Sequence Bytes Original 8-bit NMOS 6 New W6C86S Original 8-bit NMOS 6 New W6C86S Absolute () (,) Absolute Indexed Indirect (Jump) Absolute Indirect (Jump) Absolute Long - () - Absolute Long, X - () - Absolute, X (,) (,,) Absolute, Y () (,) Accumulator Block Move (xyc) Direct () (,,) Direct Indexed Indirect (d,x) 6 6 (,) Direct Indirect - (,) - Direct Indirect Indexed (d),y () (,,) Direct Indirect Indexed Long [d],y - 6 (,) - Direct Indirect Long - 6 (,) - Direct, X () (,,) Direct, Y (,) Immediate () () Implied Relative (,) () Relative Long - () - Stack Stack Relative - () - Stack Relative Indirect Indexed - 7 () - Notes (these are indicated in parentheses):. Page boundary, add cycle if page boundary is crossed when forming address.. Branch taken, add cycle if branch is taken.. M = or X =, 6 bit operation, add cycle, add byte for immediate.. Direct register low (DL) not equal zero, add cycle.. Read-Modify-Write, add cycles for M =, add cycles for M =. The Western Design Center W6C86S 7

28 TIMING, AC AND DC CHARACTERISTICS W6C86S Data Sheet. Absolute Maximum Ratings Table - Absolute Maximum Ratings Rating Symbol Value Supply Voltage VDD -. to +7.V Input Voltage VIN -. to VDD +.V Storage Temperature TS - C to + C This device contains input protection against damage due to high static voltages or electric fields; however, precautions should be taken to avoid application of voltages higher than the maximum rating. Note: Exceeding these ratings may result in permanent damage. Functional operation under the conditions is not implied. The Western Design Center W6C86S 8

29 . DC Characteristics TA = - C to +8 C W6C86S Data Sheet Table - DC Characteristics Symbol. +/ - %. +/ - %. +/ - %. +/ - %.8 +/ - % Units Min Max Min Max Min Max Min Max Min Max VDO V Input High Voltage Vih ABORTB, BE, Data, IRQB, RDY, VDDx.8 VDD+. VDDx.8 VDD+. VDDx.8 VDD+. VDDx.8 VDD+. VDDx.8 VDD+. NMIB, PHI, RESB V Vil Input Low Voltage ABORTB, BE, Data, IRQB, RDY, VSS-. VDDx. VSS-. VDDx. VSS-. VDDx. VSS-. VDDx. VSS-. VDDx. V NMIB, PHI, RESB Ipup RDY Input Pullup-Current (VIN=VDDx.8) µa Iin Input Leakage Current (Vin=. to.) PHI, Address, Data, RWB, (Off state, BE=), All other inputs µa Output High Voltage (Vol=VDD-.V) Ioh Address, Data, E, MLB, MX, RWB, VDA, VPA, VPB µa Iol Output Low Voltage (Vol=VSS+.V) Address, Data, E, MLB, MX, RWB, VDA, VPA, VPB ma Idd Supply Current (no load) ma/ Supply Current (core) MHz Standby Current (No Load, Data Bus = VSS or VDD) Isby ABORTB, BE, IRQB, NMIB, RESB, PHI=VDD µa Capacitance (Vin=V, TA= C, f=mhz) ABORTB, BE, IRQB, NMIB, PHI, Cin RBW, RESB, RDY, pf Cts Address, Data, R/W- (Off state) pf * Not inspected during production test; verified on a sample basis. IDD (ma) MHz Operation@8 C Typical.6u processed device (With tester loading) (CORE power only) 6 VDD (VOLTS) Table - IDD vs. VDD VDD (VOLTS) Typical.6u processed C F Max (MHz) Table - F Max vs. VDD The Western Design Center W6C86S 9

30 Table - W6C86S AC Characteristics W6C86S Data Sheet Symbol Parameter. +/- %. +/- %. +/- %. +/- %.8 +/- % Units MHz 8MHz 8MHz MHz MHz Min Max Min Max Min Max Min Max Min Max VDD V tcyc Cycle Time 7 DC DC DC DC DC ns tpwl Clock Pulse Width Low ns tpwh Clock Pulse Width High ns tf,tr Fall Time, Rise Time ns tah A-A Hold Time ns tads A-A Setup Time ns tbh BA-BA7 Hold Time ns tbas BA-BA7 Setup Time ns tacc Access Time ns tdhr Read Data Hold Time ns tmds Write Data Delay Time ns tdhw Write Data Hold Time ns tpcs Processor Control Setup Time ns tpch Processor Control Hold Time ns teh E, MX Output Hold Time ns tes E, MX Output Setup Time ns CEXT Capacitive Load () Pf tbvd be TO Valid Data () ns. Test or loading on all outputs.. BE to High Impedance State is not testable but should be the same amount of time as BE to Valid Data. The Western Design Center W6C86S

31 W6C86S Data Sheet tf tr PHI tpwl tpwh RWB, SYNC VPB, MLB A-A Read Data tdhr Write Data tdhw tah tads tacc tmds Write Data tdsr tah see note tdhr tdhw IRQB, NMIB, RESB, RDY tpcs tpch ABORTB tpcs M/X M IEH tes X X teh M M tes teh E teh BE Data tbvd. Timing measurement points are % VDD. Figure - General Timing Diagram The Western Design Center W6C86S

32 6 OPERATN TABLES Table 6- W6C86S Instruction Set-Alphabetical Sequence (continued on following page) W6C86S Data Sheet. ADC Add Memory to Accumulator with Carry. INY Increment Index Y by One. AND "AND" Memory with Accumulator. JML Jump Long. ASL Shift One Bit Left, Memory or Accumulator. JMP Jump to New Location. BCC Branch on Carry Clear (C=). JSL Jump Subroutine Long. BCS Branch on Carry Set (C=). JSR Jump to News Location Saving Return 6. BEQ Branch if Equal (Z=). LDA Load Accumulator with Memory 7. BIT Bit Test 6. LDX Load Index X with Memory 8. BMI Branch if Result Minus (N=) 7. LDY Load Index Y with Memory 9. BNE Branch if Not Equal (Z=) 8. LSR Shift One Bit Right (Memory or Accumulator). BPL Branch if Result Plus (N=) 9. MVN Block Move Negative. BRA Branch Always. MVP Block Move Positive. BRK Force Break. NOP No Operation. BRL Branch Always Long. ORA "OR" Memory with Accumulator.. Push Effective Absolute Address on Stack (or BVC Branch on Overflow Clear (V=) PEA Push Immediate Data on Stack).. Push Effective Absolute Address on Stack ( Or BVS Branch on Overflow Set (V=) PEI Push Direct Data on Stack) 6.. Push Effective Program Counter Relative CLC Clear Carry Flag PER Address on Stack 7. CLD Clear Decimal Mode 6. PHA Push Accumulator on Stack 8. CLI Clear Interrupt Disable Bit 7. PHB Push Data Bank Register on Stack 9. CLV Clear Overflow Flag 8. PHD Push Direct Register on Stack. CMP Compare Memory and Accumulator 9. PHK Push Program Bank Register on Stack. COP Coprocessor. PHP Push Processor Status on Stack. CPX Compare Memory and Index X. PHX Push Index X on Stack. CPY Compare Memory and Index Y. PHY Push Index Y on Stack. DEC Decrement Memory or Accumulator by One. PLA Pull Accumulator from Stack. DEX Decrement Index X by One. PLB Pull Data Bank Register from Stack 6. DEY Decrement Index Y by One. PLD Pull Direct Register from Stack 7. EOR "Exclusive OR" Memory with Accumulator 6. PLP Pull Processor Status from Stack 8. INC Increment Memory or Accumulator by One 7. PLX Pull Index X from Stack 9. INX Increment Index X by One 8. PLY Pull Index Y from Stack The Western Design Center W6C86S

33 W6C86S Data Sheet 9. REP Reset Status Bits 76. TAY Transfer Accumulator to Index Y 6. ROL Rotate One Bit Left (Memory or 77. TCD Transfer C Accumulator to Direct Register Accumulator) 6. ROR Rotate One Bit Right (Memory or 78. TCS Transfer C Accumulator to Stack Pointer Register Accumulator) 6. RTI Return from Interrupt 79. TDC Transfer Direct Register to C Accumulator 6. RTL Return from Subroutine Long 8. TRB Test and Reset Bit 6. RTS Return from Subroutine 8. TSB Test and Set Bit 6. SBC Subtract Memory from Accumulator 8. TSC Transfer Stack Pointer Register to C Accumulator with Borrow 66. SEP Set Processor Status Bit 8. TSX Transfer Stack Pointer Register to Index X 67. SEC Set Carry Flag 8. TXA Transfer Index X to Accumulator 68. SED Set Decimal Mode 8. TXS Transfer Index X to Stack Pointer Register 69. SEI Set Interrupt Disable Status 86. TXY Transfer Index X to Index Y 7. STA Store Accumulator in Memory 87. TYA Transfer Index Y to Accumulator 7. STP Stop the Clock 88. TYX Transfer Index Y to Index X 7. STX Store Index X in Memory 89. WAI Wait for Interrupt 7. STY Store Index Y in Memory 9. WDM Reserved for future use 7. STZ Store Zero in Memory 9. XBA Exchange B and A Accumulator 7. TAX Transfer Accumulator in Index X 9. XCE Exchange Carry and Emulation Bits The Western Design Center W6C86S

34 W6C86S Data Sheet Table 6- Emulation Mode Vector Locations (8-bit Mode) Address Label Function FFFE,F IRQB/BRK Hardware/Software FFFC,D RESETB Hardware FFFA,B NMIB Hardware FFF8,9 ABORTB Hardware FFF6,7 (Reserved) Hardware FFF, COP Software FFF, (Reserved) FFF, (Reserved) Table 6- Native Mode Vector Locations (6-bit Mode) Address Label Function FFFE,F IRQB Hardware FFFC,D (Reserved) FFFA,B NMIB Hardware FFF8,9 ABORTB FFF6,7 BRK Software FFF, COP Software FFF, (Reserved) FFF, (Reserved) The VP output is low during the two cycles used for vector location access. When an interrupt is executed, D= and I= in Status Register P. The Western Design Center W6C86S

35 Table 6- Matrix W6C86S Data Sheet M S D A B C D E F LSD A B C D E F BRK s 7, BPL r, JSR a 6, BMI r, RTI s 7, BVC r, RTS s 6, BVS r, BRA r,! BCC r, LDY #, BCS r, CPY #, BNE r, CPX #, BEQ r, ORA(d,x) 6, ORA(d),y, AND(d,x) 6, AND(d),y, EOR(d,x) 6, EOR (d),y, ADC(d,x) 6, ADC(d),y, STA(d,x) 6, STA(d),y 6, LDA (d,x) 6, LDA (d),y, CMP (d,x) 6, CMP (d),y, SBC (d,x) 6, SBC (d),y, COP s 7, * ORA(d),! JSL al 8, * AND(d),! WDM, * EOR (d),! PER s 6, * ADC(d),! BRL rl, * STA (d),! LDX #, LDA (d),! REP #, * CMP (d),! SEP #, * SBC (d),! ORA d,s, * ORA(d,s),y 7, * AND d,s, * AND(d,s),y 7, * EOR d,s, * EOR(d,s),y 7, * ADC d,s, * ADC(d,s),y 7, * STA d,s, * STA(d,s),y 7, * LDA d,s, * LDA(d,s),y 7, * CMP d,s, * CMP(d,s),y 7, * SBC d,s, * SBC(d,s),y 7, * TBS d,! TRB d,! BIT d, BIT d,x,! MVP xyc 7, * MVN xyc 7, * STZ d,! STZ d,x,! STY d, STY d,x, LDY d, LDY d,x, CPY d, PEI s 6, * CPX d, PEA s, * ORA d, ORA d,x, AND d, AND d,x, EOR d, EOR d,x, ADC d, ADC d,x, STA d, STA d,x, LDA d, LDA d,x, CMP d, CMP d,x, SBC d, SBC d,x, ASL d, * ASL d,x 6, * ROL d, * ROL d,x 6, * LSR d, * LSR d,x 6, * ROR d, * ROR d,x 6, * STX d, * STX d,y, * LDX d, * LDX d,y, * DEC d, * DEC d,x 6, * INC d, * INC d,x 6, * ORA [d] 6, ORA[d],y 6, AND [d] 6, AND[d],y 6, EOR [d] 6, EOR[d].y 6, ADC[d] 6, ADC[d],y 6, STA[d] 6, STA[d],y 6, LDA [d] 6, LDA[d],y 6, CMP [d] 6, CMP[d],y 6, SBC [d] 6, SBC[d],y 6, PHP s, CLC i, PLP s, SEC i, PHA s, CLI i, PLA s, SEI i, DEY i, TYA i, TAY i, CLV i, INY i, CLD i, INX i, SED i, ORA#, ORA a,y, AND#, AND a,y, EOR #, EOR a,y, ADC#, ADC a,y, BIT #,! STA a,y, LDA#, LDA a,y, CMP #, CMP a,y, SBC #, SBC a,y, ASL A, INC A,! ROL A, DEC A,! LSR A, PHY s,! ROR A, PLY s, TXA i, TXS i, TAX i, TSX i, DEX i, PHX s,! NOP i, PLX s,! PHD s, * TCS i, * PLD s, * TSC i, * PHK s, * TCD i, * RTL s 6, * TDC i, * PHB s, * TXY i, * PLB s, * TYX i, * WAI i,! STP i,! XBA i, * XCE i, * TSB a 6,! TRB a 6,! BIT a, BIT a,x,! JMP a, JMP al, * JMP (a), JMP(a,x) 6,! STY a, STZ a,! LDY a, LDY a,x, CPY a, JML (a) 6, * CPX a, JSR (a,x) 6, * ORA a, ORA a,x, AND a, AND a,x, EOR a, EOR a,x, ADC a, ADC a,x, STA a, STA a,x, LDA a, LDA a,x, CMP a, CMP a,x, SBC a, SBC a,x, ASL a 6, ASL a,x 7, ROL a 6, ROL a,x 7, LSR a 6, LSR a,x 7, ROR a 6, ROR a,x 7, STX a, STZ a,x,! LDX a, LDX a,y, DEC a 6, DEC a,x 7, INC a 6, INC a,x 7, A B C D E F * = Old instruction with new addressing modes! = New Instruction ORA al, * ORA al,x, * AND al, * AND al,x, * EOR al, * EOR al,x, * ADC al, * ADC al,x, * STA al, * STA al,x, * LDA al, * LDA al,x, * CMP al, * CMP al,x, * SBC al, * SBC al,x, * M S D A B C D E F The Western Design Center W6C86S

36 Table 6- Operation, Operation Codes, and Status Register (continued on following pages) W6C86S Data Sheet Operation Mnemonic + Add - Subtract ^ AND Processor Status Code v OR a A a,x a,y al al,x (a) (a,x) d d,s i d,x d,y (d) [d] (d,s),y (d,x) (d),y [d],y r rl s xyc # 7 6 v Exclusive OR N V B D Z C ADC A+M+C A 6D 7D 79 6F 7F N V.... Z C AND A^M A D E 9 F F N..... Z. ASL C /7 6 E A E 6 6 N..... Z C BCC Branch if C = BCS Branch if C = B BEQ Branch if Z = F BIT A ^ M (Note ) C C 89 M 7 M Z. BMI Branch if N = BNE Branch if Z = D BPL Branch if N = BRA Branch Always BRK Break (Note )..... BRL* Branch Long Always BVC Branch if V = BVS Branch if V = CLC C CLD D D CLI CLV V B CMP A-M CD DD D9 CF DF C C D D C7 D C D D7 C9 N..... Z C COP* Co-Processor The Western Design Center W6C86S 6

W65C816S 8/16 bit Microprocessor

W65C816S 8/16 bit Microprocessor November 9, 8 WC8S 8/ bit Microprocessor WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Information contained herein

More information

Aug.3, W65C816S 8/16 bit Microprocessor

Aug.3, W65C816S 8/16 bit Microprocessor Aug., 9 WC8S 8/ bit Microprocessor WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Information contained herein is provided

More information

G65SC802 G65SC816. Microcircuits. CMOS 8-Bit/16-Bit Microprocessor Family ADVANCE INFORMATION. Features. General Description. Features (G65SC802 Only)

G65SC802 G65SC816. Microcircuits. CMOS 8-Bit/16-Bit Microprocessor Family ADVANCE INFORMATION. Features. General Description. Features (G65SC802 Only) G65SC802 G65SC816 Microcircuits CMOS 8-Bit/16-Bit Microprocessor Family Features Advanced CMOS design for low power consumption and increased noise immunity Emulation mode for total software compatibility

More information

The 6502 Instruction Set

The 6502 Instruction Set The 6502 Instruction Set Load and Store Group LDA Load Accumulator N,Z LDX Load X Register N,Z LDY Load Y Register N,Z STA Store Accumulator STX Store X Register STY Store Y Register Arithmetic Group ADC

More information

COSC 243. Instruction Sets And Addressing Modes. Lecture 7&8 Instruction Sets and Addressing Modes. COSC 243 (Computer Architecture)

COSC 243. Instruction Sets And Addressing Modes. Lecture 7&8 Instruction Sets and Addressing Modes. COSC 243 (Computer Architecture) COSC 243 Instruction Sets And Addressing Modes 1 Overview This Lecture Source Chapters 12 & 13 (10 th editition) Textbook uses x86 and ARM (we use 6502) Next 2 Lectures Assembly language programming 2

More information

A. CPU INSTRUCTION SET SUMMARY

A. CPU INSTRUCTION SET SUMMARY A. CPU INSTRUCTION SET SUMMARY This appendix summarizes the CPU instruction set. Table A-1 is a matrix of CPU instructions and addressing modes arranged by operation code. Table A-2 lists the CPU instruction

More information

Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp.

Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp. To all our customers Regarding the change of names mentioned in the document, such as Mitsubishi Electric and Mitsubishi XX, to Renesas Technology Corp. The semiconductor operations of Hitachi and Mitsubishi

More information

; Once Initialized, monitor character in calls to CN05 ; set carry for input, to be tested CN35 C SEC

; Once Initialized, monitor character in calls to CN05 ; set carry for input, to be tested CN35 C SEC // // Serialcode.s // 256 Byte Prom P8 and 512 Byte PROM P9A (second version) for Apple II Serial Card // P9A differs from P9 by adding RTS/ACK software flow control to output and // by removing batch

More information

Sept 13, W65C22 (W65C22N and W65C22S) Versatile Interface Adapter (VIA) Datasheet

Sept 13, W65C22 (W65C22N and W65C22S) Versatile Interface Adapter (VIA) Datasheet Sept 13, 2010 W65C22 (W65C22N and W65C22S) Versatile Interface Adapter (VIA) Datasheet WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible

More information

instruction 1 Fri Oct 13 13:05:

instruction 1 Fri Oct 13 13:05: instruction Fri Oct :0:0. Introduction SECTION INSTRUCTION SET This section describes the aressing modes and instruction types.. Aressing Modes The CPU uses eight aressing modes for flexibility in accessing

More information

Code Secrets of Wolfenstein 3D IIGS. Eric Shepherd

Code Secrets of Wolfenstein 3D IIGS. Eric Shepherd Code Secrets of Wolfenstein 3D IIGS Eric Shepherd Fast Screen Refresh with PEI Slamming Or, Dirty Tricks with the Direct Page IIGS Features We Can Abuse Super high-resolution graphics shadowing Bank $01

More information

Example Programs for 6502 Microprocessor Kit

Example Programs for 6502 Microprocessor Kit Example Programs for 6502 Microprocessor Kit 0001 0000 0002 0000 GPIO1.EQU $8000 0003 0000 0004 0000 0005 0200.ORG $200 0006 0200 0007 0200 A5 00 LDA $0 0008 0202 8D 00 80 STA $GPIO1 0009 0205 00 BRK 0010

More information

CPU08RM/AD REV 3 8M68HC08M. CPU08 Central Processor Unit. Reference Manual

CPU08RM/AD REV 3 8M68HC08M. CPU08 Central Processor Unit. Reference Manual CPU08RM/AD REV 3 68HC08M6 HC08M68HC 8M68HC08M CPU08 Central Processor Unit Reference Manual blank CPU08 Central Processor Unit Reference Manual Motorola reserves the right to make changes without further

More information

9/25/ Software & Hardware Architecture

9/25/ Software & Hardware Architecture 8086 Software & Hardware Architecture 1 INTRODUCTION It is a multipurpose programmable clock drive register based integrated electronic device, that reads binary instructions from a storage device called

More information

Table 1: Mnemonics Operations Dictionary. Add Accumulators Add B to Y. Add with carry to B. Add Memory to B. Add 16-bit to D And B with Memory

Table 1: Mnemonics Operations Dictionary. Add Accumulators Add B to Y. Add with carry to B. Add Memory to B. Add 16-bit to D And B with Memory Table 1: Mnemonics s Dictionary ABA ABX ABY ADCA ADCB ADDA ADDB ADDD ANDA ANDB ASL ASLA ASLB ASLD ASR ASRA ASRB BCC BCLR BCS BEQ BGE BGT BHI BHS BITA BITB BLE BLO BLS BLT Add Accumulators Add B to X Add

More information

W65C816SXB Engineering Development System Datasheet

W65C816SXB Engineering Development System Datasheet W65C816SXB Engineering Development System Datasheet WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Information contained

More information

The Motorola 68HC11 Instruc5on Set

The Motorola 68HC11 Instruc5on Set The Motorola 68HC11 Instruc5on Set Some Defini5ons A, B * accumulators A and B D * double accumulator (A + B) IX, IY * index registers X and Y SP * stack pointer M * some memory loca5on opr * an operand

More information

III. Flags of the Processor Staus Register

III. Flags of the Processor Staus Register III. Flags of the Processor Staus Register INHALT 1. Meaning 2. Application 2.1 Shifts 2.2 Branches 2.3 Addition and Subtraction 2.4 Comparisons in magnitude 1. Meaning processor status register Overflow

More information

DAN64: an AVR based 8-bit Microcomputer

DAN64: an AVR based 8-bit Microcomputer DAN64: an AVR based 8-bit Microcomputer Juan J. Martínez jjm@usebox.net Manual for V.R - May 0, 06 Features Composite video black and white output, 56 x 9 resolution, x 4 characters (8 x 8 pixels font,

More information

68HC11 PROGRAMMER'S MODEL

68HC11 PROGRAMMER'S MODEL 8H11 PROGRMMER'S MODEL s (,, and D) s and are general-purpose 8-bit accumulators used to hold operands and results of arithmetic calculations or data manipulations. Some instructions treat the combination

More information

commodore semiconductor group NMOS 950 Rittenhouse Rd., Norristown, PA Tel.: 215/ TWX: 510/ (MEMORY, I/O, TIMER ARRAY)

commodore semiconductor group NMOS 950 Rittenhouse Rd., Norristown, PA Tel.: 215/ TWX: 510/ (MEMORY, I/O, TIMER ARRAY) commodore semiconductor group NMOS 950 Rittenhouse Rd., Norristown, PA 19403 Tel.: 215/666-7950 TWX: 510/660-4168 6532 (MEMORY, I/O, TIMER ARRAY) THE 6532 CONCEPT- The 6532 is designed to operate in conjunction

More information

August 30, W65C21 (W65C21N and W65C21S) Peripheral Interface Adapter (PIA)

August 30, W65C21 (W65C21N and W65C21S) Peripheral Interface Adapter (PIA) August 30, 2010 W65C21 (W65C21N and W65C21S) Peripheral Interface Adapter (PIA) WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible

More information

Digital IP Cell 8-bit Microcontroller PE80

Digital IP Cell 8-bit Microcontroller PE80 1. Description The is a Z80 compliant processor soft-macro - IP block that can be implemented in digital or mixed signal ASIC designs. The Z80 and its derivatives and clones make up one of the most commonly

More information

COSC 243. Assembly Language Techniques. Lecture 9. COSC 243 (Computer Architecture)

COSC 243. Assembly Language Techniques. Lecture 9. COSC 243 (Computer Architecture) COSC 243 Assembly Language Techniques 1 Overview This Lecture Source Handouts Next Lectures Memory and Storage Systems 2 Parameter Passing In a high level language we don t worry about the number of parameters

More information

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE:

1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: 1. INTRODUCTION TO MICROPROCESSOR AND MICROCOMPUTER ARCHITECTURE: A microprocessor is a programmable electronics chip that has computing and decision making capabilities similar to central processing unit

More information

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085.

1 MALP ( ) Unit-1. (1) Draw and explain the internal architecture of 8085. (1) Draw and explain the internal architecture of 8085. The architecture of 8085 Microprocessor is shown in figure given below. The internal architecture of 8085 includes following section ALU-Arithmetic

More information

0b) [2] Can you name 2 people form technical support services (stockroom)?

0b) [2] Can you name 2 people form technical support services (stockroom)? ECE 372 1 st Midterm ECE 372 Midterm Exam Fall 2004 In this exam only pencil/pen are allowed. Please write your name on the front page. If you unstaple the papers write your name on the loose papers also.

More information

Chapter 7 Central Processor Unit (S08CPUV2)

Chapter 7 Central Processor Unit (S08CPUV2) Chapter 7 Central Processor Unit (S08CPUV2) 7.1 Introduction This section provides summary information about the registers, addressing modes, and instruction set of the CPU of the HCS08 Family. For a more

More information

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY

CHAPTER 5 : Introduction to Intel 8085 Microprocessor Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY CHAPTER 5 : Introduction to Intel 8085 Hardware BENG 2223 MICROPROCESSOR TECHNOLOGY The 8085A(commonly known as the 8085) : Was first introduced in March 1976 is an 8-bit microprocessor with 16-bit address

More information

Data Sheet W65C02DB Developer Board

Data Sheet W65C02DB Developer Board THE WESTERN DESIGN CENTER, INC. 2166 E. Brown Rd. Mesa, AZ 85213 Ph 480-962-4545 Fx 480-835-6442 www.westerndesigncenter.com Data Sheet W65C02DB Developer Board Copyright 2001 by The Western Design Center,

More information

Peripheral Interface Adapter (PIA) W65C21S

Peripheral Interface Adapter (PIA) W65C21S Peripheral Interface Adapter (PIA) W65C21S The Western Design Center W65C21S 1 WDC reserves the right to make changes at any time without notice in order to improve design and supply the best possible

More information

Programming the Motorola MC68HC11 Microcontroller

Programming the Motorola MC68HC11 Microcontroller Programming the Motorola MC68HC11 Microcontroller COMMON PROGRAM INSTRUCTIONS WITH EXAMPLES aba Add register B to register A Similar commands are abx aby aba add the value in register B to the value in

More information

Programming the 65816

Programming the 65816 Programming the 65816 Including the 6502, 65C02 and 65802 Distributed and published under COPYRIGHT LICENSE AND PUBLISHING AGREEMENT with Authors David Eyes and Ron Lichty EFFECTIVE APRIL 28, 1992 Copyright

More information

Chapter 1: Basics of Microprocessor [08 M]

Chapter 1: Basics of Microprocessor [08 M] Microprocessor: Chapter 1: Basics of Microprocessor [08 M] It is a semiconductor device consisting of electronic logic circuits manufactured by using either a Large scale (LSI) or Very Large Scale (VLSI)

More information

Intel 8086 MICROPROCESSOR ARCHITECTURE

Intel 8086 MICROPROCESSOR ARCHITECTURE Intel 8086 MICROPROCESSOR ARCHITECTURE 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14, 16

More information

AT28C16. 16K (2K x 8) CMOS E 2 PROM. Features. Description. Pin Configurations

AT28C16. 16K (2K x 8) CMOS E 2 PROM. Features. Description. Pin Configurations Features Fast Read Access Time - 150 ns Fast Byte Write - 200 µs or 1 ms Self-Timed Byte Write Cycle Internal Address and Data Latches Internal Control Timer Automatic Clear Before Write Direct Microprocessor

More information

PROGRAM CONTROL UNIT (PCU)

PROGRAM CONTROL UNIT (PCU) nc. SECTION 5 PROGRAM CONTROL UNIT (PCU) MOTOROLA PROGRAM CONTROL UNIT (PCU) 5-1 nc. SECTION CONTENTS 5.1 INTRODUCTION........................................ 5-3 5.2 PROGRAM COUNTER (PC)...............................

More information

Intel 8086 MICROPROCESSOR. By Y V S Murthy

Intel 8086 MICROPROCESSOR. By Y V S Murthy Intel 8086 MICROPROCESSOR By Y V S Murthy 1 Features It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 2 20 memory locations (1 MB). It can support up to 64K I/O ports. It provides 14,

More information

IN-CIRCUIT DEBUG (ICD) USER GUIDE

IN-CIRCUIT DEBUG (ICD) USER GUIDE April 2003 IN-CIRCUIT DEBUG (ICD) USER GUIDE The Western Design Center, Inc., 2002 WDC TABLE OF CONTENTS 1. Introduction...3 2. Debug Port...4 3. The ICD Registers...4 4. ICDCTRL Register Bit Definitions...5

More information

HCTL-2017 Quadrature Decoder/Counter Interface ICs

HCTL-2017 Quadrature Decoder/Counter Interface ICs Products > Motion Control Encoder Solutions > Integrated Circuits > Decoder > HCTL-2017 HCTL-2017 Quadrature Decoder/Counter Interface ICs Description HCTL-2xxx series is a direct drop-in replacement for

More information

A24C08. AiT Semiconductor Inc. ORDERING INFORMATION

A24C08. AiT Semiconductor Inc.   ORDERING INFORMATION DESCRIPTION The provides 8192 bits of serial electrically erasable and programmable read-only memory (EEPROM), organized as 1024 words of 8 bits each. The device is optimized for use in many industrial

More information

1. Internal Architecture of 8085 Microprocessor

1. Internal Architecture of 8085 Microprocessor 1. Internal Architecture of 8085 Microprocessor Control Unit Generates signals within up to carry out the instruction, which has been decoded. In reality causes certain connections between blocks of the

More information

These three counters can be programmed for either binary or BCD count.

These three counters can be programmed for either binary or BCD count. S5 KTU 1 PROGRAMMABLE TIMER 8254/8253 The Intel 8253 and 8254 are Programmable Interval Timers (PTIs) designed for microprocessors to perform timing and counting functions using three 16-bit registers.

More information

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly.

Control Unit: The control unit provides the necessary timing and control Microprocessor resembles a CPU exactly. Unit I 8085 and 8086 PROCESSOR Introduction to microprocessor A microprocessor is a clock-driven semiconductor device consisting of electronic logic circuits manufactured by using either a large-scale

More information

CAT25C02/04/08/16/32 2K/4K/8K/16K/32K SPI Serial CMOS E 2 PROM FEATURES

CAT25C02/04/08/16/32 2K/4K/8K/16K/32K SPI Serial CMOS E 2 PROM FEATURES K/K/8K/6K/K SPI Serial CMOS E PROM FEATURES 0 MHz SPI Compatible.8 to 6.0 Volt Operation Hardware and Software Protection Zero Standby Current Low Power CMOS Technology SPI Modes (0,0 &,) Commercial, Industrial

More information

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks)

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI UNIT I THE 8085 & 8086 MICROPROCESSORS. PART A (2 Marks) MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI-621213. UNIT I THE 8085 & 8086 MICROPROCESSORS PART A (2 Marks) 1. Give the significance of SIM and RIM instruction available in 8085. [NOV/DEC 2006] Instruction

More information

8086 INTERNAL ARCHITECTURE

8086 INTERNAL ARCHITECTURE 8086 INTERNAL ARCHITECTURE Segment 2 Intel 8086 Microprocessor The 8086 CPU is divided into two independent functional parts: a) The Bus interface unit (BIU) b) Execution Unit (EU) Dividing the work between

More information

UNIT-II. Part-2: CENTRAL PROCESSING UNIT

UNIT-II. Part-2: CENTRAL PROCESSING UNIT Page1 UNIT-II Part-2: CENTRAL PROCESSING UNIT Stack Organization Instruction Formats Addressing Modes Data Transfer And Manipulation Program Control Reduced Instruction Set Computer (RISC) Introduction:

More information

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors

UNIT II OVERVIEW MICROPROCESSORS AND MICROCONTROLLERS MATERIAL. Introduction to 8086 microprocessors. Architecture of 8086 processors OVERVIEW UNIT II Introduction to 8086 microprocessors Architecture of 8086 processors Register Organization of 8086 Memory Segmentation of 8086 Pin Diagram of 8086 Timing Diagrams for 8086 Interrupts of

More information

Data Sheet W65C134DB Developer Board

Data Sheet W65C134DB Developer Board THE WESTERN DESIGN CENTER, INC. 2166 E. Brown Rd. Mesa, AZ 85213 Ph 480-962-4545 Fx 480-835-6442 www.westerndesigncenter.com Data Sheet W65C134DB Developer Board Copyright 2001 by The Western Design Center,

More information

Basic Execution Environment

Basic Execution Environment Basic Execution Environment 3 CHAPTER 3 BASIC EXECUTION ENVIRONMENT This chapter describes the basic execution environment of an Intel Architecture processor as seen by assembly-language programmers.

More information

ECE331 Handout 3- ASM Instructions, Address Modes and Directives

ECE331 Handout 3- ASM Instructions, Address Modes and Directives ECE331 Handout 3- ASM Instructions, Address Modes and Directives ASM Instructions Functional Instruction Groups Data Transfer/Manipulation Arithmetic Logic & Bit Operations Data Test Branch Function Call

More information

INSTRUCTION SET AND EXECUTION

INSTRUCTION SET AND EXECUTION SECTION 6 INSTRUCTION SET AND EXECUTION Fetch F1 F2 F3 F3e F4 F5 F6 Decode D1 D2 D3 D3e D4 D5 Execute E1 E2 E3 E3e E4 Instruction Cycle: 1 2 3 4 5 6 7 MOTOROLA INSTRUCTION SET AND EXECUTION 6-1 SECTION

More information

COMPUTE! ISSUE 36 / MAY 1983 / PAGE 244

COMPUTE! ISSUE 36 / MAY 1983 / PAGE 244 Versatile Data Acquisition with VIC Doug Homer and Stan Klein COMPUTE! ISSUE 36 / MAY 1983 / PAGE 244 This simple method of adjusting the VIC's internal jiffy dock can slow it down to match your timing

More information

Assembly Language Programming of 8085

Assembly Language Programming of 8085 Assembly Language Programming of 8085 Topics 1. Introduction 2. Programming model of 8085 3. Instruction set of 8085 4. Example Programs 5. Addressing modes of 8085 6. Instruction & Data Formats of 8085

More information

16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

16COM/40SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 6COM/4SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It can display, 2-line with 5 x 8 or 5 x dots

More information

IRQA. INTERRUPT STATUS CONTROLA CONTROL REGISTER A (CRA) OUTPUT BUS PERIPHERAL OUTPUT REGISTER A (ORA) PERIPHERAL OUTPUT REGISTER B (ORB) INPUT BUS

IRQA. INTERRUPT STATUS CONTROLA CONTROL REGISTER A (CRA) OUTPUT BUS PERIPHERAL OUTPUT REGISTER A (ORA) PERIPHERAL OUTPUT REGISTER B (ORB) INPUT BUS '.iu F O R N IA MICRO DEVICES CORP. 2000 WEST 14TH STREET TEMPE. ARIZONA 35281 Microcircuits CMOS Peripheral Interface Adapter Features CMOS process technology for low power consumption Direct replacement

More information

MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN

MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN MICROPROCESSOR PROGRAMMING AND SYSTEM DESIGN ROAD MAP SDK-86 Intel 8086 Features 8086 Block Diagram 8086 Architecture Bus Interface Unit Execution Unit 8086 Architecture 8086 Programmer s Model Flag Register

More information

AT24C01A/02/04/08/16. 2-Wire Serial CMOS E 2 PROM. Features. Description. Pin Configurations. 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8)

AT24C01A/02/04/08/16. 2-Wire Serial CMOS E 2 PROM. Features. Description. Pin Configurations. 1K (128 x 8) 2K (256 x 8) 4K (512 x 8) 8K (1024 x 8) AT24C01A/02/04/08/16 Features Low Voltage and Standard Voltage Operation 5.0 (V CC = 4.5V to 5.5V) 2.7 (V CC = 2.7V to 5.5V) 2.5 (V CC = 2.5V to 5.5V) 1.8 (V CC = 1.8V to 5.5V) Internally Organized 128

More information

ADVANCE MICROPROCESSOR & INTERFACING

ADVANCE MICROPROCESSOR & INTERFACING VENUS INTERNATIONAL COLLEGE OF TECHNOLOGY Gandhinagar Department of Computer Enggineering ADVANCE MICROPROCESSOR & INTERFACING Name : Enroll no. : Class Year : 2014-15 : 5 th SEM C.E. VENUS INTERNATIONAL

More information

User Manual for KRUSADER. Ken s Rather Useless Symbolic Assembly Development Environment for the Replica 1 or is that Reasonably Useful? You decide!

User Manual for KRUSADER. Ken s Rather Useless Symbolic Assembly Development Environment for the Replica 1 or is that Reasonably Useful? You decide! User Manual for KRUSADER Ken s Rather Useless Symbolic Assembly Development Environment for the Replica 1 or is that Reasonably Useful? You decide! Ken Wessen ken.wessen@gmail.com Version 1.3 December

More information

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller

Architecture & Instruction set of 8085 Microprocessor and 8051 Micro Controller of 8085 microprocessor 8085 is pronounced as "eighty-eighty-five" microprocessor. It is an 8-bit microprocessor designed by Intel in 1977 using NMOS technology. It has the following configuration 8-bit

More information

SECTION 5 PROGRAM CONTROL UNIT

SECTION 5 PROGRAM CONTROL UNIT SECTION 5 PROGRAM CONTROL UNIT MOTOROLA PROGRAM CONTROL UNIT 5-1 SECTION CONTENTS SECTION 5.1 PROGRAM CONTROL UNIT... 3 SECTION 5.2 OVERVIEW... 3 SECTION 5.3 PROGRAM CONTROL UNIT (PCU) ARCHITECTURE...

More information

中显液晶 技术资料 中显控制器使用说明书 2009年3月15日 北京市海淀区中关村大街32号和盛大厦811室 电话 86 010 52926620 传真 86 010 52926621 企业网站.zxlcd.com

中显液晶 技术资料 中显控制器使用说明书 2009年3月15日 北京市海淀区中关村大街32号和盛大厦811室 电话 86 010 52926620 传真 86 010 52926621   企业网站.zxlcd.com http://wwwzxlcdcom 4 SEG / 6 COM DRIVER & CONTROLLER FOR DOT MATRIX LCD June 2 Ver Contents in this document are subject to change without notice No part of this document may be reproduced or transmitted

More information

JBit E1 (1) Subroutines. Preface. Usage. Tables. Program Layout

JBit E1 (1) Subroutines. Preface. Usage. Tables. Program Layout JBit E1 (1) Preface, Usage, Program Layout, Subroutines, Tables Preface JBit E1 (1) The E1 series will show you how to write a complete application with JBit. While the application is trivial by today

More information

Am27C128. Advanced Micro Devices. 128 Kilobit (16,384 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL

Am27C128. Advanced Micro Devices. 128 Kilobit (16,384 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL FINAL 128 Kilobit (16,384 x 8-Bit) CMOS EPROM Advanced Micro Devices DISTINCTIVE CHARACTERISTICS Fast access time 45 ns Low power consumption 20 µa typical CMOS standby current JEDEC-approved pinout Single

More information

Basics of Microprocessor

Basics of Microprocessor Unit 1 Basics of Microprocessor 1. Microprocessor Microprocessor is a multipurpose programmable integrated device that has computing and decision making capability. This semiconductor IC is manufactured

More information

2-Megabit (256K x 8) 5-volt Only CMOS Flash Memory AT29C020. Features. Description. Pin Configurations

2-Megabit (256K x 8) 5-volt Only CMOS Flash Memory AT29C020. Features. Description. Pin Configurations Features Fast Read Access Time - 90 ns 5-Volt-Only Reprogramming Sector Program Operation Single Cycle Reprogram (Erase and Program) 1024 Sectors (256 bytes/sector) Internal Address and Data Latches for

More information

CMOS SyncFIFO 64 X 9, 256 x 9, 512 x 9, 1,024 X 9, 2,048 X 9, 4,096 x 9 and 8,192 x 9

CMOS SyncFIFO 64 X 9, 256 x 9, 512 x 9, 1,024 X 9, 2,048 X 9, 4,096 x 9 and 8,192 x 9 Integrated Device Technology, Inc. CMOS SyncFIFO 64 X 9, 256 x 9, 512 x 9, 1,24 X 9, 2,48 X 9, 4,96 x 9 and 8,192 x 9 IDT72421 IDT7221 IDT72211 IDT72221 IDT72231 IDT72241 IDT72251 FEATURES: 64 x 9-bit

More information

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER

EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER OBJECT: EXPERIMENT NO. 1 THE MKT 8085 MICROPROCESSOR TRAINER To understand the structure and operating instruction of the microprocessor trainer. INTRODUCTION: The MKT 8085 is a single-board microcomputer,

More information

Content. 1. General informations 2. direct addressing 3. indirect addressing 4. Examples including informations

Content. 1. General informations 2. direct addressing 3. indirect addressing 4. Examples including informations IV. Addressing Modi Content 1. General informations 2. direct addressing 3. indirect addressing 4. Examples including informations 1. General Informations Address range for data and program : the 65xx

More information

Note that none of the above MAY be a VALID ANSWER.

Note that none of the above MAY be a VALID ANSWER. ECE 270 Learning Outcome 4-1 - Practice Exam / Solution OUTCOME #4: An ability to design and implement computer logic circuits. Multiple Choice select the single most appropriate response for each question.

More information

A24C64. AiT Semiconductor Inc. ORDERING INFORMATION

A24C64. AiT Semiconductor Inc.   ORDERING INFORMATION DESCRIPTION provides 65536 bits of serial electrically erasable and programmable read-only memory (EEPROM) organized as 8192 words of 8 bits each. The is optimized for use in many industrial and commercial

More information

Introduction to Microprocessor

Introduction to Microprocessor Introduction to Microprocessor The microprocessor is a general purpose programmable logic device. It is the brain of the computer and it performs all the computational tasks, calculations data processing

More information

Drawing code Package Tape Reel 8-Pin DIP DP008-F 8-Pin SOP(JEDEC) FJ008-A FJ008-D FJ008-D 8-Pin TSSOP FT008-A FT008-E FT008-E

Drawing code Package Tape Reel 8-Pin DIP DP008-F 8-Pin SOP(JEDEC) FJ008-A FJ008-D FJ008-D 8-Pin TSSOP FT008-A FT008-E FT008-E Rev. 3.2_ CMOS SERIAL E 2 PROM Features The is a high speed, low current consumption, 8 K-bit serial E 2 PROM with a wide operating voltage range. It is organized as 512-word 16-bit respectively. Each

More information

Microcontrollers. Microcontroller

Microcontrollers. Microcontroller Microcontrollers Microcontroller A microprocessor on a single integrated circuit intended to operate as an embedded system. As well as a CPU, a microcontroller typically includes small amounts of RAM and

More information

Disassembly of MC9S12 op codes Decimal, Hexadecimal and Binary Numbers

Disassembly of MC9S12 op codes Decimal, Hexadecimal and Binary Numbers Disassembly of MC9S12 op codes Decimal, Hexadecimal and Binary Numbers o How to disassemble an MC9S12 instruction sequence o Binary numbers are a code and represent what the programmer intends for the

More information

Disassembly of MC9S12 op codes Decimal, Hexadecimal and Binary Numbers

Disassembly of MC9S12 op codes Decimal, Hexadecimal and Binary Numbers Disassembly of MC9S12 op codes Decimal, Hexadecimal and Binary Numbers o How to disassemble an MC9S12 instruction sequence o Binary numbers are a code and represent what the programmer intends for the

More information

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices,

Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, Understanding the basic building blocks of a microcontroller device in general. Knows the terminologies like embedded and external memory devices, CISC and RISC processors etc. Knows the architecture and

More information

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5.

2. List the five interrupt pins available in INTR, TRAP, RST 7.5, RST 6.5, RST 5.5. DHANALAKSHMI COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING EE6502- MICROPROCESSORS AND MICROCONTROLLERS UNIT I: 8085 PROCESSOR PART A 1. What is the need for ALE signal in

More information

DS 1682 Total Elapsed Time Recorder with Alarm

DS 1682 Total Elapsed Time Recorder with Alarm DS 1682 Total Elapsed Time Recorder with Alarm www.dalsemi.com FEATURES Records the total time that the Event Input has been active and the number of events that have occurred. Volatile Elapsed Time Counter

More information

16COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD

16COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD 6COM/80SEG DRIVER & CONTROLLER FOR DOT MATRIX LCD INTRODUCTION The is a dot matrix LCD driver & controller LSI which is fabricated by low power CMOS technology It is capable of displaying or 2 lines with

More information

HSP Histogrammer/Accumulating Buffer. Features. Applications. Ordering Information. Block Diagram FN Data Sheet July 2004

HSP Histogrammer/Accumulating Buffer. Features. Applications. Ordering Information. Block Diagram FN Data Sheet July 2004 HSP48410 Data Sheet July 2004 FN3185.3 Histogrammer/Accumulating Buffer The Intersil HSP48410 is an 84 lead Histogrammer IC intended for use in image and signal analysis. The on-board memory is configured

More information

CMOS SyncFIFO 64 x 8, 256 x 8, 512 x 8, 1,024 x 8, 2,048 x 8 and 4,096 x 8 LEAD FINISH (SnPb) ARE IN EOL PROCESS - LAST TIME BUY EXPIRES JUNE 15, 2018

CMOS SyncFIFO 64 x 8, 256 x 8, 512 x 8, 1,024 x 8, 2,048 x 8 and 4,096 x 8 LEAD FINISH (SnPb) ARE IN EOL PROCESS - LAST TIME BUY EXPIRES JUNE 15, 2018 CMOS SyncFIFO 64 x 8, 256 x 8, 512 x 8, 1,024 x 8, 2,048 x 8 and 4,096 x 8 LEAD FINISH (SnPb) ARE IN EOL PROCESS - LAST TIME BUY EXPIRES JUNE 15, 2018 IDT72420 IDT72200 IDT72210 IDT72220 IDT72230 IDT72240

More information

CAT28C17A 16K-Bit CMOS PARALLEL EEPROM

CAT28C17A 16K-Bit CMOS PARALLEL EEPROM 16K-Bit CMOS PARALLEL EEPROM HALOGENFREE LEAD TM FREE FEATURES Fast Read Access Times: 200 ns Low Power CMOS Dissipation: Active: 25 ma Max. Standby: 100 µa Max. Simple Write Operation: On-Chip Address

More information

Lecture 6 Assembly Programming: Branch & Iteration

Lecture 6 Assembly Programming: Branch & Iteration CPE 390: Microprocessor Systems Spring 2018 Lecture 6 Assembly Programming: Branch & Iteration Bryan Ackland Department of Electrical and Computer Engineering Stevens Institute of Technology Hoboken, NJ

More information

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers.

Lecture 5: Computer Organization Instruction Execution. Computer Organization Block Diagram. Components. General Purpose Registers. Lecture 5: Computer Organization Instruction Execution Computer Organization Addressing Buses Fetch-Execute Cycle Computer Organization CPU Control Unit U Input Output Memory Components Control Unit fetches

More information

ISSI IS25C02 IS25C04 2K-BIT/4K-BIT SPI SERIAL ELECTRICALLY ERASABLE PROM FEATURES DESCRIPTION. Advanced Information January 2005

ISSI IS25C02 IS25C04 2K-BIT/4K-BIT SPI SERIAL ELECTRICALLY ERASABLE PROM FEATURES DESCRIPTION. Advanced Information January 2005 2K-BIT/4K-BIT SPI SERIAL ELECTRICALLY ERASABLE PROM January 2005 FEATURES Serial Peripheral Interface (SPI) Compatible Supports SPI Modes 0 (0,0) and 3 (1,1) Low power CMOS Active current less than 3.0

More information

Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT)

Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT) Intel386 TM DX MICROPROCESSOR 32-BIT CHMOS MICROPROCESSOR WITH INTEGRATED MEMORY MANAGEMENT (PQFP SUPPLEMENT) Y Flexible 32-Bit Microprocessor 8 16 32-Bit Data Types 8 General Purpose 32-Bit Registers

More information

Intel386 SXSA EMBEDDED MICROPROCESSOR

Intel386 SXSA EMBEDDED MICROPROCESSOR Intel386 SXSA EMBEDDED MICROPROCESSOR Static Intel386 CPU Core Low Power Consumption Operating Power Supply 4.5V to 5.5V - 25 and 33 MHz 4.75V to 5.25V - 40 MHz Operating Frequency SA-40 = 40 MHz SA-33

More information

MOS 6502 Architecture

MOS 6502 Architecture MOS 6502 Architecture Lecture 3 Fall 17 1 History Origins lie in the Motorola 6800. Was very expensive for consumers. ($300, or about $1500 in 2017 $s) Chuck Peddle proposes lower-cost, lower-area 6800

More information

Internal architecture of 8086

Internal architecture of 8086 Case Study: Intel Processors Internal architecture of 8086 Slide 1 Case Study: Intel Processors FEATURES OF 8086 It is a 16-bit μp. 8086 has a 20 bit address bus can access up to 220 memory locations (1

More information

AT29C K (32K x 8) 5-volt Only CMOS Flash Memory. Features. Description. Pin Configurations

AT29C K (32K x 8) 5-volt Only CMOS Flash Memory. Features. Description. Pin Configurations Features Fast Read Access Time - 70 ns 5-Volt-Only Reprogramming Page Program Operation Single Cycle Reprogram (Erase and Program) Internal Address and Data Latches for 64-Bytes Internal Program Control

More information

Am27C512. Advanced Micro Devices. 512 Kilobit (65,536 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL

Am27C512. Advanced Micro Devices. 512 Kilobit (65,536 x 8-Bit) CMOS EPROM DISTINCTIVE CHARACTERISTICS GENERAL DESCRIPTION BLOCK DIAGRAM FINAL FINAL 512 Kilobit (65,536 x 8-Bit) CMOS EPROM Advanced Micro Devices DISTINCTIVE CHARACTERISTICS Fast access time 55 ns Low power consumption 20 µa typical CMOS standby current JEDEC-approved pinout Single

More information

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013)

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF ECE EC6504 MICROPROCESSOR AND MICROCONTROLLER (REGULATION 2013) UNIT I THE 8086 MICROPROCESSOR PART A (2 MARKS) 1. What are the functional

More information

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I

EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers UNIT-I EC2304-MICROPROCESSOR AND MICROCONROLLERS 2 marks questions and answers 1. Define microprocessors? UNIT-I A semiconductor device(integrated circuit) manufactured by using the LSI technique. It includes

More information

IS42VS83200J / IS42VS16160J / IS42VS32800J

IS42VS83200J / IS42VS16160J / IS42VS32800J 32Mx8, 16Mx16, 8Mx32 256Mb Synchronous DRAM FEATURES Fully synchronous; all signals referenced to a positive clock edge Internal bank for hiding row access and precharge Programmable CAS latency: 2, 3

More information

D0 - D8 INPUT REGISTER. RAM ARRAY 64 x 9, 256 x 9, 512 x 9, 1,024 x 9, 2,048 x 9, 4,096 x 9, 8,192 x 9 OUTPUT REGISTER RESET LOGIC RCLK REN1

D0 - D8 INPUT REGISTER. RAM ARRAY 64 x 9, 256 x 9, 512 x 9, 1,024 x 9, 2,048 x 9, 4,096 x 9, 8,192 x 9 OUTPUT REGISTER RESET LOGIC RCLK REN1 CMOS SyncFIFO 64 x 9, 256 x 9, 512 x 9, 1,24 x 9, 2,48 x 9, 4,96 x 9 and 8,192 x 9 LEAD FINISH (SnPb) ARE IN EOL PROCESS - LAST TIME BUY EXPIRES JUNE 15, 218 FEATURES: 64 x 9-bit organization (IDT72421)

More information

512K bitstwo-wire Serial EEPROM

512K bitstwo-wire Serial EEPROM General Description The provides 524,288 bits of serial electrically erasable and programmable read-only memory (EEPROM), organized as 65,536 words of 8 bits each. The device is optimized for use in many

More information

A24C02. AiT Semiconductor Inc. ORDERING INFORMATION

A24C02. AiT Semiconductor Inc.   ORDERING INFORMATION DESCRIPTION provides 2048 bits of serial electrically erasable and programmable read-only memory (EEPROM), organized as 256 words of 8 bits each. The device is optimized for use in many industrial and

More information