25.03.2015 Views

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

IBM 5150 PC Technical Reference (6025005, August, 1981) (PDF)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

XCHG =Exchange<br />

RegisterImemory with register<br />

11 0 0 0 0 1 1 w 1 mod reg rIm<br />

Register with accumulator<br />

110010regl<br />

IN = Input to AL/AX from<br />

Fixed port<br />

11 1 1 0 0 1 0 w port<br />

Variable port (OX)<br />

11110110W<br />

OUT =Output from ALIAX to<br />

Fixed port<br />

11 1 1 0 0 1 1 w port<br />

Variable port (OX)<br />

11 1 10111w<br />

XLAT =Translate byte to AL<br />

1110101111<br />

LEA =Load EA to register<br />

I 1 0 0 0 1 1 0 1 I mod reg rIm<br />

LDS =Load pointer to OS<br />

11 1 0 0 0 1 0 1 mod reg rIm<br />

LES =Load pointer to ES<br />

11 1 0 0 0 1 0 0 mod reg rIm<br />

LAHF =Load AH with flags<br />

1100111111<br />

SAHF =Store AH into flags<br />

1100111101<br />

PUSHF = Push flags<br />

110011100<br />

POPF = Pop flags<br />

110011101<br />

B-6

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

Saved successfully!

Ooh no, something went wrong!