Download 80296SA Microcontroller User`s Manual
Transcript
80296SA USER’S MANUAL Table A-6. Instruction Set (Continued) Mnemonic SCALL Operation Instruction Format SHORT CALL. Pushes the contents of the program counter (the return address) onto the stack, then adds to the program counter the offset between the end of this instruction and the target label, effecting the call. The offset must be in the range of –1024 to +1023. 64-Kbyte mode: SP ← SP – 2 (SP) ← PC PC←PC +11-bit disp SCALL NOTE: 1-Mbyte mode: SP ← SP – 4 (SP) ← PC PC←PC +11-bit disp PSW Flag Settings SETC Z N C V VT ST — — — — — — cadd (00101xxx) (disp-low) The displacement (disp) is signextended to 16-bits in the 64Kbyte addressing mode and to 24 bits in the 1-Mbyte addressing mode. This displacement may cause the program counter to cross a page boundary in 1-Mbyte mode. SET CARRY FLAG. Sets the carry flag. C←1 SETC (11111001) PSW Flag Settings SHL Z N C V VT ST — — 1 — — — SHIFT WORD LEFT. Shifts the destination word operand to the left as many times as specified by the count operand. The count may be specified either as an immediate value in the range of 0 to 15 (0FH), inclusive, or as the content of any register (10–0FFH) with a value in the range of 0 to 31 (1FH), inclusive. The right bits of the result are filled with zeros. The last bit shifted out is saved in the carry flag. temp ← (COUNT) do while temp ≠ 0 C ← High order bit of (DEST) (DEST) ← (DEST) × 2 temp ← temp – 1 end_while PSW Flag Settings A-44 Z N C V VT ST ✓ ✓ ✓ ✓ ↑ — SHL wreg, #count (00001001) (count) (wreg) or SHL wreg, breg (00001001) (breg) (wreg)
Related documents
8XC196NP, 80C196NU Microcontroller User`s Manual
8XC196EA Microcontroller User`s Manual
8XC196Lx Supplement to 8XC196Kx, 8XC196Jx, 87C196CA User`s
Hashima Instruction Manual HW-20C
15VL26P - linfotech.co.uk
8XC196Kx, 8XC196Jx, 87C196CA Microcontroller Family
TC610 TC620 Service Manual - Tec
87C196KT Microcontroller
OPEN COMPETITIVE BIDDING INDIA
DESCRIPTION ET MODE D`EMPLOI DU - Infoterre
88C196EC Microcontroller
Easy PIC Development Kit 877A - User Manual