Results 1 to 3 of 3
Thread: Java and assembly?
- 02-03-2012, 03:17 AM #1
Java and assembly?
If I am not mistaken, these operators are only related to assembly: << >> >>> & | ^ etc...
Is this correct?
In order to become a good programmer, should I learn how to master these and/or learn assembly programming?
There is a code I found that look like this:
sb.append(Integer.toString((mdbytes[i] & 0xff) + 0x100, 16).substring(1));
(sb is a StringBuilder).
I mean, what are those? 0xff?Last edited by Pojahn_M; 02-03-2012 at 03:24 AM.
- 02-03-2012, 04:52 AM #2
- Join Date
- Jan 2011
- Location
- Richmond, Virginia
- Posts
- 3,068
- Blog Entries
- 3
- Rep Power
- 15
Re: Java and assembly?
I'm not amazing when it comes to bit manipulation, but that's all those operators do. They shift bits, and you have anding bits, oring bits, and I believe xoring bits.While I doubt it is necessary to be a good programmer, it certainly wouldn't hurt. I'm sure Jos, or someone a bit more advanced than Iwill be able to explain the bit manipulation stuff a bit more.
- 02-03-2012, 07:58 AM #3
Re: Java and assembly?
If you're forever cleaning cobwebs, it's time to get rid of the spiders.
Similar Threads
-
Assembly
By sunde887 in forum Forum LobbyReplies: 4Last Post: 05-04-2011, 01:28 AM -
calling Assembly language code from java using JNI
By ashok_jeev in forum Advanced JavaReplies: 6Last Post: 02-07-2011, 08:43 AM -
Inline JVM assembly in Java
By youngstorm in forum Advanced JavaReplies: 2Last Post: 09-15-2010, 08:14 PM -
Forgotten Assembly Language Commands
By Nicholas Jordan in forum EntertainmentReplies: 1Last Post: 04-06-2010, 06:00 AM
Bookmarks