Where electronics enthusiasts find answers.
Stevetronics wrote: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!I don't get it. Why not just read in the two registers into integers and add them together, set the carry flag if the answer is over 255, and store the bottom 8 bits of the result into the target register?
We have created lots of YouTube videos just so you can achieve [...]
The best flat phpBB theme around. Period. Fine craftmanship and [...]
All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]
this should be fantastic. but what about links,images, bbcodes etc etc? [...]