beautypg.com

Maxq610 user’s guide, Table 14-2. source specifier codes – Maxim Integrated MAXQ610 User Manual

Page 177

background image

14-10

MAXQ610 User’s Guide

Table 14-2. Source Specifier Codes

src

src BIT

ENCODING

f ssssssss

WIDTH

16 OR 8

DESCRIPTION

#k

0 kkkk kkkk

8

kkkkkkkk = Immediate (Literal) Data

MN[n]

1 nnnn 0NNN

8/16

nnnn Selects One of 1st 16 Registers in Module NNN, shere NNN = 0 to 5;
Access to 2nd 16 Using PFX[n]

AP

1 0000 1000

8

Accumulator Pointer

APC

1 0001 1000

8

Accumulator Pointer Control

PSF

1 0100 1000

8

Processor Status Flag Register

IC

1 0101 1000

8

Interrupt and Control Register

SC

1 1000 1000

8

System Control Register

IPR0

1 1001 1000

8

Interrupt Priority Register Zero

CKCN

1 1110 1000

8

Clock Control Register

WDCN

1 1111 1000

8

Watchdog Control Register

A[n]

1 nnnn 1001

8/16

nnnn Selects One of 16 Accumulators

Acc

1 0000 1010

8/16

Active Accumulator = A[AP]; Update AP per APC

A[AP]

1 0001 1010

8/16

Active Accumulator = A[AP]; No Change to AP

IP

1 0000 1100

16

Instruction Pointer

@SP--

1 0000 1101

16

16-Bit Word @SP, Pop (Postincrement SP)

SP

1 0001 1101

16

Stack Pointer

IV

1 0010 1101

16

Interrupt Vector

LC[n]

1 011n 1101

16

n Selects One of Two Loop Counter Registers

@SPI--

1 1000 1101

16

16-Bit Word @SP, Pop (Postincrement SP), IPS = 11b

@BP[OFFS]

1 0000 1110

8/16

Data Memory @BP[OFFS]

@BP[OFFS++]

1 0001 1110

8/16

Data Memory @BP[OFFS]; Postincrement OFFS

@BP[OFFS--]

1 0010 1110

8/16

Data Memory @BP[OFFS]; Postdecrement OFFS

OFFS

1 0011 1110

8

Frame Pointer Offset from Base Pointer (BP)

DPC

1 0100 1110

16

Data Pointer Control Register

GR

1 0101 1110

16

General Register

GRL

1 0110 1110

8

Low Byte of GR Register

BP

1 0111 1110

16

Frame Pointer Base Pointer (BP)

GRS

1 1000 1110

16

Byte-Swapped GR Register

GRH

1 1001 1110

8

High Byte of GR Register

GRXL

1 1010 1110

16

Sign Extended Low Byte of GR Register

FP

1 1011 1110

16

Frame Pointer (BP[OFFS])

@DP[n]

1 0n00 1111

8/16

Data Memory @DP[n]

@DP[n]++

1 0n01 1111

8/16

Data Memory @DP[n], Postincrement DP[n]

@DP[n]--

1 0n10 1111

8/16

Data Memory @DP[n], Postdecrement DP[n]

DP[n]

1 0n11 1111

16

n Selects One of Two Data Pointers

@CP

1 1000 1111

8/16

Code Memory @CP

@CP++

1 1001 1111

8/16

Code Memory @CP, Postincrement DP[n]

@CP--

1 1010 1111

8/16

Code Memory @CP, Postdecrement DP[n]

CP

1 1011 1111

16

Code Pointer