beautypg.com

4 built-in macro instructions – NEC PD17062 User Manual

Page 281

background image

281

µ

PD17062

22.4 BUILT-IN MACRO INSTRUCTIONS

The following macro instructions are built in the 17K series assembler (AS17K). For details, refer to the

assembler user’s guide.

Legend

flag n

: FLG-type symbol

< >

: An operand enclosed in < > is optional.

Mnemonic

Operand

Operation

n

Built-in

SKTn

flag 1, … flag n

if (flag 1) to (flag n) = all “1”, then skip

1

n

4

SKFn

flag 1, … flag n

if (flag 1) to (flag n) = all “0”, then skip

1

n

4

SETn

flag 1, … flag n

(flag 1) to (flag n)

1

1

n

4

CLRn

flag 1, … flag n

(flag 1) to (flag n)

0

1

n

4

NOTn

flag 1, … flag n

if (flag n) = “0”, then (flag n )

1

1

n

4

if (flag n) = “1”, then (flag n)

0

INITFLG

flag 1,

if description = NOT flag n, then (flag n )

0

1

n

4

… <flag n>

if description = flag n, then (flag n)

1

BANKn

(BANK)

n

0

n

2

macro