Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

pdfaoa / CH09

.PDF
Скачиваний:
14
Добавлен:
15.06.2014
Размер:
260.52 Кб
Скачать

Arithmetic and Logical Operations

14)Provide instruction sequences that perform an extended precision (32 bit) ROL and ROR operation using only 8086 instructions.

15)Provide an instruction sequence that implements a 64 bit ROR operation using the 80386 SHRD and BT instructions.

16)Provide the 80386 code to perform the following 64 bit computations. Assume you are computing X := Y op Z with X, Y, and Z defined as follows:

X

dword

0, 0

y

dword

1,

2

z

dword

3,

4

a) addition

b) subtraction

c) multiplication

c) Logical AND

d) Logical OR

e) Logical XOR

f) negate

g) Logical NOT

 

Page 519

Chapter 09

Page 520

Соседние файлы в папке pdfaoa