EasyManuals Logo

Tandy 1000 MS-DOS User Manual

Default Icon
392 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 #289 background imageLoading...
Page #289 background image
r--
!
I
r-'
1 '
Word
Ptr/Byte
Ptr
NEG
DEC
Chapter 13 / The DEBUG Utility
BYTE PTR
[128]
WO
[S
1 ]
DEBUG cannot tell whether some operands refer to a word mem-
r-'
ory location or to a byte memory location.
In
such a case,
the
I .
, '
data
type
must
be explicitly
stated
with
the prefix
WORD
PTR or
BYTE PTR. These
can
be abbreviated wo and BY.
r-,
i ' Memory Location/Immediate Operand
......,
I '
, '
MoV
MoV
AX,21
AX,[21]
;Load
AX
with
21H
;Load
AX
wlth
the
contents
of
;memory
locatlon
21H
i
~
L '
r-'
I
I.
'
You
use
square
brackets to tell DEBUG
that
an
operand refers to
a
memory
location
rather
than
to
an
immediate
operand.
DEBUG uses
the
convention
that
operands enclosed
in
square
brackets refer to memory.
DB/DW Opcodes
Two
popular pseudo-instructions
are
available
with
the
Assemble
command. The DB opcode assembles byte values directly into
memory. The
DW
opcode assembles word values directly into
memory.
r-'
I '
I
n
l !
DB
DB
DB
DW
1
,2,3,4,"THIS
AN
EXAMPLE"
'THIS
IS
A
QUOTE:'"
"THIS
IS
A
QUoTE:'"
1fiHl0,2000,3'HHl,
"BACH"
r;
, i
rJ
I I
i '
t \
-,
I
[ I
r-'
i :
Register Indirect Commands
ADD
BX,34[BP+2].
[SI-1]
POP
[BP+DI]
PUSH
[SI]
All forms of
register
indirect commands
are
supported.
269

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tandy 1000 MS-DOS and is the answer not in the manual?

Tandy 1000 MS-DOS Specifications

General IconGeneral
BrandTandy
Model1000 MS-DOS
CategoryDesktop
LanguageEnglish

Related product manuals