Arm VERSION 1.2 Bedienungsanleitung Seite 224

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 360
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 223
Thumb Instruction Reference
5-30 Copyright © 2000, 2001 ARM Limited. All rights reserved. ARM DUI 0068B
5.3.5 TST
Test bits.
Syntax
TST Rn, Rm
where:
Rn
is the register containing the first operand.
Rm
is the register containing the second operand.
Usage
This instruction performs a bitwise logical AND operation on the values in
Rm
and
Rn
. It
updates the condition flags, but does not place a result in a register.
Restrictions
Rn
and
Rm
must be in the range
r0
-
r7
.
Condition flags
This instruction updates the N and Z flags according to the result. The C and V flags are
unaffected.
Architectures
This instruction is available in all T variants of the ARM architecture.
Example
TST r2,r4
Seitenansicht 223
1 2 ... 219 220 221 222 223 224 225 226 227 228 229 ... 359 360

Kommentare zu diesen Handbüchern

Keine Kommentare