beautypg.com

NEC PD17062 User Manual

Page 262

background image

262

µ

PD17062

20.5.3 Defining Display Patterns with an Assembler

With the 17K series assembler, the DCP pseudo instruction can be used to define display patterns easily.

How to use the DCP pseudo instruction is described below.

(1) Instruction format

Symbol field

Mnemonic field

Operand field

Comment field

[Label:]

DCP

expression, ‘display pattern’

[; comment]

(2) Explanation

(a) The expression takes value 0 or 1. The display pattern written in the second operand specifies whether

to use rimming in the display pattern.

0 : No rimming

1 : Rimming

If the expression does not evaluate to 0 or 1, an error is reported.

(b) The display pattern definition consists of 10 characters and can include three different characters, O,

#, and “ “ (blank).

If the display pattern is specified with any other character type or more then 10 characters, an error

is reported. Each of these three character types corresponds to one dot and has the following

meaning:

O : Bright dot

#

: Rimming

“ “ : Blank

When the expression in the first operand evaluates to 0, the display pattern cannot include #.