Download 8XC196NT Microcontroller User`s Manual
Transcript
INSTRUCTION SET REFERENCE Table A-6. Instruction Set (Continued) Mnemonic CLR Operation Instruction Format CLEAR WORD. Clears the value of the operand. (DEST) ← 0 DEST CLR wreg (00000001) (wreg) PSW Flag Settings CLRB Z N C V VT ST 1 0 0 0 — — CLEAR BYTE. Clears the value of the operand. (DEST) ← 0 DEST CLRB breg (00010001) (breg) PSW Flag Settings CLRC Z N C V VT ST 1 0 0 0 — — CLEAR CARRY FLAG. Clears the carry flag. C←0 CLRC (11111000) PSW Flag Settings CLRVT Z N C V VT ST — — 0 — — — CLEAR OVERFLOW-TRAP FLAG. Clears the overflow-trap flag. VT ←0 CLRVT (11111100) PSW Flag Settings CMP Z N C V VT ST — — — — 0 — COMPARE WORDS. Subtracts the source word operand from the destination word operand. The flags are altered, but the operands remain unaffected. If a borrow occurs, the carry flag is cleared; otherwise, it is set. DEST, SRC CMP wreg, waop (100010aa) (waop) (wreg) (DEST) – (SRC) PSW Flag Settings Z N C V VT ST ✓ ✓ ✓ ✓ ↑ — A-11
Related documents
8XC196Kx, 8XC196Jx, 87C196CA Microcontroller Family
8XC196NP, 80C196NU Microcontroller User`s Manual
8XC196EA Microcontroller User`s Manual
8XC196MC, 8XC196MD, 8XC196MH Microcontroller User`s Manual
8XC196Lx Supplement to 8XC196Kx, 8XC196Jx, 87C196CA User`s
ZapCode II Handbook
87C196JV 20 MHz ADVANCED 16
Introduction to YS1000 Series - YS1000 Series Single Loop Controller
87C196LA SPECIFICATION UPDATE
Intel 8XC196NT Computer Hardware User Manual
8XC196KC SPECIFICATION UPDATE
Cypress CY7C63413C User's Manual