Psuedocode implementation of ADD?
Posted: Wed Jan 20, 2010 1:42 pm
I have a coding problem. I'm in the process of writing an AVR ATmega168 simulator/emulator for my Ubuntu box, and yes, It'll be open source when I'm done. I'm looking for a way to implement the ADD instruction in java. ADD adds two registers without carry. I'm not really sure how to do that. Should I just implement a binary adder in code? I'm not sure what route to take. If anyone has an efficient suggestion, I'd be very grateful. Thanks!