datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

CYRF69213(2007) View Datasheet(PDF) - Cypress Semiconductor

Part Name
Description
View to exact match
CYRF69213
(Rev.:2007)
Cypress
Cypress Semiconductor Cypress
CYRF69213 Datasheet PDF : 85 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
CYRF69213
Table 6. CPU Stack Pointer Register (CPU_SP)
Bits 7:0
Stack Pointer [7:0]
8-bit data value holds a pointer to the current top-of-stack
CPU Program Counter High Register
Table 7. CPU Program Counter High Register (CPU_PCH)
Bit #
7
6
5
4
3
2
1
0
Field
Program Counter [15:8]
Read/Write
Default
0
0
0
0
0
0
0
0
Bits 7:0
Program Counter [15:8]
8-bit data value holds the higher byte of the program counter
CPU Program Counter Low Register
Table 8. CPU Program Counter Low Register (CPU_PCL)
Bit #
7
6
5
4
3
2
1
0
Field
Program Counter [7:0]
Read/Write
Default
0
0
0
0
0
0
0
0
Bits 7:0
Program Counter [7:0]
8-bit data value holds the lower byte of the program counter
Addressing Modes
Examples of the different addressing modes are discussed in
this section and example code is given.
Source Immediate
The result of an instruction using this addressing mode is
placed in the A register, the F register, the SP register, or the
X register, which is specified as part of the instruction opcode.
Operand 1 is an immediate value that serves as a source for
the instruction. Arithmetic instructions require two sources.
Instructions using this addressing mode are two bytes in
length.
Table 9. Source Immediate
Opcode
Instruction
Operand 1
Immediate Value
Examples
ADD A, 7 ;In this case, the immediate value
;of 7 is added with the Accumulator,
;and the result is placed in the
;Accumulator.
MOV X, 8 ;In this case, the immediate value
;of 8 is moved to the X register.
AND F, 9 ;In this case, the immediate value
;of 9 is logically ANDed with the F
;register and the result is placed
;in the F register.
Source Direct
The result of an instruction using this addressing mode is
placed in either the A register or the X register, which is
specified as part of the instruction opcode. Operand 1 is an
address that points to a location in either the RAM memory
space or the register space that is the source for the
instruction. Arithmetic instructions require two sources; the
second source is the A register or X register specified in the
opcode. Instructions using this addressing mode are two bytes
in length.
Table 10.Source Direct
Opcode
Instruction
Operand 1
Source Address
Examples
ADD A, [7]
;In this case, the value in
;the RAM memory location at
;address 7 is added with the
;Accumulator, and the result
;is placed in the Accumulator.
MOV X, REG[8] ;In this case, the value in
;the register space at address
;8 is moved to the X register.
Source Indexed
The result of an instruction using this addressing mode is
placed in either the A register or the X register, which is
Document #: 001-07552 Rev. *B
Page 11 of 85
[+] Feedback

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]