Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

ld.sb Rd, Rp[disp]

Rd = SE( *(Rp + (SE(disp16))) );
d, p ∈ {0, 1, …, 15}
disp ∈ {-32768, -32767, ..., 32767}

Rev1+

111

Rp

10010

Rd

disp16

3

4

5

4

16

2

ld.sb Rd, Rb[Ri<<sa]

Rd = SE( *(Rb + (Ri << sa2)) );
d, b, i ∈ {0, 1, …, 15}
sa ∈ {0, 1, 2, 3}

Rev1+

111

Rb

00000

Ri

0000011000

sa2

Rd

3

4

5

4

10

2

4

Description

Reads the byte memory location specified and sign-extends it.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.