Division operand?

Reply

Join Date: Sep 2008
Posts: 1
Reputation: harewei is an unknown quantity at this point 
Solved Threads: 0
harewei harewei is offline Offline
Newbie Poster

Division operand?

 
0
  #1
Sep 9th, 2008
Ok, I know I'm still new with assembly, but I can not find an operand for division even though I've searched in the assembly help contents and online
btw I've looked at some other posts which has something like
mov and div
but I don't think they work
maybe my assembly is different to others?
just in case there is other assembly language, mine uses languages like LDAA #$10 etc
So if anyone knows the answer, please help me
thanks
Last edited by harewei; Sep 9th, 2008 at 7:12 am.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 5
Reputation: Olof Forshell is an unknown quantity at this point 
Solved Threads: 0
Olof Forshell Olof Forshell is offline Offline
Newbie Poster

Re: Division operand?

 
0
  #2
Sep 9th, 2008
It does not appear that you are programming an x86, rather something smaller which probably does not implement division (or multiplication for that matter).

You can always create an integer division using test, subtract and shift. It's messy htough.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC