How can i simulate what happens in registry <-> memory <-> CPU - during a simple calculation like x = z+w , using Java program on net beans ?
Welcome to the Java Programming Forums
The professional, friendly Java community. 21,500 members and growing!
The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.
>> REGISTER NOW TO START POSTING
Members have full access to the forums. Advertisements are removed for registered users.
How can i simulate what happens in registry <-> memory <-> CPU - during a simple calculation like x = z+w , using Java program on net beans ?
What exactly do you mean? What have you tried? Where are you stuck?
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
int x=2 ; /Reg1
int z=6
int [2] w={5,4,7,8,9};
public static IO(string x)
if "first 2 digits is 01" do the calculation for the next digits "10" that mean .........
but i want this in 0/1 digits like string a= "0110110"; /first 2 digts is the method 3rd and 4th "10" digits is reg location for the index , 5th & 6th is result location in reg
Okay, and what part of that are you having trouble with? What have you tried? Where exactly are you stuck? Break your problem down into smaller pieces, then concentrate on a single piece. It's pretty hard to answer "how do I do this" type questions other than by pointing you to google or the tutorials.
Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!