SlideServe
Menu
Préférences
© SlideServe · v2026

ECT 357

lamond avatar
18 diapositives · 386 Views · Jul 31, 2014

ECT 357. Ch 3 Instruction Set. Today’s Quote: Decisions can take you out of God’s will but never out of His reach. If we are faithless, he will remain faithful, for he cannot disown himself. 2 Timothy 2:13. Accumulator. A multipurpose register capable of: Bit Shifting

ECT 357 - slide 1
01 / 18ECT 357
1 / 17

Télécharger la présentation

ECT 357
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. ECT 357 Ch 3 Instruction Set

  2. Today’s Quote: Decisions can take you out of God’s will but never out of His reach. If we are faithless, he will remain faithful, for he cannot disown himself. 2 Timothy 2:13

  3. Accumulator A multipurpose register capable of: • Bit Shifting • Incrementing/Decrementing • Complementing • Adding/Subtracting • Swapping Nibbles • Boolean Operations

  4. Accumulator Operations The 128 Access Bank RAM locations plus all of the Special Function Registers act as accumulators. If two operands are needed, then one will be moved to the working register.

  5. F/W Operands If F or W are included as a possible operand for an instruction, they indicate that the final result will be placed in the original location (F) or the working register (W).

  6. Number Formats Hex 0x7f Hex H’7f’ (alternative) Hex 20 (default) Binary B’10011100’ Decimal D’32’ Octal O’777’ ASCII A’C’ ASCII ‘C’ (alternative)

  7. Letter Indications • L Literal • F Memory • W Working Register • B Bank Select Register • C Carry • NC No Carry • SC Skip Clear • SS Skip Set

  8. Instruction Types Move Bit Boolean Arithmetic Branch Conditional Skip Subroutine Other

  9. Move Instructions • movlw • movwf • movff • movf (flag changes) • lfsr • movlb • swapf

  10. Bit Instructions • bsf • bcf • btg • rrncf • rlncf • rrcf • rlcf

  11. Boolean Instructions • andlw • andwf • iorlw • iorwf • xorlw • xorwf

  12. Arithmetic Instructions • addlw • addwf • addwfc • sublw • subwf • subwfb • subfwb • mullw • mulwf

  13. Branch Instructions • bc • bnc • bz • bnz • bn • bnn • bov • bnov • goto • bra

  14. Conditional Skip Instructions • btfsc • btfss • cpfslt • cpfseq • cpfsgt • tstfsz • decfsz • dcfsnz • incfsz • infsnz

  15. Subroutine Instructions • call • rcall • retlw • return

  16. Other Instructions • clrf • setf • incf • decf • comf • negf • daw

  17. Other Instructions Continued • retfie • push • pop • clrwdt • sleep • reset • nop

  18. Table Instructions • tblrd* • tblrd*+ • tblrd*- • tblrd+* • tblwt x 4 same as tblrd