EasyManuals Logo

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 #234 background imageLoading...
Page #234 background image
222
Section 3: Assembler
TI
-
89 / TI
-
92 Plus Sierra C Assembler Reference Manual
Not for Distribution
Beta Version February 2, 2001
DC — Generate Integer / Floating-Point Data
Syntax
DC[
.size
]
operand
[,
operand
] . . .
Description
size
Specifies the size and type of the data. The legal size qualifiers
are shown below; the default is
W
.
B
Byte Integer (1 byte)
W
Word Integer (2 bytes)
L
Long-word Integer (4 bytes)
S
TI BCD floating point (10 bytes)
D
TI BCD floating point (10 bytes)
X
Extended-precision Real (not supported)
P
Packed decimal Real (not supported)
operand
Specifies either an integer or floating-point value. Forward
references are not allowed when specifying floating-point data.
The
DC
directive can be used to generate both integer and floating-point data.
The values of the specified operands are placed in succession beginning at the
current location in the current section. Word alignment of the data is forced
except when
size
is
B
. For additional information, see section
3.3.6.2 Character
Constants
.
Examples
DC.B 'abcd' ; 6162 6364
DC.L $FF<<24 ; FF00 0000
DC.D 2.71828182846 ; 4000 2718 2818 2846 0000
Each of the above examples is shown with the sequence of words (in
hexadecimal) that it generates.

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