Maxim-integrated MAXQ622 Bedienungsanleitung Seite 227

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 255
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 226
MAXQ612/MAXQ622 Users Guide
Maxim Integrated 16-17
RET C/RET NC
RET Z/RET NZ
RET S
Conditional Return on Status Flag
Description:
Performs conditional return (RET) based upon the state of a specific processor status flag. RET C
returns if the Carry flag is set while RET NC returns if the Carry flag is clear. RET Z returns if the Zero
flag is set while RET NZ returns if the Zero flag is clear. RET S returns if the Sign flag is set. See RET
for additional information on the return operation.
Status Flags:
None
RET C
Operation:
C=1: IP @SP--
C=0: IP IP + 1
Encoding:
15
0
1010 1100 0000 1101
Example(s):
RET C ; C=1, return (RET) is performed
RET NC
Operation:
C=0: IP @SP--
C=1: IP IP +1
Encoding:
15
0
1110 1100 0000 1101
Example(s):
RET NC ; C=1, return (RET) does not occur
RET Z
Operation:
Z=1: IP @SP--
Z=0: IP IP + 1
Encoding:
15
0
1001 1100 0000 1101
Example(s):
RET Z ; Z=0, return (RET) does not occur
RET NZ
Operation:
Z=0: IP @SP--
Z=1: IP IP + 1
Encoding:
15
0
1101 1100 0000 1101
Example(s):
RET NZ ; Z=0, return (RET) is performed
Seitenansicht 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 254 255

Kommentare zu diesen Handbüchern

Keine Kommentare