![Cypress PSoC CY8C23533 Technical Reference Manual Download Page 43](http://html1.mh-extra.com/html/cypress/psoc-cy8c23533/psoc-cy8c23533_technical-reference-manual_2706366043.webp)
Document # 001-20559 Rev. *D
43
CPU Core (M8C)
2.6.9
Source Indirect Post Increment
Only one instruction uses this addressing mode. The source address stored in operand 1 is actually the address of a pointer.
During instruction execution, the pointer’s current value is read to determine the address in RAM where the source value is
found. The pointer’s value is incremented after the source value is read. For PSoC microcontrollers with more than 256 bytes
of RAM, the Data Page Read (MVR_PP) register is used to determine which RAM page to use with the source address.
Therefore, values from pages other than the current page can be retrieved without changing the Current Page Pointer
(CUR_PP). The pointer is always read from the current RAM page. For information on the MVR_PP and CUR_PP registers,
see the
Register Details chapter on page 47
. The instruction using the Source Indirect Post Increment addressing mode is
two bytes in length.
Source Indirect Post Increment Example:
2.6.10
Destination Indirect Post Increment
Only one instruction uses this addressing mode. The destination address stored in operand 1 is actually the address of a
pointer. During instruction execution, the pointer’s current value is read to determine the destination address in RAM where
the Accumulator’s value is stored. The pointer’s value is incremented after the value is written to the destination address. For
PSoC microcontrollers with more than 256 bytes of RAM, the Data Page Write (MVW_PP) register is used to determine which
RAM page to use with the destination address. Therefore, values can be stored in pages other than the current page without
changing the Current Page Pointer (CUR_PP). The pointer is always read from the current RAM page. For information on the
MVR_PP and CUR_PP registers, see the
Register Details chapter on page 47
. The instruction using the Destination Indirect
Post Increment addressing mode is two bytes in length.
Destination Indirect Post Increment Example:
Table 2-14. Source Indirect Post Increment
Opcode
Operand 1
Instruction
Source Address Pointer
Source Code
Machine Code
Comments
MVI
A, [8]
3E 08
The value in memory at address 8 (the indirect address) points to a mem-
ory location in RAM. The value at the memory location, pointed to by the
indirect address, is moved to the Accumulator. The indirect address, at
address 8 in memory, is then incremented.
Table 2-15. Destination Indirect Post Increment
Opcode
Operand 1
Instruction
Destination Address Pointer
Source Code
Machine Code
Comments
MVI
[8], A
3F 08
The value in memory at address 8 (the indirect address) points to a mem-
ory location in RAM. The Accumulator value is moved to the memory
location pointed to by the indirect address. The indirect address, at
address 8 in memory, is then incremented.
Summary of Contents for PSoC CY8C23533
Page 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Page 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Page 24: ...24 Document 001 20559 Rev D Section A Overview ...
Page 30: ...30 Document 001 20559 Rev D Pin Information ...
Page 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Page 60: ...60 Document 001 20559 Rev D RAM Paging ...
Page 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Page 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Page 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Page 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Page 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Page 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Page 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Page 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Page 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Page 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Page 296: ...232 Document 001 20559 Rev D Analog Interface ...
Page 304: ...240 Document 001 20559 Rev D Analog Array ...
Page 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Page 312: ...248 Document 001 20559 Rev D Analog Reference ...
Page 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Page 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Page 374: ...310 Document 001 20559 Rev D I2C ...
Page 400: ...336 Document 001 20559 Rev D Section G Glossary ...