273 programming appendix a – Omron HOME SECURITY SYSTEM - MOTION SENSOR FQM1-MMA21 User Manual

Page 296

Advertising
background image

273

Programming

Appendix A

Note With indirect address specifications in binary mode, the DM Area addresses are treated as consecutive

memory addresses.

Specifying
indirect DM
addresses in
Binary Mode

1) D00000 to D32767 are specified if

@D(

@@@@@) contains 0000 hex to 7FFF

hex (00000 to 32767).

MOV #0001
@D00300

MOV #0001
*D00200

Operand

Description

Notation

Application

examples

@D

@@@@@

Contents

D

The offset from the beginning of the area is
specified. The contents of the address will be
treated as binary data (00000 to 32767) to
specify the word address in Data Memory (DM).
Add the @ symbol at the front to specify an
indirect address in binary mode.

00000 to 32767
(0000 Hex to
7FFF Hex)

@D00300

0 1 0 0

Contents

Specifies D00256.

Add the @ symbol.

Binary: 256

*D

@@@@@

D

The offset from the beginning of the area is
specified. The contents of the address will be
treated as BCD data (0000 to 9999) to specify
the word address in Data Memory (DM). Add
an asterisk (*) at the front to specify an indirect
address in BCD Mode.

00000 to 9999
(BCD)

Contents

*D00200

0 1 0 0

Specifies D0100

Contents

Add an asterisk (*).

Advertising