| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
COP688CL Datasheet(PDF) 27 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
COP688CL Datasheet(HTML) 27 Page - National Semiconductor (TI) |
|
27 / 40 page ![]() Memory Map All RAM ports and registers (except A and PC) are mapped into data memory address space Address Contents 00 to 6F On-Chip RAM bytes 70 to BF Unused RAM Address Space C0 Timer T2 Lower Byte C1 Timer T2 Upper Byte C2 Timer T2 Autoload Register T2RA Lower Byte C3 Timer T2 Autoload Register T2RA Upper Byte C4 Timer T2 Autoload Register T2RB Lower Byte C5 Timer T2 Autoload Register T2RB Upper Byte C6 Timer T2 Control Register C7 WATCHDOG Service Register (RegWDSVR) C8 MIWU Edge Select Register (RegWKEDG) C9 MIWU Enable Register (RegWKEN) CA MIWU Pending Register (RegWKPND) CB Reserved CC Reserved CD to CF Reserved D0 Port L Data Register D1 Port L Configuration Register D2 Port L Input Pins (Read Only) D3 Reserved for Port L D4 Port G Data Register D5 Port G Configuration Register D6 Port G Input Pins (Read Only) D7 Port I Input Pins (Read Only) D8 Port C Data Register D9 Port C Configuration Register DA Port C Input Pins (Read Only) DB Reserved for Port C DC Port D Data Register DD to DF Reserved for Port D E0 to E5 Reserved E6 Timer T1 Autoload Register T1RB Lower Byte E7 Timer T1 Autoload Register T1RB Upper Byte E8 ICNTRL Register E9 MICROWIRE Shift Register EA Timer T1 Lower Byte EB Timer T1 Upper Byte EC Timer T1 Autoload Register T1RA Lower Byte ED Timer T1 Autoload Register T1RA Upper Byte EE CNTRL Control Register EF PSW Register F0 to FB On-Chip RAM Mapped as Registers FC X Register FD SP Register FE B Register FF Reserved Reading memory locations 70-7F Hex will return all ones Reading other unused memory locations will return undefined data Addressing Modes The device has ten addressing modes six for operand ad- dressing and four for transfer of control OPERAND ADDRESSING MODES Register Indirect This is the ‘‘normal’’ addressing mode The operand is the data memory addressed by the B pointer or X pointer Register Indirect (with auto post increment or decrement of pointer) This addressing mode is used with the LD and X instruc- tions The operand is the data memory addressed by the B pointer or X pointer This is a register indirect mode that automatically post increments or decrements the B or X reg- ister after executing the instruction Direct The instruction contains an 8-bit address field that directly points to the data memory for the operand Immediate The instruction contains an 8-bit immediate field as the op- erand Short Immediate This addressing mode is used with the Load B Immediate instruction The instruction contains a 4-bit immediate field as the operand Indirect This addressing mode is used with the LAID instruction The contents of the accumulator are used as a partial address (lower 8 bits of PC) for accessing a data operand from the program memory TRANSFER OF CONTROL ADDRESSING MODES Relative This mode is used for the JP instruction with the instruction field being added to the program counter to get the new program location JP has a range from b31 to a32 to allow a 1-byte relative jump (JP a 1 is implemented by a NOP instruction) There are no ‘‘pages’’ when using JP since all 15 bits of PC are used Absolute This mode is used with the JMP and JSR instructions with the instruction field of 12 bits replacing the lower 12 bits of the program counter (PC) This allows jumping to any loca- tion in the current 4k program memory segment Absolute Long This mode is used with the JMPL and JSRL instructions with the instruction field of 15 bits replacing the entire 15 bits of the program counter (PC) This allows jumping to any location in the current 4k program memory space Indirect This mode is used with the JID instruction The contents of the accumulator are used as a partial address (lower 8 bits of PC) for accessing a location in the program memory The contents of this program memory location serve as a partial address (lower 8 bits of PC) for the jump to the next instruc- tion Note The VIS is a special case of the Indirect Transfer of Control address- ing mode where the double byte vector associated with the interrupt is transferred from adjacent addresses in the program memory into the program counter (PC) in order to jump to the associated interrupt service routine http www nationalcom 27 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |