Subject:
|
Re: Some comments (long) (was: Something else is needed, I think...)
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 7 May 1999 00:47:08 GMT
|
Viewed:
|
1160 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
Kekoa Proudfoot <kekoa@pixel.Stanford.EDU> wrote:
> Chris Phillips <chris.phillips@computerboards.com> wrote:
> > I'm not surprised that MulDiv isn't supported directly by the H8.
> > But do you know if the H8's MULtiply instruction returns a 32-bit
> > value? (On 16-bit 80x86 processors, for example, this is done using
> > two registers: AX for the low word and DX for the high word of the
> > result.) I believe that this would be a requirement for implementing a
> > MULDIV byte code on the RCX.
>
> Actually, the H8 is worse than this. It only supports 8-bit multiplies,
> storing the result in a 16-bit register. 16-bit and 32-bit operations are
> supported in software by routines located in ROM.
I should clarify this. The 16-bit software multiply takes two 16-bit
numbers and stores their product in a 16-bit number. The 32-bit software
multiply takes two 32-bit numbers and stores their product in a 32-bit
number. The operations are intended to support C-style short and long
multiplies. The upshot is that to do 16-bit fixed point, you have to use
32-bit multiplies. No biggie, I just didn't want to mislead you into
thinking you could get 64-bit temporaries out of any of this.
-Kekoa
|
|
Message is in Reply To:
42 Messages in This Thread: ![Some comments (long) (was: Something else is needed, I think...) -Mark Tarrabain (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (S. Crawshaw) (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -Wes Matchett (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Some more comments and suggestions. -Mark Tarrabain (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some more comments and suggestions. -Todd Lehman (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some more comments and suggestions. -Mark Tarrabain (6-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Request for new list -Joel Shafer (7-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![group lugnet.robotics.rcx created -Todd Lehman (7-May-99 to lugnet.robotics, lugnet.announce)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Would-be hacker queries. / Re: Request for new list -lego-robotics@crynwr.com (Aa-Tchoo!) (8-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Would-be hacker queries. / Re: Request for new list -lego-robotics@crynwr.com (stephen p spackman) (8-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Would-be hacker queries. / Re: Request for new list -lego-robotics@crynwr.com (John A. Tamplin) (10-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Would-be hacker queries. / Re: Request for new list -Eric Lind (9-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (Laurentino Martins) (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some comments (long) -Mark Tarrabain (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (6-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (Paul Speed) (7-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (stephen p spackman) (8-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (8-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (stephen p spackman) (8-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (10-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![.rcx alternative firmware group/list -Todd Lehman (10-May-99 to lugnet.robotics, lugnet.admin.general)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![FWD: Re: Some comments (long) -Mark Tarrabain (8-May-99 to lugnet.robotics.rcx)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (Paul Speed) (9-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Some comments (long) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some comments (long) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Some comments (long) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -lego-robotics@crynwr.com (John A. Tamplin) (6-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: Some comments (long) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -Mark Tarrabain (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -Mark R. David (7-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) -Mark Tarrabain (7-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: Some comments (long) (was: Something else is needed, I think...) -Chris Phillips (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) (was: Something else is needed, I think...) -Kekoa Proudfoot (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: Some comments (long) (was: Something else is needed, I think...) -Chris Phillips (6-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: Some comments (long) (was: Something else is needed, I think...) -Mark Tarrabain (6-May-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Some comments (long) (was: Something else is needed, I think...) -Kekoa Proudfoot (7-May-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|