Topic 11 : Assembler language operators 11-mavzu: Assembler tili operatorlari
Download 131.86 Kb.
|
11-Mavzu
- Bu sahifa navigatsiya:
- Ma’lumotlarni uzatish
Information transmission
Information transmission commands to the group following commands includes : mov < target operand>, < source operand> xchg MOV - this data ni _ _ transmission basic command . It 's transmission different kind of options instead increases . MOV command _ _ with one memory from the field to another _ _ will not . Yusupov RA, 2021 Protsessorning butun sonli mashinasi ko’rsatmalarining funksional tasnifiga yana to’xtalamiz. Bunday buyruqlarning umumiy sonidan quyidagi guruhlari chiziqli bo’limlarida ishlaydi:
Yusupov R.A., 2021 Information two one - sided transmission XCHG command for _ _ used . This operation do really one for _ _ multiple MOV commands sequence use possible , but interchangeable operations often using standing because processor commands system functional developers separately exchange command - XCHG _ _ to enter considered necessary . _ Naturally , operands a kind of round be _ _ need _ Memory 's two of the cell content each other with to - g ' ridan -to ' g ' ri replacement ( all assembler instructions are allowed ) is not allowed . _ _ _ _ For example , xchg ax, bx; ax and bx registers content exchange ; a x registry content and the words in the memory in [ si ] address according to _ replacement : xchg ax, word ptr [ si ] Yusupov RA, 2021 Ma’lumotlarni uzatish Ma’lumotlarni uzatish buyruqlari guruhiga quyidagi buyruqlar kiradi: mov xchg MOV – bu ma’lumotlarni uzatishning asosiy buyrug’i. U uzatishning turli xil variantlarini amalga oshiradi. MOV buyrug’i bilan bitta xotira maydonidan boshqasiga o’zatib bo’lmaydi. Yusupov R.A., 2021 Information two one - sided transmission XCHG command for _ _ used . This operation do really one for _ _ multiple MOV commands sequence use possible , but interchangeable operations often using standing because processor commands system functional developers separately exchange command - XCHG _ _ to enter considered necessary . _ Naturally , operands a kind of round be _ _ need _ Memory 's two of the cell content each other with to - g ' ridan -to ' g ' ri replacement ( all assembler instructions are allowed ) is not allowed . _ _ _ _ For example , xchg ax, bx; ax and bx registers content exchange ; a x registry content and the words in the memory in [ si ] address according to _ replacement : xchg ax, word ptr [ si ] Yusupov RA, 2021 Ma'lumotlarni ikki tomonlama uzatish uchun XCHG buyrug’i ishlatiladi. Ushbu operatsiyani bajarish uchun, albatta, bir nechta MOV buyruqlar ketma-ketligini ishlatish mumkin, ammo almashinish operatsiyalari tez-tez ishlatib turilganligi sababli protsessor buyruqlar tizimini ishlab chiquvchilar alohida almashtirish buyrug’i - XCHG-ni kiritishni zarur deb hisoblashdi. Tabiiyki, operandlar bir xil turda bo’lishi kerak. Xotiraning ikkita katakchasining tarkibini bir-biri bilan to’g’ridan-to’g’ri almashtirishga (barcha assembler ko’rsatmalari kabi) yo’l qo’yilmaydi. Masalan, xchg ax, bx; ax va bx registrlari tarkibini almashtirish ;ax registrining mazmunini va xotiradagi so’zlarni [si] dagi adres bo’yicha almashtirish: xchg ax, word ptr [si] Yusupov R.A., 2021 Yusupov RA, 2021 Download 131.86 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling