CMPT 295 Lecture Notes - Lecture 10: Dot Product

133 views1 pages

Document Summary

Maintains address of last used byte of the stack (the top) Initialized to some value (assigned by os) of startup. Sometimes there aren"t enough registers to hold your computations. So use the stack for temporary storage e. g. dot product demo: x * y = [5, 10] * [6, -7] = 5*6 + 10*-7 = 30 + -70 = -40. Imul (%rsi), %rax # rax

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents