BOOLEAN OPERATION CODES


In the syntax diagrams throughout this chapter, several operation codes contain xx as part of the operation name. This indicates that a Boolean operator can be specified in place of the xx. Table 5.9 lists each of the Boolean operators. Listed in Table 5.10 are the operation codes that accept these Boolean operators.

Table 5.9: Boolean Operations

Boolean

Description

EQ

Factor 1 is equal to factor 2.

GE

Factor 1 is greater than or equal to factor 2.

GT

Factor 1 is greater than factor 2.

LE

Factor 1 is less than or equal to factor 2.

LT

Factor 1 is less than factor 2.

NE

Factor 1 is not equal to factor 2.

blank

Unconditional comparison (for CASxx and CABxx only).

Table 5.10: Fixed-Format Conditional Operation Codes

Factor 1

Op Code

Factor 2

Compare value 1

ANDxx

Compare value 2

Compare value 1

CABxx

Compare value 2

Compare value 1

CASxx

Compare value 2

Compare value 1

DOUxx

Compare value 2

Compare value 1

DOWxx

Compare value 2

Compare value 1

DOWxx

Compare value 2

Compare value 1

ORxx

Compare value 2

Compare value 1

WHENxx

Compare value 2




The Modern RPG IV Language
The Modern RPG IV Language
ISBN: 1583470646
EAN: 2147483647
Year: 2003
Pages: 156
Authors: Robert Cozzi

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net