Two Plus Two Older Archives  

Go Back   Two Plus Two Older Archives > General Gambling > Computer Technical Help
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-26-2005, 12:13 AM
DoomSlice DoomSlice is offline
Senior Member
 
Join Date: Jan 2005
Posts: 582
Default Assembly Code Multiplication

Anyone know how to do an efficient Assembly Code multiplication of 2 15 bit numbers into a 32 bit register using the following operations:

nand rA rB dest
add rA rB dest
beq rA rB offset (branch to offset or label if rA = rB)
halt

I need to simulate bit shifting by using add and somehow use nand to figure out the product of the two by using some combination of nands.
Reply With Quote
  #2  
Old 09-27-2005, 04:02 PM
2ndGoat 2ndGoat is offline
Senior Member
 
Join Date: Sep 2002
Location: DC Area
Posts: 147
Default Re: Assembly Code Multiplication

This wouldn't happen to be a homework problem for junior level architecture, would it?

You wouldn't be trying to get someone to do your homework for you, would you?

2nd
Reply With Quote
  #3  
Old 09-27-2005, 04:26 PM
MyMindIsGoing MyMindIsGoing is offline
Member
 
Join Date: Sep 2004
Posts: 41
Default Re: Assembly Code Multiplication

http://www.cs.wisc.edu/~smoler/x86te...arith.int.html
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:12 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.