This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 0x104 0x37ABDF03 0x108 0x39AB660A Please use no more than 4 move instructions to change their value to the following. Address Value 0X100 0x4A 0x104 0x37ABDF03 0x108 0X123456FE In the move instructions you used, you can only use the following addressing mode: E a , (E a ),(E b , E i ), (, E i , s), (E b , E i , s). Solution: movl %ecx, (%edx, %ebx, 2) movl (%edx, %ebx), %eax movsbl %cl, %ebx movb %ah, %cl Register Value %eax 0X07 %ebx 0X04 %ecx 0X123456FE %edx 0x100 Register Value %eax 0x37ABDF03 %ebx 0XFFFFFFFE %ecx 0X123456DF %edx 0x100...
View Full Document
This note was uploaded on 10/19/2011 for the course CS 000 taught by Professor Jing during the Fall '10 term at Fudan University.
- Fall '10