{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Lecture16 - 0306-250 Assembly Language Programming Lecture...

Info icon This preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
0306-250 Assembly Language Programming Lecture Sixteen: Multiplication and Division Multiply and Divide Instructions Test Instructions Load Effective Address Instructions Subroutine Example: Matrix Scale
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Multiply and Divide Instructions 2 S12CPUV2 Reference Manual , p. 64
Image of page 2
MUL Instruction 3 S12CPUV2 Reference Manual , p. 238
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Test Instructions 4 S12CPUV2 Reference Manual , p. 62
Image of page 4
TSTA Instruction 5 S12CPUV2 Reference Manual , p. 300
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Load Effective Address Instructions 6 S12CPUV2 Reference Manual , p. 83
Image of page 6
LEAS Instruction 7 S12CPUV2 Reference Manual , p. 220
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Matrix Scale Subroutine Example 8 Integer scale of integer matrix— multiplies each element in matrix by a scalar value oe oe oe oe oe oe û ø OE OE OE OE OE OE º Ø = oe oe oe oe oe oe û ø OE OE OE OE OE OE º Ø 9 3 6 0 15 12 6 15 9 3 0 9 0 9 0 9 12 3 15 0 15 12 9 6 3 3 1 2 0 5 4 2 5 3 1 0 3 0 3 0 3 4 1 5 0 5 4 3 2 1 3
Image of page 8
Matrix Scale Subroutine Parameters 9 Register usage “agreement” for design Inputs Stack: scale factor (signed word)—value X :
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern