assembler tilidagi operatorlar

PPTX 22 стр. 131,9 КБ Бесплатная загрузка

Предварительный просмотр (5 стр.)

Прокрутите вниз 👇
1 / 22
m topic 11 : assembler language operators 11-mavzu: assembler tili operatorlari 3 you application of logic formalized description which was algorithm concept with unfamiliar _ algorithm with described actions sequence as follows to be you can : linear - all actions one by one , one by one instead is increased ; linear non - in the algorithm application completion to be continued about the destination decision acceptance to be done need which was network decisions there is and decision conditional or unconditionally to be possible . algorithmning linear sections usually information manipulation to make _ values calculation and information change for commands own into takes _ comparison commands , transition different hil views , part application call and others branching points placed . yusupov ra, 2021 4 of the processor all number machine instructions _ _ functional classification we will stop again . such commands general from the number …
2 / 22
wing commands includes : mov , 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 7 protsessorning butun sonli mashinasi ko’rsatmalarining funksional tasnifiga yana to’xtalamiz. bunday buyruqlarning umumiy sonidan quyidagi guruhlari chiziqli bo’limlarida ishlaydi: ma’lumotlar uzatish buyruqlari; arifmetik buyruqlar; mantiqiy buyruqlar; protsessor holatini boshqarish buyruqlari. yusupov r.a., 2021 8 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 …
3 / 22
_ 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 11 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 …
4 / 22
o’rnatiladi. inc op ;op: = op + 1 dec op ;op: = op – 1 buyruqlar of, sf, zf bayroqlarini o’rnatdilar. ko’paytirish va bo’lish buyruqlari mul op ;xs: = s1 * op, ishorasiz sonlar imul op ;xs: = s1 * op, ishorali sonlar div op ;s1: = xs div op2, s2: = xs mod op, ishorasiz sonlar idiv op ;s1: = xs div op2, s2: = xs mod op, ishorali sonlar 14 yusupov ra, 2021 enter and remove commands . program structure the following o perator used name offset variable name this unchanging expression ; value information segment variable to the address teng . commands inchar op ; character input , op - r8 or m8 inint op ; son input , op - r32 or m32 outchar op ; character chop reach , op - r8, m8 or i8 outi op ; sign sonni chop reach , op-r32, m32 …
5 / 22
i include settings.inc include io2020.inc .stack 4096 ; o’zgarmaslar .data ; o’zgaruvchilarni tavsifi .code start: ; buyruqlar exit end start 18 yusupov ra, 2021 jump commands jump commands flags does not change . unconditionally jump _ _ _ jmp target ; to ' g ' ridan -to ' g ' ri o ' tish jmp op; op - r32, m32, op da gi to the address indirect o ' tooth comparison command _ _ cmp op1, op2; op1-op2  cf, of, sf, zf flags operand requirements sub command i _ with a kind of conditional transition syntax jxxx target ; xxx o ' tish condition defines mnemonic codes ro ' yxati je ; teng on o ' tooth jne ; teng it's not on 19 yusupov r.a., 2021 o’tish buyruqlari o’tish buyruqlari bayroqlarni o’zgartirmaydi. shartsiz o’tish (sakrash) jmp nishon; nishonga to’g’ridan-to’g’ri o’tish jmp op; op - r32, m32, op dagi …

Хотите читать дальше?

Скачайте все 22 страниц бесплатно через Telegram.

Скачать полный файл

О "assembler tilidagi operatorlar"

m topic 11 : assembler language operators 11-mavzu: assembler tili operatorlari 3 you application of logic formalized description which was algorithm concept with unfamiliar _ algorithm with described actions sequence as follows to be you can : linear - all actions one by one , one by one instead is increased ; linear non - in the algorithm application completion to be continued about the destination decision acceptance to be done need which was network decisions there is and decision conditional or unconditionally to be possible . algorithmning linear sections usually information manipulation to make _ values calculation and information change for commands own into takes _ comparison commands , transition different hil views , part application call and others …

Этот файл содержит 22 стр. в формате PPTX (131,9 КБ). Чтобы скачать "assembler tilidagi operatorlar", нажмите кнопку Telegram слева.

Теги: assembler tilidagi operatorlar PPTX 22 стр. Бесплатная загрузка Telegram