This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Oh, God I NEED Help!!!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Oh, God I NEED Help!!!!!!!!" Watch "Oh, God I NEED Help!!!!!!!!" New topic
Author

Oh, God I NEED Help!!!!!!!!

DANIEL GRESHAM
Greenhorn

Joined: Feb 09, 2005
Posts: 21
ok this program was working fine this morning!!! I have no idea why its not working now. All I did was save this to disk, and print it. Some one anyone please lay it on me why is this not working I'm exhuasted and I've been staring at this for the last 3 hours to no avail, maybe a fresh set of experienced eyes can help. The program is getting to the branch command, but I dont think its getting past that the program loops twice after the initial branch command and then just stops all together.
any help would be much appriciated,
thanks in advance,
Danny
DANIEL GRESHAM
Greenhorn

Joined: Feb 09, 2005
Posts: 21
If anyone tries to compile this program and wants input for the text area, try this
1010
1011
2010
3311
2112
1112
4015
0000
0000
0000
0000
0000
0000
0000
0000
4300
thanks again
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
I tried downloading your program. Can you be more specific about the problem?
DANIEL GRESHAM
Greenhorn

Joined: Feb 09, 2005
Posts: 21
The Program loops the actual command lines more than once, it actually starts over at the begining in stead of outputing a value then branching to the commandHalt() method. Maybe its this program in secific. What the above line coding is "supposed" to do is accept two input values from the user, multiply them together via the accumulator, output the result, then branch to the commandHalt() method. For some reason the program isnt getting past the commandBranch() method. So, if anyone can see why its not moving please point it out to me.
thanks
Danny
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
I got this when I ran your program with a few numbers. Is this wrong?

1010 0
1011 1
2010 2
3311 3
2112 4
1112 5
10 0
10 1
20 2
33 3
21 4
11 5
10 0
11 1
10 2
11 3
12 4
12 5
The value 5 is stored at Memory location 10
The value 5 is stored at Memory location 11
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Oh, God I NEED Help!!!!!!!!
 
Similar Threads
calling and no ringing apparently
How to add two buttons in each row?
to and fro out of a loop to a method in back?
Trials and tribulations, trys and catches
StringTokenizer Class