CS2.201 - Computer Systems Organization | CSO Lecture 8 notes

with Prof. Avinash Sharma
Jun 09, 2021 - Wednesday
Written by: Yash Mehan

Arithmetic Operations:

Suffix l needs to be added to the following instructions

Multiplication with overflows

Division and cltd

No args. convert signed long to signed double long. (basically a quad). Will take the value stored in %eax and signextend it, and store the most significant 32 bits in %edx and least significant 32 bits in %eax. Signextending means setting all bits in %edx to the sign bit of %eax

Notation: $\textbf{R[\%edx]:R[\%eax]} \leftarrow signextend(\textbf{R[\%eax])}$