Srp/Srp0/Srp1; Set Register Pointer - Samsung S3C8275X User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

INSTRUCTION SET

SRP/SRP0/SRP1

SRP
src
SRP0
src
SRP1
src
Operation:
If src (1) = 1 and src (0) = 0 then:
If src (1) = 0 and src (0) = 1 then:
If src (1) = 0 and src (0) = 0 then:
The source data bits one and zero (LSB) determine whether to write one or both of the register
pointers, RP0 and RP1. Bits 3–7 of the selected register pointer are written unless both register
pointers are selected. RP0.3 is then cleared to logic zero and RP1.3 is set to logic one.
Flags:
No flags are affected.
Format:
opc
Examples:
The statement
SRP #40H
sets register pointer 0 (RP0) at location 0D6H to 40H and register pointer 1 (RP1) at location
0D7H to 48H.
The statement "SRP0 #50H" sets RP0 to 50H, and the statement "SRP1 #68H" sets RP1 to
68H.
6-80

— Set Register Pointer

src
S3C8275X/F8275X/C8278X/F8278X/C8274X/F8274X
RP0 (3–7)
RP1 (3–7)
RP0 (4–7)
RP0 (3)
RP1 (4–7)
RP1 (3)
Bytes
Cycles
Opcode
2
4
src (3–7)
src (3–7)
src (4–7),
0
src (4–7),
1
Addr Mode
(Hex)
src
31
IM

Advertisement

Table of Contents
loading

This manual is also suitable for:

F8275xF8274xC8278xC8274xF8278x

Table of Contents