![background image](http://html1.mh-extra.com/html/amd/am186-series/am186-series_instruction-set_2921692243.webp)
Instruction Set
4-203
RET
RET
Operation It Performs
Flag Settings After Instruction
/* copy return offset from stack */
IP = SS:[SP];
/* remove storage from stack */
SP = SP + 2;
/* If far return */
if opcode==CB or opcode==CA
/* copy return segment from stack */
CS = SS:[SP];
if (operands() = 1)
{
/* remove storage from stack */
SP = SP + 2;
SP = SP +
components;
}
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Processor Status
Flags Register
reserved
OF DF
IF TF SF ZF
AF
PF
CF
? = undefined; – = unchanged
–
–
–
–
–
– res – res – res –
Summary of Contents for Am186 Series
Page 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Page 10: ...Table of Contents x...
Page 18: ...Programming 1 8...
Page 40: ...Instruction Set Listing 3 14...