Главная » Просмотр файлов » Volume 3 General-Purpose and System Instructions

Volume 3 General-Purpose and System Instructions (794097), страница 36

Файл №794097 Volume 3 General-Purpose and System Instructions (Intel and AMD manuals) 36 страницаVolume 3 General-Purpose and System Instructions (794097) страница 362019-04-28СтудИзба
Просмтор этого файла доступен только зарегистрированным пользователям. Но у нас супер быстрая регистрация: достаточно только электронной почты!

Текст из файла (страница 36)

When the rotate count is greater than 1, the OF flag is undefined.When the rotate count is 0, no flags are affected.MnemonicOpcodeDescriptionRCL reg/mem8,1D0 /2Rotate the 9 bits consisting of the carry flag and an 8-bitregister or memory location left 1 bit.RCL reg/mem8, CLD2 /2Rotate the 9 bits consisting of the carry flag and an 8-bitregister or memory location left the number of bitsspecified in the CL register.RCL reg/mem8, imm8C0 /2 ibRotate the 9 bits consisting of the carry flag and an 8-bitregister or memory location left the number of bitsspecified by an 8-bit immediate value.RCL reg/mem16, 1D1 /2Rotate the 17 bits consisting of the carry flag and a 16bit register or memory location left 1 bit.RCL reg/mem16, CLD3 /2Rotate the 17 bits consisting of the carry flag and a 16bit register or memory location left the number of bitsspecified in the CL register.RCL reg/mem16, imm8C1 /2 ibRotate the 17 bits consisting of the carry flag and a 16bit register or memory location left the number of bitsspecified by an 8-bit immediate value.RCL reg/mem32, 1D1 /2Rotate the 33 bits consisting of the carry flag and a 32bit register or memory location left 1 bit.RCL reg/mem32, CLD3 /2Rotate 33 bits consisting of the carry flag and a 32-bitregister or memory location left the number of bitsspecified in the CL register.RCL reg/mem32, imm8C1 /2 ibRotate the 33 bits consisting of the carry flag and a 32bit register or memory location left the number of bitsspecified by an 8-bit immediate value.RCL reg/mem64, 1D1 /2Rotate the 65 bits consisting of the carry flag and a 64bit register or memory location left 1 bit.202RCLInstruction Reference24594—Rev.

3.13—July 2007MnemonicAMD64 TechnologyOpcodeDescriptionRCL reg/mem64, CLD3 /2Rotate the 65 bits consisting of the carry flag and a 64bit register or memory location left the number of bitsspecified in the CL register.RCL reg/mem64, imm8C1 /2 ibRotates the 65 bits consisting of the carry flag and a 64bit register or memory location left the number of bitsspecified by an 8-bit immediate value.Related InstructionsRCR, ROL, RORrFLAGS AffectedIDVIPVIFACVMRFNTIOPLOFDFIFTFSFZFAFPFM2120191817161413–1211CFM109876420Note: Bits 31–22, 15, 5, 3, and 1 are reserved. A flag set to 1 or cleared to 0 is M (modified).

Unaffected flags areblank. Undefined flags are U.ExceptionsExceptionStack, #SSVirtualReal 8086 ProtectedCause of ExceptionXXXA memory address exceeded the stack segment limit or wasnon-canonical.XXXA memory address exceeded a data segment limit or was noncanonical.XThe destination operand was in a non-writable segment.XA null data segment was used to reference memory.General protection,#GPPage fault, #PFXXA page fault resulted from the execution of the instruction.Alignment check,#ACXXAn unaligned memory reference was performed whilealignment checking was enabled.Instruction ReferenceRCL203AMD64 Technology24594—Rev. 3.13—July 2007RCRRotate Through Carry RightRotates the bits of a register or memory location (first operand) to the right (toward the less significantbit positions) and through the carry flag by the number of bit positions in an unsigned immediate valueor the CL register (second operand).

The bits rotated through the carry flag are rotated back in at theleft end (msb) of the first operand location.The processor masks the upper three bits in the count operand, thus restricting the count to a numberbetween 0 and 31. When the destination is 64 bits wide, the processor masks the upper two bits of thecount, providing a count in the range of 0 to 63.For 1-bit rotates, the instruction sets the OF flag to the exclusive OR of the CF flag (before the rotate)and the most significant bit of the original value.

