Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

3.1.  Notation

3.1.1. Assembler Notation

In the instruction descriptions below, the following notation is used.

Rd

Destination register number "d" in the general registers.

Ra

First source register number "a" in the general registers.

Rb

Second source register number "b" in the general registers.

PC

The program counter

I

Unsigned immediate value

S

Signed immediate value

dmem[i]

Byte offset "i" in the data memory.

imem[i]

Word offset "i" in the code memory.

carry

The carry flag.

SignExt(x)

The value "x" (which may be one of the above) sign extended as necessary.

Individual bits in the encodings are used as follows.

0

A zero bit.

1

A one bit.

dn

Bit "n" of the destination register field.

an

Bit "n" of the the first source register field.

bn

Bit "n" of the the second source register field.

in

Bit "n" of the the unsigned constant field.

sn

Bit "n" of the the signed constant field.

Embecosm divider strip