jeffhaddow
Posts: 118
Joined: Thu Jun 14, 2012 1:50 pm

In the Baking Pi Lesson 7 Screen02

Sat Dec 15, 2012 5:51 pm

In this lesson (Lesson 7 Screen02) the code introduces the following:

mla px,py,width,px

Without any explanation of the machine instruction "mla". Can you tell me what this instruction does?

All the best
Jeff

tufty
Posts: 1456
Joined: Sun Sep 11, 2011 2:32 pm

Re: In the Baking Pi Lesson 7 Screen02

Sat Dec 15, 2012 6:52 pm

It automatically downloads the ARMv7AR Architecture Manual and displays it at page A8-180.

Oh, no, that's not right.

It automatically redirects to google.com with a search string of "ARM MLA instruction".

No, that's not right either.

It takes 2 cycles (5 if it sets flags) with a latency of 4. Does that help?

Return to “Bare metal, Assembly language”