When the rotate count is greater than 1, the OF flag isundefined. When the rotate count is 0, no flags are affected.MnemonicOpcodeDescriptionRCR reg/mem8, 1D0 /3Rotate the 9 bits consisting of the carry flag and an 8-bitregister or memory location right 1 bit.RCR reg/mem8,CLD2 /3Rotate the 9 bits consisting of the carry flag and an 8-bitregister or memory location right the number of bitsspecified in the CL register.RCR reg/mem8,imm8C0 /3 ibRotate the 9 bits consisting of the carry flag and an 8-bitregister or memory location right the number of bitsspecified by an 8-bit immediate value.RCR reg/mem16,1D1 /3Rotate the 17 bits consisting of the carry flag and a 16bit register or memory location right 1 bit.RCR reg/mem16,CLD3 /3Rotate the17 bits consisting of the carry flag and a 16bit register or memory location right the number of bitsspecified in the CL register.RCR reg/mem16, imm8C1 /3 ibRotate the 17 bits consisting of the carry flag and a 16bit register or memory location right the number of bitsspecified by an 8-bit immediate value.RCR reg/mem32,1D1 /3Rotate the 33 bits consisting of the carry flag and a 32bit register or memory location right 1 bit.RCR reg/mem32,CLD3 /3Rotate 33 bits consisting of the carry flag and a 32-bitregister or memory location right the number of bitsspecified in the CL register.RCR reg/mem32, imm8C1 /3 ibRotate the 33 bits consisting of the carry flag and a 32bit register or memory location right the number of bitsspecified by an 8-bit immediate value.RCR reg/mem64,1D1 /3Rotate the 65 bits consisting of the carry flag and a 64bit register or memory location right 1 bit.204RCRInstruction Reference24594—Rev.

3.13—July 2007MnemonicAMD64 TechnologyOpcodeDescriptionRCR reg/mem64,CLD3 /3Rotate 65 bits consisting of the carry flag and a 64-bitregister or memory location right the number of bitsspecified in the CL register.RCR reg/mem64, imm8C1 /3 ibRotate the 65 bits consisting of the carry flag and a 64bit register or memory location right the number of bitsspecified by an 8-bit immediate value.Related InstructionsRCL, ROR, ROLrFLAGS AffectedIDVIPVIFACVMRFNTIOPLOFDFIFTFSFZFAFPFM2120191817161413–1211CFM109876420Note: Bits 31–22, 15, 5, 3, and 1 are reserved.

A flag set to 1 or cleared to 0 is M (modified). Unaffected flags areblank. Undefined flags are U.ExceptionsExceptionStack, #SSVirtualReal 8086 ProtectedCause of ExceptionXXXA memory address exceeded the stack segment limit or wasnon-canonical.XXXA memory address exceeded a data segment limit or was noncanonical.XThe destination operand was in a non-writable segment.XA null data segment was used to reference memory.General protection,#GPPage fault, #PFXXA page fault resulted from the execution of the instruction.Alignment check,#ACXXAn unaligned memory reference was performed whilealignment checking was enabled.Instruction ReferenceRCR205AMD64 Technology24594—Rev. 3.13—July 2007RET (Near)Near Return from Called ProcedureReturns from a procedure previously entered by a CALL near instruction.

This form of the RETinstruction returns to a calling procedure within the current code segment.This instruction pops the rIP from the stack, with the size of the pop determined by the operand size.The new rIP is then zero-extended to 64 bits. The RET instruction can accept an immediate valueoperand that it adds to the rSP after it pops the target rIP. This action skips over any parameterspreviously passed back to the subroutine that are no longer needed.In 64-bit mode, the operand size defaults to 64 bits (eight bytes) without the need for a REX prefix. Noprefix is available to encode a 32-bit operand size in 64-bit mode.See RET (Far) for information on far returns—returns to procedures located outside of the currentcode segment. For details about control-flow instructions, see “Control Transfers” in Volume 1, and“Control-Transfer Privilege Checks” in Volume 2.MnemonicOpcodeDescriptionRETC3Near return to the calling procedure.RET imm16C2 iwNear return to the calling procedure then pop thespecified number of bytes from the stack.Related InstructionsCALL (Near), CALL (Far), RET (Far)rFLAGS AffectedNoneExceptionsExceptionVirtualReal 8086 ProtectedCause of ExceptionStack, #SSXXXA memory address exceeded the stack segment limit or wasnon-canonical.General protection,#GPXXXThe target offset exceeded the code segment limit or was noncanonical.Page fault, #PFXXA page fault resulted from the execution of the instruction.Alignment check,#ACXXAn unaligned memory reference was performed whilealignment checking was enabled.206RET (Near)Instruction Reference24594—Rev.

