beautypg.com

79 stb (store byte data in register to memory), Stb (store byte data in register to memory) – FUJITSU FR family 32-bit microcontroller instruction manuel CM71-00101-5E User Manual

Page 199

background image

175

CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS

7.79

STB (Store Byte Data in Register to Memory)

Stores the byte data in "Ri" to memory address "Rj".

STB (Store Byte Data in Register to Memory)

Assembler format:

STB Ri, @Rj

Operation:

Ri

(Rj)

Flag change:

N, Z, V, and C: Unchanged

Execution cycles:

a cycle(s)

Instruction format:

Example:

STB R3, @R2

N

Z

V

C

MSB

LSB

0

0

0

1

0

1

1

0

Rj

Ri

R2

12345678

1 2 3 4

5 6 7 8

0 0 0 0

0 0 2 1

R2

R3

R3

0 0 0 0

0 0 2 1

1 2 3 4

5 6 7 8

12345678

2 1

x x

Memory

Memory

Before execution

After execution

Instruction bit pattern : 0001 0110 0010 0011