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
- Richmond, Virginia
- Blog Entries
- Rep Power
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.
- By sunde887 in forum Forum LobbyReplies: 4Last Post: 05-04-2011, 12:28 AM
- By ashok_jeev in forum Advanced JavaReplies: 6Last Post: 02-07-2011, 08:43 AM
- By youngstorm in forum Advanced JavaReplies: 2Last Post: 09-15-2010, 07:14 PM
- By Nicholas Jordan in forum EntertainmentReplies: 1Last Post: 04-06-2010, 05:00 AM