Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly Language > multiplication ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 48 Topic 4937 of 5083
Post > Topic >>

multiplication differences in HLA and gnu as

by chnorik@[EMAIL PROTECTED] Mar 31, 2008 at 11:59 AM

Hello :)
I was using gas for a while with a syntax like that
imull $5, %edx
However, HLA does not accept the second operand
imul (5, edx)
as far as I understood from IntegerArithmetic.html i wants second
operand as eax
There is a description of intel cpu's limitation, where destination
register is alweays eax/ax/al in case of multiplication
However, in "Programming from Ground Up" which teaches asm programming
with gas there is no word about this limiataion of intel processors,
but, however a similar note about div instructions.
So... Is that limitation of very old cpu's and HLA tries to be
compatible with them?
Or... I really do not understand what is the reason HLA do not accept
that?
May be there is a workaround? Because I do not want to change my
existing code (which was originally written for gas) so much.

Thank you

Norayr
 




 48 Posts in Topic:
multiplication differences in HLA and gnu as
chnorik@[EMAIL PROTECTED]  2008-03-31 11:59:51 
Re: multiplication differences in HLA and gnu as
Frank Kotler <fbkotler  2008-03-31 21:03:38 
Re: multiplication differences in HLA and gnu as
chnorik@[EMAIL PROTECTED]  2008-03-31 15:13:59 
Re: multiplication differences in HLA and gnu as
Frank Kotler <fbkotler  2008-04-01 06:55:24 
Re: multiplication differences in HLA and gnu as
chnorik@[EMAIL PROTECTED]  2008-03-31 17:17:55 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-03-31 20:14:05 
Re: multiplication differences in HLA and gnu as
santosh <santosh.k83@[  2008-04-01 09:34:52 
Re: multiplication differences in HLA and gnu as
Frank Kotler <fbkotler  2008-04-01 08:25:01 
Re: multiplication differences in HLA and gnu as
Herbert Kleebauer <kle  2008-04-01 09:59:04 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-01 15:39:18 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-01 17:37:44 
Re: multiplication differences in HLA and gnu as
Frank Kotler <fbkotler  2008-04-02 08:59:41 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-03 15:33:20 
Re: multiplication differences in HLA and gnu as
Herbert Kleebauer <kle  2008-04-03 23:37:42 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-05 09:46:25 
Re: multiplication differences in HLA and gnu as
Frank Kotler <fbkotler  2008-04-03 23:19:39 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-05 09:55:32 
Re: multiplication differences in HLA and gnu as
Frank Kotler <fbkotler  2008-04-05 13:46:34 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-06 07:23:14 
Re: too many cooks...
"Rod Pemberton"  2008-04-06 06:17:57 
Re: too many cooks...
Betov <betov@[EMAIL PR  2008-04-06 19:36:13 
Re: too many cooks...
"Rod Pemberton"  2008-04-07 07:42:53 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-06 07:31:31 
Re: dying Linux
"Rod Pemberton"  2008-04-06 06:19:37 
Re: dying Linux
Betov <betov@[EMAIL PR  2008-04-06 19:38:38 
Re: dying Linux
"Wolfgang Kern"  2008-04-07 10:05:27 
Re: multiplication differences in HLA and gnu as
Robert Redelmeier <red  2008-04-05 14:38:19 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-06 07:50:05 
Re: multiplication differences in HLA and gnu as
"Rod Pemberton"  2008-04-05 19:45:24 
Re: multiplication differences in HLA and gnu as
"Wolfgang Kern"  2008-04-04 18:45:10 
Re: multiplication differences in HLA and gnu as
Chuck Crayne <ccrayne@  2008-04-05 11:13:59 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-05 18:06:14 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-05 18:08:39 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-05 18:27:46 
Re: multiplication differences in HLA and gnu as
Betov <betov@[EMAIL PR  2008-04-06 08:16:12 
Re: multiplication differences in HLA and gnu as
"Wolfgang Kern"  2008-04-07 11:03:40 
Re: multiplication differences in HLA and gnu as
"Rod Pemberton"  2008-04-07 05:36:29 
Re: multiplication differences in HLA and gnu as
"Wolfgang Kern"  2008-04-08 12:01:58 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-05 18:41:15 
Re: multiplication differences in HLA and gnu as
"Wolfgang Kern"  2008-04-06 09:37:26 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-05 20:25:54 
Re: multiplication differences in HLA and gnu as
Herbert Kleebauer <kle  2008-04-06 12:22:47 
Re: dying Linux
Evenbit <nbaker2328@[E  2008-04-06 20:07:46 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-08 09:15:07 
Re: multiplication differences in HLA and gnu as
"Wolfgang Kern"  2008-04-09 10:27:35 
Re: multiplication differences in HLA and gnu as
Evenbit <nbaker2328@[E  2008-04-08 09:19:31 
Re: multiplication differences in HLA and gnu as
Johannes Kroll <junk-m  2008-05-21 00:42:50 
Re: multiplication differences in HLA and gnu as
"Wolfgang Kern"  2008-05-21 20:17:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:44:51 CDT 2008.