Intel Microcontroller, 80C196NU, 8XC196NP manual Rst, Scall

Models: Microcontroller 80C196NU 8XC196NP

1 471
Download 471 pages 22.3 Kb
Page 341
Image 341

8XC196NP, 80C196NU USER’S MANUAL

Table A-6. Instruction Set (Continued)

Mnemonic

 

 

 

Operation

 

 

 

 

Instruction Format

 

 

 

 

 

RST

RESET SYSTEM. Initializes the PSW to zero,

 

 

 

the EPC/PC to FF2080H, and the pins and

RST

 

 

SFRs to their reset values. Executing this

 

 

(11111111)

 

instruction causes the RESET# pin to be

 

 

 

 

pulled low for 16 state times.

 

 

 

 

 

 

SFR Reset Status

 

 

 

 

 

 

 

Pin Reset Status

 

 

 

 

 

 

 

PSW 0

 

 

 

 

 

 

 

 

 

 

EPC/PC FF2080H

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

 

V

VT

ST

 

 

 

 

 

0

0

0

 

0

0

0

 

 

 

 

 

 

 

SCALL

SHORT CALL. Pushes the contents of the

 

 

 

program counter (the return address) onto

SCALL

cadd

 

the stack, then adds to the program counter

 

(00101xxx) (disp-low)

 

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

NOTE:

The displacement (disp) is sign-

 

+1023.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

extended to 16-bits in the 64-

 

64-Kbyte mode:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Kbyte addressing mode and to 24

 

SP SP – 2

 

 

 

 

 

 

 

bits in the 1-Mbyte addressing

 

(SP) PC

 

 

 

 

 

 

 

 

mode. This displacement may

 

PCPC+11-bit disp

 

 

 

 

 

cause the program counter to

 

1-Mbyte mode:

 

 

 

 

 

 

 

cross a page boundary in 1-Mbyte

 

 

 

 

 

 

 

 

mode.

 

SP SP – 4

 

 

 

 

 

 

 

 

(SP) PC

 

 

 

 

 

 

 

 

 

 

PCPC+11-bit disp

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

 

V

VT

ST

 

 

 

 

— —

 

 

 

 

 

 

 

 

SETC

SET CARRY FLAG. Sets the carry flag.

 

 

 

C 1

 

 

 

 

 

 

 

SETC

 

 

 

 

 

 

 

 

 

 

 

(11111001)

 

 

 

PSW Flag Settings

 

 

 

 

 

 

Z

N

C

 

V

VT

ST

 

 

 

 

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

A-36

Page 341
Image 341
Intel Microcontroller, 80C196NU, 8XC196NP manual Rst, Scall