Data Pointer Select Register - usage clarification
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
MCU & Boards
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: Data Pointer Select Register - usage clarification
by irina WIZnet ·
DPS register is the DPTR0 / DPTR1 selector.
When the INC DPTR instruction is executed, the active DPTR isincremented or decremented according to the ID1, ID0 (DPS.7-6), and SEL (DPS.0) bits as shown.
ID1 | ID0 | SEL | Result of INC DPTR
X | 0 | 0 | Increment DPRT0
X | 1 | 0 | Decrement DPRT0
0 | X | 1 | Increment DPRT1
1 | X | 1 | Decrement DPRT1
Regards,
Eric.