Характеристики

Тип файла
PDF-файл
Размер
1,98 Mb
Материал
Тип материала
Высшее учебное заведение

Список файлов книги

Свежие статьи
Популярно сейчас
Зачем заказывать выполнение своего задания, если оно уже было выполнено много много раз? Его можно просто купить или даже скачать бесплатно на СтудИзбе. Найдите нужный учебный материал у нас!
Ответы на популярные вопросы
Да! Наши авторы собирают и выкладывают те работы, которые сдаются в Вашем учебном заведении ежегодно и уже проверены преподавателями.
Да! У нас любой человек может выложить любую учебную работу и зарабатывать на её продажах! Но каждый учебный материал публикуется только после тщательной проверки администрацией.
Вернём деньги! А если быть более точными, то автору даётся немного времени на исправление, а если не исправит или выйдет время, то вернём деньги в полном объёме!
Да! На равне с готовыми студенческими работами у нас продаются услуги. Цены на услуги видны сразу, то есть Вам нужно только указать параметры и сразу можно оплачивать.
Отзывы студентов
Ставлю 10/10
Все нравится, очень удобный сайт, помогает в учебе. Кроме этого, можно заработать самому, выставляя готовые учебные материалы на продажу здесь. Рейтинги и отзывы на преподавателей очень помогают сориентироваться в начале нового семестра. Спасибо за такую функцию. Ставлю максимальную оценку.
Лучшая платформа для успешной сдачи сессии
Познакомился со СтудИзбой благодаря своему другу, очень нравится интерфейс, количество доступных файлов, цена, в общем, все прекрасно. Даже сам продаю какие-то свои работы.
Студизба ван лав ❤
Очень офигенный сайт для студентов. Много полезных учебных материалов. Пользуюсь студизбой с октября 2021 года. Серьёзных нареканий нет. Хотелось бы, что бы ввели подписочную модель и сделали материалы дешевле 300 рублей в рамках подписки бесплатными.
Отличный сайт
Лично меня всё устраивает - и покупка, и продажа; и цены, и возможность предпросмотра куска файла, и обилие бесплатных файлов (в подборках по авторам, читай, ВУЗам и факультетам). Есть определённые баги, но всё решаемо, да и администраторы реагируют в течение суток.
Маленький отзыв о большом помощнике!
Студизба спасает в те моменты, когда сроки горят, а работ накопилось достаточно. Довольно удобный сайт с простой навигацией и огромным количеством материалов.
Студ. Изба как крупнейший сборник работ для студентов
Тут дофига бывает всего полезного. Печально, что бывают предметы по которым даже одного бесплатного решения нет, но это скорее вопрос к студентам. В остальном всё здорово.
Спасательный островок
Если уже не успеваешь разобраться или застрял на каком-то задание поможет тебе быстро и недорого решить твою проблему.
Всё и так отлично
Всё очень удобно. Особенно круто, что есть система бонусов и можно выводить остатки денег. Очень много качественных бесплатных файлов.
Отзыв о системе "Студизба"
Отличная платформа для распространения работ, востребованных студентами. Хорошо налаженная и качественная работа сайта, огромная база заданий и аудитория.
Отличный помощник
Отличный сайт с кучей полезных файлов, позволяющий найти много методичек / учебников / отзывов о вузах и преподователях.
Отлично помогает студентам в любой момент для решения трудных и незамедлительных задач
Хотелось бы больше конкретной информации о преподавателях. А так в принципе хороший сайт, всегда им пользуюсь и ни разу не было желания прекратить. Хороший сайт для помощи студентам, удобный и приятный интерфейс. Из недостатков можно выделить только отсутствия небольшого количества файлов.
Спасибо за шикарный сайт
Великолепный сайт на котором студент за не большие деньги может найти помощь с дз, проектами курсовыми, лабораторными, а также узнать отзывы на преподавателей и бесплатно скачать пособия.
Популярные преподаватели
Добавляйте материалы
и зарабатывайте!
Продажи идут автоматически
6417
Авторов
на СтудИзбе
307
Средний доход
с одного платного файла
Обучение Подробнее