Reply to post: Re: MLA

Meet ARM1, grandfather of today's mobe, tablet CPUs – watch it crunch code live in a browser

Wilseus

Re: MLA

Oops, that IS wrong, the shifts are incorrect. It should be:

MOV R1,R0,ASL#8 ;multiply R0 by 256 and store in R1

ADD R1,R1,R0,ASL#6 ;multiply R0 by 64 and add to R1

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon