Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Dernière révisionLes deux révisions suivantes | ||
back2root:ibm-pc-ms-dos:instr:lds [2023/02/24 14:16] – supprimée - modification externe (Unknown date) 127.0.0.1 | back2root:ibm-pc-ms-dos:instr:lds [2023/02/24 14:16] – ↷ Page déplacée de back2root:ibm-pc-ms-dos:asm:instr:lds à back2root:ibm-pc-ms-dos:instr:lds frater | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== LDS ====== | ||
+ | |||
+ | ===== LDS - Load Pointer Using DS ===== | ||
+ | |||
+ | Loads 32-bit pointer from memory source to destination register and DS. The offset is placed in the destination register and the segment is placed in DS. To use this instruction the word at the lower memory address must contain the offset and the word at the higher address must contain the segment. This simplifies the loading of far pointers from the stack and the interrupt vector table. | ||
+ | |||
+ | **Usage:** | ||
+ | <code asm> | ||
+ | LDS dest, | ||
+ | </ | ||
+ | |||
+ | **Modifies flags: | ||
+ | |||
+ | <WRAP round box> | ||
+ | none | ||
+ | </ | ||
+ | |||
+ | ^ ^ Clocks | ||
+ | ^ Operands | ||
+ | | reg16, | ||
+ | | reg, | ||
+ | |||
+ | {{page>: | ||