wu :: forums
« wu :: forums - Right shift with sbn SIC instruction »

Welcome, Guest. Please Login or Register.
Dec 4th, 2024, 2:25am

RIDDLES SITE WRITE MATH! Home Home Help Help Search Search Members Members Login Login Register Register
   wu :: forums
   riddles
   cs
(Moderators: Icarus, SMQ, towr, Eigenray, Grimbal, ThudnBlunder, william wu)
   Right shift with sbn SIC instruction
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: Right shift with sbn SIC instruction  (Read 4714 times)
MOR
Newbie
*





   


Posts: 2
Right shift with sbn SIC instruction  
« on: Mar 23rd, 2013, 1:52pm »
Quote Quote Modify Modify

Hello there,
 
I have a problem of  doing the right shift by 1 position (or divide by 2) with the sbn a,b,c command of SIC instruction set. I want to do that for implementing the Combinational Multiplier.  
 
The command does the following:
 
sbn a,b,c # Mem[a] = Mem[a] – Mem[b];if (Mem[a]<0) go to c
 
I am looking forward to hearing from you and i would appreciate any kind of help. thank you.
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Powered by YaBB 1 Gold - SP 1.4!
Forum software copyright © 2000-2004 Yet another Bulletin Board