Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to divide with SIC sbn instruction

Status
Not open for further replies.

conmourtz

Member level 1
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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top