Instruction Set
4-100
JMP
JMP
Operation It Performs
Flag Settings After Instruction
if (
label == rel8)/* short direct */
{
/* extend sign of label */
if (
label < 0)
displacement = 0xFF00 |
label;
else
displacement = 0x00FF &
label;
/* branch to labeled instruction */
IP = IP + displacement;
}
if (
label == rel16)/* near direct */
/* branch to labeled instruction */
IP = IP +
label;
if (
label == r/m16)/* near indirect */
/* branch to labeled instruction */
IP = [
label];
if (
label == ptr16:16)/* far direct */
/* branch to labeled instruction */
CS:IP =
label;
if (
label == m16:16)/* far indirect */
/* branch to labeled instruction */
CS:IP = [
label];
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 –
Содержание Am186 Series
Страница 1: ...Am186 and Am188 Family Instruction Set Manual February 1997...
Страница 10: ...Table of Contents x...
Страница 18: ...Programming 1 8...
Страница 40: ...Instruction Set Listing 3 14...