How to divide with SIC sbn instruction

Status
Not open for further replies.

conmourtz

Member level 1
Joined
Mar 29, 2012
Messages
36
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Volos, Greece
Visit site
Activity points
1,529
Hello there,

I want to implement the C code
Code:
c = a div b;
on SIC with sbn instruction.
Any help with this?
The command does the following:
sbn a,b,c # Mem[a] = Mem[a] – Mem;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.


P.S. I don't know if this is the right place to post this thread but it relates with programming stuff..
 
Last edited:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…