BranchAddress Property  (DioCommand)

Applies To

GC5050, GX5050, GX5055, GX5150

Purpose

Set or return the command branch address number.

Syntax

Object.BranchAddress [ = dwAddress]

or

[dwAddress = ] Object.BranchAddress

 

The BranchAddress property syntax has the following parts:

Name

Type

Description

Object

DioCommand

DioCommand object.

dwAddress

DWORD

Command branch address number.

Comments

GX5050/GC5050/GX5055:

The branch address range is 0 - 131072 (128K) when the OpCode is one of the following:

dioOpCodeJumpNear, dioOpCodeLoop, dioOpCodeCall

The branch address range is 0 - 1048576 (1M) when the OpCode is

GX5150:

Use RegisterA and RegisterB in DioFile object to set the branch address.

 

See Also

Register, Condition, Set, OpCode