Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: 32 bit Division

2004-09-08 by Frank Sergeant

> An alternative is to hold zero in another register (for example R12) 
> and do this:
>     adc r1, r12, r1, lsl #1    @ R12 contains zero 

> http://www.poppyfields.net/acorn/tech/division.shtml

Thank you, Peter and Tom, for the suggestion and link.

I believe I'll start with a scratch register to hold zero and pursue the
link when/if the speed becomes more important.  It looks like a great
resource. 


-- 
Frank

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.