Question

Note: this is x86 32 bit (not 64 bit) 1. What is the integer value in...

Note: this is x86 32 bit (not 64 bit)

1. What is the integer value in %eax?

movl $0x41000000, %eax

movl $0x420000, %ebx

movl $0x4300, %ecx

xor %ebx, %eax

xor %ecx, %eax

2. What will be printed to the screen?

pushl %eax // move value of eax onto stack

movl $0x04, %eax // syscall number for write into eax

movl $0x01, %ebx // file descriptor for stdout into ebx

movl %esp, %ecx // address of stack (what was in eax before)

movl $0x04, %edx // number of bytes to write

int $0x80 // syscall

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT