Outils pour utilisateurs

Outils du site


Action unknown: copypageplugin__copy
back2root:ibm-pc-ms-dos:instr:lods

LODS - LODSB - LODSW - LODSD

LODS - Load String (Byte, Word or Double)

Transfers string element addressed by DS:SI (even if an operand is supplied) to the accumulator. SI is incremented based on the size of the operand or based on the instruction used. If the Direction Flag is set SI is decremented, if the Direction Flag is clear SI is incremented.

Can be used with REP prefixes.

Usage:

	LODS	src
	LODSB
	LODSW
	LODSD		; 386+ only

Modifies regs:

AL or AX or EAX

286+ only 386+ only

Clocks Size
Operands 808x 286 386 486 Bytes
src 12 5 5 5 1 8 bits
src 16 5 5 5 1 16 bits
back2root/ibm-pc-ms-dos/instr/lods.txt · Dernière modification : 2023/02/24 14:16 de frater