17.05.2015 Views

TI486 Microprocessor - Al Kossow's Bitsavers

TI486 Microprocessor - Al Kossow's Bitsavers

TI486 Microprocessor - Al Kossow's Bitsavers

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

-....J<br />

N<br />

(J.)<br />

Table 7-17. Instructions, Opcodes, Flags, and Clock Summary (Continued)<br />

FLAGS<br />

REAL MODE<br />

CLOCKS<br />

INSTRUCTION OPCODE<br />

0 D I T S Z A P C<br />

REGI<br />

CACHE<br />

REG!<br />

F F F F F F F F F<br />

CACHE<br />

CACHE<br />

HIT<br />

MISS<br />

HIT<br />

LAHF Load AH with Flags 9F u u u u u u u u u 2 2<br />

PROTECTED<br />

MODE CLOCKS<br />

NOTES<br />

CACHE READ PROTECTED<br />

MISS MODE MODE<br />

LAR Load Access Rights u u u u u m u u u 3 2,S,6,12<br />

From RegisterlMemory OF 02[mod reg rIm] 11/12 14<br />

LDS Load Pointer to OS CS [mod reg rIm] u u u u u u u u u 6 7 23 24 1 2,6,13<br />

LEA Load Effective Address 80 [mod reg rIm] u u u u u u u u u<br />

No Index Register 2 2<br />

With Index Register 3 3<br />

LEAVE Leave Current Stack Frame C9 u u u u u u u u u 3 4 3 4 1 2<br />

LES Load Pointer to ES C4 [mod reg rIm] u u u u u u u u u 6 7 23 24 1 2,6,13<br />

LFS Load Pointer to FS OF 84[mod reg rIm] u u u u u u u u u 6 7 23 24 1 2,6,13<br />

LGDT Load GOT Register OF 01 [mod 010 rIm] u u u u u u u u u 9 9 9 9 1,10 2,11<br />

LGS Load Pointer to GS OF 8S[mod reg rIm] u u u u u u u u u 6 7 23 24 1 2,6,13<br />

LlDT Load lOT Register OF 01 [mod 011 rIm] u u u u u u u u u 9 9 9 9 1,10 2,11<br />

LLDT Load LOT Register u u u u u u u u u 3 2,S,6,11<br />

From RegisterlMemory OF OO[mod 010 rIm] 16/17 18<br />

LMSW Load Machine Status Word u u u u u u u u u 1,10 2,11<br />

From RegisterlMemory OF 01 [mod 110 rIm] S 8 S 8<br />

LODS Load String A [110w] u u u u u u u u u 4 4 4 4 1 2<br />

LOOP Offset Loop/No Loop E2:J: u u u u u u u u u 714 913 8<br />

t = immediate data + = 8-bit displacement § = 16-bit displacement 11 = 32-bit displacement m = Flag modified u = Flag unchanged<br />

Notes:<br />

1) Exception 13 fault (general protection) will occur in Read Mode if an operand reference is made that partially or fully extends beyond the maximum CS, OS, ES, FS, or GS segment<br />

limit (FFFFh). Exception 12 fault (stack segment limit violation or not present) will occur in Real Mode if an operand reference is made that partially or fully extends beyond the<br />

maximum SS limit.<br />

2) Exception 13 fault will occur if the memory operand in CS, OS, ES, FS, or GS cannot be used due to either a segment limit violation or an access rights violation. If a stack limit<br />

is violated, an exception 12 occurs.<br />

3) This is a Protected Mode instruction. Attempted execution in Real Mode will result in exception 6 (invalid opcode).<br />

4) An exception may occur, depending on the value of the operand.<br />

S) LOCK is asserted during descriptor table accesses. __<br />

6) <strong>Al</strong>l segment descriptor accesses in the GOT or LOT made by this instruction will automatically assert LOCK to maintain descriptor integrity in multiprocessor systems.<br />

7) JMP, CALL, INT, RET, and IRET instructions referring to another code segment will cause an exception 13, if an applicable privilege rule is violated.<br />

8) The destination of a JMP, CALL, INT, RET, or IRET must be in the defined limit of a code segment or an exception 13 fault will occur.<br />

9) An exception 13 fault occurs if CPL is greater than IOPL.<br />

1 O)This instruction may be executed in Real Mode. in Real Mode, its purpose is primarily to initialize the CPU for Protected Mode.<br />

11) An exception 13 fault occurs if CPL is greater than 0 (0 is the most privileged level).<br />

12)Any violation of privilege rules as apply to the selector operand does not cause a Protection exception, rather, the zero flag is cleared.<br />

13)For segment load operations, the CPL, RPL, and OPL must agree witht he privolege rules to avoid an exception 13 fault. The segment's descriptor must indicate "presenf' or<br />

exception 11 (OS, OS, ES, FS, GS not present). If the SS register is loaded and a stack segment not present is detected, and exception 12 occurs.<br />

(")<br />

0'<br />

~<br />

~<br />

~<br />

~<br />

~<br />

-

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!