Rainbow Electronics HT49R70A-1 User Manual

Page 37

Advertising
background image

SET [m]

Set data memory

Description

Each bit of the specified data memory is set to 1.

Operation

[m]

¬ FFH

Affected flag(s)

TC2

TC1

TO

PD

OV

Z

AC

C

¾

¾

¾

¾

¾

¾

¾

¾

SET [m]. i

Set bit of data memory

Description

Bit i of the specified data memory is set to 1.

Operation

[m].i

¬ 1

Affected flag(s)

TC2

TC1

TO

PD

OV

Z

AC

C

¾

¾

¾

¾

¾

¾

¾

¾

SIZ [m]

Skip if increment data memory is 0

Description

The contents of the specified data memory are incremented by 1. If the result is 0, the fol-
lowing instruction, fetched during the current instruction execution, is discarded and a
dummy cycle is replaced to get the proper instruction (2 cycles). Otherwise proceed with
the next instruction (1 cycle).

Operation

Skip if ([m]+1)=0, [m]

¬ ([m]+1)

Affected flag(s)

TC2

TC1

TO

PD

OV

Z

AC

C

¾

¾

¾

¾

¾

¾

¾

¾

SIZA [m]

Increment data memory and place result in ACC, skip if 0

Description

The contents of the specified data memory are incremented by 1. If the result is 0, the next
instruction is skipped and the result is stored in the accumulator. The data memory re-
mains unchanged. If the result is 0, the following instruction, fetched during the current in-
struction execution, is discarded and a dummy cycle is replaced to get the proper
instruction (2 cycles). Otherwise proceed with the next instruction (1 cycle).

Operation

Skip if ([m]+1)=0, ACC

¬ ([m]+1)

Affected flag(s)

TC2

TC1

TO

PD

OV

Z

AC

C

¾

¾

¾

¾

¾

¾

¾

¾

SNZ [m].i

Skip if bit i of the data memory is not 0

Description

If bit i of the specified data memory is not 0, the next instruction is skipped. If bit i of the data
memory is not 0, the following instruction, fetched during the current instruction execution,
is discarded and a dummy cycle is replaced to get the proper instruction (2 cycles). Other-
wise proceed with the next instruction (1 cycle).

Operation

Skip if [m].i

¹0

Affected flag(s)

TC2

TC1

TO

PD

OV

Z

AC

C

¾

¾

¾

¾

¾

¾

¾

¾

HT49R70A-1

Rev. 1.00

37

December 4, 2001

Advertising