Hardware, Machine instructions – Renesas 4514 User Manual

Page 86

Advertising
background image

Skip condition

Datailed description

Carry flag CY

4513/4514 Group User’s Manual

HARDWARE

1-73

MACHINE INSTRUCTIONS

Continuous

description

Overflow = 0

(CY) = 0

(Mj(DP)) = 0

j = 0 to 3

(A) = (M(DP))

(A) = n

0/1

1

0

0/1

Loads the value n in the immediate field to register A.
When the LA instructions are continuously coded and executed, only the first LA instruction is executed and
other LA instructions coded continuously are skipped.

Transfers bits 7 to 4 to register B and bits 3 to 0 to register A. These bits 7 to 0 are the ROM pattern in ad-
dress (DR

2

DR

1

DR

0

A

3

A

2

A

1

A

0

)

2

specified by registers A and D in page p.

When this instruction is executed, 1 stage of stack register is used.

Adds the contents of M(DP) to register A. Stores the result in register A. The contents of carry flag CY re-
mains unchanged.

Adds the contents of M(DP) and carry flag CY to register A. Stores the result in register A and carry flag CY.

Adds the value n in the immediate field to register A.
The contents of carry flag CY remains unchanged.
Skips the next instruction when there is no overflow as the result of operation.

Takes the AND operation between the contents of register A and the contents of M(DP), and stores the re-
sult in register A.

Takes the OR operation between the contents of register A and the contents of M(DP), and stores the result
in register A.

Sets (1) to carry flag CY.

Clears (0) to carry flag CY.

Skips the next instruction when the contents of carry flag CY is “0.”

Stores the one’s complement for register A’s contents in register A.

Rotates 1 bit of the contents of register A including the contents of carry flag CY to the right.

Sets (1) the contents of bit j (bit specified by the value j in the immediate field) of M(DP).

Clears (0) the contents of bit j (bit specified by the value j in the immediate field) of M(DP).

Skips the next instruction when the contents of bit j (bit specified by the value j in the immediate field) of
M(DP) is “0.”

Skips the next instruction when the contents of register A is equal to the contents of M(DP).

Skips the next instruction when the contents of register A is equal to the value n in the immediate field.

Advertising
This manual is related to the following products: