EasyManuals Logo
Home>Texas Instruments>Calculator>TI-89

Texas Instruments TI-89 Software Guide

Texas Instruments TI-89
334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #251 background imageLoading...
Page #251 background image
Section 3: Assembler
239
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
IFcc — Assemble If Condition True
Syntax
IF
cc
value
Description
cc
Specifies a conditional relation between the specified value and
zero. The following are the valid condition codes:
EQ
Expression is equal to zero
NE
Expression is not equal to zero
GE
Expression is greater than or equal to zero
GT
Expression is greater than zero
LE
Expression is less than or equal to zero
LT
Expression is less than zero
value
Specifies the control value for the assembly block. It is an absolute
expression that cannot contain any forward, external, or undefined
references.
Each
IFcc
directive introduces a conditional assembly block. If the value
value
observes the specified conditional relation, then the statements between the
given
IFcc
directive and the first matching
ELSEC
or
ENDC
directive are
assembled and the remainder of the block is skipped. Otherwise, the statements
associated with the
IFcc
directive are skipped and control passes to the
aforementioned matching directive.
Conditional assembly directives can be nested to 40 levels.
Example
IFGT count
MOVEQ #5,D2
ENDC

Table of Contents

Other manuals for Texas Instruments TI-89

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TI-89 and is the answer not in the manual?

Texas Instruments TI-89 Specifications

General IconGeneral
Display size (HxV)100 x 160 mm
Memory type639K FLASH ROM, 188K bytes RAM
Compatible operating systemsOperating System 2.09
Battery typeAAA

Related product manuals