ImageCraft Assembly Language Guide, Document # 001-44475 Rev. *B
23
M8C Microprocessor
2.5.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 Reference chapter in the
PSoC Technical Reference Manual
. The instruction using the
Destination Indirect Post Increment addressing mode is two bytes in length.
Destination Indirect Post Increment Example:
Table 2-16. 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 memory location in RAM. The
Accumulator value is moved into the memory loca-
tion pointed to by the indirect address. The indirect
address, at address 8 in memory, is then incre-
mented.
Summary of Contents for PSoC DESIGNER ImageCraft M8C
Page 6: ...6 ImageCraft Assembly Language Guide Document 001 44475 Rev B Contents Feedback ...
Page 10: ...10 ImageCraft Assembly Language Guide Document 001 44475 Rev B Introduction Feedback ...
Page 24: ...24 ImageCraft Assembly Language Guide Document 001 44475 Rev B M8C Microprocessor Feedback ...
Page 95: ...ImageCraft Assembly Language Guide Document 001 44475 Rev B 95 Assembler Directives Feedback ...
Page 96: ...96 ImageCraft Assembly Language Guide Document 001 44475 Rev B Assembler Directives Feedback ...
Page 104: ...104 ImageCraft Assembly Language Guide Document 001 44475 Rev B Feedback ...
Page 108: ...108 ImageCraft Assembly Language Guide Document 001 44475 Rev B Index Feedback ...