11.07.2015 Views

w65c816s Microprocessor Data Sheet.pdf

w65c816s Microprocessor Data Sheet.pdf

w65c816s Microprocessor Data Sheet.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Western Design Center, Inc.4 ADDRESSING MODESW65C816S <strong>Data</strong> <strong>Sheet</strong>The W65C816S is capable of directly addressing 16 MBytes of memory. This address space has specialsignificance within certain addressing modes, as follows:4.1 Reset and Interrupt VectorsThe Reset and Interrupt Vectors use the majority of the fixed addresses between 00FFE0 and 00FFFF.4.2 StackThe Stack may be use memory from 000000 to 00FFFF. The effective address of Stack and Stack Relativeaddressing modes will be always be within this range.4.3 DirectThe Direct addressing modes are usually used to store memory registers and pointers. The effective addressgenerated by Direct, Direct,X and Direct,Y addressing modes is always in Bank 0 (000000-00FFFF).4.4 Program Address SpaceThe Program Bank register is not affected by the Relative, Relative Long, Absolute, Absolute Indirect, andAbsolute Indexed Indirect addressing modes or by incrementing the Program Counter from FFFF. The onlyinstructions that affect the Program Bank register are: RTI, RTL, JML, JSL, and JMP Absolute Long. Programcode may exceed 64K bytes although code segments may not span bank boundaries.4.5 <strong>Data</strong> Address SpaceThe <strong>Data</strong> Address space is contiguous throughout the 16 MByte address space. Words, arrays, records, or anydata structures may span 64 KByte bank boundaries with no compromise in code efficiency. The followingaddressing modes generate 24-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),yThe following addressing mode descriptions provide additional detail as to how effective addresses arecalculated. Twenty-four addressing modes are available for the W65C816S.The Western Design Center W65C816S 20

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!